Update libgee to 0.10.0 (b7aeceb)
[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.10.0.
4 #
5 # Report bugs to <https://bugzilla.gnome.org/enter_bug.cgi?product=libgee>.
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
278 $0: https://bugzilla.gnome.org/enter_bug.cgi?product=libgee
279 $0: about your system, including any error possibly output
280 $0: before this message. Then install a modern shell, or
281 $0: manually run the script under such a shell if you do
282 $0: have one."
283   fi
284   exit 1
285 fi
286 fi
287 fi
288 SHELL=${CONFIG_SHELL-/bin/sh}
289 export SHELL
290 # Unset more variables known to interfere with behavior of common tools.
291 CLICOLOR_FORCE= GREP_OPTIONS=
292 unset CLICOLOR_FORCE GREP_OPTIONS
293
294 ## --------------------- ##
295 ## M4sh Shell Functions. ##
296 ## --------------------- ##
297 # as_fn_unset VAR
298 # ---------------
299 # Portably unset VAR.
300 as_fn_unset ()
301 {
302   { eval $1=; unset $1;}
303 }
304 as_unset=as_fn_unset
305
306 # as_fn_set_status STATUS
307 # -----------------------
308 # Set $? to STATUS, without forking.
309 as_fn_set_status ()
310 {
311   return $1
312 } # as_fn_set_status
313
314 # as_fn_exit STATUS
315 # -----------------
316 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 as_fn_exit ()
318 {
319   set +e
320   as_fn_set_status $1
321   exit $1
322 } # as_fn_exit
323
324 # as_fn_mkdir_p
325 # -------------
326 # Create "$as_dir" as a directory, including parents if necessary.
327 as_fn_mkdir_p ()
328 {
329
330   case $as_dir in #(
331   -*) as_dir=./$as_dir;;
332   esac
333   test -d "$as_dir" || eval $as_mkdir_p || {
334     as_dirs=
335     while :; do
336       case $as_dir in #(
337       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
338       *) as_qdir=$as_dir;;
339       esac
340       as_dirs="'$as_qdir' $as_dirs"
341       as_dir=`$as_dirname -- "$as_dir" ||
342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
343          X"$as_dir" : 'X\(//\)[^/]' \| \
344          X"$as_dir" : 'X\(//\)$' \| \
345          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
346 $as_echo X"$as_dir" |
347     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
348             s//\1/
349             q
350           }
351           /^X\(\/\/\)[^/].*/{
352             s//\1/
353             q
354           }
355           /^X\(\/\/\)$/{
356             s//\1/
357             q
358           }
359           /^X\(\/\).*/{
360             s//\1/
361             q
362           }
363           s/.*/./; q'`
364       test -d "$as_dir" && break
365     done
366     test -z "$as_dirs" || eval "mkdir $as_dirs"
367   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
368
369
370 } # as_fn_mkdir_p
371
372 # as_fn_executable_p FILE
373 # -----------------------
374 # Test if FILE is an executable regular file.
375 as_fn_executable_p ()
376 {
377   test -f "$1" && test -x "$1"
378 } # as_fn_executable_p
379 # as_fn_append VAR VALUE
380 # ----------------------
381 # Append the text in VALUE to the end of the definition contained in VAR. Take
382 # advantage of any shell optimizations that allow amortized linear growth over
383 # repeated appends, instead of the typical quadratic growth present in naive
384 # implementations.
385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
386   eval 'as_fn_append ()
387   {
388     eval $1+=\$2
389   }'
390 else
391   as_fn_append ()
392   {
393     eval $1=\$$1\$2
394   }
395 fi # as_fn_append
396
397 # as_fn_arith ARG...
398 # ------------------
399 # Perform arithmetic evaluation on the ARGs, and store the result in the
400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
401 # must be portable across $(()) and expr.
402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
403   eval 'as_fn_arith ()
404   {
405     as_val=$(( $* ))
406   }'
407 else
408   as_fn_arith ()
409   {
410     as_val=`expr "$@" || test $? -eq 1`
411   }
412 fi # as_fn_arith
413
414
415 # as_fn_error STATUS ERROR [LINENO LOG_FD]
416 # ----------------------------------------
417 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
418 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
419 # script with STATUS, using 1 if that was 0.
420 as_fn_error ()
421 {
422   as_status=$1; test $as_status -eq 0 && as_status=1
423   if test "$4"; then
424     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
425     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426   fi
427   $as_echo "$as_me: error: $2" >&2
428   as_fn_exit $as_status
429 } # as_fn_error
430
431 if expr a : '\(a\)' >/dev/null 2>&1 &&
432    test "X`expr 00001 : '.*\(...\)'`" = X001; then
433   as_expr=expr
434 else
435   as_expr=false
436 fi
437
438 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
439   as_basename=basename
440 else
441   as_basename=false
442 fi
443
444 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
445   as_dirname=dirname
446 else
447   as_dirname=false
448 fi
449
450 as_me=`$as_basename -- "$0" ||
451 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
452          X"$0" : 'X\(//\)$' \| \
453          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
454 $as_echo X/"$0" |
455     sed '/^.*\/\([^/][^/]*\)\/*$/{
456             s//\1/
457             q
458           }
459           /^X\/\(\/\/\)$/{
460             s//\1/
461             q
462           }
463           /^X\/\(\/\).*/{
464             s//\1/
465             q
466           }
467           s/.*/./; q'`
468
469 # Avoid depending upon Character Ranges.
470 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
471 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
472 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
473 as_cr_digits='0123456789'
474 as_cr_alnum=$as_cr_Letters$as_cr_digits
475
476
477   as_lineno_1=$LINENO as_lineno_1a=$LINENO
478   as_lineno_2=$LINENO as_lineno_2a=$LINENO
479   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
480   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
481   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
482   sed -n '
483     p
484     /[$]LINENO/=
485   ' <$as_myself |
486     sed '
487       s/[$]LINENO.*/&-/
488       t lineno
489       b
490       :lineno
491       N
492       :loop
493       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
494       t loop
495       s/-\n.*//
496     ' >$as_me.lineno &&
497   chmod +x "$as_me.lineno" ||
498     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
499
500   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
501   # already done that, so ensure we don't try to do so again and fall
502   # in an infinite loop.  This has already happened in practice.
503   _as_can_reexec=no; export _as_can_reexec
504   # Don't try to exec as it changes $[0], causing all sort of problems
505   # (the dirname of $[0] is not the place where we might find the
506   # original and so on.  Autoconf is especially sensitive to this).
507   . "./$as_me.lineno"
508   # Exit status is that of the last command.
509   exit
510 }
511
512 ECHO_C= ECHO_N= ECHO_T=
513 case `echo -n x` in #(((((
514 -n*)
515   case `echo 'xy\c'` in
516   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
517   xy)  ECHO_C='\c';;
518   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
519        ECHO_T=' ';;
520   esac;;
521 *)
522   ECHO_N='-n';;
523 esac
524
525 rm -f conf$$ conf$$.exe conf$$.file
526 if test -d conf$$.dir; then
527   rm -f conf$$.dir/conf$$.file
528 else
529   rm -f conf$$.dir
530   mkdir conf$$.dir 2>/dev/null
531 fi
532 if (echo >conf$$.file) 2>/dev/null; then
533   if ln -s conf$$.file conf$$ 2>/dev/null; then
534     as_ln_s='ln -s'
535     # ... but there are two gotchas:
536     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
537     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
538     # In both cases, we have to default to `cp -pR'.
539     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
540       as_ln_s='cp -pR'
541   elif ln conf$$.file conf$$ 2>/dev/null; then
542     as_ln_s=ln
543   else
544     as_ln_s='cp -pR'
545   fi
546 else
547   as_ln_s='cp -pR'
548 fi
549 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
550 rmdir conf$$.dir 2>/dev/null
551
552 if mkdir -p . 2>/dev/null; then
553   as_mkdir_p='mkdir -p "$as_dir"'
554 else
555   test -d ./-p && rmdir ./-p
556   as_mkdir_p=false
557 fi
558
559 as_test_x='test -x'
560 as_executable_p=as_fn_executable_p
561
562 # Sed expression to map a string onto a valid CPP name.
563 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
564
565 # Sed expression to map a string onto a valid variable name.
566 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
567
568 SHELL=${CONFIG_SHELL-/bin/sh}
569
570 as_awk_strverscmp='
571   # Use only awk features that work with 7th edition Unix awk (1978).
572   # My, what an old awk you have, Mr. Solaris!
573   END {
574     while (length(v1) && length(v2)) {
575       # Set d1 to be the next thing to compare from v1, and likewise for d2.
576       # Normally this is a single character, but if v1 and v2 contain digits,
577       # compare them as integers and fractions as strverscmp does.
578       if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) {
579         # Split v1 and v2 into their leading digit string components d1 and d2,
580         # and advance v1 and v2 past the leading digit strings.
581         for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue
582         for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue
583         d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
584         d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
585         if (d1 ~ /^0/) {
586           if (d2 ~ /^0/) {
587             # Compare two fractions.
588             while (d1 ~ /^0/ && d2 ~ /^0/) {
589               d1 = substr(d1, 2); len1--
590               d2 = substr(d2, 2); len2--
591             }
592             if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
593               # The two components differ in length, and the common prefix
594               # contains only leading zeros.  Consider the longer to be less.
595               d1 = -len1
596               d2 = -len2
597             } else {
598               # Otherwise, compare as strings.
599               d1 = "x" d1
600               d2 = "x" d2
601             }
602           } else {
603             # A fraction is less than an integer.
604             exit 1
605           }
606         } else {
607           if (d2 ~ /^0/) {
608             # An integer is greater than a fraction.
609             exit 2
610           } else {
611             # Compare two integers.
612             d1 += 0
613             d2 += 0
614           }
615         }
616       } else {
617         # The normal case, without worrying about digits.
618         d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
619         d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
620       }
621       if (d1 < d2) exit 1
622       if (d1 > d2) exit 2
623     }
624     # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
625     # which mishandles some comparisons of empty strings to integers.
626     if (length(v2)) exit 1
627     if (length(v1)) exit 2
628   }
629 '
630
631 test -n "$DJDIR" || exec 7<&0 </dev/null
632 exec 6>&1
633
634 # Name of the host.
635 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
636 # so uname gets run too.
637 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
638
639 #
640 # Initializations.
641 #
642 ac_default_prefix=/usr/local
643 ac_clean_files=
644 ac_config_libobj_dir=.
645 LIBOBJS=
646 cross_compiling=no
647 subdirs=
648 MFLAGS=
649 MAKEFLAGS=
650
651 # Identity of this package.
652 PACKAGE_NAME='libgee'
653 PACKAGE_TARNAME='libgee'
654 PACKAGE_VERSION='0.10.0'
655 PACKAGE_STRING='libgee 0.10.0'
656 PACKAGE_BUGREPORT='https://bugzilla.gnome.org/enter_bug.cgi?product=libgee'
657 PACKAGE_URL=''
658
659 ac_unique_file="Makefile.am"
660 # Factoring default headers for most tests.
661 ac_includes_default="\
662 #include <stdio.h>
663 #ifdef HAVE_SYS_TYPES_H
664 # include <sys/types.h>
665 #endif
666 #ifdef HAVE_SYS_STAT_H
667 # include <sys/stat.h>
668 #endif
669 #ifdef STDC_HEADERS
670 # include <stdlib.h>
671 # include <stddef.h>
672 #else
673 # ifdef HAVE_STDLIB_H
674 #  include <stdlib.h>
675 # endif
676 #endif
677 #ifdef HAVE_STRING_H
678 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
679 #  include <memory.h>
680 # endif
681 # include <string.h>
682 #endif
683 #ifdef HAVE_STRINGS_H
684 # include <strings.h>
685 #endif
686 #ifdef HAVE_INTTYPES_H
687 # include <inttypes.h>
688 #endif
689 #ifdef HAVE_STDINT_H
690 # include <stdint.h>
691 #endif
692 #ifdef HAVE_UNISTD_H
693 # include <unistd.h>
694 #endif"
695
696 ac_subst_vars='am__EXEEXT_FALSE
697 am__EXEEXT_TRUE
698 LTLIBOBJS
699 LIBOBJS
700 HAVE_INTROSPECTION_FALSE
701 HAVE_INTROSPECTION_TRUE
702 INTROSPECTION_MAKEFILE
703 INTROSPECTION_LIBS
704 INTROSPECTION_CFLAGS
705 INTROSPECTION_TYPELIBDIR
706 INTROSPECTION_GIRDIR
707 INTROSPECTION_GENERATE
708 INTROSPECTION_COMPILER
709 INTROSPECTION_SCANNER
710 GLIB_LIBS
711 GLIB_CFLAGS
712 PKG_CONFIG_LIBDIR
713 PKG_CONFIG_PATH
714 PKG_CONFIG
715 ENABLE_BENCHMARK_FALSE
716 ENABLE_BENCHMARK_TRUE
717 LCOV
718 COVERAGE_LIBS
719 COVERAGE_VALAFLAGS
720 COVERAGE_CFLAGS
721 ENABLE_COVERAGE_FALSE
722 ENABLE_COVERAGE_TRUE
723 VALADOC
724 ENABLE_DOC_FALSE
725 ENABLE_DOC_TRUE
726 VALAFLAGS
727 VALAC
728 LIBGEE_LT_VERSION
729 CPP
730 OTOOL64
731 OTOOL
732 LIPO
733 NMEDIT
734 DSYMUTIL
735 MANIFEST_TOOL
736 RANLIB
737 ac_ct_AR
738 AR
739 DLLTOOL
740 OBJDUMP
741 LN_S
742 NM
743 ac_ct_DUMPBIN
744 DUMPBIN
745 LD
746 FGREP
747 EGREP
748 GREP
749 SED
750 host_os
751 host_vendor
752 host_cpu
753 host
754 build_os
755 build_vendor
756 build_cpu
757 build
758 LIBTOOL
759 am__fastdepCC_FALSE
760 am__fastdepCC_TRUE
761 CCDEPMODE
762 am__nodep
763 AMDEPBACKSLASH
764 AMDEP_FALSE
765 AMDEP_TRUE
766 am__quote
767 am__include
768 DEPDIR
769 OBJEXT
770 EXEEXT
771 ac_ct_CC
772 CPPFLAGS
773 LDFLAGS
774 CFLAGS
775 CC
776 AM_BACKSLASH
777 AM_DEFAULT_VERBOSITY
778 AM_DEFAULT_V
779 AM_V
780 am__untar
781 am__tar
782 AMTAR
783 am__leading_dot
784 SET_MAKE
785 AWK
786 mkdir_p
787 MKDIR_P
788 INSTALL_STRIP_PROGRAM
789 STRIP
790 install_sh
791 MAKEINFO
792 AUTOHEADER
793 AUTOMAKE
794 AUTOCONF
795 ACLOCAL
796 VERSION
797 PACKAGE
798 CYGPATH_W
799 am__isrc
800 INSTALL_DATA
801 INSTALL_SCRIPT
802 INSTALL_PROGRAM
803 target_alias
804 host_alias
805 build_alias
806 LIBS
807 ECHO_T
808 ECHO_N
809 ECHO_C
810 DEFS
811 mandir
812 localedir
813 libdir
814 psdir
815 pdfdir
816 dvidir
817 htmldir
818 infodir
819 docdir
820 oldincludedir
821 includedir
822 localstatedir
823 sharedstatedir
824 sysconfdir
825 datadir
826 datarootdir
827 libexecdir
828 sbindir
829 bindir
830 program_transform_name
831 prefix
832 exec_prefix
833 PACKAGE_URL
834 PACKAGE_BUGREPORT
835 PACKAGE_STRING
836 PACKAGE_VERSION
837 PACKAGE_TARNAME
838 PACKAGE_NAME
839 PATH_SEPARATOR
840 SHELL'
841 ac_subst_files=''
842 ac_user_opts='
843 enable_option_checking
844 enable_silent_rules
845 enable_dependency_tracking
846 enable_static
847 enable_shared
848 with_pic
849 enable_fast_install
850 with_gnu_ld
851 with_sysroot
852 enable_libtool_lock
853 enable_doc
854 enable_coverage
855 enable_benchmark
856 enable_introspection
857 '
858       ac_precious_vars='build_alias
859 host_alias
860 target_alias
861 CC
862 CFLAGS
863 LDFLAGS
864 LIBS
865 CPPFLAGS
866 CPP
867 PKG_CONFIG
868 PKG_CONFIG_PATH
869 PKG_CONFIG_LIBDIR
870 GLIB_CFLAGS
871 GLIB_LIBS'
872
873
874 # Initialize some variables set by options.
875 ac_init_help=
876 ac_init_version=false
877 ac_unrecognized_opts=
878 ac_unrecognized_sep=
879 # The variables have the same names as the options, with
880 # dashes changed to underlines.
881 cache_file=/dev/null
882 exec_prefix=NONE
883 no_create=
884 no_recursion=
885 prefix=NONE
886 program_prefix=NONE
887 program_suffix=NONE
888 program_transform_name=s,x,x,
889 silent=
890 site=
891 srcdir=
892 verbose=
893 x_includes=NONE
894 x_libraries=NONE
895
896 # Installation directory options.
897 # These are left unexpanded so users can "make install exec_prefix=/foo"
898 # and all the variables that are supposed to be based on exec_prefix
899 # by default will actually change.
900 # Use braces instead of parens because sh, perl, etc. also accept them.
901 # (The list follows the same order as the GNU Coding Standards.)
902 bindir='${exec_prefix}/bin'
903 sbindir='${exec_prefix}/sbin'
904 libexecdir='${exec_prefix}/libexec'
905 datarootdir='${prefix}/share'
906 datadir='${datarootdir}'
907 sysconfdir='${prefix}/etc'
908 sharedstatedir='${prefix}/com'
909 localstatedir='${prefix}/var'
910 includedir='${prefix}/include'
911 oldincludedir='/usr/include'
912 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
913 infodir='${datarootdir}/info'
914 htmldir='${docdir}'
915 dvidir='${docdir}'
916 pdfdir='${docdir}'
917 psdir='${docdir}'
918 libdir='${exec_prefix}/lib'
919 localedir='${datarootdir}/locale'
920 mandir='${datarootdir}/man'
921
922 ac_prev=
923 ac_dashdash=
924 for ac_option
925 do
926   # If the previous option needs an argument, assign it.
927   if test -n "$ac_prev"; then
928     eval $ac_prev=\$ac_option
929     ac_prev=
930     continue
931   fi
932
933   case $ac_option in
934   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
935   *=)   ac_optarg= ;;
936   *)    ac_optarg=yes ;;
937   esac
938
939   # Accept the important Cygnus configure options, so we can diagnose typos.
940
941   case $ac_dashdash$ac_option in
942   --)
943     ac_dashdash=yes ;;
944
945   -bindir | --bindir | --bindi | --bind | --bin | --bi)
946     ac_prev=bindir ;;
947   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
948     bindir=$ac_optarg ;;
949
950   -build | --build | --buil | --bui | --bu)
951     ac_prev=build_alias ;;
952   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
953     build_alias=$ac_optarg ;;
954
955   -cache-file | --cache-file | --cache-fil | --cache-fi \
956   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
957     ac_prev=cache_file ;;
958   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
959   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
960     cache_file=$ac_optarg ;;
961
962   --config-cache | -C)
963     cache_file=config.cache ;;
964
965   -datadir | --datadir | --datadi | --datad)
966     ac_prev=datadir ;;
967   -datadir=* | --datadir=* | --datadi=* | --datad=*)
968     datadir=$ac_optarg ;;
969
970   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
971   | --dataroo | --dataro | --datar)
972     ac_prev=datarootdir ;;
973   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
974   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
975     datarootdir=$ac_optarg ;;
976
977   -disable-* | --disable-*)
978     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
979     # Reject names that are not valid shell variable names.
980     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
981       as_fn_error $? "invalid feature name: $ac_useropt"
982     ac_useropt_orig=$ac_useropt
983     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
984     case $ac_user_opts in
985       *"
986 "enable_$ac_useropt"
987 "*) ;;
988       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
989          ac_unrecognized_sep=', ';;
990     esac
991     eval enable_$ac_useropt=no ;;
992
993   -docdir | --docdir | --docdi | --doc | --do)
994     ac_prev=docdir ;;
995   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
996     docdir=$ac_optarg ;;
997
998   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
999     ac_prev=dvidir ;;
1000   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1001     dvidir=$ac_optarg ;;
1002
1003   -enable-* | --enable-*)
1004     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1005     # Reject names that are not valid shell variable names.
1006     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1007       as_fn_error $? "invalid feature name: $ac_useropt"
1008     ac_useropt_orig=$ac_useropt
1009     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1010     case $ac_user_opts in
1011       *"
1012 "enable_$ac_useropt"
1013 "*) ;;
1014       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1015          ac_unrecognized_sep=', ';;
1016     esac
1017     eval enable_$ac_useropt=\$ac_optarg ;;
1018
1019   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1020   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1021   | --exec | --exe | --ex)
1022     ac_prev=exec_prefix ;;
1023   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1024   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1025   | --exec=* | --exe=* | --ex=*)
1026     exec_prefix=$ac_optarg ;;
1027
1028   -gas | --gas | --ga | --g)
1029     # Obsolete; use --with-gas.
1030     with_gas=yes ;;
1031
1032   -help | --help | --hel | --he | -h)
1033     ac_init_help=long ;;
1034   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1035     ac_init_help=recursive ;;
1036   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1037     ac_init_help=short ;;
1038
1039   -host | --host | --hos | --ho)
1040     ac_prev=host_alias ;;
1041   -host=* | --host=* | --hos=* | --ho=*)
1042     host_alias=$ac_optarg ;;
1043
1044   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1045     ac_prev=htmldir ;;
1046   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1047   | --ht=*)
1048     htmldir=$ac_optarg ;;
1049
1050   -includedir | --includedir | --includedi | --included | --include \
1051   | --includ | --inclu | --incl | --inc)
1052     ac_prev=includedir ;;
1053   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1054   | --includ=* | --inclu=* | --incl=* | --inc=*)
1055     includedir=$ac_optarg ;;
1056
1057   -infodir | --infodir | --infodi | --infod | --info | --inf)
1058     ac_prev=infodir ;;
1059   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1060     infodir=$ac_optarg ;;
1061
1062   -libdir | --libdir | --libdi | --libd)
1063     ac_prev=libdir ;;
1064   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1065     libdir=$ac_optarg ;;
1066
1067   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1068   | --libexe | --libex | --libe)
1069     ac_prev=libexecdir ;;
1070   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1071   | --libexe=* | --libex=* | --libe=*)
1072     libexecdir=$ac_optarg ;;
1073
1074   -localedir | --localedir | --localedi | --localed | --locale)
1075     ac_prev=localedir ;;
1076   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1077     localedir=$ac_optarg ;;
1078
1079   -localstatedir | --localstatedir | --localstatedi | --localstated \
1080   | --localstate | --localstat | --localsta | --localst | --locals)
1081     ac_prev=localstatedir ;;
1082   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1083   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1084     localstatedir=$ac_optarg ;;
1085
1086   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1087     ac_prev=mandir ;;
1088   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1089     mandir=$ac_optarg ;;
1090
1091   -nfp | --nfp | --nf)
1092     # Obsolete; use --without-fp.
1093     with_fp=no ;;
1094
1095   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1096   | --no-cr | --no-c | -n)
1097     no_create=yes ;;
1098
1099   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1100   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1101     no_recursion=yes ;;
1102
1103   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1104   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1105   | --oldin | --oldi | --old | --ol | --o)
1106     ac_prev=oldincludedir ;;
1107   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1108   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1109   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1110     oldincludedir=$ac_optarg ;;
1111
1112   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1113     ac_prev=prefix ;;
1114   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1115     prefix=$ac_optarg ;;
1116
1117   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1118   | --program-pre | --program-pr | --program-p)
1119     ac_prev=program_prefix ;;
1120   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1121   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1122     program_prefix=$ac_optarg ;;
1123
1124   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1125   | --program-suf | --program-su | --program-s)
1126     ac_prev=program_suffix ;;
1127   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1128   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1129     program_suffix=$ac_optarg ;;
1130
1131   -program-transform-name | --program-transform-name \
1132   | --program-transform-nam | --program-transform-na \
1133   | --program-transform-n | --program-transform- \
1134   | --program-transform | --program-transfor \
1135   | --program-transfo | --program-transf \
1136   | --program-trans | --program-tran \
1137   | --progr-tra | --program-tr | --program-t)
1138     ac_prev=program_transform_name ;;
1139   -program-transform-name=* | --program-transform-name=* \
1140   | --program-transform-nam=* | --program-transform-na=* \
1141   | --program-transform-n=* | --program-transform-=* \
1142   | --program-transform=* | --program-transfor=* \
1143   | --program-transfo=* | --program-transf=* \
1144   | --program-trans=* | --program-tran=* \
1145   | --progr-tra=* | --program-tr=* | --program-t=*)
1146     program_transform_name=$ac_optarg ;;
1147
1148   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1149     ac_prev=pdfdir ;;
1150   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1151     pdfdir=$ac_optarg ;;
1152
1153   -psdir | --psdir | --psdi | --psd | --ps)
1154     ac_prev=psdir ;;
1155   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1156     psdir=$ac_optarg ;;
1157
1158   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1159   | -silent | --silent | --silen | --sile | --sil)
1160     silent=yes ;;
1161
1162   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1163     ac_prev=sbindir ;;
1164   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1165   | --sbi=* | --sb=*)
1166     sbindir=$ac_optarg ;;
1167
1168   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1169   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1170   | --sharedst | --shareds | --shared | --share | --shar \
1171   | --sha | --sh)
1172     ac_prev=sharedstatedir ;;
1173   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1174   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1175   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1176   | --sha=* | --sh=*)
1177     sharedstatedir=$ac_optarg ;;
1178
1179   -site | --site | --sit)
1180     ac_prev=site ;;
1181   -site=* | --site=* | --sit=*)
1182     site=$ac_optarg ;;
1183
1184   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1185     ac_prev=srcdir ;;
1186   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1187     srcdir=$ac_optarg ;;
1188
1189   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1190   | --syscon | --sysco | --sysc | --sys | --sy)
1191     ac_prev=sysconfdir ;;
1192   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1193   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1194     sysconfdir=$ac_optarg ;;
1195
1196   -target | --target | --targe | --targ | --tar | --ta | --t)
1197     ac_prev=target_alias ;;
1198   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1199     target_alias=$ac_optarg ;;
1200
1201   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1202     verbose=yes ;;
1203
1204   -version | --version | --versio | --versi | --vers | -V)
1205     ac_init_version=: ;;
1206
1207   -with-* | --with-*)
1208     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1209     # Reject names that are not valid shell variable names.
1210     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1211       as_fn_error $? "invalid package name: $ac_useropt"
1212     ac_useropt_orig=$ac_useropt
1213     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1214     case $ac_user_opts in
1215       *"
1216 "with_$ac_useropt"
1217 "*) ;;
1218       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1219          ac_unrecognized_sep=', ';;
1220     esac
1221     eval with_$ac_useropt=\$ac_optarg ;;
1222
1223   -without-* | --without-*)
1224     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1225     # Reject names that are not valid shell variable names.
1226     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1227       as_fn_error $? "invalid package name: $ac_useropt"
1228     ac_useropt_orig=$ac_useropt
1229     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1230     case $ac_user_opts in
1231       *"
1232 "with_$ac_useropt"
1233 "*) ;;
1234       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1235          ac_unrecognized_sep=', ';;
1236     esac
1237     eval with_$ac_useropt=no ;;
1238
1239   --x)
1240     # Obsolete; use --with-x.
1241     with_x=yes ;;
1242
1243   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1244   | --x-incl | --x-inc | --x-in | --x-i)
1245     ac_prev=x_includes ;;
1246   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1247   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1248     x_includes=$ac_optarg ;;
1249
1250   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1251   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1252     ac_prev=x_libraries ;;
1253   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1254   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1255     x_libraries=$ac_optarg ;;
1256
1257   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1258 Try \`$0 --help' for more information"
1259     ;;
1260
1261   *=*)
1262     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1263     # Reject names that are not valid shell variable names.
1264     case $ac_envvar in #(
1265       '' | [0-9]* | *[!_$as_cr_alnum]* )
1266       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1267     esac
1268     eval $ac_envvar=\$ac_optarg
1269     export $ac_envvar ;;
1270
1271   *)
1272     # FIXME: should be removed in autoconf 3.0.
1273     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1274     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1275       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1276     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1277     ;;
1278
1279   esac
1280 done
1281
1282 if test -n "$ac_prev"; then
1283   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1284   as_fn_error $? "missing argument to $ac_option"
1285 fi
1286
1287 if test -n "$ac_unrecognized_opts"; then
1288   case $enable_option_checking in
1289     no) ;;
1290     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1291     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1292   esac
1293 fi
1294
1295 # Check all directory arguments for consistency.
1296 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1297                 datadir sysconfdir sharedstatedir localstatedir includedir \
1298                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1299                 libdir localedir mandir
1300 do
1301   eval ac_val=\$$ac_var
1302   # Remove trailing slashes.
1303   case $ac_val in
1304     */ )
1305       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1306       eval $ac_var=\$ac_val;;
1307   esac
1308   # Be sure to have absolute directory names.
1309   case $ac_val in
1310     [\\/$]* | ?:[\\/]* )  continue;;
1311     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1312   esac
1313   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1314 done
1315
1316 # There might be people who depend on the old broken behavior: `$host'
1317 # used to hold the argument of --host etc.
1318 # FIXME: To remove some day.
1319 build=$build_alias
1320 host=$host_alias
1321 target=$target_alias
1322
1323 # FIXME: To remove some day.
1324 if test "x$host_alias" != x; then
1325   if test "x$build_alias" = x; then
1326     cross_compiling=maybe
1327   elif test "x$build_alias" != "x$host_alias"; then
1328     cross_compiling=yes
1329   fi
1330 fi
1331
1332 ac_tool_prefix=
1333 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1334
1335 test "$silent" = yes && exec 6>/dev/null
1336
1337
1338 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1339 ac_ls_di=`ls -di .` &&
1340 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1341   as_fn_error $? "working directory cannot be determined"
1342 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1343   as_fn_error $? "pwd does not report name of working directory"
1344
1345
1346 # Find the source files, if location was not specified.
1347 if test -z "$srcdir"; then
1348   ac_srcdir_defaulted=yes
1349   # Try the directory containing this script, then the parent directory.
1350   ac_confdir=`$as_dirname -- "$as_myself" ||
1351 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1352          X"$as_myself" : 'X\(//\)[^/]' \| \
1353          X"$as_myself" : 'X\(//\)$' \| \
1354          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1355 $as_echo X"$as_myself" |
1356     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1357             s//\1/
1358             q
1359           }
1360           /^X\(\/\/\)[^/].*/{
1361             s//\1/
1362             q
1363           }
1364           /^X\(\/\/\)$/{
1365             s//\1/
1366             q
1367           }
1368           /^X\(\/\).*/{
1369             s//\1/
1370             q
1371           }
1372           s/.*/./; q'`
1373   srcdir=$ac_confdir
1374   if test ! -r "$srcdir/$ac_unique_file"; then
1375     srcdir=..
1376   fi
1377 else
1378   ac_srcdir_defaulted=no
1379 fi
1380 if test ! -r "$srcdir/$ac_unique_file"; then
1381   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1382   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1383 fi
1384 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1385 ac_abs_confdir=`(
1386         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1387         pwd)`
1388 # When building in place, set srcdir=.
1389 if test "$ac_abs_confdir" = "$ac_pwd"; then
1390   srcdir=.
1391 fi
1392 # Remove unnecessary trailing slashes from srcdir.
1393 # Double slashes in file names in object file debugging info
1394 # mess up M-x gdb in Emacs.
1395 case $srcdir in
1396 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1397 esac
1398 for ac_var in $ac_precious_vars; do
1399   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1400   eval ac_env_${ac_var}_value=\$${ac_var}
1401   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1402   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1403 done
1404
1405 #
1406 # Report the --help message.
1407 #
1408 if test "$ac_init_help" = "long"; then
1409   # Omit some internal or obsolete options to make the list less imposing.
1410   # This message is too long to be a string in the A/UX 3.1 sh.
1411   cat <<_ACEOF
1412 \`configure' configures libgee 0.10.0 to adapt to many kinds of systems.
1413
1414 Usage: $0 [OPTION]... [VAR=VALUE]...
1415
1416 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1417 VAR=VALUE.  See below for descriptions of some of the useful variables.
1418
1419 Defaults for the options are specified in brackets.
1420
1421 Configuration:
1422   -h, --help              display this help and exit
1423       --help=short        display options specific to this package
1424       --help=recursive    display the short help of all the included packages
1425   -V, --version           display version information and exit
1426   -q, --quiet, --silent   do not print \`checking ...' messages
1427       --cache-file=FILE   cache test results in FILE [disabled]
1428   -C, --config-cache      alias for \`--cache-file=config.cache'
1429   -n, --no-create         do not create output files
1430       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1431
1432 Installation directories:
1433   --prefix=PREFIX         install architecture-independent files in PREFIX
1434                           [$ac_default_prefix]
1435   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1436                           [PREFIX]
1437
1438 By default, \`make install' will install all the files in
1439 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1440 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1441 for instance \`--prefix=\$HOME'.
1442
1443 For better control, use the options below.
1444
1445 Fine tuning of the installation directories:
1446   --bindir=DIR            user executables [EPREFIX/bin]
1447   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1448   --libexecdir=DIR        program executables [EPREFIX/libexec]
1449   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1450   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1451   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1452   --libdir=DIR            object code libraries [EPREFIX/lib]
1453   --includedir=DIR        C header files [PREFIX/include]
1454   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1455   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1456   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1457   --infodir=DIR           info documentation [DATAROOTDIR/info]
1458   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1459   --mandir=DIR            man documentation [DATAROOTDIR/man]
1460   --docdir=DIR            documentation root [DATAROOTDIR/doc/libgee]
1461   --htmldir=DIR           html documentation [DOCDIR]
1462   --dvidir=DIR            dvi documentation [DOCDIR]
1463   --pdfdir=DIR            pdf documentation [DOCDIR]
1464   --psdir=DIR             ps documentation [DOCDIR]
1465 _ACEOF
1466
1467   cat <<\_ACEOF
1468
1469 Program names:
1470   --program-prefix=PREFIX            prepend PREFIX to installed program names
1471   --program-suffix=SUFFIX            append SUFFIX to installed program names
1472   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1473
1474 System types:
1475   --build=BUILD     configure for building on BUILD [guessed]
1476   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1477 _ACEOF
1478 fi
1479
1480 if test -n "$ac_init_help"; then
1481   case $ac_init_help in
1482      short | recursive ) echo "Configuration of libgee 0.10.0:";;
1483    esac
1484   cat <<\_ACEOF
1485
1486 Optional Features:
1487   --disable-option-checking  ignore unrecognized --enable/--with options
1488   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1489   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1490   --enable-silent-rules          less verbose build output (undo: `make V=1')
1491   --disable-silent-rules         verbose build output (undo: `make V=0')
1492   --disable-dependency-tracking  speeds up one-time build
1493   --enable-dependency-tracking   do not reject slow dependency extractors
1494   --enable-static[=PKGS]  build static libraries [default=no]
1495   --enable-shared[=PKGS]  build shared libraries [default=yes]
1496   --enable-fast-install[=PKGS]
1497                           optimize for fast installation [default=yes]
1498   --disable-libtool-lock  avoid locking (might break parallel builds)
1499   --enable-doc            Enable documentation generation
1500   --enable-coverage       compile with coverage profiling and debug (gcc only)
1501   --enable-benchmark      Enable benchmark
1502   --enable-introspection=[no/auto/yes]
1503                           Enable introspection for this build
1504
1505 Optional Packages:
1506   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1507   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1508   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1509                           both]
1510   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1511   --with-sysroot=DIR Search for dependent libraries within DIR
1512                         (or the compiler's sysroot if not specified).
1513
1514 Some influential environment variables:
1515   CC          C compiler command
1516   CFLAGS      C compiler flags
1517   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1518               nonstandard directory <lib dir>
1519   LIBS        libraries to pass to the linker, e.g. -l<library>
1520   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1521               you have headers in a nonstandard directory <include dir>
1522   CPP         C preprocessor
1523   PKG_CONFIG  path to pkg-config utility
1524   PKG_CONFIG_PATH
1525               directories to add to pkg-config's search path
1526   PKG_CONFIG_LIBDIR
1527               path overriding pkg-config's built-in search path
1528   GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1529   GLIB_LIBS   linker flags for GLIB, overriding pkg-config
1530
1531 Use these variables to override the choices made by `configure' or to help
1532 it to find libraries and programs with nonstandard names/locations.
1533
1534 Report bugs to <https://bugzilla.gnome.org/enter_bug.cgi?product=libgee>.
1535 _ACEOF
1536 ac_status=$?
1537 fi
1538
1539 if test "$ac_init_help" = "recursive"; then
1540   # If there are subdirs, report their specific --help.
1541   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1542     test -d "$ac_dir" ||
1543       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1544       continue
1545     ac_builddir=.
1546
1547 case "$ac_dir" in
1548 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1549 *)
1550   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1551   # A ".." for each directory in $ac_dir_suffix.
1552   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1553   case $ac_top_builddir_sub in
1554   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1555   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1556   esac ;;
1557 esac
1558 ac_abs_top_builddir=$ac_pwd
1559 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1560 # for backward compatibility:
1561 ac_top_builddir=$ac_top_build_prefix
1562
1563 case $srcdir in
1564   .)  # We are building in place.
1565     ac_srcdir=.
1566     ac_top_srcdir=$ac_top_builddir_sub
1567     ac_abs_top_srcdir=$ac_pwd ;;
1568   [\\/]* | ?:[\\/]* )  # Absolute name.
1569     ac_srcdir=$srcdir$ac_dir_suffix;
1570     ac_top_srcdir=$srcdir
1571     ac_abs_top_srcdir=$srcdir ;;
1572   *) # Relative name.
1573     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1574     ac_top_srcdir=$ac_top_build_prefix$srcdir
1575     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1576 esac
1577 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1578
1579     cd "$ac_dir" || { ac_status=$?; continue; }
1580     # Check for guested configure.
1581     if test -f "$ac_srcdir/configure.gnu"; then
1582       echo &&
1583       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1584     elif test -f "$ac_srcdir/configure"; then
1585       echo &&
1586       $SHELL "$ac_srcdir/configure" --help=recursive
1587     else
1588       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1589     fi || ac_status=$?
1590     cd "$ac_pwd" || { ac_status=$?; break; }
1591   done
1592 fi
1593
1594 test -n "$ac_init_help" && exit $ac_status
1595 if $ac_init_version; then
1596   cat <<\_ACEOF
1597 libgee configure 0.10.0
1598 generated by GNU Autoconf 2.69
1599
1600 Copyright (C) 2012 Free Software Foundation, Inc.
1601 This configure script is free software; the Free Software Foundation
1602 gives unlimited permission to copy, distribute and modify it.
1603 _ACEOF
1604   exit
1605 fi
1606
1607 ## ------------------------ ##
1608 ## Autoconf initialization. ##
1609 ## ------------------------ ##
1610
1611 # ac_fn_c_try_compile LINENO
1612 # --------------------------
1613 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1614 ac_fn_c_try_compile ()
1615 {
1616   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1617   rm -f conftest.$ac_objext
1618   if { { ac_try="$ac_compile"
1619 case "(($ac_try" in
1620   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1621   *) ac_try_echo=$ac_try;;
1622 esac
1623 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1624 $as_echo "$ac_try_echo"; } >&5
1625   (eval "$ac_compile") 2>conftest.err
1626   ac_status=$?
1627   if test -s conftest.err; then
1628     grep -v '^ *+' conftest.err >conftest.er1
1629     cat conftest.er1 >&5
1630     mv -f conftest.er1 conftest.err
1631   fi
1632   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1633   test $ac_status = 0; } && {
1634          test -z "$ac_c_werror_flag" ||
1635          test ! -s conftest.err
1636        } && test -s conftest.$ac_objext; then :
1637   ac_retval=0
1638 else
1639   $as_echo "$as_me: failed program was:" >&5
1640 sed 's/^/| /' conftest.$ac_ext >&5
1641
1642         ac_retval=1
1643 fi
1644   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1645   as_fn_set_status $ac_retval
1646
1647 } # ac_fn_c_try_compile
1648
1649 # ac_fn_c_try_link LINENO
1650 # -----------------------
1651 # Try to link conftest.$ac_ext, and return whether this succeeded.
1652 ac_fn_c_try_link ()
1653 {
1654   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1655   rm -f conftest.$ac_objext conftest$ac_exeext
1656   if { { ac_try="$ac_link"
1657 case "(($ac_try" in
1658   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1659   *) ac_try_echo=$ac_try;;
1660 esac
1661 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1662 $as_echo "$ac_try_echo"; } >&5
1663   (eval "$ac_link") 2>conftest.err
1664   ac_status=$?
1665   if test -s conftest.err; then
1666     grep -v '^ *+' conftest.err >conftest.er1
1667     cat conftest.er1 >&5
1668     mv -f conftest.er1 conftest.err
1669   fi
1670   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1671   test $ac_status = 0; } && {
1672          test -z "$ac_c_werror_flag" ||
1673          test ! -s conftest.err
1674        } && test -s conftest$ac_exeext && {
1675          test "$cross_compiling" = yes ||
1676          test -x conftest$ac_exeext
1677        }; then :
1678   ac_retval=0
1679 else
1680   $as_echo "$as_me: failed program was:" >&5
1681 sed 's/^/| /' conftest.$ac_ext >&5
1682
1683         ac_retval=1
1684 fi
1685   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1686   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1687   # interfere with the next link command; also delete a directory that is
1688   # left behind by Apple's compiler.  We do this before executing the actions.
1689   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1690   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1691   as_fn_set_status $ac_retval
1692
1693 } # ac_fn_c_try_link
1694
1695 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1696 # -------------------------------------------------------
1697 # Tests whether HEADER exists and can be compiled using the include files in
1698 # INCLUDES, setting the cache variable VAR accordingly.
1699 ac_fn_c_check_header_compile ()
1700 {
1701   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1702   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1703 $as_echo_n "checking for $2... " >&6; }
1704 if eval \${$3+:} false; then :
1705   $as_echo_n "(cached) " >&6
1706 else
1707   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1708 /* end confdefs.h.  */
1709 $4
1710 #include <$2>
1711 _ACEOF
1712 if ac_fn_c_try_compile "$LINENO"; then :
1713   eval "$3=yes"
1714 else
1715   eval "$3=no"
1716 fi
1717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1718 fi
1719 eval ac_res=\$$3
1720                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1721 $as_echo "$ac_res" >&6; }
1722   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1723
1724 } # ac_fn_c_check_header_compile
1725
1726 # ac_fn_c_try_cpp LINENO
1727 # ----------------------
1728 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1729 ac_fn_c_try_cpp ()
1730 {
1731   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1732   if { { ac_try="$ac_cpp conftest.$ac_ext"
1733 case "(($ac_try" in
1734   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1735   *) ac_try_echo=$ac_try;;
1736 esac
1737 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1738 $as_echo "$ac_try_echo"; } >&5
1739   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1740   ac_status=$?
1741   if test -s conftest.err; then
1742     grep -v '^ *+' conftest.err >conftest.er1
1743     cat conftest.er1 >&5
1744     mv -f conftest.er1 conftest.err
1745   fi
1746   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1747   test $ac_status = 0; } > conftest.i && {
1748          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1749          test ! -s conftest.err
1750        }; then :
1751   ac_retval=0
1752 else
1753   $as_echo "$as_me: failed program was:" >&5
1754 sed 's/^/| /' conftest.$ac_ext >&5
1755
1756     ac_retval=1
1757 fi
1758   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1759   as_fn_set_status $ac_retval
1760
1761 } # ac_fn_c_try_cpp
1762
1763 # ac_fn_c_try_run LINENO
1764 # ----------------------
1765 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1766 # that executables *can* be run.
1767 ac_fn_c_try_run ()
1768 {
1769   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1770   if { { ac_try="$ac_link"
1771 case "(($ac_try" in
1772   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1773   *) ac_try_echo=$ac_try;;
1774 esac
1775 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1776 $as_echo "$ac_try_echo"; } >&5
1777   (eval "$ac_link") 2>&5
1778   ac_status=$?
1779   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1780   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1781   { { case "(($ac_try" in
1782   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1783   *) ac_try_echo=$ac_try;;
1784 esac
1785 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1786 $as_echo "$ac_try_echo"; } >&5
1787   (eval "$ac_try") 2>&5
1788   ac_status=$?
1789   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1790   test $ac_status = 0; }; }; then :
1791   ac_retval=0
1792 else
1793   $as_echo "$as_me: program exited with status $ac_status" >&5
1794        $as_echo "$as_me: failed program was:" >&5
1795 sed 's/^/| /' conftest.$ac_ext >&5
1796
1797        ac_retval=$ac_status
1798 fi
1799   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1800   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1801   as_fn_set_status $ac_retval
1802
1803 } # ac_fn_c_try_run
1804
1805 # ac_fn_c_check_func LINENO FUNC VAR
1806 # ----------------------------------
1807 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1808 ac_fn_c_check_func ()
1809 {
1810   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1811   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1812 $as_echo_n "checking for $2... " >&6; }
1813 if eval \${$3+:} false; then :
1814   $as_echo_n "(cached) " >&6
1815 else
1816   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1817 /* end confdefs.h.  */
1818 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1819    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1820 #define $2 innocuous_$2
1821
1822 /* System header to define __stub macros and hopefully few prototypes,
1823     which can conflict with char $2 (); below.
1824     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1825     <limits.h> exists even on freestanding compilers.  */
1826
1827 #ifdef __STDC__
1828 # include <limits.h>
1829 #else
1830 # include <assert.h>
1831 #endif
1832
1833 #undef $2
1834
1835 /* Override any GCC internal prototype to avoid an error.
1836    Use char because int might match the return type of a GCC
1837    builtin and then its argument prototype would still apply.  */
1838 #ifdef __cplusplus
1839 extern "C"
1840 #endif
1841 char $2 ();
1842 /* The GNU C library defines this for functions which it implements
1843     to always fail with ENOSYS.  Some functions are actually named
1844     something starting with __ and the normal name is an alias.  */
1845 #if defined __stub_$2 || defined __stub___$2
1846 choke me
1847 #endif
1848
1849 int
1850 main ()
1851 {
1852 return $2 ();
1853   ;
1854   return 0;
1855 }
1856 _ACEOF
1857 if ac_fn_c_try_link "$LINENO"; then :
1858   eval "$3=yes"
1859 else
1860   eval "$3=no"
1861 fi
1862 rm -f core conftest.err conftest.$ac_objext \
1863     conftest$ac_exeext conftest.$ac_ext
1864 fi
1865 eval ac_res=\$$3
1866                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1867 $as_echo "$ac_res" >&6; }
1868   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1869
1870 } # ac_fn_c_check_func
1871 cat >config.log <<_ACEOF
1872 This file contains any messages produced by compilers while
1873 running configure, to aid debugging if configure makes a mistake.
1874
1875 It was created by libgee $as_me 0.10.0, which was
1876 generated by GNU Autoconf 2.69.  Invocation command line was
1877
1878   $ $0 $@
1879
1880 _ACEOF
1881 exec 5>>config.log
1882 {
1883 cat <<_ASUNAME
1884 ## --------- ##
1885 ## Platform. ##
1886 ## --------- ##
1887
1888 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1889 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1890 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1891 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1892 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1893
1894 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1895 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1896
1897 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1898 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1899 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1900 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1901 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1902 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1903 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1904
1905 _ASUNAME
1906
1907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1908 for as_dir in $PATH
1909 do
1910   IFS=$as_save_IFS
1911   test -z "$as_dir" && as_dir=.
1912     $as_echo "PATH: $as_dir"
1913   done
1914 IFS=$as_save_IFS
1915
1916 } >&5
1917
1918 cat >&5 <<_ACEOF
1919
1920
1921 ## ----------- ##
1922 ## Core tests. ##
1923 ## ----------- ##
1924
1925 _ACEOF
1926
1927
1928 # Keep a trace of the command line.
1929 # Strip out --no-create and --no-recursion so they do not pile up.
1930 # Strip out --silent because we don't want to record it for future runs.
1931 # Also quote any args containing shell meta-characters.
1932 # Make two passes to allow for proper duplicate-argument suppression.
1933 ac_configure_args=
1934 ac_configure_args0=
1935 ac_configure_args1=
1936 ac_must_keep_next=false
1937 for ac_pass in 1 2
1938 do
1939   for ac_arg
1940   do
1941     case $ac_arg in
1942     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1943     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1944     | -silent | --silent | --silen | --sile | --sil)
1945       continue ;;
1946     *\'*)
1947       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1948     esac
1949     case $ac_pass in
1950     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1951     2)
1952       as_fn_append ac_configure_args1 " '$ac_arg'"
1953       if test $ac_must_keep_next = true; then
1954         ac_must_keep_next=false # Got value, back to normal.
1955       else
1956         case $ac_arg in
1957           *=* | --config-cache | -C | -disable-* | --disable-* \
1958           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1959           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1960           | -with-* | --with-* | -without-* | --without-* | --x)
1961             case "$ac_configure_args0 " in
1962               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1963             esac
1964             ;;
1965           -* ) ac_must_keep_next=true ;;
1966         esac
1967       fi
1968       as_fn_append ac_configure_args " '$ac_arg'"
1969       ;;
1970     esac
1971   done
1972 done
1973 { ac_configure_args0=; unset ac_configure_args0;}
1974 { ac_configure_args1=; unset ac_configure_args1;}
1975
1976 # When interrupted or exit'd, cleanup temporary files, and complete
1977 # config.log.  We remove comments because anyway the quotes in there
1978 # would cause problems or look ugly.
1979 # WARNING: Use '\'' to represent an apostrophe within the trap.
1980 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1981 trap 'exit_status=$?
1982   # Save into config.log some information that might help in debugging.
1983   {
1984     echo
1985
1986     $as_echo "## ---------------- ##
1987 ## Cache variables. ##
1988 ## ---------------- ##"
1989     echo
1990     # The following way of writing the cache mishandles newlines in values,
1991 (
1992   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1993     eval ac_val=\$$ac_var
1994     case $ac_val in #(
1995     *${as_nl}*)
1996       case $ac_var in #(
1997       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1998 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1999       esac
2000       case $ac_var in #(
2001       _ | IFS | as_nl) ;; #(
2002       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2003       *) { eval $ac_var=; unset $ac_var;} ;;
2004       esac ;;
2005     esac
2006   done
2007   (set) 2>&1 |
2008     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2009     *${as_nl}ac_space=\ *)
2010       sed -n \
2011         "s/'\''/'\''\\\\'\'''\''/g;
2012           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2013       ;; #(
2014     *)
2015       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2016       ;;
2017     esac |
2018     sort
2019 )
2020     echo
2021
2022     $as_echo "## ----------------- ##
2023 ## Output variables. ##
2024 ## ----------------- ##"
2025     echo
2026     for ac_var in $ac_subst_vars
2027     do
2028       eval ac_val=\$$ac_var
2029       case $ac_val in
2030       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2031       esac
2032       $as_echo "$ac_var='\''$ac_val'\''"
2033     done | sort
2034     echo
2035
2036     if test -n "$ac_subst_files"; then
2037       $as_echo "## ------------------- ##
2038 ## File substitutions. ##
2039 ## ------------------- ##"
2040       echo
2041       for ac_var in $ac_subst_files
2042       do
2043         eval ac_val=\$$ac_var
2044         case $ac_val in
2045         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2046         esac
2047         $as_echo "$ac_var='\''$ac_val'\''"
2048       done | sort
2049       echo
2050     fi
2051
2052     if test -s confdefs.h; then
2053       $as_echo "## ----------- ##
2054 ## confdefs.h. ##
2055 ## ----------- ##"
2056       echo
2057       cat confdefs.h
2058       echo
2059     fi
2060     test "$ac_signal" != 0 &&
2061       $as_echo "$as_me: caught signal $ac_signal"
2062     $as_echo "$as_me: exit $exit_status"
2063   } >&5
2064   rm -f core *.core core.conftest.* &&
2065     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2066     exit $exit_status
2067 ' 0
2068 for ac_signal in 1 2 13 15; do
2069   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2070 done
2071 ac_signal=0
2072
2073 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2074 rm -f -r conftest* confdefs.h
2075
2076 $as_echo "/* confdefs.h */" > confdefs.h
2077
2078 # Predefined preprocessor variables.
2079
2080 cat >>confdefs.h <<_ACEOF
2081 #define PACKAGE_NAME "$PACKAGE_NAME"
2082 _ACEOF
2083
2084 cat >>confdefs.h <<_ACEOF
2085 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2086 _ACEOF
2087
2088 cat >>confdefs.h <<_ACEOF
2089 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2090 _ACEOF
2091
2092 cat >>confdefs.h <<_ACEOF
2093 #define PACKAGE_STRING "$PACKAGE_STRING"
2094 _ACEOF
2095
2096 cat >>confdefs.h <<_ACEOF
2097 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2098 _ACEOF
2099
2100 cat >>confdefs.h <<_ACEOF
2101 #define PACKAGE_URL "$PACKAGE_URL"
2102 _ACEOF
2103
2104
2105 # Let the site file select an alternate cache file if it wants to.
2106 # Prefer an explicitly selected file to automatically selected ones.
2107 ac_site_file1=NONE
2108 ac_site_file2=NONE
2109 if test -n "$CONFIG_SITE"; then
2110   # We do not want a PATH search for config.site.
2111   case $CONFIG_SITE in #((
2112     -*)  ac_site_file1=./$CONFIG_SITE;;
2113     */*) ac_site_file1=$CONFIG_SITE;;
2114     *)   ac_site_file1=./$CONFIG_SITE;;
2115   esac
2116 elif test "x$prefix" != xNONE; then
2117   ac_site_file1=$prefix/share/config.site
2118   ac_site_file2=$prefix/etc/config.site
2119 else
2120   ac_site_file1=$ac_default_prefix/share/config.site
2121   ac_site_file2=$ac_default_prefix/etc/config.site
2122 fi
2123 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2124 do
2125   test "x$ac_site_file" = xNONE && continue
2126   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2127     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2128 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2129     sed 's/^/| /' "$ac_site_file" >&5
2130     . "$ac_site_file" \
2131       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2132 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2133 as_fn_error $? "failed to load site script $ac_site_file
2134 See \`config.log' for more details" "$LINENO" 5; }
2135   fi
2136 done
2137
2138 if test -r "$cache_file"; then
2139   # Some versions of bash will fail to source /dev/null (special files
2140   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2141   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2142     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2143 $as_echo "$as_me: loading cache $cache_file" >&6;}
2144     case $cache_file in
2145       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2146       *)                      . "./$cache_file";;
2147     esac
2148   fi
2149 else
2150   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2151 $as_echo "$as_me: creating cache $cache_file" >&6;}
2152   >$cache_file
2153 fi
2154
2155 # Check that the precious variables saved in the cache have kept the same
2156 # value.
2157 ac_cache_corrupted=false
2158 for ac_var in $ac_precious_vars; do
2159   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2160   eval ac_new_set=\$ac_env_${ac_var}_set
2161   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2162   eval ac_new_val=\$ac_env_${ac_var}_value
2163   case $ac_old_set,$ac_new_set in
2164     set,)
2165       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2166 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2167       ac_cache_corrupted=: ;;
2168     ,set)
2169       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2170 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2171       ac_cache_corrupted=: ;;
2172     ,);;
2173     *)
2174       if test "x$ac_old_val" != "x$ac_new_val"; then
2175         # differences in whitespace do not lead to failure.
2176         ac_old_val_w=`echo x $ac_old_val`
2177         ac_new_val_w=`echo x $ac_new_val`
2178         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2179           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2180 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2181           ac_cache_corrupted=:
2182         else
2183           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2184 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2185           eval $ac_var=\$ac_old_val
2186         fi
2187         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2188 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2189         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2190 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2191       fi;;
2192   esac
2193   # Pass precious variables to config.status.
2194   if test "$ac_new_set" = set; then
2195     case $ac_new_val in
2196     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2197     *) ac_arg=$ac_var=$ac_new_val ;;
2198     esac
2199     case " $ac_configure_args " in
2200       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2201       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2202     esac
2203   fi
2204 done
2205 if $ac_cache_corrupted; then
2206   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2207 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2208   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2209 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2210   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2211 fi
2212 ## -------------------- ##
2213 ## Main body of script. ##
2214 ## -------------------- ##
2215
2216 ac_ext=c
2217 ac_cpp='$CPP $CPPFLAGS'
2218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2221
2222
2223
2224 ac_config_headers="$ac_config_headers config.h"
2225
2226
2227 am__api_version='1.11'
2228
2229 ac_aux_dir=
2230 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2231   if test -f "$ac_dir/install-sh"; then
2232     ac_aux_dir=$ac_dir
2233     ac_install_sh="$ac_aux_dir/install-sh -c"
2234     break
2235   elif test -f "$ac_dir/install.sh"; then
2236     ac_aux_dir=$ac_dir
2237     ac_install_sh="$ac_aux_dir/install.sh -c"
2238     break
2239   elif test -f "$ac_dir/shtool"; then
2240     ac_aux_dir=$ac_dir
2241     ac_install_sh="$ac_aux_dir/shtool install -c"
2242     break
2243   fi
2244 done
2245 if test -z "$ac_aux_dir"; then
2246   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2247 fi
2248
2249 # These three variables are undocumented and unsupported,
2250 # and are intended to be withdrawn in a future Autoconf release.
2251 # They can cause serious problems if a builder's source tree is in a directory
2252 # whose full name contains unusual characters.
2253 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2254 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2255 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2256
2257
2258 # Find a good install program.  We prefer a C program (faster),
2259 # so one script is as good as another.  But avoid the broken or
2260 # incompatible versions:
2261 # SysV /etc/install, /usr/sbin/install
2262 # SunOS /usr/etc/install
2263 # IRIX /sbin/install
2264 # AIX /bin/install
2265 # AmigaOS /C/install, which installs bootblocks on floppy discs
2266 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2267 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2268 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2269 # OS/2's system install, which has a completely different semantic
2270 # ./install, which can be erroneously created by make from ./install.sh.
2271 # Reject install programs that cannot install multiple files.
2272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2273 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2274 if test -z "$INSTALL"; then
2275 if ${ac_cv_path_install+:} false; then :
2276   $as_echo_n "(cached) " >&6
2277 else
2278   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2279 for as_dir in $PATH
2280 do
2281   IFS=$as_save_IFS
2282   test -z "$as_dir" && as_dir=.
2283     # Account for people who put trailing slashes in PATH elements.
2284 case $as_dir/ in #((
2285   ./ | .// | /[cC]/* | \
2286   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2287   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2288   /usr/ucb/* ) ;;
2289   *)
2290     # OSF1 and SCO ODT 3.0 have their own names for install.
2291     # Don't use installbsd from OSF since it installs stuff as root
2292     # by default.
2293     for ac_prog in ginstall scoinst install; do
2294       for ac_exec_ext in '' $ac_executable_extensions; do
2295         if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2296           if test $ac_prog = install &&
2297             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2298             # AIX install.  It has an incompatible calling convention.
2299             :
2300           elif test $ac_prog = install &&
2301             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2302             # program-specific install script used by HP pwplus--don't use.
2303             :
2304           else
2305             rm -rf conftest.one conftest.two conftest.dir
2306             echo one > conftest.one
2307             echo two > conftest.two
2308             mkdir conftest.dir
2309             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2310               test -s conftest.one && test -s conftest.two &&
2311               test -s conftest.dir/conftest.one &&
2312               test -s conftest.dir/conftest.two
2313             then
2314               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2315               break 3
2316             fi
2317           fi
2318         fi
2319       done
2320     done
2321     ;;
2322 esac
2323
2324   done
2325 IFS=$as_save_IFS
2326
2327 rm -rf conftest.one conftest.two conftest.dir
2328
2329 fi
2330   if test "${ac_cv_path_install+set}" = set; then
2331     INSTALL=$ac_cv_path_install
2332   else
2333     # As a last resort, use the slow shell script.  Don't cache a
2334     # value for INSTALL within a source directory, because that will
2335     # break other packages using the cache if that directory is
2336     # removed, or if the value is a relative name.
2337     INSTALL=$ac_install_sh
2338   fi
2339 fi
2340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2341 $as_echo "$INSTALL" >&6; }
2342
2343 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2344 # It thinks the first close brace ends the variable substitution.
2345 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2346
2347 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2348
2349 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2350
2351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2352 $as_echo_n "checking whether build environment is sane... " >&6; }
2353 # Just in case
2354 sleep 1
2355 echo timestamp > conftest.file
2356 # Reject unsafe characters in $srcdir or the absolute working directory
2357 # name.  Accept space and tab only in the latter.
2358 am_lf='
2359 '
2360 case `pwd` in
2361   *[\\\"\#\$\&\'\`$am_lf]*)
2362     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2363 esac
2364 case $srcdir in
2365   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2366     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2367 esac
2368
2369 # Do `set' in a subshell so we don't clobber the current shell's
2370 # arguments.  Must try -L first in case configure is actually a
2371 # symlink; some systems play weird games with the mod time of symlinks
2372 # (eg FreeBSD returns the mod time of the symlink's containing
2373 # directory).
2374 if (
2375    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2376    if test "$*" = "X"; then
2377       # -L didn't work.
2378       set X `ls -t "$srcdir/configure" conftest.file`
2379    fi
2380    rm -f conftest.file
2381    if test "$*" != "X $srcdir/configure conftest.file" \
2382       && test "$*" != "X conftest.file $srcdir/configure"; then
2383
2384       # If neither matched, then we have a broken ls.  This can happen
2385       # if, for instance, CONFIG_SHELL is bash and it inherits a
2386       # broken ls alias from the environment.  This has actually
2387       # happened.  Such a system could not be considered "sane".
2388       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2389 alias in your environment" "$LINENO" 5
2390    fi
2391
2392    test "$2" = conftest.file
2393    )
2394 then
2395    # Ok.
2396    :
2397 else
2398    as_fn_error $? "newly created file is older than distributed files!
2399 Check your system clock" "$LINENO" 5
2400 fi
2401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2402 $as_echo "yes" >&6; }
2403 test "$program_prefix" != NONE &&
2404   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2405 # Use a double $ so make ignores it.
2406 test "$program_suffix" != NONE &&
2407   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2408 # Double any \ or $.
2409 # By default was `s,x,x', remove it if useless.
2410 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2411 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2412
2413 # expand $ac_aux_dir to an absolute path
2414 am_aux_dir=`cd $ac_aux_dir && pwd`
2415
2416 if test x"${MISSING+set}" != xset; then
2417   case $am_aux_dir in
2418   *\ * | *\     *)
2419     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2420   *)
2421     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2422   esac
2423 fi
2424 # Use eval to expand $SHELL
2425 if eval "$MISSING --run true"; then
2426   am_missing_run="$MISSING --run "
2427 else
2428   am_missing_run=
2429   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2430 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2431 fi
2432
2433 if test x"${install_sh}" != xset; then
2434   case $am_aux_dir in
2435   *\ * | *\     *)
2436     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2437   *)
2438     install_sh="\${SHELL} $am_aux_dir/install-sh"
2439   esac
2440 fi
2441
2442 # Installed binaries are usually stripped using `strip' when the user
2443 # run `make install-strip'.  However `strip' might not be the right
2444 # tool to use in cross-compilation environments, therefore Automake
2445 # will honor the `STRIP' environment variable to overrule this program.
2446 if test "$cross_compiling" != no; then
2447   if test -n "$ac_tool_prefix"; then
2448   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2449 set dummy ${ac_tool_prefix}strip; ac_word=$2
2450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2451 $as_echo_n "checking for $ac_word... " >&6; }
2452 if ${ac_cv_prog_STRIP+:} false; then :
2453   $as_echo_n "(cached) " >&6
2454 else
2455   if test -n "$STRIP"; then
2456   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2457 else
2458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2459 for as_dir in $PATH
2460 do
2461   IFS=$as_save_IFS
2462   test -z "$as_dir" && as_dir=.
2463     for ac_exec_ext in '' $ac_executable_extensions; do
2464   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2465     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2466     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2467     break 2
2468   fi
2469 done
2470   done
2471 IFS=$as_save_IFS
2472
2473 fi
2474 fi
2475 STRIP=$ac_cv_prog_STRIP
2476 if test -n "$STRIP"; then
2477   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2478 $as_echo "$STRIP" >&6; }
2479 else
2480   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2481 $as_echo "no" >&6; }
2482 fi
2483
2484
2485 fi
2486 if test -z "$ac_cv_prog_STRIP"; then
2487   ac_ct_STRIP=$STRIP
2488   # Extract the first word of "strip", so it can be a program name with args.
2489 set dummy strip; ac_word=$2
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2491 $as_echo_n "checking for $ac_word... " >&6; }
2492 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2493   $as_echo_n "(cached) " >&6
2494 else
2495   if test -n "$ac_ct_STRIP"; then
2496   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2497 else
2498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2499 for as_dir in $PATH
2500 do
2501   IFS=$as_save_IFS
2502   test -z "$as_dir" && as_dir=.
2503     for ac_exec_ext in '' $ac_executable_extensions; do
2504   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2505     ac_cv_prog_ac_ct_STRIP="strip"
2506     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2507     break 2
2508   fi
2509 done
2510   done
2511 IFS=$as_save_IFS
2512
2513 fi
2514 fi
2515 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2516 if test -n "$ac_ct_STRIP"; then
2517   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2518 $as_echo "$ac_ct_STRIP" >&6; }
2519 else
2520   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2521 $as_echo "no" >&6; }
2522 fi
2523
2524   if test "x$ac_ct_STRIP" = x; then
2525     STRIP=":"
2526   else
2527     case $cross_compiling:$ac_tool_warned in
2528 yes:)
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2530 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2531 ac_tool_warned=yes ;;
2532 esac
2533     STRIP=$ac_ct_STRIP
2534   fi
2535 else
2536   STRIP="$ac_cv_prog_STRIP"
2537 fi
2538
2539 fi
2540 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2541
2542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2543 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2544 if test -z "$MKDIR_P"; then
2545   if ${ac_cv_path_mkdir+:} false; then :
2546   $as_echo_n "(cached) " >&6
2547 else
2548   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2549 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2550 do
2551   IFS=$as_save_IFS
2552   test -z "$as_dir" && as_dir=.
2553     for ac_prog in mkdir gmkdir; do
2554          for ac_exec_ext in '' $ac_executable_extensions; do
2555            as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2556            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2557              'mkdir (GNU coreutils) '* | \
2558              'mkdir (coreutils) '* | \
2559              'mkdir (fileutils) '4.1*)
2560                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2561                break 3;;
2562            esac
2563          done
2564        done
2565   done
2566 IFS=$as_save_IFS
2567
2568 fi
2569
2570   test -d ./--version && rmdir ./--version
2571   if test "${ac_cv_path_mkdir+set}" = set; then
2572     MKDIR_P="$ac_cv_path_mkdir -p"
2573   else
2574     # As a last resort, use the slow shell script.  Don't cache a
2575     # value for MKDIR_P within a source directory, because that will
2576     # break other packages using the cache if that directory is
2577     # removed, or if the value is a relative name.
2578     MKDIR_P="$ac_install_sh -d"
2579   fi
2580 fi
2581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2582 $as_echo "$MKDIR_P" >&6; }
2583
2584 mkdir_p="$MKDIR_P"
2585 case $mkdir_p in
2586   [\\/$]* | ?:[\\/]*) ;;
2587   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2588 esac
2589
2590 for ac_prog in gawk mawk nawk awk
2591 do
2592   # Extract the first word of "$ac_prog", so it can be a program name with args.
2593 set dummy $ac_prog; ac_word=$2
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2595 $as_echo_n "checking for $ac_word... " >&6; }
2596 if ${ac_cv_prog_AWK+:} false; then :
2597   $as_echo_n "(cached) " >&6
2598 else
2599   if test -n "$AWK"; then
2600   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2601 else
2602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2603 for as_dir in $PATH
2604 do
2605   IFS=$as_save_IFS
2606   test -z "$as_dir" && as_dir=.
2607     for ac_exec_ext in '' $ac_executable_extensions; do
2608   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2609     ac_cv_prog_AWK="$ac_prog"
2610     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2611     break 2
2612   fi
2613 done
2614   done
2615 IFS=$as_save_IFS
2616
2617 fi
2618 fi
2619 AWK=$ac_cv_prog_AWK
2620 if test -n "$AWK"; then
2621   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2622 $as_echo "$AWK" >&6; }
2623 else
2624   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2625 $as_echo "no" >&6; }
2626 fi
2627
2628
2629   test -n "$AWK" && break
2630 done
2631
2632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2633 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2634 set x ${MAKE-make}
2635 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2636 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2637   $as_echo_n "(cached) " >&6
2638 else
2639   cat >conftest.make <<\_ACEOF
2640 SHELL = /bin/sh
2641 all:
2642         @echo '@@@%%%=$(MAKE)=@@@%%%'
2643 _ACEOF
2644 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2645 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2646   *@@@%%%=?*=@@@%%%*)
2647     eval ac_cv_prog_make_${ac_make}_set=yes;;
2648   *)
2649     eval ac_cv_prog_make_${ac_make}_set=no;;
2650 esac
2651 rm -f conftest.make
2652 fi
2653 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2654   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2655 $as_echo "yes" >&6; }
2656   SET_MAKE=
2657 else
2658   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2659 $as_echo "no" >&6; }
2660   SET_MAKE="MAKE=${MAKE-make}"
2661 fi
2662
2663 rm -rf .tst 2>/dev/null
2664 mkdir .tst 2>/dev/null
2665 if test -d .tst; then
2666   am__leading_dot=.
2667 else
2668   am__leading_dot=_
2669 fi
2670 rmdir .tst 2>/dev/null
2671
2672 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2673   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2674   # is not polluted with repeated "-I."
2675   am__isrc=' -I$(srcdir)'
2676   # test to see if srcdir already configured
2677   if test -f $srcdir/config.status; then
2678     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2679   fi
2680 fi
2681
2682 # test whether we have cygpath
2683 if test -z "$CYGPATH_W"; then
2684   if (cygpath --version) >/dev/null 2>/dev/null; then
2685     CYGPATH_W='cygpath -w'
2686   else
2687     CYGPATH_W=echo
2688   fi
2689 fi
2690
2691
2692 # Define the identity of the package.
2693  PACKAGE='libgee'
2694  VERSION='0.10.0'
2695
2696
2697 cat >>confdefs.h <<_ACEOF
2698 #define PACKAGE "$PACKAGE"
2699 _ACEOF
2700
2701
2702 cat >>confdefs.h <<_ACEOF
2703 #define VERSION "$VERSION"
2704 _ACEOF
2705
2706 # Some tools Automake needs.
2707
2708 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2709
2710
2711 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2712
2713
2714 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2715
2716
2717 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2718
2719
2720 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2721
2722 # We need awk for the "check" target.  The system "awk" is bad on
2723 # some platforms.
2724 # Always define AMTAR for backward compatibility.  Yes, it's still used
2725 # in the wild :-(  We should find a proper way to deprecate it ...
2726 AMTAR='$${TAR-tar}'
2727
2728 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2729
2730
2731
2732
2733
2734 # Check whether --enable-silent-rules was given.
2735 if test "${enable_silent_rules+set}" = set; then :
2736   enableval=$enable_silent_rules;
2737 fi
2738
2739 case $enable_silent_rules in
2740 yes) AM_DEFAULT_VERBOSITY=0;;
2741 no)  AM_DEFAULT_VERBOSITY=1;;
2742 *)   AM_DEFAULT_VERBOSITY=0;;
2743 esac
2744 am_make=${MAKE-make}
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2746 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2747 if ${am_cv_make_support_nested_variables+:} false; then :
2748   $as_echo_n "(cached) " >&6
2749 else
2750   if $as_echo 'TRUE=$(BAR$(V))
2751 BAR0=false
2752 BAR1=true
2753 V=1
2754 am__doit:
2755         @$(TRUE)
2756 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2757   am_cv_make_support_nested_variables=yes
2758 else
2759   am_cv_make_support_nested_variables=no
2760 fi
2761 fi
2762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2763 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2764 if test $am_cv_make_support_nested_variables = yes; then
2765     AM_V='$(V)'
2766   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2767 else
2768   AM_V=$AM_DEFAULT_VERBOSITY
2769   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2770 fi
2771 AM_BACKSLASH='\'
2772
2773
2774 # Checks for programs.
2775 ac_ext=c
2776 ac_cpp='$CPP $CPPFLAGS'
2777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2780 if test -n "$ac_tool_prefix"; then
2781   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2782 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2784 $as_echo_n "checking for $ac_word... " >&6; }
2785 if ${ac_cv_prog_CC+:} false; then :
2786   $as_echo_n "(cached) " >&6
2787 else
2788   if test -n "$CC"; then
2789   ac_cv_prog_CC="$CC" # Let the user override the test.
2790 else
2791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2792 for as_dir in $PATH
2793 do
2794   IFS=$as_save_IFS
2795   test -z "$as_dir" && as_dir=.
2796     for ac_exec_ext in '' $ac_executable_extensions; do
2797   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2798     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2799     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2800     break 2
2801   fi
2802 done
2803   done
2804 IFS=$as_save_IFS
2805
2806 fi
2807 fi
2808 CC=$ac_cv_prog_CC
2809 if test -n "$CC"; then
2810   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2811 $as_echo "$CC" >&6; }
2812 else
2813   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2814 $as_echo "no" >&6; }
2815 fi
2816
2817
2818 fi
2819 if test -z "$ac_cv_prog_CC"; then
2820   ac_ct_CC=$CC
2821   # Extract the first word of "gcc", so it can be a program name with args.
2822 set dummy gcc; ac_word=$2
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2824 $as_echo_n "checking for $ac_word... " >&6; }
2825 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2826   $as_echo_n "(cached) " >&6
2827 else
2828   if test -n "$ac_ct_CC"; then
2829   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2830 else
2831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2832 for as_dir in $PATH
2833 do
2834   IFS=$as_save_IFS
2835   test -z "$as_dir" && as_dir=.
2836     for ac_exec_ext in '' $ac_executable_extensions; do
2837   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2838     ac_cv_prog_ac_ct_CC="gcc"
2839     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2840     break 2
2841   fi
2842 done
2843   done
2844 IFS=$as_save_IFS
2845
2846 fi
2847 fi
2848 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2849 if test -n "$ac_ct_CC"; then
2850   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2851 $as_echo "$ac_ct_CC" >&6; }
2852 else
2853   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2854 $as_echo "no" >&6; }
2855 fi
2856
2857   if test "x$ac_ct_CC" = x; then
2858     CC=""
2859   else
2860     case $cross_compiling:$ac_tool_warned in
2861 yes:)
2862 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2863 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2864 ac_tool_warned=yes ;;
2865 esac
2866     CC=$ac_ct_CC
2867   fi
2868 else
2869   CC="$ac_cv_prog_CC"
2870 fi
2871
2872 if test -z "$CC"; then
2873           if test -n "$ac_tool_prefix"; then
2874     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2875 set dummy ${ac_tool_prefix}cc; ac_word=$2
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2877 $as_echo_n "checking for $ac_word... " >&6; }
2878 if ${ac_cv_prog_CC+:} false; then :
2879   $as_echo_n "(cached) " >&6
2880 else
2881   if test -n "$CC"; then
2882   ac_cv_prog_CC="$CC" # Let the user override the test.
2883 else
2884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2885 for as_dir in $PATH
2886 do
2887   IFS=$as_save_IFS
2888   test -z "$as_dir" && as_dir=.
2889     for ac_exec_ext in '' $ac_executable_extensions; do
2890   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2891     ac_cv_prog_CC="${ac_tool_prefix}cc"
2892     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2893     break 2
2894   fi
2895 done
2896   done
2897 IFS=$as_save_IFS
2898
2899 fi
2900 fi
2901 CC=$ac_cv_prog_CC
2902 if test -n "$CC"; then
2903   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2904 $as_echo "$CC" >&6; }
2905 else
2906   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2907 $as_echo "no" >&6; }
2908 fi
2909
2910
2911   fi
2912 fi
2913 if test -z "$CC"; then
2914   # Extract the first word of "cc", so it can be a program name with args.
2915 set dummy cc; ac_word=$2
2916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2917 $as_echo_n "checking for $ac_word... " >&6; }
2918 if ${ac_cv_prog_CC+:} false; then :
2919   $as_echo_n "(cached) " >&6
2920 else
2921   if test -n "$CC"; then
2922   ac_cv_prog_CC="$CC" # Let the user override the test.
2923 else
2924   ac_prog_rejected=no
2925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2926 for as_dir in $PATH
2927 do
2928   IFS=$as_save_IFS
2929   test -z "$as_dir" && as_dir=.
2930     for ac_exec_ext in '' $ac_executable_extensions; do
2931   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2932     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2933        ac_prog_rejected=yes
2934        continue
2935      fi
2936     ac_cv_prog_CC="cc"
2937     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2938     break 2
2939   fi
2940 done
2941   done
2942 IFS=$as_save_IFS
2943
2944 if test $ac_prog_rejected = yes; then
2945   # We found a bogon in the path, so make sure we never use it.
2946   set dummy $ac_cv_prog_CC
2947   shift
2948   if test $# != 0; then
2949     # We chose a different compiler from the bogus one.
2950     # However, it has the same basename, so the bogon will be chosen
2951     # first if we set CC to just the basename; use the full file name.
2952     shift
2953     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2954   fi
2955 fi
2956 fi
2957 fi
2958 CC=$ac_cv_prog_CC
2959 if test -n "$CC"; then
2960   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2961 $as_echo "$CC" >&6; }
2962 else
2963   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2964 $as_echo "no" >&6; }
2965 fi
2966
2967
2968 fi
2969 if test -z "$CC"; then
2970   if test -n "$ac_tool_prefix"; then
2971   for ac_prog in cl.exe
2972   do
2973     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2974 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2976 $as_echo_n "checking for $ac_word... " >&6; }
2977 if ${ac_cv_prog_CC+:} false; then :
2978   $as_echo_n "(cached) " >&6
2979 else
2980   if test -n "$CC"; then
2981   ac_cv_prog_CC="$CC" # Let the user override the test.
2982 else
2983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2984 for as_dir in $PATH
2985 do
2986   IFS=$as_save_IFS
2987   test -z "$as_dir" && as_dir=.
2988     for ac_exec_ext in '' $ac_executable_extensions; do
2989   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2990     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2991     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2992     break 2
2993   fi
2994 done
2995   done
2996 IFS=$as_save_IFS
2997
2998 fi
2999 fi
3000 CC=$ac_cv_prog_CC
3001 if test -n "$CC"; then
3002   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3003 $as_echo "$CC" >&6; }
3004 else
3005   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3006 $as_echo "no" >&6; }
3007 fi
3008
3009
3010     test -n "$CC" && break
3011   done
3012 fi
3013 if test -z "$CC"; then
3014   ac_ct_CC=$CC
3015   for ac_prog in cl.exe
3016 do
3017   # Extract the first word of "$ac_prog", so it can be a program name with args.
3018 set dummy $ac_prog; ac_word=$2
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3020 $as_echo_n "checking for $ac_word... " >&6; }
3021 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3022   $as_echo_n "(cached) " >&6
3023 else
3024   if test -n "$ac_ct_CC"; then
3025   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3026 else
3027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3028 for as_dir in $PATH
3029 do
3030   IFS=$as_save_IFS
3031   test -z "$as_dir" && as_dir=.
3032     for ac_exec_ext in '' $ac_executable_extensions; do
3033   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3034     ac_cv_prog_ac_ct_CC="$ac_prog"
3035     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3036     break 2
3037   fi
3038 done
3039   done
3040 IFS=$as_save_IFS
3041
3042 fi
3043 fi
3044 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3045 if test -n "$ac_ct_CC"; then
3046   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3047 $as_echo "$ac_ct_CC" >&6; }
3048 else
3049   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3050 $as_echo "no" >&6; }
3051 fi
3052
3053
3054   test -n "$ac_ct_CC" && break
3055 done
3056
3057   if test "x$ac_ct_CC" = x; then
3058     CC=""
3059   else
3060     case $cross_compiling:$ac_tool_warned in
3061 yes:)
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3063 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3064 ac_tool_warned=yes ;;
3065 esac
3066     CC=$ac_ct_CC
3067   fi
3068 fi
3069
3070 fi
3071
3072
3073 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3074 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3075 as_fn_error $? "no acceptable C compiler found in \$PATH
3076 See \`config.log' for more details" "$LINENO" 5; }
3077
3078 # Provide some information about the compiler.
3079 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3080 set X $ac_compile
3081 ac_compiler=$2
3082 for ac_option in --version -v -V -qversion; do
3083   { { ac_try="$ac_compiler $ac_option >&5"
3084 case "(($ac_try" in
3085   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3086   *) ac_try_echo=$ac_try;;
3087 esac
3088 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3089 $as_echo "$ac_try_echo"; } >&5
3090   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3091   ac_status=$?
3092   if test -s conftest.err; then
3093     sed '10a\
3094 ... rest of stderr output deleted ...
3095          10q' conftest.err >conftest.er1
3096     cat conftest.er1 >&5
3097   fi
3098   rm -f conftest.er1 conftest.err
3099   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3100   test $ac_status = 0; }
3101 done
3102
3103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3104 /* end confdefs.h.  */
3105
3106 int
3107 main ()
3108 {
3109
3110   ;
3111   return 0;
3112 }
3113 _ACEOF
3114 ac_clean_files_save=$ac_clean_files
3115 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3116 # Try to create an executable without -o first, disregard a.out.
3117 # It will help us diagnose broken compilers, and finding out an intuition
3118 # of exeext.
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3120 $as_echo_n "checking whether the C compiler works... " >&6; }
3121 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3122
3123 # The possible output files:
3124 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3125
3126 ac_rmfiles=
3127 for ac_file in $ac_files
3128 do
3129   case $ac_file in
3130     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3131     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3132   esac
3133 done
3134 rm -f $ac_rmfiles
3135
3136 if { { ac_try="$ac_link_default"
3137 case "(($ac_try" in
3138   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3139   *) ac_try_echo=$ac_try;;
3140 esac
3141 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3142 $as_echo "$ac_try_echo"; } >&5
3143   (eval "$ac_link_default") 2>&5
3144   ac_status=$?
3145   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3146   test $ac_status = 0; }; then :
3147   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3148 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3149 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3150 # so that the user can short-circuit this test for compilers unknown to
3151 # Autoconf.
3152 for ac_file in $ac_files ''
3153 do
3154   test -f "$ac_file" || continue
3155   case $ac_file in
3156     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3157         ;;
3158     [ab].out )
3159         # We found the default executable, but exeext='' is most
3160         # certainly right.
3161         break;;
3162     *.* )
3163         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3164         then :; else
3165            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3166         fi
3167         # We set ac_cv_exeext here because the later test for it is not
3168         # safe: cross compilers may not add the suffix if given an `-o'
3169         # argument, so we may need to know it at that point already.
3170         # Even if this section looks crufty: it has the advantage of
3171         # actually working.
3172         break;;
3173     * )
3174         break;;
3175   esac
3176 done
3177 test "$ac_cv_exeext" = no && ac_cv_exeext=
3178
3179 else
3180   ac_file=''
3181 fi
3182 if test -z "$ac_file"; then :
3183   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3184 $as_echo "no" >&6; }
3185 $as_echo "$as_me: failed program was:" >&5
3186 sed 's/^/| /' conftest.$ac_ext >&5
3187
3188 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3189 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3190 as_fn_error 77 "C compiler cannot create executables
3191 See \`config.log' for more details" "$LINENO" 5; }
3192 else
3193   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3194 $as_echo "yes" >&6; }
3195 fi
3196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3197 $as_echo_n "checking for C compiler default output file name... " >&6; }
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3199 $as_echo "$ac_file" >&6; }
3200 ac_exeext=$ac_cv_exeext
3201
3202 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3203 ac_clean_files=$ac_clean_files_save
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3205 $as_echo_n "checking for suffix of executables... " >&6; }
3206 if { { ac_try="$ac_link"
3207 case "(($ac_try" in
3208   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3209   *) ac_try_echo=$ac_try;;
3210 esac
3211 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3212 $as_echo "$ac_try_echo"; } >&5
3213   (eval "$ac_link") 2>&5
3214   ac_status=$?
3215   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3216   test $ac_status = 0; }; then :
3217   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3218 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3219 # work properly (i.e., refer to `conftest.exe'), while it won't with
3220 # `rm'.
3221 for ac_file in conftest.exe conftest conftest.*; do
3222   test -f "$ac_file" || continue
3223   case $ac_file in
3224     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3225     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3226           break;;
3227     * ) break;;
3228   esac
3229 done
3230 else
3231   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3232 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3233 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3234 See \`config.log' for more details" "$LINENO" 5; }
3235 fi
3236 rm -f conftest conftest$ac_cv_exeext
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3238 $as_echo "$ac_cv_exeext" >&6; }
3239
3240 rm -f conftest.$ac_ext
3241 EXEEXT=$ac_cv_exeext
3242 ac_exeext=$EXEEXT
3243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3244 /* end confdefs.h.  */
3245 #include <stdio.h>
3246 int
3247 main ()
3248 {
3249 FILE *f = fopen ("conftest.out", "w");
3250  return ferror (f) || fclose (f) != 0;
3251
3252   ;
3253   return 0;
3254 }
3255 _ACEOF
3256 ac_clean_files="$ac_clean_files conftest.out"
3257 # Check that the compiler produces executables we can run.  If not, either
3258 # the compiler is broken, or we cross compile.
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3260 $as_echo_n "checking whether we are cross compiling... " >&6; }
3261 if test "$cross_compiling" != yes; then
3262   { { ac_try="$ac_link"
3263 case "(($ac_try" in
3264   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3265   *) ac_try_echo=$ac_try;;
3266 esac
3267 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3268 $as_echo "$ac_try_echo"; } >&5
3269   (eval "$ac_link") 2>&5
3270   ac_status=$?
3271   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3272   test $ac_status = 0; }
3273   if { ac_try='./conftest$ac_cv_exeext'
3274   { { case "(($ac_try" in
3275   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3276   *) ac_try_echo=$ac_try;;
3277 esac
3278 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3279 $as_echo "$ac_try_echo"; } >&5
3280   (eval "$ac_try") 2>&5
3281   ac_status=$?
3282   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3283   test $ac_status = 0; }; }; then
3284     cross_compiling=no
3285   else
3286     if test "$cross_compiling" = maybe; then
3287         cross_compiling=yes
3288     else
3289         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3290 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3291 as_fn_error $? "cannot run C compiled programs.
3292 If you meant to cross compile, use \`--host'.
3293 See \`config.log' for more details" "$LINENO" 5; }
3294     fi
3295   fi
3296 fi
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3298 $as_echo "$cross_compiling" >&6; }
3299
3300 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3301 ac_clean_files=$ac_clean_files_save
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3303 $as_echo_n "checking for suffix of object files... " >&6; }
3304 if ${ac_cv_objext+:} false; then :
3305   $as_echo_n "(cached) " >&6
3306 else
3307   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3308 /* end confdefs.h.  */
3309
3310 int
3311 main ()
3312 {
3313
3314   ;
3315   return 0;
3316 }
3317 _ACEOF
3318 rm -f conftest.o conftest.obj
3319 if { { ac_try="$ac_compile"
3320 case "(($ac_try" in
3321   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3322   *) ac_try_echo=$ac_try;;
3323 esac
3324 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3325 $as_echo "$ac_try_echo"; } >&5
3326   (eval "$ac_compile") 2>&5
3327   ac_status=$?
3328   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3329   test $ac_status = 0; }; then :
3330   for ac_file in conftest.o conftest.obj conftest.*; do
3331   test -f "$ac_file" || continue;
3332   case $ac_file in
3333     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3334     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3335        break;;
3336   esac
3337 done
3338 else
3339   $as_echo "$as_me: failed program was:" >&5
3340 sed 's/^/| /' conftest.$ac_ext >&5
3341
3342 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3343 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3344 as_fn_error $? "cannot compute suffix of object files: cannot compile
3345 See \`config.log' for more details" "$LINENO" 5; }
3346 fi
3347 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3348 fi
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3350 $as_echo "$ac_cv_objext" >&6; }
3351 OBJEXT=$ac_cv_objext
3352 ac_objext=$OBJEXT
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3354 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3355 if ${ac_cv_c_compiler_gnu+:} false; then :
3356   $as_echo_n "(cached) " >&6
3357 else
3358   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3359 /* end confdefs.h.  */
3360
3361 int
3362 main ()
3363 {
3364 #ifndef __GNUC__
3365        choke me
3366 #endif
3367
3368   ;
3369   return 0;
3370 }
3371 _ACEOF
3372 if ac_fn_c_try_compile "$LINENO"; then :
3373   ac_compiler_gnu=yes
3374 else
3375   ac_compiler_gnu=no
3376 fi
3377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3378 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3379
3380 fi
3381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3382 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3383 if test $ac_compiler_gnu = yes; then
3384   GCC=yes
3385 else
3386   GCC=
3387 fi
3388 ac_test_CFLAGS=${CFLAGS+set}
3389 ac_save_CFLAGS=$CFLAGS
3390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3391 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3392 if ${ac_cv_prog_cc_g+:} false; then :
3393   $as_echo_n "(cached) " >&6
3394 else
3395   ac_save_c_werror_flag=$ac_c_werror_flag
3396    ac_c_werror_flag=yes
3397    ac_cv_prog_cc_g=no
3398    CFLAGS="-g"
3399    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3400 /* end confdefs.h.  */
3401
3402 int
3403 main ()
3404 {
3405
3406   ;
3407   return 0;
3408 }
3409 _ACEOF
3410 if ac_fn_c_try_compile "$LINENO"; then :
3411   ac_cv_prog_cc_g=yes
3412 else
3413   CFLAGS=""
3414       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3415 /* end confdefs.h.  */
3416
3417 int
3418 main ()
3419 {
3420
3421   ;
3422   return 0;
3423 }
3424 _ACEOF
3425 if ac_fn_c_try_compile "$LINENO"; then :
3426
3427 else
3428   ac_c_werror_flag=$ac_save_c_werror_flag
3429          CFLAGS="-g"
3430          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3431 /* end confdefs.h.  */
3432
3433 int
3434 main ()
3435 {
3436
3437   ;
3438   return 0;
3439 }
3440 _ACEOF
3441 if ac_fn_c_try_compile "$LINENO"; then :
3442   ac_cv_prog_cc_g=yes
3443 fi
3444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3445 fi
3446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3447 fi
3448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3449    ac_c_werror_flag=$ac_save_c_werror_flag
3450 fi
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3452 $as_echo "$ac_cv_prog_cc_g" >&6; }
3453 if test "$ac_test_CFLAGS" = set; then
3454   CFLAGS=$ac_save_CFLAGS
3455 elif test $ac_cv_prog_cc_g = yes; then
3456   if test "$GCC" = yes; then
3457     CFLAGS="-g -O2"
3458   else
3459     CFLAGS="-g"
3460   fi
3461 else
3462   if test "$GCC" = yes; then
3463     CFLAGS="-O2"
3464   else
3465     CFLAGS=
3466   fi
3467 fi
3468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3469 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3470 if ${ac_cv_prog_cc_c89+:} false; then :
3471   $as_echo_n "(cached) " >&6
3472 else
3473   ac_cv_prog_cc_c89=no
3474 ac_save_CC=$CC
3475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3476 /* end confdefs.h.  */
3477 #include <stdarg.h>
3478 #include <stdio.h>
3479 struct stat;
3480 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3481 struct buf { int x; };
3482 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3483 static char *e (p, i)
3484      char **p;
3485      int i;
3486 {
3487   return p[i];
3488 }
3489 static char *f (char * (*g) (char **, int), char **p, ...)
3490 {
3491   char *s;
3492   va_list v;
3493   va_start (v,p);
3494   s = g (p, va_arg (v,int));
3495   va_end (v);
3496   return s;
3497 }
3498
3499 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3500    function prototypes and stuff, but not '\xHH' hex character constants.
3501    These don't provoke an error unfortunately, instead are silently treated
3502    as 'x'.  The following induces an error, until -std is added to get
3503    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3504    array size at least.  It's necessary to write '\x00'==0 to get something
3505    that's true only with -std.  */
3506 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3507
3508 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3509    inside strings and character constants.  */
3510 #define FOO(x) 'x'
3511 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3512
3513 int test (int i, double x);
3514 struct s1 {int (*f) (int a);};
3515 struct s2 {int (*f) (double a);};
3516 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3517 int argc;
3518 char **argv;
3519 int
3520 main ()
3521 {
3522 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3523   ;
3524   return 0;
3525 }
3526 _ACEOF
3527 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3528         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3529 do
3530   CC="$ac_save_CC $ac_arg"
3531   if ac_fn_c_try_compile "$LINENO"; then :
3532   ac_cv_prog_cc_c89=$ac_arg
3533 fi
3534 rm -f core conftest.err conftest.$ac_objext
3535   test "x$ac_cv_prog_cc_c89" != "xno" && break
3536 done
3537 rm -f conftest.$ac_ext
3538 CC=$ac_save_CC
3539
3540 fi
3541 # AC_CACHE_VAL
3542 case "x$ac_cv_prog_cc_c89" in
3543   x)
3544     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3545 $as_echo "none needed" >&6; } ;;
3546   xno)
3547     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3548 $as_echo "unsupported" >&6; } ;;
3549   *)
3550     CC="$CC $ac_cv_prog_cc_c89"
3551     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3552 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3553 esac
3554 if test "x$ac_cv_prog_cc_c89" != xno; then :
3555
3556 fi
3557
3558 ac_ext=c
3559 ac_cpp='$CPP $CPPFLAGS'
3560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3563 DEPDIR="${am__leading_dot}deps"
3564
3565 ac_config_commands="$ac_config_commands depfiles"
3566
3567
3568 am_make=${MAKE-make}
3569 cat > confinc << 'END'
3570 am__doit:
3571         @echo this is the am__doit target
3572 .PHONY: am__doit
3573 END
3574 # If we don't find an include directive, just comment out the code.
3575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3576 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3577 am__include="#"
3578 am__quote=
3579 _am_result=none
3580 # First try GNU make style include.
3581 echo "include confinc" > confmf
3582 # Ignore all kinds of additional output from `make'.
3583 case `$am_make -s -f confmf 2> /dev/null` in #(
3584 *the\ am__doit\ target*)
3585   am__include=include
3586   am__quote=
3587   _am_result=GNU
3588   ;;
3589 esac
3590 # Now try BSD make style include.
3591 if test "$am__include" = "#"; then
3592    echo '.include "confinc"' > confmf
3593    case `$am_make -s -f confmf 2> /dev/null` in #(
3594    *the\ am__doit\ target*)
3595      am__include=.include
3596      am__quote="\""
3597      _am_result=BSD
3598      ;;
3599    esac
3600 fi
3601
3602
3603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3604 $as_echo "$_am_result" >&6; }
3605 rm -f confinc confmf
3606
3607 # Check whether --enable-dependency-tracking was given.
3608 if test "${enable_dependency_tracking+set}" = set; then :
3609   enableval=$enable_dependency_tracking;
3610 fi
3611
3612 if test "x$enable_dependency_tracking" != xno; then
3613   am_depcomp="$ac_aux_dir/depcomp"
3614   AMDEPBACKSLASH='\'
3615   am__nodep='_no'
3616 fi
3617  if test "x$enable_dependency_tracking" != xno; then
3618   AMDEP_TRUE=
3619   AMDEP_FALSE='#'
3620 else
3621   AMDEP_TRUE='#'
3622   AMDEP_FALSE=
3623 fi
3624
3625
3626
3627 depcc="$CC"   am_compiler_list=
3628
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3630 $as_echo_n "checking dependency style of $depcc... " >&6; }
3631 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3632   $as_echo_n "(cached) " >&6
3633 else
3634   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3635   # We make a subdir and do the tests there.  Otherwise we can end up
3636   # making bogus files that we don't know about and never remove.  For
3637   # instance it was reported that on HP-UX the gcc test will end up
3638   # making a dummy file named `D' -- because `-MD' means `put the output
3639   # in D'.
3640   rm -rf conftest.dir
3641   mkdir conftest.dir
3642   # Copy depcomp to subdir because otherwise we won't find it if we're
3643   # using a relative directory.
3644   cp "$am_depcomp" conftest.dir
3645   cd conftest.dir
3646   # We will build objects and dependencies in a subdirectory because
3647   # it helps to detect inapplicable dependency modes.  For instance
3648   # both Tru64's cc and ICC support -MD to output dependencies as a
3649   # side effect of compilation, but ICC will put the dependencies in
3650   # the current directory while Tru64 will put them in the object
3651   # directory.
3652   mkdir sub
3653
3654   am_cv_CC_dependencies_compiler_type=none
3655   if test "$am_compiler_list" = ""; then
3656      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3657   fi
3658   am__universal=false
3659   case " $depcc " in #(
3660      *\ -arch\ *\ -arch\ *) am__universal=true ;;
3661      esac
3662
3663   for depmode in $am_compiler_list; do
3664     # Setup a source with many dependencies, because some compilers
3665     # like to wrap large dependency lists on column 80 (with \), and
3666     # we should not choose a depcomp mode which is confused by this.
3667     #
3668     # We need to recreate these files for each test, as the compiler may
3669     # overwrite some of them when testing with obscure command lines.
3670     # This happens at least with the AIX C compiler.
3671     : > sub/conftest.c
3672     for i in 1 2 3 4 5 6; do
3673       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3674       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3675       # Solaris 8's {/usr,}/bin/sh.
3676       touch sub/conftst$i.h
3677     done
3678     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3679
3680     # We check with `-c' and `-o' for the sake of the "dashmstdout"
3681     # mode.  It turns out that the SunPro C++ compiler does not properly
3682     # handle `-M -o', and we need to detect this.  Also, some Intel
3683     # versions had trouble with output in subdirs
3684     am__obj=sub/conftest.${OBJEXT-o}
3685     am__minus_obj="-o $am__obj"
3686     case $depmode in
3687     gcc)
3688       # This depmode causes a compiler race in universal mode.
3689       test "$am__universal" = false || continue
3690       ;;
3691     nosideeffect)
3692       # after this tag, mechanisms are not by side-effect, so they'll
3693       # only be used when explicitly requested
3694       if test "x$enable_dependency_tracking" = xyes; then
3695         continue
3696       else
3697         break
3698       fi
3699       ;;
3700     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3701       # This compiler won't grok `-c -o', but also, the minuso test has
3702       # not run yet.  These depmodes are late enough in the game, and
3703       # so weak that their functioning should not be impacted.
3704       am__obj=conftest.${OBJEXT-o}
3705       am__minus_obj=
3706       ;;
3707     none) break ;;
3708     esac
3709     if depmode=$depmode \
3710        source=sub/conftest.c object=$am__obj \
3711        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3712        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3713          >/dev/null 2>conftest.err &&
3714        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3715        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3716        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3717        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3718       # icc doesn't choke on unknown options, it will just issue warnings
3719       # or remarks (even with -Werror).  So we grep stderr for any message
3720       # that says an option was ignored or not supported.
3721       # When given -MP, icc 7.0 and 7.1 complain thusly:
3722       #   icc: Command line warning: ignoring option '-M'; no argument required
3723       # The diagnosis changed in icc 8.0:
3724       #   icc: Command line remark: option '-MP' not supported
3725       if (grep 'ignoring option' conftest.err ||
3726           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3727         am_cv_CC_dependencies_compiler_type=$depmode
3728         break
3729       fi
3730     fi
3731   done
3732
3733   cd ..
3734   rm -rf conftest.dir
3735 else
3736   am_cv_CC_dependencies_compiler_type=none
3737 fi
3738
3739 fi
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3741 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3742 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3743
3744  if
3745   test "x$enable_dependency_tracking" != xno \
3746   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3747   am__fastdepCC_TRUE=
3748   am__fastdepCC_FALSE='#'
3749 else
3750   am__fastdepCC_TRUE='#'
3751   am__fastdepCC_FALSE=
3752 fi
3753
3754
3755 if test "x$CC" != xcc; then
3756   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
3757 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
3758 else
3759   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
3760 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
3761 fi
3762 set dummy $CC; ac_cc=`$as_echo "$2" |
3763                       sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3764 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
3765   $as_echo_n "(cached) " >&6
3766 else
3767   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3768 /* end confdefs.h.  */
3769
3770 int
3771 main ()
3772 {
3773
3774   ;
3775   return 0;
3776 }
3777 _ACEOF
3778 # Make sure it works both with $CC and with simple cc.
3779 # We do the test twice because some compilers refuse to overwrite an
3780 # existing .o file with -o, though they will create one.
3781 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3782 rm -f conftest2.*
3783 if { { case "(($ac_try" in
3784   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3785   *) ac_try_echo=$ac_try;;
3786 esac
3787 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3788 $as_echo "$ac_try_echo"; } >&5
3789   (eval "$ac_try") 2>&5
3790   ac_status=$?
3791   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3792   test $ac_status = 0; } &&
3793    test -f conftest2.$ac_objext && { { case "(($ac_try" in
3794   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3795   *) ac_try_echo=$ac_try;;
3796 esac
3797 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3798 $as_echo "$ac_try_echo"; } >&5
3799   (eval "$ac_try") 2>&5
3800   ac_status=$?
3801   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3802   test $ac_status = 0; };
3803 then
3804   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
3805   if test "x$CC" != xcc; then
3806     # Test first that cc exists at all.
3807     if { ac_try='cc -c conftest.$ac_ext >&5'
3808   { { case "(($ac_try" in
3809   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3810   *) ac_try_echo=$ac_try;;
3811 esac
3812 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3813 $as_echo "$ac_try_echo"; } >&5
3814   (eval "$ac_try") 2>&5
3815   ac_status=$?
3816   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3817   test $ac_status = 0; }; }; then
3818       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3819       rm -f conftest2.*
3820       if { { case "(($ac_try" in
3821   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3822   *) ac_try_echo=$ac_try;;
3823 esac
3824 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3825 $as_echo "$ac_try_echo"; } >&5
3826   (eval "$ac_try") 2>&5
3827   ac_status=$?
3828   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3829   test $ac_status = 0; } &&
3830          test -f conftest2.$ac_objext && { { case "(($ac_try" in
3831   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3832   *) ac_try_echo=$ac_try;;
3833 esac
3834 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3835 $as_echo "$ac_try_echo"; } >&5
3836   (eval "$ac_try") 2>&5
3837   ac_status=$?
3838   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3839   test $ac_status = 0; };
3840       then
3841         # cc works too.
3842         :
3843       else
3844         # cc exists but doesn't like -o.
3845         eval ac_cv_prog_cc_${ac_cc}_c_o=no
3846       fi
3847     fi
3848   fi
3849 else
3850   eval ac_cv_prog_cc_${ac_cc}_c_o=no
3851 fi
3852 rm -f core conftest*
3853
3854 fi
3855 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
3856   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3857 $as_echo "yes" >&6; }
3858 else
3859   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3860 $as_echo "no" >&6; }
3861
3862 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
3863
3864 fi
3865
3866 # FIXME: we rely on the cache variable name because
3867 # there is no other way.
3868 set dummy $CC
3869 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3870 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
3871 if test "$am_t" != yes; then
3872    # Losing compiler, so override with the script.
3873    # FIXME: It is wrong to rewrite CC.
3874    # But if we don't then we get into trouble of one sort or another.
3875    # A longer-term fix would be to have automake use am__CC in this case,
3876    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3877    CC="$am_aux_dir/compile $CC"
3878 fi
3879
3880
3881 # Check whether --enable-static was given.
3882 if test "${enable_static+set}" = set; then :
3883   enableval=$enable_static; p=${PACKAGE-default}
3884     case $enableval in
3885     yes) enable_static=yes ;;
3886     no) enable_static=no ;;
3887     *)
3888      enable_static=no
3889       # Look at the argument we got.  We use all the common list separators.
3890       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3891       for pkg in $enableval; do
3892         IFS="$lt_save_ifs"
3893         if test "X$pkg" = "X$p"; then
3894           enable_static=yes
3895         fi
3896       done
3897       IFS="$lt_save_ifs"
3898       ;;
3899     esac
3900 else
3901   enable_static=no
3902 fi
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912 case `pwd` in
3913   *\ * | *\     *)
3914     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3915 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3916 esac
3917
3918
3919
3920 macro_version='2.4.2'
3921 macro_revision='1.3337'
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935 ltmain="$ac_aux_dir/ltmain.sh"
3936
3937 # Make sure we can run config.sub.
3938 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3939   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3940
3941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3942 $as_echo_n "checking build system type... " >&6; }
3943 if ${ac_cv_build+:} false; then :
3944   $as_echo_n "(cached) " >&6
3945 else
3946   ac_build_alias=$build_alias
3947 test "x$ac_build_alias" = x &&
3948   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3949 test "x$ac_build_alias" = x &&
3950   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3951 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3952   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3953
3954 fi
3955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3956 $as_echo "$ac_cv_build" >&6; }
3957 case $ac_cv_build in
3958 *-*-*) ;;
3959 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3960 esac
3961 build=$ac_cv_build
3962 ac_save_IFS=$IFS; IFS='-'
3963 set x $ac_cv_build
3964 shift
3965 build_cpu=$1
3966 build_vendor=$2
3967 shift; shift
3968 # Remember, the first character of IFS is used to create $*,
3969 # except with old shells:
3970 build_os=$*
3971 IFS=$ac_save_IFS
3972 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3973
3974
3975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3976 $as_echo_n "checking host system type... " >&6; }
3977 if ${ac_cv_host+:} false; then :
3978   $as_echo_n "(cached) " >&6
3979 else
3980   if test "x$host_alias" = x; then
3981   ac_cv_host=$ac_cv_build
3982 else
3983   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3984     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3985 fi
3986
3987 fi
3988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3989 $as_echo "$ac_cv_host" >&6; }
3990 case $ac_cv_host in
3991 *-*-*) ;;
3992 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3993 esac
3994 host=$ac_cv_host
3995 ac_save_IFS=$IFS; IFS='-'
3996 set x $ac_cv_host
3997 shift
3998 host_cpu=$1
3999 host_vendor=$2
4000 shift; shift
4001 # Remember, the first character of IFS is used to create $*,
4002 # except with old shells:
4003 host_os=$*
4004 IFS=$ac_save_IFS
4005 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4006
4007
4008 # Backslashify metacharacters that are still active within
4009 # double-quoted strings.
4010 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4011
4012 # Same as above, but do not quote variable references.
4013 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4014
4015 # Sed substitution to delay expansion of an escaped shell variable in a
4016 # double_quote_subst'ed string.
4017 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4018
4019 # Sed substitution to delay expansion of an escaped single quote.
4020 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4021
4022 # Sed substitution to avoid accidental globbing in evaled expressions
4023 no_glob_subst='s/\*/\\\*/g'
4024
4025 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4026 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4027 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4028
4029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4030 $as_echo_n "checking how to print strings... " >&6; }
4031 # Test print first, because it will be a builtin if present.
4032 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4033    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4034   ECHO='print -r --'
4035 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4036   ECHO='printf %s\n'
4037 else
4038   # Use this function as a fallback that always works.
4039   func_fallback_echo ()
4040   {
4041     eval 'cat <<_LTECHO_EOF
4042 $1
4043 _LTECHO_EOF'
4044   }
4045   ECHO='func_fallback_echo'
4046 fi
4047
4048 # func_echo_all arg...
4049 # Invoke $ECHO with all args, space-separated.
4050 func_echo_all ()
4051 {
4052     $ECHO ""
4053 }
4054
4055 case "$ECHO" in
4056   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4057 $as_echo "printf" >&6; } ;;
4058   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4059 $as_echo "print -r" >&6; } ;;
4060   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4061 $as_echo "cat" >&6; } ;;
4062 esac
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4078 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4079 if ${ac_cv_path_SED+:} false; then :
4080   $as_echo_n "(cached) " >&6
4081 else
4082             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4083      for ac_i in 1 2 3 4 5 6 7; do
4084        ac_script="$ac_script$as_nl$ac_script"
4085      done
4086      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4087      { ac_script=; unset ac_script;}
4088      if test -z "$SED"; then
4089   ac_path_SED_found=false
4090   # Loop through the user's path and test for each of PROGNAME-LIST
4091   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4092 for as_dir in $PATH
4093 do
4094   IFS=$as_save_IFS
4095   test -z "$as_dir" && as_dir=.
4096     for ac_prog in sed gsed; do
4097     for ac_exec_ext in '' $ac_executable_extensions; do
4098       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4099       as_fn_executable_p "$ac_path_SED" || continue
4100 # Check for GNU ac_path_SED and select it if it is found.
4101   # Check for GNU $ac_path_SED
4102 case `"$ac_path_SED" --version 2>&1` in
4103 *GNU*)
4104   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4105 *)
4106   ac_count=0
4107   $as_echo_n 0123456789 >"conftest.in"
4108   while :
4109   do
4110     cat "conftest.in" "conftest.in" >"conftest.tmp"
4111     mv "conftest.tmp" "conftest.in"
4112     cp "conftest.in" "conftest.nl"
4113     $as_echo '' >> "conftest.nl"
4114     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4115     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4116     as_fn_arith $ac_count + 1 && ac_count=$as_val
4117     if test $ac_count -gt ${ac_path_SED_max-0}; then
4118       # Best one so far, save it but keep looking for a better one
4119       ac_cv_path_SED="$ac_path_SED"
4120       ac_path_SED_max=$ac_count
4121     fi
4122     # 10*(2^10) chars as input seems more than enough
4123     test $ac_count -gt 10 && break
4124   done
4125   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4126 esac
4127
4128       $ac_path_SED_found && break 3
4129     done
4130   done
4131   done
4132 IFS=$as_save_IFS
4133   if test -z "$ac_cv_path_SED"; then
4134     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4135   fi
4136 else
4137   ac_cv_path_SED=$SED
4138 fi
4139
4140 fi
4141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4142 $as_echo "$ac_cv_path_SED" >&6; }
4143  SED="$ac_cv_path_SED"
4144   rm -f conftest.sed
4145
4146 test -z "$SED" && SED=sed
4147 Xsed="$SED -e 1s/^X//"
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4160 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4161 if ${ac_cv_path_GREP+:} false; then :
4162   $as_echo_n "(cached) " >&6
4163 else
4164   if test -z "$GREP"; then
4165   ac_path_GREP_found=false
4166   # Loop through the user's path and test for each of PROGNAME-LIST
4167   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4168 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4169 do
4170   IFS=$as_save_IFS
4171   test -z "$as_dir" && as_dir=.
4172     for ac_prog in grep ggrep; do
4173     for ac_exec_ext in '' $ac_executable_extensions; do
4174       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4175       as_fn_executable_p "$ac_path_GREP" || continue
4176 # Check for GNU ac_path_GREP and select it if it is found.
4177   # Check for GNU $ac_path_GREP
4178 case `"$ac_path_GREP" --version 2>&1` in
4179 *GNU*)
4180   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4181 *)
4182   ac_count=0
4183   $as_echo_n 0123456789 >"conftest.in"
4184   while :
4185   do
4186     cat "conftest.in" "conftest.in" >"conftest.tmp"
4187     mv "conftest.tmp" "conftest.in"
4188     cp "conftest.in" "conftest.nl"
4189     $as_echo 'GREP' >> "conftest.nl"
4190     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4191     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4192     as_fn_arith $ac_count + 1 && ac_count=$as_val
4193     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4194       # Best one so far, save it but keep looking for a better one
4195       ac_cv_path_GREP="$ac_path_GREP"
4196       ac_path_GREP_max=$ac_count
4197     fi
4198     # 10*(2^10) chars as input seems more than enough
4199     test $ac_count -gt 10 && break
4200   done
4201   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4202 esac
4203
4204       $ac_path_GREP_found && break 3
4205     done
4206   done
4207   done
4208 IFS=$as_save_IFS
4209   if test -z "$ac_cv_path_GREP"; then
4210     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4211   fi
4212 else
4213   ac_cv_path_GREP=$GREP
4214 fi
4215
4216 fi
4217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4218 $as_echo "$ac_cv_path_GREP" >&6; }
4219  GREP="$ac_cv_path_GREP"
4220
4221
4222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4223 $as_echo_n "checking for egrep... " >&6; }
4224 if ${ac_cv_path_EGREP+:} false; then :
4225   $as_echo_n "(cached) " >&6
4226 else
4227   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4228    then ac_cv_path_EGREP="$GREP -E"
4229    else
4230      if test -z "$EGREP"; then
4231   ac_path_EGREP_found=false
4232   # Loop through the user's path and test for each of PROGNAME-LIST
4233   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4234 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4235 do
4236   IFS=$as_save_IFS
4237   test -z "$as_dir" && as_dir=.
4238     for ac_prog in egrep; do
4239     for ac_exec_ext in '' $ac_executable_extensions; do
4240       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4241       as_fn_executable_p "$ac_path_EGREP" || continue
4242 # Check for GNU ac_path_EGREP and select it if it is found.
4243   # Check for GNU $ac_path_EGREP
4244 case `"$ac_path_EGREP" --version 2>&1` in
4245 *GNU*)
4246   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4247 *)
4248   ac_count=0
4249   $as_echo_n 0123456789 >"conftest.in"
4250   while :
4251   do
4252     cat "conftest.in" "conftest.in" >"conftest.tmp"
4253     mv "conftest.tmp" "conftest.in"
4254     cp "conftest.in" "conftest.nl"
4255     $as_echo 'EGREP' >> "conftest.nl"
4256     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4257     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4258     as_fn_arith $ac_count + 1 && ac_count=$as_val
4259     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4260       # Best one so far, save it but keep looking for a better one
4261       ac_cv_path_EGREP="$ac_path_EGREP"
4262       ac_path_EGREP_max=$ac_count
4263     fi
4264     # 10*(2^10) chars as input seems more than enough
4265     test $ac_count -gt 10 && break
4266   done
4267   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4268 esac
4269
4270       $ac_path_EGREP_found && break 3
4271     done
4272   done
4273   done
4274 IFS=$as_save_IFS
4275   if test -z "$ac_cv_path_EGREP"; then
4276     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4277   fi
4278 else
4279   ac_cv_path_EGREP=$EGREP
4280 fi
4281
4282    fi
4283 fi
4284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4285 $as_echo "$ac_cv_path_EGREP" >&6; }
4286  EGREP="$ac_cv_path_EGREP"
4287
4288
4289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4290 $as_echo_n "checking for fgrep... " >&6; }
4291 if ${ac_cv_path_FGREP+:} false; then :
4292   $as_echo_n "(cached) " >&6
4293 else
4294   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4295    then ac_cv_path_FGREP="$GREP -F"
4296    else
4297      if test -z "$FGREP"; then
4298   ac_path_FGREP_found=false
4299   # Loop through the user's path and test for each of PROGNAME-LIST
4300   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4301 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4302 do
4303   IFS=$as_save_IFS
4304   test -z "$as_dir" && as_dir=.
4305     for ac_prog in fgrep; do
4306     for ac_exec_ext in '' $ac_executable_extensions; do
4307       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4308       as_fn_executable_p "$ac_path_FGREP" || continue
4309 # Check for GNU ac_path_FGREP and select it if it is found.
4310   # Check for GNU $ac_path_FGREP
4311 case `"$ac_path_FGREP" --version 2>&1` in
4312 *GNU*)
4313   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4314 *)
4315   ac_count=0
4316   $as_echo_n 0123456789 >"conftest.in"
4317   while :
4318   do
4319     cat "conftest.in" "conftest.in" >"conftest.tmp"
4320     mv "conftest.tmp" "conftest.in"
4321     cp "conftest.in" "conftest.nl"
4322     $as_echo 'FGREP' >> "conftest.nl"
4323     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4324     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4325     as_fn_arith $ac_count + 1 && ac_count=$as_val
4326     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4327       # Best one so far, save it but keep looking for a better one
4328       ac_cv_path_FGREP="$ac_path_FGREP"
4329       ac_path_FGREP_max=$ac_count
4330     fi
4331     # 10*(2^10) chars as input seems more than enough
4332     test $ac_count -gt 10 && break
4333   done
4334   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4335 esac
4336
4337       $ac_path_FGREP_found && break 3
4338     done
4339   done
4340   done
4341 IFS=$as_save_IFS
4342   if test -z "$ac_cv_path_FGREP"; then
4343     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4344   fi
4345 else
4346   ac_cv_path_FGREP=$FGREP
4347 fi
4348
4349    fi
4350 fi
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4352 $as_echo "$ac_cv_path_FGREP" >&6; }
4353  FGREP="$ac_cv_path_FGREP"
4354
4355
4356 test -z "$GREP" && GREP=grep
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376 # Check whether --with-gnu-ld was given.
4377 if test "${with_gnu_ld+set}" = set; then :
4378   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4379 else
4380   with_gnu_ld=no
4381 fi
4382
4383 ac_prog=ld
4384 if test "$GCC" = yes; then
4385   # Check if gcc -print-prog-name=ld gives a path.
4386   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4387 $as_echo_n "checking for ld used by $CC... " >&6; }
4388   case $host in
4389   *-*-mingw*)
4390     # gcc leaves a trailing carriage return which upsets mingw
4391     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4392   *)
4393     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4394   esac
4395   case $ac_prog in
4396     # Accept absolute paths.
4397     [\\/]* | ?:[\\/]*)
4398       re_direlt='/[^/][^/]*/\.\./'
4399       # Canonicalize the pathname of ld
4400       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4401       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4402         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4403       done
4404       test -z "$LD" && LD="$ac_prog"
4405       ;;
4406   "")
4407     # If it fails, then pretend we aren't using GCC.
4408     ac_prog=ld
4409     ;;
4410   *)
4411     # If it is relative, then search for the first ld in PATH.
4412     with_gnu_ld=unknown
4413     ;;
4414   esac
4415 elif test "$with_gnu_ld" = yes; then
4416   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4417 $as_echo_n "checking for GNU ld... " >&6; }
4418 else
4419   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4420 $as_echo_n "checking for non-GNU ld... " >&6; }
4421 fi
4422 if ${lt_cv_path_LD+:} false; then :
4423   $as_echo_n "(cached) " >&6
4424 else
4425   if test -z "$LD"; then
4426   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4427   for ac_dir in $PATH; do
4428     IFS="$lt_save_ifs"
4429     test -z "$ac_dir" && ac_dir=.
4430     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4431       lt_cv_path_LD="$ac_dir/$ac_prog"
4432       # Check to see if the program is GNU ld.  I'd rather use --version,
4433       # but apparently some variants of GNU ld only accept -v.
4434       # Break only if it was the GNU/non-GNU ld that we prefer.
4435       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4436       *GNU* | *'with BFD'*)
4437         test "$with_gnu_ld" != no && break
4438         ;;
4439       *)
4440         test "$with_gnu_ld" != yes && break
4441         ;;
4442       esac
4443     fi
4444   done
4445   IFS="$lt_save_ifs"
4446 else
4447   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4448 fi
4449 fi
4450
4451 LD="$lt_cv_path_LD"
4452 if test -n "$LD"; then
4453   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4454 $as_echo "$LD" >&6; }
4455 else
4456   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4457 $as_echo "no" >&6; }
4458 fi
4459 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4461 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4462 if ${lt_cv_prog_gnu_ld+:} false; then :
4463   $as_echo_n "(cached) " >&6
4464 else
4465   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4466 case `$LD -v 2>&1 </dev/null` in
4467 *GNU* | *'with BFD'*)
4468   lt_cv_prog_gnu_ld=yes
4469   ;;
4470 *)
4471   lt_cv_prog_gnu_ld=no
4472   ;;
4473 esac
4474 fi
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4476 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4477 with_gnu_ld=$lt_cv_prog_gnu_ld
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4488 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4489 if ${lt_cv_path_NM+:} false; then :
4490   $as_echo_n "(cached) " >&6
4491 else
4492   if test -n "$NM"; then
4493   # Let the user override the test.
4494   lt_cv_path_NM="$NM"
4495 else
4496   lt_nm_to_check="${ac_tool_prefix}nm"
4497   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4498     lt_nm_to_check="$lt_nm_to_check nm"
4499   fi
4500   for lt_tmp_nm in $lt_nm_to_check; do
4501     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4502     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4503       IFS="$lt_save_ifs"
4504       test -z "$ac_dir" && ac_dir=.
4505       tmp_nm="$ac_dir/$lt_tmp_nm"
4506       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4507         # Check to see if the nm accepts a BSD-compat flag.
4508         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4509         #   nm: unknown option "B" ignored
4510         # Tru64's nm complains that /dev/null is an invalid object file
4511         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4512         */dev/null* | *'Invalid file or object type'*)
4513           lt_cv_path_NM="$tmp_nm -B"
4514           break
4515           ;;
4516         *)
4517           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4518           */dev/null*)
4519             lt_cv_path_NM="$tmp_nm -p"
4520             break
4521             ;;
4522           *)
4523             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4524             continue # so that we can try to find one that supports BSD flags
4525             ;;
4526           esac
4527           ;;
4528         esac
4529       fi
4530     done
4531     IFS="$lt_save_ifs"
4532   done
4533   : ${lt_cv_path_NM=no}
4534 fi
4535 fi
4536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4537 $as_echo "$lt_cv_path_NM" >&6; }
4538 if test "$lt_cv_path_NM" != "no"; then
4539   NM="$lt_cv_path_NM"
4540 else
4541   # Didn't find any BSD compatible name lister, look for dumpbin.
4542   if test -n "$DUMPBIN"; then :
4543     # Let the user override the test.
4544   else
4545     if test -n "$ac_tool_prefix"; then
4546   for ac_prog in dumpbin "link -dump"
4547   do
4548     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4549 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4551 $as_echo_n "checking for $ac_word... " >&6; }
4552 if ${ac_cv_prog_DUMPBIN+:} false; then :
4553   $as_echo_n "(cached) " >&6
4554 else
4555   if test -n "$DUMPBIN"; then
4556   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4557 else
4558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4559 for as_dir in $PATH
4560 do
4561   IFS=$as_save_IFS
4562   test -z "$as_dir" && as_dir=.
4563     for ac_exec_ext in '' $ac_executable_extensions; do
4564   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4565     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4566     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4567     break 2
4568   fi
4569 done
4570   done
4571 IFS=$as_save_IFS
4572
4573 fi
4574 fi
4575 DUMPBIN=$ac_cv_prog_DUMPBIN
4576 if test -n "$DUMPBIN"; then
4577   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4578 $as_echo "$DUMPBIN" >&6; }
4579 else
4580   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4581 $as_echo "no" >&6; }
4582 fi
4583
4584
4585     test -n "$DUMPBIN" && break
4586   done
4587 fi
4588 if test -z "$DUMPBIN"; then
4589   ac_ct_DUMPBIN=$DUMPBIN
4590   for ac_prog in dumpbin "link -dump"
4591 do
4592   # Extract the first word of "$ac_prog", so it can be a program name with args.
4593 set dummy $ac_prog; ac_word=$2
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4595 $as_echo_n "checking for $ac_word... " >&6; }
4596 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4597   $as_echo_n "(cached) " >&6
4598 else
4599   if test -n "$ac_ct_DUMPBIN"; then
4600   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4601 else
4602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4603 for as_dir in $PATH
4604 do
4605   IFS=$as_save_IFS
4606   test -z "$as_dir" && as_dir=.
4607     for ac_exec_ext in '' $ac_executable_extensions; do
4608   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4609     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4610     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4611     break 2
4612   fi
4613 done
4614   done
4615 IFS=$as_save_IFS
4616
4617 fi
4618 fi
4619 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4620 if test -n "$ac_ct_DUMPBIN"; then
4621   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4622 $as_echo "$ac_ct_DUMPBIN" >&6; }
4623 else
4624   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4625 $as_echo "no" >&6; }
4626 fi
4627
4628
4629   test -n "$ac_ct_DUMPBIN" && break
4630 done
4631
4632   if test "x$ac_ct_DUMPBIN" = x; then
4633     DUMPBIN=":"
4634   else
4635     case $cross_compiling:$ac_tool_warned in
4636 yes:)
4637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4638 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4639 ac_tool_warned=yes ;;
4640 esac
4641     DUMPBIN=$ac_ct_DUMPBIN
4642   fi
4643 fi
4644
4645     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4646     *COFF*)
4647       DUMPBIN="$DUMPBIN -symbols"
4648       ;;
4649     *)
4650       DUMPBIN=:
4651       ;;
4652     esac
4653   fi
4654
4655   if test "$DUMPBIN" != ":"; then
4656     NM="$DUMPBIN"
4657   fi
4658 fi
4659 test -z "$NM" && NM=nm
4660
4661
4662
4663
4664
4665
4666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4667 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4668 if ${lt_cv_nm_interface+:} false; then :
4669   $as_echo_n "(cached) " >&6
4670 else
4671   lt_cv_nm_interface="BSD nm"
4672   echo "int some_variable = 0;" > conftest.$ac_ext
4673   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4674   (eval "$ac_compile" 2>conftest.err)
4675   cat conftest.err >&5
4676   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4677   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4678   cat conftest.err >&5
4679   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4680   cat conftest.out >&5
4681   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4682     lt_cv_nm_interface="MS dumpbin"
4683   fi
4684   rm -f conftest*
4685 fi
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4687 $as_echo "$lt_cv_nm_interface" >&6; }
4688
4689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4690 $as_echo_n "checking whether ln -s works... " >&6; }
4691 LN_S=$as_ln_s
4692 if test "$LN_S" = "ln -s"; then
4693   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4694 $as_echo "yes" >&6; }
4695 else
4696   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4697 $as_echo "no, using $LN_S" >&6; }
4698 fi
4699
4700 # find the maximum length of command line arguments
4701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4702 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4703 if ${lt_cv_sys_max_cmd_len+:} false; then :
4704   $as_echo_n "(cached) " >&6
4705 else
4706     i=0
4707   teststring="ABCD"
4708
4709   case $build_os in
4710   msdosdjgpp*)
4711     # On DJGPP, this test can blow up pretty badly due to problems in libc
4712     # (any single argument exceeding 2000 bytes causes a buffer overrun
4713     # during glob expansion).  Even if it were fixed, the result of this
4714     # check would be larger than it should be.
4715     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4716     ;;
4717
4718   gnu*)
4719     # Under GNU Hurd, this test is not required because there is
4720     # no limit to the length of command line arguments.
4721     # Libtool will interpret -1 as no limit whatsoever
4722     lt_cv_sys_max_cmd_len=-1;
4723     ;;
4724
4725   cygwin* | mingw* | cegcc*)
4726     # On Win9x/ME, this test blows up -- it succeeds, but takes
4727     # about 5 minutes as the teststring grows exponentially.
4728     # Worse, since 9x/ME are not pre-emptively multitasking,
4729     # you end up with a "frozen" computer, even though with patience
4730     # the test eventually succeeds (with a max line length of 256k).
4731     # Instead, let's just punt: use the minimum linelength reported by
4732     # all of the supported platforms: 8192 (on NT/2K/XP).
4733     lt_cv_sys_max_cmd_len=8192;
4734     ;;
4735
4736   mint*)
4737     # On MiNT this can take a long time and run out of memory.
4738     lt_cv_sys_max_cmd_len=8192;
4739     ;;
4740
4741   amigaos*)
4742     # On AmigaOS with pdksh, this test takes hours, literally.
4743     # So we just punt and use a minimum line length of 8192.
4744     lt_cv_sys_max_cmd_len=8192;
4745     ;;
4746
4747   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4748     # This has been around since 386BSD, at least.  Likely further.
4749     if test -x /sbin/sysctl; then
4750       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4751     elif test -x /usr/sbin/sysctl; then
4752       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4753     else
4754       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
4755     fi
4756     # And add a safety zone
4757     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4758     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4759     ;;
4760
4761   interix*)
4762     # We know the value 262144 and hardcode it with a safety zone (like BSD)
4763     lt_cv_sys_max_cmd_len=196608
4764     ;;
4765
4766   os2*)
4767     # The test takes a long time on OS/2.
4768     lt_cv_sys_max_cmd_len=8192
4769     ;;
4770
4771   osf*)
4772     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4773     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4774     # nice to cause kernel panics so lets avoid the loop below.
4775     # First set a reasonable default.
4776     lt_cv_sys_max_cmd_len=16384
4777     #
4778     if test -x /sbin/sysconfig; then
4779       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4780         *1*) lt_cv_sys_max_cmd_len=-1 ;;
4781       esac
4782     fi
4783     ;;
4784   sco3.2v5*)
4785     lt_cv_sys_max_cmd_len=102400
4786     ;;
4787   sysv5* | sco5v6* | sysv4.2uw2*)
4788     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4789     if test -n "$kargmax"; then
4790       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
4791     else
4792       lt_cv_sys_max_cmd_len=32768
4793     fi
4794     ;;
4795   *)
4796     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4797     if test -n "$lt_cv_sys_max_cmd_len"; then
4798       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4799       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4800     else
4801       # Make teststring a little bigger before we do anything with it.
4802       # a 1K string should be a reasonable start.
4803       for i in 1 2 3 4 5 6 7 8 ; do
4804         teststring=$teststring$teststring
4805       done
4806       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4807       # If test is not a shell built-in, we'll probably end up computing a
4808       # maximum length that is only half of the actual maximum length, but
4809       # we can't tell.
4810       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
4811                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4812               test $i != 17 # 1/2 MB should be enough
4813       do
4814         i=`expr $i + 1`
4815         teststring=$teststring$teststring
4816       done
4817       # Only check the string length outside the loop.
4818       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4819       teststring=
4820       # Add a significant safety factor because C++ compilers can tack on
4821       # massive amounts of additional arguments before passing them to the
4822       # linker.  It appears as though 1/2 is a usable value.
4823       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4824     fi
4825     ;;
4826   esac
4827
4828 fi
4829
4830 if test -n $lt_cv_sys_max_cmd_len ; then
4831   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4832 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4833 else
4834   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4835 $as_echo "none" >&6; }
4836 fi
4837 max_cmd_len=$lt_cv_sys_max_cmd_len
4838
4839
4840
4841
4842
4843
4844 : ${CP="cp -f"}
4845 : ${MV="mv -f"}
4846 : ${RM="rm -f"}
4847
4848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4849 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4850 # Try some XSI features
4851 xsi_shell=no
4852 ( _lt_dummy="a/b/c"
4853   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4854       = c,a/b,b/c, \
4855     && eval 'test $(( 1 + 1 )) -eq 2 \
4856     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4857   && xsi_shell=yes
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4859 $as_echo "$xsi_shell" >&6; }
4860
4861
4862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4863 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4864 lt_shell_append=no
4865 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4866     >/dev/null 2>&1 \
4867   && lt_shell_append=yes
4868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4869 $as_echo "$lt_shell_append" >&6; }
4870
4871
4872 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4873   lt_unset=unset
4874 else
4875   lt_unset=false
4876 fi
4877
4878
4879
4880
4881
4882 # test EBCDIC or ASCII
4883 case `echo X|tr X '\101'` in
4884  A) # ASCII based system
4885     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4886   lt_SP2NL='tr \040 \012'
4887   lt_NL2SP='tr \015\012 \040\040'
4888   ;;
4889  *) # EBCDIC based system
4890   lt_SP2NL='tr \100 \n'
4891   lt_NL2SP='tr \r\n \100\100'
4892   ;;
4893 esac
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4904 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4905 if ${lt_cv_to_host_file_cmd+:} false; then :
4906   $as_echo_n "(cached) " >&6
4907 else
4908   case $host in
4909   *-*-mingw* )
4910     case $build in
4911       *-*-mingw* ) # actually msys
4912         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4913         ;;
4914       *-*-cygwin* )
4915         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4916         ;;
4917       * ) # otherwise, assume *nix
4918         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4919         ;;
4920     esac
4921     ;;
4922   *-*-cygwin* )
4923     case $build in
4924       *-*-mingw* ) # actually msys
4925         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4926         ;;
4927       *-*-cygwin* )
4928         lt_cv_to_host_file_cmd=func_convert_file_noop
4929         ;;
4930       * ) # otherwise, assume *nix
4931         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4932         ;;
4933     esac
4934     ;;
4935   * ) # unhandled hosts (and "normal" native builds)
4936     lt_cv_to_host_file_cmd=func_convert_file_noop
4937     ;;
4938 esac
4939
4940 fi
4941
4942 to_host_file_cmd=$lt_cv_to_host_file_cmd
4943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4944 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
4945
4946
4947
4948
4949
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4951 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4952 if ${lt_cv_to_tool_file_cmd+:} false; then :
4953   $as_echo_n "(cached) " >&6
4954 else
4955   #assume ordinary cross tools, or native build.
4956 lt_cv_to_tool_file_cmd=func_convert_file_noop
4957 case $host in
4958   *-*-mingw* )
4959     case $build in
4960       *-*-mingw* ) # actually msys
4961         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
4962         ;;
4963     esac
4964     ;;
4965 esac
4966
4967 fi
4968
4969 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
4970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
4971 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4972
4973
4974
4975
4976
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4978 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4979 if ${lt_cv_ld_reload_flag+:} false; then :
4980   $as_echo_n "(cached) " >&6
4981 else
4982   lt_cv_ld_reload_flag='-r'
4983 fi
4984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4985 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4986 reload_flag=$lt_cv_ld_reload_flag
4987 case $reload_flag in
4988 "" | " "*) ;;
4989 *) reload_flag=" $reload_flag" ;;
4990 esac
4991 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4992 case $host_os in
4993   cygwin* | mingw* | pw32* | cegcc*)
4994     if test "$GCC" != yes; then
4995       reload_cmds=false
4996     fi
4997     ;;
4998   darwin*)
4999     if test "$GCC" = yes; then
5000       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5001     else
5002       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5003     fi
5004     ;;
5005 esac
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015 if test -n "$ac_tool_prefix"; then
5016   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5017 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5019 $as_echo_n "checking for $ac_word... " >&6; }
5020 if ${ac_cv_prog_OBJDUMP+:} false; then :
5021   $as_echo_n "(cached) " >&6
5022 else
5023   if test -n "$OBJDUMP"; then
5024   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5025 else
5026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5027 for as_dir in $PATH
5028 do
5029   IFS=$as_save_IFS
5030   test -z "$as_dir" && as_dir=.
5031     for ac_exec_ext in '' $ac_executable_extensions; do
5032   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5033     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5034     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5035     break 2
5036   fi
5037 done
5038   done
5039 IFS=$as_save_IFS
5040
5041 fi
5042 fi
5043 OBJDUMP=$ac_cv_prog_OBJDUMP
5044 if test -n "$OBJDUMP"; then
5045   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5046 $as_echo "$OBJDUMP" >&6; }
5047 else
5048   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5049 $as_echo "no" >&6; }
5050 fi
5051
5052
5053 fi
5054 if test -z "$ac_cv_prog_OBJDUMP"; then
5055   ac_ct_OBJDUMP=$OBJDUMP
5056   # Extract the first word of "objdump", so it can be a program name with args.
5057 set dummy objdump; ac_word=$2
5058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5059 $as_echo_n "checking for $ac_word... " >&6; }
5060 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5061   $as_echo_n "(cached) " >&6
5062 else
5063   if test -n "$ac_ct_OBJDUMP"; then
5064   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5065 else
5066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5067 for as_dir in $PATH
5068 do
5069   IFS=$as_save_IFS
5070   test -z "$as_dir" && as_dir=.
5071     for ac_exec_ext in '' $ac_executable_extensions; do
5072   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5073     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5074     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5075     break 2
5076   fi
5077 done
5078   done
5079 IFS=$as_save_IFS
5080
5081 fi
5082 fi
5083 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5084 if test -n "$ac_ct_OBJDUMP"; then
5085   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5086 $as_echo "$ac_ct_OBJDUMP" >&6; }
5087 else
5088   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5089 $as_echo "no" >&6; }
5090 fi
5091
5092   if test "x$ac_ct_OBJDUMP" = x; then
5093     OBJDUMP="false"
5094   else
5095     case $cross_compiling:$ac_tool_warned in
5096 yes:)
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5098 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5099 ac_tool_warned=yes ;;
5100 esac
5101     OBJDUMP=$ac_ct_OBJDUMP
5102   fi
5103 else
5104   OBJDUMP="$ac_cv_prog_OBJDUMP"
5105 fi
5106
5107 test -z "$OBJDUMP" && OBJDUMP=objdump
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5118 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5119 if ${lt_cv_deplibs_check_method+:} false; then :
5120   $as_echo_n "(cached) " >&6
5121 else
5122   lt_cv_file_magic_cmd='$MAGIC_CMD'
5123 lt_cv_file_magic_test_file=
5124 lt_cv_deplibs_check_method='unknown'
5125 # Need to set the preceding variable on all platforms that support
5126 # interlibrary dependencies.
5127 # 'none' -- dependencies not supported.
5128 # `unknown' -- same as none, but documents that we really don't know.
5129 # 'pass_all' -- all dependencies passed with no checks.
5130 # 'test_compile' -- check by making test program.
5131 # 'file_magic [[regex]]' -- check by looking for files in library path
5132 # which responds to the $file_magic_cmd with a given extended regex.
5133 # If you have `file' or equivalent on your system and you're not sure
5134 # whether `pass_all' will *always* work, you probably want this one.
5135
5136 case $host_os in
5137 aix[4-9]*)
5138   lt_cv_deplibs_check_method=pass_all
5139   ;;
5140
5141 beos*)
5142   lt_cv_deplibs_check_method=pass_all
5143   ;;
5144
5145 bsdi[45]*)
5146   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5147   lt_cv_file_magic_cmd='/usr/bin/file -L'
5148   lt_cv_file_magic_test_file=/shlib/libc.so
5149   ;;
5150
5151 cygwin*)
5152   # func_win32_libid is a shell function defined in ltmain.sh
5153   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5154   lt_cv_file_magic_cmd='func_win32_libid'
5155   ;;
5156
5157 mingw* | pw32*)
5158   # Base MSYS/MinGW do not provide the 'file' command needed by
5159   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5160   # unless we find 'file', for example because we are cross-compiling.
5161   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5162   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5163     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5164     lt_cv_file_magic_cmd='func_win32_libid'
5165   else
5166     # Keep this pattern in sync with the one in func_win32_libid.
5167     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5168     lt_cv_file_magic_cmd='$OBJDUMP -f'
5169   fi
5170   ;;
5171
5172 cegcc*)
5173   # use the weaker test based on 'objdump'. See mingw*.
5174   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5175   lt_cv_file_magic_cmd='$OBJDUMP -f'
5176   ;;
5177
5178 darwin* | rhapsody*)
5179   lt_cv_deplibs_check_method=pass_all
5180   ;;
5181
5182 freebsd* | dragonfly*)
5183   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5184     case $host_cpu in
5185     i*86 )
5186       # Not sure whether the presence of OpenBSD here was a mistake.
5187       # Let's accept both of them until this is cleared up.
5188       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5189       lt_cv_file_magic_cmd=/usr/bin/file
5190       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5191       ;;
5192     esac
5193   else
5194     lt_cv_deplibs_check_method=pass_all
5195   fi
5196   ;;
5197
5198 gnu*)
5199   lt_cv_deplibs_check_method=pass_all
5200   ;;
5201
5202 haiku*)
5203   lt_cv_deplibs_check_method=pass_all
5204   ;;
5205
5206 hpux10.20* | hpux11*)
5207   lt_cv_file_magic_cmd=/usr/bin/file
5208   case $host_cpu in
5209   ia64*)
5210     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5211     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5212     ;;
5213   hppa*64*)
5214     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]'
5215     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5216     ;;
5217   *)
5218     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5219     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5220     ;;
5221   esac
5222   ;;
5223
5224 interix[3-9]*)
5225   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5226   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5227   ;;
5228
5229 irix5* | irix6* | nonstopux*)
5230   case $LD in
5231   *-32|*"-32 ") libmagic=32-bit;;
5232   *-n32|*"-n32 ") libmagic=N32;;
5233   *-64|*"-64 ") libmagic=64-bit;;
5234   *) libmagic=never-match;;
5235   esac
5236   lt_cv_deplibs_check_method=pass_all
5237   ;;
5238
5239 # This must be glibc/ELF.
5240 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5241   lt_cv_deplibs_check_method=pass_all
5242   ;;
5243
5244 netbsd* | netbsdelf*-gnu)
5245   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5246     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5247   else
5248     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5249   fi
5250   ;;
5251
5252 newos6*)
5253   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5254   lt_cv_file_magic_cmd=/usr/bin/file
5255   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5256   ;;
5257
5258 *nto* | *qnx*)
5259   lt_cv_deplibs_check_method=pass_all
5260   ;;
5261
5262 openbsd*)
5263   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5264     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5265   else
5266     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5267   fi
5268   ;;
5269
5270 osf3* | osf4* | osf5*)
5271   lt_cv_deplibs_check_method=pass_all
5272   ;;
5273
5274 rdos*)
5275   lt_cv_deplibs_check_method=pass_all
5276   ;;
5277
5278 solaris*)
5279   lt_cv_deplibs_check_method=pass_all
5280   ;;
5281
5282 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5283   lt_cv_deplibs_check_method=pass_all
5284   ;;
5285
5286 sysv4 | sysv4.3*)
5287   case $host_vendor in
5288   motorola)
5289     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]'
5290     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5291     ;;
5292   ncr)
5293     lt_cv_deplibs_check_method=pass_all
5294     ;;
5295   sequent)
5296     lt_cv_file_magic_cmd='/bin/file'
5297     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5298     ;;
5299   sni)
5300     lt_cv_file_magic_cmd='/bin/file'
5301     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5302     lt_cv_file_magic_test_file=/lib/libc.so
5303     ;;
5304   siemens)
5305     lt_cv_deplibs_check_method=pass_all
5306     ;;
5307   pc)
5308     lt_cv_deplibs_check_method=pass_all
5309     ;;
5310   esac
5311   ;;
5312
5313 tpf*)
5314   lt_cv_deplibs_check_method=pass_all
5315   ;;
5316 esac
5317
5318 fi
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5320 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5321
5322 file_magic_glob=
5323 want_nocaseglob=no
5324 if test "$build" = "$host"; then
5325   case $host_os in
5326   mingw* | pw32*)
5327     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5328       want_nocaseglob=yes
5329     else
5330       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5331     fi
5332     ;;
5333   esac
5334 fi
5335
5336 file_magic_cmd=$lt_cv_file_magic_cmd
5337 deplibs_check_method=$lt_cv_deplibs_check_method
5338 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361 if test -n "$ac_tool_prefix"; then
5362   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5363 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5365 $as_echo_n "checking for $ac_word... " >&6; }
5366 if ${ac_cv_prog_DLLTOOL+:} false; then :
5367   $as_echo_n "(cached) " >&6
5368 else
5369   if test -n "$DLLTOOL"; then
5370   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5371 else
5372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5373 for as_dir in $PATH
5374 do
5375   IFS=$as_save_IFS
5376   test -z "$as_dir" && as_dir=.
5377     for ac_exec_ext in '' $ac_executable_extensions; do
5378   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5379     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5380     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5381     break 2
5382   fi
5383 done
5384   done
5385 IFS=$as_save_IFS
5386
5387 fi
5388 fi
5389 DLLTOOL=$ac_cv_prog_DLLTOOL
5390 if test -n "$DLLTOOL"; then
5391   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5392 $as_echo "$DLLTOOL" >&6; }
5393 else
5394   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5395 $as_echo "no" >&6; }
5396 fi
5397
5398
5399 fi
5400 if test -z "$ac_cv_prog_DLLTOOL"; then
5401   ac_ct_DLLTOOL=$DLLTOOL
5402   # Extract the first word of "dlltool", so it can be a program name with args.
5403 set dummy dlltool; ac_word=$2
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5405 $as_echo_n "checking for $ac_word... " >&6; }
5406 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5407   $as_echo_n "(cached) " >&6
5408 else
5409   if test -n "$ac_ct_DLLTOOL"; then
5410   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5411 else
5412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5413 for as_dir in $PATH
5414 do
5415   IFS=$as_save_IFS
5416   test -z "$as_dir" && as_dir=.
5417     for ac_exec_ext in '' $ac_executable_extensions; do
5418   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5419     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5420     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5421     break 2
5422   fi
5423 done
5424   done
5425 IFS=$as_save_IFS
5426
5427 fi
5428 fi
5429 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5430 if test -n "$ac_ct_DLLTOOL"; then
5431   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5432 $as_echo "$ac_ct_DLLTOOL" >&6; }
5433 else
5434   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5435 $as_echo "no" >&6; }
5436 fi
5437
5438   if test "x$ac_ct_DLLTOOL" = x; then
5439     DLLTOOL="false"
5440   else
5441     case $cross_compiling:$ac_tool_warned in
5442 yes:)
5443 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5444 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5445 ac_tool_warned=yes ;;
5446 esac
5447     DLLTOOL=$ac_ct_DLLTOOL
5448   fi
5449 else
5450   DLLTOOL="$ac_cv_prog_DLLTOOL"
5451 fi
5452
5453 test -z "$DLLTOOL" && DLLTOOL=dlltool
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5465 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5466 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5467   $as_echo_n "(cached) " >&6
5468 else
5469   lt_cv_sharedlib_from_linklib_cmd='unknown'
5470
5471 case $host_os in
5472 cygwin* | mingw* | pw32* | cegcc*)
5473   # two different shell functions defined in ltmain.sh
5474   # decide which to use based on capabilities of $DLLTOOL
5475   case `$DLLTOOL --help 2>&1` in
5476   *--identify-strict*)
5477     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5478     ;;
5479   *)
5480     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5481     ;;
5482   esac
5483   ;;
5484 *)
5485   # fallback: assume linklib IS sharedlib
5486   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5487   ;;
5488 esac
5489
5490 fi
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5492 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5493 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5494 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5495
5496
5497
5498
5499
5500
5501
5502
5503 if test -n "$ac_tool_prefix"; then
5504   for ac_prog in ar
5505   do
5506     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5507 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5509 $as_echo_n "checking for $ac_word... " >&6; }
5510 if ${ac_cv_prog_AR+:} false; then :
5511   $as_echo_n "(cached) " >&6
5512 else
5513   if test -n "$AR"; then
5514   ac_cv_prog_AR="$AR" # Let the user override the test.
5515 else
5516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5517 for as_dir in $PATH
5518 do
5519   IFS=$as_save_IFS
5520   test -z "$as_dir" && as_dir=.
5521     for ac_exec_ext in '' $ac_executable_extensions; do
5522   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5523     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5524     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5525     break 2
5526   fi
5527 done
5528   done
5529 IFS=$as_save_IFS
5530
5531 fi
5532 fi
5533 AR=$ac_cv_prog_AR
5534 if test -n "$AR"; then
5535   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5536 $as_echo "$AR" >&6; }
5537 else
5538   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5539 $as_echo "no" >&6; }
5540 fi
5541
5542
5543     test -n "$AR" && break
5544   done
5545 fi
5546 if test -z "$AR"; then
5547   ac_ct_AR=$AR
5548   for ac_prog in ar
5549 do
5550   # Extract the first word of "$ac_prog", so it can be a program name with args.
5551 set dummy $ac_prog; ac_word=$2
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5553 $as_echo_n "checking for $ac_word... " >&6; }
5554 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5555   $as_echo_n "(cached) " >&6
5556 else
5557   if test -n "$ac_ct_AR"; then
5558   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5559 else
5560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5561 for as_dir in $PATH
5562 do
5563   IFS=$as_save_IFS
5564   test -z "$as_dir" && as_dir=.
5565     for ac_exec_ext in '' $ac_executable_extensions; do
5566   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5567     ac_cv_prog_ac_ct_AR="$ac_prog"
5568     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5569     break 2
5570   fi
5571 done
5572   done
5573 IFS=$as_save_IFS
5574
5575 fi
5576 fi
5577 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5578 if test -n "$ac_ct_AR"; then
5579   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5580 $as_echo "$ac_ct_AR" >&6; }
5581 else
5582   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5583 $as_echo "no" >&6; }
5584 fi
5585
5586
5587   test -n "$ac_ct_AR" && break
5588 done
5589
5590   if test "x$ac_ct_AR" = x; then
5591     AR="false"
5592   else
5593     case $cross_compiling:$ac_tool_warned in
5594 yes:)
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5596 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5597 ac_tool_warned=yes ;;
5598 esac
5599     AR=$ac_ct_AR
5600   fi
5601 fi
5602
5603 : ${AR=ar}
5604 : ${AR_FLAGS=cru}
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5617 $as_echo_n "checking for archiver @FILE support... " >&6; }
5618 if ${lt_cv_ar_at_file+:} false; then :
5619   $as_echo_n "(cached) " >&6
5620 else
5621   lt_cv_ar_at_file=no
5622    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5623 /* end confdefs.h.  */
5624
5625 int
5626 main ()
5627 {
5628
5629   ;
5630   return 0;
5631 }
5632 _ACEOF
5633 if ac_fn_c_try_compile "$LINENO"; then :
5634   echo conftest.$ac_objext > conftest.lst
5635       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5636       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5637   (eval $lt_ar_try) 2>&5
5638   ac_status=$?
5639   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5640   test $ac_status = 0; }
5641       if test "$ac_status" -eq 0; then
5642         # Ensure the archiver fails upon bogus file names.
5643         rm -f conftest.$ac_objext libconftest.a
5644         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5645   (eval $lt_ar_try) 2>&5
5646   ac_status=$?
5647   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5648   test $ac_status = 0; }
5649         if test "$ac_status" -ne 0; then
5650           lt_cv_ar_at_file=@
5651         fi
5652       fi
5653       rm -f conftest.* libconftest.a
5654
5655 fi
5656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5657
5658 fi
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5660 $as_echo "$lt_cv_ar_at_file" >&6; }
5661
5662 if test "x$lt_cv_ar_at_file" = xno; then
5663   archiver_list_spec=
5664 else
5665   archiver_list_spec=$lt_cv_ar_at_file
5666 fi
5667
5668
5669
5670
5671
5672
5673
5674 if test -n "$ac_tool_prefix"; then
5675   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5676 set dummy ${ac_tool_prefix}strip; ac_word=$2
5677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5678 $as_echo_n "checking for $ac_word... " >&6; }
5679 if ${ac_cv_prog_STRIP+:} false; then :
5680   $as_echo_n "(cached) " >&6
5681 else
5682   if test -n "$STRIP"; then
5683   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5684 else
5685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5686 for as_dir in $PATH
5687 do
5688   IFS=$as_save_IFS
5689   test -z "$as_dir" && as_dir=.
5690     for ac_exec_ext in '' $ac_executable_extensions; do
5691   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5692     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5693     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5694     break 2
5695   fi
5696 done
5697   done
5698 IFS=$as_save_IFS
5699
5700 fi
5701 fi
5702 STRIP=$ac_cv_prog_STRIP
5703 if test -n "$STRIP"; then
5704   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5705 $as_echo "$STRIP" >&6; }
5706 else
5707   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5708 $as_echo "no" >&6; }
5709 fi
5710
5711
5712 fi
5713 if test -z "$ac_cv_prog_STRIP"; then
5714   ac_ct_STRIP=$STRIP
5715   # Extract the first word of "strip", so it can be a program name with args.
5716 set dummy strip; ac_word=$2
5717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5718 $as_echo_n "checking for $ac_word... " >&6; }
5719 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5720   $as_echo_n "(cached) " >&6
5721 else
5722   if test -n "$ac_ct_STRIP"; then
5723   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5724 else
5725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5726 for as_dir in $PATH
5727 do
5728   IFS=$as_save_IFS
5729   test -z "$as_dir" && as_dir=.
5730     for ac_exec_ext in '' $ac_executable_extensions; do
5731   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5732     ac_cv_prog_ac_ct_STRIP="strip"
5733     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5734     break 2
5735   fi
5736 done
5737   done
5738 IFS=$as_save_IFS
5739
5740 fi
5741 fi
5742 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5743 if test -n "$ac_ct_STRIP"; then
5744   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5745 $as_echo "$ac_ct_STRIP" >&6; }
5746 else
5747   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5748 $as_echo "no" >&6; }
5749 fi
5750
5751   if test "x$ac_ct_STRIP" = x; then
5752     STRIP=":"
5753   else
5754     case $cross_compiling:$ac_tool_warned in
5755 yes:)
5756 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5757 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5758 ac_tool_warned=yes ;;
5759 esac
5760     STRIP=$ac_ct_STRIP
5761   fi
5762 else
5763   STRIP="$ac_cv_prog_STRIP"
5764 fi
5765
5766 test -z "$STRIP" && STRIP=:
5767
5768
5769
5770
5771
5772
5773 if test -n "$ac_tool_prefix"; then
5774   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5775 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5777 $as_echo_n "checking for $ac_word... " >&6; }
5778 if ${ac_cv_prog_RANLIB+:} false; then :
5779   $as_echo_n "(cached) " >&6
5780 else
5781   if test -n "$RANLIB"; then
5782   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5783 else
5784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5785 for as_dir in $PATH
5786 do
5787   IFS=$as_save_IFS
5788   test -z "$as_dir" && as_dir=.
5789     for ac_exec_ext in '' $ac_executable_extensions; do
5790   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5791     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5792     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5793     break 2
5794   fi
5795 done
5796   done
5797 IFS=$as_save_IFS
5798
5799 fi
5800 fi
5801 RANLIB=$ac_cv_prog_RANLIB
5802 if test -n "$RANLIB"; then
5803   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5804 $as_echo "$RANLIB" >&6; }
5805 else
5806   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5807 $as_echo "no" >&6; }
5808 fi
5809
5810
5811 fi
5812 if test -z "$ac_cv_prog_RANLIB"; then
5813   ac_ct_RANLIB=$RANLIB
5814   # Extract the first word of "ranlib", so it can be a program name with args.
5815 set dummy ranlib; ac_word=$2
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5817 $as_echo_n "checking for $ac_word... " >&6; }
5818 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5819   $as_echo_n "(cached) " >&6
5820 else
5821   if test -n "$ac_ct_RANLIB"; then
5822   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5823 else
5824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5825 for as_dir in $PATH
5826 do
5827   IFS=$as_save_IFS
5828   test -z "$as_dir" && as_dir=.
5829     for ac_exec_ext in '' $ac_executable_extensions; do
5830   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5831     ac_cv_prog_ac_ct_RANLIB="ranlib"
5832     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5833     break 2
5834   fi
5835 done
5836   done
5837 IFS=$as_save_IFS
5838
5839 fi
5840 fi
5841 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5842 if test -n "$ac_ct_RANLIB"; then
5843   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5844 $as_echo "$ac_ct_RANLIB" >&6; }
5845 else
5846   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5847 $as_echo "no" >&6; }
5848 fi
5849
5850   if test "x$ac_ct_RANLIB" = x; then
5851     RANLIB=":"
5852   else
5853     case $cross_compiling:$ac_tool_warned in
5854 yes:)
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5856 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5857 ac_tool_warned=yes ;;
5858 esac
5859     RANLIB=$ac_ct_RANLIB
5860   fi
5861 else
5862   RANLIB="$ac_cv_prog_RANLIB"
5863 fi
5864
5865 test -z "$RANLIB" && RANLIB=:
5866
5867
5868
5869
5870
5871
5872 # Determine commands to create old-style static archives.
5873 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5874 old_postinstall_cmds='chmod 644 $oldlib'
5875 old_postuninstall_cmds=
5876
5877 if test -n "$RANLIB"; then
5878   case $host_os in
5879   openbsd*)
5880     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5881     ;;
5882   *)
5883     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5884     ;;
5885   esac
5886   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5887 fi
5888
5889 case $host_os in
5890   darwin*)
5891     lock_old_archive_extraction=yes ;;
5892   *)
5893     lock_old_archive_extraction=no ;;
5894 esac
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934 # If no C compiler was specified, use CC.
5935 LTCC=${LTCC-"$CC"}
5936
5937 # If no C compiler flags were specified, use CFLAGS.
5938 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5939
5940 # Allow CC to be a program name with arguments.
5941 compiler=$CC
5942
5943
5944 # Check for command to grab the raw symbol name followed by C symbol from nm.
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5946 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5947 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5948   $as_echo_n "(cached) " >&6
5949 else
5950
5951 # These are sane defaults that work on at least a few old systems.
5952 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
5953
5954 # Character class describing NM global symbol codes.
5955 symcode='[BCDEGRST]'
5956
5957 # Regexp to match symbols that can be accessed directly from C.
5958 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5959
5960 # Define system-specific variables.
5961 case $host_os in
5962 aix*)
5963   symcode='[BCDT]'
5964   ;;
5965 cygwin* | mingw* | pw32* | cegcc*)
5966   symcode='[ABCDGISTW]'
5967   ;;
5968 hpux*)
5969   if test "$host_cpu" = ia64; then
5970     symcode='[ABCDEGRST]'
5971   fi
5972   ;;
5973 irix* | nonstopux*)
5974   symcode='[BCDEGRST]'
5975   ;;
5976 osf*)
5977   symcode='[BCDEGQRST]'
5978   ;;
5979 solaris*)
5980   symcode='[BDRT]'
5981   ;;
5982 sco3.2v5*)
5983   symcode='[DT]'
5984   ;;
5985 sysv4.2uw2*)
5986   symcode='[DT]'
5987   ;;
5988 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5989   symcode='[ABDT]'
5990   ;;
5991 sysv4)
5992   symcode='[DFNSTU]'
5993   ;;
5994 esac
5995
5996 # If we're using GNU nm, then use its standard symbol codes.
5997 case `$NM -V 2>&1` in
5998 *GNU* | *'with BFD'*)
5999   symcode='[ABCDGIRSTW]' ;;
6000 esac
6001
6002 # Transform an extracted symbol line into a proper C declaration.
6003 # Some systems (esp. on ia64) link data and code symbols differently,
6004 # so use this general approach.
6005 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6006
6007 # Transform an extracted symbol line into symbol name and symbol address
6008 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6009 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'"
6010
6011 # Handle CRLF in mingw tool chain
6012 opt_cr=
6013 case $build_os in
6014 mingw*)
6015   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6016   ;;
6017 esac
6018
6019 # Try without a prefix underscore, then with it.
6020 for ac_symprfx in "" "_"; do
6021
6022   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6023   symxfrm="\\1 $ac_symprfx\\2 \\2"
6024
6025   # Write the raw and C identifiers.
6026   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6027     # Fake it for dumpbin and say T for any non-static function
6028     # and D for any global variable.
6029     # Also find C++ and __fastcall symbols from MSVC++,
6030     # which start with @ or ?.
6031     lt_cv_sys_global_symbol_pipe="$AWK '"\
6032 "     {last_section=section; section=\$ 3};"\
6033 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6034 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6035 "     \$ 0!~/External *\|/{next};"\
6036 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6037 "     {if(hide[section]) next};"\
6038 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6039 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6040 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6041 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6042 "     ' prfx=^$ac_symprfx"
6043   else
6044     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6045   fi
6046   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6047
6048   # Check to see that the pipe works correctly.
6049   pipe_works=no
6050
6051   rm -f conftest*
6052   cat > conftest.$ac_ext <<_LT_EOF
6053 #ifdef __cplusplus
6054 extern "C" {
6055 #endif
6056 char nm_test_var;
6057 void nm_test_func(void);
6058 void nm_test_func(void){}
6059 #ifdef __cplusplus
6060 }
6061 #endif
6062 int main(){nm_test_var='a';nm_test_func();return(0);}
6063 _LT_EOF
6064
6065   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6066   (eval $ac_compile) 2>&5
6067   ac_status=$?
6068   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6069   test $ac_status = 0; }; then
6070     # Now try to grab the symbols.
6071     nlist=conftest.nm
6072     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6073   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6074   ac_status=$?
6075   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6076   test $ac_status = 0; } && test -s "$nlist"; then
6077       # Try sorting and uniquifying the output.
6078       if sort "$nlist" | uniq > "$nlist"T; then
6079         mv -f "$nlist"T "$nlist"
6080       else
6081         rm -f "$nlist"T
6082       fi
6083
6084       # Make sure that we snagged all the symbols we need.
6085       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6086         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6087           cat <<_LT_EOF > conftest.$ac_ext
6088 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6089 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6090 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6091    relocations are performed -- see ld's documentation on pseudo-relocs.  */
6092 # define LT_DLSYM_CONST
6093 #elif defined(__osf__)
6094 /* This system does not cope well with relocations in const data.  */
6095 # define LT_DLSYM_CONST
6096 #else
6097 # define LT_DLSYM_CONST const
6098 #endif
6099
6100 #ifdef __cplusplus
6101 extern "C" {
6102 #endif
6103
6104 _LT_EOF
6105           # Now generate the symbol file.
6106           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6107
6108           cat <<_LT_EOF >> conftest.$ac_ext
6109
6110 /* The mapping between symbol names and symbols.  */
6111 LT_DLSYM_CONST struct {
6112   const char *name;
6113   void       *address;
6114 }
6115 lt__PROGRAM__LTX_preloaded_symbols[] =
6116 {
6117   { "@PROGRAM@", (void *) 0 },
6118 _LT_EOF
6119           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6120           cat <<\_LT_EOF >> conftest.$ac_ext
6121   {0, (void *) 0}
6122 };
6123
6124 /* This works around a problem in FreeBSD linker */
6125 #ifdef FREEBSD_WORKAROUND
6126 static const void *lt_preloaded_setup() {
6127   return lt__PROGRAM__LTX_preloaded_symbols;
6128 }
6129 #endif
6130
6131 #ifdef __cplusplus
6132 }
6133 #endif
6134 _LT_EOF
6135           # Now try linking the two files.
6136           mv conftest.$ac_objext conftstm.$ac_objext
6137           lt_globsym_save_LIBS=$LIBS
6138           lt_globsym_save_CFLAGS=$CFLAGS
6139           LIBS="conftstm.$ac_objext"
6140           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6141           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6142   (eval $ac_link) 2>&5
6143   ac_status=$?
6144   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6145   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6146             pipe_works=yes
6147           fi
6148           LIBS=$lt_globsym_save_LIBS
6149           CFLAGS=$lt_globsym_save_CFLAGS
6150         else
6151           echo "cannot find nm_test_func in $nlist" >&5
6152         fi
6153       else
6154         echo "cannot find nm_test_var in $nlist" >&5
6155       fi
6156     else
6157       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6158     fi
6159   else
6160     echo "$progname: failed program was:" >&5
6161     cat conftest.$ac_ext >&5
6162   fi
6163   rm -rf conftest* conftst*
6164
6165   # Do not use the global_symbol_pipe unless it works.
6166   if test "$pipe_works" = yes; then
6167     break
6168   else
6169     lt_cv_sys_global_symbol_pipe=
6170   fi
6171 done
6172
6173 fi
6174
6175 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6176   lt_cv_sys_global_symbol_to_cdecl=
6177 fi
6178 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6179   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6180 $as_echo "failed" >&6; }
6181 else
6182   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6183 $as_echo "ok" >&6; }
6184 fi
6185
6186 # Response file support.
6187 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6188   nm_file_list_spec='@'
6189 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6190   nm_file_list_spec='@'
6191 fi
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6220 $as_echo_n "checking for sysroot... " >&6; }
6221
6222 # Check whether --with-sysroot was given.
6223 if test "${with_sysroot+set}" = set; then :
6224   withval=$with_sysroot;
6225 else
6226   with_sysroot=no
6227 fi
6228
6229
6230 lt_sysroot=
6231 case ${with_sysroot} in #(
6232  yes)
6233    if test "$GCC" = yes; then
6234      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6235    fi
6236    ;; #(
6237  /*)
6238    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6239    ;; #(
6240  no|'')
6241    ;; #(
6242  *)
6243    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6244 $as_echo "${with_sysroot}" >&6; }
6245    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6246    ;;
6247 esac
6248
6249  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6250 $as_echo "${lt_sysroot:-no}" >&6; }
6251
6252
6253
6254
6255
6256 # Check whether --enable-libtool-lock was given.
6257 if test "${enable_libtool_lock+set}" = set; then :
6258   enableval=$enable_libtool_lock;
6259 fi
6260
6261 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6262
6263 # Some flags need to be propagated to the compiler or linker for good
6264 # libtool support.
6265 case $host in
6266 ia64-*-hpux*)
6267   # Find out which ABI we are using.
6268   echo 'int i;' > conftest.$ac_ext
6269   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6270   (eval $ac_compile) 2>&5
6271   ac_status=$?
6272   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6273   test $ac_status = 0; }; then
6274     case `/usr/bin/file conftest.$ac_objext` in
6275       *ELF-32*)
6276         HPUX_IA64_MODE="32"
6277         ;;
6278       *ELF-64*)
6279         HPUX_IA64_MODE="64"
6280         ;;
6281     esac
6282   fi
6283   rm -rf conftest*
6284   ;;
6285 *-*-irix6*)
6286   # Find out which ABI we are using.
6287   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6288   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6289   (eval $ac_compile) 2>&5
6290   ac_status=$?
6291   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6292   test $ac_status = 0; }; then
6293     if test "$lt_cv_prog_gnu_ld" = yes; then
6294       case `/usr/bin/file conftest.$ac_objext` in
6295         *32-bit*)
6296           LD="${LD-ld} -melf32bsmip"
6297           ;;
6298         *N32*)
6299           LD="${LD-ld} -melf32bmipn32"
6300           ;;
6301         *64-bit*)
6302           LD="${LD-ld} -melf64bmip"
6303         ;;
6304       esac
6305     else
6306       case `/usr/bin/file conftest.$ac_objext` in
6307         *32-bit*)
6308           LD="${LD-ld} -32"
6309           ;;
6310         *N32*)
6311           LD="${LD-ld} -n32"
6312           ;;
6313         *64-bit*)
6314           LD="${LD-ld} -64"
6315           ;;
6316       esac
6317     fi
6318   fi
6319   rm -rf conftest*
6320   ;;
6321
6322 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6323 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6324   # Find out which ABI we are using.
6325   echo 'int i;' > conftest.$ac_ext
6326   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6327   (eval $ac_compile) 2>&5
6328   ac_status=$?
6329   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6330   test $ac_status = 0; }; then
6331     case `/usr/bin/file conftest.o` in
6332       *32-bit*)
6333         case $host in
6334           x86_64-*kfreebsd*-gnu)
6335             LD="${LD-ld} -m elf_i386_fbsd"
6336             ;;
6337           x86_64-*linux*)
6338             LD="${LD-ld} -m elf_i386"
6339             ;;
6340           ppc64-*linux*|powerpc64-*linux*)
6341             LD="${LD-ld} -m elf32ppclinux"
6342             ;;
6343           s390x-*linux*)
6344             LD="${LD-ld} -m elf_s390"
6345             ;;
6346           sparc64-*linux*)
6347             LD="${LD-ld} -m elf32_sparc"
6348             ;;
6349         esac
6350         ;;
6351       *64-bit*)
6352         case $host in
6353           x86_64-*kfreebsd*-gnu)
6354             LD="${LD-ld} -m elf_x86_64_fbsd"
6355             ;;
6356           x86_64-*linux*)
6357             LD="${LD-ld} -m elf_x86_64"
6358             ;;
6359           ppc*-*linux*|powerpc*-*linux*)
6360             LD="${LD-ld} -m elf64ppc"
6361             ;;
6362           s390*-*linux*|s390*-*tpf*)
6363             LD="${LD-ld} -m elf64_s390"
6364             ;;
6365           sparc*-*linux*)
6366             LD="${LD-ld} -m elf64_sparc"
6367             ;;
6368         esac
6369         ;;
6370     esac
6371   fi
6372   rm -rf conftest*
6373   ;;
6374
6375 *-*-sco3.2v5*)
6376   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6377   SAVE_CFLAGS="$CFLAGS"
6378   CFLAGS="$CFLAGS -belf"
6379   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6380 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6381 if ${lt_cv_cc_needs_belf+:} false; then :
6382   $as_echo_n "(cached) " >&6
6383 else
6384   ac_ext=c
6385 ac_cpp='$CPP $CPPFLAGS'
6386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6389
6390      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6391 /* end confdefs.h.  */
6392
6393 int
6394 main ()
6395 {
6396
6397   ;
6398   return 0;
6399 }
6400 _ACEOF
6401 if ac_fn_c_try_link "$LINENO"; then :
6402   lt_cv_cc_needs_belf=yes
6403 else
6404   lt_cv_cc_needs_belf=no
6405 fi
6406 rm -f core conftest.err conftest.$ac_objext \
6407     conftest$ac_exeext conftest.$ac_ext
6408      ac_ext=c
6409 ac_cpp='$CPP $CPPFLAGS'
6410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6413
6414 fi
6415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6416 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6417   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6418     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6419     CFLAGS="$SAVE_CFLAGS"
6420   fi
6421   ;;
6422 *-*solaris*)
6423   # Find out which ABI we are using.
6424   echo 'int i;' > conftest.$ac_ext
6425   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6426   (eval $ac_compile) 2>&5
6427   ac_status=$?
6428   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6429   test $ac_status = 0; }; then
6430     case `/usr/bin/file conftest.o` in
6431     *64-bit*)
6432       case $lt_cv_prog_gnu_ld in
6433       yes*)
6434         case $host in
6435         i?86-*-solaris*)
6436           LD="${LD-ld} -m elf_x86_64"
6437           ;;
6438         sparc*-*-solaris*)
6439           LD="${LD-ld} -m elf64_sparc"
6440           ;;
6441         esac
6442         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6443         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6444           LD="${LD-ld}_sol2"
6445         fi
6446         ;;
6447       *)
6448         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6449           LD="${LD-ld} -64"
6450         fi
6451         ;;
6452       esac
6453       ;;
6454     esac
6455   fi
6456   rm -rf conftest*
6457   ;;
6458 esac
6459
6460 need_locks="$enable_libtool_lock"
6461
6462 if test -n "$ac_tool_prefix"; then
6463   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6464 set dummy ${ac_tool_prefix}mt; ac_word=$2
6465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6466 $as_echo_n "checking for $ac_word... " >&6; }
6467 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6468   $as_echo_n "(cached) " >&6
6469 else
6470   if test -n "$MANIFEST_TOOL"; then
6471   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6472 else
6473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6474 for as_dir in $PATH
6475 do
6476   IFS=$as_save_IFS
6477   test -z "$as_dir" && as_dir=.
6478     for ac_exec_ext in '' $ac_executable_extensions; do
6479   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6480     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6481     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6482     break 2
6483   fi
6484 done
6485   done
6486 IFS=$as_save_IFS
6487
6488 fi
6489 fi
6490 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6491 if test -n "$MANIFEST_TOOL"; then
6492   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6493 $as_echo "$MANIFEST_TOOL" >&6; }
6494 else
6495   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6496 $as_echo "no" >&6; }
6497 fi
6498
6499
6500 fi
6501 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6502   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6503   # Extract the first word of "mt", so it can be a program name with args.
6504 set dummy mt; ac_word=$2
6505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6506 $as_echo_n "checking for $ac_word... " >&6; }
6507 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6508   $as_echo_n "(cached) " >&6
6509 else
6510   if test -n "$ac_ct_MANIFEST_TOOL"; then
6511   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6512 else
6513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6514 for as_dir in $PATH
6515 do
6516   IFS=$as_save_IFS
6517   test -z "$as_dir" && as_dir=.
6518     for ac_exec_ext in '' $ac_executable_extensions; do
6519   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6520     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6521     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6522     break 2
6523   fi
6524 done
6525   done
6526 IFS=$as_save_IFS
6527
6528 fi
6529 fi
6530 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6531 if test -n "$ac_ct_MANIFEST_TOOL"; then
6532   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6533 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6534 else
6535   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6536 $as_echo "no" >&6; }
6537 fi
6538
6539   if test "x$ac_ct_MANIFEST_TOOL" = x; then
6540     MANIFEST_TOOL=":"
6541   else
6542     case $cross_compiling:$ac_tool_warned in
6543 yes:)
6544 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6545 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6546 ac_tool_warned=yes ;;
6547 esac
6548     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6549   fi
6550 else
6551   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6552 fi
6553
6554 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6556 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6557 if ${lt_cv_path_mainfest_tool+:} false; then :
6558   $as_echo_n "(cached) " >&6
6559 else
6560   lt_cv_path_mainfest_tool=no
6561   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6562   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6563   cat conftest.err >&5
6564   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6565     lt_cv_path_mainfest_tool=yes
6566   fi
6567   rm -f conftest*
6568 fi
6569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6570 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6571 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6572   MANIFEST_TOOL=:
6573 fi
6574
6575
6576
6577
6578
6579
6580   case $host_os in
6581     rhapsody* | darwin*)
6582     if test -n "$ac_tool_prefix"; then
6583   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6584 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6586 $as_echo_n "checking for $ac_word... " >&6; }
6587 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6588   $as_echo_n "(cached) " >&6
6589 else
6590   if test -n "$DSYMUTIL"; then
6591   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6592 else
6593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6594 for as_dir in $PATH
6595 do
6596   IFS=$as_save_IFS
6597   test -z "$as_dir" && as_dir=.
6598     for ac_exec_ext in '' $ac_executable_extensions; do
6599   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6600     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6601     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6602     break 2
6603   fi
6604 done
6605   done
6606 IFS=$as_save_IFS
6607
6608 fi
6609 fi
6610 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6611 if test -n "$DSYMUTIL"; then
6612   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6613 $as_echo "$DSYMUTIL" >&6; }
6614 else
6615   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6616 $as_echo "no" >&6; }
6617 fi
6618
6619
6620 fi
6621 if test -z "$ac_cv_prog_DSYMUTIL"; then
6622   ac_ct_DSYMUTIL=$DSYMUTIL
6623   # Extract the first word of "dsymutil", so it can be a program name with args.
6624 set dummy dsymutil; ac_word=$2
6625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6626 $as_echo_n "checking for $ac_word... " >&6; }
6627 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6628   $as_echo_n "(cached) " >&6
6629 else
6630   if test -n "$ac_ct_DSYMUTIL"; then
6631   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6632 else
6633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6634 for as_dir in $PATH
6635 do
6636   IFS=$as_save_IFS
6637   test -z "$as_dir" && as_dir=.
6638     for ac_exec_ext in '' $ac_executable_extensions; do
6639   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6640     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6641     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6642     break 2
6643   fi
6644 done
6645   done
6646 IFS=$as_save_IFS
6647
6648 fi
6649 fi
6650 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6651 if test -n "$ac_ct_DSYMUTIL"; then
6652   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6653 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6654 else
6655   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6656 $as_echo "no" >&6; }
6657 fi
6658
6659   if test "x$ac_ct_DSYMUTIL" = x; then
6660     DSYMUTIL=":"
6661   else
6662     case $cross_compiling:$ac_tool_warned in
6663 yes:)
6664 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6665 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6666 ac_tool_warned=yes ;;
6667 esac
6668     DSYMUTIL=$ac_ct_DSYMUTIL
6669   fi
6670 else
6671   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6672 fi
6673
6674     if test -n "$ac_tool_prefix"; then
6675   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6676 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6678 $as_echo_n "checking for $ac_word... " >&6; }
6679 if ${ac_cv_prog_NMEDIT+:} false; then :
6680   $as_echo_n "(cached) " >&6
6681 else
6682   if test -n "$NMEDIT"; then
6683   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6684 else
6685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6686 for as_dir in $PATH
6687 do
6688   IFS=$as_save_IFS
6689   test -z "$as_dir" && as_dir=.
6690     for ac_exec_ext in '' $ac_executable_extensions; do
6691   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6692     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6693     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6694     break 2
6695   fi
6696 done
6697   done
6698 IFS=$as_save_IFS
6699
6700 fi
6701 fi
6702 NMEDIT=$ac_cv_prog_NMEDIT
6703 if test -n "$NMEDIT"; then
6704   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6705 $as_echo "$NMEDIT" >&6; }
6706 else
6707   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6708 $as_echo "no" >&6; }
6709 fi
6710
6711
6712 fi
6713 if test -z "$ac_cv_prog_NMEDIT"; then
6714   ac_ct_NMEDIT=$NMEDIT
6715   # Extract the first word of "nmedit", so it can be a program name with args.
6716 set dummy nmedit; ac_word=$2
6717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6718 $as_echo_n "checking for $ac_word... " >&6; }
6719 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6720   $as_echo_n "(cached) " >&6
6721 else
6722   if test -n "$ac_ct_NMEDIT"; then
6723   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6724 else
6725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6726 for as_dir in $PATH
6727 do
6728   IFS=$as_save_IFS
6729   test -z "$as_dir" && as_dir=.
6730     for ac_exec_ext in '' $ac_executable_extensions; do
6731   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6732     ac_cv_prog_ac_ct_NMEDIT="nmedit"
6733     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6734     break 2
6735   fi
6736 done
6737   done
6738 IFS=$as_save_IFS
6739
6740 fi
6741 fi
6742 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6743 if test -n "$ac_ct_NMEDIT"; then
6744   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6745 $as_echo "$ac_ct_NMEDIT" >&6; }
6746 else
6747   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6748 $as_echo "no" >&6; }
6749 fi
6750
6751   if test "x$ac_ct_NMEDIT" = x; then
6752     NMEDIT=":"
6753   else
6754     case $cross_compiling:$ac_tool_warned in
6755 yes:)
6756 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6757 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6758 ac_tool_warned=yes ;;
6759 esac
6760     NMEDIT=$ac_ct_NMEDIT
6761   fi
6762 else
6763   NMEDIT="$ac_cv_prog_NMEDIT"
6764 fi
6765
6766     if test -n "$ac_tool_prefix"; then
6767   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6768 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6770 $as_echo_n "checking for $ac_word... " >&6; }
6771 if ${ac_cv_prog_LIPO+:} false; then :
6772   $as_echo_n "(cached) " >&6
6773 else
6774   if test -n "$LIPO"; then
6775   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6776 else
6777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6778 for as_dir in $PATH
6779 do
6780   IFS=$as_save_IFS
6781   test -z "$as_dir" && as_dir=.
6782     for ac_exec_ext in '' $ac_executable_extensions; do
6783   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6784     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6785     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6786     break 2
6787   fi
6788 done
6789   done
6790 IFS=$as_save_IFS
6791
6792 fi
6793 fi
6794 LIPO=$ac_cv_prog_LIPO
6795 if test -n "$LIPO"; then
6796   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6797 $as_echo "$LIPO" >&6; }
6798 else
6799   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6800 $as_echo "no" >&6; }
6801 fi
6802
6803
6804 fi
6805 if test -z "$ac_cv_prog_LIPO"; then
6806   ac_ct_LIPO=$LIPO
6807   # Extract the first word of "lipo", so it can be a program name with args.
6808 set dummy lipo; ac_word=$2
6809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6810 $as_echo_n "checking for $ac_word... " >&6; }
6811 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6812   $as_echo_n "(cached) " >&6
6813 else
6814   if test -n "$ac_ct_LIPO"; then
6815   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6816 else
6817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6818 for as_dir in $PATH
6819 do
6820   IFS=$as_save_IFS
6821   test -z "$as_dir" && as_dir=.
6822     for ac_exec_ext in '' $ac_executable_extensions; do
6823   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6824     ac_cv_prog_ac_ct_LIPO="lipo"
6825     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6826     break 2
6827   fi
6828 done
6829   done
6830 IFS=$as_save_IFS
6831
6832 fi
6833 fi
6834 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6835 if test -n "$ac_ct_LIPO"; then
6836   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6837 $as_echo "$ac_ct_LIPO" >&6; }
6838 else
6839   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6840 $as_echo "no" >&6; }
6841 fi
6842
6843   if test "x$ac_ct_LIPO" = x; then
6844     LIPO=":"
6845   else
6846     case $cross_compiling:$ac_tool_warned in
6847 yes:)
6848 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6849 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6850 ac_tool_warned=yes ;;
6851 esac
6852     LIPO=$ac_ct_LIPO
6853   fi
6854 else
6855   LIPO="$ac_cv_prog_LIPO"
6856 fi
6857
6858     if test -n "$ac_tool_prefix"; then
6859   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6860 set dummy ${ac_tool_prefix}otool; ac_word=$2
6861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6862 $as_echo_n "checking for $ac_word... " >&6; }
6863 if ${ac_cv_prog_OTOOL+:} false; then :
6864   $as_echo_n "(cached) " >&6
6865 else
6866   if test -n "$OTOOL"; then
6867   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6868 else
6869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6870 for as_dir in $PATH
6871 do
6872   IFS=$as_save_IFS
6873   test -z "$as_dir" && as_dir=.
6874     for ac_exec_ext in '' $ac_executable_extensions; do
6875   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6876     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6877     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6878     break 2
6879   fi
6880 done
6881   done
6882 IFS=$as_save_IFS
6883
6884 fi
6885 fi
6886 OTOOL=$ac_cv_prog_OTOOL
6887 if test -n "$OTOOL"; then
6888   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6889 $as_echo "$OTOOL" >&6; }
6890 else
6891   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6892 $as_echo "no" >&6; }
6893 fi
6894
6895
6896 fi
6897 if test -z "$ac_cv_prog_OTOOL"; then
6898   ac_ct_OTOOL=$OTOOL
6899   # Extract the first word of "otool", so it can be a program name with args.
6900 set dummy otool; ac_word=$2
6901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6902 $as_echo_n "checking for $ac_word... " >&6; }
6903 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6904   $as_echo_n "(cached) " >&6
6905 else
6906   if test -n "$ac_ct_OTOOL"; then
6907   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6908 else
6909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6910 for as_dir in $PATH
6911 do
6912   IFS=$as_save_IFS
6913   test -z "$as_dir" && as_dir=.
6914     for ac_exec_ext in '' $ac_executable_extensions; do
6915   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6916     ac_cv_prog_ac_ct_OTOOL="otool"
6917     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6918     break 2
6919   fi
6920 done
6921   done
6922 IFS=$as_save_IFS
6923
6924 fi
6925 fi
6926 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6927 if test -n "$ac_ct_OTOOL"; then
6928   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6929 $as_echo "$ac_ct_OTOOL" >&6; }
6930 else
6931   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6932 $as_echo "no" >&6; }
6933 fi
6934
6935   if test "x$ac_ct_OTOOL" = x; then
6936     OTOOL=":"
6937   else
6938     case $cross_compiling:$ac_tool_warned in
6939 yes:)
6940 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6941 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6942 ac_tool_warned=yes ;;
6943 esac
6944     OTOOL=$ac_ct_OTOOL
6945   fi
6946 else
6947   OTOOL="$ac_cv_prog_OTOOL"
6948 fi
6949
6950     if test -n "$ac_tool_prefix"; then
6951   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6952 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6954 $as_echo_n "checking for $ac_word... " >&6; }
6955 if ${ac_cv_prog_OTOOL64+:} false; then :
6956   $as_echo_n "(cached) " >&6
6957 else
6958   if test -n "$OTOOL64"; then
6959   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6960 else
6961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6962 for as_dir in $PATH
6963 do
6964   IFS=$as_save_IFS
6965   test -z "$as_dir" && as_dir=.
6966     for ac_exec_ext in '' $ac_executable_extensions; do
6967   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6968     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6969     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6970     break 2
6971   fi
6972 done
6973   done
6974 IFS=$as_save_IFS
6975
6976 fi
6977 fi
6978 OTOOL64=$ac_cv_prog_OTOOL64
6979 if test -n "$OTOOL64"; then
6980   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6981 $as_echo "$OTOOL64" >&6; }
6982 else
6983   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6984 $as_echo "no" >&6; }
6985 fi
6986
6987
6988 fi
6989 if test -z "$ac_cv_prog_OTOOL64"; then
6990   ac_ct_OTOOL64=$OTOOL64
6991   # Extract the first word of "otool64", so it can be a program name with args.
6992 set dummy otool64; ac_word=$2
6993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6994 $as_echo_n "checking for $ac_word... " >&6; }
6995 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
6996   $as_echo_n "(cached) " >&6
6997 else
6998   if test -n "$ac_ct_OTOOL64"; then
6999   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7000 else
7001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7002 for as_dir in $PATH
7003 do
7004   IFS=$as_save_IFS
7005   test -z "$as_dir" && as_dir=.
7006     for ac_exec_ext in '' $ac_executable_extensions; do
7007   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7008     ac_cv_prog_ac_ct_OTOOL64="otool64"
7009     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7010     break 2
7011   fi
7012 done
7013   done
7014 IFS=$as_save_IFS
7015
7016 fi
7017 fi
7018 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7019 if test -n "$ac_ct_OTOOL64"; then
7020   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7021 $as_echo "$ac_ct_OTOOL64" >&6; }
7022 else
7023   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7024 $as_echo "no" >&6; }
7025 fi
7026
7027   if test "x$ac_ct_OTOOL64" = x; then
7028     OTOOL64=":"
7029   else
7030     case $cross_compiling:$ac_tool_warned in
7031 yes:)
7032 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7033 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7034 ac_tool_warned=yes ;;
7035 esac
7036     OTOOL64=$ac_ct_OTOOL64
7037   fi
7038 else
7039   OTOOL64="$ac_cv_prog_OTOOL64"
7040 fi
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7069 $as_echo_n "checking for -single_module linker flag... " >&6; }
7070 if ${lt_cv_apple_cc_single_mod+:} false; then :
7071   $as_echo_n "(cached) " >&6
7072 else
7073   lt_cv_apple_cc_single_mod=no
7074       if test -z "${LT_MULTI_MODULE}"; then
7075         # By default we will add the -single_module flag. You can override
7076         # by either setting the environment variable LT_MULTI_MODULE
7077         # non-empty at configure time, or by adding -multi_module to the
7078         # link flags.
7079         rm -rf libconftest.dylib*
7080         echo "int foo(void){return 1;}" > conftest.c
7081         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7082 -dynamiclib -Wl,-single_module conftest.c" >&5
7083         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7084           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7085         _lt_result=$?
7086         # If there is a non-empty error log, and "single_module"
7087         # appears in it, assume the flag caused a linker warning
7088         if test -s conftest.err && $GREP single_module conftest.err; then
7089           cat conftest.err >&5
7090         # Otherwise, if the output was created with a 0 exit code from
7091         # the compiler, it worked.
7092         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7093           lt_cv_apple_cc_single_mod=yes
7094         else
7095           cat conftest.err >&5
7096         fi
7097         rm -rf libconftest.dylib*
7098         rm -f conftest.*
7099       fi
7100 fi
7101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7102 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7103
7104     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7105 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7106 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7107   $as_echo_n "(cached) " >&6
7108 else
7109   lt_cv_ld_exported_symbols_list=no
7110       save_LDFLAGS=$LDFLAGS
7111       echo "_main" > conftest.sym
7112       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7113       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7114 /* end confdefs.h.  */
7115
7116 int
7117 main ()
7118 {
7119
7120   ;
7121   return 0;
7122 }
7123 _ACEOF
7124 if ac_fn_c_try_link "$LINENO"; then :
7125   lt_cv_ld_exported_symbols_list=yes
7126 else
7127   lt_cv_ld_exported_symbols_list=no
7128 fi
7129 rm -f core conftest.err conftest.$ac_objext \
7130     conftest$ac_exeext conftest.$ac_ext
7131         LDFLAGS="$save_LDFLAGS"
7132
7133 fi
7134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7135 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7136
7137     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7138 $as_echo_n "checking for -force_load linker flag... " >&6; }
7139 if ${lt_cv_ld_force_load+:} false; then :
7140   $as_echo_n "(cached) " >&6
7141 else
7142   lt_cv_ld_force_load=no
7143       cat > conftest.c << _LT_EOF
7144 int forced_loaded() { return 2;}
7145 _LT_EOF
7146       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7147       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7148       echo "$AR cru libconftest.a conftest.o" >&5
7149       $AR cru libconftest.a conftest.o 2>&5
7150       echo "$RANLIB libconftest.a" >&5
7151       $RANLIB libconftest.a 2>&5
7152       cat > conftest.c << _LT_EOF
7153 int main() { return 0;}
7154 _LT_EOF
7155       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7156       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7157       _lt_result=$?
7158       if test -s conftest.err && $GREP force_load conftest.err; then
7159         cat conftest.err >&5
7160       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7161         lt_cv_ld_force_load=yes
7162       else
7163         cat conftest.err >&5
7164       fi
7165         rm -f conftest.err libconftest.a conftest conftest.c
7166         rm -rf conftest.dSYM
7167
7168 fi
7169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7170 $as_echo "$lt_cv_ld_force_load" >&6; }
7171     case $host_os in
7172     rhapsody* | darwin1.[012])
7173       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7174     darwin1.*)
7175       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7176     darwin*) # darwin 5.x on
7177       # if running on 10.5 or later, the deployment target defaults
7178       # to the OS version, if on x86, and 10.4, the deployment
7179       # target defaults to 10.4. Don't you love it?
7180       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7181         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7182           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7183         10.[012]*)
7184           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7185         10.*)
7186           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7187       esac
7188     ;;
7189   esac
7190     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7191       _lt_dar_single_mod='$single_module'
7192     fi
7193     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7194       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7195     else
7196       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7197     fi
7198     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7199       _lt_dsymutil='~$DSYMUTIL $lib || :'
7200     else
7201       _lt_dsymutil=
7202     fi
7203     ;;
7204   esac
7205
7206 ac_ext=c
7207 ac_cpp='$CPP $CPPFLAGS'
7208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7212 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7213 # On Suns, sometimes $CPP names a directory.
7214 if test -n "$CPP" && test -d "$CPP"; then
7215   CPP=
7216 fi
7217 if test -z "$CPP"; then
7218   if ${ac_cv_prog_CPP+:} false; then :
7219   $as_echo_n "(cached) " >&6
7220 else
7221       # Double quotes because CPP needs to be expanded
7222     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7223     do
7224       ac_preproc_ok=false
7225 for ac_c_preproc_warn_flag in '' yes
7226 do
7227   # Use a header file that comes with gcc, so configuring glibc
7228   # with a fresh cross-compiler works.
7229   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7230   # <limits.h> exists even on freestanding compilers.
7231   # On the NeXT, cc -E runs the code through the compiler's parser,
7232   # not just through cpp. "Syntax error" is here to catch this case.
7233   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7234 /* end confdefs.h.  */
7235 #ifdef __STDC__
7236 # include <limits.h>
7237 #else
7238 # include <assert.h>
7239 #endif
7240                      Syntax error
7241 _ACEOF
7242 if ac_fn_c_try_cpp "$LINENO"; then :
7243
7244 else
7245   # Broken: fails on valid input.
7246 continue
7247 fi
7248 rm -f conftest.err conftest.i conftest.$ac_ext
7249
7250   # OK, works on sane cases.  Now check whether nonexistent headers
7251   # can be detected and how.
7252   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7253 /* end confdefs.h.  */
7254 #include <ac_nonexistent.h>
7255 _ACEOF
7256 if ac_fn_c_try_cpp "$LINENO"; then :
7257   # Broken: success on invalid input.
7258 continue
7259 else
7260   # Passes both tests.
7261 ac_preproc_ok=:
7262 break
7263 fi
7264 rm -f conftest.err conftest.i conftest.$ac_ext
7265
7266 done
7267 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7268 rm -f conftest.i conftest.err conftest.$ac_ext
7269 if $ac_preproc_ok; then :
7270   break
7271 fi
7272
7273     done
7274     ac_cv_prog_CPP=$CPP
7275
7276 fi
7277   CPP=$ac_cv_prog_CPP
7278 else
7279   ac_cv_prog_CPP=$CPP
7280 fi
7281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7282 $as_echo "$CPP" >&6; }
7283 ac_preproc_ok=false
7284 for ac_c_preproc_warn_flag in '' yes
7285 do
7286   # Use a header file that comes with gcc, so configuring glibc
7287   # with a fresh cross-compiler works.
7288   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7289   # <limits.h> exists even on freestanding compilers.
7290   # On the NeXT, cc -E runs the code through the compiler's parser,
7291   # not just through cpp. "Syntax error" is here to catch this case.
7292   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7293 /* end confdefs.h.  */
7294 #ifdef __STDC__
7295 # include <limits.h>
7296 #else
7297 # include <assert.h>
7298 #endif
7299                      Syntax error
7300 _ACEOF
7301 if ac_fn_c_try_cpp "$LINENO"; then :
7302
7303 else
7304   # Broken: fails on valid input.
7305 continue
7306 fi
7307 rm -f conftest.err conftest.i conftest.$ac_ext
7308
7309   # OK, works on sane cases.  Now check whether nonexistent headers
7310   # can be detected and how.
7311   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7312 /* end confdefs.h.  */
7313 #include <ac_nonexistent.h>
7314 _ACEOF
7315 if ac_fn_c_try_cpp "$LINENO"; then :
7316   # Broken: success on invalid input.
7317 continue
7318 else
7319   # Passes both tests.
7320 ac_preproc_ok=:
7321 break
7322 fi
7323 rm -f conftest.err conftest.i conftest.$ac_ext
7324
7325 done
7326 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7327 rm -f conftest.i conftest.err conftest.$ac_ext
7328 if $ac_preproc_ok; then :
7329
7330 else
7331   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7332 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7333 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7334 See \`config.log' for more details" "$LINENO" 5; }
7335 fi
7336
7337 ac_ext=c
7338 ac_cpp='$CPP $CPPFLAGS'
7339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7342
7343
7344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7345 $as_echo_n "checking for ANSI C header files... " >&6; }
7346 if ${ac_cv_header_stdc+:} false; then :
7347   $as_echo_n "(cached) " >&6
7348 else
7349   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7350 /* end confdefs.h.  */
7351 #include <stdlib.h>
7352 #include <stdarg.h>
7353 #include <string.h>
7354 #include <float.h>
7355
7356 int
7357 main ()
7358 {
7359
7360   ;
7361   return 0;
7362 }
7363 _ACEOF
7364 if ac_fn_c_try_compile "$LINENO"; then :
7365   ac_cv_header_stdc=yes
7366 else
7367   ac_cv_header_stdc=no
7368 fi
7369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7370
7371 if test $ac_cv_header_stdc = yes; then
7372   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7373   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7374 /* end confdefs.h.  */
7375 #include <string.h>
7376
7377 _ACEOF
7378 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7379   $EGREP "memchr" >/dev/null 2>&1; then :
7380
7381 else
7382   ac_cv_header_stdc=no
7383 fi
7384 rm -f conftest*
7385
7386 fi
7387
7388 if test $ac_cv_header_stdc = yes; then
7389   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7390   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7391 /* end confdefs.h.  */
7392 #include <stdlib.h>
7393
7394 _ACEOF
7395 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7396   $EGREP "free" >/dev/null 2>&1; then :
7397
7398 else
7399   ac_cv_header_stdc=no
7400 fi
7401 rm -f conftest*
7402
7403 fi
7404
7405 if test $ac_cv_header_stdc = yes; then
7406   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7407   if test "$cross_compiling" = yes; then :
7408   :
7409 else
7410   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7411 /* end confdefs.h.  */
7412 #include <ctype.h>
7413 #include <stdlib.h>
7414 #if ((' ' & 0x0FF) == 0x020)
7415 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7416 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7417 #else
7418 # define ISLOWER(c) \
7419                    (('a' <= (c) && (c) <= 'i') \
7420                      || ('j' <= (c) && (c) <= 'r') \
7421                      || ('s' <= (c) && (c) <= 'z'))
7422 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7423 #endif
7424
7425 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7426 int
7427 main ()
7428 {
7429   int i;
7430   for (i = 0; i < 256; i++)
7431     if (XOR (islower (i), ISLOWER (i))
7432         || toupper (i) != TOUPPER (i))
7433       return 2;
7434   return 0;
7435 }
7436 _ACEOF
7437 if ac_fn_c_try_run "$LINENO"; then :
7438
7439 else
7440   ac_cv_header_stdc=no
7441 fi
7442 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7443   conftest.$ac_objext conftest.beam conftest.$ac_ext
7444 fi
7445
7446 fi
7447 fi
7448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7449 $as_echo "$ac_cv_header_stdc" >&6; }
7450 if test $ac_cv_header_stdc = yes; then
7451
7452 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7453
7454 fi
7455
7456 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7457 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7458                   inttypes.h stdint.h unistd.h
7459 do :
7460   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7461 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7462 "
7463 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7464   cat >>confdefs.h <<_ACEOF
7465 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7466 _ACEOF
7467
7468 fi
7469
7470 done
7471
7472
7473 for ac_header in dlfcn.h
7474 do :
7475   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7476 "
7477 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7478   cat >>confdefs.h <<_ACEOF
7479 #define HAVE_DLFCN_H 1
7480 _ACEOF
7481
7482 fi
7483
7484 done
7485
7486
7487
7488
7489
7490 # Set options
7491
7492
7493
7494         enable_dlopen=no
7495
7496
7497   enable_win32_dll=no
7498
7499
7500             # Check whether --enable-shared was given.
7501 if test "${enable_shared+set}" = set; then :
7502   enableval=$enable_shared; p=${PACKAGE-default}
7503     case $enableval in
7504     yes) enable_shared=yes ;;
7505     no) enable_shared=no ;;
7506     *)
7507       enable_shared=no
7508       # Look at the argument we got.  We use all the common list separators.
7509       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7510       for pkg in $enableval; do
7511         IFS="$lt_save_ifs"
7512         if test "X$pkg" = "X$p"; then
7513           enable_shared=yes
7514         fi
7515       done
7516       IFS="$lt_save_ifs"
7517       ;;
7518     esac
7519 else
7520   enable_shared=yes
7521 fi
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533 # Check whether --with-pic was given.
7534 if test "${with_pic+set}" = set; then :
7535   withval=$with_pic; lt_p=${PACKAGE-default}
7536     case $withval in
7537     yes|no) pic_mode=$withval ;;
7538     *)
7539       pic_mode=default
7540       # Look at the argument we got.  We use all the common list separators.
7541       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7542       for lt_pkg in $withval; do
7543         IFS="$lt_save_ifs"
7544         if test "X$lt_pkg" = "X$lt_p"; then
7545           pic_mode=yes
7546         fi
7547       done
7548       IFS="$lt_save_ifs"
7549       ;;
7550     esac
7551 else
7552   pic_mode=default
7553 fi
7554
7555
7556 test -z "$pic_mode" && pic_mode=default
7557
7558
7559
7560
7561
7562
7563
7564   # Check whether --enable-fast-install was given.
7565 if test "${enable_fast_install+set}" = set; then :
7566   enableval=$enable_fast_install; p=${PACKAGE-default}
7567     case $enableval in
7568     yes) enable_fast_install=yes ;;
7569     no) enable_fast_install=no ;;
7570     *)
7571       enable_fast_install=no
7572       # Look at the argument we got.  We use all the common list separators.
7573       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7574       for pkg in $enableval; do
7575         IFS="$lt_save_ifs"
7576         if test "X$pkg" = "X$p"; then
7577           enable_fast_install=yes
7578         fi
7579       done
7580       IFS="$lt_save_ifs"
7581       ;;
7582     esac
7583 else
7584   enable_fast_install=yes
7585 fi
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597 # This can be used to rebuild libtool when needed
7598 LIBTOOL_DEPS="$ltmain"
7599
7600 # Always use our own libtool.
7601 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632 test -z "$LN_S" && LN_S="ln -s"
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645
7646
7647 if test -n "${ZSH_VERSION+set}" ; then
7648    setopt NO_GLOB_SUBST
7649 fi
7650
7651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7652 $as_echo_n "checking for objdir... " >&6; }
7653 if ${lt_cv_objdir+:} false; then :
7654   $as_echo_n "(cached) " >&6
7655 else
7656   rm -f .libs 2>/dev/null
7657 mkdir .libs 2>/dev/null
7658 if test -d .libs; then
7659   lt_cv_objdir=.libs
7660 else
7661   # MS-DOS does not allow filenames that begin with a dot.
7662   lt_cv_objdir=_libs
7663 fi
7664 rmdir .libs 2>/dev/null
7665 fi
7666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7667 $as_echo "$lt_cv_objdir" >&6; }
7668 objdir=$lt_cv_objdir
7669
7670
7671
7672
7673
7674 cat >>confdefs.h <<_ACEOF
7675 #define LT_OBJDIR "$lt_cv_objdir/"
7676 _ACEOF
7677
7678
7679
7680
7681 case $host_os in
7682 aix3*)
7683   # AIX sometimes has problems with the GCC collect2 program.  For some
7684   # reason, if we set the COLLECT_NAMES environment variable, the problems
7685   # vanish in a puff of smoke.
7686   if test "X${COLLECT_NAMES+set}" != Xset; then
7687     COLLECT_NAMES=
7688     export COLLECT_NAMES
7689   fi
7690   ;;
7691 esac
7692
7693 # Global variables:
7694 ofile=libtool
7695 can_build_shared=yes
7696
7697 # All known linkers require a `.a' archive for static linking (except MSVC,
7698 # which needs '.lib').
7699 libext=a
7700
7701 with_gnu_ld="$lt_cv_prog_gnu_ld"
7702
7703 old_CC="$CC"
7704 old_CFLAGS="$CFLAGS"
7705
7706 # Set sane defaults for various variables
7707 test -z "$CC" && CC=cc
7708 test -z "$LTCC" && LTCC=$CC
7709 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7710 test -z "$LD" && LD=ld
7711 test -z "$ac_objext" && ac_objext=o
7712
7713 for cc_temp in $compiler""; do
7714   case $cc_temp in
7715     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7716     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7717     \-*) ;;
7718     *) break;;
7719   esac
7720 done
7721 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7722
7723
7724 # Only perform the check for file, if the check method requires it
7725 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7726 case $deplibs_check_method in
7727 file_magic*)
7728   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7729     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7730 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7731 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7732   $as_echo_n "(cached) " >&6
7733 else
7734   case $MAGIC_CMD in
7735 [\\/*] |  ?:[\\/]*)
7736   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7737   ;;
7738 *)
7739   lt_save_MAGIC_CMD="$MAGIC_CMD"
7740   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7741   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7742   for ac_dir in $ac_dummy; do
7743     IFS="$lt_save_ifs"
7744     test -z "$ac_dir" && ac_dir=.
7745     if test -f $ac_dir/${ac_tool_prefix}file; then
7746       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7747       if test -n "$file_magic_test_file"; then
7748         case $deplibs_check_method in
7749         "file_magic "*)
7750           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7751           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7752           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7753             $EGREP "$file_magic_regex" > /dev/null; then
7754             :
7755           else
7756             cat <<_LT_EOF 1>&2
7757
7758 *** Warning: the command libtool uses to detect shared libraries,
7759 *** $file_magic_cmd, produces output that libtool cannot recognize.
7760 *** The result is that libtool may fail to recognize shared libraries
7761 *** as such.  This will affect the creation of libtool libraries that
7762 *** depend on shared libraries, but programs linked with such libtool
7763 *** libraries will work regardless of this problem.  Nevertheless, you
7764 *** may want to report the problem to your system manager and/or to
7765 *** bug-libtool@gnu.org
7766
7767 _LT_EOF
7768           fi ;;
7769         esac
7770       fi
7771       break
7772     fi
7773   done
7774   IFS="$lt_save_ifs"
7775   MAGIC_CMD="$lt_save_MAGIC_CMD"
7776   ;;
7777 esac
7778 fi
7779
7780 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7781 if test -n "$MAGIC_CMD"; then
7782   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7783 $as_echo "$MAGIC_CMD" >&6; }
7784 else
7785   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7786 $as_echo "no" >&6; }
7787 fi
7788
7789
7790
7791
7792
7793 if test -z "$lt_cv_path_MAGIC_CMD"; then
7794   if test -n "$ac_tool_prefix"; then
7795     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7796 $as_echo_n "checking for file... " >&6; }
7797 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7798   $as_echo_n "(cached) " >&6
7799 else
7800   case $MAGIC_CMD in
7801 [\\/*] |  ?:[\\/]*)
7802   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7803   ;;
7804 *)
7805   lt_save_MAGIC_CMD="$MAGIC_CMD"
7806   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7807   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7808   for ac_dir in $ac_dummy; do
7809     IFS="$lt_save_ifs"
7810     test -z "$ac_dir" && ac_dir=.
7811     if test -f $ac_dir/file; then
7812       lt_cv_path_MAGIC_CMD="$ac_dir/file"
7813       if test -n "$file_magic_test_file"; then
7814         case $deplibs_check_method in
7815         "file_magic "*)
7816           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7817           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7818           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7819             $EGREP "$file_magic_regex" > /dev/null; then
7820             :
7821           else
7822             cat <<_LT_EOF 1>&2
7823
7824 *** Warning: the command libtool uses to detect shared libraries,
7825 *** $file_magic_cmd, produces output that libtool cannot recognize.
7826 *** The result is that libtool may fail to recognize shared libraries
7827 *** as such.  This will affect the creation of libtool libraries that
7828 *** depend on shared libraries, but programs linked with such libtool
7829 *** libraries will work regardless of this problem.  Nevertheless, you
7830 *** may want to report the problem to your system manager and/or to
7831 *** bug-libtool@gnu.org
7832
7833 _LT_EOF
7834           fi ;;
7835         esac
7836       fi
7837       break
7838     fi
7839   done
7840   IFS="$lt_save_ifs"
7841   MAGIC_CMD="$lt_save_MAGIC_CMD"
7842   ;;
7843 esac
7844 fi
7845
7846 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7847 if test -n "$MAGIC_CMD"; then
7848   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7849 $as_echo "$MAGIC_CMD" >&6; }
7850 else
7851   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7852 $as_echo "no" >&6; }
7853 fi
7854
7855
7856   else
7857     MAGIC_CMD=:
7858   fi
7859 fi
7860
7861   fi
7862   ;;
7863 esac
7864
7865 # Use C for the default configuration in the libtool script
7866
7867 lt_save_CC="$CC"
7868 ac_ext=c
7869 ac_cpp='$CPP $CPPFLAGS'
7870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7873
7874
7875 # Source file extension for C test sources.
7876 ac_ext=c
7877
7878 # Object file extension for compiled C test sources.
7879 objext=o
7880 objext=$objext
7881
7882 # Code to be used in simple compile tests
7883 lt_simple_compile_test_code="int some_variable = 0;"
7884
7885 # Code to be used in simple link tests
7886 lt_simple_link_test_code='int main(){return(0);}'
7887
7888
7889
7890
7891
7892
7893
7894 # If no C compiler was specified, use CC.
7895 LTCC=${LTCC-"$CC"}
7896
7897 # If no C compiler flags were specified, use CFLAGS.
7898 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7899
7900 # Allow CC to be a program name with arguments.
7901 compiler=$CC
7902
7903 # Save the default compiler, since it gets overwritten when the other
7904 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7905 compiler_DEFAULT=$CC
7906
7907 # save warnings/boilerplate of simple test code
7908 ac_outfile=conftest.$ac_objext
7909 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7910 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7911 _lt_compiler_boilerplate=`cat conftest.err`
7912 $RM conftest*
7913
7914 ac_outfile=conftest.$ac_objext
7915 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7916 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7917 _lt_linker_boilerplate=`cat conftest.err`
7918 $RM -r conftest*
7919
7920
7921 ## CAVEAT EMPTOR:
7922 ## There is no encapsulation within the following macros, do not change
7923 ## the running order or otherwise move them around unless you know exactly
7924 ## what you are doing...
7925 if test -n "$compiler"; then
7926
7927 lt_prog_compiler_no_builtin_flag=
7928
7929 if test "$GCC" = yes; then
7930   case $cc_basename in
7931   nvcc*)
7932     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7933   *)
7934     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7935   esac
7936
7937   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7938 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7939 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7940   $as_echo_n "(cached) " >&6
7941 else
7942   lt_cv_prog_compiler_rtti_exceptions=no
7943    ac_outfile=conftest.$ac_objext
7944    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7945    lt_compiler_flag="-fno-rtti -fno-exceptions"
7946    # Insert the option either (1) after the last *FLAGS variable, or
7947    # (2) before a word containing "conftest.", or (3) at the end.
7948    # Note that $ac_compile itself does not contain backslashes and begins
7949    # with a dollar sign (not a hyphen), so the echo should work correctly.
7950    # The option is referenced via a variable to avoid confusing sed.
7951    lt_compile=`echo "$ac_compile" | $SED \
7952    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7953    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7954    -e 's:$: $lt_compiler_flag:'`
7955    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7956    (eval "$lt_compile" 2>conftest.err)
7957    ac_status=$?
7958    cat conftest.err >&5
7959    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7960    if (exit $ac_status) && test -s "$ac_outfile"; then
7961      # The compiler can only warn and ignore the option if not recognized
7962      # So say no if there are warnings other than the usual output.
7963      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7964      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7965      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7966        lt_cv_prog_compiler_rtti_exceptions=yes
7967      fi
7968    fi
7969    $RM conftest*
7970
7971 fi
7972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7973 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7974
7975 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7976     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7977 else
7978     :
7979 fi
7980
7981 fi
7982
7983
7984
7985
7986
7987
7988   lt_prog_compiler_wl=
7989 lt_prog_compiler_pic=
7990 lt_prog_compiler_static=
7991
7992
7993   if test "$GCC" = yes; then
7994     lt_prog_compiler_wl='-Wl,'
7995     lt_prog_compiler_static='-static'
7996
7997     case $host_os in
7998       aix*)
7999       # All AIX code is PIC.
8000       if test "$host_cpu" = ia64; then
8001         # AIX 5 now supports IA64 processor
8002         lt_prog_compiler_static='-Bstatic'
8003       fi
8004       ;;
8005
8006     amigaos*)
8007       case $host_cpu in
8008       powerpc)
8009             # see comment about AmigaOS4 .so support
8010             lt_prog_compiler_pic='-fPIC'
8011         ;;
8012       m68k)
8013             # FIXME: we need at least 68020 code to build shared libraries, but
8014             # adding the `-m68020' flag to GCC prevents building anything better,
8015             # like `-m68040'.
8016             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8017         ;;
8018       esac
8019       ;;
8020
8021     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8022       # PIC is the default for these OSes.
8023       ;;
8024
8025     mingw* | cygwin* | pw32* | os2* | cegcc*)
8026       # This hack is so that the source file can tell whether it is being
8027       # built for inclusion in a dll (and should export symbols for example).
8028       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8029       # (--disable-auto-import) libraries
8030       lt_prog_compiler_pic='-DDLL_EXPORT'
8031       ;;
8032
8033     darwin* | rhapsody*)
8034       # PIC is the default on this platform
8035       # Common symbols not allowed in MH_DYLIB files
8036       lt_prog_compiler_pic='-fno-common'
8037       ;;
8038
8039     haiku*)
8040       # PIC is the default for Haiku.
8041       # The "-static" flag exists, but is broken.
8042       lt_prog_compiler_static=
8043       ;;
8044
8045     hpux*)
8046       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8047       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8048       # sets the default TLS model and affects inlining.
8049       case $host_cpu in
8050       hppa*64*)
8051         # +Z the default
8052         ;;
8053       *)
8054         lt_prog_compiler_pic='-fPIC'
8055         ;;
8056       esac
8057       ;;
8058
8059     interix[3-9]*)
8060       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8061       # Instead, we relocate shared libraries at runtime.
8062       ;;
8063
8064     msdosdjgpp*)
8065       # Just because we use GCC doesn't mean we suddenly get shared libraries
8066       # on systems that don't support them.
8067       lt_prog_compiler_can_build_shared=no
8068       enable_shared=no
8069       ;;
8070
8071     *nto* | *qnx*)
8072       # QNX uses GNU C++, but need to define -shared option too, otherwise
8073       # it will coredump.
8074       lt_prog_compiler_pic='-fPIC -shared'
8075       ;;
8076
8077     sysv4*MP*)
8078       if test -d /usr/nec; then
8079         lt_prog_compiler_pic=-Kconform_pic
8080       fi
8081       ;;
8082
8083     *)
8084       lt_prog_compiler_pic='-fPIC'
8085       ;;
8086     esac
8087
8088     case $cc_basename in
8089     nvcc*) # Cuda Compiler Driver 2.2
8090       lt_prog_compiler_wl='-Xlinker '
8091       if test -n "$lt_prog_compiler_pic"; then
8092         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8093       fi
8094       ;;
8095     esac
8096   else
8097     # PORTME Check for flag to pass linker flags through the system compiler.
8098     case $host_os in
8099     aix*)
8100       lt_prog_compiler_wl='-Wl,'
8101       if test "$host_cpu" = ia64; then
8102         # AIX 5 now supports IA64 processor
8103         lt_prog_compiler_static='-Bstatic'
8104       else
8105         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8106       fi
8107       ;;
8108
8109     mingw* | cygwin* | pw32* | os2* | cegcc*)
8110       # This hack is so that the source file can tell whether it is being
8111       # built for inclusion in a dll (and should export symbols for example).
8112       lt_prog_compiler_pic='-DDLL_EXPORT'
8113       ;;
8114
8115     hpux9* | hpux10* | hpux11*)
8116       lt_prog_compiler_wl='-Wl,'
8117       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8118       # not for PA HP-UX.
8119       case $host_cpu in
8120       hppa*64*|ia64*)
8121         # +Z the default
8122         ;;
8123       *)
8124         lt_prog_compiler_pic='+Z'
8125         ;;
8126       esac
8127       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8128       lt_prog_compiler_static='${wl}-a ${wl}archive'
8129       ;;
8130
8131     irix5* | irix6* | nonstopux*)
8132       lt_prog_compiler_wl='-Wl,'
8133       # PIC (with -KPIC) is the default.
8134       lt_prog_compiler_static='-non_shared'
8135       ;;
8136
8137     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8138       case $cc_basename in
8139       # old Intel for x86_64 which still supported -KPIC.
8140       ecc*)
8141         lt_prog_compiler_wl='-Wl,'
8142         lt_prog_compiler_pic='-KPIC'
8143         lt_prog_compiler_static='-static'
8144         ;;
8145       # icc used to be incompatible with GCC.
8146       # ICC 10 doesn't accept -KPIC any more.
8147       icc* | ifort*)
8148         lt_prog_compiler_wl='-Wl,'
8149         lt_prog_compiler_pic='-fPIC'
8150         lt_prog_compiler_static='-static'
8151         ;;
8152       # Lahey Fortran 8.1.
8153       lf95*)
8154         lt_prog_compiler_wl='-Wl,'
8155         lt_prog_compiler_pic='--shared'
8156         lt_prog_compiler_static='--static'
8157         ;;
8158       nagfor*)
8159         # NAG Fortran compiler
8160         lt_prog_compiler_wl='-Wl,-Wl,,'
8161         lt_prog_compiler_pic='-PIC'
8162         lt_prog_compiler_static='-Bstatic'
8163         ;;
8164       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8165         # Portland Group compilers (*not* the Pentium gcc compiler,
8166         # which looks to be a dead project)
8167         lt_prog_compiler_wl='-Wl,'
8168         lt_prog_compiler_pic='-fpic'
8169         lt_prog_compiler_static='-Bstatic'
8170         ;;
8171       ccc*)
8172         lt_prog_compiler_wl='-Wl,'
8173         # All Alpha code is PIC.
8174         lt_prog_compiler_static='-non_shared'
8175         ;;
8176       xl* | bgxl* | bgf* | mpixl*)
8177         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8178         lt_prog_compiler_wl='-Wl,'
8179         lt_prog_compiler_pic='-qpic'
8180         lt_prog_compiler_static='-qstaticlink'
8181         ;;
8182       *)
8183         case `$CC -V 2>&1 | sed 5q` in
8184         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8185           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8186           lt_prog_compiler_pic='-KPIC'
8187           lt_prog_compiler_static='-Bstatic'
8188           lt_prog_compiler_wl=''
8189           ;;
8190         *Sun\ F* | *Sun*Fortran*)
8191           lt_prog_compiler_pic='-KPIC'
8192           lt_prog_compiler_static='-Bstatic'
8193           lt_prog_compiler_wl='-Qoption ld '
8194           ;;
8195         *Sun\ C*)
8196           # Sun C 5.9
8197           lt_prog_compiler_pic='-KPIC'
8198           lt_prog_compiler_static='-Bstatic'
8199           lt_prog_compiler_wl='-Wl,'
8200           ;;
8201         *Intel*\ [CF]*Compiler*)
8202           lt_prog_compiler_wl='-Wl,'
8203           lt_prog_compiler_pic='-fPIC'
8204           lt_prog_compiler_static='-static'
8205           ;;
8206         *Portland\ Group*)
8207           lt_prog_compiler_wl='-Wl,'
8208           lt_prog_compiler_pic='-fpic'
8209           lt_prog_compiler_static='-Bstatic'
8210           ;;
8211         esac
8212         ;;
8213       esac
8214       ;;
8215
8216     newsos6)
8217       lt_prog_compiler_pic='-KPIC'
8218       lt_prog_compiler_static='-Bstatic'
8219       ;;
8220
8221     *nto* | *qnx*)
8222       # QNX uses GNU C++, but need to define -shared option too, otherwise
8223       # it will coredump.
8224       lt_prog_compiler_pic='-fPIC -shared'
8225       ;;
8226
8227     osf3* | osf4* | osf5*)
8228       lt_prog_compiler_wl='-Wl,'
8229       # All OSF/1 code is PIC.
8230       lt_prog_compiler_static='-non_shared'
8231       ;;
8232
8233     rdos*)
8234       lt_prog_compiler_static='-non_shared'
8235       ;;
8236
8237     solaris*)
8238       lt_prog_compiler_pic='-KPIC'
8239       lt_prog_compiler_static='-Bstatic'
8240       case $cc_basename in
8241       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8242         lt_prog_compiler_wl='-Qoption ld ';;
8243       *)
8244         lt_prog_compiler_wl='-Wl,';;
8245       esac
8246       ;;
8247
8248     sunos4*)
8249       lt_prog_compiler_wl='-Qoption ld '
8250       lt_prog_compiler_pic='-PIC'
8251       lt_prog_compiler_static='-Bstatic'
8252       ;;
8253
8254     sysv4 | sysv4.2uw2* | sysv4.3*)
8255       lt_prog_compiler_wl='-Wl,'
8256       lt_prog_compiler_pic='-KPIC'
8257       lt_prog_compiler_static='-Bstatic'
8258       ;;
8259
8260     sysv4*MP*)
8261       if test -d /usr/nec ;then
8262         lt_prog_compiler_pic='-Kconform_pic'
8263         lt_prog_compiler_static='-Bstatic'
8264       fi
8265       ;;
8266
8267     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8268       lt_prog_compiler_wl='-Wl,'
8269       lt_prog_compiler_pic='-KPIC'
8270       lt_prog_compiler_static='-Bstatic'
8271       ;;
8272
8273     unicos*)
8274       lt_prog_compiler_wl='-Wl,'
8275       lt_prog_compiler_can_build_shared=no
8276       ;;
8277
8278     uts4*)
8279       lt_prog_compiler_pic='-pic'
8280       lt_prog_compiler_static='-Bstatic'
8281       ;;
8282
8283     *)
8284       lt_prog_compiler_can_build_shared=no
8285       ;;
8286     esac
8287   fi
8288
8289 case $host_os in
8290   # For platforms which do not support PIC, -DPIC is meaningless:
8291   *djgpp*)
8292     lt_prog_compiler_pic=
8293     ;;
8294   *)
8295     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8296     ;;
8297 esac
8298
8299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8300 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8301 if ${lt_cv_prog_compiler_pic+:} false; then :
8302   $as_echo_n "(cached) " >&6
8303 else
8304   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8305 fi
8306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8307 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8308 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8309
8310 #
8311 # Check to make sure the PIC flag actually works.
8312 #
8313 if test -n "$lt_prog_compiler_pic"; then
8314   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8315 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8316 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8317   $as_echo_n "(cached) " >&6
8318 else
8319   lt_cv_prog_compiler_pic_works=no
8320    ac_outfile=conftest.$ac_objext
8321    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8322    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8323    # Insert the option either (1) after the last *FLAGS variable, or
8324    # (2) before a word containing "conftest.", or (3) at the end.
8325    # Note that $ac_compile itself does not contain backslashes and begins
8326    # with a dollar sign (not a hyphen), so the echo should work correctly.
8327    # The option is referenced via a variable to avoid confusing sed.
8328    lt_compile=`echo "$ac_compile" | $SED \
8329    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8330    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8331    -e 's:$: $lt_compiler_flag:'`
8332    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8333    (eval "$lt_compile" 2>conftest.err)
8334    ac_status=$?
8335    cat conftest.err >&5
8336    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8337    if (exit $ac_status) && test -s "$ac_outfile"; then
8338      # The compiler can only warn and ignore the option if not recognized
8339      # So say no if there are warnings other than the usual output.
8340      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8341      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8342      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8343        lt_cv_prog_compiler_pic_works=yes
8344      fi
8345    fi
8346    $RM conftest*
8347
8348 fi
8349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8350 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8351
8352 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8353     case $lt_prog_compiler_pic in
8354      "" | " "*) ;;
8355      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8356      esac
8357 else
8358     lt_prog_compiler_pic=
8359      lt_prog_compiler_can_build_shared=no
8360 fi
8361
8362 fi
8363
8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
8374 #
8375 # Check to make sure the static flag actually works.
8376 #
8377 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8379 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8380 if ${lt_cv_prog_compiler_static_works+:} false; then :
8381   $as_echo_n "(cached) " >&6
8382 else
8383   lt_cv_prog_compiler_static_works=no
8384    save_LDFLAGS="$LDFLAGS"
8385    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8386    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8387    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8388      # The linker can only warn and ignore the option if not recognized
8389      # So say no if there are warnings
8390      if test -s conftest.err; then
8391        # Append any errors to the config.log.
8392        cat conftest.err 1>&5
8393        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8394        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8395        if diff conftest.exp conftest.er2 >/dev/null; then
8396          lt_cv_prog_compiler_static_works=yes
8397        fi
8398      else
8399        lt_cv_prog_compiler_static_works=yes
8400      fi
8401    fi
8402    $RM -r conftest*
8403    LDFLAGS="$save_LDFLAGS"
8404
8405 fi
8406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8407 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8408
8409 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8410     :
8411 else
8412     lt_prog_compiler_static=
8413 fi
8414
8415
8416
8417
8418
8419
8420
8421   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8422 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8423 if ${lt_cv_prog_compiler_c_o+:} false; then :
8424   $as_echo_n "(cached) " >&6
8425 else
8426   lt_cv_prog_compiler_c_o=no
8427    $RM -r conftest 2>/dev/null
8428    mkdir conftest
8429    cd conftest
8430    mkdir out
8431    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8432
8433    lt_compiler_flag="-o out/conftest2.$ac_objext"
8434    # Insert the option either (1) after the last *FLAGS variable, or
8435    # (2) before a word containing "conftest.", or (3) at the end.
8436    # Note that $ac_compile itself does not contain backslashes and begins
8437    # with a dollar sign (not a hyphen), so the echo should work correctly.
8438    lt_compile=`echo "$ac_compile" | $SED \
8439    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8440    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8441    -e 's:$: $lt_compiler_flag:'`
8442    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8443    (eval "$lt_compile" 2>out/conftest.err)
8444    ac_status=$?
8445    cat out/conftest.err >&5
8446    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8447    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8448    then
8449      # The compiler can only warn and ignore the option if not recognized
8450      # So say no if there are warnings
8451      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8452      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8453      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8454        lt_cv_prog_compiler_c_o=yes
8455      fi
8456    fi
8457    chmod u+w . 2>&5
8458    $RM conftest*
8459    # SGI C++ compiler will create directory out/ii_files/ for
8460    # template instantiation
8461    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8462    $RM out/* && rmdir out
8463    cd ..
8464    $RM -r conftest
8465    $RM conftest*
8466
8467 fi
8468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8469 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8470
8471
8472
8473
8474
8475
8476   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8477 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8478 if ${lt_cv_prog_compiler_c_o+:} false; then :
8479   $as_echo_n "(cached) " >&6
8480 else
8481   lt_cv_prog_compiler_c_o=no
8482    $RM -r conftest 2>/dev/null
8483    mkdir conftest
8484    cd conftest
8485    mkdir out
8486    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8487
8488    lt_compiler_flag="-o out/conftest2.$ac_objext"
8489    # Insert the option either (1) after the last *FLAGS variable, or
8490    # (2) before a word containing "conftest.", or (3) at the end.
8491    # Note that $ac_compile itself does not contain backslashes and begins
8492    # with a dollar sign (not a hyphen), so the echo should work correctly.
8493    lt_compile=`echo "$ac_compile" | $SED \
8494    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8495    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8496    -e 's:$: $lt_compiler_flag:'`
8497    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8498    (eval "$lt_compile" 2>out/conftest.err)
8499    ac_status=$?
8500    cat out/conftest.err >&5
8501    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8502    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8503    then
8504      # The compiler can only warn and ignore the option if not recognized
8505      # So say no if there are warnings
8506      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8507      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8508      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8509        lt_cv_prog_compiler_c_o=yes
8510      fi
8511    fi
8512    chmod u+w . 2>&5
8513    $RM conftest*
8514    # SGI C++ compiler will create directory out/ii_files/ for
8515    # template instantiation
8516    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8517    $RM out/* && rmdir out
8518    cd ..
8519    $RM -r conftest
8520    $RM conftest*
8521
8522 fi
8523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8524 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8525
8526
8527
8528
8529 hard_links="nottested"
8530 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8531   # do not overwrite the value of need_locks provided by the user
8532   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8533 $as_echo_n "checking if we can lock with hard links... " >&6; }
8534   hard_links=yes
8535   $RM conftest*
8536   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8537   touch conftest.a
8538   ln conftest.a conftest.b 2>&5 || hard_links=no
8539   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8540   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8541 $as_echo "$hard_links" >&6; }
8542   if test "$hard_links" = no; then
8543     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8544 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8545     need_locks=warn
8546   fi
8547 else
8548   need_locks=no
8549 fi
8550
8551
8552
8553
8554
8555
8556   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8557 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8558
8559   runpath_var=
8560   allow_undefined_flag=
8561   always_export_symbols=no
8562   archive_cmds=
8563   archive_expsym_cmds=
8564   compiler_needs_object=no
8565   enable_shared_with_static_runtimes=no
8566   export_dynamic_flag_spec=
8567   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8568   hardcode_automatic=no
8569   hardcode_direct=no
8570   hardcode_direct_absolute=no
8571   hardcode_libdir_flag_spec=
8572   hardcode_libdir_separator=
8573   hardcode_minus_L=no
8574   hardcode_shlibpath_var=unsupported
8575   inherit_rpath=no
8576   link_all_deplibs=unknown
8577   module_cmds=
8578   module_expsym_cmds=
8579   old_archive_from_new_cmds=
8580   old_archive_from_expsyms_cmds=
8581   thread_safe_flag_spec=
8582   whole_archive_flag_spec=
8583   # include_expsyms should be a list of space-separated symbols to be *always*
8584   # included in the symbol list
8585   include_expsyms=
8586   # exclude_expsyms can be an extended regexp of symbols to exclude
8587   # it will be wrapped by ` (' and `)$', so one must not match beginning or
8588   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8589   # as well as any symbol that contains `d'.
8590   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8591   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8592   # platforms (ab)use it in PIC code, but their linkers get confused if
8593   # the symbol is explicitly referenced.  Since portable code cannot
8594   # rely on this symbol name, it's probably fine to never include it in
8595   # preloaded symbol tables.
8596   # Exclude shared library initialization/finalization symbols.
8597   extract_expsyms_cmds=
8598
8599   case $host_os in
8600   cygwin* | mingw* | pw32* | cegcc*)
8601     # FIXME: the MSVC++ port hasn't been tested in a loooong time
8602     # When not using gcc, we currently assume that we are using
8603     # Microsoft Visual C++.
8604     if test "$GCC" != yes; then
8605       with_gnu_ld=no
8606     fi
8607     ;;
8608   interix*)
8609     # we just hope/assume this is gcc and not c89 (= MSVC++)
8610     with_gnu_ld=yes
8611     ;;
8612   openbsd*)
8613     with_gnu_ld=no
8614     ;;
8615   linux* | k*bsd*-gnu | gnu*)
8616     link_all_deplibs=no
8617     ;;
8618   esac
8619
8620   ld_shlibs=yes
8621
8622   # On some targets, GNU ld is compatible enough with the native linker
8623   # that we're better off using the native interface for both.
8624   lt_use_gnu_ld_interface=no
8625   if test "$with_gnu_ld" = yes; then
8626     case $host_os in
8627       aix*)
8628         # The AIX port of GNU ld has always aspired to compatibility
8629         # with the native linker.  However, as the warning in the GNU ld
8630         # block says, versions before 2.19.5* couldn't really create working
8631         # shared libraries, regardless of the interface used.
8632         case `$LD -v 2>&1` in
8633           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8634           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8635           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8636           *)
8637             lt_use_gnu_ld_interface=yes
8638             ;;
8639         esac
8640         ;;
8641       *)
8642         lt_use_gnu_ld_interface=yes
8643         ;;
8644     esac
8645   fi
8646
8647   if test "$lt_use_gnu_ld_interface" = yes; then
8648     # If archive_cmds runs LD, not CC, wlarc should be empty
8649     wlarc='${wl}'
8650
8651     # Set some defaults for GNU ld with shared library support. These
8652     # are reset later if shared libraries are not supported. Putting them
8653     # here allows them to be overridden if necessary.
8654     runpath_var=LD_RUN_PATH
8655     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8656     export_dynamic_flag_spec='${wl}--export-dynamic'
8657     # ancient GNU ld didn't support --whole-archive et. al.
8658     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8659       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8660     else
8661       whole_archive_flag_spec=
8662     fi
8663     supports_anon_versioning=no
8664     case `$LD -v 2>&1` in
8665       *GNU\ gold*) supports_anon_versioning=yes ;;
8666       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8667       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8668       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8669       *\ 2.11.*) ;; # other 2.11 versions
8670       *) supports_anon_versioning=yes ;;
8671     esac
8672
8673     # See if GNU ld supports shared libraries.
8674     case $host_os in
8675     aix[3-9]*)
8676       # On AIX/PPC, the GNU linker is very broken
8677       if test "$host_cpu" != ia64; then
8678         ld_shlibs=no
8679         cat <<_LT_EOF 1>&2
8680
8681 *** Warning: the GNU linker, at least up to release 2.19, is reported
8682 *** to be unable to reliably create shared libraries on AIX.
8683 *** Therefore, libtool is disabling shared libraries support.  If you
8684 *** really care for shared libraries, you may want to install binutils
8685 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8686 *** You will then need to restart the configuration process.
8687
8688 _LT_EOF
8689       fi
8690       ;;
8691
8692     amigaos*)
8693       case $host_cpu in
8694       powerpc)
8695             # see comment about AmigaOS4 .so support
8696             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8697             archive_expsym_cmds=''
8698         ;;
8699       m68k)
8700             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)'
8701             hardcode_libdir_flag_spec='-L$libdir'
8702             hardcode_minus_L=yes
8703         ;;
8704       esac
8705       ;;
8706
8707     beos*)
8708       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8709         allow_undefined_flag=unsupported
8710         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8711         # support --undefined.  This deserves some investigation.  FIXME
8712         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8713       else
8714         ld_shlibs=no
8715       fi
8716       ;;
8717
8718     cygwin* | mingw* | pw32* | cegcc*)
8719       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8720       # as there is no search path for DLLs.
8721       hardcode_libdir_flag_spec='-L$libdir'
8722       export_dynamic_flag_spec='${wl}--export-all-symbols'
8723       allow_undefined_flag=unsupported
8724       always_export_symbols=no
8725       enable_shared_with_static_runtimes=yes
8726       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'
8727       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8728
8729       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8730         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8731         # If the export-symbols file already is a .def file (1st line
8732         # is EXPORTS), use it as is; otherwise, prepend...
8733         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8734           cp $export_symbols $output_objdir/$soname.def;
8735         else
8736           echo EXPORTS > $output_objdir/$soname.def;
8737           cat $export_symbols >> $output_objdir/$soname.def;
8738         fi~
8739         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8740       else
8741         ld_shlibs=no
8742       fi
8743       ;;
8744
8745     haiku*)
8746       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8747       link_all_deplibs=yes
8748       ;;
8749
8750     interix[3-9]*)
8751       hardcode_direct=no
8752       hardcode_shlibpath_var=no
8753       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8754       export_dynamic_flag_spec='${wl}-E'
8755       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8756       # Instead, shared libraries are loaded at an image base (0x10000000 by
8757       # default) and relocated if they conflict, which is a slow very memory
8758       # consuming and fragmenting process.  To avoid this, we pick a random,
8759       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8760       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
8761       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8762       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'
8763       ;;
8764
8765     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8766       tmp_diet=no
8767       if test "$host_os" = linux-dietlibc; then
8768         case $cc_basename in
8769           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
8770         esac
8771       fi
8772       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8773          && test "$tmp_diet" = no
8774       then
8775         tmp_addflag=' $pic_flag'
8776         tmp_sharedflag='-shared'
8777         case $cc_basename,$host_cpu in
8778         pgcc*)                          # Portland Group C compiler
8779           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'
8780           tmp_addflag=' $pic_flag'
8781           ;;
8782         pgf77* | pgf90* | pgf95* | pgfortran*)
8783                                         # Portland Group f77 and f90 compilers
8784           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'
8785           tmp_addflag=' $pic_flag -Mnomain' ;;
8786         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
8787           tmp_addflag=' -i_dynamic' ;;
8788         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
8789           tmp_addflag=' -i_dynamic -nofor_main' ;;
8790         ifc* | ifort*)                  # Intel Fortran compiler
8791           tmp_addflag=' -nofor_main' ;;
8792         lf95*)                          # Lahey Fortran 8.1
8793           whole_archive_flag_spec=
8794           tmp_sharedflag='--shared' ;;
8795         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8796           tmp_sharedflag='-qmkshrobj'
8797           tmp_addflag= ;;
8798         nvcc*)  # Cuda Compiler Driver 2.2
8799           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'
8800           compiler_needs_object=yes
8801           ;;
8802         esac
8803         case `$CC -V 2>&1 | sed 5q` in
8804         *Sun\ C*)                       # Sun C 5.9
8805           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'
8806           compiler_needs_object=yes
8807           tmp_sharedflag='-G' ;;
8808         *Sun\ F*)                       # Sun Fortran 8.3
8809           tmp_sharedflag='-G' ;;
8810         esac
8811         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8812
8813         if test "x$supports_anon_versioning" = xyes; then
8814           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8815             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8816             echo "local: *; };" >> $output_objdir/$libname.ver~
8817             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8818         fi
8819
8820         case $cc_basename in
8821         xlf* | bgf* | bgxlf* | mpixlf*)
8822           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8823           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8824           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8825           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8826           if test "x$supports_anon_versioning" = xyes; then
8827             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8828               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8829               echo "local: *; };" >> $output_objdir/$libname.ver~
8830               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8831           fi
8832           ;;
8833         esac
8834       else
8835         ld_shlibs=no
8836       fi
8837       ;;
8838
8839     netbsd* | netbsdelf*-gnu)
8840       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8841         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8842         wlarc=
8843       else
8844         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8845         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8846       fi
8847       ;;
8848
8849     solaris*)
8850       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8851         ld_shlibs=no
8852         cat <<_LT_EOF 1>&2
8853
8854 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8855 *** create shared libraries on Solaris systems.  Therefore, libtool
8856 *** is disabling shared libraries support.  We urge you to upgrade GNU
8857 *** binutils to release 2.9.1 or newer.  Another option is to modify
8858 *** your PATH or compiler configuration so that the native linker is
8859 *** used, and then restart.
8860
8861 _LT_EOF
8862       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8863         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8864         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8865       else
8866         ld_shlibs=no
8867       fi
8868       ;;
8869
8870     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8871       case `$LD -v 2>&1` in
8872         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8873         ld_shlibs=no
8874         cat <<_LT_EOF 1>&2
8875
8876 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8877 *** reliably create shared libraries on SCO systems.  Therefore, libtool
8878 *** is disabling shared libraries support.  We urge you to upgrade GNU
8879 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
8880 *** your PATH or compiler configuration so that the native linker is
8881 *** used, and then restart.
8882
8883 _LT_EOF
8884         ;;
8885         *)
8886           # For security reasons, it is highly recommended that you always
8887           # use absolute paths for naming shared libraries, and exclude the
8888           # DT_RUNPATH tag from executables and libraries.  But doing so
8889           # requires that you compile everything twice, which is a pain.
8890           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8891             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8892             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8893             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8894           else
8895             ld_shlibs=no
8896           fi
8897         ;;
8898       esac
8899       ;;
8900
8901     sunos4*)
8902       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8903       wlarc=
8904       hardcode_direct=yes
8905       hardcode_shlibpath_var=no
8906       ;;
8907
8908     *)
8909       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8910         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8911         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8912       else
8913         ld_shlibs=no
8914       fi
8915       ;;
8916     esac
8917
8918     if test "$ld_shlibs" = no; then
8919       runpath_var=
8920       hardcode_libdir_flag_spec=
8921       export_dynamic_flag_spec=
8922       whole_archive_flag_spec=
8923     fi
8924   else
8925     # PORTME fill in a description of your system's linker (not GNU ld)
8926     case $host_os in
8927     aix3*)
8928       allow_undefined_flag=unsupported
8929       always_export_symbols=yes
8930       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'
8931       # Note: this linker hardcodes the directories in LIBPATH if there
8932       # are no directories specified by -L.
8933       hardcode_minus_L=yes
8934       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8935         # Neither direct hardcoding nor static linking is supported with a
8936         # broken collect2.
8937         hardcode_direct=unsupported
8938       fi
8939       ;;
8940
8941     aix[4-9]*)
8942       if test "$host_cpu" = ia64; then
8943         # On IA64, the linker does run time linking by default, so we don't
8944         # have to do anything special.
8945         aix_use_runtimelinking=no
8946         exp_sym_flag='-Bexport'
8947         no_entry_flag=""
8948       else
8949         # If we're using GNU nm, then we don't want the "-C" option.
8950         # -C means demangle to AIX nm, but means don't demangle with GNU nm
8951         # Also, AIX nm treats weak defined symbols like other global
8952         # defined symbols, whereas GNU nm marks them as "W".
8953         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8954           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'
8955         else
8956           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'
8957         fi
8958         aix_use_runtimelinking=no
8959
8960         # Test if we are trying to use run time linking or normal
8961         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8962         # need to do runtime linking.
8963         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8964           for ld_flag in $LDFLAGS; do
8965           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8966             aix_use_runtimelinking=yes
8967             break
8968           fi
8969           done
8970           ;;
8971         esac
8972
8973         exp_sym_flag='-bexport'
8974         no_entry_flag='-bnoentry'
8975       fi
8976
8977       # When large executables or shared objects are built, AIX ld can
8978       # have problems creating the table of contents.  If linking a library
8979       # or program results in "error TOC overflow" add -mminimal-toc to
8980       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
8981       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8982
8983       archive_cmds=''
8984       hardcode_direct=yes
8985       hardcode_direct_absolute=yes
8986       hardcode_libdir_separator=':'
8987       link_all_deplibs=yes
8988       file_list_spec='${wl}-f,'
8989
8990       if test "$GCC" = yes; then
8991         case $host_os in aix4.[012]|aix4.[012].*)
8992         # We only want to do this on AIX 4.2 and lower, the check
8993         # below for broken collect2 doesn't work under 4.3+
8994           collect2name=`${CC} -print-prog-name=collect2`
8995           if test -f "$collect2name" &&
8996            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8997           then
8998           # We have reworked collect2
8999           :
9000           else
9001           # We have old collect2
9002           hardcode_direct=unsupported
9003           # It fails to find uninstalled libraries when the uninstalled
9004           # path is not listed in the libpath.  Setting hardcode_minus_L
9005           # to unsupported forces relinking
9006           hardcode_minus_L=yes
9007           hardcode_libdir_flag_spec='-L$libdir'
9008           hardcode_libdir_separator=
9009           fi
9010           ;;
9011         esac
9012         shared_flag='-shared'
9013         if test "$aix_use_runtimelinking" = yes; then
9014           shared_flag="$shared_flag "'${wl}-G'
9015         fi
9016         link_all_deplibs=no
9017       else
9018         # not using gcc
9019         if test "$host_cpu" = ia64; then
9020         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9021         # chokes on -Wl,-G. The following line is correct:
9022           shared_flag='-G'
9023         else
9024           if test "$aix_use_runtimelinking" = yes; then
9025             shared_flag='${wl}-G'
9026           else
9027             shared_flag='${wl}-bM:SRE'
9028           fi
9029         fi
9030       fi
9031
9032       export_dynamic_flag_spec='${wl}-bexpall'
9033       # It seems that -bexpall does not export symbols beginning with
9034       # underscore (_), so it is better to generate a list of symbols to export.
9035       always_export_symbols=yes
9036       if test "$aix_use_runtimelinking" = yes; then
9037         # Warning - without using the other runtime loading flags (-brtl),
9038         # -berok will link without error, but may produce a broken library.
9039         allow_undefined_flag='-berok'
9040         # Determine the default libpath from the value encoded in an
9041         # empty executable.
9042         if test "${lt_cv_aix_libpath+set}" = set; then
9043   aix_libpath=$lt_cv_aix_libpath
9044 else
9045   if ${lt_cv_aix_libpath_+:} false; then :
9046   $as_echo_n "(cached) " >&6
9047 else
9048   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9049 /* end confdefs.h.  */
9050
9051 int
9052 main ()
9053 {
9054
9055   ;
9056   return 0;
9057 }
9058 _ACEOF
9059 if ac_fn_c_try_link "$LINENO"; then :
9060
9061   lt_aix_libpath_sed='
9062       /Import File Strings/,/^$/ {
9063           /^0/ {
9064               s/^0  *\([^ ]*\) *$/\1/
9065               p
9066           }
9067       }'
9068   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9069   # Check for a 64-bit object if we didn't find anything.
9070   if test -z "$lt_cv_aix_libpath_"; then
9071     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9072   fi
9073 fi
9074 rm -f core conftest.err conftest.$ac_objext \
9075     conftest$ac_exeext conftest.$ac_ext
9076   if test -z "$lt_cv_aix_libpath_"; then
9077     lt_cv_aix_libpath_="/usr/lib:/lib"
9078   fi
9079
9080 fi
9081
9082   aix_libpath=$lt_cv_aix_libpath_
9083 fi
9084
9085         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9086         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"
9087       else
9088         if test "$host_cpu" = ia64; then
9089           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9090           allow_undefined_flag="-z nodefs"
9091           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"
9092         else
9093          # Determine the default libpath from the value encoded in an
9094          # empty executable.
9095          if test "${lt_cv_aix_libpath+set}" = set; then
9096   aix_libpath=$lt_cv_aix_libpath
9097 else
9098   if ${lt_cv_aix_libpath_+:} false; then :
9099   $as_echo_n "(cached) " >&6
9100 else
9101   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9102 /* end confdefs.h.  */
9103
9104 int
9105 main ()
9106 {
9107
9108   ;
9109   return 0;
9110 }
9111 _ACEOF
9112 if ac_fn_c_try_link "$LINENO"; then :
9113
9114   lt_aix_libpath_sed='
9115       /Import File Strings/,/^$/ {
9116           /^0/ {
9117               s/^0  *\([^ ]*\) *$/\1/
9118               p
9119           }
9120       }'
9121   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9122   # Check for a 64-bit object if we didn't find anything.
9123   if test -z "$lt_cv_aix_libpath_"; then
9124     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9125   fi
9126 fi
9127 rm -f core conftest.err conftest.$ac_objext \
9128     conftest$ac_exeext conftest.$ac_ext
9129   if test -z "$lt_cv_aix_libpath_"; then
9130     lt_cv_aix_libpath_="/usr/lib:/lib"
9131   fi
9132
9133 fi
9134
9135   aix_libpath=$lt_cv_aix_libpath_
9136 fi
9137
9138          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9139           # Warning - without using the other run time loading flags,
9140           # -berok will link without error, but may produce a broken library.
9141           no_undefined_flag=' ${wl}-bernotok'
9142           allow_undefined_flag=' ${wl}-berok'
9143           if test "$with_gnu_ld" = yes; then
9144             # We only use this code for GNU lds that support --whole-archive.
9145             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9146           else
9147             # Exported symbols can be pulled into shared objects from archives
9148             whole_archive_flag_spec='$convenience'
9149           fi
9150           archive_cmds_need_lc=yes
9151           # This is similar to how AIX traditionally builds its shared libraries.
9152           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'
9153         fi
9154       fi
9155       ;;
9156
9157     amigaos*)
9158       case $host_cpu in
9159       powerpc)
9160             # see comment about AmigaOS4 .so support
9161             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9162             archive_expsym_cmds=''
9163         ;;
9164       m68k)
9165             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)'
9166             hardcode_libdir_flag_spec='-L$libdir'
9167             hardcode_minus_L=yes
9168         ;;
9169       esac
9170       ;;
9171
9172     bsdi[45]*)
9173       export_dynamic_flag_spec=-rdynamic
9174       ;;
9175
9176     cygwin* | mingw* | pw32* | cegcc*)
9177       # When not using gcc, we currently assume that we are using
9178       # Microsoft Visual C++.
9179       # hardcode_libdir_flag_spec is actually meaningless, as there is
9180       # no search path for DLLs.
9181       case $cc_basename in
9182       cl*)
9183         # Native MSVC
9184         hardcode_libdir_flag_spec=' '
9185         allow_undefined_flag=unsupported
9186         always_export_symbols=yes
9187         file_list_spec='@'
9188         # Tell ltmain to make .lib files, not .a files.
9189         libext=lib
9190         # Tell ltmain to make .dll files, not .so files.
9191         shrext_cmds=".dll"
9192         # FIXME: Setting linknames here is a bad hack.
9193         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9194         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9195             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9196           else
9197             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9198           fi~
9199           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9200           linknames='
9201         # The linker will not automatically build a static lib if we build a DLL.
9202         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9203         enable_shared_with_static_runtimes=yes
9204         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9205         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9206         # Don't use ranlib
9207         old_postinstall_cmds='chmod 644 $oldlib'
9208         postlink_cmds='lt_outputfile="@OUTPUT@"~
9209           lt_tool_outputfile="@TOOL_OUTPUT@"~
9210           case $lt_outputfile in
9211             *.exe|*.EXE) ;;
9212             *)
9213               lt_outputfile="$lt_outputfile.exe"
9214               lt_tool_outputfile="$lt_tool_outputfile.exe"
9215               ;;
9216           esac~
9217           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9218             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9219             $RM "$lt_outputfile.manifest";
9220           fi'
9221         ;;
9222       *)
9223         # Assume MSVC wrapper
9224         hardcode_libdir_flag_spec=' '
9225         allow_undefined_flag=unsupported
9226         # Tell ltmain to make .lib files, not .a files.
9227         libext=lib
9228         # Tell ltmain to make .dll files, not .so files.
9229         shrext_cmds=".dll"
9230         # FIXME: Setting linknames here is a bad hack.
9231         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9232         # The linker will automatically build a .lib file if we build a DLL.
9233         old_archive_from_new_cmds='true'
9234         # FIXME: Should let the user specify the lib program.
9235         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9236         enable_shared_with_static_runtimes=yes
9237         ;;
9238       esac
9239       ;;
9240
9241     darwin* | rhapsody*)
9242
9243
9244   archive_cmds_need_lc=no
9245   hardcode_direct=no
9246   hardcode_automatic=yes
9247   hardcode_shlibpath_var=unsupported
9248   if test "$lt_cv_ld_force_load" = "yes"; then
9249     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\"`'
9250
9251   else
9252     whole_archive_flag_spec=''
9253   fi
9254   link_all_deplibs=yes
9255   allow_undefined_flag="$_lt_dar_allow_undefined"
9256   case $cc_basename in
9257      ifort*) _lt_dar_can_shared=yes ;;
9258      *) _lt_dar_can_shared=$GCC ;;
9259   esac
9260   if test "$_lt_dar_can_shared" = "yes"; then
9261     output_verbose_link_cmd=func_echo_all
9262     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9263     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9264     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}"
9265     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}"
9266
9267   else
9268   ld_shlibs=no
9269   fi
9270
9271       ;;
9272
9273     dgux*)
9274       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9275       hardcode_libdir_flag_spec='-L$libdir'
9276       hardcode_shlibpath_var=no
9277       ;;
9278
9279     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9280     # support.  Future versions do this automatically, but an explicit c++rt0.o
9281     # does not break anything, and helps significantly (at the cost of a little
9282     # extra space).
9283     freebsd2.2*)
9284       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9285       hardcode_libdir_flag_spec='-R$libdir'
9286       hardcode_direct=yes
9287       hardcode_shlibpath_var=no
9288       ;;
9289
9290     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9291     freebsd2.*)
9292       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9293       hardcode_direct=yes
9294       hardcode_minus_L=yes
9295       hardcode_shlibpath_var=no
9296       ;;
9297
9298     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9299     freebsd* | dragonfly*)
9300       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9301       hardcode_libdir_flag_spec='-R$libdir'
9302       hardcode_direct=yes
9303       hardcode_shlibpath_var=no
9304       ;;
9305
9306     hpux9*)
9307       if test "$GCC" = yes; then
9308         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'
9309       else
9310         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'
9311       fi
9312       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9313       hardcode_libdir_separator=:
9314       hardcode_direct=yes
9315
9316       # hardcode_minus_L: Not really in the search PATH,
9317       # but as the default location of the library.
9318       hardcode_minus_L=yes
9319       export_dynamic_flag_spec='${wl}-E'
9320       ;;
9321
9322     hpux10*)
9323       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9324         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9325       else
9326         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9327       fi
9328       if test "$with_gnu_ld" = no; then
9329         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9330         hardcode_libdir_separator=:
9331         hardcode_direct=yes
9332         hardcode_direct_absolute=yes
9333         export_dynamic_flag_spec='${wl}-E'
9334         # hardcode_minus_L: Not really in the search PATH,
9335         # but as the default location of the library.
9336         hardcode_minus_L=yes
9337       fi
9338       ;;
9339
9340     hpux11*)
9341       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9342         case $host_cpu in
9343         hppa*64*)
9344           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9345           ;;
9346         ia64*)
9347           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9348           ;;
9349         *)
9350           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9351           ;;
9352         esac
9353       else
9354         case $host_cpu in
9355         hppa*64*)
9356           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9357           ;;
9358         ia64*)
9359           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9360           ;;
9361         *)
9362
9363           # Older versions of the 11.00 compiler do not understand -b yet
9364           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9365           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9366 $as_echo_n "checking if $CC understands -b... " >&6; }
9367 if ${lt_cv_prog_compiler__b+:} false; then :
9368   $as_echo_n "(cached) " >&6
9369 else
9370   lt_cv_prog_compiler__b=no
9371    save_LDFLAGS="$LDFLAGS"
9372    LDFLAGS="$LDFLAGS -b"
9373    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9374    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9375      # The linker can only warn and ignore the option if not recognized
9376      # So say no if there are warnings
9377      if test -s conftest.err; then
9378        # Append any errors to the config.log.
9379        cat conftest.err 1>&5
9380        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9381        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9382        if diff conftest.exp conftest.er2 >/dev/null; then
9383          lt_cv_prog_compiler__b=yes
9384        fi
9385      else
9386        lt_cv_prog_compiler__b=yes
9387      fi
9388    fi
9389    $RM -r conftest*
9390    LDFLAGS="$save_LDFLAGS"
9391
9392 fi
9393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9394 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9395
9396 if test x"$lt_cv_prog_compiler__b" = xyes; then
9397     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9398 else
9399     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9400 fi
9401
9402           ;;
9403         esac
9404       fi
9405       if test "$with_gnu_ld" = no; then
9406         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9407         hardcode_libdir_separator=:
9408
9409         case $host_cpu in
9410         hppa*64*|ia64*)
9411           hardcode_direct=no
9412           hardcode_shlibpath_var=no
9413           ;;
9414         *)
9415           hardcode_direct=yes
9416           hardcode_direct_absolute=yes
9417           export_dynamic_flag_spec='${wl}-E'
9418
9419           # hardcode_minus_L: Not really in the search PATH,
9420           # but as the default location of the library.
9421           hardcode_minus_L=yes
9422           ;;
9423         esac
9424       fi
9425       ;;
9426
9427     irix5* | irix6* | nonstopux*)
9428       if test "$GCC" = yes; then
9429         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'
9430         # Try to use the -exported_symbol ld option, if it does not
9431         # work, assume that -exports_file does not work either and
9432         # implicitly export all symbols.
9433         # This should be the same for all languages, so no per-tag cache variable.
9434         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9435 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9436 if ${lt_cv_irix_exported_symbol+:} false; then :
9437   $as_echo_n "(cached) " >&6
9438 else
9439   save_LDFLAGS="$LDFLAGS"
9440            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9441            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9442 /* end confdefs.h.  */
9443 int foo (void) { return 0; }
9444 _ACEOF
9445 if ac_fn_c_try_link "$LINENO"; then :
9446   lt_cv_irix_exported_symbol=yes
9447 else
9448   lt_cv_irix_exported_symbol=no
9449 fi
9450 rm -f core conftest.err conftest.$ac_objext \
9451     conftest$ac_exeext conftest.$ac_ext
9452            LDFLAGS="$save_LDFLAGS"
9453 fi
9454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9455 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9456         if test "$lt_cv_irix_exported_symbol" = yes; then
9457           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'
9458         fi
9459       else
9460         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'
9461         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'
9462       fi
9463       archive_cmds_need_lc='no'
9464       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9465       hardcode_libdir_separator=:
9466       inherit_rpath=yes
9467       link_all_deplibs=yes
9468       ;;
9469
9470     netbsd* | netbsdelf*-gnu)
9471       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9472         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9473       else
9474         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9475       fi
9476       hardcode_libdir_flag_spec='-R$libdir'
9477       hardcode_direct=yes
9478       hardcode_shlibpath_var=no
9479       ;;
9480
9481     newsos6)
9482       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9483       hardcode_direct=yes
9484       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9485       hardcode_libdir_separator=:
9486       hardcode_shlibpath_var=no
9487       ;;
9488
9489     *nto* | *qnx*)
9490       ;;
9491
9492     openbsd*)
9493       if test -f /usr/libexec/ld.so; then
9494         hardcode_direct=yes
9495         hardcode_shlibpath_var=no
9496         hardcode_direct_absolute=yes
9497         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9498           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9499           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9500           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9501           export_dynamic_flag_spec='${wl}-E'
9502         else
9503           case $host_os in
9504            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9505              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9506              hardcode_libdir_flag_spec='-R$libdir'
9507              ;;
9508            *)
9509              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9510              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9511              ;;
9512           esac
9513         fi
9514       else
9515         ld_shlibs=no
9516       fi
9517       ;;
9518
9519     os2*)
9520       hardcode_libdir_flag_spec='-L$libdir'
9521       hardcode_minus_L=yes
9522       allow_undefined_flag=unsupported
9523       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'
9524       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9525       ;;
9526
9527     osf3*)
9528       if test "$GCC" = yes; then
9529         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9530         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'
9531       else
9532         allow_undefined_flag=' -expect_unresolved \*'
9533         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'
9534       fi
9535       archive_cmds_need_lc='no'
9536       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9537       hardcode_libdir_separator=:
9538       ;;
9539
9540     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9541       if test "$GCC" = yes; then
9542         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9543         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'
9544         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9545       else
9546         allow_undefined_flag=' -expect_unresolved \*'
9547         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'
9548         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~
9549         $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'
9550
9551         # Both c and cxx compiler support -rpath directly
9552         hardcode_libdir_flag_spec='-rpath $libdir'
9553       fi
9554       archive_cmds_need_lc='no'
9555       hardcode_libdir_separator=:
9556       ;;
9557
9558     solaris*)
9559       no_undefined_flag=' -z defs'
9560       if test "$GCC" = yes; then
9561         wlarc='${wl}'
9562         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9563         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9564           $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'
9565       else
9566         case `$CC -V 2>&1` in
9567         *"Compilers 5.0"*)
9568           wlarc=''
9569           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9570           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9571           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9572           ;;
9573         *)
9574           wlarc='${wl}'
9575           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9576           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9577           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9578           ;;
9579         esac
9580       fi
9581       hardcode_libdir_flag_spec='-R$libdir'
9582       hardcode_shlibpath_var=no
9583       case $host_os in
9584       solaris2.[0-5] | solaris2.[0-5].*) ;;
9585       *)
9586         # The compiler driver will combine and reorder linker options,
9587         # but understands `-z linker_flag'.  GCC discards it without `$wl',
9588         # but is careful enough not to reorder.
9589         # Supported since Solaris 2.6 (maybe 2.5.1?)
9590         if test "$GCC" = yes; then
9591           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9592         else
9593           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9594         fi
9595         ;;
9596       esac
9597       link_all_deplibs=yes
9598       ;;
9599
9600     sunos4*)
9601       if test "x$host_vendor" = xsequent; then
9602         # Use $CC to link under sequent, because it throws in some extra .o
9603         # files that make .init and .fini sections work.
9604         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9605       else
9606         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9607       fi
9608       hardcode_libdir_flag_spec='-L$libdir'
9609       hardcode_direct=yes
9610       hardcode_minus_L=yes
9611       hardcode_shlibpath_var=no
9612       ;;
9613
9614     sysv4)
9615       case $host_vendor in
9616         sni)
9617           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9618           hardcode_direct=yes # is this really true???
9619         ;;
9620         siemens)
9621           ## LD is ld it makes a PLAMLIB
9622           ## CC just makes a GrossModule.
9623           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9624           reload_cmds='$CC -r -o $output$reload_objs'
9625           hardcode_direct=no
9626         ;;
9627         motorola)
9628           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9629           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9630         ;;
9631       esac
9632       runpath_var='LD_RUN_PATH'
9633       hardcode_shlibpath_var=no
9634       ;;
9635
9636     sysv4.3*)
9637       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9638       hardcode_shlibpath_var=no
9639       export_dynamic_flag_spec='-Bexport'
9640       ;;
9641
9642     sysv4*MP*)
9643       if test -d /usr/nec; then
9644         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9645         hardcode_shlibpath_var=no
9646         runpath_var=LD_RUN_PATH
9647         hardcode_runpath_var=yes
9648         ld_shlibs=yes
9649       fi
9650       ;;
9651
9652     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9653       no_undefined_flag='${wl}-z,text'
9654       archive_cmds_need_lc=no
9655       hardcode_shlibpath_var=no
9656       runpath_var='LD_RUN_PATH'
9657
9658       if test "$GCC" = yes; then
9659         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9660         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9661       else
9662         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9663         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9664       fi
9665       ;;
9666
9667     sysv5* | sco3.2v5* | sco5v6*)
9668       # Note: We can NOT use -z defs as we might desire, because we do not
9669       # link with -lc, and that would cause any symbols used from libc to
9670       # always be unresolved, which means just about no library would
9671       # ever link correctly.  If we're not using GNU ld we use -z text
9672       # though, which does catch some bad symbols but isn't as heavy-handed
9673       # as -z defs.
9674       no_undefined_flag='${wl}-z,text'
9675       allow_undefined_flag='${wl}-z,nodefs'
9676       archive_cmds_need_lc=no
9677       hardcode_shlibpath_var=no
9678       hardcode_libdir_flag_spec='${wl}-R,$libdir'
9679       hardcode_libdir_separator=':'
9680       link_all_deplibs=yes
9681       export_dynamic_flag_spec='${wl}-Bexport'
9682       runpath_var='LD_RUN_PATH'
9683
9684       if test "$GCC" = yes; then
9685         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9686         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9687       else
9688         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9689         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9690       fi
9691       ;;
9692
9693     uts4*)
9694       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9695       hardcode_libdir_flag_spec='-L$libdir'
9696       hardcode_shlibpath_var=no
9697       ;;
9698
9699     *)
9700       ld_shlibs=no
9701       ;;
9702     esac
9703
9704     if test x$host_vendor = xsni; then
9705       case $host in
9706       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9707         export_dynamic_flag_spec='${wl}-Blargedynsym'
9708         ;;
9709       esac
9710     fi
9711   fi
9712
9713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9714 $as_echo "$ld_shlibs" >&6; }
9715 test "$ld_shlibs" = no && can_build_shared=no
9716
9717 with_gnu_ld=$with_gnu_ld
9718
9719
9720
9721
9722
9723
9724
9725
9726
9727
9728
9729
9730
9731
9732
9733 #
9734 # Do we need to explicitly link libc?
9735 #
9736 case "x$archive_cmds_need_lc" in
9737 x|xyes)
9738   # Assume -lc should be added
9739   archive_cmds_need_lc=yes
9740
9741   if test "$enable_shared" = yes && test "$GCC" = yes; then
9742     case $archive_cmds in
9743     *'~'*)
9744       # FIXME: we may have to deal with multi-command sequences.
9745       ;;
9746     '$CC '*)
9747       # Test whether the compiler implicitly links with -lc since on some
9748       # systems, -lgcc has to come before -lc. If gcc already passes -lc
9749       # to ld, don't add -lc before -lgcc.
9750       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9751 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9752 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9753   $as_echo_n "(cached) " >&6
9754 else
9755   $RM conftest*
9756         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9757
9758         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9759   (eval $ac_compile) 2>&5
9760   ac_status=$?
9761   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9762   test $ac_status = 0; } 2>conftest.err; then
9763           soname=conftest
9764           lib=conftest
9765           libobjs=conftest.$ac_objext
9766           deplibs=
9767           wl=$lt_prog_compiler_wl
9768           pic_flag=$lt_prog_compiler_pic
9769           compiler_flags=-v
9770           linker_flags=-v
9771           verstring=
9772           output_objdir=.
9773           libname=conftest
9774           lt_save_allow_undefined_flag=$allow_undefined_flag
9775           allow_undefined_flag=
9776           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9777   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9778   ac_status=$?
9779   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9780   test $ac_status = 0; }
9781           then
9782             lt_cv_archive_cmds_need_lc=no
9783           else
9784             lt_cv_archive_cmds_need_lc=yes
9785           fi
9786           allow_undefined_flag=$lt_save_allow_undefined_flag
9787         else
9788           cat conftest.err 1>&5
9789         fi
9790         $RM conftest*
9791
9792 fi
9793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9794 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9795       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9796       ;;
9797     esac
9798   fi
9799   ;;
9800 esac
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
9893
9894
9895
9896
9897
9898
9899
9900
9901
9902
9903
9904
9905
9906
9907
9908
9909
9910
9911
9912
9913
9914
9915
9916
9917
9918
9919
9920
9921
9922
9923
9924
9925
9926
9927
9928
9929
9930
9931
9932
9933
9934
9935
9936
9937
9938
9939
9940
9941
9942
9943
9944
9945
9946
9947
9948
9949
9950
9951
9952
9953   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9954 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9955
9956 if test "$GCC" = yes; then
9957   case $host_os in
9958     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9959     *) lt_awk_arg="/^libraries:/" ;;
9960   esac
9961   case $host_os in
9962     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
9963     *) lt_sed_strip_eq="s,=/,/,g" ;;
9964   esac
9965   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9966   case $lt_search_path_spec in
9967   *\;*)
9968     # if the path contains ";" then we assume it to be the separator
9969     # otherwise default to the standard path separator (i.e. ":") - it is
9970     # assumed that no part of a normal pathname contains ";" but that should
9971     # okay in the real world where ";" in dirpaths is itself problematic.
9972     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9973     ;;
9974   *)
9975     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9976     ;;
9977   esac
9978   # Ok, now we have the path, separated by spaces, we can step through it
9979   # and add multilib dir if necessary.
9980   lt_tmp_lt_search_path_spec=
9981   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9982   for lt_sys_path in $lt_search_path_spec; do
9983     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9984       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9985     else
9986       test -d "$lt_sys_path" && \
9987         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9988     fi
9989   done
9990   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9991 BEGIN {RS=" "; FS="/|\n";} {
9992   lt_foo="";
9993   lt_count=0;
9994   for (lt_i = NF; lt_i > 0; lt_i--) {
9995     if ($lt_i != "" && $lt_i != ".") {
9996       if ($lt_i == "..") {
9997         lt_count++;
9998       } else {
9999         if (lt_count == 0) {
10000           lt_foo="/" $lt_i lt_foo;
10001         } else {
10002           lt_count--;
10003         }
10004       }
10005     }
10006   }
10007   if (lt_foo != "") { lt_freq[lt_foo]++; }
10008   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10009 }'`
10010   # AWK program above erroneously prepends '/' to C:/dos/paths
10011   # for these hosts.
10012   case $host_os in
10013     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10014       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10015   esac
10016   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10017 else
10018   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10019 fi
10020 library_names_spec=
10021 libname_spec='lib$name'
10022 soname_spec=
10023 shrext_cmds=".so"
10024 postinstall_cmds=
10025 postuninstall_cmds=
10026 finish_cmds=
10027 finish_eval=
10028 shlibpath_var=
10029 shlibpath_overrides_runpath=unknown
10030 version_type=none
10031 dynamic_linker="$host_os ld.so"
10032 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10033 need_lib_prefix=unknown
10034 hardcode_into_libs=no
10035
10036 # when you set need_version to no, make sure it does not cause -set_version
10037 # flags to be left without arguments
10038 need_version=unknown
10039
10040 case $host_os in
10041 aix3*)
10042   version_type=linux # correct to gnu/linux during the next big refactor
10043   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10044   shlibpath_var=LIBPATH
10045
10046   # AIX 3 has no versioning support, so we append a major version to the name.
10047   soname_spec='${libname}${release}${shared_ext}$major'
10048   ;;
10049
10050 aix[4-9]*)
10051   version_type=linux # correct to gnu/linux during the next big refactor
10052   need_lib_prefix=no
10053   need_version=no
10054   hardcode_into_libs=yes
10055   if test "$host_cpu" = ia64; then
10056     # AIX 5 supports IA64
10057     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10058     shlibpath_var=LD_LIBRARY_PATH
10059   else
10060     # With GCC up to 2.95.x, collect2 would create an import file
10061     # for dependence libraries.  The import file would start with
10062     # the line `#! .'.  This would cause the generated library to
10063     # depend on `.', always an invalid library.  This was fixed in
10064     # development snapshots of GCC prior to 3.0.
10065     case $host_os in
10066       aix4 | aix4.[01] | aix4.[01].*)
10067       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10068            echo ' yes '
10069            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10070         :
10071       else
10072         can_build_shared=no
10073       fi
10074       ;;
10075     esac
10076     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10077     # soname into executable. Probably we can add versioning support to
10078     # collect2, so additional links can be useful in future.
10079     if test "$aix_use_runtimelinking" = yes; then
10080       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10081       # instead of lib<name>.a to let people know that these are not
10082       # typical AIX shared libraries.
10083       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10084     else
10085       # We preserve .a as extension for shared libraries through AIX4.2
10086       # and later when we are not doing run time linking.
10087       library_names_spec='${libname}${release}.a $libname.a'
10088       soname_spec='${libname}${release}${shared_ext}$major'
10089     fi
10090     shlibpath_var=LIBPATH
10091   fi
10092   ;;
10093
10094 amigaos*)
10095   case $host_cpu in
10096   powerpc)
10097     # Since July 2007 AmigaOS4 officially supports .so libraries.
10098     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10099     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10100     ;;
10101   m68k)
10102     library_names_spec='$libname.ixlibrary $libname.a'
10103     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10104     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'
10105     ;;
10106   esac
10107   ;;
10108
10109 beos*)
10110   library_names_spec='${libname}${shared_ext}'
10111   dynamic_linker="$host_os ld.so"
10112   shlibpath_var=LIBRARY_PATH
10113   ;;
10114
10115 bsdi[45]*)
10116   version_type=linux # correct to gnu/linux during the next big refactor
10117   need_version=no
10118   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10119   soname_spec='${libname}${release}${shared_ext}$major'
10120   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10121   shlibpath_var=LD_LIBRARY_PATH
10122   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10123   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10124   # the default ld.so.conf also contains /usr/contrib/lib and
10125   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10126   # libtool to hard-code these into programs
10127   ;;
10128
10129 cygwin* | mingw* | pw32* | cegcc*)
10130   version_type=windows
10131   shrext_cmds=".dll"
10132   need_version=no
10133   need_lib_prefix=no
10134
10135   case $GCC,$cc_basename in
10136   yes,*)
10137     # gcc
10138     library_names_spec='$libname.dll.a'
10139     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10140     postinstall_cmds='base_file=`basename \${file}`~
10141       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10142       dldir=$destdir/`dirname \$dlpath`~
10143       test -d \$dldir || mkdir -p \$dldir~
10144       $install_prog $dir/$dlname \$dldir/$dlname~
10145       chmod a+x \$dldir/$dlname~
10146       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10147         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10148       fi'
10149     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10150       dlpath=$dir/\$dldll~
10151        $RM \$dlpath'
10152     shlibpath_overrides_runpath=yes
10153
10154     case $host_os in
10155     cygwin*)
10156       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10157       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10158
10159       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10160       ;;
10161     mingw* | cegcc*)
10162       # MinGW DLLs use traditional 'lib' prefix
10163       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10164       ;;
10165     pw32*)
10166       # pw32 DLLs use 'pw' prefix rather than 'lib'
10167       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10168       ;;
10169     esac
10170     dynamic_linker='Win32 ld.exe'
10171     ;;
10172
10173   *,cl*)
10174     # Native MSVC
10175     libname_spec='$name'
10176     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10177     library_names_spec='${libname}.dll.lib'
10178
10179     case $build_os in
10180     mingw*)
10181       sys_lib_search_path_spec=
10182       lt_save_ifs=$IFS
10183       IFS=';'
10184       for lt_path in $LIB
10185       do
10186         IFS=$lt_save_ifs
10187         # Let DOS variable expansion print the short 8.3 style file name.
10188         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10189         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10190       done
10191       IFS=$lt_save_ifs
10192       # Convert to MSYS style.
10193       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10194       ;;
10195     cygwin*)
10196       # Convert to unix form, then to dos form, then back to unix form
10197       # but this time dos style (no spaces!) so that the unix form looks
10198       # like /cygdrive/c/PROGRA~1:/cygdr...
10199       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10200       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10201       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10202       ;;
10203     *)
10204       sys_lib_search_path_spec="$LIB"
10205       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10206         # It is most probably a Windows format PATH.
10207         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10208       else
10209         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10210       fi
10211       # FIXME: find the short name or the path components, as spaces are
10212       # common. (e.g. "Program Files" -> "PROGRA~1")
10213       ;;
10214     esac
10215
10216     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10217     postinstall_cmds='base_file=`basename \${file}`~
10218       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10219       dldir=$destdir/`dirname \$dlpath`~
10220       test -d \$dldir || mkdir -p \$dldir~
10221       $install_prog $dir/$dlname \$dldir/$dlname'
10222     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10223       dlpath=$dir/\$dldll~
10224        $RM \$dlpath'
10225     shlibpath_overrides_runpath=yes
10226     dynamic_linker='Win32 link.exe'
10227     ;;
10228
10229   *)
10230     # Assume MSVC wrapper
10231     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10232     dynamic_linker='Win32 ld.exe'
10233     ;;
10234   esac
10235   # FIXME: first we should search . and the directory the executable is in
10236   shlibpath_var=PATH
10237   ;;
10238
10239 darwin* | rhapsody*)
10240   dynamic_linker="$host_os dyld"
10241   version_type=darwin
10242   need_lib_prefix=no
10243   need_version=no
10244   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10245   soname_spec='${libname}${release}${major}$shared_ext'
10246   shlibpath_overrides_runpath=yes
10247   shlibpath_var=DYLD_LIBRARY_PATH
10248   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10249
10250   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10251   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10252   ;;
10253
10254 dgux*)
10255   version_type=linux # correct to gnu/linux during the next big refactor
10256   need_lib_prefix=no
10257   need_version=no
10258   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10259   soname_spec='${libname}${release}${shared_ext}$major'
10260   shlibpath_var=LD_LIBRARY_PATH
10261   ;;
10262
10263 freebsd* | dragonfly*)
10264   # DragonFly does not have aout.  When/if they implement a new
10265   # versioning mechanism, adjust this.
10266   if test -x /usr/bin/objformat; then
10267     objformat=`/usr/bin/objformat`
10268   else
10269     case $host_os in
10270     freebsd[23].*) objformat=aout ;;
10271     *) objformat=elf ;;
10272     esac
10273   fi
10274   version_type=freebsd-$objformat
10275   case $version_type in
10276     freebsd-elf*)
10277       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10278       need_version=no
10279       need_lib_prefix=no
10280       ;;
10281     freebsd-*)
10282       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10283       need_version=yes
10284       ;;
10285   esac
10286   shlibpath_var=LD_LIBRARY_PATH
10287   case $host_os in
10288   freebsd2.*)
10289     shlibpath_overrides_runpath=yes
10290     ;;
10291   freebsd3.[01]* | freebsdelf3.[01]*)
10292     shlibpath_overrides_runpath=yes
10293     hardcode_into_libs=yes
10294     ;;
10295   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10296   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10297     shlibpath_overrides_runpath=no
10298     hardcode_into_libs=yes
10299     ;;
10300   *) # from 4.6 on, and DragonFly
10301     shlibpath_overrides_runpath=yes
10302     hardcode_into_libs=yes
10303     ;;
10304   esac
10305   ;;
10306
10307 gnu*)
10308   version_type=linux # correct to gnu/linux during the next big refactor
10309   need_lib_prefix=no
10310   need_version=no
10311   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10312   soname_spec='${libname}${release}${shared_ext}$major'
10313   shlibpath_var=LD_LIBRARY_PATH
10314   shlibpath_overrides_runpath=no
10315   hardcode_into_libs=yes
10316   ;;
10317
10318 haiku*)
10319   version_type=linux # correct to gnu/linux during the next big refactor
10320   need_lib_prefix=no
10321   need_version=no
10322   dynamic_linker="$host_os runtime_loader"
10323   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10324   soname_spec='${libname}${release}${shared_ext}$major'
10325   shlibpath_var=LIBRARY_PATH
10326   shlibpath_overrides_runpath=yes
10327   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10328   hardcode_into_libs=yes
10329   ;;
10330
10331 hpux9* | hpux10* | hpux11*)
10332   # Give a soname corresponding to the major version so that dld.sl refuses to
10333   # link against other versions.
10334   version_type=sunos
10335   need_lib_prefix=no
10336   need_version=no
10337   case $host_cpu in
10338   ia64*)
10339     shrext_cmds='.so'
10340     hardcode_into_libs=yes
10341     dynamic_linker="$host_os dld.so"
10342     shlibpath_var=LD_LIBRARY_PATH
10343     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10344     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10345     soname_spec='${libname}${release}${shared_ext}$major'
10346     if test "X$HPUX_IA64_MODE" = X32; then
10347       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10348     else
10349       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10350     fi
10351     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10352     ;;
10353   hppa*64*)
10354     shrext_cmds='.sl'
10355     hardcode_into_libs=yes
10356     dynamic_linker="$host_os dld.sl"
10357     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10358     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10359     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10360     soname_spec='${libname}${release}${shared_ext}$major'
10361     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10362     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10363     ;;
10364   *)
10365     shrext_cmds='.sl'
10366     dynamic_linker="$host_os dld.sl"
10367     shlibpath_var=SHLIB_PATH
10368     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10369     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10370     soname_spec='${libname}${release}${shared_ext}$major'
10371     ;;
10372   esac
10373   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10374   postinstall_cmds='chmod 555 $lib'
10375   # or fails outright, so override atomically:
10376   install_override_mode=555
10377   ;;
10378
10379 interix[3-9]*)
10380   version_type=linux # correct to gnu/linux during the next big refactor
10381   need_lib_prefix=no
10382   need_version=no
10383   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10384   soname_spec='${libname}${release}${shared_ext}$major'
10385   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10386   shlibpath_var=LD_LIBRARY_PATH
10387   shlibpath_overrides_runpath=no
10388   hardcode_into_libs=yes
10389   ;;
10390
10391 irix5* | irix6* | nonstopux*)
10392   case $host_os in
10393     nonstopux*) version_type=nonstopux ;;
10394     *)
10395         if test "$lt_cv_prog_gnu_ld" = yes; then
10396                 version_type=linux # correct to gnu/linux during the next big refactor
10397         else
10398                 version_type=irix
10399         fi ;;
10400   esac
10401   need_lib_prefix=no
10402   need_version=no
10403   soname_spec='${libname}${release}${shared_ext}$major'
10404   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10405   case $host_os in
10406   irix5* | nonstopux*)
10407     libsuff= shlibsuff=
10408     ;;
10409   *)
10410     case $LD in # libtool.m4 will add one of these switches to LD
10411     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10412       libsuff= shlibsuff= libmagic=32-bit;;
10413     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10414       libsuff=32 shlibsuff=N32 libmagic=N32;;
10415     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10416       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10417     *) libsuff= shlibsuff= libmagic=never-match;;
10418     esac
10419     ;;
10420   esac
10421   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10422   shlibpath_overrides_runpath=no
10423   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10424   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10425   hardcode_into_libs=yes
10426   ;;
10427
10428 # No shared lib support for Linux oldld, aout, or coff.
10429 linux*oldld* | linux*aout* | linux*coff*)
10430   dynamic_linker=no
10431   ;;
10432
10433 # This must be glibc/ELF.
10434 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10435   version_type=linux # correct to gnu/linux during the next big refactor
10436   need_lib_prefix=no
10437   need_version=no
10438   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10439   soname_spec='${libname}${release}${shared_ext}$major'
10440   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10441   shlibpath_var=LD_LIBRARY_PATH
10442   shlibpath_overrides_runpath=no
10443
10444   # Some binutils ld are patched to set DT_RUNPATH
10445   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10446   $as_echo_n "(cached) " >&6
10447 else
10448   lt_cv_shlibpath_overrides_runpath=no
10449     save_LDFLAGS=$LDFLAGS
10450     save_libdir=$libdir
10451     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10452          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10453     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10454 /* end confdefs.h.  */
10455
10456 int
10457 main ()
10458 {
10459
10460   ;
10461   return 0;
10462 }
10463 _ACEOF
10464 if ac_fn_c_try_link "$LINENO"; then :
10465   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10466   lt_cv_shlibpath_overrides_runpath=yes
10467 fi
10468 fi
10469 rm -f core conftest.err conftest.$ac_objext \
10470     conftest$ac_exeext conftest.$ac_ext
10471     LDFLAGS=$save_LDFLAGS
10472     libdir=$save_libdir
10473
10474 fi
10475
10476   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10477
10478   # This implies no fast_install, which is unacceptable.
10479   # Some rework will be needed to allow for fast_install
10480   # before this can be enabled.
10481   hardcode_into_libs=yes
10482
10483   # Append ld.so.conf contents to the search path
10484   if test -f /etc/ld.so.conf; then
10485     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' ' '`
10486     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10487   fi
10488
10489   # We used to test for /lib/ld.so.1 and disable shared libraries on
10490   # powerpc, because MkLinux only supported shared libraries with the
10491   # GNU dynamic linker.  Since this was broken with cross compilers,
10492   # most powerpc-linux boxes support dynamic linking these days and
10493   # people can always --disable-shared, the test was removed, and we
10494   # assume the GNU/Linux dynamic linker is in use.
10495   dynamic_linker='GNU/Linux ld.so'
10496   ;;
10497
10498 netbsdelf*-gnu)
10499   version_type=linux
10500   need_lib_prefix=no
10501   need_version=no
10502   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10503   soname_spec='${libname}${release}${shared_ext}$major'
10504   shlibpath_var=LD_LIBRARY_PATH
10505   shlibpath_overrides_runpath=no
10506   hardcode_into_libs=yes
10507   dynamic_linker='NetBSD ld.elf_so'
10508   ;;
10509
10510 netbsd*)
10511   version_type=sunos
10512   need_lib_prefix=no
10513   need_version=no
10514   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10515     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10516     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10517     dynamic_linker='NetBSD (a.out) ld.so'
10518   else
10519     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10520     soname_spec='${libname}${release}${shared_ext}$major'
10521     dynamic_linker='NetBSD ld.elf_so'
10522   fi
10523   shlibpath_var=LD_LIBRARY_PATH
10524   shlibpath_overrides_runpath=yes
10525   hardcode_into_libs=yes
10526   ;;
10527
10528 newsos6)
10529   version_type=linux # correct to gnu/linux during the next big refactor
10530   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10531   shlibpath_var=LD_LIBRARY_PATH
10532   shlibpath_overrides_runpath=yes
10533   ;;
10534
10535 *nto* | *qnx*)
10536   version_type=qnx
10537   need_lib_prefix=no
10538   need_version=no
10539   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10540   soname_spec='${libname}${release}${shared_ext}$major'
10541   shlibpath_var=LD_LIBRARY_PATH
10542   shlibpath_overrides_runpath=no
10543   hardcode_into_libs=yes
10544   dynamic_linker='ldqnx.so'
10545   ;;
10546
10547 openbsd*)
10548   version_type=sunos
10549   sys_lib_dlsearch_path_spec="/usr/lib"
10550   need_lib_prefix=no
10551   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10552   case $host_os in
10553     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10554     *)                          need_version=no  ;;
10555   esac
10556   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10557   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10558   shlibpath_var=LD_LIBRARY_PATH
10559   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10560     case $host_os in
10561       openbsd2.[89] | openbsd2.[89].*)
10562         shlibpath_overrides_runpath=no
10563         ;;
10564       *)
10565         shlibpath_overrides_runpath=yes
10566         ;;
10567       esac
10568   else
10569     shlibpath_overrides_runpath=yes
10570   fi
10571   ;;
10572
10573 os2*)
10574   libname_spec='$name'
10575   shrext_cmds=".dll"
10576   need_lib_prefix=no
10577   library_names_spec='$libname${shared_ext} $libname.a'
10578   dynamic_linker='OS/2 ld.exe'
10579   shlibpath_var=LIBPATH
10580   ;;
10581
10582 osf3* | osf4* | osf5*)
10583   version_type=osf
10584   need_lib_prefix=no
10585   need_version=no
10586   soname_spec='${libname}${release}${shared_ext}$major'
10587   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10588   shlibpath_var=LD_LIBRARY_PATH
10589   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10590   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10591   ;;
10592
10593 rdos*)
10594   dynamic_linker=no
10595   ;;
10596
10597 solaris*)
10598   version_type=linux # correct to gnu/linux during the next big refactor
10599   need_lib_prefix=no
10600   need_version=no
10601   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10602   soname_spec='${libname}${release}${shared_ext}$major'
10603   shlibpath_var=LD_LIBRARY_PATH
10604   shlibpath_overrides_runpath=yes
10605   hardcode_into_libs=yes
10606   # ldd complains unless libraries are executable
10607   postinstall_cmds='chmod +x $lib'
10608   ;;
10609
10610 sunos4*)
10611   version_type=sunos
10612   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10613   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10614   shlibpath_var=LD_LIBRARY_PATH
10615   shlibpath_overrides_runpath=yes
10616   if test "$with_gnu_ld" = yes; then
10617     need_lib_prefix=no
10618   fi
10619   need_version=yes
10620   ;;
10621
10622 sysv4 | sysv4.3*)
10623   version_type=linux # correct to gnu/linux during the next big refactor
10624   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10625   soname_spec='${libname}${release}${shared_ext}$major'
10626   shlibpath_var=LD_LIBRARY_PATH
10627   case $host_vendor in
10628     sni)
10629       shlibpath_overrides_runpath=no
10630       need_lib_prefix=no
10631       runpath_var=LD_RUN_PATH
10632       ;;
10633     siemens)
10634       need_lib_prefix=no
10635       ;;
10636     motorola)
10637       need_lib_prefix=no
10638       need_version=no
10639       shlibpath_overrides_runpath=no
10640       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10641       ;;
10642   esac
10643   ;;
10644
10645 sysv4*MP*)
10646   if test -d /usr/nec ;then
10647     version_type=linux # correct to gnu/linux during the next big refactor
10648     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10649     soname_spec='$libname${shared_ext}.$major'
10650     shlibpath_var=LD_LIBRARY_PATH
10651   fi
10652   ;;
10653
10654 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10655   version_type=freebsd-elf
10656   need_lib_prefix=no
10657   need_version=no
10658   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10659   soname_spec='${libname}${release}${shared_ext}$major'
10660   shlibpath_var=LD_LIBRARY_PATH
10661   shlibpath_overrides_runpath=yes
10662   hardcode_into_libs=yes
10663   if test "$with_gnu_ld" = yes; then
10664     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10665   else
10666     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10667     case $host_os in
10668       sco3.2v5*)
10669         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10670         ;;
10671     esac
10672   fi
10673   sys_lib_dlsearch_path_spec='/usr/lib'
10674   ;;
10675
10676 tpf*)
10677   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10678   version_type=linux # correct to gnu/linux during the next big refactor
10679   need_lib_prefix=no
10680   need_version=no
10681   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10682   shlibpath_var=LD_LIBRARY_PATH
10683   shlibpath_overrides_runpath=no
10684   hardcode_into_libs=yes
10685   ;;
10686
10687 uts4*)
10688   version_type=linux # correct to gnu/linux during the next big refactor
10689   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10690   soname_spec='${libname}${release}${shared_ext}$major'
10691   shlibpath_var=LD_LIBRARY_PATH
10692   ;;
10693
10694 *)
10695   dynamic_linker=no
10696   ;;
10697 esac
10698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10699 $as_echo "$dynamic_linker" >&6; }
10700 test "$dynamic_linker" = no && can_build_shared=no
10701
10702 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10703 if test "$GCC" = yes; then
10704   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10705 fi
10706
10707 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10708   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10709 fi
10710 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10711   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10712 fi
10713
10714
10715
10716
10717
10718
10719
10720
10721
10722
10723
10724
10725
10726
10727
10728
10729
10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
10752
10753
10754
10755
10756
10757
10758
10759
10760
10761
10762
10763
10764
10765
10766
10767
10768
10769
10770
10771
10772
10773
10774
10775
10776
10777
10778
10779
10780
10781
10782
10783
10784
10785
10786
10787
10788
10789
10790
10791
10792
10793
10794
10795
10796
10797
10798
10799
10800
10801
10802
10803
10804
10805   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10806 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10807 hardcode_action=
10808 if test -n "$hardcode_libdir_flag_spec" ||
10809    test -n "$runpath_var" ||
10810    test "X$hardcode_automatic" = "Xyes" ; then
10811
10812   # We can hardcode non-existent directories.
10813   if test "$hardcode_direct" != no &&
10814      # If the only mechanism to avoid hardcoding is shlibpath_var, we
10815      # have to relink, otherwise we might link with an installed library
10816      # when we should be linking with a yet-to-be-installed one
10817      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10818      test "$hardcode_minus_L" != no; then
10819     # Linking always hardcodes the temporary library directory.
10820     hardcode_action=relink
10821   else
10822     # We can link without hardcoding, and we can hardcode nonexisting dirs.
10823     hardcode_action=immediate
10824   fi
10825 else
10826   # We cannot hardcode anything, or else we can only hardcode existing
10827   # directories.
10828   hardcode_action=unsupported
10829 fi
10830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10831 $as_echo "$hardcode_action" >&6; }
10832
10833 if test "$hardcode_action" = relink ||
10834    test "$inherit_rpath" = yes; then
10835   # Fast installation is not supported
10836   enable_fast_install=no
10837 elif test "$shlibpath_overrides_runpath" = yes ||
10838      test "$enable_shared" = no; then
10839   # Fast installation is not necessary
10840   enable_fast_install=needless
10841 fi
10842
10843
10844
10845
10846
10847
10848   if test "x$enable_dlopen" != xyes; then
10849   enable_dlopen=unknown
10850   enable_dlopen_self=unknown
10851   enable_dlopen_self_static=unknown
10852 else
10853   lt_cv_dlopen=no
10854   lt_cv_dlopen_libs=
10855
10856   case $host_os in
10857   beos*)
10858     lt_cv_dlopen="load_add_on"
10859     lt_cv_dlopen_libs=
10860     lt_cv_dlopen_self=yes
10861     ;;
10862
10863   mingw* | pw32* | cegcc*)
10864     lt_cv_dlopen="LoadLibrary"
10865     lt_cv_dlopen_libs=
10866     ;;
10867
10868   cygwin*)
10869     lt_cv_dlopen="dlopen"
10870     lt_cv_dlopen_libs=
10871     ;;
10872
10873   darwin*)
10874   # if libdl is installed we need to link against it
10875     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10876 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10877 if ${ac_cv_lib_dl_dlopen+:} false; then :
10878   $as_echo_n "(cached) " >&6
10879 else
10880   ac_check_lib_save_LIBS=$LIBS
10881 LIBS="-ldl  $LIBS"
10882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10883 /* end confdefs.h.  */
10884
10885 /* Override any GCC internal prototype to avoid an error.
10886    Use char because int might match the return type of a GCC
10887    builtin and then its argument prototype would still apply.  */
10888 #ifdef __cplusplus
10889 extern "C"
10890 #endif
10891 char dlopen ();
10892 int
10893 main ()
10894 {
10895 return dlopen ();
10896   ;
10897   return 0;
10898 }
10899 _ACEOF
10900 if ac_fn_c_try_link "$LINENO"; then :
10901   ac_cv_lib_dl_dlopen=yes
10902 else
10903   ac_cv_lib_dl_dlopen=no
10904 fi
10905 rm -f core conftest.err conftest.$ac_objext \
10906     conftest$ac_exeext conftest.$ac_ext
10907 LIBS=$ac_check_lib_save_LIBS
10908 fi
10909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10910 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10911 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10912   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10913 else
10914
10915     lt_cv_dlopen="dyld"
10916     lt_cv_dlopen_libs=
10917     lt_cv_dlopen_self=yes
10918
10919 fi
10920
10921     ;;
10922
10923   *)
10924     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10925 if test "x$ac_cv_func_shl_load" = xyes; then :
10926   lt_cv_dlopen="shl_load"
10927 else
10928   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10929 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10930 if ${ac_cv_lib_dld_shl_load+:} false; then :
10931   $as_echo_n "(cached) " >&6
10932 else
10933   ac_check_lib_save_LIBS=$LIBS
10934 LIBS="-ldld  $LIBS"
10935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10936 /* end confdefs.h.  */
10937
10938 /* Override any GCC internal prototype to avoid an error.
10939    Use char because int might match the return type of a GCC
10940    builtin and then its argument prototype would still apply.  */
10941 #ifdef __cplusplus
10942 extern "C"
10943 #endif
10944 char shl_load ();
10945 int
10946 main ()
10947 {
10948 return shl_load ();
10949   ;
10950   return 0;
10951 }
10952 _ACEOF
10953 if ac_fn_c_try_link "$LINENO"; then :
10954   ac_cv_lib_dld_shl_load=yes
10955 else
10956   ac_cv_lib_dld_shl_load=no
10957 fi
10958 rm -f core conftest.err conftest.$ac_objext \
10959     conftest$ac_exeext conftest.$ac_ext
10960 LIBS=$ac_check_lib_save_LIBS
10961 fi
10962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10963 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10964 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
10965   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10966 else
10967   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10968 if test "x$ac_cv_func_dlopen" = xyes; then :
10969   lt_cv_dlopen="dlopen"
10970 else
10971   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10972 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10973 if ${ac_cv_lib_dl_dlopen+:} false; then :
10974   $as_echo_n "(cached) " >&6
10975 else
10976   ac_check_lib_save_LIBS=$LIBS
10977 LIBS="-ldl  $LIBS"
10978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10979 /* end confdefs.h.  */
10980
10981 /* Override any GCC internal prototype to avoid an error.
10982    Use char because int might match the return type of a GCC
10983    builtin and then its argument prototype would still apply.  */
10984 #ifdef __cplusplus
10985 extern "C"
10986 #endif
10987 char dlopen ();
10988 int
10989 main ()
10990 {
10991 return dlopen ();
10992   ;
10993   return 0;
10994 }
10995 _ACEOF
10996 if ac_fn_c_try_link "$LINENO"; then :
10997   ac_cv_lib_dl_dlopen=yes
10998 else
10999   ac_cv_lib_dl_dlopen=no
11000 fi
11001 rm -f core conftest.err conftest.$ac_objext \
11002     conftest$ac_exeext conftest.$ac_ext
11003 LIBS=$ac_check_lib_save_LIBS
11004 fi
11005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11006 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11007 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11008   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11009 else
11010   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11011 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11012 if ${ac_cv_lib_svld_dlopen+:} false; then :
11013   $as_echo_n "(cached) " >&6
11014 else
11015   ac_check_lib_save_LIBS=$LIBS
11016 LIBS="-lsvld  $LIBS"
11017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11018 /* end confdefs.h.  */
11019
11020 /* Override any GCC internal prototype to avoid an error.
11021    Use char because int might match the return type of a GCC
11022    builtin and then its argument prototype would still apply.  */
11023 #ifdef __cplusplus
11024 extern "C"
11025 #endif
11026 char dlopen ();
11027 int
11028 main ()
11029 {
11030 return dlopen ();
11031   ;
11032   return 0;
11033 }
11034 _ACEOF
11035 if ac_fn_c_try_link "$LINENO"; then :
11036   ac_cv_lib_svld_dlopen=yes
11037 else
11038   ac_cv_lib_svld_dlopen=no
11039 fi
11040 rm -f core conftest.err conftest.$ac_objext \
11041     conftest$ac_exeext conftest.$ac_ext
11042 LIBS=$ac_check_lib_save_LIBS
11043 fi
11044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11045 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11046 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11047   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11048 else
11049   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11050 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11051 if ${ac_cv_lib_dld_dld_link+:} false; then :
11052   $as_echo_n "(cached) " >&6
11053 else
11054   ac_check_lib_save_LIBS=$LIBS
11055 LIBS="-ldld  $LIBS"
11056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11057 /* end confdefs.h.  */
11058
11059 /* Override any GCC internal prototype to avoid an error.
11060    Use char because int might match the return type of a GCC
11061    builtin and then its argument prototype would still apply.  */
11062 #ifdef __cplusplus
11063 extern "C"
11064 #endif
11065 char dld_link ();
11066 int
11067 main ()
11068 {
11069 return dld_link ();
11070   ;
11071   return 0;
11072 }
11073 _ACEOF
11074 if ac_fn_c_try_link "$LINENO"; then :
11075   ac_cv_lib_dld_dld_link=yes
11076 else
11077   ac_cv_lib_dld_dld_link=no
11078 fi
11079 rm -f core conftest.err conftest.$ac_objext \
11080     conftest$ac_exeext conftest.$ac_ext
11081 LIBS=$ac_check_lib_save_LIBS
11082 fi
11083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11084 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11085 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11086   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11087 fi
11088
11089
11090 fi
11091
11092
11093 fi
11094
11095
11096 fi
11097
11098
11099 fi
11100
11101
11102 fi
11103
11104     ;;
11105   esac
11106
11107   if test "x$lt_cv_dlopen" != xno; then
11108     enable_dlopen=yes
11109   else
11110     enable_dlopen=no
11111   fi
11112
11113   case $lt_cv_dlopen in
11114   dlopen)
11115     save_CPPFLAGS="$CPPFLAGS"
11116     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11117
11118     save_LDFLAGS="$LDFLAGS"
11119     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11120
11121     save_LIBS="$LIBS"
11122     LIBS="$lt_cv_dlopen_libs $LIBS"
11123
11124     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11125 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11126 if ${lt_cv_dlopen_self+:} false; then :
11127   $as_echo_n "(cached) " >&6
11128 else
11129           if test "$cross_compiling" = yes; then :
11130   lt_cv_dlopen_self=cross
11131 else
11132   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11133   lt_status=$lt_dlunknown
11134   cat > conftest.$ac_ext <<_LT_EOF
11135 #line $LINENO "configure"
11136 #include "confdefs.h"
11137
11138 #if HAVE_DLFCN_H
11139 #include <dlfcn.h>
11140 #endif
11141
11142 #include <stdio.h>
11143
11144 #ifdef RTLD_GLOBAL
11145 #  define LT_DLGLOBAL           RTLD_GLOBAL
11146 #else
11147 #  ifdef DL_GLOBAL
11148 #    define LT_DLGLOBAL         DL_GLOBAL
11149 #  else
11150 #    define LT_DLGLOBAL         0
11151 #  endif
11152 #endif
11153
11154 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11155    find out it does not work in some platform. */
11156 #ifndef LT_DLLAZY_OR_NOW
11157 #  ifdef RTLD_LAZY
11158 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11159 #  else
11160 #    ifdef DL_LAZY
11161 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11162 #    else
11163 #      ifdef RTLD_NOW
11164 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11165 #      else
11166 #        ifdef DL_NOW
11167 #          define LT_DLLAZY_OR_NOW      DL_NOW
11168 #        else
11169 #          define LT_DLLAZY_OR_NOW      0
11170 #        endif
11171 #      endif
11172 #    endif
11173 #  endif
11174 #endif
11175
11176 /* When -fvisbility=hidden is used, assume the code has been annotated
11177    correspondingly for the symbols needed.  */
11178 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11179 int fnord () __attribute__((visibility("default")));
11180 #endif
11181
11182 int fnord () { return 42; }
11183 int main ()
11184 {
11185   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11186   int status = $lt_dlunknown;
11187
11188   if (self)
11189     {
11190       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11191       else
11192         {
11193           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11194           else puts (dlerror ());
11195         }
11196       /* dlclose (self); */
11197     }
11198   else
11199     puts (dlerror ());
11200
11201   return status;
11202 }
11203 _LT_EOF
11204   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11205   (eval $ac_link) 2>&5
11206   ac_status=$?
11207   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11208   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11209     (./conftest; exit; ) >&5 2>/dev/null
11210     lt_status=$?
11211     case x$lt_status in
11212       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11213       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11214       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11215     esac
11216   else :
11217     # compilation failed
11218     lt_cv_dlopen_self=no
11219   fi
11220 fi
11221 rm -fr conftest*
11222
11223
11224 fi
11225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11226 $as_echo "$lt_cv_dlopen_self" >&6; }
11227
11228     if test "x$lt_cv_dlopen_self" = xyes; then
11229       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11230       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11231 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11232 if ${lt_cv_dlopen_self_static+:} false; then :
11233   $as_echo_n "(cached) " >&6
11234 else
11235           if test "$cross_compiling" = yes; then :
11236   lt_cv_dlopen_self_static=cross
11237 else
11238   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11239   lt_status=$lt_dlunknown
11240   cat > conftest.$ac_ext <<_LT_EOF
11241 #line $LINENO "configure"
11242 #include "confdefs.h"
11243
11244 #if HAVE_DLFCN_H
11245 #include <dlfcn.h>
11246 #endif
11247
11248 #include <stdio.h>
11249
11250 #ifdef RTLD_GLOBAL
11251 #  define LT_DLGLOBAL           RTLD_GLOBAL
11252 #else
11253 #  ifdef DL_GLOBAL
11254 #    define LT_DLGLOBAL         DL_GLOBAL
11255 #  else
11256 #    define LT_DLGLOBAL         0
11257 #  endif
11258 #endif
11259
11260 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11261    find out it does not work in some platform. */
11262 #ifndef LT_DLLAZY_OR_NOW
11263 #  ifdef RTLD_LAZY
11264 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11265 #  else
11266 #    ifdef DL_LAZY
11267 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11268 #    else
11269 #      ifdef RTLD_NOW
11270 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11271 #      else
11272 #        ifdef DL_NOW
11273 #          define LT_DLLAZY_OR_NOW      DL_NOW
11274 #        else
11275 #          define LT_DLLAZY_OR_NOW      0
11276 #        endif
11277 #      endif
11278 #    endif
11279 #  endif
11280 #endif
11281
11282 /* When -fvisbility=hidden is used, assume the code has been annotated
11283    correspondingly for the symbols needed.  */
11284 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11285 int fnord () __attribute__((visibility("default")));
11286 #endif
11287
11288 int fnord () { return 42; }
11289 int main ()
11290 {
11291   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11292   int status = $lt_dlunknown;
11293
11294   if (self)
11295     {
11296       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11297       else
11298         {
11299           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11300           else puts (dlerror ());
11301         }
11302       /* dlclose (self); */
11303     }
11304   else
11305     puts (dlerror ());
11306
11307   return status;
11308 }
11309 _LT_EOF
11310   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11311   (eval $ac_link) 2>&5
11312   ac_status=$?
11313   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11314   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11315     (./conftest; exit; ) >&5 2>/dev/null
11316     lt_status=$?
11317     case x$lt_status in
11318       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11319       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11320       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11321     esac
11322   else :
11323     # compilation failed
11324     lt_cv_dlopen_self_static=no
11325   fi
11326 fi
11327 rm -fr conftest*
11328
11329
11330 fi
11331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11332 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11333     fi
11334
11335     CPPFLAGS="$save_CPPFLAGS"
11336     LDFLAGS="$save_LDFLAGS"
11337     LIBS="$save_LIBS"
11338     ;;
11339   esac
11340
11341   case $lt_cv_dlopen_self in
11342   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11343   *) enable_dlopen_self=unknown ;;
11344   esac
11345
11346   case $lt_cv_dlopen_self_static in
11347   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11348   *) enable_dlopen_self_static=unknown ;;
11349   esac
11350 fi
11351
11352
11353
11354
11355
11356
11357
11358
11359
11360
11361
11362
11363
11364
11365
11366
11367
11368 striplib=
11369 old_striplib=
11370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11371 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11372 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11373   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11374   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11375   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11376 $as_echo "yes" >&6; }
11377 else
11378 # FIXME - insert some real tests, host_os isn't really good enough
11379   case $host_os in
11380   darwin*)
11381     if test -n "$STRIP" ; then
11382       striplib="$STRIP -x"
11383       old_striplib="$STRIP -S"
11384       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11385 $as_echo "yes" >&6; }
11386     else
11387       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11388 $as_echo "no" >&6; }
11389     fi
11390     ;;
11391   *)
11392     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11393 $as_echo "no" >&6; }
11394     ;;
11395   esac
11396 fi
11397
11398
11399
11400
11401
11402
11403
11404
11405
11406
11407
11408
11409   # Report which library types will actually be built
11410   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11411 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11412   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11413 $as_echo "$can_build_shared" >&6; }
11414
11415   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11416 $as_echo_n "checking whether to build shared libraries... " >&6; }
11417   test "$can_build_shared" = "no" && enable_shared=no
11418
11419   # On AIX, shared libraries and static libraries use the same namespace, and
11420   # are all built from PIC.
11421   case $host_os in
11422   aix3*)
11423     test "$enable_shared" = yes && enable_static=no
11424     if test -n "$RANLIB"; then
11425       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11426       postinstall_cmds='$RANLIB $lib'
11427     fi
11428     ;;
11429
11430   aix[4-9]*)
11431     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11432       test "$enable_shared" = yes && enable_static=no
11433     fi
11434     ;;
11435   esac
11436   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11437 $as_echo "$enable_shared" >&6; }
11438
11439   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11440 $as_echo_n "checking whether to build static libraries... " >&6; }
11441   # Make sure either enable_shared or enable_static is yes.
11442   test "$enable_shared" = yes || enable_static=yes
11443   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11444 $as_echo "$enable_static" >&6; }
11445
11446
11447
11448
11449 fi
11450 ac_ext=c
11451 ac_cpp='$CPP $CPPFLAGS'
11452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11455
11456 CC="$lt_save_CC"
11457
11458
11459
11460
11461
11462
11463
11464
11465
11466
11467
11468
11469
11470
11471
11472         ac_config_commands="$ac_config_commands libtool"
11473
11474
11475
11476
11477 # Only expand once:
11478
11479
11480
11481 LIBGEE_LT_VERSION="4:0:2"
11482
11483
11484 GLIB_REQUIRED=2.32
11485
11486 # Extract the first word of "valac", so it can be a program name with args.
11487 set dummy valac; ac_word=$2
11488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11489 $as_echo_n "checking for $ac_word... " >&6; }
11490 if ${ac_cv_path_VALAC+:} false; then :
11491   $as_echo_n "(cached) " >&6
11492 else
11493   case $VALAC in
11494   [\\/]* | ?:[\\/]*)
11495   ac_cv_path_VALAC="$VALAC" # Let the user override the test with a path.
11496   ;;
11497   *)
11498   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11499 for as_dir in $PATH
11500 do
11501   IFS=$as_save_IFS
11502   test -z "$as_dir" && as_dir=.
11503     for ac_exec_ext in '' $ac_executable_extensions; do
11504   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11505     ac_cv_path_VALAC="$as_dir/$ac_word$ac_exec_ext"
11506     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11507     break 2
11508   fi
11509 done
11510   done
11511 IFS=$as_save_IFS
11512
11513   ;;
11514 esac
11515 fi
11516 VALAC=$ac_cv_path_VALAC
11517 if test -n "$VALAC"; then
11518   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALAC" >&5
11519 $as_echo "$VALAC" >&6; }
11520 else
11521   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11522 $as_echo "no" >&6; }
11523 fi
11524
11525
11526  if test -z "$VALAC"; then :
11527   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No Vala compiler found.  You will not be able to compile .vala source files." >&5
11528 $as_echo "$as_me: WARNING: No Vala compiler found.  You will not be able to compile .vala source files." >&2;}
11529 else
11530   if test -n "0.17.5"; then :
11531   { $as_echo "$as_me:${as_lineno-$LINENO}: checking $VALAC is at least version 0.17.5" >&5
11532 $as_echo_n "checking $VALAC is at least version 0.17.5... " >&6; }
11533        am__vala_version=`$VALAC --version | sed 's/Vala  *//'`
11534        as_arg_v1=0.17.5
11535 as_arg_v2="$am__vala_version"
11536 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
11537 case $? in #(
11538   1) :
11539     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11540 $as_echo "yes" >&6; } ;; #(
11541   0) :
11542     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11543 $as_echo "yes" >&6; } ;; #(
11544   2) :
11545     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11546 $as_echo "no" >&6; }
11547           as_fn_error $? "Vala 0.17.5 not found." "$LINENO" 5 ;; #(
11548   *) :
11549      ;;
11550 esac
11551 fi
11552 fi
11553
11554
11555
11556 VALAFLAGS=--target-glib=$GLIB_REQUIRED
11557
11558
11559
11560 # Check whether --enable-doc was given.
11561 if test "${enable_doc+set}" = set; then :
11562   enableval=$enable_doc; enable_doc=$enableval
11563 else
11564   enable_doc=no
11565 fi
11566
11567  if test x$enable_doc = xyes; then
11568   ENABLE_DOC_TRUE=
11569   ENABLE_DOC_FALSE='#'
11570 else
11571   ENABLE_DOC_TRUE='#'
11572   ENABLE_DOC_FALSE=
11573 fi
11574
11575
11576 if test "x$enable_doc" != xno; then :
11577   # Extract the first word of "valadoc", so it can be a program name with args.
11578 set dummy valadoc; ac_word=$2
11579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11580 $as_echo_n "checking for $ac_word... " >&6; }
11581 if ${ac_cv_path_VALADOC+:} false; then :
11582   $as_echo_n "(cached) " >&6
11583 else
11584   case $VALADOC in
11585   [\\/]* | ?:[\\/]*)
11586   ac_cv_path_VALADOC="$VALADOC" # Let the user override the test with a path.
11587   ;;
11588   *)
11589   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11590 for as_dir in $PATH
11591 do
11592   IFS=$as_save_IFS
11593   test -z "$as_dir" && as_dir=.
11594     for ac_exec_ext in '' $ac_executable_extensions; do
11595   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11596     ac_cv_path_VALADOC="$as_dir/$ac_word$ac_exec_ext"
11597     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11598     break 2
11599   fi
11600 done
11601   done
11602 IFS=$as_save_IFS
11603
11604   test -z "$ac_cv_path_VALADOC" && ac_cv_path_VALADOC=":"
11605   ;;
11606 esac
11607 fi
11608 VALADOC=$ac_cv_path_VALADOC
11609 if test -n "$VALADOC"; then
11610   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALADOC" >&5
11611 $as_echo "$VALADOC" >&6; }
11612 else
11613   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11614 $as_echo "no" >&6; }
11615 fi
11616
11617
11618
11619          if test "$VALADOC" = :; then :
11620   as_fn_error $? "valadoc not found" "$LINENO" 5
11621 fi
11622 fi
11623
11624 # Check whether --enable-coverage was given.
11625 if test "${enable_coverage+set}" = set; then :
11626   enableval=$enable_coverage; enable_coverage=$enableval
11627 else
11628   enable_coverage=no
11629 fi
11630
11631  if test x$enable_coverage != xno; then
11632   ENABLE_COVERAGE_TRUE=
11633   ENABLE_COVERAGE_FALSE='#'
11634 else
11635   ENABLE_COVERAGE_TRUE='#'
11636   ENABLE_COVERAGE_FALSE=
11637 fi
11638
11639
11640 if test "x$enable_coverage" != xno; then :
11641   COVERAGE_CFLAGS="-fprofile-arcs -ftest-coverage"
11642          COVERAGE_VALAFLAGS="-g"
11643          COVERAGE_LIBS="-lgcov"
11644
11645
11646
11647
11648          # Extract the first word of "lcov", so it can be a program name with args.
11649 set dummy lcov; ac_word=$2
11650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11651 $as_echo_n "checking for $ac_word... " >&6; }
11652 if ${ac_cv_path_LCOV+:} false; then :
11653   $as_echo_n "(cached) " >&6
11654 else
11655   case $LCOV in
11656   [\\/]* | ?:[\\/]*)
11657   ac_cv_path_LCOV="$LCOV" # Let the user override the test with a path.
11658   ;;
11659   *)
11660   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11661 for as_dir in $PATH
11662 do
11663   IFS=$as_save_IFS
11664   test -z "$as_dir" && as_dir=.
11665     for ac_exec_ext in '' $ac_executable_extensions; do
11666   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11667     ac_cv_path_LCOV="$as_dir/$ac_word$ac_exec_ext"
11668     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11669     break 2
11670   fi
11671 done
11672   done
11673 IFS=$as_save_IFS
11674
11675   test -z "$ac_cv_path_LCOV" && ac_cv_path_LCOV=":"
11676   ;;
11677 esac
11678 fi
11679 LCOV=$ac_cv_path_LCOV
11680 if test -n "$LCOV"; then
11681   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LCOV" >&5
11682 $as_echo "$LCOV" >&6; }
11683 else
11684   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11685 $as_echo "no" >&6; }
11686 fi
11687
11688
11689
11690          if test "$LCOV" = :; then :
11691   as_fn_error $? "lcov is necessary for testing code coverage (http://ltp.sourceforge.net/coverage/lcov.php)" "$LINENO" 5
11692 fi
11693 fi
11694
11695 # Check whether --enable-benchmark was given.
11696 if test "${enable_benchmark+set}" = set; then :
11697   enableval=$enable_benchmark; enable_benchmark=$enableval
11698 else
11699   enable_benchmark=no
11700 fi
11701
11702  if test x$enable_benchmark = xyes; then
11703   ENABLE_BENCHMARK_TRUE=
11704   ENABLE_BENCHMARK_FALSE='#'
11705 else
11706   ENABLE_BENCHMARK_TRUE='#'
11707   ENABLE_BENCHMARK_FALSE=
11708 fi
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11719         if test -n "$ac_tool_prefix"; then
11720   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11721 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11723 $as_echo_n "checking for $ac_word... " >&6; }
11724 if ${ac_cv_path_PKG_CONFIG+:} false; then :
11725   $as_echo_n "(cached) " >&6
11726 else
11727   case $PKG_CONFIG in
11728   [\\/]* | ?:[\\/]*)
11729   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11730   ;;
11731   *)
11732   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11733 for as_dir in $PATH
11734 do
11735   IFS=$as_save_IFS
11736   test -z "$as_dir" && as_dir=.
11737     for ac_exec_ext in '' $ac_executable_extensions; do
11738   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11739     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11740     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11741     break 2
11742   fi
11743 done
11744   done
11745 IFS=$as_save_IFS
11746
11747   ;;
11748 esac
11749 fi
11750 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11751 if test -n "$PKG_CONFIG"; then
11752   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11753 $as_echo "$PKG_CONFIG" >&6; }
11754 else
11755   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11756 $as_echo "no" >&6; }
11757 fi
11758
11759
11760 fi
11761 if test -z "$ac_cv_path_PKG_CONFIG"; then
11762   ac_pt_PKG_CONFIG=$PKG_CONFIG
11763   # Extract the first word of "pkg-config", so it can be a program name with args.
11764 set dummy pkg-config; ac_word=$2
11765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11766 $as_echo_n "checking for $ac_word... " >&6; }
11767 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
11768   $as_echo_n "(cached) " >&6
11769 else
11770   case $ac_pt_PKG_CONFIG in
11771   [\\/]* | ?:[\\/]*)
11772   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11773   ;;
11774   *)
11775   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11776 for as_dir in $PATH
11777 do
11778   IFS=$as_save_IFS
11779   test -z "$as_dir" && as_dir=.
11780     for ac_exec_ext in '' $ac_executable_extensions; do
11781   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11782     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11783     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11784     break 2
11785   fi
11786 done
11787   done
11788 IFS=$as_save_IFS
11789
11790   ;;
11791 esac
11792 fi
11793 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11794 if test -n "$ac_pt_PKG_CONFIG"; then
11795   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11796 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
11797 else
11798   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11799 $as_echo "no" >&6; }
11800 fi
11801
11802   if test "x$ac_pt_PKG_CONFIG" = x; then
11803     PKG_CONFIG=""
11804   else
11805     case $cross_compiling:$ac_tool_warned in
11806 yes:)
11807 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11808 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11809 ac_tool_warned=yes ;;
11810 esac
11811     PKG_CONFIG=$ac_pt_PKG_CONFIG
11812   fi
11813 else
11814   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11815 fi
11816
11817 fi
11818 if test -n "$PKG_CONFIG"; then
11819         _pkg_min_version=0.9.0
11820         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11821 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11822         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11823                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11824 $as_echo "yes" >&6; }
11825         else
11826                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11827 $as_echo "no" >&6; }
11828                 PKG_CONFIG=""
11829         fi
11830 fi
11831
11832 pkg_failed=no
11833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
11834 $as_echo_n "checking for GLIB... " >&6; }
11835
11836 if test -n "$GLIB_CFLAGS"; then
11837     pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
11838  elif test -n "$PKG_CONFIG"; then
11839     if test -n "$PKG_CONFIG" && \
11840     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED gobject-2.0 >= \$GLIB_REQUIRED\""; } >&5
11841   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED") 2>&5
11842   ac_status=$?
11843   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11844   test $ac_status = 0; }; then
11845   pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED" 2>/dev/null`
11846                       test "x$?" != "x0" && pkg_failed=yes
11847 else
11848   pkg_failed=yes
11849 fi
11850  else
11851     pkg_failed=untried
11852 fi
11853 if test -n "$GLIB_LIBS"; then
11854     pkg_cv_GLIB_LIBS="$GLIB_LIBS"
11855  elif test -n "$PKG_CONFIG"; then
11856     if test -n "$PKG_CONFIG" && \
11857     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED gobject-2.0 >= \$GLIB_REQUIRED\""; } >&5
11858   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED") 2>&5
11859   ac_status=$?
11860   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11861   test $ac_status = 0; }; then
11862   pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED" 2>/dev/null`
11863                       test "x$?" != "x0" && pkg_failed=yes
11864 else
11865   pkg_failed=yes
11866 fi
11867  else
11868     pkg_failed=untried
11869 fi
11870
11871
11872
11873 if test $pkg_failed = yes; then
11874         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11875 $as_echo "no" >&6; }
11876
11877 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11878         _pkg_short_errors_supported=yes
11879 else
11880         _pkg_short_errors_supported=no
11881 fi
11882         if test $_pkg_short_errors_supported = yes; then
11883                 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED" 2>&1`
11884         else
11885                 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED" 2>&1`
11886         fi
11887         # Put the nasty error message in config.log where it belongs
11888         echo "$GLIB_PKG_ERRORS" >&5
11889
11890         as_fn_error $? "Package requirements (glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED) were not met:
11891
11892 $GLIB_PKG_ERRORS
11893
11894 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11895 installed software in a non-standard prefix.
11896
11897 Alternatively, you may set the environment variables GLIB_CFLAGS
11898 and GLIB_LIBS to avoid the need to call pkg-config.
11899 See the pkg-config man page for more details." "$LINENO" 5
11900 elif test $pkg_failed = untried; then
11901         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11902 $as_echo "no" >&6; }
11903         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11904 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11905 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
11906 is in your PATH or set the PKG_CONFIG environment variable to the full
11907 path to pkg-config.
11908
11909 Alternatively, you may set the environment variables GLIB_CFLAGS
11910 and GLIB_LIBS to avoid the need to call pkg-config.
11911 See the pkg-config man page for more details.
11912
11913 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11914 See \`config.log' for more details" "$LINENO" 5; }
11915 else
11916         GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
11917         GLIB_LIBS=$pkg_cv_GLIB_LIBS
11918         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11919 $as_echo "yes" >&6; }
11920
11921 fi
11922
11923
11924
11925
11926
11927
11928                 # Check whether --enable-introspection was given.
11929 if test "${enable_introspection+set}" = set; then :
11930   enableval=$enable_introspection;
11931 else
11932   enable_introspection=auto
11933 fi
11934
11935
11936     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5
11937 $as_echo_n "checking for gobject-introspection... " >&6; }
11938
11939         case $enable_introspection in #(
11940   no) :
11941             found_introspection="no (disabled, use --enable-introspection to enable)"
11942      ;; #(
11943       yes) :
11944             if test -n "$PKG_CONFIG" && \
11945     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5
11946   ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5
11947   ac_status=$?
11948   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11949   test $ac_status = 0; }; then
11950   :
11951 else
11952   as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5
11953 fi
11954         if test -n "$PKG_CONFIG" && \
11955     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.9.0\""; } >&5
11956   ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.9.0") 2>&5
11957   ac_status=$?
11958   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11959   test $ac_status = 0; }; then
11960   found_introspection=yes
11961 else
11962   as_fn_error $? "You need to have gobject-introspection >= 0.9.0 installed to build libgee" "$LINENO" 5
11963 fi
11964      ;; #(
11965       auto) :
11966             if test -n "$PKG_CONFIG" && \
11967     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.9.0\""; } >&5
11968   ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.9.0") 2>&5
11969   ac_status=$?
11970   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11971   test $ac_status = 0; }; then
11972   found_introspection=yes
11973 else
11974   found_introspection=no
11975 fi
11976                 enable_introspection=$found_introspection
11977      ;; #(
11978   *) :
11979                 as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5
11980      ;;
11981 esac
11982     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5
11983 $as_echo "$found_introspection" >&6; }
11984
11985     INTROSPECTION_SCANNER=
11986     INTROSPECTION_COMPILER=
11987     INTROSPECTION_GENERATE=
11988     INTROSPECTION_GIRDIR=
11989     INTROSPECTION_TYPELIBDIR=
11990     if test "x$found_introspection" = "xyes"; then
11991        INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
11992        INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
11993        INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
11994        INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
11995        INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
11996        INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
11997        INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
11998        INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
11999     fi
12000
12001
12002
12003
12004
12005
12006
12007
12008
12009      if test "x$found_introspection" = "xyes"; then
12010   HAVE_INTROSPECTION_TRUE=
12011   HAVE_INTROSPECTION_FALSE='#'
12012 else
12013   HAVE_INTROSPECTION_TRUE='#'
12014   HAVE_INTROSPECTION_FALSE=
12015 fi
12016
12017
12018
12019
12020 ac_config_files="$ac_config_files Makefile gee-0.8.pc benchmark/Makefile doc/Makefile gee/Makefile tests/Makefile"
12021
12022 cat >confcache <<\_ACEOF
12023 # This file is a shell script that caches the results of configure
12024 # tests run on this system so they can be shared between configure
12025 # scripts and configure runs, see configure's option --config-cache.
12026 # It is not useful on other systems.  If it contains results you don't
12027 # want to keep, you may remove or edit it.
12028 #
12029 # config.status only pays attention to the cache file if you give it
12030 # the --recheck option to rerun configure.
12031 #
12032 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12033 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12034 # following values.
12035
12036 _ACEOF
12037
12038 # The following way of writing the cache mishandles newlines in values,
12039 # but we know of no workaround that is simple, portable, and efficient.
12040 # So, we kill variables containing newlines.
12041 # Ultrix sh set writes to stderr and can't be redirected directly,
12042 # and sets the high bit in the cache file unless we assign to the vars.
12043 (
12044   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12045     eval ac_val=\$$ac_var
12046     case $ac_val in #(
12047     *${as_nl}*)
12048       case $ac_var in #(
12049       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12050 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12051       esac
12052       case $ac_var in #(
12053       _ | IFS | as_nl) ;; #(
12054       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12055       *) { eval $ac_var=; unset $ac_var;} ;;
12056       esac ;;
12057     esac
12058   done
12059
12060   (set) 2>&1 |
12061     case $as_nl`(ac_space=' '; set) 2>&1` in #(
12062     *${as_nl}ac_space=\ *)
12063       # `set' does not quote correctly, so add quotes: double-quote
12064       # substitution turns \\\\ into \\, and sed turns \\ into \.
12065       sed -n \
12066         "s/'/'\\\\''/g;
12067           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12068       ;; #(
12069     *)
12070       # `set' quotes correctly as required by POSIX, so do not add quotes.
12071       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12072       ;;
12073     esac |
12074     sort
12075 ) |
12076   sed '
12077      /^ac_cv_env_/b end
12078      t clear
12079      :clear
12080      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12081      t end
12082      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12083      :end' >>confcache
12084 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12085   if test -w "$cache_file"; then
12086     if test "x$cache_file" != "x/dev/null"; then
12087       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12088 $as_echo "$as_me: updating cache $cache_file" >&6;}
12089       if test ! -f "$cache_file" || test -h "$cache_file"; then
12090         cat confcache >"$cache_file"
12091       else
12092         case $cache_file in #(
12093         */* | ?:*)
12094           mv -f confcache "$cache_file"$$ &&
12095           mv -f "$cache_file"$$ "$cache_file" ;; #(
12096         *)
12097           mv -f confcache "$cache_file" ;;
12098         esac
12099       fi
12100     fi
12101   else
12102     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12103 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12104   fi
12105 fi
12106 rm -f confcache
12107
12108 test "x$prefix" = xNONE && prefix=$ac_default_prefix
12109 # Let make expand exec_prefix.
12110 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12111
12112 DEFS=-DHAVE_CONFIG_H
12113
12114 ac_libobjs=
12115 ac_ltlibobjs=
12116 U=
12117 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12118   # 1. Remove the extension, and $U if already installed.
12119   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12120   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12121   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
12122   #    will be set to the directory where LIBOBJS objects are built.
12123   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12124   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
12125 done
12126 LIBOBJS=$ac_libobjs
12127
12128 LTLIBOBJS=$ac_ltlibobjs
12129
12130
12131  if test -n "$EXEEXT"; then
12132   am__EXEEXT_TRUE=
12133   am__EXEEXT_FALSE='#'
12134 else
12135   am__EXEEXT_TRUE='#'
12136   am__EXEEXT_FALSE=
12137 fi
12138
12139 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12140   as_fn_error $? "conditional \"AMDEP\" was never defined.
12141 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12142 fi
12143 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12144   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
12145 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12146 fi
12147 if test -z "${ENABLE_DOC_TRUE}" && test -z "${ENABLE_DOC_FALSE}"; then
12148   as_fn_error $? "conditional \"ENABLE_DOC\" was never defined.
12149 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12150 fi
12151 if test -z "${ENABLE_COVERAGE_TRUE}" && test -z "${ENABLE_COVERAGE_FALSE}"; then
12152   as_fn_error $? "conditional \"ENABLE_COVERAGE\" was never defined.
12153 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12154 fi
12155 if test -z "${ENABLE_BENCHMARK_TRUE}" && test -z "${ENABLE_BENCHMARK_FALSE}"; then
12156   as_fn_error $? "conditional \"ENABLE_BENCHMARK\" was never defined.
12157 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12158 fi
12159 if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
12160   as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined.
12161 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12162 fi
12163
12164 : "${CONFIG_STATUS=./config.status}"
12165 ac_write_fail=0
12166 ac_clean_files_save=$ac_clean_files
12167 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12168 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12169 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12170 as_write_fail=0
12171 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12172 #! $SHELL
12173 # Generated by $as_me.
12174 # Run this file to recreate the current configuration.
12175 # Compiler output produced by configure, useful for debugging
12176 # configure, is in config.log if it exists.
12177
12178 debug=false
12179 ac_cs_recheck=false
12180 ac_cs_silent=false
12181
12182 SHELL=\${CONFIG_SHELL-$SHELL}
12183 export SHELL
12184 _ASEOF
12185 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
12186 ## -------------------- ##
12187 ## M4sh Initialization. ##
12188 ## -------------------- ##
12189
12190 # Be more Bourne compatible
12191 DUALCASE=1; export DUALCASE # for MKS sh
12192 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
12193   emulate sh
12194   NULLCMD=:
12195   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12196   # is contrary to our usage.  Disable this feature.
12197   alias -g '${1+"$@"}'='"$@"'
12198   setopt NO_GLOB_SUBST
12199 else
12200   case `(set -o) 2>/dev/null` in #(
12201   *posix*) :
12202     set -o posix ;; #(
12203   *) :
12204      ;;
12205 esac
12206 fi
12207
12208
12209 as_nl='
12210 '
12211 export as_nl
12212 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12213 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12214 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12215 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12216 # Prefer a ksh shell builtin over an external printf program on Solaris,
12217 # but without wasting forks for bash or zsh.
12218 if test -z "$BASH_VERSION$ZSH_VERSION" \
12219     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12220   as_echo='print -r --'
12221   as_echo_n='print -rn --'
12222 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12223   as_echo='printf %s\n'
12224   as_echo_n='printf %s'
12225 else
12226   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12227     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
12228     as_echo_n='/usr/ucb/echo -n'
12229   else
12230     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12231     as_echo_n_body='eval
12232       arg=$1;
12233       case $arg in #(
12234       *"$as_nl"*)
12235         expr "X$arg" : "X\\(.*\\)$as_nl";
12236         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12237       esac;
12238       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
12239     '
12240     export as_echo_n_body
12241     as_echo_n='sh -c $as_echo_n_body as_echo'
12242   fi
12243   export as_echo_body
12244   as_echo='sh -c $as_echo_body as_echo'
12245 fi
12246
12247 # The user is always right.
12248 if test "${PATH_SEPARATOR+set}" != set; then
12249   PATH_SEPARATOR=:
12250   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12251     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12252       PATH_SEPARATOR=';'
12253   }
12254 fi
12255
12256
12257 # IFS
12258 # We need space, tab and new line, in precisely that order.  Quoting is
12259 # there to prevent editors from complaining about space-tab.
12260 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12261 # splitting by setting IFS to empty value.)
12262 IFS=" ""        $as_nl"
12263
12264 # Find who we are.  Look in the path if we contain no directory separator.
12265 as_myself=
12266 case $0 in #((
12267   *[\\/]* ) as_myself=$0 ;;
12268   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12269 for as_dir in $PATH
12270 do
12271   IFS=$as_save_IFS
12272   test -z "$as_dir" && as_dir=.
12273     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12274   done
12275 IFS=$as_save_IFS
12276
12277      ;;
12278 esac
12279 # We did not find ourselves, most probably we were run as `sh COMMAND'
12280 # in which case we are not to be found in the path.
12281 if test "x$as_myself" = x; then
12282   as_myself=$0
12283 fi
12284 if test ! -f "$as_myself"; then
12285   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12286   exit 1
12287 fi
12288
12289 # Unset variables that we do not need and which cause bugs (e.g. in
12290 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
12291 # suppresses any "Segmentation fault" message there.  '((' could
12292 # trigger a bug in pdksh 5.2.14.
12293 for as_var in BASH_ENV ENV MAIL MAILPATH
12294 do eval test x\${$as_var+set} = xset \
12295   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
12296 done
12297 PS1='$ '
12298 PS2='> '
12299 PS4='+ '
12300
12301 # NLS nuisances.
12302 LC_ALL=C
12303 export LC_ALL
12304 LANGUAGE=C
12305 export LANGUAGE
12306
12307 # CDPATH.
12308 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12309
12310
12311 # as_fn_error STATUS ERROR [LINENO LOG_FD]
12312 # ----------------------------------------
12313 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12314 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12315 # script with STATUS, using 1 if that was 0.
12316 as_fn_error ()
12317 {
12318   as_status=$1; test $as_status -eq 0 && as_status=1
12319   if test "$4"; then
12320     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
12321     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12322   fi
12323   $as_echo "$as_me: error: $2" >&2
12324   as_fn_exit $as_status
12325 } # as_fn_error
12326
12327
12328 # as_fn_set_status STATUS
12329 # -----------------------
12330 # Set $? to STATUS, without forking.
12331 as_fn_set_status ()
12332 {
12333   return $1
12334 } # as_fn_set_status
12335
12336 # as_fn_exit STATUS
12337 # -----------------
12338 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12339 as_fn_exit ()
12340 {
12341   set +e
12342   as_fn_set_status $1
12343   exit $1
12344 } # as_fn_exit
12345
12346 # as_fn_unset VAR
12347 # ---------------
12348 # Portably unset VAR.
12349 as_fn_unset ()
12350 {
12351   { eval $1=; unset $1;}
12352 }
12353 as_unset=as_fn_unset
12354 # as_fn_append VAR VALUE
12355 # ----------------------
12356 # Append the text in VALUE to the end of the definition contained in VAR. Take
12357 # advantage of any shell optimizations that allow amortized linear growth over
12358 # repeated appends, instead of the typical quadratic growth present in naive
12359 # implementations.
12360 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
12361   eval 'as_fn_append ()
12362   {
12363     eval $1+=\$2
12364   }'
12365 else
12366   as_fn_append ()
12367   {
12368     eval $1=\$$1\$2
12369   }
12370 fi # as_fn_append
12371
12372 # as_fn_arith ARG...
12373 # ------------------
12374 # Perform arithmetic evaluation on the ARGs, and store the result in the
12375 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12376 # must be portable across $(()) and expr.
12377 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
12378   eval 'as_fn_arith ()
12379   {
12380     as_val=$(( $* ))
12381   }'
12382 else
12383   as_fn_arith ()
12384   {
12385     as_val=`expr "$@" || test $? -eq 1`
12386   }
12387 fi # as_fn_arith
12388
12389
12390 if expr a : '\(a\)' >/dev/null 2>&1 &&
12391    test "X`expr 00001 : '.*\(...\)'`" = X001; then
12392   as_expr=expr
12393 else
12394   as_expr=false
12395 fi
12396
12397 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12398   as_basename=basename
12399 else
12400   as_basename=false
12401 fi
12402
12403 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
12404   as_dirname=dirname
12405 else
12406   as_dirname=false
12407 fi
12408
12409 as_me=`$as_basename -- "$0" ||
12410 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12411          X"$0" : 'X\(//\)$' \| \
12412          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12413 $as_echo X/"$0" |
12414     sed '/^.*\/\([^/][^/]*\)\/*$/{
12415             s//\1/
12416             q
12417           }
12418           /^X\/\(\/\/\)$/{
12419             s//\1/
12420             q
12421           }
12422           /^X\/\(\/\).*/{
12423             s//\1/
12424             q
12425           }
12426           s/.*/./; q'`
12427
12428 # Avoid depending upon Character Ranges.
12429 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12430 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12431 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12432 as_cr_digits='0123456789'
12433 as_cr_alnum=$as_cr_Letters$as_cr_digits
12434
12435 ECHO_C= ECHO_N= ECHO_T=
12436 case `echo -n x` in #(((((
12437 -n*)
12438   case `echo 'xy\c'` in
12439   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
12440   xy)  ECHO_C='\c';;
12441   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
12442        ECHO_T=' ';;
12443   esac;;
12444 *)
12445   ECHO_N='-n';;
12446 esac
12447
12448 rm -f conf$$ conf$$.exe conf$$.file
12449 if test -d conf$$.dir; then
12450   rm -f conf$$.dir/conf$$.file
12451 else
12452   rm -f conf$$.dir
12453   mkdir conf$$.dir 2>/dev/null
12454 fi
12455 if (echo >conf$$.file) 2>/dev/null; then
12456   if ln -s conf$$.file conf$$ 2>/dev/null; then
12457     as_ln_s='ln -s'
12458     # ... but there are two gotchas:
12459     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12460     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12461     # In both cases, we have to default to `cp -pR'.
12462     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
12463       as_ln_s='cp -pR'
12464   elif ln conf$$.file conf$$ 2>/dev/null; then
12465     as_ln_s=ln
12466   else
12467     as_ln_s='cp -pR'
12468   fi
12469 else
12470   as_ln_s='cp -pR'
12471 fi
12472 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
12473 rmdir conf$$.dir 2>/dev/null
12474
12475
12476 # as_fn_mkdir_p
12477 # -------------
12478 # Create "$as_dir" as a directory, including parents if necessary.
12479 as_fn_mkdir_p ()
12480 {
12481
12482   case $as_dir in #(
12483   -*) as_dir=./$as_dir;;
12484   esac
12485   test -d "$as_dir" || eval $as_mkdir_p || {
12486     as_dirs=
12487     while :; do
12488       case $as_dir in #(
12489       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12490       *) as_qdir=$as_dir;;
12491       esac
12492       as_dirs="'$as_qdir' $as_dirs"
12493       as_dir=`$as_dirname -- "$as_dir" ||
12494 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12495          X"$as_dir" : 'X\(//\)[^/]' \| \
12496          X"$as_dir" : 'X\(//\)$' \| \
12497          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12498 $as_echo X"$as_dir" |
12499     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12500             s//\1/
12501             q
12502           }
12503           /^X\(\/\/\)[^/].*/{
12504             s//\1/
12505             q
12506           }
12507           /^X\(\/\/\)$/{
12508             s//\1/
12509             q
12510           }
12511           /^X\(\/\).*/{
12512             s//\1/
12513             q
12514           }
12515           s/.*/./; q'`
12516       test -d "$as_dir" && break
12517     done
12518     test -z "$as_dirs" || eval "mkdir $as_dirs"
12519   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
12520
12521
12522 } # as_fn_mkdir_p
12523 if mkdir -p . 2>/dev/null; then
12524   as_mkdir_p='mkdir -p "$as_dir"'
12525 else
12526   test -d ./-p && rmdir ./-p
12527   as_mkdir_p=false
12528 fi
12529
12530
12531 # as_fn_executable_p FILE
12532 # -----------------------
12533 # Test if FILE is an executable regular file.
12534 as_fn_executable_p ()
12535 {
12536   test -f "$1" && test -x "$1"
12537 } # as_fn_executable_p
12538 as_test_x='test -x'
12539 as_executable_p=as_fn_executable_p
12540
12541 # Sed expression to map a string onto a valid CPP name.
12542 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12543
12544 # Sed expression to map a string onto a valid variable name.
12545 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12546
12547
12548 exec 6>&1
12549 ## ----------------------------------- ##
12550 ## Main body of $CONFIG_STATUS script. ##
12551 ## ----------------------------------- ##
12552 _ASEOF
12553 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
12554
12555 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12556 # Save the log message, to keep $0 and so on meaningful, and to
12557 # report actual input values of CONFIG_FILES etc. instead of their
12558 # values after options handling.
12559 ac_log="
12560 This file was extended by libgee $as_me 0.10.0, which was
12561 generated by GNU Autoconf 2.69.  Invocation command line was
12562
12563   CONFIG_FILES    = $CONFIG_FILES
12564   CONFIG_HEADERS  = $CONFIG_HEADERS
12565   CONFIG_LINKS    = $CONFIG_LINKS
12566   CONFIG_COMMANDS = $CONFIG_COMMANDS
12567   $ $0 $@
12568
12569 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12570 "
12571
12572 _ACEOF
12573
12574 case $ac_config_files in *"
12575 "*) set x $ac_config_files; shift; ac_config_files=$*;;
12576 esac
12577
12578 case $ac_config_headers in *"
12579 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
12580 esac
12581
12582
12583 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12584 # Files that config.status was made for.
12585 config_files="$ac_config_files"
12586 config_headers="$ac_config_headers"
12587 config_commands="$ac_config_commands"
12588
12589 _ACEOF
12590
12591 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12592 ac_cs_usage="\
12593 \`$as_me' instantiates files and other configuration actions
12594 from templates according to the current configuration.  Unless the files
12595 and actions are specified as TAGs, all are instantiated by default.
12596
12597 Usage: $0 [OPTION]... [TAG]...
12598
12599   -h, --help       print this help, then exit
12600   -V, --version    print version number and configuration settings, then exit
12601       --config     print configuration, then exit
12602   -q, --quiet, --silent
12603                    do not print progress messages
12604   -d, --debug      don't remove temporary files
12605       --recheck    update $as_me by reconfiguring in the same conditions
12606       --file=FILE[:TEMPLATE]
12607                    instantiate the configuration file FILE
12608       --header=FILE[:TEMPLATE]
12609                    instantiate the configuration header FILE
12610
12611 Configuration files:
12612 $config_files
12613
12614 Configuration headers:
12615 $config_headers
12616
12617 Configuration commands:
12618 $config_commands
12619
12620 Report bugs to <https://bugzilla.gnome.org/enter_bug.cgi?product=libgee>."
12621
12622 _ACEOF
12623 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12624 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
12625 ac_cs_version="\\
12626 libgee config.status 0.10.0
12627 configured by $0, generated by GNU Autoconf 2.69,
12628   with options \\"\$ac_cs_config\\"
12629
12630 Copyright (C) 2012 Free Software Foundation, Inc.
12631 This config.status script is free software; the Free Software Foundation
12632 gives unlimited permission to copy, distribute and modify it."
12633
12634 ac_pwd='$ac_pwd'
12635 srcdir='$srcdir'
12636 INSTALL='$INSTALL'
12637 MKDIR_P='$MKDIR_P'
12638 AWK='$AWK'
12639 test -n "\$AWK" || AWK=awk
12640 _ACEOF
12641
12642 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12643 # The default lists apply if the user does not specify any file.
12644 ac_need_defaults=:
12645 while test $# != 0
12646 do
12647   case $1 in
12648   --*=?*)
12649     ac_option=`expr "X$1" : 'X\([^=]*\)='`
12650     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
12651     ac_shift=:
12652     ;;
12653   --*=)
12654     ac_option=`expr "X$1" : 'X\([^=]*\)='`
12655     ac_optarg=
12656     ac_shift=:
12657     ;;
12658   *)
12659     ac_option=$1
12660     ac_optarg=$2
12661     ac_shift=shift
12662     ;;
12663   esac
12664
12665   case $ac_option in
12666   # Handling of the options.
12667   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
12668     ac_cs_recheck=: ;;
12669   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
12670     $as_echo "$ac_cs_version"; exit ;;
12671   --config | --confi | --conf | --con | --co | --c )
12672     $as_echo "$ac_cs_config"; exit ;;
12673   --debug | --debu | --deb | --de | --d | -d )
12674     debug=: ;;
12675   --file | --fil | --fi | --f )
12676     $ac_shift
12677     case $ac_optarg in
12678     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12679     '') as_fn_error $? "missing file argument" ;;
12680     esac
12681     as_fn_append CONFIG_FILES " '$ac_optarg'"
12682     ac_need_defaults=false;;
12683   --header | --heade | --head | --hea )
12684     $ac_shift
12685     case $ac_optarg in
12686     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12687     esac
12688     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
12689     ac_need_defaults=false;;
12690   --he | --h)
12691     # Conflict between --help and --header
12692     as_fn_error $? "ambiguous option: \`$1'
12693 Try \`$0 --help' for more information.";;
12694   --help | --hel | -h )
12695     $as_echo "$ac_cs_usage"; exit ;;
12696   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
12697   | -silent | --silent | --silen | --sile | --sil | --si | --s)
12698     ac_cs_silent=: ;;
12699
12700   # This is an error.
12701   -*) as_fn_error $? "unrecognized option: \`$1'
12702 Try \`$0 --help' for more information." ;;
12703
12704   *) as_fn_append ac_config_targets " $1"
12705      ac_need_defaults=false ;;
12706
12707   esac
12708   shift
12709 done
12710
12711 ac_configure_extra_args=
12712
12713 if $ac_cs_silent; then
12714   exec 6>/dev/null
12715   ac_configure_extra_args="$ac_configure_extra_args --silent"
12716 fi
12717
12718 _ACEOF
12719 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12720 if \$ac_cs_recheck; then
12721   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12722   shift
12723   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
12724   CONFIG_SHELL='$SHELL'
12725   export CONFIG_SHELL
12726   exec "\$@"
12727 fi
12728
12729 _ACEOF
12730 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12731 exec 5>>config.log
12732 {
12733   echo
12734   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12735 ## Running $as_me. ##
12736 _ASBOX
12737   $as_echo "$ac_log"
12738 } >&5
12739
12740 _ACEOF
12741 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12742 #
12743 # INIT-COMMANDS
12744 #
12745 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
12746
12747
12748 # The HP-UX ksh and POSIX shell print the target directory to stdout
12749 # if CDPATH is set.
12750 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12751
12752 sed_quote_subst='$sed_quote_subst'
12753 double_quote_subst='$double_quote_subst'
12754 delay_variable_subst='$delay_variable_subst'
12755 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
12756 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
12757 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
12758 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
12759 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
12760 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
12761 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
12762 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
12763 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
12764 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
12765 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
12766 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
12767 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
12768 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
12769 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
12770 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
12771 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
12772 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
12773 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
12774 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
12775 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
12776 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
12777 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
12778 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
12779 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
12780 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
12781 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
12782 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
12783 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
12784 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
12785 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
12786 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
12787 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
12788 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
12789 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
12790 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
12791 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
12792 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
12793 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
12794 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
12795 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
12796 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
12797 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
12798 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
12799 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
12800 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12801 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12802 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
12803 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
12804 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
12805 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
12806 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
12807 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
12808 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
12809 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
12810 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
12811 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"`'
12812 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
12813 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
12814 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
12815 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
12816 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
12817 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
12818 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
12819 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
12820 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
12821 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
12822 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
12823 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
12824 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
12825 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
12826 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
12827 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
12828 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
12829 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
12830 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12831 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
12832 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
12833 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
12834 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
12835 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
12836 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
12837 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12838 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
12839 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12840 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
12841 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12842 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
12843 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
12844 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
12845 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
12846 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
12847 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
12848 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
12849 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
12850 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
12851 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
12852 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
12853 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
12854 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
12855 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
12856 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
12857 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
12858 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
12859 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
12860 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
12861 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
12862 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
12863 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
12864 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
12865 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
12866 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
12867 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
12868 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
12869 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
12870 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
12871 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
12872 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12873 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12874 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
12875 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
12876 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
12877 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
12878 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
12879 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
12880 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
12881 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
12882 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
12883 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
12884 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
12885
12886 LTCC='$LTCC'
12887 LTCFLAGS='$LTCFLAGS'
12888 compiler='$compiler_DEFAULT'
12889
12890 # A function that is used when there is no print builtin or printf.
12891 func_fallback_echo ()
12892 {
12893   eval 'cat <<_LTECHO_EOF
12894 \$1
12895 _LTECHO_EOF'
12896 }
12897
12898 # Quote evaled strings.
12899 for var in SHELL \
12900 ECHO \
12901 PATH_SEPARATOR \
12902 SED \
12903 GREP \
12904 EGREP \
12905 FGREP \
12906 LD \
12907 NM \
12908 LN_S \
12909 lt_SP2NL \
12910 lt_NL2SP \
12911 reload_flag \
12912 OBJDUMP \
12913 deplibs_check_method \
12914 file_magic_cmd \
12915 file_magic_glob \
12916 want_nocaseglob \
12917 DLLTOOL \
12918 sharedlib_from_linklib_cmd \
12919 AR \
12920 AR_FLAGS \
12921 archiver_list_spec \
12922 STRIP \
12923 RANLIB \
12924 CC \
12925 CFLAGS \
12926 compiler \
12927 lt_cv_sys_global_symbol_pipe \
12928 lt_cv_sys_global_symbol_to_cdecl \
12929 lt_cv_sys_global_symbol_to_c_name_address \
12930 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
12931 nm_file_list_spec \
12932 lt_prog_compiler_no_builtin_flag \
12933 lt_prog_compiler_pic \
12934 lt_prog_compiler_wl \
12935 lt_prog_compiler_static \
12936 lt_cv_prog_compiler_c_o \
12937 need_locks \
12938 MANIFEST_TOOL \
12939 DSYMUTIL \
12940 NMEDIT \
12941 LIPO \
12942 OTOOL \
12943 OTOOL64 \
12944 shrext_cmds \
12945 export_dynamic_flag_spec \
12946 whole_archive_flag_spec \
12947 compiler_needs_object \
12948 with_gnu_ld \
12949 allow_undefined_flag \
12950 no_undefined_flag \
12951 hardcode_libdir_flag_spec \
12952 hardcode_libdir_separator \
12953 exclude_expsyms \
12954 include_expsyms \
12955 file_list_spec \
12956 variables_saved_for_relink \
12957 libname_spec \
12958 library_names_spec \
12959 soname_spec \
12960 install_override_mode \
12961 finish_eval \
12962 old_striplib \
12963 striplib; do
12964     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12965     *[\\\\\\\`\\"\\\$]*)
12966       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
12967       ;;
12968     *)
12969       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12970       ;;
12971     esac
12972 done
12973
12974 # Double-quote double-evaled strings.
12975 for var in reload_cmds \
12976 old_postinstall_cmds \
12977 old_postuninstall_cmds \
12978 old_archive_cmds \
12979 extract_expsyms_cmds \
12980 old_archive_from_new_cmds \
12981 old_archive_from_expsyms_cmds \
12982 archive_cmds \
12983 archive_expsym_cmds \
12984 module_cmds \
12985 module_expsym_cmds \
12986 export_symbols_cmds \
12987 prelink_cmds \
12988 postlink_cmds \
12989 postinstall_cmds \
12990 postuninstall_cmds \
12991 finish_cmds \
12992 sys_lib_search_path_spec \
12993 sys_lib_dlsearch_path_spec; do
12994     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12995     *[\\\\\\\`\\"\\\$]*)
12996       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
12997       ;;
12998     *)
12999       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13000       ;;
13001     esac
13002 done
13003
13004 ac_aux_dir='$ac_aux_dir'
13005 xsi_shell='$xsi_shell'
13006 lt_shell_append='$lt_shell_append'
13007
13008 # See if we are running on zsh, and set the options which allow our
13009 # commands through without removal of \ escapes INIT.
13010 if test -n "\${ZSH_VERSION+set}" ; then
13011    setopt NO_GLOB_SUBST
13012 fi
13013
13014
13015     PACKAGE='$PACKAGE'
13016     VERSION='$VERSION'
13017     TIMESTAMP='$TIMESTAMP'
13018     RM='$RM'
13019     ofile='$ofile'
13020
13021
13022
13023
13024 _ACEOF
13025
13026 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13027
13028 # Handling of arguments.
13029 for ac_config_target in $ac_config_targets
13030 do
13031   case $ac_config_target in
13032     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
13033     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13034     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13035     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13036     "gee-0.8.pc") CONFIG_FILES="$CONFIG_FILES gee-0.8.pc" ;;
13037     "benchmark/Makefile") CONFIG_FILES="$CONFIG_FILES benchmark/Makefile" ;;
13038     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
13039     "gee/Makefile") CONFIG_FILES="$CONFIG_FILES gee/Makefile" ;;
13040     "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
13041
13042   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13043   esac
13044 done
13045
13046
13047 # If the user did not use the arguments to specify the items to instantiate,
13048 # then the envvar interface is used.  Set only those that are not.
13049 # We use the long form for the default assignment because of an extremely
13050 # bizarre bug on SunOS 4.1.3.
13051 if $ac_need_defaults; then
13052   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13053   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13054   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13055 fi
13056
13057 # Have a temporary directory for convenience.  Make it in the build tree
13058 # simply because there is no reason against having it here, and in addition,
13059 # creating and moving files from /tmp can sometimes cause problems.
13060 # Hook for its removal unless debugging.
13061 # Note that there is a small window in which the directory will not be cleaned:
13062 # after its creation but before its name has been assigned to `$tmp'.
13063 $debug ||
13064 {
13065   tmp= ac_tmp=
13066   trap 'exit_status=$?
13067   : "${ac_tmp:=$tmp}"
13068   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13069 ' 0
13070   trap 'as_fn_exit 1' 1 2 13 15
13071 }
13072 # Create a (secure) tmp directory for tmp files.
13073
13074 {
13075   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13076   test -d "$tmp"
13077 }  ||
13078 {
13079   tmp=./conf$$-$RANDOM
13080   (umask 077 && mkdir "$tmp")
13081 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
13082 ac_tmp=$tmp
13083
13084 # Set up the scripts for CONFIG_FILES section.
13085 # No need to generate them if there are no CONFIG_FILES.
13086 # This happens for instance with `./config.status config.h'.
13087 if test -n "$CONFIG_FILES"; then
13088
13089
13090 ac_cr=`echo X | tr X '\015'`
13091 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13092 # But we know of no other shell where ac_cr would be empty at this
13093 # point, so we can use a bashism as a fallback.
13094 if test "x$ac_cr" = x; then
13095   eval ac_cr=\$\'\\r\'
13096 fi
13097 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13098 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13099   ac_cs_awk_cr='\\r'
13100 else
13101   ac_cs_awk_cr=$ac_cr
13102 fi
13103
13104 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13105 _ACEOF
13106
13107
13108 {
13109   echo "cat >conf$$subs.awk <<_ACEOF" &&
13110   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13111   echo "_ACEOF"
13112 } >conf$$subs.sh ||
13113   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13114 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13115 ac_delim='%!_!# '
13116 for ac_last_try in false false false false false :; do
13117   . ./conf$$subs.sh ||
13118     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13119
13120   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13121   if test $ac_delim_n = $ac_delim_num; then
13122     break
13123   elif $ac_last_try; then
13124     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13125   else
13126     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13127   fi
13128 done
13129 rm -f conf$$subs.sh
13130
13131 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13132 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
13133 _ACEOF
13134 sed -n '
13135 h
13136 s/^/S["/; s/!.*/"]=/
13137 p
13138 g
13139 s/^[^!]*!//
13140 :repl
13141 t repl
13142 s/'"$ac_delim"'$//
13143 t delim
13144 :nl
13145 h
13146 s/\(.\{148\}\)..*/\1/
13147 t more1
13148 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13149 p
13150 n
13151 b repl
13152 :more1
13153 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13154 p
13155 g
13156 s/.\{148\}//
13157 t nl
13158 :delim
13159 h
13160 s/\(.\{148\}\)..*/\1/
13161 t more2
13162 s/["\\]/\\&/g; s/^/"/; s/$/"/
13163 p
13164 b
13165 :more2
13166 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13167 p
13168 g
13169 s/.\{148\}//
13170 t delim
13171 ' <conf$$subs.awk | sed '
13172 /^[^""]/{
13173   N
13174   s/\n//
13175 }
13176 ' >>$CONFIG_STATUS || ac_write_fail=1
13177 rm -f conf$$subs.awk
13178 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13179 _ACAWK
13180 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
13181   for (key in S) S_is_set[key] = 1
13182   FS = "\a"
13183
13184 }
13185 {
13186   line = $ 0
13187   nfields = split(line, field, "@")
13188   substed = 0
13189   len = length(field[1])
13190   for (i = 2; i < nfields; i++) {
13191     key = field[i]
13192     keylen = length(key)
13193     if (S_is_set[key]) {
13194       value = S[key]
13195       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13196       len += length(value) + length(field[++i])
13197       substed = 1
13198     } else
13199       len += 1 + keylen
13200   }
13201
13202   print line
13203 }
13204
13205 _ACAWK
13206 _ACEOF
13207 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13208 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13209   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
13210 else
13211   cat
13212 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
13213   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
13214 _ACEOF
13215
13216 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13217 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
13218 # trailing colons and then remove the whole line if VPATH becomes empty
13219 # (actually we leave an empty line to preserve line numbers).
13220 if test "x$srcdir" = x.; then
13221   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
13222 h
13223 s///
13224 s/^/:/
13225 s/[      ]*$/:/
13226 s/:\$(srcdir):/:/g
13227 s/:\${srcdir}:/:/g
13228 s/:@srcdir@:/:/g
13229 s/^:*//
13230 s/:*$//
13231 x
13232 s/\(=[   ]*\).*/\1/
13233 G
13234 s/\n//
13235 s/^[^=]*=[       ]*$//
13236 }'
13237 fi
13238
13239 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13240 fi # test -n "$CONFIG_FILES"
13241
13242 # Set up the scripts for CONFIG_HEADERS section.
13243 # No need to generate them if there are no CONFIG_HEADERS.
13244 # This happens for instance with `./config.status Makefile'.
13245 if test -n "$CONFIG_HEADERS"; then
13246 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
13247 BEGIN {
13248 _ACEOF
13249
13250 # Transform confdefs.h into an awk script `defines.awk', embedded as
13251 # here-document in config.status, that substitutes the proper values into
13252 # config.h.in to produce config.h.
13253
13254 # Create a delimiter string that does not exist in confdefs.h, to ease
13255 # handling of long lines.
13256 ac_delim='%!_!# '
13257 for ac_last_try in false false :; do
13258   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
13259   if test -z "$ac_tt"; then
13260     break
13261   elif $ac_last_try; then
13262     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
13263   else
13264     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13265   fi
13266 done
13267
13268 # For the awk script, D is an array of macro values keyed by name,
13269 # likewise P contains macro parameters if any.  Preserve backslash
13270 # newline sequences.
13271
13272 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13273 sed -n '
13274 s/.\{148\}/&'"$ac_delim"'/g
13275 t rset
13276 :rset
13277 s/^[     ]*#[    ]*define[       ][      ]*/ /
13278 t def
13279 d
13280 :def
13281 s/\\$//
13282 t bsnl
13283 s/["\\]/\\&/g
13284 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
13285 D["\1"]=" \3"/p
13286 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
13287 d
13288 :bsnl
13289 s/["\\]/\\&/g
13290 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
13291 D["\1"]=" \3\\\\\\n"\\/p
13292 t cont
13293 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
13294 t cont
13295 d
13296 :cont
13297 n
13298 s/.\{148\}/&'"$ac_delim"'/g
13299 t clear
13300 :clear
13301 s/\\$//
13302 t bsnlc
13303 s/["\\]/\\&/g; s/^/"/; s/$/"/p
13304 d
13305 :bsnlc
13306 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
13307 b cont
13308 ' <confdefs.h | sed '
13309 s/'"$ac_delim"'/"\\\
13310 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13311
13312 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13313   for (key in D) D_is_set[key] = 1
13314   FS = "\a"
13315 }
13316 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13317   line = \$ 0
13318   split(line, arg, " ")
13319   if (arg[1] == "#") {
13320     defundef = arg[2]
13321     mac1 = arg[3]
13322   } else {
13323     defundef = substr(arg[1], 2)
13324     mac1 = arg[2]
13325   }
13326   split(mac1, mac2, "(") #)
13327   macro = mac2[1]
13328   prefix = substr(line, 1, index(line, defundef) - 1)
13329   if (D_is_set[macro]) {
13330     # Preserve the white space surrounding the "#".
13331     print prefix "define", macro P[macro] D[macro]
13332     next
13333   } else {
13334     # Replace #undef with comments.  This is necessary, for example,
13335     # in the case of _POSIX_SOURCE, which is predefined and required
13336     # on some systems where configure will not decide to define it.
13337     if (defundef == "undef") {
13338       print "/*", prefix defundef, macro, "*/"
13339       next
13340     }
13341   }
13342 }
13343 { print }
13344 _ACAWK
13345 _ACEOF
13346 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13347   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
13348 fi # test -n "$CONFIG_HEADERS"
13349
13350
13351 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
13352 shift
13353 for ac_tag
13354 do
13355   case $ac_tag in
13356   :[FHLC]) ac_mode=$ac_tag; continue;;
13357   esac
13358   case $ac_mode$ac_tag in
13359   :[FHL]*:*);;
13360   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
13361   :[FH]-) ac_tag=-:-;;
13362   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
13363   esac
13364   ac_save_IFS=$IFS
13365   IFS=:
13366   set x $ac_tag
13367   IFS=$ac_save_IFS
13368   shift
13369   ac_file=$1
13370   shift
13371
13372   case $ac_mode in
13373   :L) ac_source=$1;;
13374   :[FH])
13375     ac_file_inputs=
13376     for ac_f
13377     do
13378       case $ac_f in
13379       -) ac_f="$ac_tmp/stdin";;
13380       *) # Look for the file first in the build tree, then in the source tree
13381          # (if the path is not absolute).  The absolute path cannot be DOS-style,
13382          # because $ac_f cannot contain `:'.
13383          test -f "$ac_f" ||
13384            case $ac_f in
13385            [\\/$]*) false;;
13386            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
13387            esac ||
13388            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
13389       esac
13390       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13391       as_fn_append ac_file_inputs " '$ac_f'"
13392     done
13393
13394     # Let's still pretend it is `configure' which instantiates (i.e., don't
13395     # use $as_me), people would be surprised to read:
13396     #    /* config.h.  Generated by config.status.  */
13397     configure_input='Generated from '`
13398           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13399         `' by configure.'
13400     if test x"$ac_file" != x-; then
13401       configure_input="$ac_file.  $configure_input"
13402       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13403 $as_echo "$as_me: creating $ac_file" >&6;}
13404     fi
13405     # Neutralize special characters interpreted by sed in replacement strings.
13406     case $configure_input in #(
13407     *\&* | *\|* | *\\* )
13408        ac_sed_conf_input=`$as_echo "$configure_input" |
13409        sed 's/[\\\\&|]/\\\\&/g'`;; #(
13410     *) ac_sed_conf_input=$configure_input;;
13411     esac
13412
13413     case $ac_tag in
13414     *:-:* | *:-) cat >"$ac_tmp/stdin" \
13415       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
13416     esac
13417     ;;
13418   esac
13419
13420   ac_dir=`$as_dirname -- "$ac_file" ||
13421 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13422          X"$ac_file" : 'X\(//\)[^/]' \| \
13423          X"$ac_file" : 'X\(//\)$' \| \
13424          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13425 $as_echo X"$ac_file" |
13426     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13427             s//\1/
13428             q
13429           }
13430           /^X\(\/\/\)[^/].*/{
13431             s//\1/
13432             q
13433           }
13434           /^X\(\/\/\)$/{
13435             s//\1/
13436             q
13437           }
13438           /^X\(\/\).*/{
13439             s//\1/
13440             q
13441           }
13442           s/.*/./; q'`
13443   as_dir="$ac_dir"; as_fn_mkdir_p
13444   ac_builddir=.
13445
13446 case "$ac_dir" in
13447 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13448 *)
13449   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13450   # A ".." for each directory in $ac_dir_suffix.
13451   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13452   case $ac_top_builddir_sub in
13453   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13454   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
13455   esac ;;
13456 esac
13457 ac_abs_top_builddir=$ac_pwd
13458 ac_abs_builddir=$ac_pwd$ac_dir_suffix
13459 # for backward compatibility:
13460 ac_top_builddir=$ac_top_build_prefix
13461
13462 case $srcdir in
13463   .)  # We are building in place.
13464     ac_srcdir=.
13465     ac_top_srcdir=$ac_top_builddir_sub
13466     ac_abs_top_srcdir=$ac_pwd ;;
13467   [\\/]* | ?:[\\/]* )  # Absolute name.
13468     ac_srcdir=$srcdir$ac_dir_suffix;
13469     ac_top_srcdir=$srcdir
13470     ac_abs_top_srcdir=$srcdir ;;
13471   *) # Relative name.
13472     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
13473     ac_top_srcdir=$ac_top_build_prefix$srcdir
13474     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
13475 esac
13476 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
13477
13478
13479   case $ac_mode in
13480   :F)
13481   #
13482   # CONFIG_FILE
13483   #
13484
13485   case $INSTALL in
13486   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13487   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
13488   esac
13489   ac_MKDIR_P=$MKDIR_P
13490   case $MKDIR_P in
13491   [\\/$]* | ?:[\\/]* ) ;;
13492   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
13493   esac
13494 _ACEOF
13495
13496 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13497 # If the template does not know about datarootdir, expand it.
13498 # FIXME: This hack should be removed a few years after 2.60.
13499 ac_datarootdir_hack=; ac_datarootdir_seen=
13500 ac_sed_dataroot='
13501 /datarootdir/ {
13502   p
13503   q
13504 }
13505 /@datadir@/p
13506 /@docdir@/p
13507 /@infodir@/p
13508 /@localedir@/p
13509 /@mandir@/p'
13510 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13511 *datarootdir*) ac_datarootdir_seen=yes;;
13512 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
13513   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13514 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13515 _ACEOF
13516 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13517   ac_datarootdir_hack='
13518   s&@datadir@&$datadir&g
13519   s&@docdir@&$docdir&g
13520   s&@infodir@&$infodir&g
13521   s&@localedir@&$localedir&g
13522   s&@mandir@&$mandir&g
13523   s&\\\${datarootdir}&$datarootdir&g' ;;
13524 esac
13525 _ACEOF
13526
13527 # Neutralize VPATH when `$srcdir' = `.'.
13528 # Shell code in configure.ac might set extrasub.
13529 # FIXME: do we really want to maintain this feature?
13530 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13531 ac_sed_extra="$ac_vpsub
13532 $extrasub
13533 _ACEOF
13534 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13535 :t
13536 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13537 s|@configure_input@|$ac_sed_conf_input|;t t
13538 s&@top_builddir@&$ac_top_builddir_sub&;t t
13539 s&@top_build_prefix@&$ac_top_build_prefix&;t t
13540 s&@srcdir@&$ac_srcdir&;t t
13541 s&@abs_srcdir@&$ac_abs_srcdir&;t t
13542 s&@top_srcdir@&$ac_top_srcdir&;t t
13543 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
13544 s&@builddir@&$ac_builddir&;t t
13545 s&@abs_builddir@&$ac_abs_builddir&;t t
13546 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
13547 s&@INSTALL@&$ac_INSTALL&;t t
13548 s&@MKDIR_P@&$ac_MKDIR_P&;t t
13549 $ac_datarootdir_hack
13550 "
13551 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
13552   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13553
13554 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13555   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
13556   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
13557       "$ac_tmp/out"`; test -z "$ac_out"; } &&
13558   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13559 which seems to be undefined.  Please make sure it is defined" >&5
13560 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13561 which seems to be undefined.  Please make sure it is defined" >&2;}
13562
13563   rm -f "$ac_tmp/stdin"
13564   case $ac_file in
13565   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
13566   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
13567   esac \
13568   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13569  ;;
13570   :H)
13571   #
13572   # CONFIG_HEADER
13573   #
13574   if test x"$ac_file" != x-; then
13575     {
13576       $as_echo "/* $configure_input  */" \
13577       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
13578     } >"$ac_tmp/config.h" \
13579       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13580     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
13581       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
13582 $as_echo "$as_me: $ac_file is unchanged" >&6;}
13583     else
13584       rm -f "$ac_file"
13585       mv "$ac_tmp/config.h" "$ac_file" \
13586         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13587     fi
13588   else
13589     $as_echo "/* $configure_input  */" \
13590       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
13591       || as_fn_error $? "could not create -" "$LINENO" 5
13592   fi
13593 # Compute "$ac_file"'s index in $config_headers.
13594 _am_arg="$ac_file"
13595 _am_stamp_count=1
13596 for _am_header in $config_headers :; do
13597   case $_am_header in
13598     $_am_arg | $_am_arg:* )
13599       break ;;
13600     * )
13601       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
13602   esac
13603 done
13604 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
13605 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13606          X"$_am_arg" : 'X\(//\)[^/]' \| \
13607          X"$_am_arg" : 'X\(//\)$' \| \
13608          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
13609 $as_echo X"$_am_arg" |
13610     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13611             s//\1/
13612             q
13613           }
13614           /^X\(\/\/\)[^/].*/{
13615             s//\1/
13616             q
13617           }
13618           /^X\(\/\/\)$/{
13619             s//\1/
13620             q
13621           }
13622           /^X\(\/\).*/{
13623             s//\1/
13624             q
13625           }
13626           s/.*/./; q'`/stamp-h$_am_stamp_count
13627  ;;
13628
13629   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
13630 $as_echo "$as_me: executing $ac_file commands" >&6;}
13631  ;;
13632   esac
13633
13634
13635   case $ac_file$ac_mode in
13636     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
13637   # Autoconf 2.62 quotes --file arguments for eval, but not when files
13638   # are listed without --file.  Let's play safe and only enable the eval
13639   # if we detect the quoting.
13640   case $CONFIG_FILES in
13641   *\'*) eval set x "$CONFIG_FILES" ;;
13642   *)   set x $CONFIG_FILES ;;
13643   esac
13644   shift
13645   for mf
13646   do
13647     # Strip MF so we end up with the name of the file.
13648     mf=`echo "$mf" | sed -e 's/:.*$//'`
13649     # Check whether this is an Automake generated Makefile or not.
13650     # We used to match only the files named `Makefile.in', but
13651     # some people rename them; so instead we look at the file content.
13652     # Grep'ing the first line is not enough: some people post-process
13653     # each Makefile.in and add a new line on top of each file to say so.
13654     # Grep'ing the whole file is not good either: AIX grep has a line
13655     # limit of 2048, but all sed's we know have understand at least 4000.
13656     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
13657       dirpart=`$as_dirname -- "$mf" ||
13658 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13659          X"$mf" : 'X\(//\)[^/]' \| \
13660          X"$mf" : 'X\(//\)$' \| \
13661          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
13662 $as_echo X"$mf" |
13663     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13664             s//\1/
13665             q
13666           }
13667           /^X\(\/\/\)[^/].*/{
13668             s//\1/
13669             q
13670           }
13671           /^X\(\/\/\)$/{
13672             s//\1/
13673             q
13674           }
13675           /^X\(\/\).*/{
13676             s//\1/
13677             q
13678           }
13679           s/.*/./; q'`
13680     else
13681       continue
13682     fi
13683     # Extract the definition of DEPDIR, am__include, and am__quote
13684     # from the Makefile without running `make'.
13685     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
13686     test -z "$DEPDIR" && continue
13687     am__include=`sed -n 's/^am__include = //p' < "$mf"`
13688     test -z "am__include" && continue
13689     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
13690     # When using ansi2knr, U may be empty or an underscore; expand it
13691     U=`sed -n 's/^U = //p' < "$mf"`
13692     # Find all dependency output files, they are included files with
13693     # $(DEPDIR) in their names.  We invoke sed twice because it is the
13694     # simplest approach to changing $(DEPDIR) to its actual value in the
13695     # expansion.
13696     for file in `sed -n "
13697       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
13698          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
13699       # Make sure the directory exists.
13700       test -f "$dirpart/$file" && continue
13701       fdir=`$as_dirname -- "$file" ||
13702 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13703          X"$file" : 'X\(//\)[^/]' \| \
13704          X"$file" : 'X\(//\)$' \| \
13705          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
13706 $as_echo X"$file" |
13707     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13708             s//\1/
13709             q
13710           }
13711           /^X\(\/\/\)[^/].*/{
13712             s//\1/
13713             q
13714           }
13715           /^X\(\/\/\)$/{
13716             s//\1/
13717             q
13718           }
13719           /^X\(\/\).*/{
13720             s//\1/
13721             q
13722           }
13723           s/.*/./; q'`
13724       as_dir=$dirpart/$fdir; as_fn_mkdir_p
13725       # echo "creating $dirpart/$file"
13726       echo '# dummy' > "$dirpart/$file"
13727     done
13728   done
13729 }
13730  ;;
13731     "libtool":C)
13732
13733     # See if we are running on zsh, and set the options which allow our
13734     # commands through without removal of \ escapes.
13735     if test -n "${ZSH_VERSION+set}" ; then
13736       setopt NO_GLOB_SUBST
13737     fi
13738
13739     cfgfile="${ofile}T"
13740     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
13741     $RM "$cfgfile"
13742
13743     cat <<_LT_EOF >> "$cfgfile"
13744 #! $SHELL
13745
13746 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
13747 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
13748 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13749 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
13750 #
13751 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
13752 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
13753 #                 Foundation, Inc.
13754 #   Written by Gordon Matzigkeit, 1996
13755 #
13756 #   This file is part of GNU Libtool.
13757 #
13758 # GNU Libtool is free software; you can redistribute it and/or
13759 # modify it under the terms of the GNU General Public License as
13760 # published by the Free Software Foundation; either version 2 of
13761 # the License, or (at your option) any later version.
13762 #
13763 # As a special exception to the GNU General Public License,
13764 # if you distribute this file as part of a program or library that
13765 # is built using GNU Libtool, you may include this file under the
13766 # same distribution terms that you use for the rest of that program.
13767 #
13768 # GNU Libtool is distributed in the hope that it will be useful,
13769 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13770 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13771 # GNU General Public License for more details.
13772 #
13773 # You should have received a copy of the GNU General Public License
13774 # along with GNU Libtool; see the file COPYING.  If not, a copy
13775 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
13776 # obtained by writing to the Free Software Foundation, Inc.,
13777 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
13778
13779
13780 # The names of the tagged configurations supported by this script.
13781 available_tags=""
13782
13783 # ### BEGIN LIBTOOL CONFIG
13784
13785 # Whether or not to build static libraries.
13786 build_old_libs=$enable_static
13787
13788 # Which release of libtool.m4 was used?
13789 macro_version=$macro_version
13790 macro_revision=$macro_revision
13791
13792 # Whether or not to build shared libraries.
13793 build_libtool_libs=$enable_shared
13794
13795 # What type of objects to build.
13796 pic_mode=$pic_mode
13797
13798 # Whether or not to optimize for fast installation.
13799 fast_install=$enable_fast_install
13800
13801 # Shell to use when invoking shell scripts.
13802 SHELL=$lt_SHELL
13803
13804 # An echo program that protects backslashes.
13805 ECHO=$lt_ECHO
13806
13807 # The PATH separator for the build system.
13808 PATH_SEPARATOR=$lt_PATH_SEPARATOR
13809
13810 # The host system.
13811 host_alias=$host_alias
13812 host=$host
13813 host_os=$host_os
13814
13815 # The build system.
13816 build_alias=$build_alias
13817 build=$build
13818 build_os=$build_os
13819
13820 # A sed program that does not truncate output.
13821 SED=$lt_SED
13822
13823 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
13824 Xsed="\$SED -e 1s/^X//"
13825
13826 # A grep program that handles long lines.
13827 GREP=$lt_GREP
13828
13829 # An ERE matcher.
13830 EGREP=$lt_EGREP
13831
13832 # A literal string matcher.
13833 FGREP=$lt_FGREP
13834
13835 # A BSD- or MS-compatible name lister.
13836 NM=$lt_NM
13837
13838 # Whether we need soft or hard links.
13839 LN_S=$lt_LN_S
13840
13841 # What is the maximum length of a command?
13842 max_cmd_len=$max_cmd_len
13843
13844 # Object file suffix (normally "o").
13845 objext=$ac_objext
13846
13847 # Executable file suffix (normally "").
13848 exeext=$exeext
13849
13850 # whether the shell understands "unset".
13851 lt_unset=$lt_unset
13852
13853 # turn spaces into newlines.
13854 SP2NL=$lt_lt_SP2NL
13855
13856 # turn newlines into spaces.
13857 NL2SP=$lt_lt_NL2SP
13858
13859 # convert \$build file names to \$host format.
13860 to_host_file_cmd=$lt_cv_to_host_file_cmd
13861
13862 # convert \$build files to toolchain format.
13863 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
13864
13865 # An object symbol dumper.
13866 OBJDUMP=$lt_OBJDUMP
13867
13868 # Method to check whether dependent libraries are shared objects.
13869 deplibs_check_method=$lt_deplibs_check_method
13870
13871 # Command to use when deplibs_check_method = "file_magic".
13872 file_magic_cmd=$lt_file_magic_cmd
13873
13874 # How to find potential files when deplibs_check_method = "file_magic".
13875 file_magic_glob=$lt_file_magic_glob
13876
13877 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
13878 want_nocaseglob=$lt_want_nocaseglob
13879
13880 # DLL creation program.
13881 DLLTOOL=$lt_DLLTOOL
13882
13883 # Command to associate shared and link libraries.
13884 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
13885
13886 # The archiver.
13887 AR=$lt_AR
13888
13889 # Flags to create an archive.
13890 AR_FLAGS=$lt_AR_FLAGS
13891
13892 # How to feed a file listing to the archiver.
13893 archiver_list_spec=$lt_archiver_list_spec
13894
13895 # A symbol stripping program.
13896 STRIP=$lt_STRIP
13897
13898 # Commands used to install an old-style archive.
13899 RANLIB=$lt_RANLIB
13900 old_postinstall_cmds=$lt_old_postinstall_cmds
13901 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13902
13903 # Whether to use a lock for old archive extraction.
13904 lock_old_archive_extraction=$lock_old_archive_extraction
13905
13906 # A C compiler.
13907 LTCC=$lt_CC
13908
13909 # LTCC compiler flags.
13910 LTCFLAGS=$lt_CFLAGS
13911
13912 # Take the output of nm and produce a listing of raw symbols and C names.
13913 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13914
13915 # Transform the output of nm in a proper C declaration.
13916 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13917
13918 # Transform the output of nm in a C name address pair.
13919 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13920
13921 # Transform the output of nm in a C name address pair when lib prefix is needed.
13922 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
13923
13924 # Specify filename containing input files for \$NM.
13925 nm_file_list_spec=$lt_nm_file_list_spec
13926
13927 # The root where to search for dependent libraries,and in which our libraries should be installed.
13928 lt_sysroot=$lt_sysroot
13929
13930 # The name of the directory that contains temporary libtool files.
13931 objdir=$objdir
13932
13933 # Used to examine libraries when file_magic_cmd begins with "file".
13934 MAGIC_CMD=$MAGIC_CMD
13935
13936 # Must we lock files when doing compilation?
13937 need_locks=$lt_need_locks
13938
13939 # Manifest tool.
13940 MANIFEST_TOOL=$lt_MANIFEST_TOOL
13941
13942 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
13943 DSYMUTIL=$lt_DSYMUTIL
13944
13945 # Tool to change global to local symbols on Mac OS X.
13946 NMEDIT=$lt_NMEDIT
13947
13948 # Tool to manipulate fat objects and archives on Mac OS X.
13949 LIPO=$lt_LIPO
13950
13951 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
13952 OTOOL=$lt_OTOOL
13953
13954 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
13955 OTOOL64=$lt_OTOOL64
13956
13957 # Old archive suffix (normally "a").
13958 libext=$libext
13959
13960 # Shared library suffix (normally ".so").
13961 shrext_cmds=$lt_shrext_cmds
13962
13963 # The commands to extract the exported symbol list from a shared archive.
13964 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13965
13966 # Variables whose values should be saved in libtool wrapper scripts and
13967 # restored at link time.
13968 variables_saved_for_relink=$lt_variables_saved_for_relink
13969
13970 # Do we need the "lib" prefix for modules?
13971 need_lib_prefix=$need_lib_prefix
13972
13973 # Do we need a version for libraries?
13974 need_version=$need_version
13975
13976 # Library versioning type.
13977 version_type=$version_type
13978
13979 # Shared library runtime path variable.
13980 runpath_var=$runpath_var
13981
13982 # Shared library path variable.
13983 shlibpath_var=$shlibpath_var
13984
13985 # Is shlibpath searched before the hard-coded library search path?
13986 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13987
13988 # Format of library name prefix.
13989 libname_spec=$lt_libname_spec
13990
13991 # List of archive names.  First name is the real one, the rest are links.
13992 # The last name is the one that the linker finds with -lNAME
13993 library_names_spec=$lt_library_names_spec
13994
13995 # The coded name of the library, if different from the real name.
13996 soname_spec=$lt_soname_spec
13997
13998 # Permission mode override for installation of shared libraries.
13999 install_override_mode=$lt_install_override_mode
14000
14001 # Command to use after installation of a shared archive.
14002 postinstall_cmds=$lt_postinstall_cmds
14003
14004 # Command to use after uninstallation of a shared archive.
14005 postuninstall_cmds=$lt_postuninstall_cmds
14006
14007 # Commands used to finish a libtool library installation in a directory.
14008 finish_cmds=$lt_finish_cmds
14009
14010 # As "finish_cmds", except a single script fragment to be evaled but
14011 # not shown.
14012 finish_eval=$lt_finish_eval
14013
14014 # Whether we should hardcode library paths into libraries.
14015 hardcode_into_libs=$hardcode_into_libs
14016
14017 # Compile-time system search path for libraries.
14018 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14019
14020 # Run-time system search path for libraries.
14021 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14022
14023 # Whether dlopen is supported.
14024 dlopen_support=$enable_dlopen
14025
14026 # Whether dlopen of programs is supported.
14027 dlopen_self=$enable_dlopen_self
14028
14029 # Whether dlopen of statically linked programs is supported.
14030 dlopen_self_static=$enable_dlopen_self_static
14031
14032 # Commands to strip libraries.
14033 old_striplib=$lt_old_striplib
14034 striplib=$lt_striplib
14035
14036
14037 # The linker used to build libraries.
14038 LD=$lt_LD
14039
14040 # How to create reloadable object files.
14041 reload_flag=$lt_reload_flag
14042 reload_cmds=$lt_reload_cmds
14043
14044 # Commands used to build an old-style archive.
14045 old_archive_cmds=$lt_old_archive_cmds
14046
14047 # A language specific compiler.
14048 CC=$lt_compiler
14049
14050 # Is the compiler the GNU compiler?
14051 with_gcc=$GCC
14052
14053 # Compiler flag to turn off builtin functions.
14054 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14055
14056 # Additional compiler flags for building library objects.
14057 pic_flag=$lt_lt_prog_compiler_pic
14058
14059 # How to pass a linker flag through the compiler.
14060 wl=$lt_lt_prog_compiler_wl
14061
14062 # Compiler flag to prevent dynamic linking.
14063 link_static_flag=$lt_lt_prog_compiler_static
14064
14065 # Does compiler simultaneously support -c and -o options?
14066 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14067
14068 # Whether or not to add -lc for building shared libraries.
14069 build_libtool_need_lc=$archive_cmds_need_lc
14070
14071 # Whether or not to disallow shared libs when runtime libs are static.
14072 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14073
14074 # Compiler flag to allow reflexive dlopens.
14075 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14076
14077 # Compiler flag to generate shared objects directly from archives.
14078 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14079
14080 # Whether the compiler copes with passing no objects directly.
14081 compiler_needs_object=$lt_compiler_needs_object
14082
14083 # Create an old-style archive from a shared archive.
14084 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14085
14086 # Create a temporary old-style archive to link instead of a shared archive.
14087 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14088
14089 # Commands used to build a shared archive.
14090 archive_cmds=$lt_archive_cmds
14091 archive_expsym_cmds=$lt_archive_expsym_cmds
14092
14093 # Commands used to build a loadable module if different from building
14094 # a shared archive.
14095 module_cmds=$lt_module_cmds
14096 module_expsym_cmds=$lt_module_expsym_cmds
14097
14098 # Whether we are building with GNU ld or not.
14099 with_gnu_ld=$lt_with_gnu_ld
14100
14101 # Flag that allows shared libraries with undefined symbols to be built.
14102 allow_undefined_flag=$lt_allow_undefined_flag
14103
14104 # Flag that enforces no undefined symbols.
14105 no_undefined_flag=$lt_no_undefined_flag
14106
14107 # Flag to hardcode \$libdir into a binary during linking.
14108 # This must work even if \$libdir does not exist
14109 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14110
14111 # Whether we need a single "-rpath" flag with a separated argument.
14112 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14113
14114 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14115 # DIR into the resulting binary.
14116 hardcode_direct=$hardcode_direct
14117
14118 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14119 # DIR into the resulting binary and the resulting library dependency is
14120 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14121 # library is relocated.
14122 hardcode_direct_absolute=$hardcode_direct_absolute
14123
14124 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14125 # into the resulting binary.
14126 hardcode_minus_L=$hardcode_minus_L
14127
14128 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14129 # into the resulting binary.
14130 hardcode_shlibpath_var=$hardcode_shlibpath_var
14131
14132 # Set to "yes" if building a shared library automatically hardcodes DIR
14133 # into the library and all subsequent libraries and executables linked
14134 # against it.
14135 hardcode_automatic=$hardcode_automatic
14136
14137 # Set to yes if linker adds runtime paths of dependent libraries
14138 # to runtime path list.
14139 inherit_rpath=$inherit_rpath
14140
14141 # Whether libtool must link a program against all its dependency libraries.
14142 link_all_deplibs=$link_all_deplibs
14143
14144 # Set to "yes" if exported symbols are required.
14145 always_export_symbols=$always_export_symbols
14146
14147 # The commands to list exported symbols.
14148 export_symbols_cmds=$lt_export_symbols_cmds
14149
14150 # Symbols that should not be listed in the preloaded symbols.
14151 exclude_expsyms=$lt_exclude_expsyms
14152
14153 # Symbols that must always be exported.
14154 include_expsyms=$lt_include_expsyms
14155
14156 # Commands necessary for linking programs (against libraries) with templates.
14157 prelink_cmds=$lt_prelink_cmds
14158
14159 # Commands necessary for finishing linking programs.
14160 postlink_cmds=$lt_postlink_cmds
14161
14162 # Specify filename containing input files.
14163 file_list_spec=$lt_file_list_spec
14164
14165 # How to hardcode a shared library path into an executable.
14166 hardcode_action=$hardcode_action
14167
14168 # ### END LIBTOOL CONFIG
14169
14170 _LT_EOF
14171
14172   case $host_os in
14173   aix3*)
14174     cat <<\_LT_EOF >> "$cfgfile"
14175 # AIX sometimes has problems with the GCC collect2 program.  For some
14176 # reason, if we set the COLLECT_NAMES environment variable, the problems
14177 # vanish in a puff of smoke.
14178 if test "X${COLLECT_NAMES+set}" != Xset; then
14179   COLLECT_NAMES=
14180   export COLLECT_NAMES
14181 fi
14182 _LT_EOF
14183     ;;
14184   esac
14185
14186
14187 ltmain="$ac_aux_dir/ltmain.sh"
14188
14189
14190   # We use sed instead of cat because bash on DJGPP gets confused if
14191   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
14192   # text mode, it properly converts lines to CR/LF.  This bash problem
14193   # is reportedly fixed, but why not run on old versions too?
14194   sed '$q' "$ltmain" >> "$cfgfile" \
14195      || (rm -f "$cfgfile"; exit 1)
14196
14197   if test x"$xsi_shell" = xyes; then
14198   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
14199 func_dirname ()\
14200 {\
14201 \    case ${1} in\
14202 \      */*) func_dirname_result="${1%/*}${2}" ;;\
14203 \      *  ) func_dirname_result="${3}" ;;\
14204 \    esac\
14205 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
14206   && mv -f "$cfgfile.tmp" "$cfgfile" \
14207     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14208 test 0 -eq $? || _lt_function_replace_fail=:
14209
14210
14211   sed -e '/^func_basename ()$/,/^} # func_basename /c\
14212 func_basename ()\
14213 {\
14214 \    func_basename_result="${1##*/}"\
14215 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
14216   && mv -f "$cfgfile.tmp" "$cfgfile" \
14217     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14218 test 0 -eq $? || _lt_function_replace_fail=:
14219
14220
14221   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
14222 func_dirname_and_basename ()\
14223 {\
14224 \    case ${1} in\
14225 \      */*) func_dirname_result="${1%/*}${2}" ;;\
14226 \      *  ) func_dirname_result="${3}" ;;\
14227 \    esac\
14228 \    func_basename_result="${1##*/}"\
14229 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
14230   && mv -f "$cfgfile.tmp" "$cfgfile" \
14231     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14232 test 0 -eq $? || _lt_function_replace_fail=:
14233
14234
14235   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
14236 func_stripname ()\
14237 {\
14238 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
14239 \    # positional parameters, so assign one to ordinary parameter first.\
14240 \    func_stripname_result=${3}\
14241 \    func_stripname_result=${func_stripname_result#"${1}"}\
14242 \    func_stripname_result=${func_stripname_result%"${2}"}\
14243 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
14244   && mv -f "$cfgfile.tmp" "$cfgfile" \
14245     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14246 test 0 -eq $? || _lt_function_replace_fail=:
14247
14248
14249   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
14250 func_split_long_opt ()\
14251 {\
14252 \    func_split_long_opt_name=${1%%=*}\
14253 \    func_split_long_opt_arg=${1#*=}\
14254 } # Extended-shell func_split_long_opt implementation' "$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
14259
14260   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
14261 func_split_short_opt ()\
14262 {\
14263 \    func_split_short_opt_arg=${1#??}\
14264 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
14265 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
14266   && mv -f "$cfgfile.tmp" "$cfgfile" \
14267     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14268 test 0 -eq $? || _lt_function_replace_fail=:
14269
14270
14271   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
14272 func_lo2o ()\
14273 {\
14274 \    case ${1} in\
14275 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
14276 \      *)    func_lo2o_result=${1} ;;\
14277 \    esac\
14278 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
14279   && mv -f "$cfgfile.tmp" "$cfgfile" \
14280     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14281 test 0 -eq $? || _lt_function_replace_fail=:
14282
14283
14284   sed -e '/^func_xform ()$/,/^} # func_xform /c\
14285 func_xform ()\
14286 {\
14287     func_xform_result=${1%.*}.lo\
14288 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
14289   && mv -f "$cfgfile.tmp" "$cfgfile" \
14290     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14291 test 0 -eq $? || _lt_function_replace_fail=:
14292
14293
14294   sed -e '/^func_arith ()$/,/^} # func_arith /c\
14295 func_arith ()\
14296 {\
14297     func_arith_result=$(( $* ))\
14298 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
14299   && mv -f "$cfgfile.tmp" "$cfgfile" \
14300     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14301 test 0 -eq $? || _lt_function_replace_fail=:
14302
14303
14304   sed -e '/^func_len ()$/,/^} # func_len /c\
14305 func_len ()\
14306 {\
14307     func_len_result=${#1}\
14308 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
14309   && mv -f "$cfgfile.tmp" "$cfgfile" \
14310     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14311 test 0 -eq $? || _lt_function_replace_fail=:
14312
14313 fi
14314
14315 if test x"$lt_shell_append" = xyes; then
14316   sed -e '/^func_append ()$/,/^} # func_append /c\
14317 func_append ()\
14318 {\
14319     eval "${1}+=\\${2}"\
14320 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
14321   && mv -f "$cfgfile.tmp" "$cfgfile" \
14322     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14323 test 0 -eq $? || _lt_function_replace_fail=:
14324
14325
14326   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
14327 func_append_quoted ()\
14328 {\
14329 \    func_quote_for_eval "${2}"\
14330 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
14331 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
14332   && mv -f "$cfgfile.tmp" "$cfgfile" \
14333     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14334 test 0 -eq $? || _lt_function_replace_fail=:
14335
14336
14337   # Save a `func_append' function call where possible by direct use of '+='
14338   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
14339     && mv -f "$cfgfile.tmp" "$cfgfile" \
14340       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14341   test 0 -eq $? || _lt_function_replace_fail=:
14342 else
14343   # Save a `func_append' function call even when '+=' is not available
14344   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
14345     && mv -f "$cfgfile.tmp" "$cfgfile" \
14346       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14347   test 0 -eq $? || _lt_function_replace_fail=:
14348 fi
14349
14350 if test x"$_lt_function_replace_fail" = x":"; then
14351   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
14352 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
14353 fi
14354
14355
14356    mv -f "$cfgfile" "$ofile" ||
14357     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14358   chmod +x "$ofile"
14359
14360  ;;
14361
14362   esac
14363 done # for ac_tag
14364
14365
14366 as_fn_exit 0
14367 _ACEOF
14368 ac_clean_files=$ac_clean_files_save
14369
14370 test $ac_write_fail = 0 ||
14371   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
14372
14373
14374 # configure is writing to config.log, and then calls config.status.
14375 # config.status does its own redirection, appending to config.log.
14376 # Unfortunately, on DOS this fails, as config.log is still kept open
14377 # by configure, so config.status won't be able to write to it; its
14378 # output is simply discarded.  So we exec the FD to /dev/null,
14379 # effectively closing config.log, so it can be properly (re)opened and
14380 # appended to by config.status.  When coming back to configure, we
14381 # need to make the FD available again.
14382 if test "$no_create" != yes; then
14383   ac_cs_success=:
14384   ac_config_status_args=
14385   test "$silent" = yes &&
14386     ac_config_status_args="$ac_config_status_args --quiet"
14387   exec 5>/dev/null
14388   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
14389   exec 5>>config.log
14390   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14391   # would make configure fail if this is the last instruction.
14392   $ac_cs_success || as_fn_exit 1
14393 fi
14394 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
14395   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14396 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
14397 fi
14398