6fc23e85b1a0dec4b50b41c79ab4255b878d22d2
[platform/core/system/tlm.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for tlm 0.0.1.
4 #
5 #
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
8 # 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 if test "x$CONFIG_SHELL" = x; then
138   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
139   emulate sh
140   NULLCMD=:
141   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
142   # is contrary to our usage.  Disable this feature.
143   alias -g '\${1+\"\$@\"}'='\"\$@\"'
144   setopt NO_GLOB_SUBST
145 else
146   case \`(set -o) 2>/dev/null\` in #(
147   *posix*) :
148     set -o posix ;; #(
149   *) :
150      ;;
151 esac
152 fi
153 "
154   as_required="as_fn_return () { (exit \$1); }
155 as_fn_success () { as_fn_return 0; }
156 as_fn_failure () { as_fn_return 1; }
157 as_fn_ret_success () { return 0; }
158 as_fn_ret_failure () { return 1; }
159
160 exitcode=0
161 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
162 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
163 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
164 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
165 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
166
167 else
168   exitcode=1; echo positional parameters were not saved.
169 fi
170 test x\$exitcode = x0 || exit 1"
171   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
172   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
173   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
174   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
175
176   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
177     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
178     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
179     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
180     PATH=/empty FPATH=/empty; export PATH FPATH
181     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
182       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
183 test \$(( 1 + 1 )) = 2 || exit 1"
184   if (eval "$as_required") 2>/dev/null; then :
185   as_have_required=yes
186 else
187   as_have_required=no
188 fi
189   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
190
191 else
192   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
193 as_found=false
194 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
195 do
196   IFS=$as_save_IFS
197   test -z "$as_dir" && as_dir=.
198   as_found=:
199   case $as_dir in #(
200          /*)
201            for as_base in sh bash ksh sh5; do
202              # Try only shells that exist, to save several forks.
203              as_shell=$as_dir/$as_base
204              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
205                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
206   CONFIG_SHELL=$as_shell as_have_required=yes
207                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
208   break 2
209 fi
210 fi
211            done;;
212        esac
213   as_found=false
214 done
215 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
216               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
217   CONFIG_SHELL=$SHELL as_have_required=yes
218 fi; }
219 IFS=$as_save_IFS
220
221
222       if test "x$CONFIG_SHELL" != x; then :
223   # We cannot yet assume a decent shell, so we have to provide a
224         # neutralization value for shells without unset; and this also
225         # works around shells that cannot unset nonexistent variables.
226         # Preserve -v and -x to the replacement shell.
227         BASH_ENV=/dev/null
228         ENV=/dev/null
229         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
230         export CONFIG_SHELL
231         case $- in # ((((
232           *v*x* | *x*v* ) as_opts=-vx ;;
233           *v* ) as_opts=-v ;;
234           *x* ) as_opts=-x ;;
235           * ) as_opts= ;;
236         esac
237         exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
238 fi
239
240     if test x$as_have_required = xno; then :
241   $as_echo "$0: This script requires a shell more modern than all"
242   $as_echo "$0: the shells that I found on your system."
243   if test x${ZSH_VERSION+set} = xset ; then
244     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
245     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
246   else
247     $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
248 $0: including any error possibly output before this
249 $0: message. Then install a modern shell, or manually run
250 $0: the script under such a shell if you do have one."
251   fi
252   exit 1
253 fi
254 fi
255 fi
256 SHELL=${CONFIG_SHELL-/bin/sh}
257 export SHELL
258 # Unset more variables known to interfere with behavior of common tools.
259 CLICOLOR_FORCE= GREP_OPTIONS=
260 unset CLICOLOR_FORCE GREP_OPTIONS
261
262 ## --------------------- ##
263 ## M4sh Shell Functions. ##
264 ## --------------------- ##
265 # as_fn_unset VAR
266 # ---------------
267 # Portably unset VAR.
268 as_fn_unset ()
269 {
270   { eval $1=; unset $1;}
271 }
272 as_unset=as_fn_unset
273
274 # as_fn_set_status STATUS
275 # -----------------------
276 # Set $? to STATUS, without forking.
277 as_fn_set_status ()
278 {
279   return $1
280 } # as_fn_set_status
281
282 # as_fn_exit STATUS
283 # -----------------
284 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
285 as_fn_exit ()
286 {
287   set +e
288   as_fn_set_status $1
289   exit $1
290 } # as_fn_exit
291
292 # as_fn_mkdir_p
293 # -------------
294 # Create "$as_dir" as a directory, including parents if necessary.
295 as_fn_mkdir_p ()
296 {
297
298   case $as_dir in #(
299   -*) as_dir=./$as_dir;;
300   esac
301   test -d "$as_dir" || eval $as_mkdir_p || {
302     as_dirs=
303     while :; do
304       case $as_dir in #(
305       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
306       *) as_qdir=$as_dir;;
307       esac
308       as_dirs="'$as_qdir' $as_dirs"
309       as_dir=`$as_dirname -- "$as_dir" ||
310 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
311          X"$as_dir" : 'X\(//\)[^/]' \| \
312          X"$as_dir" : 'X\(//\)$' \| \
313          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
314 $as_echo X"$as_dir" |
315     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
316             s//\1/
317             q
318           }
319           /^X\(\/\/\)[^/].*/{
320             s//\1/
321             q
322           }
323           /^X\(\/\/\)$/{
324             s//\1/
325             q
326           }
327           /^X\(\/\).*/{
328             s//\1/
329             q
330           }
331           s/.*/./; q'`
332       test -d "$as_dir" && break
333     done
334     test -z "$as_dirs" || eval "mkdir $as_dirs"
335   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
336
337
338 } # as_fn_mkdir_p
339 # as_fn_append VAR VALUE
340 # ----------------------
341 # Append the text in VALUE to the end of the definition contained in VAR. Take
342 # advantage of any shell optimizations that allow amortized linear growth over
343 # repeated appends, instead of the typical quadratic growth present in naive
344 # implementations.
345 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
346   eval 'as_fn_append ()
347   {
348     eval $1+=\$2
349   }'
350 else
351   as_fn_append ()
352   {
353     eval $1=\$$1\$2
354   }
355 fi # as_fn_append
356
357 # as_fn_arith ARG...
358 # ------------------
359 # Perform arithmetic evaluation on the ARGs, and store the result in the
360 # global $as_val. Take advantage of shells that can avoid forks. The arguments
361 # must be portable across $(()) and expr.
362 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
363   eval 'as_fn_arith ()
364   {
365     as_val=$(( $* ))
366   }'
367 else
368   as_fn_arith ()
369   {
370     as_val=`expr "$@" || test $? -eq 1`
371   }
372 fi # as_fn_arith
373
374
375 # as_fn_error STATUS ERROR [LINENO LOG_FD]
376 # ----------------------------------------
377 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
378 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
379 # script with STATUS, using 1 if that was 0.
380 as_fn_error ()
381 {
382   as_status=$1; test $as_status -eq 0 && as_status=1
383   if test "$4"; then
384     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
385     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
386   fi
387   $as_echo "$as_me: error: $2" >&2
388   as_fn_exit $as_status
389 } # as_fn_error
390
391 if expr a : '\(a\)' >/dev/null 2>&1 &&
392    test "X`expr 00001 : '.*\(...\)'`" = X001; then
393   as_expr=expr
394 else
395   as_expr=false
396 fi
397
398 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
399   as_basename=basename
400 else
401   as_basename=false
402 fi
403
404 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
405   as_dirname=dirname
406 else
407   as_dirname=false
408 fi
409
410 as_me=`$as_basename -- "$0" ||
411 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
412          X"$0" : 'X\(//\)$' \| \
413          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
414 $as_echo X/"$0" |
415     sed '/^.*\/\([^/][^/]*\)\/*$/{
416             s//\1/
417             q
418           }
419           /^X\/\(\/\/\)$/{
420             s//\1/
421             q
422           }
423           /^X\/\(\/\).*/{
424             s//\1/
425             q
426           }
427           s/.*/./; q'`
428
429 # Avoid depending upon Character Ranges.
430 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
431 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
432 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
433 as_cr_digits='0123456789'
434 as_cr_alnum=$as_cr_Letters$as_cr_digits
435
436
437   as_lineno_1=$LINENO as_lineno_1a=$LINENO
438   as_lineno_2=$LINENO as_lineno_2a=$LINENO
439   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
440   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
441   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
442   sed -n '
443     p
444     /[$]LINENO/=
445   ' <$as_myself |
446     sed '
447       s/[$]LINENO.*/&-/
448       t lineno
449       b
450       :lineno
451       N
452       :loop
453       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
454       t loop
455       s/-\n.*//
456     ' >$as_me.lineno &&
457   chmod +x "$as_me.lineno" ||
458     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
459
460   # Don't try to exec as it changes $[0], causing all sort of problems
461   # (the dirname of $[0] is not the place where we might find the
462   # original and so on.  Autoconf is especially sensitive to this).
463   . "./$as_me.lineno"
464   # Exit status is that of the last command.
465   exit
466 }
467
468 ECHO_C= ECHO_N= ECHO_T=
469 case `echo -n x` in #(((((
470 -n*)
471   case `echo 'xy\c'` in
472   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
473   xy)  ECHO_C='\c';;
474   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
475        ECHO_T=' ';;
476   esac;;
477 *)
478   ECHO_N='-n';;
479 esac
480
481 rm -f conf$$ conf$$.exe conf$$.file
482 if test -d conf$$.dir; then
483   rm -f conf$$.dir/conf$$.file
484 else
485   rm -f conf$$.dir
486   mkdir conf$$.dir 2>/dev/null
487 fi
488 if (echo >conf$$.file) 2>/dev/null; then
489   if ln -s conf$$.file conf$$ 2>/dev/null; then
490     as_ln_s='ln -s'
491     # ... but there are two gotchas:
492     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
493     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
494     # In both cases, we have to default to `cp -p'.
495     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
496       as_ln_s='cp -p'
497   elif ln conf$$.file conf$$ 2>/dev/null; then
498     as_ln_s=ln
499   else
500     as_ln_s='cp -p'
501   fi
502 else
503   as_ln_s='cp -p'
504 fi
505 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
506 rmdir conf$$.dir 2>/dev/null
507
508 if mkdir -p . 2>/dev/null; then
509   as_mkdir_p='mkdir -p "$as_dir"'
510 else
511   test -d ./-p && rmdir ./-p
512   as_mkdir_p=false
513 fi
514
515 if test -x / >/dev/null 2>&1; then
516   as_test_x='test -x'
517 else
518   if ls -dL / >/dev/null 2>&1; then
519     as_ls_L_option=L
520   else
521     as_ls_L_option=
522   fi
523   as_test_x='
524     eval sh -c '\''
525       if test -d "$1"; then
526         test -d "$1/.";
527       else
528         case $1 in #(
529         -*)set "./$1";;
530         esac;
531         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
532         ???[sx]*):;;*)false;;esac;fi
533     '\'' sh
534   '
535 fi
536 as_executable_p=$as_test_x
537
538 # Sed expression to map a string onto a valid CPP name.
539 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
540
541 # Sed expression to map a string onto a valid variable name.
542 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
543
544 SHELL=${CONFIG_SHELL-/bin/sh}
545
546
547 test -n "$DJDIR" || exec 7<&0 </dev/null
548 exec 6>&1
549
550 # Name of the host.
551 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
552 # so uname gets run too.
553 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
554
555 #
556 # Initializations.
557 #
558 ac_default_prefix=/usr/local
559 ac_clean_files=
560 ac_config_libobj_dir=.
561 LIBOBJS=
562 cross_compiling=no
563 subdirs=
564 MFLAGS=
565 MAKEFLAGS=
566
567 # Identity of this package.
568 PACKAGE_NAME='tlm'
569 PACKAGE_TARNAME='tlm'
570 PACKAGE_VERSION='0.0.1'
571 PACKAGE_STRING='tlm 0.0.1'
572 PACKAGE_BUGREPORT=''
573 PACKAGE_URL=''
574
575 ac_unique_file="src/daemon/tlm-main.c"
576 # Factoring default headers for most tests.
577 ac_includes_default="\
578 #include <stdio.h>
579 #ifdef HAVE_SYS_TYPES_H
580 # include <sys/types.h>
581 #endif
582 #ifdef HAVE_SYS_STAT_H
583 # include <sys/stat.h>
584 #endif
585 #ifdef STDC_HEADERS
586 # include <stdlib.h>
587 # include <stddef.h>
588 #else
589 # ifdef HAVE_STDLIB_H
590 #  include <stdlib.h>
591 # endif
592 #endif
593 #ifdef HAVE_STRING_H
594 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
595 #  include <memory.h>
596 # endif
597 # include <string.h>
598 #endif
599 #ifdef HAVE_STRINGS_H
600 # include <strings.h>
601 #endif
602 #ifdef HAVE_INTTYPES_H
603 # include <inttypes.h>
604 #endif
605 #ifdef HAVE_STDINT_H
606 # include <stdint.h>
607 #endif
608 #ifdef HAVE_UNISTD_H
609 # include <unistd.h>
610 #endif"
611
612 ac_subst_vars='am__EXEEXT_FALSE
613 am__EXEEXT_TRUE
614 LTLIBOBJS
615 LIBOBJS
616 ACCOUNT_PLUGIN_NAME
617 HAVE_LIBGUM_FALSE
618 HAVE_LIBGUM_TRUE
619 LIBGUM_LIBS
620 LIBGUM_CFLAGS
621 ELEMENTARY_LIBS
622 ELEMENTARY_CFLAGS
623 ENABLE_EXAMPLES_FALSE
624 ENABLE_EXAMPLES_TRUE
625 ENABLE_TESTS_FALSE
626 ENABLE_TESTS_TRUE
627 CHECK_LIBS
628 CHECK_CFLAGS
629 TLM_LIBS
630 TLM_CFLAGS
631 HAVE_LIBTLM_NFC_FALSE
632 HAVE_LIBTLM_NFC_TRUE
633 LIBTLM_NFC_LIBS
634 LIBTLM_NFC_CFLAGS
635 GMODULE_LIBS
636 GMODULE_CFLAGS
637 GIO_LIBS
638 GIO_CFLAGS
639 GLIB_LIBS
640 GLIB_CFLAGS
641 GLIB_MKENUMS
642 GTK_DOC_USE_REBASE_FALSE
643 GTK_DOC_USE_REBASE_TRUE
644 GTK_DOC_USE_LIBTOOL_FALSE
645 GTK_DOC_USE_LIBTOOL_TRUE
646 GTK_DOC_BUILD_PDF_FALSE
647 GTK_DOC_BUILD_PDF_TRUE
648 GTK_DOC_BUILD_HTML_FALSE
649 GTK_DOC_BUILD_HTML_TRUE
650 ENABLE_GTK_DOC_FALSE
651 ENABLE_GTK_DOC_TRUE
652 GTKDOC_DEPS_LIBS
653 GTKDOC_DEPS_CFLAGS
654 HTML_DIR
655 GTKDOC_MKPDF
656 GTKDOC_REBASE
657 GTKDOC_CHECK
658 PKG_CONFIG_LIBDIR
659 PKG_CONFIG_PATH
660 PKG_CONFIG
661 CPP
662 OTOOL64
663 OTOOL
664 LIPO
665 NMEDIT
666 DSYMUTIL
667 MANIFEST_TOOL
668 RANLIB
669 ac_ct_AR
670 AR
671 DLLTOOL
672 OBJDUMP
673 LN_S
674 NM
675 ac_ct_DUMPBIN
676 DUMPBIN
677 LD
678 FGREP
679 EGREP
680 GREP
681 SED
682 am__fastdepCC_FALSE
683 am__fastdepCC_TRUE
684 CCDEPMODE
685 am__nodep
686 AMDEPBACKSLASH
687 AMDEP_FALSE
688 AMDEP_TRUE
689 am__quote
690 am__include
691 DEPDIR
692 OBJEXT
693 EXEEXT
694 ac_ct_CC
695 CPPFLAGS
696 LDFLAGS
697 CFLAGS
698 CC
699 host_os
700 host_vendor
701 host_cpu
702 host
703 build_os
704 build_vendor
705 build_cpu
706 build
707 LIBTOOL
708 AM_BACKSLASH
709 AM_DEFAULT_VERBOSITY
710 AM_DEFAULT_V
711 AM_V
712 am__untar
713 am__tar
714 AMTAR
715 am__leading_dot
716 SET_MAKE
717 AWK
718 mkdir_p
719 MKDIR_P
720 INSTALL_STRIP_PROGRAM
721 STRIP
722 install_sh
723 MAKEINFO
724 AUTOHEADER
725 AUTOMAKE
726 AUTOCONF
727 ACLOCAL
728 VERSION
729 PACKAGE
730 CYGPATH_W
731 am__isrc
732 INSTALL_DATA
733 INSTALL_SCRIPT
734 INSTALL_PROGRAM
735 target_alias
736 host_alias
737 build_alias
738 LIBS
739 ECHO_T
740 ECHO_N
741 ECHO_C
742 DEFS
743 mandir
744 localedir
745 libdir
746 psdir
747 pdfdir
748 dvidir
749 htmldir
750 infodir
751 docdir
752 oldincludedir
753 includedir
754 localstatedir
755 sharedstatedir
756 sysconfdir
757 datadir
758 datarootdir
759 libexecdir
760 sbindir
761 bindir
762 program_transform_name
763 prefix
764 exec_prefix
765 PACKAGE_URL
766 PACKAGE_BUGREPORT
767 PACKAGE_STRING
768 PACKAGE_VERSION
769 PACKAGE_TARNAME
770 PACKAGE_NAME
771 PATH_SEPARATOR
772 SHELL'
773 ac_subst_files=''
774 ac_user_opts='
775 enable_option_checking
776 enable_silent_rules
777 enable_static
778 enable_shared
779 with_pic
780 enable_fast_install
781 enable_dependency_tracking
782 with_gnu_ld
783 with_sysroot
784 enable_libtool_lock
785 with_html_dir
786 enable_gtk_doc
787 enable_gtk_doc_html
788 enable_gtk_doc_pdf
789 enable_debug
790 enable_tests
791 enable_examples
792 enable_sockets_path
793 enable_gum
794 '
795       ac_precious_vars='build_alias
796 host_alias
797 target_alias
798 CC
799 CFLAGS
800 LDFLAGS
801 LIBS
802 CPPFLAGS
803 CPP
804 PKG_CONFIG
805 PKG_CONFIG_PATH
806 PKG_CONFIG_LIBDIR
807 GTKDOC_DEPS_CFLAGS
808 GTKDOC_DEPS_LIBS
809 GLIB_CFLAGS
810 GLIB_LIBS
811 GIO_CFLAGS
812 GIO_LIBS
813 GMODULE_CFLAGS
814 GMODULE_LIBS
815 LIBTLM_NFC_CFLAGS
816 LIBTLM_NFC_LIBS
817 CHECK_CFLAGS
818 CHECK_LIBS
819 ELEMENTARY_CFLAGS
820 ELEMENTARY_LIBS
821 LIBGUM_CFLAGS
822 LIBGUM_LIBS'
823
824
825 # Initialize some variables set by options.
826 ac_init_help=
827 ac_init_version=false
828 ac_unrecognized_opts=
829 ac_unrecognized_sep=
830 # The variables have the same names as the options, with
831 # dashes changed to underlines.
832 cache_file=/dev/null
833 exec_prefix=NONE
834 no_create=
835 no_recursion=
836 prefix=NONE
837 program_prefix=NONE
838 program_suffix=NONE
839 program_transform_name=s,x,x,
840 silent=
841 site=
842 srcdir=
843 verbose=
844 x_includes=NONE
845 x_libraries=NONE
846
847 # Installation directory options.
848 # These are left unexpanded so users can "make install exec_prefix=/foo"
849 # and all the variables that are supposed to be based on exec_prefix
850 # by default will actually change.
851 # Use braces instead of parens because sh, perl, etc. also accept them.
852 # (The list follows the same order as the GNU Coding Standards.)
853 bindir='${exec_prefix}/bin'
854 sbindir='${exec_prefix}/sbin'
855 libexecdir='${exec_prefix}/libexec'
856 datarootdir='${prefix}/share'
857 datadir='${datarootdir}'
858 sysconfdir='${prefix}/etc'
859 sharedstatedir='${prefix}/com'
860 localstatedir='${prefix}/var'
861 includedir='${prefix}/include'
862 oldincludedir='/usr/include'
863 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
864 infodir='${datarootdir}/info'
865 htmldir='${docdir}'
866 dvidir='${docdir}'
867 pdfdir='${docdir}'
868 psdir='${docdir}'
869 libdir='${exec_prefix}/lib'
870 localedir='${datarootdir}/locale'
871 mandir='${datarootdir}/man'
872
873 ac_prev=
874 ac_dashdash=
875 for ac_option
876 do
877   # If the previous option needs an argument, assign it.
878   if test -n "$ac_prev"; then
879     eval $ac_prev=\$ac_option
880     ac_prev=
881     continue
882   fi
883
884   case $ac_option in
885   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
886   *=)   ac_optarg= ;;
887   *)    ac_optarg=yes ;;
888   esac
889
890   # Accept the important Cygnus configure options, so we can diagnose typos.
891
892   case $ac_dashdash$ac_option in
893   --)
894     ac_dashdash=yes ;;
895
896   -bindir | --bindir | --bindi | --bind | --bin | --bi)
897     ac_prev=bindir ;;
898   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
899     bindir=$ac_optarg ;;
900
901   -build | --build | --buil | --bui | --bu)
902     ac_prev=build_alias ;;
903   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
904     build_alias=$ac_optarg ;;
905
906   -cache-file | --cache-file | --cache-fil | --cache-fi \
907   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
908     ac_prev=cache_file ;;
909   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
910   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
911     cache_file=$ac_optarg ;;
912
913   --config-cache | -C)
914     cache_file=config.cache ;;
915
916   -datadir | --datadir | --datadi | --datad)
917     ac_prev=datadir ;;
918   -datadir=* | --datadir=* | --datadi=* | --datad=*)
919     datadir=$ac_optarg ;;
920
921   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
922   | --dataroo | --dataro | --datar)
923     ac_prev=datarootdir ;;
924   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
925   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
926     datarootdir=$ac_optarg ;;
927
928   -disable-* | --disable-*)
929     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
930     # Reject names that are not valid shell variable names.
931     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
932       as_fn_error $? "invalid feature name: $ac_useropt"
933     ac_useropt_orig=$ac_useropt
934     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
935     case $ac_user_opts in
936       *"
937 "enable_$ac_useropt"
938 "*) ;;
939       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
940          ac_unrecognized_sep=', ';;
941     esac
942     eval enable_$ac_useropt=no ;;
943
944   -docdir | --docdir | --docdi | --doc | --do)
945     ac_prev=docdir ;;
946   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
947     docdir=$ac_optarg ;;
948
949   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
950     ac_prev=dvidir ;;
951   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
952     dvidir=$ac_optarg ;;
953
954   -enable-* | --enable-*)
955     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
956     # Reject names that are not valid shell variable names.
957     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
958       as_fn_error $? "invalid feature name: $ac_useropt"
959     ac_useropt_orig=$ac_useropt
960     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
961     case $ac_user_opts in
962       *"
963 "enable_$ac_useropt"
964 "*) ;;
965       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
966          ac_unrecognized_sep=', ';;
967     esac
968     eval enable_$ac_useropt=\$ac_optarg ;;
969
970   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
971   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
972   | --exec | --exe | --ex)
973     ac_prev=exec_prefix ;;
974   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
975   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
976   | --exec=* | --exe=* | --ex=*)
977     exec_prefix=$ac_optarg ;;
978
979   -gas | --gas | --ga | --g)
980     # Obsolete; use --with-gas.
981     with_gas=yes ;;
982
983   -help | --help | --hel | --he | -h)
984     ac_init_help=long ;;
985   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
986     ac_init_help=recursive ;;
987   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
988     ac_init_help=short ;;
989
990   -host | --host | --hos | --ho)
991     ac_prev=host_alias ;;
992   -host=* | --host=* | --hos=* | --ho=*)
993     host_alias=$ac_optarg ;;
994
995   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
996     ac_prev=htmldir ;;
997   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
998   | --ht=*)
999     htmldir=$ac_optarg ;;
1000
1001   -includedir | --includedir | --includedi | --included | --include \
1002   | --includ | --inclu | --incl | --inc)
1003     ac_prev=includedir ;;
1004   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1005   | --includ=* | --inclu=* | --incl=* | --inc=*)
1006     includedir=$ac_optarg ;;
1007
1008   -infodir | --infodir | --infodi | --infod | --info | --inf)
1009     ac_prev=infodir ;;
1010   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1011     infodir=$ac_optarg ;;
1012
1013   -libdir | --libdir | --libdi | --libd)
1014     ac_prev=libdir ;;
1015   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1016     libdir=$ac_optarg ;;
1017
1018   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1019   | --libexe | --libex | --libe)
1020     ac_prev=libexecdir ;;
1021   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1022   | --libexe=* | --libex=* | --libe=*)
1023     libexecdir=$ac_optarg ;;
1024
1025   -localedir | --localedir | --localedi | --localed | --locale)
1026     ac_prev=localedir ;;
1027   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1028     localedir=$ac_optarg ;;
1029
1030   -localstatedir | --localstatedir | --localstatedi | --localstated \
1031   | --localstate | --localstat | --localsta | --localst | --locals)
1032     ac_prev=localstatedir ;;
1033   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1034   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1035     localstatedir=$ac_optarg ;;
1036
1037   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1038     ac_prev=mandir ;;
1039   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1040     mandir=$ac_optarg ;;
1041
1042   -nfp | --nfp | --nf)
1043     # Obsolete; use --without-fp.
1044     with_fp=no ;;
1045
1046   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1047   | --no-cr | --no-c | -n)
1048     no_create=yes ;;
1049
1050   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1051   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1052     no_recursion=yes ;;
1053
1054   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1055   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1056   | --oldin | --oldi | --old | --ol | --o)
1057     ac_prev=oldincludedir ;;
1058   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1059   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1060   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1061     oldincludedir=$ac_optarg ;;
1062
1063   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1064     ac_prev=prefix ;;
1065   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1066     prefix=$ac_optarg ;;
1067
1068   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1069   | --program-pre | --program-pr | --program-p)
1070     ac_prev=program_prefix ;;
1071   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1072   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1073     program_prefix=$ac_optarg ;;
1074
1075   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1076   | --program-suf | --program-su | --program-s)
1077     ac_prev=program_suffix ;;
1078   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1079   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1080     program_suffix=$ac_optarg ;;
1081
1082   -program-transform-name | --program-transform-name \
1083   | --program-transform-nam | --program-transform-na \
1084   | --program-transform-n | --program-transform- \
1085   | --program-transform | --program-transfor \
1086   | --program-transfo | --program-transf \
1087   | --program-trans | --program-tran \
1088   | --progr-tra | --program-tr | --program-t)
1089     ac_prev=program_transform_name ;;
1090   -program-transform-name=* | --program-transform-name=* \
1091   | --program-transform-nam=* | --program-transform-na=* \
1092   | --program-transform-n=* | --program-transform-=* \
1093   | --program-transform=* | --program-transfor=* \
1094   | --program-transfo=* | --program-transf=* \
1095   | --program-trans=* | --program-tran=* \
1096   | --progr-tra=* | --program-tr=* | --program-t=*)
1097     program_transform_name=$ac_optarg ;;
1098
1099   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1100     ac_prev=pdfdir ;;
1101   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1102     pdfdir=$ac_optarg ;;
1103
1104   -psdir | --psdir | --psdi | --psd | --ps)
1105     ac_prev=psdir ;;
1106   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1107     psdir=$ac_optarg ;;
1108
1109   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1110   | -silent | --silent | --silen | --sile | --sil)
1111     silent=yes ;;
1112
1113   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1114     ac_prev=sbindir ;;
1115   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1116   | --sbi=* | --sb=*)
1117     sbindir=$ac_optarg ;;
1118
1119   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1120   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1121   | --sharedst | --shareds | --shared | --share | --shar \
1122   | --sha | --sh)
1123     ac_prev=sharedstatedir ;;
1124   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1125   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1126   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1127   | --sha=* | --sh=*)
1128     sharedstatedir=$ac_optarg ;;
1129
1130   -site | --site | --sit)
1131     ac_prev=site ;;
1132   -site=* | --site=* | --sit=*)
1133     site=$ac_optarg ;;
1134
1135   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1136     ac_prev=srcdir ;;
1137   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1138     srcdir=$ac_optarg ;;
1139
1140   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1141   | --syscon | --sysco | --sysc | --sys | --sy)
1142     ac_prev=sysconfdir ;;
1143   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1144   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1145     sysconfdir=$ac_optarg ;;
1146
1147   -target | --target | --targe | --targ | --tar | --ta | --t)
1148     ac_prev=target_alias ;;
1149   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1150     target_alias=$ac_optarg ;;
1151
1152   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1153     verbose=yes ;;
1154
1155   -version | --version | --versio | --versi | --vers | -V)
1156     ac_init_version=: ;;
1157
1158   -with-* | --with-*)
1159     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1160     # Reject names that are not valid shell variable names.
1161     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1162       as_fn_error $? "invalid package name: $ac_useropt"
1163     ac_useropt_orig=$ac_useropt
1164     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1165     case $ac_user_opts in
1166       *"
1167 "with_$ac_useropt"
1168 "*) ;;
1169       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1170          ac_unrecognized_sep=', ';;
1171     esac
1172     eval with_$ac_useropt=\$ac_optarg ;;
1173
1174   -without-* | --without-*)
1175     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1176     # Reject names that are not valid shell variable names.
1177     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1178       as_fn_error $? "invalid package name: $ac_useropt"
1179     ac_useropt_orig=$ac_useropt
1180     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1181     case $ac_user_opts in
1182       *"
1183 "with_$ac_useropt"
1184 "*) ;;
1185       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1186          ac_unrecognized_sep=', ';;
1187     esac
1188     eval with_$ac_useropt=no ;;
1189
1190   --x)
1191     # Obsolete; use --with-x.
1192     with_x=yes ;;
1193
1194   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1195   | --x-incl | --x-inc | --x-in | --x-i)
1196     ac_prev=x_includes ;;
1197   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1198   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1199     x_includes=$ac_optarg ;;
1200
1201   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1202   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1203     ac_prev=x_libraries ;;
1204   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1205   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1206     x_libraries=$ac_optarg ;;
1207
1208   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1209 Try \`$0 --help' for more information"
1210     ;;
1211
1212   *=*)
1213     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1214     # Reject names that are not valid shell variable names.
1215     case $ac_envvar in #(
1216       '' | [0-9]* | *[!_$as_cr_alnum]* )
1217       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1218     esac
1219     eval $ac_envvar=\$ac_optarg
1220     export $ac_envvar ;;
1221
1222   *)
1223     # FIXME: should be removed in autoconf 3.0.
1224     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1225     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1226       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1227     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1228     ;;
1229
1230   esac
1231 done
1232
1233 if test -n "$ac_prev"; then
1234   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1235   as_fn_error $? "missing argument to $ac_option"
1236 fi
1237
1238 if test -n "$ac_unrecognized_opts"; then
1239   case $enable_option_checking in
1240     no) ;;
1241     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1242     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1243   esac
1244 fi
1245
1246 # Check all directory arguments for consistency.
1247 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1248                 datadir sysconfdir sharedstatedir localstatedir includedir \
1249                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1250                 libdir localedir mandir
1251 do
1252   eval ac_val=\$$ac_var
1253   # Remove trailing slashes.
1254   case $ac_val in
1255     */ )
1256       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1257       eval $ac_var=\$ac_val;;
1258   esac
1259   # Be sure to have absolute directory names.
1260   case $ac_val in
1261     [\\/$]* | ?:[\\/]* )  continue;;
1262     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1263   esac
1264   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1265 done
1266
1267 # There might be people who depend on the old broken behavior: `$host'
1268 # used to hold the argument of --host etc.
1269 # FIXME: To remove some day.
1270 build=$build_alias
1271 host=$host_alias
1272 target=$target_alias
1273
1274 # FIXME: To remove some day.
1275 if test "x$host_alias" != x; then
1276   if test "x$build_alias" = x; then
1277     cross_compiling=maybe
1278     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1279     If a cross compiler is detected then cross compile mode will be used" >&2
1280   elif test "x$build_alias" != "x$host_alias"; then
1281     cross_compiling=yes
1282   fi
1283 fi
1284
1285 ac_tool_prefix=
1286 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1287
1288 test "$silent" = yes && exec 6>/dev/null
1289
1290
1291 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1292 ac_ls_di=`ls -di .` &&
1293 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1294   as_fn_error $? "working directory cannot be determined"
1295 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1296   as_fn_error $? "pwd does not report name of working directory"
1297
1298
1299 # Find the source files, if location was not specified.
1300 if test -z "$srcdir"; then
1301   ac_srcdir_defaulted=yes
1302   # Try the directory containing this script, then the parent directory.
1303   ac_confdir=`$as_dirname -- "$as_myself" ||
1304 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1305          X"$as_myself" : 'X\(//\)[^/]' \| \
1306          X"$as_myself" : 'X\(//\)$' \| \
1307          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1308 $as_echo X"$as_myself" |
1309     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1310             s//\1/
1311             q
1312           }
1313           /^X\(\/\/\)[^/].*/{
1314             s//\1/
1315             q
1316           }
1317           /^X\(\/\/\)$/{
1318             s//\1/
1319             q
1320           }
1321           /^X\(\/\).*/{
1322             s//\1/
1323             q
1324           }
1325           s/.*/./; q'`
1326   srcdir=$ac_confdir
1327   if test ! -r "$srcdir/$ac_unique_file"; then
1328     srcdir=..
1329   fi
1330 else
1331   ac_srcdir_defaulted=no
1332 fi
1333 if test ! -r "$srcdir/$ac_unique_file"; then
1334   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1335   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1336 fi
1337 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1338 ac_abs_confdir=`(
1339         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1340         pwd)`
1341 # When building in place, set srcdir=.
1342 if test "$ac_abs_confdir" = "$ac_pwd"; then
1343   srcdir=.
1344 fi
1345 # Remove unnecessary trailing slashes from srcdir.
1346 # Double slashes in file names in object file debugging info
1347 # mess up M-x gdb in Emacs.
1348 case $srcdir in
1349 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1350 esac
1351 for ac_var in $ac_precious_vars; do
1352   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1353   eval ac_env_${ac_var}_value=\$${ac_var}
1354   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1355   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1356 done
1357
1358 #
1359 # Report the --help message.
1360 #
1361 if test "$ac_init_help" = "long"; then
1362   # Omit some internal or obsolete options to make the list less imposing.
1363   # This message is too long to be a string in the A/UX 3.1 sh.
1364   cat <<_ACEOF
1365 \`configure' configures tlm 0.0.1 to adapt to many kinds of systems.
1366
1367 Usage: $0 [OPTION]... [VAR=VALUE]...
1368
1369 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1370 VAR=VALUE.  See below for descriptions of some of the useful variables.
1371
1372 Defaults for the options are specified in brackets.
1373
1374 Configuration:
1375   -h, --help              display this help and exit
1376       --help=short        display options specific to this package
1377       --help=recursive    display the short help of all the included packages
1378   -V, --version           display version information and exit
1379   -q, --quiet, --silent   do not print \`checking ...' messages
1380       --cache-file=FILE   cache test results in FILE [disabled]
1381   -C, --config-cache      alias for \`--cache-file=config.cache'
1382   -n, --no-create         do not create output files
1383       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1384
1385 Installation directories:
1386   --prefix=PREFIX         install architecture-independent files in PREFIX
1387                           [$ac_default_prefix]
1388   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1389                           [PREFIX]
1390
1391 By default, \`make install' will install all the files in
1392 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1393 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1394 for instance \`--prefix=\$HOME'.
1395
1396 For better control, use the options below.
1397
1398 Fine tuning of the installation directories:
1399   --bindir=DIR            user executables [EPREFIX/bin]
1400   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1401   --libexecdir=DIR        program executables [EPREFIX/libexec]
1402   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1403   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1404   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1405   --libdir=DIR            object code libraries [EPREFIX/lib]
1406   --includedir=DIR        C header files [PREFIX/include]
1407   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1408   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1409   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1410   --infodir=DIR           info documentation [DATAROOTDIR/info]
1411   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1412   --mandir=DIR            man documentation [DATAROOTDIR/man]
1413   --docdir=DIR            documentation root [DATAROOTDIR/doc/tlm]
1414   --htmldir=DIR           html documentation [DOCDIR]
1415   --dvidir=DIR            dvi documentation [DOCDIR]
1416   --pdfdir=DIR            pdf documentation [DOCDIR]
1417   --psdir=DIR             ps documentation [DOCDIR]
1418 _ACEOF
1419
1420   cat <<\_ACEOF
1421
1422 Program names:
1423   --program-prefix=PREFIX            prepend PREFIX to installed program names
1424   --program-suffix=SUFFIX            append SUFFIX to installed program names
1425   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1426
1427 System types:
1428   --build=BUILD     configure for building on BUILD [guessed]
1429   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1430 _ACEOF
1431 fi
1432
1433 if test -n "$ac_init_help"; then
1434   case $ac_init_help in
1435      short | recursive ) echo "Configuration of tlm 0.0.1:";;
1436    esac
1437   cat <<\_ACEOF
1438
1439 Optional Features:
1440   --disable-option-checking  ignore unrecognized --enable/--with options
1441   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1442   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1443   --enable-silent-rules          less verbose build output (undo: `make V=1')
1444   --disable-silent-rules         verbose build output (undo: `make V=0')
1445   --enable-static[=PKGS]  build static libraries [default=no]
1446   --enable-shared[=PKGS]  build shared libraries [default=yes]
1447   --enable-fast-install[=PKGS]
1448                           optimize for fast installation [default=yes]
1449   --disable-dependency-tracking  speeds up one-time build
1450   --enable-dependency-tracking   do not reject slow dependency extractors
1451   --disable-libtool-lock  avoid locking (might break parallel builds)
1452   --enable-gtk-doc        use gtk-doc to build documentation [[default=no]]
1453   --enable-gtk-doc-html   build documentation in html format [[default=yes]]
1454   --enable-gtk-doc-pdf    build documentation in pdf format [[default=no]]
1455  --enable-debug enable debug features
1456  --enable-tests build unit tests
1457  --enable-examples enable examples
1458   --enable-sockets-path=path  enable dbus sockets path at location'
1459            "path" instead of default "/var/run/tlm"
1460   --enable-gum build for gumd plugin
1461
1462 Optional Packages:
1463   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1464   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1465   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1466                           both]
1467   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1468   --with-sysroot=DIR Search for dependent libraries within DIR
1469                         (or the compiler's sysroot if not specified).
1470   --with-html-dir=PATH    path to installed docs
1471
1472 Some influential environment variables:
1473   CC          C compiler command
1474   CFLAGS      C compiler flags
1475   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1476               nonstandard directory <lib dir>
1477   LIBS        libraries to pass to the linker, e.g. -l<library>
1478   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1479               you have headers in a nonstandard directory <include dir>
1480   CPP         C preprocessor
1481   PKG_CONFIG  path to pkg-config utility
1482   PKG_CONFIG_PATH
1483               directories to add to pkg-config's search path
1484   PKG_CONFIG_LIBDIR
1485               path overriding pkg-config's built-in search path
1486   GTKDOC_DEPS_CFLAGS
1487               C compiler flags for GTKDOC_DEPS, overriding pkg-config
1488   GTKDOC_DEPS_LIBS
1489               linker flags for GTKDOC_DEPS, overriding pkg-config
1490   GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1491   GLIB_LIBS   linker flags for GLIB, overriding pkg-config
1492   GIO_CFLAGS  C compiler flags for GIO, overriding pkg-config
1493   GIO_LIBS    linker flags for GIO, overriding pkg-config
1494   GMODULE_CFLAGS
1495               C compiler flags for GMODULE, overriding pkg-config
1496   GMODULE_LIBS
1497               linker flags for GMODULE, overriding pkg-config
1498   LIBTLM_NFC_CFLAGS
1499               C compiler flags for LIBTLM_NFC, overriding pkg-config
1500   LIBTLM_NFC_LIBS
1501               linker flags for LIBTLM_NFC, overriding pkg-config
1502   CHECK_CFLAGS
1503               C compiler flags for CHECK, overriding pkg-config
1504   CHECK_LIBS  linker flags for CHECK, overriding pkg-config
1505   ELEMENTARY_CFLAGS
1506               C compiler flags for ELEMENTARY, overriding pkg-config
1507   ELEMENTARY_LIBS
1508               linker flags for ELEMENTARY, overriding pkg-config
1509   LIBGUM_CFLAGS
1510               C compiler flags for LIBGUM, overriding pkg-config
1511   LIBGUM_LIBS linker flags for LIBGUM, overriding pkg-config
1512
1513 Use these variables to override the choices made by `configure' or to help
1514 it to find libraries and programs with nonstandard names/locations.
1515
1516 Report bugs to the package provider.
1517 _ACEOF
1518 ac_status=$?
1519 fi
1520
1521 if test "$ac_init_help" = "recursive"; then
1522   # If there are subdirs, report their specific --help.
1523   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1524     test -d "$ac_dir" ||
1525       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1526       continue
1527     ac_builddir=.
1528
1529 case "$ac_dir" in
1530 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1531 *)
1532   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1533   # A ".." for each directory in $ac_dir_suffix.
1534   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1535   case $ac_top_builddir_sub in
1536   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1537   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1538   esac ;;
1539 esac
1540 ac_abs_top_builddir=$ac_pwd
1541 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1542 # for backward compatibility:
1543 ac_top_builddir=$ac_top_build_prefix
1544
1545 case $srcdir in
1546   .)  # We are building in place.
1547     ac_srcdir=.
1548     ac_top_srcdir=$ac_top_builddir_sub
1549     ac_abs_top_srcdir=$ac_pwd ;;
1550   [\\/]* | ?:[\\/]* )  # Absolute name.
1551     ac_srcdir=$srcdir$ac_dir_suffix;
1552     ac_top_srcdir=$srcdir
1553     ac_abs_top_srcdir=$srcdir ;;
1554   *) # Relative name.
1555     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1556     ac_top_srcdir=$ac_top_build_prefix$srcdir
1557     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1558 esac
1559 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1560
1561     cd "$ac_dir" || { ac_status=$?; continue; }
1562     # Check for guested configure.
1563     if test -f "$ac_srcdir/configure.gnu"; then
1564       echo &&
1565       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1566     elif test -f "$ac_srcdir/configure"; then
1567       echo &&
1568       $SHELL "$ac_srcdir/configure" --help=recursive
1569     else
1570       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1571     fi || ac_status=$?
1572     cd "$ac_pwd" || { ac_status=$?; break; }
1573   done
1574 fi
1575
1576 test -n "$ac_init_help" && exit $ac_status
1577 if $ac_init_version; then
1578   cat <<\_ACEOF
1579 tlm configure 0.0.1
1580 generated by GNU Autoconf 2.68
1581
1582 Copyright (C) 2010 Free Software Foundation, Inc.
1583 This configure script is free software; the Free Software Foundation
1584 gives unlimited permission to copy, distribute and modify it.
1585 _ACEOF
1586   exit
1587 fi
1588
1589 ## ------------------------ ##
1590 ## Autoconf initialization. ##
1591 ## ------------------------ ##
1592
1593 # ac_fn_c_try_compile LINENO
1594 # --------------------------
1595 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1596 ac_fn_c_try_compile ()
1597 {
1598   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1599   rm -f conftest.$ac_objext
1600   if { { ac_try="$ac_compile"
1601 case "(($ac_try" in
1602   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1603   *) ac_try_echo=$ac_try;;
1604 esac
1605 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1606 $as_echo "$ac_try_echo"; } >&5
1607   (eval "$ac_compile") 2>conftest.err
1608   ac_status=$?
1609   if test -s conftest.err; then
1610     grep -v '^ *+' conftest.err >conftest.er1
1611     cat conftest.er1 >&5
1612     mv -f conftest.er1 conftest.err
1613   fi
1614   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1615   test $ac_status = 0; } && {
1616          test -z "$ac_c_werror_flag" ||
1617          test ! -s conftest.err
1618        } && test -s conftest.$ac_objext; then :
1619   ac_retval=0
1620 else
1621   $as_echo "$as_me: failed program was:" >&5
1622 sed 's/^/| /' conftest.$ac_ext >&5
1623
1624         ac_retval=1
1625 fi
1626   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1627   as_fn_set_status $ac_retval
1628
1629 } # ac_fn_c_try_compile
1630
1631 # ac_fn_c_try_link LINENO
1632 # -----------------------
1633 # Try to link conftest.$ac_ext, and return whether this succeeded.
1634 ac_fn_c_try_link ()
1635 {
1636   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1637   rm -f conftest.$ac_objext conftest$ac_exeext
1638   if { { ac_try="$ac_link"
1639 case "(($ac_try" in
1640   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1641   *) ac_try_echo=$ac_try;;
1642 esac
1643 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1644 $as_echo "$ac_try_echo"; } >&5
1645   (eval "$ac_link") 2>conftest.err
1646   ac_status=$?
1647   if test -s conftest.err; then
1648     grep -v '^ *+' conftest.err >conftest.er1
1649     cat conftest.er1 >&5
1650     mv -f conftest.er1 conftest.err
1651   fi
1652   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1653   test $ac_status = 0; } && {
1654          test -z "$ac_c_werror_flag" ||
1655          test ! -s conftest.err
1656        } && test -s conftest$ac_exeext && {
1657          test "$cross_compiling" = yes ||
1658          $as_test_x conftest$ac_exeext
1659        }; then :
1660   ac_retval=0
1661 else
1662   $as_echo "$as_me: failed program was:" >&5
1663 sed 's/^/| /' conftest.$ac_ext >&5
1664
1665         ac_retval=1
1666 fi
1667   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1668   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1669   # interfere with the next link command; also delete a directory that is
1670   # left behind by Apple's compiler.  We do this before executing the actions.
1671   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1672   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1673   as_fn_set_status $ac_retval
1674
1675 } # ac_fn_c_try_link
1676
1677 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1678 # -------------------------------------------------------
1679 # Tests whether HEADER exists and can be compiled using the include files in
1680 # INCLUDES, setting the cache variable VAR accordingly.
1681 ac_fn_c_check_header_compile ()
1682 {
1683   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1684   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1685 $as_echo_n "checking for $2... " >&6; }
1686 if eval \${$3+:} false; then :
1687   $as_echo_n "(cached) " >&6
1688 else
1689   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1690 /* end confdefs.h.  */
1691 $4
1692 #include <$2>
1693 _ACEOF
1694 if ac_fn_c_try_compile "$LINENO"; then :
1695   eval "$3=yes"
1696 else
1697   eval "$3=no"
1698 fi
1699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1700 fi
1701 eval ac_res=\$$3
1702                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1703 $as_echo "$ac_res" >&6; }
1704   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1705
1706 } # ac_fn_c_check_header_compile
1707
1708 # ac_fn_c_try_cpp LINENO
1709 # ----------------------
1710 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1711 ac_fn_c_try_cpp ()
1712 {
1713   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1714   if { { ac_try="$ac_cpp conftest.$ac_ext"
1715 case "(($ac_try" in
1716   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1717   *) ac_try_echo=$ac_try;;
1718 esac
1719 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1720 $as_echo "$ac_try_echo"; } >&5
1721   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1722   ac_status=$?
1723   if test -s conftest.err; then
1724     grep -v '^ *+' conftest.err >conftest.er1
1725     cat conftest.er1 >&5
1726     mv -f conftest.er1 conftest.err
1727   fi
1728   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1729   test $ac_status = 0; } > conftest.i && {
1730          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1731          test ! -s conftest.err
1732        }; then :
1733   ac_retval=0
1734 else
1735   $as_echo "$as_me: failed program was:" >&5
1736 sed 's/^/| /' conftest.$ac_ext >&5
1737
1738     ac_retval=1
1739 fi
1740   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1741   as_fn_set_status $ac_retval
1742
1743 } # ac_fn_c_try_cpp
1744
1745 # ac_fn_c_try_run LINENO
1746 # ----------------------
1747 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1748 # that executables *can* be run.
1749 ac_fn_c_try_run ()
1750 {
1751   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1752   if { { ac_try="$ac_link"
1753 case "(($ac_try" in
1754   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1755   *) ac_try_echo=$ac_try;;
1756 esac
1757 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1758 $as_echo "$ac_try_echo"; } >&5
1759   (eval "$ac_link") 2>&5
1760   ac_status=$?
1761   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1762   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1763   { { case "(($ac_try" in
1764   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1765   *) ac_try_echo=$ac_try;;
1766 esac
1767 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1768 $as_echo "$ac_try_echo"; } >&5
1769   (eval "$ac_try") 2>&5
1770   ac_status=$?
1771   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1772   test $ac_status = 0; }; }; then :
1773   ac_retval=0
1774 else
1775   $as_echo "$as_me: program exited with status $ac_status" >&5
1776        $as_echo "$as_me: failed program was:" >&5
1777 sed 's/^/| /' conftest.$ac_ext >&5
1778
1779        ac_retval=$ac_status
1780 fi
1781   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1782   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1783   as_fn_set_status $ac_retval
1784
1785 } # ac_fn_c_try_run
1786
1787 # ac_fn_c_check_func LINENO FUNC VAR
1788 # ----------------------------------
1789 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1790 ac_fn_c_check_func ()
1791 {
1792   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1793   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1794 $as_echo_n "checking for $2... " >&6; }
1795 if eval \${$3+:} false; then :
1796   $as_echo_n "(cached) " >&6
1797 else
1798   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1799 /* end confdefs.h.  */
1800 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1801    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1802 #define $2 innocuous_$2
1803
1804 /* System header to define __stub macros and hopefully few prototypes,
1805     which can conflict with char $2 (); below.
1806     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1807     <limits.h> exists even on freestanding compilers.  */
1808
1809 #ifdef __STDC__
1810 # include <limits.h>
1811 #else
1812 # include <assert.h>
1813 #endif
1814
1815 #undef $2
1816
1817 /* Override any GCC internal prototype to avoid an error.
1818    Use char because int might match the return type of a GCC
1819    builtin and then its argument prototype would still apply.  */
1820 #ifdef __cplusplus
1821 extern "C"
1822 #endif
1823 char $2 ();
1824 /* The GNU C library defines this for functions which it implements
1825     to always fail with ENOSYS.  Some functions are actually named
1826     something starting with __ and the normal name is an alias.  */
1827 #if defined __stub_$2 || defined __stub___$2
1828 choke me
1829 #endif
1830
1831 int
1832 main ()
1833 {
1834 return $2 ();
1835   ;
1836   return 0;
1837 }
1838 _ACEOF
1839 if ac_fn_c_try_link "$LINENO"; then :
1840   eval "$3=yes"
1841 else
1842   eval "$3=no"
1843 fi
1844 rm -f core conftest.err conftest.$ac_objext \
1845     conftest$ac_exeext conftest.$ac_ext
1846 fi
1847 eval ac_res=\$$3
1848                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1849 $as_echo "$ac_res" >&6; }
1850   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1851
1852 } # ac_fn_c_check_func
1853
1854 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1855 # -------------------------------------------------------
1856 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1857 # the include files in INCLUDES and setting the cache variable VAR
1858 # accordingly.
1859 ac_fn_c_check_header_mongrel ()
1860 {
1861   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1862   if eval \${$3+:} false; then :
1863   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1864 $as_echo_n "checking for $2... " >&6; }
1865 if eval \${$3+:} false; then :
1866   $as_echo_n "(cached) " >&6
1867 fi
1868 eval ac_res=\$$3
1869                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1870 $as_echo "$ac_res" >&6; }
1871 else
1872   # Is the header compilable?
1873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1874 $as_echo_n "checking $2 usability... " >&6; }
1875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1876 /* end confdefs.h.  */
1877 $4
1878 #include <$2>
1879 _ACEOF
1880 if ac_fn_c_try_compile "$LINENO"; then :
1881   ac_header_compiler=yes
1882 else
1883   ac_header_compiler=no
1884 fi
1885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1887 $as_echo "$ac_header_compiler" >&6; }
1888
1889 # Is the header present?
1890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1891 $as_echo_n "checking $2 presence... " >&6; }
1892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1893 /* end confdefs.h.  */
1894 #include <$2>
1895 _ACEOF
1896 if ac_fn_c_try_cpp "$LINENO"; then :
1897   ac_header_preproc=yes
1898 else
1899   ac_header_preproc=no
1900 fi
1901 rm -f conftest.err conftest.i conftest.$ac_ext
1902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1903 $as_echo "$ac_header_preproc" >&6; }
1904
1905 # So?  What about this header?
1906 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1907   yes:no: )
1908     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1909 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1910     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1911 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1912     ;;
1913   no:yes:* )
1914     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1915 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1916     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1917 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1918     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1919 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1920     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1921 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1922     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1923 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1924     ;;
1925 esac
1926   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1927 $as_echo_n "checking for $2... " >&6; }
1928 if eval \${$3+:} false; then :
1929   $as_echo_n "(cached) " >&6
1930 else
1931   eval "$3=\$ac_header_compiler"
1932 fi
1933 eval ac_res=\$$3
1934                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1935 $as_echo "$ac_res" >&6; }
1936 fi
1937   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1938
1939 } # ac_fn_c_check_header_mongrel
1940 cat >config.log <<_ACEOF
1941 This file contains any messages produced by compilers while
1942 running configure, to aid debugging if configure makes a mistake.
1943
1944 It was created by tlm $as_me 0.0.1, which was
1945 generated by GNU Autoconf 2.68.  Invocation command line was
1946
1947   $ $0 $@
1948
1949 _ACEOF
1950 exec 5>>config.log
1951 {
1952 cat <<_ASUNAME
1953 ## --------- ##
1954 ## Platform. ##
1955 ## --------- ##
1956
1957 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1958 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1959 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1960 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1961 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1962
1963 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1964 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1965
1966 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1967 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1968 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1969 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1970 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1971 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1972 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1973
1974 _ASUNAME
1975
1976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1977 for as_dir in $PATH
1978 do
1979   IFS=$as_save_IFS
1980   test -z "$as_dir" && as_dir=.
1981     $as_echo "PATH: $as_dir"
1982   done
1983 IFS=$as_save_IFS
1984
1985 } >&5
1986
1987 cat >&5 <<_ACEOF
1988
1989
1990 ## ----------- ##
1991 ## Core tests. ##
1992 ## ----------- ##
1993
1994 _ACEOF
1995
1996
1997 # Keep a trace of the command line.
1998 # Strip out --no-create and --no-recursion so they do not pile up.
1999 # Strip out --silent because we don't want to record it for future runs.
2000 # Also quote any args containing shell meta-characters.
2001 # Make two passes to allow for proper duplicate-argument suppression.
2002 ac_configure_args=
2003 ac_configure_args0=
2004 ac_configure_args1=
2005 ac_must_keep_next=false
2006 for ac_pass in 1 2
2007 do
2008   for ac_arg
2009   do
2010     case $ac_arg in
2011     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2012     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2013     | -silent | --silent | --silen | --sile | --sil)
2014       continue ;;
2015     *\'*)
2016       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2017     esac
2018     case $ac_pass in
2019     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2020     2)
2021       as_fn_append ac_configure_args1 " '$ac_arg'"
2022       if test $ac_must_keep_next = true; then
2023         ac_must_keep_next=false # Got value, back to normal.
2024       else
2025         case $ac_arg in
2026           *=* | --config-cache | -C | -disable-* | --disable-* \
2027           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2028           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2029           | -with-* | --with-* | -without-* | --without-* | --x)
2030             case "$ac_configure_args0 " in
2031               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2032             esac
2033             ;;
2034           -* ) ac_must_keep_next=true ;;
2035         esac
2036       fi
2037       as_fn_append ac_configure_args " '$ac_arg'"
2038       ;;
2039     esac
2040   done
2041 done
2042 { ac_configure_args0=; unset ac_configure_args0;}
2043 { ac_configure_args1=; unset ac_configure_args1;}
2044
2045 # When interrupted or exit'd, cleanup temporary files, and complete
2046 # config.log.  We remove comments because anyway the quotes in there
2047 # would cause problems or look ugly.
2048 # WARNING: Use '\'' to represent an apostrophe within the trap.
2049 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2050 trap 'exit_status=$?
2051   # Save into config.log some information that might help in debugging.
2052   {
2053     echo
2054
2055     $as_echo "## ---------------- ##
2056 ## Cache variables. ##
2057 ## ---------------- ##"
2058     echo
2059     # The following way of writing the cache mishandles newlines in values,
2060 (
2061   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2062     eval ac_val=\$$ac_var
2063     case $ac_val in #(
2064     *${as_nl}*)
2065       case $ac_var in #(
2066       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2067 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2068       esac
2069       case $ac_var in #(
2070       _ | IFS | as_nl) ;; #(
2071       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2072       *) { eval $ac_var=; unset $ac_var;} ;;
2073       esac ;;
2074     esac
2075   done
2076   (set) 2>&1 |
2077     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2078     *${as_nl}ac_space=\ *)
2079       sed -n \
2080         "s/'\''/'\''\\\\'\'''\''/g;
2081           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2082       ;; #(
2083     *)
2084       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2085       ;;
2086     esac |
2087     sort
2088 )
2089     echo
2090
2091     $as_echo "## ----------------- ##
2092 ## Output variables. ##
2093 ## ----------------- ##"
2094     echo
2095     for ac_var in $ac_subst_vars
2096     do
2097       eval ac_val=\$$ac_var
2098       case $ac_val in
2099       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2100       esac
2101       $as_echo "$ac_var='\''$ac_val'\''"
2102     done | sort
2103     echo
2104
2105     if test -n "$ac_subst_files"; then
2106       $as_echo "## ------------------- ##
2107 ## File substitutions. ##
2108 ## ------------------- ##"
2109       echo
2110       for ac_var in $ac_subst_files
2111       do
2112         eval ac_val=\$$ac_var
2113         case $ac_val in
2114         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2115         esac
2116         $as_echo "$ac_var='\''$ac_val'\''"
2117       done | sort
2118       echo
2119     fi
2120
2121     if test -s confdefs.h; then
2122       $as_echo "## ----------- ##
2123 ## confdefs.h. ##
2124 ## ----------- ##"
2125       echo
2126       cat confdefs.h
2127       echo
2128     fi
2129     test "$ac_signal" != 0 &&
2130       $as_echo "$as_me: caught signal $ac_signal"
2131     $as_echo "$as_me: exit $exit_status"
2132   } >&5
2133   rm -f core *.core core.conftest.* &&
2134     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2135     exit $exit_status
2136 ' 0
2137 for ac_signal in 1 2 13 15; do
2138   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2139 done
2140 ac_signal=0
2141
2142 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2143 rm -f -r conftest* confdefs.h
2144
2145 $as_echo "/* confdefs.h */" > confdefs.h
2146
2147 # Predefined preprocessor variables.
2148
2149 cat >>confdefs.h <<_ACEOF
2150 #define PACKAGE_NAME "$PACKAGE_NAME"
2151 _ACEOF
2152
2153 cat >>confdefs.h <<_ACEOF
2154 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2155 _ACEOF
2156
2157 cat >>confdefs.h <<_ACEOF
2158 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2159 _ACEOF
2160
2161 cat >>confdefs.h <<_ACEOF
2162 #define PACKAGE_STRING "$PACKAGE_STRING"
2163 _ACEOF
2164
2165 cat >>confdefs.h <<_ACEOF
2166 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2167 _ACEOF
2168
2169 cat >>confdefs.h <<_ACEOF
2170 #define PACKAGE_URL "$PACKAGE_URL"
2171 _ACEOF
2172
2173
2174 # Let the site file select an alternate cache file if it wants to.
2175 # Prefer an explicitly selected file to automatically selected ones.
2176 ac_site_file1=NONE
2177 ac_site_file2=NONE
2178 if test -n "$CONFIG_SITE"; then
2179   # We do not want a PATH search for config.site.
2180   case $CONFIG_SITE in #((
2181     -*)  ac_site_file1=./$CONFIG_SITE;;
2182     */*) ac_site_file1=$CONFIG_SITE;;
2183     *)   ac_site_file1=./$CONFIG_SITE;;
2184   esac
2185 elif test "x$prefix" != xNONE; then
2186   ac_site_file1=$prefix/share/config.site
2187   ac_site_file2=$prefix/etc/config.site
2188 else
2189   ac_site_file1=$ac_default_prefix/share/config.site
2190   ac_site_file2=$ac_default_prefix/etc/config.site
2191 fi
2192 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2193 do
2194   test "x$ac_site_file" = xNONE && continue
2195   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2196     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2197 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2198     sed 's/^/| /' "$ac_site_file" >&5
2199     . "$ac_site_file" \
2200       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2201 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2202 as_fn_error $? "failed to load site script $ac_site_file
2203 See \`config.log' for more details" "$LINENO" 5; }
2204   fi
2205 done
2206
2207 if test -r "$cache_file"; then
2208   # Some versions of bash will fail to source /dev/null (special files
2209   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2210   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2211     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2212 $as_echo "$as_me: loading cache $cache_file" >&6;}
2213     case $cache_file in
2214       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2215       *)                      . "./$cache_file";;
2216     esac
2217   fi
2218 else
2219   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2220 $as_echo "$as_me: creating cache $cache_file" >&6;}
2221   >$cache_file
2222 fi
2223
2224 # Check that the precious variables saved in the cache have kept the same
2225 # value.
2226 ac_cache_corrupted=false
2227 for ac_var in $ac_precious_vars; do
2228   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2229   eval ac_new_set=\$ac_env_${ac_var}_set
2230   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2231   eval ac_new_val=\$ac_env_${ac_var}_value
2232   case $ac_old_set,$ac_new_set in
2233     set,)
2234       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2235 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2236       ac_cache_corrupted=: ;;
2237     ,set)
2238       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2239 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2240       ac_cache_corrupted=: ;;
2241     ,);;
2242     *)
2243       if test "x$ac_old_val" != "x$ac_new_val"; then
2244         # differences in whitespace do not lead to failure.
2245         ac_old_val_w=`echo x $ac_old_val`
2246         ac_new_val_w=`echo x $ac_new_val`
2247         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2248           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2249 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2250           ac_cache_corrupted=:
2251         else
2252           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2253 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2254           eval $ac_var=\$ac_old_val
2255         fi
2256         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2257 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2258         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2259 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2260       fi;;
2261   esac
2262   # Pass precious variables to config.status.
2263   if test "$ac_new_set" = set; then
2264     case $ac_new_val in
2265     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2266     *) ac_arg=$ac_var=$ac_new_val ;;
2267     esac
2268     case " $ac_configure_args " in
2269       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2270       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2271     esac
2272   fi
2273 done
2274 if $ac_cache_corrupted; then
2275   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2276 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2277   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2278 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2279   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2280 fi
2281 ## -------------------- ##
2282 ## Main body of script. ##
2283 ## -------------------- ##
2284
2285 ac_ext=c
2286 ac_cpp='$CPP $CPPFLAGS'
2287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2290
2291
2292
2293 ac_config_headers="$ac_config_headers config.h"
2294
2295
2296
2297 am__api_version='1.11'
2298
2299 ac_aux_dir=
2300 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2301   if test -f "$ac_dir/install-sh"; then
2302     ac_aux_dir=$ac_dir
2303     ac_install_sh="$ac_aux_dir/install-sh -c"
2304     break
2305   elif test -f "$ac_dir/install.sh"; then
2306     ac_aux_dir=$ac_dir
2307     ac_install_sh="$ac_aux_dir/install.sh -c"
2308     break
2309   elif test -f "$ac_dir/shtool"; then
2310     ac_aux_dir=$ac_dir
2311     ac_install_sh="$ac_aux_dir/shtool install -c"
2312     break
2313   fi
2314 done
2315 if test -z "$ac_aux_dir"; then
2316   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2317 fi
2318
2319 # These three variables are undocumented and unsupported,
2320 # and are intended to be withdrawn in a future Autoconf release.
2321 # They can cause serious problems if a builder's source tree is in a directory
2322 # whose full name contains unusual characters.
2323 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2324 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2325 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2326
2327
2328 # Find a good install program.  We prefer a C program (faster),
2329 # so one script is as good as another.  But avoid the broken or
2330 # incompatible versions:
2331 # SysV /etc/install, /usr/sbin/install
2332 # SunOS /usr/etc/install
2333 # IRIX /sbin/install
2334 # AIX /bin/install
2335 # AmigaOS /C/install, which installs bootblocks on floppy discs
2336 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2337 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2338 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2339 # OS/2's system install, which has a completely different semantic
2340 # ./install, which can be erroneously created by make from ./install.sh.
2341 # Reject install programs that cannot install multiple files.
2342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2343 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2344 if test -z "$INSTALL"; then
2345 if ${ac_cv_path_install+:} false; then :
2346   $as_echo_n "(cached) " >&6
2347 else
2348   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2349 for as_dir in $PATH
2350 do
2351   IFS=$as_save_IFS
2352   test -z "$as_dir" && as_dir=.
2353     # Account for people who put trailing slashes in PATH elements.
2354 case $as_dir/ in #((
2355   ./ | .// | /[cC]/* | \
2356   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2357   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2358   /usr/ucb/* ) ;;
2359   *)
2360     # OSF1 and SCO ODT 3.0 have their own names for install.
2361     # Don't use installbsd from OSF since it installs stuff as root
2362     # by default.
2363     for ac_prog in ginstall scoinst install; do
2364       for ac_exec_ext in '' $ac_executable_extensions; do
2365         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2366           if test $ac_prog = install &&
2367             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2368             # AIX install.  It has an incompatible calling convention.
2369             :
2370           elif test $ac_prog = install &&
2371             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2372             # program-specific install script used by HP pwplus--don't use.
2373             :
2374           else
2375             rm -rf conftest.one conftest.two conftest.dir
2376             echo one > conftest.one
2377             echo two > conftest.two
2378             mkdir conftest.dir
2379             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2380               test -s conftest.one && test -s conftest.two &&
2381               test -s conftest.dir/conftest.one &&
2382               test -s conftest.dir/conftest.two
2383             then
2384               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2385               break 3
2386             fi
2387           fi
2388         fi
2389       done
2390     done
2391     ;;
2392 esac
2393
2394   done
2395 IFS=$as_save_IFS
2396
2397 rm -rf conftest.one conftest.two conftest.dir
2398
2399 fi
2400   if test "${ac_cv_path_install+set}" = set; then
2401     INSTALL=$ac_cv_path_install
2402   else
2403     # As a last resort, use the slow shell script.  Don't cache a
2404     # value for INSTALL within a source directory, because that will
2405     # break other packages using the cache if that directory is
2406     # removed, or if the value is a relative name.
2407     INSTALL=$ac_install_sh
2408   fi
2409 fi
2410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2411 $as_echo "$INSTALL" >&6; }
2412
2413 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2414 # It thinks the first close brace ends the variable substitution.
2415 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2416
2417 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2418
2419 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2420
2421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2422 $as_echo_n "checking whether build environment is sane... " >&6; }
2423 # Just in case
2424 sleep 1
2425 echo timestamp > conftest.file
2426 # Reject unsafe characters in $srcdir or the absolute working directory
2427 # name.  Accept space and tab only in the latter.
2428 am_lf='
2429 '
2430 case `pwd` in
2431   *[\\\"\#\$\&\'\`$am_lf]*)
2432     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2433 esac
2434 case $srcdir in
2435   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2436     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2437 esac
2438
2439 # Do `set' in a subshell so we don't clobber the current shell's
2440 # arguments.  Must try -L first in case configure is actually a
2441 # symlink; some systems play weird games with the mod time of symlinks
2442 # (eg FreeBSD returns the mod time of the symlink's containing
2443 # directory).
2444 if (
2445    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2446    if test "$*" = "X"; then
2447       # -L didn't work.
2448       set X `ls -t "$srcdir/configure" conftest.file`
2449    fi
2450    rm -f conftest.file
2451    if test "$*" != "X $srcdir/configure conftest.file" \
2452       && test "$*" != "X conftest.file $srcdir/configure"; then
2453
2454       # If neither matched, then we have a broken ls.  This can happen
2455       # if, for instance, CONFIG_SHELL is bash and it inherits a
2456       # broken ls alias from the environment.  This has actually
2457       # happened.  Such a system could not be considered "sane".
2458       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2459 alias in your environment" "$LINENO" 5
2460    fi
2461
2462    test "$2" = conftest.file
2463    )
2464 then
2465    # Ok.
2466    :
2467 else
2468    as_fn_error $? "newly created file is older than distributed files!
2469 Check your system clock" "$LINENO" 5
2470 fi
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2472 $as_echo "yes" >&6; }
2473 test "$program_prefix" != NONE &&
2474   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2475 # Use a double $ so make ignores it.
2476 test "$program_suffix" != NONE &&
2477   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2478 # Double any \ or $.
2479 # By default was `s,x,x', remove it if useless.
2480 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2481 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2482
2483 # expand $ac_aux_dir to an absolute path
2484 am_aux_dir=`cd $ac_aux_dir && pwd`
2485
2486 if test x"${MISSING+set}" != xset; then
2487   case $am_aux_dir in
2488   *\ * | *\     *)
2489     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2490   *)
2491     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2492   esac
2493 fi
2494 # Use eval to expand $SHELL
2495 if eval "$MISSING --run true"; then
2496   am_missing_run="$MISSING --run "
2497 else
2498   am_missing_run=
2499   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2500 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2501 fi
2502
2503 if test x"${install_sh}" != xset; then
2504   case $am_aux_dir in
2505   *\ * | *\     *)
2506     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2507   *)
2508     install_sh="\${SHELL} $am_aux_dir/install-sh"
2509   esac
2510 fi
2511
2512 # Installed binaries are usually stripped using `strip' when the user
2513 # run `make install-strip'.  However `strip' might not be the right
2514 # tool to use in cross-compilation environments, therefore Automake
2515 # will honor the `STRIP' environment variable to overrule this program.
2516 if test "$cross_compiling" != no; then
2517   if test -n "$ac_tool_prefix"; then
2518   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2519 set dummy ${ac_tool_prefix}strip; ac_word=$2
2520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2521 $as_echo_n "checking for $ac_word... " >&6; }
2522 if ${ac_cv_prog_STRIP+:} false; then :
2523   $as_echo_n "(cached) " >&6
2524 else
2525   if test -n "$STRIP"; then
2526   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2527 else
2528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2529 for as_dir in $PATH
2530 do
2531   IFS=$as_save_IFS
2532   test -z "$as_dir" && as_dir=.
2533     for ac_exec_ext in '' $ac_executable_extensions; do
2534   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2535     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2536     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2537     break 2
2538   fi
2539 done
2540   done
2541 IFS=$as_save_IFS
2542
2543 fi
2544 fi
2545 STRIP=$ac_cv_prog_STRIP
2546 if test -n "$STRIP"; then
2547   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2548 $as_echo "$STRIP" >&6; }
2549 else
2550   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2551 $as_echo "no" >&6; }
2552 fi
2553
2554
2555 fi
2556 if test -z "$ac_cv_prog_STRIP"; then
2557   ac_ct_STRIP=$STRIP
2558   # Extract the first word of "strip", so it can be a program name with args.
2559 set dummy strip; ac_word=$2
2560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2561 $as_echo_n "checking for $ac_word... " >&6; }
2562 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2563   $as_echo_n "(cached) " >&6
2564 else
2565   if test -n "$ac_ct_STRIP"; then
2566   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2567 else
2568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2569 for as_dir in $PATH
2570 do
2571   IFS=$as_save_IFS
2572   test -z "$as_dir" && as_dir=.
2573     for ac_exec_ext in '' $ac_executable_extensions; do
2574   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2575     ac_cv_prog_ac_ct_STRIP="strip"
2576     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2577     break 2
2578   fi
2579 done
2580   done
2581 IFS=$as_save_IFS
2582
2583 fi
2584 fi
2585 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2586 if test -n "$ac_ct_STRIP"; then
2587   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2588 $as_echo "$ac_ct_STRIP" >&6; }
2589 else
2590   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2591 $as_echo "no" >&6; }
2592 fi
2593
2594   if test "x$ac_ct_STRIP" = x; then
2595     STRIP=":"
2596   else
2597     case $cross_compiling:$ac_tool_warned in
2598 yes:)
2599 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2600 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2601 ac_tool_warned=yes ;;
2602 esac
2603     STRIP=$ac_ct_STRIP
2604   fi
2605 else
2606   STRIP="$ac_cv_prog_STRIP"
2607 fi
2608
2609 fi
2610 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2611
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2613 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2614 if test -z "$MKDIR_P"; then
2615   if ${ac_cv_path_mkdir+:} false; then :
2616   $as_echo_n "(cached) " >&6
2617 else
2618   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2619 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2620 do
2621   IFS=$as_save_IFS
2622   test -z "$as_dir" && as_dir=.
2623     for ac_prog in mkdir gmkdir; do
2624          for ac_exec_ext in '' $ac_executable_extensions; do
2625            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2626            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2627              'mkdir (GNU coreutils) '* | \
2628              'mkdir (coreutils) '* | \
2629              'mkdir (fileutils) '4.1*)
2630                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2631                break 3;;
2632            esac
2633          done
2634        done
2635   done
2636 IFS=$as_save_IFS
2637
2638 fi
2639
2640   test -d ./--version && rmdir ./--version
2641   if test "${ac_cv_path_mkdir+set}" = set; then
2642     MKDIR_P="$ac_cv_path_mkdir -p"
2643   else
2644     # As a last resort, use the slow shell script.  Don't cache a
2645     # value for MKDIR_P within a source directory, because that will
2646     # break other packages using the cache if that directory is
2647     # removed, or if the value is a relative name.
2648     MKDIR_P="$ac_install_sh -d"
2649   fi
2650 fi
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2652 $as_echo "$MKDIR_P" >&6; }
2653
2654 mkdir_p="$MKDIR_P"
2655 case $mkdir_p in
2656   [\\/$]* | ?:[\\/]*) ;;
2657   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2658 esac
2659
2660 for ac_prog in gawk mawk nawk awk
2661 do
2662   # Extract the first word of "$ac_prog", so it can be a program name with args.
2663 set dummy $ac_prog; ac_word=$2
2664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2665 $as_echo_n "checking for $ac_word... " >&6; }
2666 if ${ac_cv_prog_AWK+:} false; then :
2667   $as_echo_n "(cached) " >&6
2668 else
2669   if test -n "$AWK"; then
2670   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2671 else
2672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2673 for as_dir in $PATH
2674 do
2675   IFS=$as_save_IFS
2676   test -z "$as_dir" && as_dir=.
2677     for ac_exec_ext in '' $ac_executable_extensions; do
2678   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2679     ac_cv_prog_AWK="$ac_prog"
2680     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2681     break 2
2682   fi
2683 done
2684   done
2685 IFS=$as_save_IFS
2686
2687 fi
2688 fi
2689 AWK=$ac_cv_prog_AWK
2690 if test -n "$AWK"; then
2691   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2692 $as_echo "$AWK" >&6; }
2693 else
2694   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2695 $as_echo "no" >&6; }
2696 fi
2697
2698
2699   test -n "$AWK" && break
2700 done
2701
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2703 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2704 set x ${MAKE-make}
2705 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2706 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2707   $as_echo_n "(cached) " >&6
2708 else
2709   cat >conftest.make <<\_ACEOF
2710 SHELL = /bin/sh
2711 all:
2712         @echo '@@@%%%=$(MAKE)=@@@%%%'
2713 _ACEOF
2714 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2715 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2716   *@@@%%%=?*=@@@%%%*)
2717     eval ac_cv_prog_make_${ac_make}_set=yes;;
2718   *)
2719     eval ac_cv_prog_make_${ac_make}_set=no;;
2720 esac
2721 rm -f conftest.make
2722 fi
2723 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2724   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2725 $as_echo "yes" >&6; }
2726   SET_MAKE=
2727 else
2728   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2729 $as_echo "no" >&6; }
2730   SET_MAKE="MAKE=${MAKE-make}"
2731 fi
2732
2733 rm -rf .tst 2>/dev/null
2734 mkdir .tst 2>/dev/null
2735 if test -d .tst; then
2736   am__leading_dot=.
2737 else
2738   am__leading_dot=_
2739 fi
2740 rmdir .tst 2>/dev/null
2741
2742 # Check whether --enable-silent-rules was given.
2743 if test "${enable_silent_rules+set}" = set; then :
2744   enableval=$enable_silent_rules;
2745 fi
2746
2747 case $enable_silent_rules in
2748 yes) AM_DEFAULT_VERBOSITY=0;;
2749 no)  AM_DEFAULT_VERBOSITY=1;;
2750 *)   AM_DEFAULT_VERBOSITY=1;;
2751 esac
2752 am_make=${MAKE-make}
2753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2754 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2755 if ${am_cv_make_support_nested_variables+:} false; then :
2756   $as_echo_n "(cached) " >&6
2757 else
2758   if $as_echo 'TRUE=$(BAR$(V))
2759 BAR0=false
2760 BAR1=true
2761 V=1
2762 am__doit:
2763         @$(TRUE)
2764 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2765   am_cv_make_support_nested_variables=yes
2766 else
2767   am_cv_make_support_nested_variables=no
2768 fi
2769 fi
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2771 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2772 if test $am_cv_make_support_nested_variables = yes; then
2773     AM_V='$(V)'
2774   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2775 else
2776   AM_V=$AM_DEFAULT_VERBOSITY
2777   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2778 fi
2779 AM_BACKSLASH='\'
2780
2781 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2782   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2783   # is not polluted with repeated "-I."
2784   am__isrc=' -I$(srcdir)'
2785   # test to see if srcdir already configured
2786   if test -f $srcdir/config.status; then
2787     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2788   fi
2789 fi
2790
2791 # test whether we have cygpath
2792 if test -z "$CYGPATH_W"; then
2793   if (cygpath --version) >/dev/null 2>/dev/null; then
2794     CYGPATH_W='cygpath -w'
2795   else
2796     CYGPATH_W=echo
2797   fi
2798 fi
2799
2800
2801 # Define the identity of the package.
2802  PACKAGE='tlm'
2803  VERSION='0.0.1'
2804
2805
2806 cat >>confdefs.h <<_ACEOF
2807 #define PACKAGE "$PACKAGE"
2808 _ACEOF
2809
2810
2811 cat >>confdefs.h <<_ACEOF
2812 #define VERSION "$VERSION"
2813 _ACEOF
2814
2815 # Some tools Automake needs.
2816
2817 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2818
2819
2820 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2821
2822
2823 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2824
2825
2826 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2827
2828
2829 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2830
2831 # We need awk for the "check" target.  The system "awk" is bad on
2832 # some platforms.
2833 # Always define AMTAR for backward compatibility.  Yes, it's still used
2834 # in the wild :-(  We should find a proper way to deprecate it ...
2835 AMTAR='$${TAR-tar}'
2836
2837
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
2839 $as_echo_n "checking how to create a pax tar archive... " >&6; }
2840 # Loop over all known methods to create a tar archive until one works.
2841 _am_tools='gnutar  pax cpio none'
2842 _am_tools=${am_cv_prog_tar_pax-$_am_tools}
2843 # Do not fold the above two line into one, because Tru64 sh and
2844 # Solaris sh will not grok spaces in the rhs of `-'.
2845 for _am_tool in $_am_tools
2846 do
2847   case $_am_tool in
2848   gnutar)
2849     for _am_tar in tar gnutar gtar;
2850     do
2851       { echo "$as_me:$LINENO: $_am_tar --version" >&5
2852    ($_am_tar --version) >&5 2>&5
2853    ac_status=$?
2854    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2855    (exit $ac_status); } && break
2856     done
2857     am__tar="$_am_tar --format=posix -chf - "'"$$tardir"'
2858     am__tar_="$_am_tar --format=posix -chf - "'"$tardir"'
2859     am__untar="$_am_tar -xf -"
2860     ;;
2861   plaintar)
2862     # Must skip GNU tar: if it does not support --format= it doesn't create
2863     # ustar tarball either.
2864     (tar --version) >/dev/null 2>&1 && continue
2865     am__tar='tar chf - "$$tardir"'
2866     am__tar_='tar chf - "$tardir"'
2867     am__untar='tar xf -'
2868     ;;
2869   pax)
2870     am__tar='pax -L -x pax -w "$$tardir"'
2871     am__tar_='pax -L -x pax -w "$tardir"'
2872     am__untar='pax -r'
2873     ;;
2874   cpio)
2875     am__tar='find "$$tardir" -print | cpio -o -H pax -L'
2876     am__tar_='find "$tardir" -print | cpio -o -H pax -L'
2877     am__untar='cpio -i -H pax -d'
2878     ;;
2879   none)
2880     am__tar=false
2881     am__tar_=false
2882     am__untar=false
2883     ;;
2884   esac
2885
2886   # If the value was cached, stop now.  We just wanted to have am__tar
2887   # and am__untar set.
2888   test -n "${am_cv_prog_tar_pax}" && break
2889
2890   # tar/untar a dummy directory, and stop if the command works
2891   rm -rf conftest.dir
2892   mkdir conftest.dir
2893   echo GrepMe > conftest.dir/file
2894   { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2895    (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2896    ac_status=$?
2897    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2898    (exit $ac_status); }
2899   rm -rf conftest.dir
2900   if test -s conftest.tar; then
2901     { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2902    ($am__untar <conftest.tar) >&5 2>&5
2903    ac_status=$?
2904    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2905    (exit $ac_status); }
2906     grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2907   fi
2908 done
2909 rm -rf conftest.dir
2910
2911 if ${am_cv_prog_tar_pax+:} false; then :
2912   $as_echo_n "(cached) " >&6
2913 else
2914   am_cv_prog_tar_pax=$_am_tool
2915 fi
2916
2917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
2918 $as_echo "$am_cv_prog_tar_pax" >&6; }
2919
2920
2921
2922
2923
2924
2925 #libtool
2926
2927 case `pwd` in
2928   *\ * | *\     *)
2929     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2930 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
2931 esac
2932
2933
2934
2935 macro_version='2.4.2'
2936 macro_revision='1.3337'
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950 ltmain="$ac_aux_dir/ltmain.sh"
2951
2952 # Make sure we can run config.sub.
2953 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2954   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2955
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2957 $as_echo_n "checking build system type... " >&6; }
2958 if ${ac_cv_build+:} false; then :
2959   $as_echo_n "(cached) " >&6
2960 else
2961   ac_build_alias=$build_alias
2962 test "x$ac_build_alias" = x &&
2963   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2964 test "x$ac_build_alias" = x &&
2965   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2966 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2967   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2968
2969 fi
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2971 $as_echo "$ac_cv_build" >&6; }
2972 case $ac_cv_build in
2973 *-*-*) ;;
2974 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2975 esac
2976 build=$ac_cv_build
2977 ac_save_IFS=$IFS; IFS='-'
2978 set x $ac_cv_build
2979 shift
2980 build_cpu=$1
2981 build_vendor=$2
2982 shift; shift
2983 # Remember, the first character of IFS is used to create $*,
2984 # except with old shells:
2985 build_os=$*
2986 IFS=$ac_save_IFS
2987 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2988
2989
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2991 $as_echo_n "checking host system type... " >&6; }
2992 if ${ac_cv_host+:} false; then :
2993   $as_echo_n "(cached) " >&6
2994 else
2995   if test "x$host_alias" = x; then
2996   ac_cv_host=$ac_cv_build
2997 else
2998   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2999     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3000 fi
3001
3002 fi
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3004 $as_echo "$ac_cv_host" >&6; }
3005 case $ac_cv_host in
3006 *-*-*) ;;
3007 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3008 esac
3009 host=$ac_cv_host
3010 ac_save_IFS=$IFS; IFS='-'
3011 set x $ac_cv_host
3012 shift
3013 host_cpu=$1
3014 host_vendor=$2
3015 shift; shift
3016 # Remember, the first character of IFS is used to create $*,
3017 # except with old shells:
3018 host_os=$*
3019 IFS=$ac_save_IFS
3020 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3021
3022
3023 # Backslashify metacharacters that are still active within
3024 # double-quoted strings.
3025 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3026
3027 # Same as above, but do not quote variable references.
3028 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3029
3030 # Sed substitution to delay expansion of an escaped shell variable in a
3031 # double_quote_subst'ed string.
3032 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3033
3034 # Sed substitution to delay expansion of an escaped single quote.
3035 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3036
3037 # Sed substitution to avoid accidental globbing in evaled expressions
3038 no_glob_subst='s/\*/\\\*/g'
3039
3040 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3041 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3042 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3043
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3045 $as_echo_n "checking how to print strings... " >&6; }
3046 # Test print first, because it will be a builtin if present.
3047 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3048    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3049   ECHO='print -r --'
3050 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3051   ECHO='printf %s\n'
3052 else
3053   # Use this function as a fallback that always works.
3054   func_fallback_echo ()
3055   {
3056     eval 'cat <<_LTECHO_EOF
3057 $1
3058 _LTECHO_EOF'
3059   }
3060   ECHO='func_fallback_echo'
3061 fi
3062
3063 # func_echo_all arg...
3064 # Invoke $ECHO with all args, space-separated.
3065 func_echo_all ()
3066 {
3067     $ECHO ""
3068 }
3069
3070 case "$ECHO" in
3071   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3072 $as_echo "printf" >&6; } ;;
3073   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3074 $as_echo "print -r" >&6; } ;;
3075   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3076 $as_echo "cat" >&6; } ;;
3077 esac
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092 DEPDIR="${am__leading_dot}deps"
3093
3094 ac_config_commands="$ac_config_commands depfiles"
3095
3096
3097 am_make=${MAKE-make}
3098 cat > confinc << 'END'
3099 am__doit:
3100         @echo this is the am__doit target
3101 .PHONY: am__doit
3102 END
3103 # If we don't find an include directive, just comment out the code.
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3105 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3106 am__include="#"
3107 am__quote=
3108 _am_result=none
3109 # First try GNU make style include.
3110 echo "include confinc" > confmf
3111 # Ignore all kinds of additional output from `make'.
3112 case `$am_make -s -f confmf 2> /dev/null` in #(
3113 *the\ am__doit\ target*)
3114   am__include=include
3115   am__quote=
3116   _am_result=GNU
3117   ;;
3118 esac
3119 # Now try BSD make style include.
3120 if test "$am__include" = "#"; then
3121    echo '.include "confinc"' > confmf
3122    case `$am_make -s -f confmf 2> /dev/null` in #(
3123    *the\ am__doit\ target*)
3124      am__include=.include
3125      am__quote="\""
3126      _am_result=BSD
3127      ;;
3128    esac
3129 fi
3130
3131
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3133 $as_echo "$_am_result" >&6; }
3134 rm -f confinc confmf
3135
3136 # Check whether --enable-dependency-tracking was given.
3137 if test "${enable_dependency_tracking+set}" = set; then :
3138   enableval=$enable_dependency_tracking;
3139 fi
3140
3141 if test "x$enable_dependency_tracking" != xno; then
3142   am_depcomp="$ac_aux_dir/depcomp"
3143   AMDEPBACKSLASH='\'
3144   am__nodep='_no'
3145 fi
3146  if test "x$enable_dependency_tracking" != xno; then
3147   AMDEP_TRUE=
3148   AMDEP_FALSE='#'
3149 else
3150   AMDEP_TRUE='#'
3151   AMDEP_FALSE=
3152 fi
3153
3154
3155 ac_ext=c
3156 ac_cpp='$CPP $CPPFLAGS'
3157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3160 if test -n "$ac_tool_prefix"; then
3161   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3162 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3164 $as_echo_n "checking for $ac_word... " >&6; }
3165 if ${ac_cv_prog_CC+:} false; then :
3166   $as_echo_n "(cached) " >&6
3167 else
3168   if test -n "$CC"; then
3169   ac_cv_prog_CC="$CC" # Let the user override the test.
3170 else
3171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3172 for as_dir in $PATH
3173 do
3174   IFS=$as_save_IFS
3175   test -z "$as_dir" && as_dir=.
3176     for ac_exec_ext in '' $ac_executable_extensions; do
3177   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3178     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3179     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3180     break 2
3181   fi
3182 done
3183   done
3184 IFS=$as_save_IFS
3185
3186 fi
3187 fi
3188 CC=$ac_cv_prog_CC
3189 if test -n "$CC"; then
3190   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3191 $as_echo "$CC" >&6; }
3192 else
3193   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3194 $as_echo "no" >&6; }
3195 fi
3196
3197
3198 fi
3199 if test -z "$ac_cv_prog_CC"; then
3200   ac_ct_CC=$CC
3201   # Extract the first word of "gcc", so it can be a program name with args.
3202 set dummy gcc; ac_word=$2
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3204 $as_echo_n "checking for $ac_word... " >&6; }
3205 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3206   $as_echo_n "(cached) " >&6
3207 else
3208   if test -n "$ac_ct_CC"; then
3209   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3210 else
3211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3212 for as_dir in $PATH
3213 do
3214   IFS=$as_save_IFS
3215   test -z "$as_dir" && as_dir=.
3216     for ac_exec_ext in '' $ac_executable_extensions; do
3217   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3218     ac_cv_prog_ac_ct_CC="gcc"
3219     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3220     break 2
3221   fi
3222 done
3223   done
3224 IFS=$as_save_IFS
3225
3226 fi
3227 fi
3228 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3229 if test -n "$ac_ct_CC"; then
3230   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3231 $as_echo "$ac_ct_CC" >&6; }
3232 else
3233   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3234 $as_echo "no" >&6; }
3235 fi
3236
3237   if test "x$ac_ct_CC" = x; then
3238     CC=""
3239   else
3240     case $cross_compiling:$ac_tool_warned in
3241 yes:)
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3243 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3244 ac_tool_warned=yes ;;
3245 esac
3246     CC=$ac_ct_CC
3247   fi
3248 else
3249   CC="$ac_cv_prog_CC"
3250 fi
3251
3252 if test -z "$CC"; then
3253           if test -n "$ac_tool_prefix"; then
3254     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3255 set dummy ${ac_tool_prefix}cc; ac_word=$2
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3257 $as_echo_n "checking for $ac_word... " >&6; }
3258 if ${ac_cv_prog_CC+:} false; then :
3259   $as_echo_n "(cached) " >&6
3260 else
3261   if test -n "$CC"; then
3262   ac_cv_prog_CC="$CC" # Let the user override the test.
3263 else
3264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3265 for as_dir in $PATH
3266 do
3267   IFS=$as_save_IFS
3268   test -z "$as_dir" && as_dir=.
3269     for ac_exec_ext in '' $ac_executable_extensions; do
3270   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3271     ac_cv_prog_CC="${ac_tool_prefix}cc"
3272     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3273     break 2
3274   fi
3275 done
3276   done
3277 IFS=$as_save_IFS
3278
3279 fi
3280 fi
3281 CC=$ac_cv_prog_CC
3282 if test -n "$CC"; then
3283   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3284 $as_echo "$CC" >&6; }
3285 else
3286   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3287 $as_echo "no" >&6; }
3288 fi
3289
3290
3291   fi
3292 fi
3293 if test -z "$CC"; then
3294   # Extract the first word of "cc", so it can be a program name with args.
3295 set dummy cc; ac_word=$2
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3297 $as_echo_n "checking for $ac_word... " >&6; }
3298 if ${ac_cv_prog_CC+:} false; then :
3299   $as_echo_n "(cached) " >&6
3300 else
3301   if test -n "$CC"; then
3302   ac_cv_prog_CC="$CC" # Let the user override the test.
3303 else
3304   ac_prog_rejected=no
3305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3306 for as_dir in $PATH
3307 do
3308   IFS=$as_save_IFS
3309   test -z "$as_dir" && as_dir=.
3310     for ac_exec_ext in '' $ac_executable_extensions; do
3311   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3312     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3313        ac_prog_rejected=yes
3314        continue
3315      fi
3316     ac_cv_prog_CC="cc"
3317     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3318     break 2
3319   fi
3320 done
3321   done
3322 IFS=$as_save_IFS
3323
3324 if test $ac_prog_rejected = yes; then
3325   # We found a bogon in the path, so make sure we never use it.
3326   set dummy $ac_cv_prog_CC
3327   shift
3328   if test $# != 0; then
3329     # We chose a different compiler from the bogus one.
3330     # However, it has the same basename, so the bogon will be chosen
3331     # first if we set CC to just the basename; use the full file name.
3332     shift
3333     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3334   fi
3335 fi
3336 fi
3337 fi
3338 CC=$ac_cv_prog_CC
3339 if test -n "$CC"; then
3340   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3341 $as_echo "$CC" >&6; }
3342 else
3343   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3344 $as_echo "no" >&6; }
3345 fi
3346
3347
3348 fi
3349 if test -z "$CC"; then
3350   if test -n "$ac_tool_prefix"; then
3351   for ac_prog in cl.exe
3352   do
3353     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3354 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3356 $as_echo_n "checking for $ac_word... " >&6; }
3357 if ${ac_cv_prog_CC+:} false; then :
3358   $as_echo_n "(cached) " >&6
3359 else
3360   if test -n "$CC"; then
3361   ac_cv_prog_CC="$CC" # Let the user override the test.
3362 else
3363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3364 for as_dir in $PATH
3365 do
3366   IFS=$as_save_IFS
3367   test -z "$as_dir" && as_dir=.
3368     for ac_exec_ext in '' $ac_executable_extensions; do
3369   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3370     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3371     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3372     break 2
3373   fi
3374 done
3375   done
3376 IFS=$as_save_IFS
3377
3378 fi
3379 fi
3380 CC=$ac_cv_prog_CC
3381 if test -n "$CC"; then
3382   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3383 $as_echo "$CC" >&6; }
3384 else
3385   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3386 $as_echo "no" >&6; }
3387 fi
3388
3389
3390     test -n "$CC" && break
3391   done
3392 fi
3393 if test -z "$CC"; then
3394   ac_ct_CC=$CC
3395   for ac_prog in cl.exe
3396 do
3397   # Extract the first word of "$ac_prog", so it can be a program name with args.
3398 set dummy $ac_prog; ac_word=$2
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3400 $as_echo_n "checking for $ac_word... " >&6; }
3401 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3402   $as_echo_n "(cached) " >&6
3403 else
3404   if test -n "$ac_ct_CC"; then
3405   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3406 else
3407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3408 for as_dir in $PATH
3409 do
3410   IFS=$as_save_IFS
3411   test -z "$as_dir" && as_dir=.
3412     for ac_exec_ext in '' $ac_executable_extensions; do
3413   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3414     ac_cv_prog_ac_ct_CC="$ac_prog"
3415     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3416     break 2
3417   fi
3418 done
3419   done
3420 IFS=$as_save_IFS
3421
3422 fi
3423 fi
3424 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3425 if test -n "$ac_ct_CC"; then
3426   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3427 $as_echo "$ac_ct_CC" >&6; }
3428 else
3429   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3430 $as_echo "no" >&6; }
3431 fi
3432
3433
3434   test -n "$ac_ct_CC" && break
3435 done
3436
3437   if test "x$ac_ct_CC" = x; then
3438     CC=""
3439   else
3440     case $cross_compiling:$ac_tool_warned in
3441 yes:)
3442 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3443 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3444 ac_tool_warned=yes ;;
3445 esac
3446     CC=$ac_ct_CC
3447   fi
3448 fi
3449
3450 fi
3451
3452
3453 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3454 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3455 as_fn_error $? "no acceptable C compiler found in \$PATH
3456 See \`config.log' for more details" "$LINENO" 5; }
3457
3458 # Provide some information about the compiler.
3459 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3460 set X $ac_compile
3461 ac_compiler=$2
3462 for ac_option in --version -v -V -qversion; do
3463   { { ac_try="$ac_compiler $ac_option >&5"
3464 case "(($ac_try" in
3465   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3466   *) ac_try_echo=$ac_try;;
3467 esac
3468 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3469 $as_echo "$ac_try_echo"; } >&5
3470   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3471   ac_status=$?
3472   if test -s conftest.err; then
3473     sed '10a\
3474 ... rest of stderr output deleted ...
3475          10q' conftest.err >conftest.er1
3476     cat conftest.er1 >&5
3477   fi
3478   rm -f conftest.er1 conftest.err
3479   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3480   test $ac_status = 0; }
3481 done
3482
3483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3484 /* end confdefs.h.  */
3485
3486 int
3487 main ()
3488 {
3489
3490   ;
3491   return 0;
3492 }
3493 _ACEOF
3494 ac_clean_files_save=$ac_clean_files
3495 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3496 # Try to create an executable without -o first, disregard a.out.
3497 # It will help us diagnose broken compilers, and finding out an intuition
3498 # of exeext.
3499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3500 $as_echo_n "checking whether the C compiler works... " >&6; }
3501 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3502
3503 # The possible output files:
3504 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3505
3506 ac_rmfiles=
3507 for ac_file in $ac_files
3508 do
3509   case $ac_file in
3510     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3511     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3512   esac
3513 done
3514 rm -f $ac_rmfiles
3515
3516 if { { ac_try="$ac_link_default"
3517 case "(($ac_try" in
3518   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3519   *) ac_try_echo=$ac_try;;
3520 esac
3521 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3522 $as_echo "$ac_try_echo"; } >&5
3523   (eval "$ac_link_default") 2>&5
3524   ac_status=$?
3525   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3526   test $ac_status = 0; }; then :
3527   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3528 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3529 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3530 # so that the user can short-circuit this test for compilers unknown to
3531 # Autoconf.
3532 for ac_file in $ac_files ''
3533 do
3534   test -f "$ac_file" || continue
3535   case $ac_file in
3536     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3537         ;;
3538     [ab].out )
3539         # We found the default executable, but exeext='' is most
3540         # certainly right.
3541         break;;
3542     *.* )
3543         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3544         then :; else
3545            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3546         fi
3547         # We set ac_cv_exeext here because the later test for it is not
3548         # safe: cross compilers may not add the suffix if given an `-o'
3549         # argument, so we may need to know it at that point already.
3550         # Even if this section looks crufty: it has the advantage of
3551         # actually working.
3552         break;;
3553     * )
3554         break;;
3555   esac
3556 done
3557 test "$ac_cv_exeext" = no && ac_cv_exeext=
3558
3559 else
3560   ac_file=''
3561 fi
3562 if test -z "$ac_file"; then :
3563   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3564 $as_echo "no" >&6; }
3565 $as_echo "$as_me: failed program was:" >&5
3566 sed 's/^/| /' conftest.$ac_ext >&5
3567
3568 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3569 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3570 as_fn_error 77 "C compiler cannot create executables
3571 See \`config.log' for more details" "$LINENO" 5; }
3572 else
3573   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3574 $as_echo "yes" >&6; }
3575 fi
3576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3577 $as_echo_n "checking for C compiler default output file name... " >&6; }
3578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3579 $as_echo "$ac_file" >&6; }
3580 ac_exeext=$ac_cv_exeext
3581
3582 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3583 ac_clean_files=$ac_clean_files_save
3584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3585 $as_echo_n "checking for suffix of executables... " >&6; }
3586 if { { ac_try="$ac_link"
3587 case "(($ac_try" in
3588   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3589   *) ac_try_echo=$ac_try;;
3590 esac
3591 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3592 $as_echo "$ac_try_echo"; } >&5
3593   (eval "$ac_link") 2>&5
3594   ac_status=$?
3595   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3596   test $ac_status = 0; }; then :
3597   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3598 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3599 # work properly (i.e., refer to `conftest.exe'), while it won't with
3600 # `rm'.
3601 for ac_file in conftest.exe conftest conftest.*; do
3602   test -f "$ac_file" || continue
3603   case $ac_file in
3604     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3605     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3606           break;;
3607     * ) break;;
3608   esac
3609 done
3610 else
3611   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3612 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3613 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3614 See \`config.log' for more details" "$LINENO" 5; }
3615 fi
3616 rm -f conftest conftest$ac_cv_exeext
3617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3618 $as_echo "$ac_cv_exeext" >&6; }
3619
3620 rm -f conftest.$ac_ext
3621 EXEEXT=$ac_cv_exeext
3622 ac_exeext=$EXEEXT
3623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3624 /* end confdefs.h.  */
3625 #include <stdio.h>
3626 int
3627 main ()
3628 {
3629 FILE *f = fopen ("conftest.out", "w");
3630  return ferror (f) || fclose (f) != 0;
3631
3632   ;
3633   return 0;
3634 }
3635 _ACEOF
3636 ac_clean_files="$ac_clean_files conftest.out"
3637 # Check that the compiler produces executables we can run.  If not, either
3638 # the compiler is broken, or we cross compile.
3639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3640 $as_echo_n "checking whether we are cross compiling... " >&6; }
3641 if test "$cross_compiling" != yes; then
3642   { { ac_try="$ac_link"
3643 case "(($ac_try" in
3644   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3645   *) ac_try_echo=$ac_try;;
3646 esac
3647 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3648 $as_echo "$ac_try_echo"; } >&5
3649   (eval "$ac_link") 2>&5
3650   ac_status=$?
3651   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3652   test $ac_status = 0; }
3653   if { ac_try='./conftest$ac_cv_exeext'
3654   { { case "(($ac_try" in
3655   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3656   *) ac_try_echo=$ac_try;;
3657 esac
3658 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3659 $as_echo "$ac_try_echo"; } >&5
3660   (eval "$ac_try") 2>&5
3661   ac_status=$?
3662   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3663   test $ac_status = 0; }; }; then
3664     cross_compiling=no
3665   else
3666     if test "$cross_compiling" = maybe; then
3667         cross_compiling=yes
3668     else
3669         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3670 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3671 as_fn_error $? "cannot run C compiled programs.
3672 If you meant to cross compile, use \`--host'.
3673 See \`config.log' for more details" "$LINENO" 5; }
3674     fi
3675   fi
3676 fi
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3678 $as_echo "$cross_compiling" >&6; }
3679
3680 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3681 ac_clean_files=$ac_clean_files_save
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3683 $as_echo_n "checking for suffix of object files... " >&6; }
3684 if ${ac_cv_objext+:} false; then :
3685   $as_echo_n "(cached) " >&6
3686 else
3687   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3688 /* end confdefs.h.  */
3689
3690 int
3691 main ()
3692 {
3693
3694   ;
3695   return 0;
3696 }
3697 _ACEOF
3698 rm -f conftest.o conftest.obj
3699 if { { ac_try="$ac_compile"
3700 case "(($ac_try" in
3701   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3702   *) ac_try_echo=$ac_try;;
3703 esac
3704 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3705 $as_echo "$ac_try_echo"; } >&5
3706   (eval "$ac_compile") 2>&5
3707   ac_status=$?
3708   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3709   test $ac_status = 0; }; then :
3710   for ac_file in conftest.o conftest.obj conftest.*; do
3711   test -f "$ac_file" || continue;
3712   case $ac_file in
3713     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3714     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3715        break;;
3716   esac
3717 done
3718 else
3719   $as_echo "$as_me: failed program was:" >&5
3720 sed 's/^/| /' conftest.$ac_ext >&5
3721
3722 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3723 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3724 as_fn_error $? "cannot compute suffix of object files: cannot compile
3725 See \`config.log' for more details" "$LINENO" 5; }
3726 fi
3727 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3728 fi
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3730 $as_echo "$ac_cv_objext" >&6; }
3731 OBJEXT=$ac_cv_objext
3732 ac_objext=$OBJEXT
3733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3734 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3735 if ${ac_cv_c_compiler_gnu+:} false; then :
3736   $as_echo_n "(cached) " >&6
3737 else
3738   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3739 /* end confdefs.h.  */
3740
3741 int
3742 main ()
3743 {
3744 #ifndef __GNUC__
3745        choke me
3746 #endif
3747
3748   ;
3749   return 0;
3750 }
3751 _ACEOF
3752 if ac_fn_c_try_compile "$LINENO"; then :
3753   ac_compiler_gnu=yes
3754 else
3755   ac_compiler_gnu=no
3756 fi
3757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3758 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3759
3760 fi
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3762 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3763 if test $ac_compiler_gnu = yes; then
3764   GCC=yes
3765 else
3766   GCC=
3767 fi
3768 ac_test_CFLAGS=${CFLAGS+set}
3769 ac_save_CFLAGS=$CFLAGS
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3771 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3772 if ${ac_cv_prog_cc_g+:} false; then :
3773   $as_echo_n "(cached) " >&6
3774 else
3775   ac_save_c_werror_flag=$ac_c_werror_flag
3776    ac_c_werror_flag=yes
3777    ac_cv_prog_cc_g=no
3778    CFLAGS="-g"
3779    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3780 /* end confdefs.h.  */
3781
3782 int
3783 main ()
3784 {
3785
3786   ;
3787   return 0;
3788 }
3789 _ACEOF
3790 if ac_fn_c_try_compile "$LINENO"; then :
3791   ac_cv_prog_cc_g=yes
3792 else
3793   CFLAGS=""
3794       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3795 /* end confdefs.h.  */
3796
3797 int
3798 main ()
3799 {
3800
3801   ;
3802   return 0;
3803 }
3804 _ACEOF
3805 if ac_fn_c_try_compile "$LINENO"; then :
3806
3807 else
3808   ac_c_werror_flag=$ac_save_c_werror_flag
3809          CFLAGS="-g"
3810          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3811 /* end confdefs.h.  */
3812
3813 int
3814 main ()
3815 {
3816
3817   ;
3818   return 0;
3819 }
3820 _ACEOF
3821 if ac_fn_c_try_compile "$LINENO"; then :
3822   ac_cv_prog_cc_g=yes
3823 fi
3824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3825 fi
3826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3827 fi
3828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3829    ac_c_werror_flag=$ac_save_c_werror_flag
3830 fi
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3832 $as_echo "$ac_cv_prog_cc_g" >&6; }
3833 if test "$ac_test_CFLAGS" = set; then
3834   CFLAGS=$ac_save_CFLAGS
3835 elif test $ac_cv_prog_cc_g = yes; then
3836   if test "$GCC" = yes; then
3837     CFLAGS="-g -O2"
3838   else
3839     CFLAGS="-g"
3840   fi
3841 else
3842   if test "$GCC" = yes; then
3843     CFLAGS="-O2"
3844   else
3845     CFLAGS=
3846   fi
3847 fi
3848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3849 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3850 if ${ac_cv_prog_cc_c89+:} false; then :
3851   $as_echo_n "(cached) " >&6
3852 else
3853   ac_cv_prog_cc_c89=no
3854 ac_save_CC=$CC
3855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3856 /* end confdefs.h.  */
3857 #include <stdarg.h>
3858 #include <stdio.h>
3859 #include <sys/types.h>
3860 #include <sys/stat.h>
3861 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3862 struct buf { int x; };
3863 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3864 static char *e (p, i)
3865      char **p;
3866      int i;
3867 {
3868   return p[i];
3869 }
3870 static char *f (char * (*g) (char **, int), char **p, ...)
3871 {
3872   char *s;
3873   va_list v;
3874   va_start (v,p);
3875   s = g (p, va_arg (v,int));
3876   va_end (v);
3877   return s;
3878 }
3879
3880 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3881    function prototypes and stuff, but not '\xHH' hex character constants.
3882    These don't provoke an error unfortunately, instead are silently treated
3883    as 'x'.  The following induces an error, until -std is added to get
3884    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3885    array size at least.  It's necessary to write '\x00'==0 to get something
3886    that's true only with -std.  */
3887 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3888
3889 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3890    inside strings and character constants.  */
3891 #define FOO(x) 'x'
3892 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3893
3894 int test (int i, double x);
3895 struct s1 {int (*f) (int a);};
3896 struct s2 {int (*f) (double a);};
3897 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3898 int argc;
3899 char **argv;
3900 int
3901 main ()
3902 {
3903 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3904   ;
3905   return 0;
3906 }
3907 _ACEOF
3908 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3909         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3910 do
3911   CC="$ac_save_CC $ac_arg"
3912   if ac_fn_c_try_compile "$LINENO"; then :
3913   ac_cv_prog_cc_c89=$ac_arg
3914 fi
3915 rm -f core conftest.err conftest.$ac_objext
3916   test "x$ac_cv_prog_cc_c89" != "xno" && break
3917 done
3918 rm -f conftest.$ac_ext
3919 CC=$ac_save_CC
3920
3921 fi
3922 # AC_CACHE_VAL
3923 case "x$ac_cv_prog_cc_c89" in
3924   x)
3925     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3926 $as_echo "none needed" >&6; } ;;
3927   xno)
3928     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3929 $as_echo "unsupported" >&6; } ;;
3930   *)
3931     CC="$CC $ac_cv_prog_cc_c89"
3932     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3933 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3934 esac
3935 if test "x$ac_cv_prog_cc_c89" != xno; then :
3936
3937 fi
3938
3939 ac_ext=c
3940 ac_cpp='$CPP $CPPFLAGS'
3941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3944
3945 depcc="$CC"   am_compiler_list=
3946
3947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3948 $as_echo_n "checking dependency style of $depcc... " >&6; }
3949 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3950   $as_echo_n "(cached) " >&6
3951 else
3952   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3953   # We make a subdir and do the tests there.  Otherwise we can end up
3954   # making bogus files that we don't know about and never remove.  For
3955   # instance it was reported that on HP-UX the gcc test will end up
3956   # making a dummy file named `D' -- because `-MD' means `put the output
3957   # in D'.
3958   rm -rf conftest.dir
3959   mkdir conftest.dir
3960   # Copy depcomp to subdir because otherwise we won't find it if we're
3961   # using a relative directory.
3962   cp "$am_depcomp" conftest.dir
3963   cd conftest.dir
3964   # We will build objects and dependencies in a subdirectory because
3965   # it helps to detect inapplicable dependency modes.  For instance
3966   # both Tru64's cc and ICC support -MD to output dependencies as a
3967   # side effect of compilation, but ICC will put the dependencies in
3968   # the current directory while Tru64 will put them in the object
3969   # directory.
3970   mkdir sub
3971
3972   am_cv_CC_dependencies_compiler_type=none
3973   if test "$am_compiler_list" = ""; then
3974      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3975   fi
3976   am__universal=false
3977   case " $depcc " in #(
3978      *\ -arch\ *\ -arch\ *) am__universal=true ;;
3979      esac
3980
3981   for depmode in $am_compiler_list; do
3982     # Setup a source with many dependencies, because some compilers
3983     # like to wrap large dependency lists on column 80 (with \), and
3984     # we should not choose a depcomp mode which is confused by this.
3985     #
3986     # We need to recreate these files for each test, as the compiler may
3987     # overwrite some of them when testing with obscure command lines.
3988     # This happens at least with the AIX C compiler.
3989     : > sub/conftest.c
3990     for i in 1 2 3 4 5 6; do
3991       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3992       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3993       # Solaris 8's {/usr,}/bin/sh.
3994       touch sub/conftst$i.h
3995     done
3996     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3997
3998     # We check with `-c' and `-o' for the sake of the "dashmstdout"
3999     # mode.  It turns out that the SunPro C++ compiler does not properly
4000     # handle `-M -o', and we need to detect this.  Also, some Intel
4001     # versions had trouble with output in subdirs
4002     am__obj=sub/conftest.${OBJEXT-o}
4003     am__minus_obj="-o $am__obj"
4004     case $depmode in
4005     gcc)
4006       # This depmode causes a compiler race in universal mode.
4007       test "$am__universal" = false || continue
4008       ;;
4009     nosideeffect)
4010       # after this tag, mechanisms are not by side-effect, so they'll
4011       # only be used when explicitly requested
4012       if test "x$enable_dependency_tracking" = xyes; then
4013         continue
4014       else
4015         break
4016       fi
4017       ;;
4018     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4019       # This compiler won't grok `-c -o', but also, the minuso test has
4020       # not run yet.  These depmodes are late enough in the game, and
4021       # so weak that their functioning should not be impacted.
4022       am__obj=conftest.${OBJEXT-o}
4023       am__minus_obj=
4024       ;;
4025     none) break ;;
4026     esac
4027     if depmode=$depmode \
4028        source=sub/conftest.c object=$am__obj \
4029        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4030        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4031          >/dev/null 2>conftest.err &&
4032        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4033        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4034        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4035        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4036       # icc doesn't choke on unknown options, it will just issue warnings
4037       # or remarks (even with -Werror).  So we grep stderr for any message
4038       # that says an option was ignored or not supported.
4039       # When given -MP, icc 7.0 and 7.1 complain thusly:
4040       #   icc: Command line warning: ignoring option '-M'; no argument required
4041       # The diagnosis changed in icc 8.0:
4042       #   icc: Command line remark: option '-MP' not supported
4043       if (grep 'ignoring option' conftest.err ||
4044           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4045         am_cv_CC_dependencies_compiler_type=$depmode
4046         break
4047       fi
4048     fi
4049   done
4050
4051   cd ..
4052   rm -rf conftest.dir
4053 else
4054   am_cv_CC_dependencies_compiler_type=none
4055 fi
4056
4057 fi
4058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4059 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4060 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4061
4062  if
4063   test "x$enable_dependency_tracking" != xno \
4064   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4065   am__fastdepCC_TRUE=
4066   am__fastdepCC_FALSE='#'
4067 else
4068   am__fastdepCC_TRUE='#'
4069   am__fastdepCC_FALSE=
4070 fi
4071
4072
4073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4074 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4075 if ${ac_cv_path_SED+:} false; then :
4076   $as_echo_n "(cached) " >&6
4077 else
4078             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4079      for ac_i in 1 2 3 4 5 6 7; do
4080        ac_script="$ac_script$as_nl$ac_script"
4081      done
4082      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4083      { ac_script=; unset ac_script;}
4084      if test -z "$SED"; then
4085   ac_path_SED_found=false
4086   # Loop through the user's path and test for each of PROGNAME-LIST
4087   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4088 for as_dir in $PATH
4089 do
4090   IFS=$as_save_IFS
4091   test -z "$as_dir" && as_dir=.
4092     for ac_prog in sed gsed; do
4093     for ac_exec_ext in '' $ac_executable_extensions; do
4094       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4095       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4096 # Check for GNU ac_path_SED and select it if it is found.
4097   # Check for GNU $ac_path_SED
4098 case `"$ac_path_SED" --version 2>&1` in
4099 *GNU*)
4100   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4101 *)
4102   ac_count=0
4103   $as_echo_n 0123456789 >"conftest.in"
4104   while :
4105   do
4106     cat "conftest.in" "conftest.in" >"conftest.tmp"
4107     mv "conftest.tmp" "conftest.in"
4108     cp "conftest.in" "conftest.nl"
4109     $as_echo '' >> "conftest.nl"
4110     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4111     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4112     as_fn_arith $ac_count + 1 && ac_count=$as_val
4113     if test $ac_count -gt ${ac_path_SED_max-0}; then
4114       # Best one so far, save it but keep looking for a better one
4115       ac_cv_path_SED="$ac_path_SED"
4116       ac_path_SED_max=$ac_count
4117     fi
4118     # 10*(2^10) chars as input seems more than enough
4119     test $ac_count -gt 10 && break
4120   done
4121   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4122 esac
4123
4124       $ac_path_SED_found && break 3
4125     done
4126   done
4127   done
4128 IFS=$as_save_IFS
4129   if test -z "$ac_cv_path_SED"; then
4130     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4131   fi
4132 else
4133   ac_cv_path_SED=$SED
4134 fi
4135
4136 fi
4137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4138 $as_echo "$ac_cv_path_SED" >&6; }
4139  SED="$ac_cv_path_SED"
4140   rm -f conftest.sed
4141
4142 test -z "$SED" && SED=sed
4143 Xsed="$SED -e 1s/^X//"
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4156 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4157 if ${ac_cv_path_GREP+:} false; then :
4158   $as_echo_n "(cached) " >&6
4159 else
4160   if test -z "$GREP"; then
4161   ac_path_GREP_found=false
4162   # Loop through the user's path and test for each of PROGNAME-LIST
4163   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4164 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4165 do
4166   IFS=$as_save_IFS
4167   test -z "$as_dir" && as_dir=.
4168     for ac_prog in grep ggrep; do
4169     for ac_exec_ext in '' $ac_executable_extensions; do
4170       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4171       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4172 # Check for GNU ac_path_GREP and select it if it is found.
4173   # Check for GNU $ac_path_GREP
4174 case `"$ac_path_GREP" --version 2>&1` in
4175 *GNU*)
4176   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4177 *)
4178   ac_count=0
4179   $as_echo_n 0123456789 >"conftest.in"
4180   while :
4181   do
4182     cat "conftest.in" "conftest.in" >"conftest.tmp"
4183     mv "conftest.tmp" "conftest.in"
4184     cp "conftest.in" "conftest.nl"
4185     $as_echo 'GREP' >> "conftest.nl"
4186     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4187     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4188     as_fn_arith $ac_count + 1 && ac_count=$as_val
4189     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4190       # Best one so far, save it but keep looking for a better one
4191       ac_cv_path_GREP="$ac_path_GREP"
4192       ac_path_GREP_max=$ac_count
4193     fi
4194     # 10*(2^10) chars as input seems more than enough
4195     test $ac_count -gt 10 && break
4196   done
4197   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4198 esac
4199
4200       $ac_path_GREP_found && break 3
4201     done
4202   done
4203   done
4204 IFS=$as_save_IFS
4205   if test -z "$ac_cv_path_GREP"; then
4206     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4207   fi
4208 else
4209   ac_cv_path_GREP=$GREP
4210 fi
4211
4212 fi
4213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4214 $as_echo "$ac_cv_path_GREP" >&6; }
4215  GREP="$ac_cv_path_GREP"
4216
4217
4218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4219 $as_echo_n "checking for egrep... " >&6; }
4220 if ${ac_cv_path_EGREP+:} false; then :
4221   $as_echo_n "(cached) " >&6
4222 else
4223   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4224    then ac_cv_path_EGREP="$GREP -E"
4225    else
4226      if test -z "$EGREP"; then
4227   ac_path_EGREP_found=false
4228   # Loop through the user's path and test for each of PROGNAME-LIST
4229   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4230 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4231 do
4232   IFS=$as_save_IFS
4233   test -z "$as_dir" && as_dir=.
4234     for ac_prog in egrep; do
4235     for ac_exec_ext in '' $ac_executable_extensions; do
4236       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4237       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4238 # Check for GNU ac_path_EGREP and select it if it is found.
4239   # Check for GNU $ac_path_EGREP
4240 case `"$ac_path_EGREP" --version 2>&1` in
4241 *GNU*)
4242   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4243 *)
4244   ac_count=0
4245   $as_echo_n 0123456789 >"conftest.in"
4246   while :
4247   do
4248     cat "conftest.in" "conftest.in" >"conftest.tmp"
4249     mv "conftest.tmp" "conftest.in"
4250     cp "conftest.in" "conftest.nl"
4251     $as_echo 'EGREP' >> "conftest.nl"
4252     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4253     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4254     as_fn_arith $ac_count + 1 && ac_count=$as_val
4255     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4256       # Best one so far, save it but keep looking for a better one
4257       ac_cv_path_EGREP="$ac_path_EGREP"
4258       ac_path_EGREP_max=$ac_count
4259     fi
4260     # 10*(2^10) chars as input seems more than enough
4261     test $ac_count -gt 10 && break
4262   done
4263   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4264 esac
4265
4266       $ac_path_EGREP_found && break 3
4267     done
4268   done
4269   done
4270 IFS=$as_save_IFS
4271   if test -z "$ac_cv_path_EGREP"; then
4272     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4273   fi
4274 else
4275   ac_cv_path_EGREP=$EGREP
4276 fi
4277
4278    fi
4279 fi
4280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4281 $as_echo "$ac_cv_path_EGREP" >&6; }
4282  EGREP="$ac_cv_path_EGREP"
4283
4284
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4286 $as_echo_n "checking for fgrep... " >&6; }
4287 if ${ac_cv_path_FGREP+:} false; then :
4288   $as_echo_n "(cached) " >&6
4289 else
4290   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4291    then ac_cv_path_FGREP="$GREP -F"
4292    else
4293      if test -z "$FGREP"; then
4294   ac_path_FGREP_found=false
4295   # Loop through the user's path and test for each of PROGNAME-LIST
4296   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4297 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4298 do
4299   IFS=$as_save_IFS
4300   test -z "$as_dir" && as_dir=.
4301     for ac_prog in fgrep; do
4302     for ac_exec_ext in '' $ac_executable_extensions; do
4303       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4304       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4305 # Check for GNU ac_path_FGREP and select it if it is found.
4306   # Check for GNU $ac_path_FGREP
4307 case `"$ac_path_FGREP" --version 2>&1` in
4308 *GNU*)
4309   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4310 *)
4311   ac_count=0
4312   $as_echo_n 0123456789 >"conftest.in"
4313   while :
4314   do
4315     cat "conftest.in" "conftest.in" >"conftest.tmp"
4316     mv "conftest.tmp" "conftest.in"
4317     cp "conftest.in" "conftest.nl"
4318     $as_echo 'FGREP' >> "conftest.nl"
4319     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4320     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4321     as_fn_arith $ac_count + 1 && ac_count=$as_val
4322     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4323       # Best one so far, save it but keep looking for a better one
4324       ac_cv_path_FGREP="$ac_path_FGREP"
4325       ac_path_FGREP_max=$ac_count
4326     fi
4327     # 10*(2^10) chars as input seems more than enough
4328     test $ac_count -gt 10 && break
4329   done
4330   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4331 esac
4332
4333       $ac_path_FGREP_found && break 3
4334     done
4335   done
4336   done
4337 IFS=$as_save_IFS
4338   if test -z "$ac_cv_path_FGREP"; then
4339     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4340   fi
4341 else
4342   ac_cv_path_FGREP=$FGREP
4343 fi
4344
4345    fi
4346 fi
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4348 $as_echo "$ac_cv_path_FGREP" >&6; }
4349  FGREP="$ac_cv_path_FGREP"
4350
4351
4352 test -z "$GREP" && GREP=grep
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372 # Check whether --with-gnu-ld was given.
4373 if test "${with_gnu_ld+set}" = set; then :
4374   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4375 else
4376   with_gnu_ld=no
4377 fi
4378
4379 ac_prog=ld
4380 if test "$GCC" = yes; then
4381   # Check if gcc -print-prog-name=ld gives a path.
4382   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4383 $as_echo_n "checking for ld used by $CC... " >&6; }
4384   case $host in
4385   *-*-mingw*)
4386     # gcc leaves a trailing carriage return which upsets mingw
4387     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4388   *)
4389     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4390   esac
4391   case $ac_prog in
4392     # Accept absolute paths.
4393     [\\/]* | ?:[\\/]*)
4394       re_direlt='/[^/][^/]*/\.\./'
4395       # Canonicalize the pathname of ld
4396       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4397       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4398         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4399       done
4400       test -z "$LD" && LD="$ac_prog"
4401       ;;
4402   "")
4403     # If it fails, then pretend we aren't using GCC.
4404     ac_prog=ld
4405     ;;
4406   *)
4407     # If it is relative, then search for the first ld in PATH.
4408     with_gnu_ld=unknown
4409     ;;
4410   esac
4411 elif test "$with_gnu_ld" = yes; then
4412   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4413 $as_echo_n "checking for GNU ld... " >&6; }
4414 else
4415   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4416 $as_echo_n "checking for non-GNU ld... " >&6; }
4417 fi
4418 if ${lt_cv_path_LD+:} false; then :
4419   $as_echo_n "(cached) " >&6
4420 else
4421   if test -z "$LD"; then
4422   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4423   for ac_dir in $PATH; do
4424     IFS="$lt_save_ifs"
4425     test -z "$ac_dir" && ac_dir=.
4426     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4427       lt_cv_path_LD="$ac_dir/$ac_prog"
4428       # Check to see if the program is GNU ld.  I'd rather use --version,
4429       # but apparently some variants of GNU ld only accept -v.
4430       # Break only if it was the GNU/non-GNU ld that we prefer.
4431       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4432       *GNU* | *'with BFD'*)
4433         test "$with_gnu_ld" != no && break
4434         ;;
4435       *)
4436         test "$with_gnu_ld" != yes && break
4437         ;;
4438       esac
4439     fi
4440   done
4441   IFS="$lt_save_ifs"
4442 else
4443   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4444 fi
4445 fi
4446
4447 LD="$lt_cv_path_LD"
4448 if test -n "$LD"; then
4449   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4450 $as_echo "$LD" >&6; }
4451 else
4452   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4453 $as_echo "no" >&6; }
4454 fi
4455 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4457 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4458 if ${lt_cv_prog_gnu_ld+:} false; then :
4459   $as_echo_n "(cached) " >&6
4460 else
4461   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4462 case `$LD -v 2>&1 </dev/null` in
4463 *GNU* | *'with BFD'*)
4464   lt_cv_prog_gnu_ld=yes
4465   ;;
4466 *)
4467   lt_cv_prog_gnu_ld=no
4468   ;;
4469 esac
4470 fi
4471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4472 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4473 with_gnu_ld=$lt_cv_prog_gnu_ld
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4484 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4485 if ${lt_cv_path_NM+:} false; then :
4486   $as_echo_n "(cached) " >&6
4487 else
4488   if test -n "$NM"; then
4489   # Let the user override the test.
4490   lt_cv_path_NM="$NM"
4491 else
4492   lt_nm_to_check="${ac_tool_prefix}nm"
4493   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4494     lt_nm_to_check="$lt_nm_to_check nm"
4495   fi
4496   for lt_tmp_nm in $lt_nm_to_check; do
4497     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4498     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4499       IFS="$lt_save_ifs"
4500       test -z "$ac_dir" && ac_dir=.
4501       tmp_nm="$ac_dir/$lt_tmp_nm"
4502       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4503         # Check to see if the nm accepts a BSD-compat flag.
4504         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4505         #   nm: unknown option "B" ignored
4506         # Tru64's nm complains that /dev/null is an invalid object file
4507         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4508         */dev/null* | *'Invalid file or object type'*)
4509           lt_cv_path_NM="$tmp_nm -B"
4510           break
4511           ;;
4512         *)
4513           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4514           */dev/null*)
4515             lt_cv_path_NM="$tmp_nm -p"
4516             break
4517             ;;
4518           *)
4519             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4520             continue # so that we can try to find one that supports BSD flags
4521             ;;
4522           esac
4523           ;;
4524         esac
4525       fi
4526     done
4527     IFS="$lt_save_ifs"
4528   done
4529   : ${lt_cv_path_NM=no}
4530 fi
4531 fi
4532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4533 $as_echo "$lt_cv_path_NM" >&6; }
4534 if test "$lt_cv_path_NM" != "no"; then
4535   NM="$lt_cv_path_NM"
4536 else
4537   # Didn't find any BSD compatible name lister, look for dumpbin.
4538   if test -n "$DUMPBIN"; then :
4539     # Let the user override the test.
4540   else
4541     if test -n "$ac_tool_prefix"; then
4542   for ac_prog in dumpbin "link -dump"
4543   do
4544     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4545 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4547 $as_echo_n "checking for $ac_word... " >&6; }
4548 if ${ac_cv_prog_DUMPBIN+:} false; then :
4549   $as_echo_n "(cached) " >&6
4550 else
4551   if test -n "$DUMPBIN"; then
4552   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4553 else
4554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4555 for as_dir in $PATH
4556 do
4557   IFS=$as_save_IFS
4558   test -z "$as_dir" && as_dir=.
4559     for ac_exec_ext in '' $ac_executable_extensions; do
4560   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4561     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4562     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4563     break 2
4564   fi
4565 done
4566   done
4567 IFS=$as_save_IFS
4568
4569 fi
4570 fi
4571 DUMPBIN=$ac_cv_prog_DUMPBIN
4572 if test -n "$DUMPBIN"; then
4573   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4574 $as_echo "$DUMPBIN" >&6; }
4575 else
4576   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4577 $as_echo "no" >&6; }
4578 fi
4579
4580
4581     test -n "$DUMPBIN" && break
4582   done
4583 fi
4584 if test -z "$DUMPBIN"; then
4585   ac_ct_DUMPBIN=$DUMPBIN
4586   for ac_prog in dumpbin "link -dump"
4587 do
4588   # Extract the first word of "$ac_prog", so it can be a program name with args.
4589 set dummy $ac_prog; ac_word=$2
4590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4591 $as_echo_n "checking for $ac_word... " >&6; }
4592 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4593   $as_echo_n "(cached) " >&6
4594 else
4595   if test -n "$ac_ct_DUMPBIN"; then
4596   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4597 else
4598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4599 for as_dir in $PATH
4600 do
4601   IFS=$as_save_IFS
4602   test -z "$as_dir" && as_dir=.
4603     for ac_exec_ext in '' $ac_executable_extensions; do
4604   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4605     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4606     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4607     break 2
4608   fi
4609 done
4610   done
4611 IFS=$as_save_IFS
4612
4613 fi
4614 fi
4615 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4616 if test -n "$ac_ct_DUMPBIN"; then
4617   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4618 $as_echo "$ac_ct_DUMPBIN" >&6; }
4619 else
4620   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4621 $as_echo "no" >&6; }
4622 fi
4623
4624
4625   test -n "$ac_ct_DUMPBIN" && break
4626 done
4627
4628   if test "x$ac_ct_DUMPBIN" = x; then
4629     DUMPBIN=":"
4630   else
4631     case $cross_compiling:$ac_tool_warned in
4632 yes:)
4633 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4634 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4635 ac_tool_warned=yes ;;
4636 esac
4637     DUMPBIN=$ac_ct_DUMPBIN
4638   fi
4639 fi
4640
4641     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4642     *COFF*)
4643       DUMPBIN="$DUMPBIN -symbols"
4644       ;;
4645     *)
4646       DUMPBIN=:
4647       ;;
4648     esac
4649   fi
4650
4651   if test "$DUMPBIN" != ":"; then
4652     NM="$DUMPBIN"
4653   fi
4654 fi
4655 test -z "$NM" && NM=nm
4656
4657
4658
4659
4660
4661
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4663 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4664 if ${lt_cv_nm_interface+:} false; then :
4665   $as_echo_n "(cached) " >&6
4666 else
4667   lt_cv_nm_interface="BSD nm"
4668   echo "int some_variable = 0;" > conftest.$ac_ext
4669   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4670   (eval "$ac_compile" 2>conftest.err)
4671   cat conftest.err >&5
4672   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4673   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4674   cat conftest.err >&5
4675   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4676   cat conftest.out >&5
4677   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4678     lt_cv_nm_interface="MS dumpbin"
4679   fi
4680   rm -f conftest*
4681 fi
4682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4683 $as_echo "$lt_cv_nm_interface" >&6; }
4684
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4686 $as_echo_n "checking whether ln -s works... " >&6; }
4687 LN_S=$as_ln_s
4688 if test "$LN_S" = "ln -s"; then
4689   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4690 $as_echo "yes" >&6; }
4691 else
4692   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4693 $as_echo "no, using $LN_S" >&6; }
4694 fi
4695
4696 # find the maximum length of command line arguments
4697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4698 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4699 if ${lt_cv_sys_max_cmd_len+:} false; then :
4700   $as_echo_n "(cached) " >&6
4701 else
4702     i=0
4703   teststring="ABCD"
4704
4705   case $build_os in
4706   msdosdjgpp*)
4707     # On DJGPP, this test can blow up pretty badly due to problems in libc
4708     # (any single argument exceeding 2000 bytes causes a buffer overrun
4709     # during glob expansion).  Even if it were fixed, the result of this
4710     # check would be larger than it should be.
4711     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4712     ;;
4713
4714   gnu*)
4715     # Under GNU Hurd, this test is not required because there is
4716     # no limit to the length of command line arguments.
4717     # Libtool will interpret -1 as no limit whatsoever
4718     lt_cv_sys_max_cmd_len=-1;
4719     ;;
4720
4721   cygwin* | mingw* | cegcc*)
4722     # On Win9x/ME, this test blows up -- it succeeds, but takes
4723     # about 5 minutes as the teststring grows exponentially.
4724     # Worse, since 9x/ME are not pre-emptively multitasking,
4725     # you end up with a "frozen" computer, even though with patience
4726     # the test eventually succeeds (with a max line length of 256k).
4727     # Instead, let's just punt: use the minimum linelength reported by
4728     # all of the supported platforms: 8192 (on NT/2K/XP).
4729     lt_cv_sys_max_cmd_len=8192;
4730     ;;
4731
4732   mint*)
4733     # On MiNT this can take a long time and run out of memory.
4734     lt_cv_sys_max_cmd_len=8192;
4735     ;;
4736
4737   amigaos*)
4738     # On AmigaOS with pdksh, this test takes hours, literally.
4739     # So we just punt and use a minimum line length of 8192.
4740     lt_cv_sys_max_cmd_len=8192;
4741     ;;
4742
4743   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4744     # This has been around since 386BSD, at least.  Likely further.
4745     if test -x /sbin/sysctl; then
4746       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4747     elif test -x /usr/sbin/sysctl; then
4748       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4749     else
4750       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
4751     fi
4752     # And add a safety zone
4753     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4754     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4755     ;;
4756
4757   interix*)
4758     # We know the value 262144 and hardcode it with a safety zone (like BSD)
4759     lt_cv_sys_max_cmd_len=196608
4760     ;;
4761
4762   os2*)
4763     # The test takes a long time on OS/2.
4764     lt_cv_sys_max_cmd_len=8192
4765     ;;
4766
4767   osf*)
4768     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4769     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4770     # nice to cause kernel panics so lets avoid the loop below.
4771     # First set a reasonable default.
4772     lt_cv_sys_max_cmd_len=16384
4773     #
4774     if test -x /sbin/sysconfig; then
4775       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4776         *1*) lt_cv_sys_max_cmd_len=-1 ;;
4777       esac
4778     fi
4779     ;;
4780   sco3.2v5*)
4781     lt_cv_sys_max_cmd_len=102400
4782     ;;
4783   sysv5* | sco5v6* | sysv4.2uw2*)
4784     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4785     if test -n "$kargmax"; then
4786       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
4787     else
4788       lt_cv_sys_max_cmd_len=32768
4789     fi
4790     ;;
4791   *)
4792     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4793     if test -n "$lt_cv_sys_max_cmd_len"; then
4794       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4795       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4796     else
4797       # Make teststring a little bigger before we do anything with it.
4798       # a 1K string should be a reasonable start.
4799       for i in 1 2 3 4 5 6 7 8 ; do
4800         teststring=$teststring$teststring
4801       done
4802       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4803       # If test is not a shell built-in, we'll probably end up computing a
4804       # maximum length that is only half of the actual maximum length, but
4805       # we can't tell.
4806       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
4807                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4808               test $i != 17 # 1/2 MB should be enough
4809       do
4810         i=`expr $i + 1`
4811         teststring=$teststring$teststring
4812       done
4813       # Only check the string length outside the loop.
4814       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4815       teststring=
4816       # Add a significant safety factor because C++ compilers can tack on
4817       # massive amounts of additional arguments before passing them to the
4818       # linker.  It appears as though 1/2 is a usable value.
4819       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4820     fi
4821     ;;
4822   esac
4823
4824 fi
4825
4826 if test -n $lt_cv_sys_max_cmd_len ; then
4827   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4828 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4829 else
4830   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4831 $as_echo "none" >&6; }
4832 fi
4833 max_cmd_len=$lt_cv_sys_max_cmd_len
4834
4835
4836
4837
4838
4839
4840 : ${CP="cp -f"}
4841 : ${MV="mv -f"}
4842 : ${RM="rm -f"}
4843
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4845 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4846 # Try some XSI features
4847 xsi_shell=no
4848 ( _lt_dummy="a/b/c"
4849   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4850       = c,a/b,b/c, \
4851     && eval 'test $(( 1 + 1 )) -eq 2 \
4852     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4853   && xsi_shell=yes
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4855 $as_echo "$xsi_shell" >&6; }
4856
4857
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4859 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4860 lt_shell_append=no
4861 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4862     >/dev/null 2>&1 \
4863   && lt_shell_append=yes
4864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4865 $as_echo "$lt_shell_append" >&6; }
4866
4867
4868 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4869   lt_unset=unset
4870 else
4871   lt_unset=false
4872 fi
4873
4874
4875
4876
4877
4878 # test EBCDIC or ASCII
4879 case `echo X|tr X '\101'` in
4880  A) # ASCII based system
4881     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4882   lt_SP2NL='tr \040 \012'
4883   lt_NL2SP='tr \015\012 \040\040'
4884   ;;
4885  *) # EBCDIC based system
4886   lt_SP2NL='tr \100 \n'
4887   lt_NL2SP='tr \r\n \100\100'
4888   ;;
4889 esac
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4900 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4901 if ${lt_cv_to_host_file_cmd+:} false; then :
4902   $as_echo_n "(cached) " >&6
4903 else
4904   case $host in
4905   *-*-mingw* )
4906     case $build in
4907       *-*-mingw* ) # actually msys
4908         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4909         ;;
4910       *-*-cygwin* )
4911         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4912         ;;
4913       * ) # otherwise, assume *nix
4914         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4915         ;;
4916     esac
4917     ;;
4918   *-*-cygwin* )
4919     case $build in
4920       *-*-mingw* ) # actually msys
4921         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4922         ;;
4923       *-*-cygwin* )
4924         lt_cv_to_host_file_cmd=func_convert_file_noop
4925         ;;
4926       * ) # otherwise, assume *nix
4927         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4928         ;;
4929     esac
4930     ;;
4931   * ) # unhandled hosts (and "normal" native builds)
4932     lt_cv_to_host_file_cmd=func_convert_file_noop
4933     ;;
4934 esac
4935
4936 fi
4937
4938 to_host_file_cmd=$lt_cv_to_host_file_cmd
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4940 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
4941
4942
4943
4944
4945
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4947 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4948 if ${lt_cv_to_tool_file_cmd+:} false; then :
4949   $as_echo_n "(cached) " >&6
4950 else
4951   #assume ordinary cross tools, or native build.
4952 lt_cv_to_tool_file_cmd=func_convert_file_noop
4953 case $host in
4954   *-*-mingw* )
4955     case $build in
4956       *-*-mingw* ) # actually msys
4957         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
4958         ;;
4959     esac
4960     ;;
4961 esac
4962
4963 fi
4964
4965 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
4967 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4968
4969
4970
4971
4972
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4974 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4975 if ${lt_cv_ld_reload_flag+:} false; then :
4976   $as_echo_n "(cached) " >&6
4977 else
4978   lt_cv_ld_reload_flag='-r'
4979 fi
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4981 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4982 reload_flag=$lt_cv_ld_reload_flag
4983 case $reload_flag in
4984 "" | " "*) ;;
4985 *) reload_flag=" $reload_flag" ;;
4986 esac
4987 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4988 case $host_os in
4989   cygwin* | mingw* | pw32* | cegcc*)
4990     if test "$GCC" != yes; then
4991       reload_cmds=false
4992     fi
4993     ;;
4994   darwin*)
4995     if test "$GCC" = yes; then
4996       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4997     else
4998       reload_cmds='$LD$reload_flag -o $output$reload_objs'
4999     fi
5000     ;;
5001 esac
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011 if test -n "$ac_tool_prefix"; then
5012   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5013 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5015 $as_echo_n "checking for $ac_word... " >&6; }
5016 if ${ac_cv_prog_OBJDUMP+:} false; then :
5017   $as_echo_n "(cached) " >&6
5018 else
5019   if test -n "$OBJDUMP"; then
5020   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5021 else
5022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5023 for as_dir in $PATH
5024 do
5025   IFS=$as_save_IFS
5026   test -z "$as_dir" && as_dir=.
5027     for ac_exec_ext in '' $ac_executable_extensions; do
5028   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5029     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5030     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5031     break 2
5032   fi
5033 done
5034   done
5035 IFS=$as_save_IFS
5036
5037 fi
5038 fi
5039 OBJDUMP=$ac_cv_prog_OBJDUMP
5040 if test -n "$OBJDUMP"; then
5041   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5042 $as_echo "$OBJDUMP" >&6; }
5043 else
5044   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5045 $as_echo "no" >&6; }
5046 fi
5047
5048
5049 fi
5050 if test -z "$ac_cv_prog_OBJDUMP"; then
5051   ac_ct_OBJDUMP=$OBJDUMP
5052   # Extract the first word of "objdump", so it can be a program name with args.
5053 set dummy objdump; ac_word=$2
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5055 $as_echo_n "checking for $ac_word... " >&6; }
5056 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5057   $as_echo_n "(cached) " >&6
5058 else
5059   if test -n "$ac_ct_OBJDUMP"; then
5060   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5061 else
5062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5063 for as_dir in $PATH
5064 do
5065   IFS=$as_save_IFS
5066   test -z "$as_dir" && as_dir=.
5067     for ac_exec_ext in '' $ac_executable_extensions; do
5068   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5069     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5070     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5071     break 2
5072   fi
5073 done
5074   done
5075 IFS=$as_save_IFS
5076
5077 fi
5078 fi
5079 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5080 if test -n "$ac_ct_OBJDUMP"; then
5081   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5082 $as_echo "$ac_ct_OBJDUMP" >&6; }
5083 else
5084   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5085 $as_echo "no" >&6; }
5086 fi
5087
5088   if test "x$ac_ct_OBJDUMP" = x; then
5089     OBJDUMP="false"
5090   else
5091     case $cross_compiling:$ac_tool_warned in
5092 yes:)
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5094 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5095 ac_tool_warned=yes ;;
5096 esac
5097     OBJDUMP=$ac_ct_OBJDUMP
5098   fi
5099 else
5100   OBJDUMP="$ac_cv_prog_OBJDUMP"
5101 fi
5102
5103 test -z "$OBJDUMP" && OBJDUMP=objdump
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5114 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5115 if ${lt_cv_deplibs_check_method+:} false; then :
5116   $as_echo_n "(cached) " >&6
5117 else
5118   lt_cv_file_magic_cmd='$MAGIC_CMD'
5119 lt_cv_file_magic_test_file=
5120 lt_cv_deplibs_check_method='unknown'
5121 # Need to set the preceding variable on all platforms that support
5122 # interlibrary dependencies.
5123 # 'none' -- dependencies not supported.
5124 # `unknown' -- same as none, but documents that we really don't know.
5125 # 'pass_all' -- all dependencies passed with no checks.
5126 # 'test_compile' -- check by making test program.
5127 # 'file_magic [[regex]]' -- check by looking for files in library path
5128 # which responds to the $file_magic_cmd with a given extended regex.
5129 # If you have `file' or equivalent on your system and you're not sure
5130 # whether `pass_all' will *always* work, you probably want this one.
5131
5132 case $host_os in
5133 aix[4-9]*)
5134   lt_cv_deplibs_check_method=pass_all
5135   ;;
5136
5137 beos*)
5138   lt_cv_deplibs_check_method=pass_all
5139   ;;
5140
5141 bsdi[45]*)
5142   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5143   lt_cv_file_magic_cmd='/usr/bin/file -L'
5144   lt_cv_file_magic_test_file=/shlib/libc.so
5145   ;;
5146
5147 cygwin*)
5148   # func_win32_libid is a shell function defined in ltmain.sh
5149   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5150   lt_cv_file_magic_cmd='func_win32_libid'
5151   ;;
5152
5153 mingw* | pw32*)
5154   # Base MSYS/MinGW do not provide the 'file' command needed by
5155   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5156   # unless we find 'file', for example because we are cross-compiling.
5157   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5158   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5159     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5160     lt_cv_file_magic_cmd='func_win32_libid'
5161   else
5162     # Keep this pattern in sync with the one in func_win32_libid.
5163     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5164     lt_cv_file_magic_cmd='$OBJDUMP -f'
5165   fi
5166   ;;
5167
5168 cegcc*)
5169   # use the weaker test based on 'objdump'. See mingw*.
5170   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5171   lt_cv_file_magic_cmd='$OBJDUMP -f'
5172   ;;
5173
5174 darwin* | rhapsody*)
5175   lt_cv_deplibs_check_method=pass_all
5176   ;;
5177
5178 freebsd* | dragonfly*)
5179   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5180     case $host_cpu in
5181     i*86 )
5182       # Not sure whether the presence of OpenBSD here was a mistake.
5183       # Let's accept both of them until this is cleared up.
5184       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5185       lt_cv_file_magic_cmd=/usr/bin/file
5186       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5187       ;;
5188     esac
5189   else
5190     lt_cv_deplibs_check_method=pass_all
5191   fi
5192   ;;
5193
5194 gnu*)
5195   lt_cv_deplibs_check_method=pass_all
5196   ;;
5197
5198 haiku*)
5199   lt_cv_deplibs_check_method=pass_all
5200   ;;
5201
5202 hpux10.20* | hpux11*)
5203   lt_cv_file_magic_cmd=/usr/bin/file
5204   case $host_cpu in
5205   ia64*)
5206     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5207     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5208     ;;
5209   hppa*64*)
5210     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]'
5211     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5212     ;;
5213   *)
5214     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5215     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5216     ;;
5217   esac
5218   ;;
5219
5220 interix[3-9]*)
5221   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5222   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5223   ;;
5224
5225 irix5* | irix6* | nonstopux*)
5226   case $LD in
5227   *-32|*"-32 ") libmagic=32-bit;;
5228   *-n32|*"-n32 ") libmagic=N32;;
5229   *-64|*"-64 ") libmagic=64-bit;;
5230   *) libmagic=never-match;;
5231   esac
5232   lt_cv_deplibs_check_method=pass_all
5233   ;;
5234
5235 # This must be glibc/ELF.
5236 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5237   lt_cv_deplibs_check_method=pass_all
5238   ;;
5239
5240 netbsd* | netbsdelf*-gnu)
5241   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5242     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5243   else
5244     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5245   fi
5246   ;;
5247
5248 newos6*)
5249   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5250   lt_cv_file_magic_cmd=/usr/bin/file
5251   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5252   ;;
5253
5254 *nto* | *qnx*)
5255   lt_cv_deplibs_check_method=pass_all
5256   ;;
5257
5258 openbsd*)
5259   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5260     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5261   else
5262     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5263   fi
5264   ;;
5265
5266 osf3* | osf4* | osf5*)
5267   lt_cv_deplibs_check_method=pass_all
5268   ;;
5269
5270 rdos*)
5271   lt_cv_deplibs_check_method=pass_all
5272   ;;
5273
5274 solaris*)
5275   lt_cv_deplibs_check_method=pass_all
5276   ;;
5277
5278 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5279   lt_cv_deplibs_check_method=pass_all
5280   ;;
5281
5282 sysv4 | sysv4.3*)
5283   case $host_vendor in
5284   motorola)
5285     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]'
5286     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5287     ;;
5288   ncr)
5289     lt_cv_deplibs_check_method=pass_all
5290     ;;
5291   sequent)
5292     lt_cv_file_magic_cmd='/bin/file'
5293     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5294     ;;
5295   sni)
5296     lt_cv_file_magic_cmd='/bin/file'
5297     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5298     lt_cv_file_magic_test_file=/lib/libc.so
5299     ;;
5300   siemens)
5301     lt_cv_deplibs_check_method=pass_all
5302     ;;
5303   pc)
5304     lt_cv_deplibs_check_method=pass_all
5305     ;;
5306   esac
5307   ;;
5308
5309 tpf*)
5310   lt_cv_deplibs_check_method=pass_all
5311   ;;
5312 esac
5313
5314 fi
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5316 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5317
5318 file_magic_glob=
5319 want_nocaseglob=no
5320 if test "$build" = "$host"; then
5321   case $host_os in
5322   mingw* | pw32*)
5323     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5324       want_nocaseglob=yes
5325     else
5326       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5327     fi
5328     ;;
5329   esac
5330 fi
5331
5332 file_magic_cmd=$lt_cv_file_magic_cmd
5333 deplibs_check_method=$lt_cv_deplibs_check_method
5334 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357 if test -n "$ac_tool_prefix"; then
5358   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5359 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5361 $as_echo_n "checking for $ac_word... " >&6; }
5362 if ${ac_cv_prog_DLLTOOL+:} false; then :
5363   $as_echo_n "(cached) " >&6
5364 else
5365   if test -n "$DLLTOOL"; then
5366   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5367 else
5368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5369 for as_dir in $PATH
5370 do
5371   IFS=$as_save_IFS
5372   test -z "$as_dir" && as_dir=.
5373     for ac_exec_ext in '' $ac_executable_extensions; do
5374   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5375     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5376     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5377     break 2
5378   fi
5379 done
5380   done
5381 IFS=$as_save_IFS
5382
5383 fi
5384 fi
5385 DLLTOOL=$ac_cv_prog_DLLTOOL
5386 if test -n "$DLLTOOL"; then
5387   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5388 $as_echo "$DLLTOOL" >&6; }
5389 else
5390   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5391 $as_echo "no" >&6; }
5392 fi
5393
5394
5395 fi
5396 if test -z "$ac_cv_prog_DLLTOOL"; then
5397   ac_ct_DLLTOOL=$DLLTOOL
5398   # Extract the first word of "dlltool", so it can be a program name with args.
5399 set dummy dlltool; ac_word=$2
5400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5401 $as_echo_n "checking for $ac_word... " >&6; }
5402 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5403   $as_echo_n "(cached) " >&6
5404 else
5405   if test -n "$ac_ct_DLLTOOL"; then
5406   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5407 else
5408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5409 for as_dir in $PATH
5410 do
5411   IFS=$as_save_IFS
5412   test -z "$as_dir" && as_dir=.
5413     for ac_exec_ext in '' $ac_executable_extensions; do
5414   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5415     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5416     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5417     break 2
5418   fi
5419 done
5420   done
5421 IFS=$as_save_IFS
5422
5423 fi
5424 fi
5425 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5426 if test -n "$ac_ct_DLLTOOL"; then
5427   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5428 $as_echo "$ac_ct_DLLTOOL" >&6; }
5429 else
5430   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5431 $as_echo "no" >&6; }
5432 fi
5433
5434   if test "x$ac_ct_DLLTOOL" = x; then
5435     DLLTOOL="false"
5436   else
5437     case $cross_compiling:$ac_tool_warned in
5438 yes:)
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5440 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5441 ac_tool_warned=yes ;;
5442 esac
5443     DLLTOOL=$ac_ct_DLLTOOL
5444   fi
5445 else
5446   DLLTOOL="$ac_cv_prog_DLLTOOL"
5447 fi
5448
5449 test -z "$DLLTOOL" && DLLTOOL=dlltool
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5461 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5462 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5463   $as_echo_n "(cached) " >&6
5464 else
5465   lt_cv_sharedlib_from_linklib_cmd='unknown'
5466
5467 case $host_os in
5468 cygwin* | mingw* | pw32* | cegcc*)
5469   # two different shell functions defined in ltmain.sh
5470   # decide which to use based on capabilities of $DLLTOOL
5471   case `$DLLTOOL --help 2>&1` in
5472   *--identify-strict*)
5473     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5474     ;;
5475   *)
5476     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5477     ;;
5478   esac
5479   ;;
5480 *)
5481   # fallback: assume linklib IS sharedlib
5482   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5483   ;;
5484 esac
5485
5486 fi
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5488 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5489 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5490 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5491
5492
5493
5494
5495
5496
5497
5498
5499 if test -n "$ac_tool_prefix"; then
5500   for ac_prog in ar
5501   do
5502     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5503 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5505 $as_echo_n "checking for $ac_word... " >&6; }
5506 if ${ac_cv_prog_AR+:} false; then :
5507   $as_echo_n "(cached) " >&6
5508 else
5509   if test -n "$AR"; then
5510   ac_cv_prog_AR="$AR" # Let the user override the test.
5511 else
5512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5513 for as_dir in $PATH
5514 do
5515   IFS=$as_save_IFS
5516   test -z "$as_dir" && as_dir=.
5517     for ac_exec_ext in '' $ac_executable_extensions; do
5518   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5519     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5520     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5521     break 2
5522   fi
5523 done
5524   done
5525 IFS=$as_save_IFS
5526
5527 fi
5528 fi
5529 AR=$ac_cv_prog_AR
5530 if test -n "$AR"; then
5531   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5532 $as_echo "$AR" >&6; }
5533 else
5534   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5535 $as_echo "no" >&6; }
5536 fi
5537
5538
5539     test -n "$AR" && break
5540   done
5541 fi
5542 if test -z "$AR"; then
5543   ac_ct_AR=$AR
5544   for ac_prog in ar
5545 do
5546   # Extract the first word of "$ac_prog", so it can be a program name with args.
5547 set dummy $ac_prog; ac_word=$2
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5549 $as_echo_n "checking for $ac_word... " >&6; }
5550 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5551   $as_echo_n "(cached) " >&6
5552 else
5553   if test -n "$ac_ct_AR"; then
5554   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5555 else
5556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5557 for as_dir in $PATH
5558 do
5559   IFS=$as_save_IFS
5560   test -z "$as_dir" && as_dir=.
5561     for ac_exec_ext in '' $ac_executable_extensions; do
5562   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5563     ac_cv_prog_ac_ct_AR="$ac_prog"
5564     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5565     break 2
5566   fi
5567 done
5568   done
5569 IFS=$as_save_IFS
5570
5571 fi
5572 fi
5573 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5574 if test -n "$ac_ct_AR"; then
5575   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5576 $as_echo "$ac_ct_AR" >&6; }
5577 else
5578   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5579 $as_echo "no" >&6; }
5580 fi
5581
5582
5583   test -n "$ac_ct_AR" && break
5584 done
5585
5586   if test "x$ac_ct_AR" = x; then
5587     AR="false"
5588   else
5589     case $cross_compiling:$ac_tool_warned in
5590 yes:)
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5592 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5593 ac_tool_warned=yes ;;
5594 esac
5595     AR=$ac_ct_AR
5596   fi
5597 fi
5598
5599 : ${AR=ar}
5600 : ${AR_FLAGS=cru}
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5613 $as_echo_n "checking for archiver @FILE support... " >&6; }
5614 if ${lt_cv_ar_at_file+:} false; then :
5615   $as_echo_n "(cached) " >&6
5616 else
5617   lt_cv_ar_at_file=no
5618    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5619 /* end confdefs.h.  */
5620
5621 int
5622 main ()
5623 {
5624
5625   ;
5626   return 0;
5627 }
5628 _ACEOF
5629 if ac_fn_c_try_compile "$LINENO"; then :
5630   echo conftest.$ac_objext > conftest.lst
5631       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5632       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5633   (eval $lt_ar_try) 2>&5
5634   ac_status=$?
5635   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5636   test $ac_status = 0; }
5637       if test "$ac_status" -eq 0; then
5638         # Ensure the archiver fails upon bogus file names.
5639         rm -f conftest.$ac_objext libconftest.a
5640         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5641   (eval $lt_ar_try) 2>&5
5642   ac_status=$?
5643   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5644   test $ac_status = 0; }
5645         if test "$ac_status" -ne 0; then
5646           lt_cv_ar_at_file=@
5647         fi
5648       fi
5649       rm -f conftest.* libconftest.a
5650
5651 fi
5652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5653
5654 fi
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5656 $as_echo "$lt_cv_ar_at_file" >&6; }
5657
5658 if test "x$lt_cv_ar_at_file" = xno; then
5659   archiver_list_spec=
5660 else
5661   archiver_list_spec=$lt_cv_ar_at_file
5662 fi
5663
5664
5665
5666
5667
5668
5669
5670 if test -n "$ac_tool_prefix"; then
5671   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5672 set dummy ${ac_tool_prefix}strip; ac_word=$2
5673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5674 $as_echo_n "checking for $ac_word... " >&6; }
5675 if ${ac_cv_prog_STRIP+:} false; then :
5676   $as_echo_n "(cached) " >&6
5677 else
5678   if test -n "$STRIP"; then
5679   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5680 else
5681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5682 for as_dir in $PATH
5683 do
5684   IFS=$as_save_IFS
5685   test -z "$as_dir" && as_dir=.
5686     for ac_exec_ext in '' $ac_executable_extensions; do
5687   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5688     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5689     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5690     break 2
5691   fi
5692 done
5693   done
5694 IFS=$as_save_IFS
5695
5696 fi
5697 fi
5698 STRIP=$ac_cv_prog_STRIP
5699 if test -n "$STRIP"; then
5700   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5701 $as_echo "$STRIP" >&6; }
5702 else
5703   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5704 $as_echo "no" >&6; }
5705 fi
5706
5707
5708 fi
5709 if test -z "$ac_cv_prog_STRIP"; then
5710   ac_ct_STRIP=$STRIP
5711   # Extract the first word of "strip", so it can be a program name with args.
5712 set dummy strip; ac_word=$2
5713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5714 $as_echo_n "checking for $ac_word... " >&6; }
5715 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5716   $as_echo_n "(cached) " >&6
5717 else
5718   if test -n "$ac_ct_STRIP"; then
5719   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5720 else
5721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5722 for as_dir in $PATH
5723 do
5724   IFS=$as_save_IFS
5725   test -z "$as_dir" && as_dir=.
5726     for ac_exec_ext in '' $ac_executable_extensions; do
5727   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5728     ac_cv_prog_ac_ct_STRIP="strip"
5729     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5730     break 2
5731   fi
5732 done
5733   done
5734 IFS=$as_save_IFS
5735
5736 fi
5737 fi
5738 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5739 if test -n "$ac_ct_STRIP"; then
5740   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5741 $as_echo "$ac_ct_STRIP" >&6; }
5742 else
5743   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5744 $as_echo "no" >&6; }
5745 fi
5746
5747   if test "x$ac_ct_STRIP" = x; then
5748     STRIP=":"
5749   else
5750     case $cross_compiling:$ac_tool_warned in
5751 yes:)
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5753 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5754 ac_tool_warned=yes ;;
5755 esac
5756     STRIP=$ac_ct_STRIP
5757   fi
5758 else
5759   STRIP="$ac_cv_prog_STRIP"
5760 fi
5761
5762 test -z "$STRIP" && STRIP=:
5763
5764
5765
5766
5767
5768
5769 if test -n "$ac_tool_prefix"; then
5770   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5771 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5773 $as_echo_n "checking for $ac_word... " >&6; }
5774 if ${ac_cv_prog_RANLIB+:} false; then :
5775   $as_echo_n "(cached) " >&6
5776 else
5777   if test -n "$RANLIB"; then
5778   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5779 else
5780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5781 for as_dir in $PATH
5782 do
5783   IFS=$as_save_IFS
5784   test -z "$as_dir" && as_dir=.
5785     for ac_exec_ext in '' $ac_executable_extensions; do
5786   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5787     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5788     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5789     break 2
5790   fi
5791 done
5792   done
5793 IFS=$as_save_IFS
5794
5795 fi
5796 fi
5797 RANLIB=$ac_cv_prog_RANLIB
5798 if test -n "$RANLIB"; then
5799   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5800 $as_echo "$RANLIB" >&6; }
5801 else
5802   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5803 $as_echo "no" >&6; }
5804 fi
5805
5806
5807 fi
5808 if test -z "$ac_cv_prog_RANLIB"; then
5809   ac_ct_RANLIB=$RANLIB
5810   # Extract the first word of "ranlib", so it can be a program name with args.
5811 set dummy ranlib; ac_word=$2
5812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5813 $as_echo_n "checking for $ac_word... " >&6; }
5814 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5815   $as_echo_n "(cached) " >&6
5816 else
5817   if test -n "$ac_ct_RANLIB"; then
5818   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5819 else
5820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5821 for as_dir in $PATH
5822 do
5823   IFS=$as_save_IFS
5824   test -z "$as_dir" && as_dir=.
5825     for ac_exec_ext in '' $ac_executable_extensions; do
5826   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5827     ac_cv_prog_ac_ct_RANLIB="ranlib"
5828     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5829     break 2
5830   fi
5831 done
5832   done
5833 IFS=$as_save_IFS
5834
5835 fi
5836 fi
5837 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5838 if test -n "$ac_ct_RANLIB"; then
5839   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5840 $as_echo "$ac_ct_RANLIB" >&6; }
5841 else
5842   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5843 $as_echo "no" >&6; }
5844 fi
5845
5846   if test "x$ac_ct_RANLIB" = x; then
5847     RANLIB=":"
5848   else
5849     case $cross_compiling:$ac_tool_warned in
5850 yes:)
5851 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5852 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5853 ac_tool_warned=yes ;;
5854 esac
5855     RANLIB=$ac_ct_RANLIB
5856   fi
5857 else
5858   RANLIB="$ac_cv_prog_RANLIB"
5859 fi
5860
5861 test -z "$RANLIB" && RANLIB=:
5862
5863
5864
5865
5866
5867
5868 # Determine commands to create old-style static archives.
5869 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5870 old_postinstall_cmds='chmod 644 $oldlib'
5871 old_postuninstall_cmds=
5872
5873 if test -n "$RANLIB"; then
5874   case $host_os in
5875   openbsd*)
5876     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5877     ;;
5878   *)
5879     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5880     ;;
5881   esac
5882   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5883 fi
5884
5885 case $host_os in
5886   darwin*)
5887     lock_old_archive_extraction=yes ;;
5888   *)
5889     lock_old_archive_extraction=no ;;
5890 esac
5891
5892
5893
5894
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 # If no C compiler was specified, use CC.
5931 LTCC=${LTCC-"$CC"}
5932
5933 # If no C compiler flags were specified, use CFLAGS.
5934 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5935
5936 # Allow CC to be a program name with arguments.
5937 compiler=$CC
5938
5939
5940 # Check for command to grab the raw symbol name followed by C symbol from nm.
5941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5942 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5943 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5944   $as_echo_n "(cached) " >&6
5945 else
5946
5947 # These are sane defaults that work on at least a few old systems.
5948 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
5949
5950 # Character class describing NM global symbol codes.
5951 symcode='[BCDEGRST]'
5952
5953 # Regexp to match symbols that can be accessed directly from C.
5954 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5955
5956 # Define system-specific variables.
5957 case $host_os in
5958 aix*)
5959   symcode='[BCDT]'
5960   ;;
5961 cygwin* | mingw* | pw32* | cegcc*)
5962   symcode='[ABCDGISTW]'
5963   ;;
5964 hpux*)
5965   if test "$host_cpu" = ia64; then
5966     symcode='[ABCDEGRST]'
5967   fi
5968   ;;
5969 irix* | nonstopux*)
5970   symcode='[BCDEGRST]'
5971   ;;
5972 osf*)
5973   symcode='[BCDEGQRST]'
5974   ;;
5975 solaris*)
5976   symcode='[BDRT]'
5977   ;;
5978 sco3.2v5*)
5979   symcode='[DT]'
5980   ;;
5981 sysv4.2uw2*)
5982   symcode='[DT]'
5983   ;;
5984 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5985   symcode='[ABDT]'
5986   ;;
5987 sysv4)
5988   symcode='[DFNSTU]'
5989   ;;
5990 esac
5991
5992 # If we're using GNU nm, then use its standard symbol codes.
5993 case `$NM -V 2>&1` in
5994 *GNU* | *'with BFD'*)
5995   symcode='[ABCDGIRSTW]' ;;
5996 esac
5997
5998 # Transform an extracted symbol line into a proper C declaration.
5999 # Some systems (esp. on ia64) link data and code symbols differently,
6000 # so use this general approach.
6001 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6002
6003 # Transform an extracted symbol line into symbol name and symbol address
6004 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6005 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'"
6006
6007 # Handle CRLF in mingw tool chain
6008 opt_cr=
6009 case $build_os in
6010 mingw*)
6011   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6012   ;;
6013 esac
6014
6015 # Try without a prefix underscore, then with it.
6016 for ac_symprfx in "" "_"; do
6017
6018   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6019   symxfrm="\\1 $ac_symprfx\\2 \\2"
6020
6021   # Write the raw and C identifiers.
6022   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6023     # Fake it for dumpbin and say T for any non-static function
6024     # and D for any global variable.
6025     # Also find C++ and __fastcall symbols from MSVC++,
6026     # which start with @ or ?.
6027     lt_cv_sys_global_symbol_pipe="$AWK '"\
6028 "     {last_section=section; section=\$ 3};"\
6029 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6030 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6031 "     \$ 0!~/External *\|/{next};"\
6032 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6033 "     {if(hide[section]) next};"\
6034 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6035 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6036 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6037 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6038 "     ' prfx=^$ac_symprfx"
6039   else
6040     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6041   fi
6042   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6043
6044   # Check to see that the pipe works correctly.
6045   pipe_works=no
6046
6047   rm -f conftest*
6048   cat > conftest.$ac_ext <<_LT_EOF
6049 #ifdef __cplusplus
6050 extern "C" {
6051 #endif
6052 char nm_test_var;
6053 void nm_test_func(void);
6054 void nm_test_func(void){}
6055 #ifdef __cplusplus
6056 }
6057 #endif
6058 int main(){nm_test_var='a';nm_test_func();return(0);}
6059 _LT_EOF
6060
6061   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6062   (eval $ac_compile) 2>&5
6063   ac_status=$?
6064   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6065   test $ac_status = 0; }; then
6066     # Now try to grab the symbols.
6067     nlist=conftest.nm
6068     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6069   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6070   ac_status=$?
6071   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6072   test $ac_status = 0; } && test -s "$nlist"; then
6073       # Try sorting and uniquifying the output.
6074       if sort "$nlist" | uniq > "$nlist"T; then
6075         mv -f "$nlist"T "$nlist"
6076       else
6077         rm -f "$nlist"T
6078       fi
6079
6080       # Make sure that we snagged all the symbols we need.
6081       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6082         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6083           cat <<_LT_EOF > conftest.$ac_ext
6084 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6085 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6086 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6087    relocations are performed -- see ld's documentation on pseudo-relocs.  */
6088 # define LT_DLSYM_CONST
6089 #elif defined(__osf__)
6090 /* This system does not cope well with relocations in const data.  */
6091 # define LT_DLSYM_CONST
6092 #else
6093 # define LT_DLSYM_CONST const
6094 #endif
6095
6096 #ifdef __cplusplus
6097 extern "C" {
6098 #endif
6099
6100 _LT_EOF
6101           # Now generate the symbol file.
6102           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6103
6104           cat <<_LT_EOF >> conftest.$ac_ext
6105
6106 /* The mapping between symbol names and symbols.  */
6107 LT_DLSYM_CONST struct {
6108   const char *name;
6109   void       *address;
6110 }
6111 lt__PROGRAM__LTX_preloaded_symbols[] =
6112 {
6113   { "@PROGRAM@", (void *) 0 },
6114 _LT_EOF
6115           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6116           cat <<\_LT_EOF >> conftest.$ac_ext
6117   {0, (void *) 0}
6118 };
6119
6120 /* This works around a problem in FreeBSD linker */
6121 #ifdef FREEBSD_WORKAROUND
6122 static const void *lt_preloaded_setup() {
6123   return lt__PROGRAM__LTX_preloaded_symbols;
6124 }
6125 #endif
6126
6127 #ifdef __cplusplus
6128 }
6129 #endif
6130 _LT_EOF
6131           # Now try linking the two files.
6132           mv conftest.$ac_objext conftstm.$ac_objext
6133           lt_globsym_save_LIBS=$LIBS
6134           lt_globsym_save_CFLAGS=$CFLAGS
6135           LIBS="conftstm.$ac_objext"
6136           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6137           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6138   (eval $ac_link) 2>&5
6139   ac_status=$?
6140   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6141   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6142             pipe_works=yes
6143           fi
6144           LIBS=$lt_globsym_save_LIBS
6145           CFLAGS=$lt_globsym_save_CFLAGS
6146         else
6147           echo "cannot find nm_test_func in $nlist" >&5
6148         fi
6149       else
6150         echo "cannot find nm_test_var in $nlist" >&5
6151       fi
6152     else
6153       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6154     fi
6155   else
6156     echo "$progname: failed program was:" >&5
6157     cat conftest.$ac_ext >&5
6158   fi
6159   rm -rf conftest* conftst*
6160
6161   # Do not use the global_symbol_pipe unless it works.
6162   if test "$pipe_works" = yes; then
6163     break
6164   else
6165     lt_cv_sys_global_symbol_pipe=
6166   fi
6167 done
6168
6169 fi
6170
6171 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6172   lt_cv_sys_global_symbol_to_cdecl=
6173 fi
6174 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6175   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6176 $as_echo "failed" >&6; }
6177 else
6178   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6179 $as_echo "ok" >&6; }
6180 fi
6181
6182 # Response file support.
6183 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6184   nm_file_list_spec='@'
6185 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6186   nm_file_list_spec='@'
6187 fi
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6216 $as_echo_n "checking for sysroot... " >&6; }
6217
6218 # Check whether --with-sysroot was given.
6219 if test "${with_sysroot+set}" = set; then :
6220   withval=$with_sysroot;
6221 else
6222   with_sysroot=no
6223 fi
6224
6225
6226 lt_sysroot=
6227 case ${with_sysroot} in #(
6228  yes)
6229    if test "$GCC" = yes; then
6230      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6231    fi
6232    ;; #(
6233  /*)
6234    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6235    ;; #(
6236  no|'')
6237    ;; #(
6238  *)
6239    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6240 $as_echo "${with_sysroot}" >&6; }
6241    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6242    ;;
6243 esac
6244
6245  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6246 $as_echo "${lt_sysroot:-no}" >&6; }
6247
6248
6249
6250
6251
6252 # Check whether --enable-libtool-lock was given.
6253 if test "${enable_libtool_lock+set}" = set; then :
6254   enableval=$enable_libtool_lock;
6255 fi
6256
6257 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6258
6259 # Some flags need to be propagated to the compiler or linker for good
6260 # libtool support.
6261 case $host in
6262 ia64-*-hpux*)
6263   # Find out which ABI we are using.
6264   echo 'int i;' > conftest.$ac_ext
6265   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6266   (eval $ac_compile) 2>&5
6267   ac_status=$?
6268   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6269   test $ac_status = 0; }; then
6270     case `/usr/bin/file conftest.$ac_objext` in
6271       *ELF-32*)
6272         HPUX_IA64_MODE="32"
6273         ;;
6274       *ELF-64*)
6275         HPUX_IA64_MODE="64"
6276         ;;
6277     esac
6278   fi
6279   rm -rf conftest*
6280   ;;
6281 *-*-irix6*)
6282   # Find out which ABI we are using.
6283   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6284   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6285   (eval $ac_compile) 2>&5
6286   ac_status=$?
6287   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6288   test $ac_status = 0; }; then
6289     if test "$lt_cv_prog_gnu_ld" = yes; then
6290       case `/usr/bin/file conftest.$ac_objext` in
6291         *32-bit*)
6292           LD="${LD-ld} -melf32bsmip"
6293           ;;
6294         *N32*)
6295           LD="${LD-ld} -melf32bmipn32"
6296           ;;
6297         *64-bit*)
6298           LD="${LD-ld} -melf64bmip"
6299         ;;
6300       esac
6301     else
6302       case `/usr/bin/file conftest.$ac_objext` in
6303         *32-bit*)
6304           LD="${LD-ld} -32"
6305           ;;
6306         *N32*)
6307           LD="${LD-ld} -n32"
6308           ;;
6309         *64-bit*)
6310           LD="${LD-ld} -64"
6311           ;;
6312       esac
6313     fi
6314   fi
6315   rm -rf conftest*
6316   ;;
6317
6318 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6319 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6320   # Find out which ABI we are using.
6321   echo 'int i;' > conftest.$ac_ext
6322   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6323   (eval $ac_compile) 2>&5
6324   ac_status=$?
6325   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6326   test $ac_status = 0; }; then
6327     case `/usr/bin/file conftest.o` in
6328       *32-bit*)
6329         case $host in
6330           x86_64-*kfreebsd*-gnu)
6331             LD="${LD-ld} -m elf_i386_fbsd"
6332             ;;
6333           x86_64-*linux*)
6334             LD="${LD-ld} -m elf_i386"
6335             ;;
6336           ppc64-*linux*|powerpc64-*linux*)
6337             LD="${LD-ld} -m elf32ppclinux"
6338             ;;
6339           s390x-*linux*)
6340             LD="${LD-ld} -m elf_s390"
6341             ;;
6342           sparc64-*linux*)
6343             LD="${LD-ld} -m elf32_sparc"
6344             ;;
6345         esac
6346         ;;
6347       *64-bit*)
6348         case $host in
6349           x86_64-*kfreebsd*-gnu)
6350             LD="${LD-ld} -m elf_x86_64_fbsd"
6351             ;;
6352           x86_64-*linux*)
6353             LD="${LD-ld} -m elf_x86_64"
6354             ;;
6355           ppc*-*linux*|powerpc*-*linux*)
6356             LD="${LD-ld} -m elf64ppc"
6357             ;;
6358           s390*-*linux*|s390*-*tpf*)
6359             LD="${LD-ld} -m elf64_s390"
6360             ;;
6361           sparc*-*linux*)
6362             LD="${LD-ld} -m elf64_sparc"
6363             ;;
6364         esac
6365         ;;
6366     esac
6367   fi
6368   rm -rf conftest*
6369   ;;
6370
6371 *-*-sco3.2v5*)
6372   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6373   SAVE_CFLAGS="$CFLAGS"
6374   CFLAGS="$CFLAGS -belf"
6375   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6376 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6377 if ${lt_cv_cc_needs_belf+:} false; then :
6378   $as_echo_n "(cached) " >&6
6379 else
6380   ac_ext=c
6381 ac_cpp='$CPP $CPPFLAGS'
6382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6385
6386      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6387 /* end confdefs.h.  */
6388
6389 int
6390 main ()
6391 {
6392
6393   ;
6394   return 0;
6395 }
6396 _ACEOF
6397 if ac_fn_c_try_link "$LINENO"; then :
6398   lt_cv_cc_needs_belf=yes
6399 else
6400   lt_cv_cc_needs_belf=no
6401 fi
6402 rm -f core conftest.err conftest.$ac_objext \
6403     conftest$ac_exeext conftest.$ac_ext
6404      ac_ext=c
6405 ac_cpp='$CPP $CPPFLAGS'
6406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6409
6410 fi
6411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6412 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6413   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6414     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6415     CFLAGS="$SAVE_CFLAGS"
6416   fi
6417   ;;
6418 *-*solaris*)
6419   # Find out which ABI we are using.
6420   echo 'int i;' > conftest.$ac_ext
6421   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6422   (eval $ac_compile) 2>&5
6423   ac_status=$?
6424   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6425   test $ac_status = 0; }; then
6426     case `/usr/bin/file conftest.o` in
6427     *64-bit*)
6428       case $lt_cv_prog_gnu_ld in
6429       yes*)
6430         case $host in
6431         i?86-*-solaris*)
6432           LD="${LD-ld} -m elf_x86_64"
6433           ;;
6434         sparc*-*-solaris*)
6435           LD="${LD-ld} -m elf64_sparc"
6436           ;;
6437         esac
6438         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6439         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6440           LD="${LD-ld}_sol2"
6441         fi
6442         ;;
6443       *)
6444         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6445           LD="${LD-ld} -64"
6446         fi
6447         ;;
6448       esac
6449       ;;
6450     esac
6451   fi
6452   rm -rf conftest*
6453   ;;
6454 esac
6455
6456 need_locks="$enable_libtool_lock"
6457
6458 if test -n "$ac_tool_prefix"; then
6459   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6460 set dummy ${ac_tool_prefix}mt; ac_word=$2
6461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6462 $as_echo_n "checking for $ac_word... " >&6; }
6463 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6464   $as_echo_n "(cached) " >&6
6465 else
6466   if test -n "$MANIFEST_TOOL"; then
6467   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6468 else
6469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6470 for as_dir in $PATH
6471 do
6472   IFS=$as_save_IFS
6473   test -z "$as_dir" && as_dir=.
6474     for ac_exec_ext in '' $ac_executable_extensions; do
6475   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6476     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6477     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6478     break 2
6479   fi
6480 done
6481   done
6482 IFS=$as_save_IFS
6483
6484 fi
6485 fi
6486 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6487 if test -n "$MANIFEST_TOOL"; then
6488   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6489 $as_echo "$MANIFEST_TOOL" >&6; }
6490 else
6491   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6492 $as_echo "no" >&6; }
6493 fi
6494
6495
6496 fi
6497 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6498   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6499   # Extract the first word of "mt", so it can be a program name with args.
6500 set dummy mt; ac_word=$2
6501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6502 $as_echo_n "checking for $ac_word... " >&6; }
6503 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6504   $as_echo_n "(cached) " >&6
6505 else
6506   if test -n "$ac_ct_MANIFEST_TOOL"; then
6507   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6508 else
6509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6510 for as_dir in $PATH
6511 do
6512   IFS=$as_save_IFS
6513   test -z "$as_dir" && as_dir=.
6514     for ac_exec_ext in '' $ac_executable_extensions; do
6515   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6516     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6517     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6518     break 2
6519   fi
6520 done
6521   done
6522 IFS=$as_save_IFS
6523
6524 fi
6525 fi
6526 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6527 if test -n "$ac_ct_MANIFEST_TOOL"; then
6528   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6529 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6530 else
6531   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6532 $as_echo "no" >&6; }
6533 fi
6534
6535   if test "x$ac_ct_MANIFEST_TOOL" = x; then
6536     MANIFEST_TOOL=":"
6537   else
6538     case $cross_compiling:$ac_tool_warned in
6539 yes:)
6540 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6541 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6542 ac_tool_warned=yes ;;
6543 esac
6544     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6545   fi
6546 else
6547   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6548 fi
6549
6550 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6552 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6553 if ${lt_cv_path_mainfest_tool+:} false; then :
6554   $as_echo_n "(cached) " >&6
6555 else
6556   lt_cv_path_mainfest_tool=no
6557   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6558   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6559   cat conftest.err >&5
6560   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6561     lt_cv_path_mainfest_tool=yes
6562   fi
6563   rm -f conftest*
6564 fi
6565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6566 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6567 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6568   MANIFEST_TOOL=:
6569 fi
6570
6571
6572
6573
6574
6575
6576   case $host_os in
6577     rhapsody* | darwin*)
6578     if test -n "$ac_tool_prefix"; then
6579   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6580 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6582 $as_echo_n "checking for $ac_word... " >&6; }
6583 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6584   $as_echo_n "(cached) " >&6
6585 else
6586   if test -n "$DSYMUTIL"; then
6587   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6588 else
6589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6590 for as_dir in $PATH
6591 do
6592   IFS=$as_save_IFS
6593   test -z "$as_dir" && as_dir=.
6594     for ac_exec_ext in '' $ac_executable_extensions; do
6595   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6596     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6597     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6598     break 2
6599   fi
6600 done
6601   done
6602 IFS=$as_save_IFS
6603
6604 fi
6605 fi
6606 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6607 if test -n "$DSYMUTIL"; then
6608   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6609 $as_echo "$DSYMUTIL" >&6; }
6610 else
6611   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6612 $as_echo "no" >&6; }
6613 fi
6614
6615
6616 fi
6617 if test -z "$ac_cv_prog_DSYMUTIL"; then
6618   ac_ct_DSYMUTIL=$DSYMUTIL
6619   # Extract the first word of "dsymutil", so it can be a program name with args.
6620 set dummy dsymutil; ac_word=$2
6621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6622 $as_echo_n "checking for $ac_word... " >&6; }
6623 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6624   $as_echo_n "(cached) " >&6
6625 else
6626   if test -n "$ac_ct_DSYMUTIL"; then
6627   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6628 else
6629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6630 for as_dir in $PATH
6631 do
6632   IFS=$as_save_IFS
6633   test -z "$as_dir" && as_dir=.
6634     for ac_exec_ext in '' $ac_executable_extensions; do
6635   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6636     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6637     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6638     break 2
6639   fi
6640 done
6641   done
6642 IFS=$as_save_IFS
6643
6644 fi
6645 fi
6646 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6647 if test -n "$ac_ct_DSYMUTIL"; then
6648   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6649 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6650 else
6651   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6652 $as_echo "no" >&6; }
6653 fi
6654
6655   if test "x$ac_ct_DSYMUTIL" = x; then
6656     DSYMUTIL=":"
6657   else
6658     case $cross_compiling:$ac_tool_warned in
6659 yes:)
6660 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6661 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6662 ac_tool_warned=yes ;;
6663 esac
6664     DSYMUTIL=$ac_ct_DSYMUTIL
6665   fi
6666 else
6667   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6668 fi
6669
6670     if test -n "$ac_tool_prefix"; then
6671   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6672 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6674 $as_echo_n "checking for $ac_word... " >&6; }
6675 if ${ac_cv_prog_NMEDIT+:} false; then :
6676   $as_echo_n "(cached) " >&6
6677 else
6678   if test -n "$NMEDIT"; then
6679   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6680 else
6681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6682 for as_dir in $PATH
6683 do
6684   IFS=$as_save_IFS
6685   test -z "$as_dir" && as_dir=.
6686     for ac_exec_ext in '' $ac_executable_extensions; do
6687   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6688     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6689     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6690     break 2
6691   fi
6692 done
6693   done
6694 IFS=$as_save_IFS
6695
6696 fi
6697 fi
6698 NMEDIT=$ac_cv_prog_NMEDIT
6699 if test -n "$NMEDIT"; then
6700   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6701 $as_echo "$NMEDIT" >&6; }
6702 else
6703   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6704 $as_echo "no" >&6; }
6705 fi
6706
6707
6708 fi
6709 if test -z "$ac_cv_prog_NMEDIT"; then
6710   ac_ct_NMEDIT=$NMEDIT
6711   # Extract the first word of "nmedit", so it can be a program name with args.
6712 set dummy nmedit; ac_word=$2
6713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6714 $as_echo_n "checking for $ac_word... " >&6; }
6715 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6716   $as_echo_n "(cached) " >&6
6717 else
6718   if test -n "$ac_ct_NMEDIT"; then
6719   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6720 else
6721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6722 for as_dir in $PATH
6723 do
6724   IFS=$as_save_IFS
6725   test -z "$as_dir" && as_dir=.
6726     for ac_exec_ext in '' $ac_executable_extensions; do
6727   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6728     ac_cv_prog_ac_ct_NMEDIT="nmedit"
6729     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6730     break 2
6731   fi
6732 done
6733   done
6734 IFS=$as_save_IFS
6735
6736 fi
6737 fi
6738 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6739 if test -n "$ac_ct_NMEDIT"; then
6740   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6741 $as_echo "$ac_ct_NMEDIT" >&6; }
6742 else
6743   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6744 $as_echo "no" >&6; }
6745 fi
6746
6747   if test "x$ac_ct_NMEDIT" = x; then
6748     NMEDIT=":"
6749   else
6750     case $cross_compiling:$ac_tool_warned in
6751 yes:)
6752 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6753 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6754 ac_tool_warned=yes ;;
6755 esac
6756     NMEDIT=$ac_ct_NMEDIT
6757   fi
6758 else
6759   NMEDIT="$ac_cv_prog_NMEDIT"
6760 fi
6761
6762     if test -n "$ac_tool_prefix"; then
6763   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6764 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6766 $as_echo_n "checking for $ac_word... " >&6; }
6767 if ${ac_cv_prog_LIPO+:} false; then :
6768   $as_echo_n "(cached) " >&6
6769 else
6770   if test -n "$LIPO"; then
6771   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6772 else
6773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6774 for as_dir in $PATH
6775 do
6776   IFS=$as_save_IFS
6777   test -z "$as_dir" && as_dir=.
6778     for ac_exec_ext in '' $ac_executable_extensions; do
6779   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6780     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6781     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6782     break 2
6783   fi
6784 done
6785   done
6786 IFS=$as_save_IFS
6787
6788 fi
6789 fi
6790 LIPO=$ac_cv_prog_LIPO
6791 if test -n "$LIPO"; then
6792   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6793 $as_echo "$LIPO" >&6; }
6794 else
6795   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6796 $as_echo "no" >&6; }
6797 fi
6798
6799
6800 fi
6801 if test -z "$ac_cv_prog_LIPO"; then
6802   ac_ct_LIPO=$LIPO
6803   # Extract the first word of "lipo", so it can be a program name with args.
6804 set dummy lipo; ac_word=$2
6805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6806 $as_echo_n "checking for $ac_word... " >&6; }
6807 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6808   $as_echo_n "(cached) " >&6
6809 else
6810   if test -n "$ac_ct_LIPO"; then
6811   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6812 else
6813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6814 for as_dir in $PATH
6815 do
6816   IFS=$as_save_IFS
6817   test -z "$as_dir" && as_dir=.
6818     for ac_exec_ext in '' $ac_executable_extensions; do
6819   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6820     ac_cv_prog_ac_ct_LIPO="lipo"
6821     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6822     break 2
6823   fi
6824 done
6825   done
6826 IFS=$as_save_IFS
6827
6828 fi
6829 fi
6830 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6831 if test -n "$ac_ct_LIPO"; then
6832   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6833 $as_echo "$ac_ct_LIPO" >&6; }
6834 else
6835   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6836 $as_echo "no" >&6; }
6837 fi
6838
6839   if test "x$ac_ct_LIPO" = x; then
6840     LIPO=":"
6841   else
6842     case $cross_compiling:$ac_tool_warned in
6843 yes:)
6844 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6845 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6846 ac_tool_warned=yes ;;
6847 esac
6848     LIPO=$ac_ct_LIPO
6849   fi
6850 else
6851   LIPO="$ac_cv_prog_LIPO"
6852 fi
6853
6854     if test -n "$ac_tool_prefix"; then
6855   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6856 set dummy ${ac_tool_prefix}otool; ac_word=$2
6857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6858 $as_echo_n "checking for $ac_word... " >&6; }
6859 if ${ac_cv_prog_OTOOL+:} false; then :
6860   $as_echo_n "(cached) " >&6
6861 else
6862   if test -n "$OTOOL"; then
6863   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6864 else
6865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6866 for as_dir in $PATH
6867 do
6868   IFS=$as_save_IFS
6869   test -z "$as_dir" && as_dir=.
6870     for ac_exec_ext in '' $ac_executable_extensions; do
6871   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6872     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6873     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6874     break 2
6875   fi
6876 done
6877   done
6878 IFS=$as_save_IFS
6879
6880 fi
6881 fi
6882 OTOOL=$ac_cv_prog_OTOOL
6883 if test -n "$OTOOL"; then
6884   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6885 $as_echo "$OTOOL" >&6; }
6886 else
6887   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6888 $as_echo "no" >&6; }
6889 fi
6890
6891
6892 fi
6893 if test -z "$ac_cv_prog_OTOOL"; then
6894   ac_ct_OTOOL=$OTOOL
6895   # Extract the first word of "otool", so it can be a program name with args.
6896 set dummy otool; ac_word=$2
6897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6898 $as_echo_n "checking for $ac_word... " >&6; }
6899 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6900   $as_echo_n "(cached) " >&6
6901 else
6902   if test -n "$ac_ct_OTOOL"; then
6903   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6904 else
6905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6906 for as_dir in $PATH
6907 do
6908   IFS=$as_save_IFS
6909   test -z "$as_dir" && as_dir=.
6910     for ac_exec_ext in '' $ac_executable_extensions; do
6911   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6912     ac_cv_prog_ac_ct_OTOOL="otool"
6913     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6914     break 2
6915   fi
6916 done
6917   done
6918 IFS=$as_save_IFS
6919
6920 fi
6921 fi
6922 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6923 if test -n "$ac_ct_OTOOL"; then
6924   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6925 $as_echo "$ac_ct_OTOOL" >&6; }
6926 else
6927   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6928 $as_echo "no" >&6; }
6929 fi
6930
6931   if test "x$ac_ct_OTOOL" = x; then
6932     OTOOL=":"
6933   else
6934     case $cross_compiling:$ac_tool_warned in
6935 yes:)
6936 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6937 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6938 ac_tool_warned=yes ;;
6939 esac
6940     OTOOL=$ac_ct_OTOOL
6941   fi
6942 else
6943   OTOOL="$ac_cv_prog_OTOOL"
6944 fi
6945
6946     if test -n "$ac_tool_prefix"; then
6947   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6948 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6950 $as_echo_n "checking for $ac_word... " >&6; }
6951 if ${ac_cv_prog_OTOOL64+:} false; then :
6952   $as_echo_n "(cached) " >&6
6953 else
6954   if test -n "$OTOOL64"; then
6955   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6956 else
6957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6958 for as_dir in $PATH
6959 do
6960   IFS=$as_save_IFS
6961   test -z "$as_dir" && as_dir=.
6962     for ac_exec_ext in '' $ac_executable_extensions; do
6963   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6964     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6965     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6966     break 2
6967   fi
6968 done
6969   done
6970 IFS=$as_save_IFS
6971
6972 fi
6973 fi
6974 OTOOL64=$ac_cv_prog_OTOOL64
6975 if test -n "$OTOOL64"; then
6976   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6977 $as_echo "$OTOOL64" >&6; }
6978 else
6979   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6980 $as_echo "no" >&6; }
6981 fi
6982
6983
6984 fi
6985 if test -z "$ac_cv_prog_OTOOL64"; then
6986   ac_ct_OTOOL64=$OTOOL64
6987   # Extract the first word of "otool64", so it can be a program name with args.
6988 set dummy otool64; ac_word=$2
6989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6990 $as_echo_n "checking for $ac_word... " >&6; }
6991 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
6992   $as_echo_n "(cached) " >&6
6993 else
6994   if test -n "$ac_ct_OTOOL64"; then
6995   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6996 else
6997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6998 for as_dir in $PATH
6999 do
7000   IFS=$as_save_IFS
7001   test -z "$as_dir" && as_dir=.
7002     for ac_exec_ext in '' $ac_executable_extensions; do
7003   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7004     ac_cv_prog_ac_ct_OTOOL64="otool64"
7005     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7006     break 2
7007   fi
7008 done
7009   done
7010 IFS=$as_save_IFS
7011
7012 fi
7013 fi
7014 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7015 if test -n "$ac_ct_OTOOL64"; then
7016   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7017 $as_echo "$ac_ct_OTOOL64" >&6; }
7018 else
7019   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7020 $as_echo "no" >&6; }
7021 fi
7022
7023   if test "x$ac_ct_OTOOL64" = x; then
7024     OTOOL64=":"
7025   else
7026     case $cross_compiling:$ac_tool_warned in
7027 yes:)
7028 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7029 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7030 ac_tool_warned=yes ;;
7031 esac
7032     OTOOL64=$ac_ct_OTOOL64
7033   fi
7034 else
7035   OTOOL64="$ac_cv_prog_OTOOL64"
7036 fi
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7065 $as_echo_n "checking for -single_module linker flag... " >&6; }
7066 if ${lt_cv_apple_cc_single_mod+:} false; then :
7067   $as_echo_n "(cached) " >&6
7068 else
7069   lt_cv_apple_cc_single_mod=no
7070       if test -z "${LT_MULTI_MODULE}"; then
7071         # By default we will add the -single_module flag. You can override
7072         # by either setting the environment variable LT_MULTI_MODULE
7073         # non-empty at configure time, or by adding -multi_module to the
7074         # link flags.
7075         rm -rf libconftest.dylib*
7076         echo "int foo(void){return 1;}" > conftest.c
7077         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7078 -dynamiclib -Wl,-single_module conftest.c" >&5
7079         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7080           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7081         _lt_result=$?
7082         # If there is a non-empty error log, and "single_module"
7083         # appears in it, assume the flag caused a linker warning
7084         if test -s conftest.err && $GREP single_module conftest.err; then
7085           cat conftest.err >&5
7086         # Otherwise, if the output was created with a 0 exit code from
7087         # the compiler, it worked.
7088         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7089           lt_cv_apple_cc_single_mod=yes
7090         else
7091           cat conftest.err >&5
7092         fi
7093         rm -rf libconftest.dylib*
7094         rm -f conftest.*
7095       fi
7096 fi
7097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7098 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7099
7100     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7101 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7102 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7103   $as_echo_n "(cached) " >&6
7104 else
7105   lt_cv_ld_exported_symbols_list=no
7106       save_LDFLAGS=$LDFLAGS
7107       echo "_main" > conftest.sym
7108       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7109       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7110 /* end confdefs.h.  */
7111
7112 int
7113 main ()
7114 {
7115
7116   ;
7117   return 0;
7118 }
7119 _ACEOF
7120 if ac_fn_c_try_link "$LINENO"; then :
7121   lt_cv_ld_exported_symbols_list=yes
7122 else
7123   lt_cv_ld_exported_symbols_list=no
7124 fi
7125 rm -f core conftest.err conftest.$ac_objext \
7126     conftest$ac_exeext conftest.$ac_ext
7127         LDFLAGS="$save_LDFLAGS"
7128
7129 fi
7130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7131 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7132
7133     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7134 $as_echo_n "checking for -force_load linker flag... " >&6; }
7135 if ${lt_cv_ld_force_load+:} false; then :
7136   $as_echo_n "(cached) " >&6
7137 else
7138   lt_cv_ld_force_load=no
7139       cat > conftest.c << _LT_EOF
7140 int forced_loaded() { return 2;}
7141 _LT_EOF
7142       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7143       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7144       echo "$AR cru libconftest.a conftest.o" >&5
7145       $AR cru libconftest.a conftest.o 2>&5
7146       echo "$RANLIB libconftest.a" >&5
7147       $RANLIB libconftest.a 2>&5
7148       cat > conftest.c << _LT_EOF
7149 int main() { return 0;}
7150 _LT_EOF
7151       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7152       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7153       _lt_result=$?
7154       if test -s conftest.err && $GREP force_load conftest.err; then
7155         cat conftest.err >&5
7156       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7157         lt_cv_ld_force_load=yes
7158       else
7159         cat conftest.err >&5
7160       fi
7161         rm -f conftest.err libconftest.a conftest conftest.c
7162         rm -rf conftest.dSYM
7163
7164 fi
7165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7166 $as_echo "$lt_cv_ld_force_load" >&6; }
7167     case $host_os in
7168     rhapsody* | darwin1.[012])
7169       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7170     darwin1.*)
7171       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7172     darwin*) # darwin 5.x on
7173       # if running on 10.5 or later, the deployment target defaults
7174       # to the OS version, if on x86, and 10.4, the deployment
7175       # target defaults to 10.4. Don't you love it?
7176       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7177         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7178           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7179         10.[012]*)
7180           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7181         10.*)
7182           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7183       esac
7184     ;;
7185   esac
7186     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7187       _lt_dar_single_mod='$single_module'
7188     fi
7189     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7190       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7191     else
7192       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7193     fi
7194     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7195       _lt_dsymutil='~$DSYMUTIL $lib || :'
7196     else
7197       _lt_dsymutil=
7198     fi
7199     ;;
7200   esac
7201
7202 ac_ext=c
7203 ac_cpp='$CPP $CPPFLAGS'
7204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7208 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7209 # On Suns, sometimes $CPP names a directory.
7210 if test -n "$CPP" && test -d "$CPP"; then
7211   CPP=
7212 fi
7213 if test -z "$CPP"; then
7214   if ${ac_cv_prog_CPP+:} false; then :
7215   $as_echo_n "(cached) " >&6
7216 else
7217       # Double quotes because CPP needs to be expanded
7218     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7219     do
7220       ac_preproc_ok=false
7221 for ac_c_preproc_warn_flag in '' yes
7222 do
7223   # Use a header file that comes with gcc, so configuring glibc
7224   # with a fresh cross-compiler works.
7225   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7226   # <limits.h> exists even on freestanding compilers.
7227   # On the NeXT, cc -E runs the code through the compiler's parser,
7228   # not just through cpp. "Syntax error" is here to catch this case.
7229   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7230 /* end confdefs.h.  */
7231 #ifdef __STDC__
7232 # include <limits.h>
7233 #else
7234 # include <assert.h>
7235 #endif
7236                      Syntax error
7237 _ACEOF
7238 if ac_fn_c_try_cpp "$LINENO"; then :
7239
7240 else
7241   # Broken: fails on valid input.
7242 continue
7243 fi
7244 rm -f conftest.err conftest.i conftest.$ac_ext
7245
7246   # OK, works on sane cases.  Now check whether nonexistent headers
7247   # can be detected and how.
7248   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7249 /* end confdefs.h.  */
7250 #include <ac_nonexistent.h>
7251 _ACEOF
7252 if ac_fn_c_try_cpp "$LINENO"; then :
7253   # Broken: success on invalid input.
7254 continue
7255 else
7256   # Passes both tests.
7257 ac_preproc_ok=:
7258 break
7259 fi
7260 rm -f conftest.err conftest.i conftest.$ac_ext
7261
7262 done
7263 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7264 rm -f conftest.i conftest.err conftest.$ac_ext
7265 if $ac_preproc_ok; then :
7266   break
7267 fi
7268
7269     done
7270     ac_cv_prog_CPP=$CPP
7271
7272 fi
7273   CPP=$ac_cv_prog_CPP
7274 else
7275   ac_cv_prog_CPP=$CPP
7276 fi
7277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7278 $as_echo "$CPP" >&6; }
7279 ac_preproc_ok=false
7280 for ac_c_preproc_warn_flag in '' yes
7281 do
7282   # Use a header file that comes with gcc, so configuring glibc
7283   # with a fresh cross-compiler works.
7284   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7285   # <limits.h> exists even on freestanding compilers.
7286   # On the NeXT, cc -E runs the code through the compiler's parser,
7287   # not just through cpp. "Syntax error" is here to catch this case.
7288   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7289 /* end confdefs.h.  */
7290 #ifdef __STDC__
7291 # include <limits.h>
7292 #else
7293 # include <assert.h>
7294 #endif
7295                      Syntax error
7296 _ACEOF
7297 if ac_fn_c_try_cpp "$LINENO"; then :
7298
7299 else
7300   # Broken: fails on valid input.
7301 continue
7302 fi
7303 rm -f conftest.err conftest.i conftest.$ac_ext
7304
7305   # OK, works on sane cases.  Now check whether nonexistent headers
7306   # can be detected and how.
7307   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7308 /* end confdefs.h.  */
7309 #include <ac_nonexistent.h>
7310 _ACEOF
7311 if ac_fn_c_try_cpp "$LINENO"; then :
7312   # Broken: success on invalid input.
7313 continue
7314 else
7315   # Passes both tests.
7316 ac_preproc_ok=:
7317 break
7318 fi
7319 rm -f conftest.err conftest.i conftest.$ac_ext
7320
7321 done
7322 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7323 rm -f conftest.i conftest.err conftest.$ac_ext
7324 if $ac_preproc_ok; then :
7325
7326 else
7327   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7328 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7329 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7330 See \`config.log' for more details" "$LINENO" 5; }
7331 fi
7332
7333 ac_ext=c
7334 ac_cpp='$CPP $CPPFLAGS'
7335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7338
7339
7340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7341 $as_echo_n "checking for ANSI C header files... " >&6; }
7342 if ${ac_cv_header_stdc+:} false; then :
7343   $as_echo_n "(cached) " >&6
7344 else
7345   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7346 /* end confdefs.h.  */
7347 #include <stdlib.h>
7348 #include <stdarg.h>
7349 #include <string.h>
7350 #include <float.h>
7351
7352 int
7353 main ()
7354 {
7355
7356   ;
7357   return 0;
7358 }
7359 _ACEOF
7360 if ac_fn_c_try_compile "$LINENO"; then :
7361   ac_cv_header_stdc=yes
7362 else
7363   ac_cv_header_stdc=no
7364 fi
7365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7366
7367 if test $ac_cv_header_stdc = yes; then
7368   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7369   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7370 /* end confdefs.h.  */
7371 #include <string.h>
7372
7373 _ACEOF
7374 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7375   $EGREP "memchr" >/dev/null 2>&1; then :
7376
7377 else
7378   ac_cv_header_stdc=no
7379 fi
7380 rm -f conftest*
7381
7382 fi
7383
7384 if test $ac_cv_header_stdc = yes; then
7385   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7386   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7387 /* end confdefs.h.  */
7388 #include <stdlib.h>
7389
7390 _ACEOF
7391 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7392   $EGREP "free" >/dev/null 2>&1; then :
7393
7394 else
7395   ac_cv_header_stdc=no
7396 fi
7397 rm -f conftest*
7398
7399 fi
7400
7401 if test $ac_cv_header_stdc = yes; then
7402   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7403   if test "$cross_compiling" = yes; then :
7404   :
7405 else
7406   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7407 /* end confdefs.h.  */
7408 #include <ctype.h>
7409 #include <stdlib.h>
7410 #if ((' ' & 0x0FF) == 0x020)
7411 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7412 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7413 #else
7414 # define ISLOWER(c) \
7415                    (('a' <= (c) && (c) <= 'i') \
7416                      || ('j' <= (c) && (c) <= 'r') \
7417                      || ('s' <= (c) && (c) <= 'z'))
7418 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7419 #endif
7420
7421 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7422 int
7423 main ()
7424 {
7425   int i;
7426   for (i = 0; i < 256; i++)
7427     if (XOR (islower (i), ISLOWER (i))
7428         || toupper (i) != TOUPPER (i))
7429       return 2;
7430   return 0;
7431 }
7432 _ACEOF
7433 if ac_fn_c_try_run "$LINENO"; then :
7434
7435 else
7436   ac_cv_header_stdc=no
7437 fi
7438 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7439   conftest.$ac_objext conftest.beam conftest.$ac_ext
7440 fi
7441
7442 fi
7443 fi
7444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7445 $as_echo "$ac_cv_header_stdc" >&6; }
7446 if test $ac_cv_header_stdc = yes; then
7447
7448 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7449
7450 fi
7451
7452 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7453 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7454                   inttypes.h stdint.h unistd.h
7455 do :
7456   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7457 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7458 "
7459 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7460   cat >>confdefs.h <<_ACEOF
7461 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7462 _ACEOF
7463
7464 fi
7465
7466 done
7467
7468
7469 for ac_header in dlfcn.h
7470 do :
7471   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7472 "
7473 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7474   cat >>confdefs.h <<_ACEOF
7475 #define HAVE_DLFCN_H 1
7476 _ACEOF
7477
7478 fi
7479
7480 done
7481
7482
7483
7484
7485
7486 # Set options
7487 # Check whether --enable-static was given.
7488 if test "${enable_static+set}" = set; then :
7489   enableval=$enable_static; p=${PACKAGE-default}
7490     case $enableval in
7491     yes) enable_static=yes ;;
7492     no) enable_static=no ;;
7493     *)
7494      enable_static=no
7495       # Look at the argument we got.  We use all the common list separators.
7496       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7497       for pkg in $enableval; do
7498         IFS="$lt_save_ifs"
7499         if test "X$pkg" = "X$p"; then
7500           enable_static=yes
7501         fi
7502       done
7503       IFS="$lt_save_ifs"
7504       ;;
7505     esac
7506 else
7507   enable_static=no
7508 fi
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519         enable_dlopen=no
7520
7521
7522   enable_win32_dll=no
7523
7524
7525             # Check whether --enable-shared was given.
7526 if test "${enable_shared+set}" = set; then :
7527   enableval=$enable_shared; p=${PACKAGE-default}
7528     case $enableval in
7529     yes) enable_shared=yes ;;
7530     no) enable_shared=no ;;
7531     *)
7532       enable_shared=no
7533       # Look at the argument we got.  We use all the common list separators.
7534       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7535       for pkg in $enableval; do
7536         IFS="$lt_save_ifs"
7537         if test "X$pkg" = "X$p"; then
7538           enable_shared=yes
7539         fi
7540       done
7541       IFS="$lt_save_ifs"
7542       ;;
7543     esac
7544 else
7545   enable_shared=yes
7546 fi
7547
7548
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558 # Check whether --with-pic was given.
7559 if test "${with_pic+set}" = set; then :
7560   withval=$with_pic; lt_p=${PACKAGE-default}
7561     case $withval in
7562     yes|no) pic_mode=$withval ;;
7563     *)
7564       pic_mode=default
7565       # Look at the argument we got.  We use all the common list separators.
7566       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7567       for lt_pkg in $withval; do
7568         IFS="$lt_save_ifs"
7569         if test "X$lt_pkg" = "X$lt_p"; then
7570           pic_mode=yes
7571         fi
7572       done
7573       IFS="$lt_save_ifs"
7574       ;;
7575     esac
7576 else
7577   pic_mode=default
7578 fi
7579
7580
7581 test -z "$pic_mode" && pic_mode=default
7582
7583
7584
7585
7586
7587
7588
7589   # Check whether --enable-fast-install was given.
7590 if test "${enable_fast_install+set}" = set; then :
7591   enableval=$enable_fast_install; p=${PACKAGE-default}
7592     case $enableval in
7593     yes) enable_fast_install=yes ;;
7594     no) enable_fast_install=no ;;
7595     *)
7596       enable_fast_install=no
7597       # Look at the argument we got.  We use all the common list separators.
7598       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7599       for pkg in $enableval; do
7600         IFS="$lt_save_ifs"
7601         if test "X$pkg" = "X$p"; then
7602           enable_fast_install=yes
7603         fi
7604       done
7605       IFS="$lt_save_ifs"
7606       ;;
7607     esac
7608 else
7609   enable_fast_install=yes
7610 fi
7611
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622 # This can be used to rebuild libtool when needed
7623 LIBTOOL_DEPS="$ltmain"
7624
7625 # Always use our own libtool.
7626 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657 test -z "$LN_S" && LN_S="ln -s"
7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672 if test -n "${ZSH_VERSION+set}" ; then
7673    setopt NO_GLOB_SUBST
7674 fi
7675
7676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7677 $as_echo_n "checking for objdir... " >&6; }
7678 if ${lt_cv_objdir+:} false; then :
7679   $as_echo_n "(cached) " >&6
7680 else
7681   rm -f .libs 2>/dev/null
7682 mkdir .libs 2>/dev/null
7683 if test -d .libs; then
7684   lt_cv_objdir=.libs
7685 else
7686   # MS-DOS does not allow filenames that begin with a dot.
7687   lt_cv_objdir=_libs
7688 fi
7689 rmdir .libs 2>/dev/null
7690 fi
7691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7692 $as_echo "$lt_cv_objdir" >&6; }
7693 objdir=$lt_cv_objdir
7694
7695
7696
7697
7698
7699 cat >>confdefs.h <<_ACEOF
7700 #define LT_OBJDIR "$lt_cv_objdir/"
7701 _ACEOF
7702
7703
7704
7705
7706 case $host_os in
7707 aix3*)
7708   # AIX sometimes has problems with the GCC collect2 program.  For some
7709   # reason, if we set the COLLECT_NAMES environment variable, the problems
7710   # vanish in a puff of smoke.
7711   if test "X${COLLECT_NAMES+set}" != Xset; then
7712     COLLECT_NAMES=
7713     export COLLECT_NAMES
7714   fi
7715   ;;
7716 esac
7717
7718 # Global variables:
7719 ofile=libtool
7720 can_build_shared=yes
7721
7722 # All known linkers require a `.a' archive for static linking (except MSVC,
7723 # which needs '.lib').
7724 libext=a
7725
7726 with_gnu_ld="$lt_cv_prog_gnu_ld"
7727
7728 old_CC="$CC"
7729 old_CFLAGS="$CFLAGS"
7730
7731 # Set sane defaults for various variables
7732 test -z "$CC" && CC=cc
7733 test -z "$LTCC" && LTCC=$CC
7734 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7735 test -z "$LD" && LD=ld
7736 test -z "$ac_objext" && ac_objext=o
7737
7738 for cc_temp in $compiler""; do
7739   case $cc_temp in
7740     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7741     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7742     \-*) ;;
7743     *) break;;
7744   esac
7745 done
7746 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7747
7748
7749 # Only perform the check for file, if the check method requires it
7750 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7751 case $deplibs_check_method in
7752 file_magic*)
7753   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7754     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7755 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7756 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7757   $as_echo_n "(cached) " >&6
7758 else
7759   case $MAGIC_CMD in
7760 [\\/*] |  ?:[\\/]*)
7761   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7762   ;;
7763 *)
7764   lt_save_MAGIC_CMD="$MAGIC_CMD"
7765   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7766   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7767   for ac_dir in $ac_dummy; do
7768     IFS="$lt_save_ifs"
7769     test -z "$ac_dir" && ac_dir=.
7770     if test -f $ac_dir/${ac_tool_prefix}file; then
7771       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7772       if test -n "$file_magic_test_file"; then
7773         case $deplibs_check_method in
7774         "file_magic "*)
7775           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7776           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7777           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7778             $EGREP "$file_magic_regex" > /dev/null; then
7779             :
7780           else
7781             cat <<_LT_EOF 1>&2
7782
7783 *** Warning: the command libtool uses to detect shared libraries,
7784 *** $file_magic_cmd, produces output that libtool cannot recognize.
7785 *** The result is that libtool may fail to recognize shared libraries
7786 *** as such.  This will affect the creation of libtool libraries that
7787 *** depend on shared libraries, but programs linked with such libtool
7788 *** libraries will work regardless of this problem.  Nevertheless, you
7789 *** may want to report the problem to your system manager and/or to
7790 *** bug-libtool@gnu.org
7791
7792 _LT_EOF
7793           fi ;;
7794         esac
7795       fi
7796       break
7797     fi
7798   done
7799   IFS="$lt_save_ifs"
7800   MAGIC_CMD="$lt_save_MAGIC_CMD"
7801   ;;
7802 esac
7803 fi
7804
7805 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7806 if test -n "$MAGIC_CMD"; then
7807   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7808 $as_echo "$MAGIC_CMD" >&6; }
7809 else
7810   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7811 $as_echo "no" >&6; }
7812 fi
7813
7814
7815
7816
7817
7818 if test -z "$lt_cv_path_MAGIC_CMD"; then
7819   if test -n "$ac_tool_prefix"; then
7820     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7821 $as_echo_n "checking for file... " >&6; }
7822 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7823   $as_echo_n "(cached) " >&6
7824 else
7825   case $MAGIC_CMD in
7826 [\\/*] |  ?:[\\/]*)
7827   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7828   ;;
7829 *)
7830   lt_save_MAGIC_CMD="$MAGIC_CMD"
7831   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7832   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7833   for ac_dir in $ac_dummy; do
7834     IFS="$lt_save_ifs"
7835     test -z "$ac_dir" && ac_dir=.
7836     if test -f $ac_dir/file; then
7837       lt_cv_path_MAGIC_CMD="$ac_dir/file"
7838       if test -n "$file_magic_test_file"; then
7839         case $deplibs_check_method in
7840         "file_magic "*)
7841           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7842           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7843           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7844             $EGREP "$file_magic_regex" > /dev/null; then
7845             :
7846           else
7847             cat <<_LT_EOF 1>&2
7848
7849 *** Warning: the command libtool uses to detect shared libraries,
7850 *** $file_magic_cmd, produces output that libtool cannot recognize.
7851 *** The result is that libtool may fail to recognize shared libraries
7852 *** as such.  This will affect the creation of libtool libraries that
7853 *** depend on shared libraries, but programs linked with such libtool
7854 *** libraries will work regardless of this problem.  Nevertheless, you
7855 *** may want to report the problem to your system manager and/or to
7856 *** bug-libtool@gnu.org
7857
7858 _LT_EOF
7859           fi ;;
7860         esac
7861       fi
7862       break
7863     fi
7864   done
7865   IFS="$lt_save_ifs"
7866   MAGIC_CMD="$lt_save_MAGIC_CMD"
7867   ;;
7868 esac
7869 fi
7870
7871 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7872 if test -n "$MAGIC_CMD"; then
7873   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7874 $as_echo "$MAGIC_CMD" >&6; }
7875 else
7876   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7877 $as_echo "no" >&6; }
7878 fi
7879
7880
7881   else
7882     MAGIC_CMD=:
7883   fi
7884 fi
7885
7886   fi
7887   ;;
7888 esac
7889
7890 # Use C for the default configuration in the libtool script
7891
7892 lt_save_CC="$CC"
7893 ac_ext=c
7894 ac_cpp='$CPP $CPPFLAGS'
7895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7898
7899
7900 # Source file extension for C test sources.
7901 ac_ext=c
7902
7903 # Object file extension for compiled C test sources.
7904 objext=o
7905 objext=$objext
7906
7907 # Code to be used in simple compile tests
7908 lt_simple_compile_test_code="int some_variable = 0;"
7909
7910 # Code to be used in simple link tests
7911 lt_simple_link_test_code='int main(){return(0);}'
7912
7913
7914
7915
7916
7917
7918
7919 # If no C compiler was specified, use CC.
7920 LTCC=${LTCC-"$CC"}
7921
7922 # If no C compiler flags were specified, use CFLAGS.
7923 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7924
7925 # Allow CC to be a program name with arguments.
7926 compiler=$CC
7927
7928 # Save the default compiler, since it gets overwritten when the other
7929 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7930 compiler_DEFAULT=$CC
7931
7932 # save warnings/boilerplate of simple test code
7933 ac_outfile=conftest.$ac_objext
7934 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7935 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7936 _lt_compiler_boilerplate=`cat conftest.err`
7937 $RM conftest*
7938
7939 ac_outfile=conftest.$ac_objext
7940 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7941 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7942 _lt_linker_boilerplate=`cat conftest.err`
7943 $RM -r conftest*
7944
7945
7946 ## CAVEAT EMPTOR:
7947 ## There is no encapsulation within the following macros, do not change
7948 ## the running order or otherwise move them around unless you know exactly
7949 ## what you are doing...
7950 if test -n "$compiler"; then
7951
7952 lt_prog_compiler_no_builtin_flag=
7953
7954 if test "$GCC" = yes; then
7955   case $cc_basename in
7956   nvcc*)
7957     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7958   *)
7959     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7960   esac
7961
7962   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7963 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7964 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7965   $as_echo_n "(cached) " >&6
7966 else
7967   lt_cv_prog_compiler_rtti_exceptions=no
7968    ac_outfile=conftest.$ac_objext
7969    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7970    lt_compiler_flag="-fno-rtti -fno-exceptions"
7971    # Insert the option either (1) after the last *FLAGS variable, or
7972    # (2) before a word containing "conftest.", or (3) at the end.
7973    # Note that $ac_compile itself does not contain backslashes and begins
7974    # with a dollar sign (not a hyphen), so the echo should work correctly.
7975    # The option is referenced via a variable to avoid confusing sed.
7976    lt_compile=`echo "$ac_compile" | $SED \
7977    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7978    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7979    -e 's:$: $lt_compiler_flag:'`
7980    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7981    (eval "$lt_compile" 2>conftest.err)
7982    ac_status=$?
7983    cat conftest.err >&5
7984    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7985    if (exit $ac_status) && test -s "$ac_outfile"; then
7986      # The compiler can only warn and ignore the option if not recognized
7987      # So say no if there are warnings other than the usual output.
7988      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7989      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7990      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7991        lt_cv_prog_compiler_rtti_exceptions=yes
7992      fi
7993    fi
7994    $RM conftest*
7995
7996 fi
7997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7998 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7999
8000 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8001     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8002 else
8003     :
8004 fi
8005
8006 fi
8007
8008
8009
8010
8011
8012
8013   lt_prog_compiler_wl=
8014 lt_prog_compiler_pic=
8015 lt_prog_compiler_static=
8016
8017
8018   if test "$GCC" = yes; then
8019     lt_prog_compiler_wl='-Wl,'
8020     lt_prog_compiler_static='-static'
8021
8022     case $host_os in
8023       aix*)
8024       # All AIX code is PIC.
8025       if test "$host_cpu" = ia64; then
8026         # AIX 5 now supports IA64 processor
8027         lt_prog_compiler_static='-Bstatic'
8028       fi
8029       ;;
8030
8031     amigaos*)
8032       case $host_cpu in
8033       powerpc)
8034             # see comment about AmigaOS4 .so support
8035             lt_prog_compiler_pic='-fPIC'
8036         ;;
8037       m68k)
8038             # FIXME: we need at least 68020 code to build shared libraries, but
8039             # adding the `-m68020' flag to GCC prevents building anything better,
8040             # like `-m68040'.
8041             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8042         ;;
8043       esac
8044       ;;
8045
8046     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8047       # PIC is the default for these OSes.
8048       ;;
8049
8050     mingw* | cygwin* | pw32* | os2* | cegcc*)
8051       # This hack is so that the source file can tell whether it is being
8052       # built for inclusion in a dll (and should export symbols for example).
8053       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8054       # (--disable-auto-import) libraries
8055       lt_prog_compiler_pic='-DDLL_EXPORT'
8056       ;;
8057
8058     darwin* | rhapsody*)
8059       # PIC is the default on this platform
8060       # Common symbols not allowed in MH_DYLIB files
8061       lt_prog_compiler_pic='-fno-common'
8062       ;;
8063
8064     haiku*)
8065       # PIC is the default for Haiku.
8066       # The "-static" flag exists, but is broken.
8067       lt_prog_compiler_static=
8068       ;;
8069
8070     hpux*)
8071       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8072       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8073       # sets the default TLS model and affects inlining.
8074       case $host_cpu in
8075       hppa*64*)
8076         # +Z the default
8077         ;;
8078       *)
8079         lt_prog_compiler_pic='-fPIC'
8080         ;;
8081       esac
8082       ;;
8083
8084     interix[3-9]*)
8085       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8086       # Instead, we relocate shared libraries at runtime.
8087       ;;
8088
8089     msdosdjgpp*)
8090       # Just because we use GCC doesn't mean we suddenly get shared libraries
8091       # on systems that don't support them.
8092       lt_prog_compiler_can_build_shared=no
8093       enable_shared=no
8094       ;;
8095
8096     *nto* | *qnx*)
8097       # QNX uses GNU C++, but need to define -shared option too, otherwise
8098       # it will coredump.
8099       lt_prog_compiler_pic='-fPIC -shared'
8100       ;;
8101
8102     sysv4*MP*)
8103       if test -d /usr/nec; then
8104         lt_prog_compiler_pic=-Kconform_pic
8105       fi
8106       ;;
8107
8108     *)
8109       lt_prog_compiler_pic='-fPIC'
8110       ;;
8111     esac
8112
8113     case $cc_basename in
8114     nvcc*) # Cuda Compiler Driver 2.2
8115       lt_prog_compiler_wl='-Xlinker '
8116       if test -n "$lt_prog_compiler_pic"; then
8117         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8118       fi
8119       ;;
8120     esac
8121   else
8122     # PORTME Check for flag to pass linker flags through the system compiler.
8123     case $host_os in
8124     aix*)
8125       lt_prog_compiler_wl='-Wl,'
8126       if test "$host_cpu" = ia64; then
8127         # AIX 5 now supports IA64 processor
8128         lt_prog_compiler_static='-Bstatic'
8129       else
8130         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8131       fi
8132       ;;
8133
8134     mingw* | cygwin* | pw32* | os2* | cegcc*)
8135       # This hack is so that the source file can tell whether it is being
8136       # built for inclusion in a dll (and should export symbols for example).
8137       lt_prog_compiler_pic='-DDLL_EXPORT'
8138       ;;
8139
8140     hpux9* | hpux10* | hpux11*)
8141       lt_prog_compiler_wl='-Wl,'
8142       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8143       # not for PA HP-UX.
8144       case $host_cpu in
8145       hppa*64*|ia64*)
8146         # +Z the default
8147         ;;
8148       *)
8149         lt_prog_compiler_pic='+Z'
8150         ;;
8151       esac
8152       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8153       lt_prog_compiler_static='${wl}-a ${wl}archive'
8154       ;;
8155
8156     irix5* | irix6* | nonstopux*)
8157       lt_prog_compiler_wl='-Wl,'
8158       # PIC (with -KPIC) is the default.
8159       lt_prog_compiler_static='-non_shared'
8160       ;;
8161
8162     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8163       case $cc_basename in
8164       # old Intel for x86_64 which still supported -KPIC.
8165       ecc*)
8166         lt_prog_compiler_wl='-Wl,'
8167         lt_prog_compiler_pic='-KPIC'
8168         lt_prog_compiler_static='-static'
8169         ;;
8170       # icc used to be incompatible with GCC.
8171       # ICC 10 doesn't accept -KPIC any more.
8172       icc* | ifort*)
8173         lt_prog_compiler_wl='-Wl,'
8174         lt_prog_compiler_pic='-fPIC'
8175         lt_prog_compiler_static='-static'
8176         ;;
8177       # Lahey Fortran 8.1.
8178       lf95*)
8179         lt_prog_compiler_wl='-Wl,'
8180         lt_prog_compiler_pic='--shared'
8181         lt_prog_compiler_static='--static'
8182         ;;
8183       nagfor*)
8184         # NAG Fortran compiler
8185         lt_prog_compiler_wl='-Wl,-Wl,,'
8186         lt_prog_compiler_pic='-PIC'
8187         lt_prog_compiler_static='-Bstatic'
8188         ;;
8189       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8190         # Portland Group compilers (*not* the Pentium gcc compiler,
8191         # which looks to be a dead project)
8192         lt_prog_compiler_wl='-Wl,'
8193         lt_prog_compiler_pic='-fpic'
8194         lt_prog_compiler_static='-Bstatic'
8195         ;;
8196       ccc*)
8197         lt_prog_compiler_wl='-Wl,'
8198         # All Alpha code is PIC.
8199         lt_prog_compiler_static='-non_shared'
8200         ;;
8201       xl* | bgxl* | bgf* | mpixl*)
8202         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8203         lt_prog_compiler_wl='-Wl,'
8204         lt_prog_compiler_pic='-qpic'
8205         lt_prog_compiler_static='-qstaticlink'
8206         ;;
8207       *)
8208         case `$CC -V 2>&1 | sed 5q` in
8209         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8210           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8211           lt_prog_compiler_pic='-KPIC'
8212           lt_prog_compiler_static='-Bstatic'
8213           lt_prog_compiler_wl=''
8214           ;;
8215         *Sun\ F* | *Sun*Fortran*)
8216           lt_prog_compiler_pic='-KPIC'
8217           lt_prog_compiler_static='-Bstatic'
8218           lt_prog_compiler_wl='-Qoption ld '
8219           ;;
8220         *Sun\ C*)
8221           # Sun C 5.9
8222           lt_prog_compiler_pic='-KPIC'
8223           lt_prog_compiler_static='-Bstatic'
8224           lt_prog_compiler_wl='-Wl,'
8225           ;;
8226         *Intel*\ [CF]*Compiler*)
8227           lt_prog_compiler_wl='-Wl,'
8228           lt_prog_compiler_pic='-fPIC'
8229           lt_prog_compiler_static='-static'
8230           ;;
8231         *Portland\ Group*)
8232           lt_prog_compiler_wl='-Wl,'
8233           lt_prog_compiler_pic='-fpic'
8234           lt_prog_compiler_static='-Bstatic'
8235           ;;
8236         esac
8237         ;;
8238       esac
8239       ;;
8240
8241     newsos6)
8242       lt_prog_compiler_pic='-KPIC'
8243       lt_prog_compiler_static='-Bstatic'
8244       ;;
8245
8246     *nto* | *qnx*)
8247       # QNX uses GNU C++, but need to define -shared option too, otherwise
8248       # it will coredump.
8249       lt_prog_compiler_pic='-fPIC -shared'
8250       ;;
8251
8252     osf3* | osf4* | osf5*)
8253       lt_prog_compiler_wl='-Wl,'
8254       # All OSF/1 code is PIC.
8255       lt_prog_compiler_static='-non_shared'
8256       ;;
8257
8258     rdos*)
8259       lt_prog_compiler_static='-non_shared'
8260       ;;
8261
8262     solaris*)
8263       lt_prog_compiler_pic='-KPIC'
8264       lt_prog_compiler_static='-Bstatic'
8265       case $cc_basename in
8266       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8267         lt_prog_compiler_wl='-Qoption ld ';;
8268       *)
8269         lt_prog_compiler_wl='-Wl,';;
8270       esac
8271       ;;
8272
8273     sunos4*)
8274       lt_prog_compiler_wl='-Qoption ld '
8275       lt_prog_compiler_pic='-PIC'
8276       lt_prog_compiler_static='-Bstatic'
8277       ;;
8278
8279     sysv4 | sysv4.2uw2* | sysv4.3*)
8280       lt_prog_compiler_wl='-Wl,'
8281       lt_prog_compiler_pic='-KPIC'
8282       lt_prog_compiler_static='-Bstatic'
8283       ;;
8284
8285     sysv4*MP*)
8286       if test -d /usr/nec ;then
8287         lt_prog_compiler_pic='-Kconform_pic'
8288         lt_prog_compiler_static='-Bstatic'
8289       fi
8290       ;;
8291
8292     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8293       lt_prog_compiler_wl='-Wl,'
8294       lt_prog_compiler_pic='-KPIC'
8295       lt_prog_compiler_static='-Bstatic'
8296       ;;
8297
8298     unicos*)
8299       lt_prog_compiler_wl='-Wl,'
8300       lt_prog_compiler_can_build_shared=no
8301       ;;
8302
8303     uts4*)
8304       lt_prog_compiler_pic='-pic'
8305       lt_prog_compiler_static='-Bstatic'
8306       ;;
8307
8308     *)
8309       lt_prog_compiler_can_build_shared=no
8310       ;;
8311     esac
8312   fi
8313
8314 case $host_os in
8315   # For platforms which do not support PIC, -DPIC is meaningless:
8316   *djgpp*)
8317     lt_prog_compiler_pic=
8318     ;;
8319   *)
8320     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8321     ;;
8322 esac
8323
8324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8325 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8326 if ${lt_cv_prog_compiler_pic+:} false; then :
8327   $as_echo_n "(cached) " >&6
8328 else
8329   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8330 fi
8331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8332 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8333 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8334
8335 #
8336 # Check to make sure the PIC flag actually works.
8337 #
8338 if test -n "$lt_prog_compiler_pic"; then
8339   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8340 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8341 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8342   $as_echo_n "(cached) " >&6
8343 else
8344   lt_cv_prog_compiler_pic_works=no
8345    ac_outfile=conftest.$ac_objext
8346    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8347    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8348    # Insert the option either (1) after the last *FLAGS variable, or
8349    # (2) before a word containing "conftest.", or (3) at the end.
8350    # Note that $ac_compile itself does not contain backslashes and begins
8351    # with a dollar sign (not a hyphen), so the echo should work correctly.
8352    # The option is referenced via a variable to avoid confusing sed.
8353    lt_compile=`echo "$ac_compile" | $SED \
8354    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8355    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8356    -e 's:$: $lt_compiler_flag:'`
8357    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8358    (eval "$lt_compile" 2>conftest.err)
8359    ac_status=$?
8360    cat conftest.err >&5
8361    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8362    if (exit $ac_status) && test -s "$ac_outfile"; then
8363      # The compiler can only warn and ignore the option if not recognized
8364      # So say no if there are warnings other than the usual output.
8365      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8366      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8367      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8368        lt_cv_prog_compiler_pic_works=yes
8369      fi
8370    fi
8371    $RM conftest*
8372
8373 fi
8374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8375 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8376
8377 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8378     case $lt_prog_compiler_pic in
8379      "" | " "*) ;;
8380      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8381      esac
8382 else
8383     lt_prog_compiler_pic=
8384      lt_prog_compiler_can_build_shared=no
8385 fi
8386
8387 fi
8388
8389
8390
8391
8392
8393
8394
8395
8396
8397
8398
8399 #
8400 # Check to make sure the static flag actually works.
8401 #
8402 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8404 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8405 if ${lt_cv_prog_compiler_static_works+:} false; then :
8406   $as_echo_n "(cached) " >&6
8407 else
8408   lt_cv_prog_compiler_static_works=no
8409    save_LDFLAGS="$LDFLAGS"
8410    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8411    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8412    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8413      # The linker can only warn and ignore the option if not recognized
8414      # So say no if there are warnings
8415      if test -s conftest.err; then
8416        # Append any errors to the config.log.
8417        cat conftest.err 1>&5
8418        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8419        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8420        if diff conftest.exp conftest.er2 >/dev/null; then
8421          lt_cv_prog_compiler_static_works=yes
8422        fi
8423      else
8424        lt_cv_prog_compiler_static_works=yes
8425      fi
8426    fi
8427    $RM -r conftest*
8428    LDFLAGS="$save_LDFLAGS"
8429
8430 fi
8431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8432 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8433
8434 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8435     :
8436 else
8437     lt_prog_compiler_static=
8438 fi
8439
8440
8441
8442
8443
8444
8445
8446   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8447 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8448 if ${lt_cv_prog_compiler_c_o+:} false; then :
8449   $as_echo_n "(cached) " >&6
8450 else
8451   lt_cv_prog_compiler_c_o=no
8452    $RM -r conftest 2>/dev/null
8453    mkdir conftest
8454    cd conftest
8455    mkdir out
8456    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8457
8458    lt_compiler_flag="-o out/conftest2.$ac_objext"
8459    # Insert the option either (1) after the last *FLAGS variable, or
8460    # (2) before a word containing "conftest.", or (3) at the end.
8461    # Note that $ac_compile itself does not contain backslashes and begins
8462    # with a dollar sign (not a hyphen), so the echo should work correctly.
8463    lt_compile=`echo "$ac_compile" | $SED \
8464    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8465    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8466    -e 's:$: $lt_compiler_flag:'`
8467    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8468    (eval "$lt_compile" 2>out/conftest.err)
8469    ac_status=$?
8470    cat out/conftest.err >&5
8471    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8472    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8473    then
8474      # The compiler can only warn and ignore the option if not recognized
8475      # So say no if there are warnings
8476      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8477      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8478      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8479        lt_cv_prog_compiler_c_o=yes
8480      fi
8481    fi
8482    chmod u+w . 2>&5
8483    $RM conftest*
8484    # SGI C++ compiler will create directory out/ii_files/ for
8485    # template instantiation
8486    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8487    $RM out/* && rmdir out
8488    cd ..
8489    $RM -r conftest
8490    $RM conftest*
8491
8492 fi
8493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8494 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8495
8496
8497
8498
8499
8500
8501   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8502 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8503 if ${lt_cv_prog_compiler_c_o+:} false; then :
8504   $as_echo_n "(cached) " >&6
8505 else
8506   lt_cv_prog_compiler_c_o=no
8507    $RM -r conftest 2>/dev/null
8508    mkdir conftest
8509    cd conftest
8510    mkdir out
8511    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8512
8513    lt_compiler_flag="-o out/conftest2.$ac_objext"
8514    # Insert the option either (1) after the last *FLAGS variable, or
8515    # (2) before a word containing "conftest.", or (3) at the end.
8516    # Note that $ac_compile itself does not contain backslashes and begins
8517    # with a dollar sign (not a hyphen), so the echo should work correctly.
8518    lt_compile=`echo "$ac_compile" | $SED \
8519    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8520    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8521    -e 's:$: $lt_compiler_flag:'`
8522    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8523    (eval "$lt_compile" 2>out/conftest.err)
8524    ac_status=$?
8525    cat out/conftest.err >&5
8526    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8527    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8528    then
8529      # The compiler can only warn and ignore the option if not recognized
8530      # So say no if there are warnings
8531      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8532      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8533      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8534        lt_cv_prog_compiler_c_o=yes
8535      fi
8536    fi
8537    chmod u+w . 2>&5
8538    $RM conftest*
8539    # SGI C++ compiler will create directory out/ii_files/ for
8540    # template instantiation
8541    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8542    $RM out/* && rmdir out
8543    cd ..
8544    $RM -r conftest
8545    $RM conftest*
8546
8547 fi
8548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8549 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8550
8551
8552
8553
8554 hard_links="nottested"
8555 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8556   # do not overwrite the value of need_locks provided by the user
8557   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8558 $as_echo_n "checking if we can lock with hard links... " >&6; }
8559   hard_links=yes
8560   $RM conftest*
8561   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8562   touch conftest.a
8563   ln conftest.a conftest.b 2>&5 || hard_links=no
8564   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8565   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8566 $as_echo "$hard_links" >&6; }
8567   if test "$hard_links" = no; then
8568     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8569 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8570     need_locks=warn
8571   fi
8572 else
8573   need_locks=no
8574 fi
8575
8576
8577
8578
8579
8580
8581   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8582 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8583
8584   runpath_var=
8585   allow_undefined_flag=
8586   always_export_symbols=no
8587   archive_cmds=
8588   archive_expsym_cmds=
8589   compiler_needs_object=no
8590   enable_shared_with_static_runtimes=no
8591   export_dynamic_flag_spec=
8592   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8593   hardcode_automatic=no
8594   hardcode_direct=no
8595   hardcode_direct_absolute=no
8596   hardcode_libdir_flag_spec=
8597   hardcode_libdir_separator=
8598   hardcode_minus_L=no
8599   hardcode_shlibpath_var=unsupported
8600   inherit_rpath=no
8601   link_all_deplibs=unknown
8602   module_cmds=
8603   module_expsym_cmds=
8604   old_archive_from_new_cmds=
8605   old_archive_from_expsyms_cmds=
8606   thread_safe_flag_spec=
8607   whole_archive_flag_spec=
8608   # include_expsyms should be a list of space-separated symbols to be *always*
8609   # included in the symbol list
8610   include_expsyms=
8611   # exclude_expsyms can be an extended regexp of symbols to exclude
8612   # it will be wrapped by ` (' and `)$', so one must not match beginning or
8613   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8614   # as well as any symbol that contains `d'.
8615   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8616   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8617   # platforms (ab)use it in PIC code, but their linkers get confused if
8618   # the symbol is explicitly referenced.  Since portable code cannot
8619   # rely on this symbol name, it's probably fine to never include it in
8620   # preloaded symbol tables.
8621   # Exclude shared library initialization/finalization symbols.
8622   extract_expsyms_cmds=
8623
8624   case $host_os in
8625   cygwin* | mingw* | pw32* | cegcc*)
8626     # FIXME: the MSVC++ port hasn't been tested in a loooong time
8627     # When not using gcc, we currently assume that we are using
8628     # Microsoft Visual C++.
8629     if test "$GCC" != yes; then
8630       with_gnu_ld=no
8631     fi
8632     ;;
8633   interix*)
8634     # we just hope/assume this is gcc and not c89 (= MSVC++)
8635     with_gnu_ld=yes
8636     ;;
8637   openbsd*)
8638     with_gnu_ld=no
8639     ;;
8640   linux* | k*bsd*-gnu | gnu*)
8641     link_all_deplibs=no
8642     ;;
8643   esac
8644
8645   ld_shlibs=yes
8646
8647   # On some targets, GNU ld is compatible enough with the native linker
8648   # that we're better off using the native interface for both.
8649   lt_use_gnu_ld_interface=no
8650   if test "$with_gnu_ld" = yes; then
8651     case $host_os in
8652       aix*)
8653         # The AIX port of GNU ld has always aspired to compatibility
8654         # with the native linker.  However, as the warning in the GNU ld
8655         # block says, versions before 2.19.5* couldn't really create working
8656         # shared libraries, regardless of the interface used.
8657         case `$LD -v 2>&1` in
8658           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8659           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8660           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8661           *)
8662             lt_use_gnu_ld_interface=yes
8663             ;;
8664         esac
8665         ;;
8666       *)
8667         lt_use_gnu_ld_interface=yes
8668         ;;
8669     esac
8670   fi
8671
8672   if test "$lt_use_gnu_ld_interface" = yes; then
8673     # If archive_cmds runs LD, not CC, wlarc should be empty
8674     wlarc='${wl}'
8675
8676     # Set some defaults for GNU ld with shared library support. These
8677     # are reset later if shared libraries are not supported. Putting them
8678     # here allows them to be overridden if necessary.
8679     runpath_var=LD_RUN_PATH
8680     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8681     export_dynamic_flag_spec='${wl}--export-dynamic'
8682     # ancient GNU ld didn't support --whole-archive et. al.
8683     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8684       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8685     else
8686       whole_archive_flag_spec=
8687     fi
8688     supports_anon_versioning=no
8689     case `$LD -v 2>&1` in
8690       *GNU\ gold*) supports_anon_versioning=yes ;;
8691       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8692       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8693       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8694       *\ 2.11.*) ;; # other 2.11 versions
8695       *) supports_anon_versioning=yes ;;
8696     esac
8697
8698     # See if GNU ld supports shared libraries.
8699     case $host_os in
8700     aix[3-9]*)
8701       # On AIX/PPC, the GNU linker is very broken
8702       if test "$host_cpu" != ia64; then
8703         ld_shlibs=no
8704         cat <<_LT_EOF 1>&2
8705
8706 *** Warning: the GNU linker, at least up to release 2.19, is reported
8707 *** to be unable to reliably create shared libraries on AIX.
8708 *** Therefore, libtool is disabling shared libraries support.  If you
8709 *** really care for shared libraries, you may want to install binutils
8710 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8711 *** You will then need to restart the configuration process.
8712
8713 _LT_EOF
8714       fi
8715       ;;
8716
8717     amigaos*)
8718       case $host_cpu in
8719       powerpc)
8720             # see comment about AmigaOS4 .so support
8721             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8722             archive_expsym_cmds=''
8723         ;;
8724       m68k)
8725             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)'
8726             hardcode_libdir_flag_spec='-L$libdir'
8727             hardcode_minus_L=yes
8728         ;;
8729       esac
8730       ;;
8731
8732     beos*)
8733       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8734         allow_undefined_flag=unsupported
8735         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8736         # support --undefined.  This deserves some investigation.  FIXME
8737         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8738       else
8739         ld_shlibs=no
8740       fi
8741       ;;
8742
8743     cygwin* | mingw* | pw32* | cegcc*)
8744       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8745       # as there is no search path for DLLs.
8746       hardcode_libdir_flag_spec='-L$libdir'
8747       export_dynamic_flag_spec='${wl}--export-all-symbols'
8748       allow_undefined_flag=unsupported
8749       always_export_symbols=no
8750       enable_shared_with_static_runtimes=yes
8751       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'
8752       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8753
8754       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8755         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8756         # If the export-symbols file already is a .def file (1st line
8757         # is EXPORTS), use it as is; otherwise, prepend...
8758         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8759           cp $export_symbols $output_objdir/$soname.def;
8760         else
8761           echo EXPORTS > $output_objdir/$soname.def;
8762           cat $export_symbols >> $output_objdir/$soname.def;
8763         fi~
8764         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8765       else
8766         ld_shlibs=no
8767       fi
8768       ;;
8769
8770     haiku*)
8771       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8772       link_all_deplibs=yes
8773       ;;
8774
8775     interix[3-9]*)
8776       hardcode_direct=no
8777       hardcode_shlibpath_var=no
8778       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8779       export_dynamic_flag_spec='${wl}-E'
8780       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8781       # Instead, shared libraries are loaded at an image base (0x10000000 by
8782       # default) and relocated if they conflict, which is a slow very memory
8783       # consuming and fragmenting process.  To avoid this, we pick a random,
8784       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8785       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
8786       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8787       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'
8788       ;;
8789
8790     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8791       tmp_diet=no
8792       if test "$host_os" = linux-dietlibc; then
8793         case $cc_basename in
8794           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
8795         esac
8796       fi
8797       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8798          && test "$tmp_diet" = no
8799       then
8800         tmp_addflag=' $pic_flag'
8801         tmp_sharedflag='-shared'
8802         case $cc_basename,$host_cpu in
8803         pgcc*)                          # Portland Group C compiler
8804           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'
8805           tmp_addflag=' $pic_flag'
8806           ;;
8807         pgf77* | pgf90* | pgf95* | pgfortran*)
8808                                         # Portland Group f77 and f90 compilers
8809           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'
8810           tmp_addflag=' $pic_flag -Mnomain' ;;
8811         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
8812           tmp_addflag=' -i_dynamic' ;;
8813         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
8814           tmp_addflag=' -i_dynamic -nofor_main' ;;
8815         ifc* | ifort*)                  # Intel Fortran compiler
8816           tmp_addflag=' -nofor_main' ;;
8817         lf95*)                          # Lahey Fortran 8.1
8818           whole_archive_flag_spec=
8819           tmp_sharedflag='--shared' ;;
8820         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8821           tmp_sharedflag='-qmkshrobj'
8822           tmp_addflag= ;;
8823         nvcc*)  # Cuda Compiler Driver 2.2
8824           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'
8825           compiler_needs_object=yes
8826           ;;
8827         esac
8828         case `$CC -V 2>&1 | sed 5q` in
8829         *Sun\ C*)                       # Sun C 5.9
8830           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'
8831           compiler_needs_object=yes
8832           tmp_sharedflag='-G' ;;
8833         *Sun\ F*)                       # Sun Fortran 8.3
8834           tmp_sharedflag='-G' ;;
8835         esac
8836         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8837
8838         if test "x$supports_anon_versioning" = xyes; then
8839           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8840             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8841             echo "local: *; };" >> $output_objdir/$libname.ver~
8842             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8843         fi
8844
8845         case $cc_basename in
8846         xlf* | bgf* | bgxlf* | mpixlf*)
8847           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8848           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8849           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8850           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8851           if test "x$supports_anon_versioning" = xyes; then
8852             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8853               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8854               echo "local: *; };" >> $output_objdir/$libname.ver~
8855               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8856           fi
8857           ;;
8858         esac
8859       else
8860         ld_shlibs=no
8861       fi
8862       ;;
8863
8864     netbsd* | netbsdelf*-gnu)
8865       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8866         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8867         wlarc=
8868       else
8869         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8870         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8871       fi
8872       ;;
8873
8874     solaris*)
8875       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8876         ld_shlibs=no
8877         cat <<_LT_EOF 1>&2
8878
8879 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8880 *** create shared libraries on Solaris systems.  Therefore, libtool
8881 *** is disabling shared libraries support.  We urge you to upgrade GNU
8882 *** binutils to release 2.9.1 or newer.  Another option is to modify
8883 *** your PATH or compiler configuration so that the native linker is
8884 *** used, and then restart.
8885
8886 _LT_EOF
8887       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8888         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8889         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8890       else
8891         ld_shlibs=no
8892       fi
8893       ;;
8894
8895     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8896       case `$LD -v 2>&1` in
8897         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8898         ld_shlibs=no
8899         cat <<_LT_EOF 1>&2
8900
8901 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8902 *** reliably create shared libraries on SCO systems.  Therefore, libtool
8903 *** is disabling shared libraries support.  We urge you to upgrade GNU
8904 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
8905 *** your PATH or compiler configuration so that the native linker is
8906 *** used, and then restart.
8907
8908 _LT_EOF
8909         ;;
8910         *)
8911           # For security reasons, it is highly recommended that you always
8912           # use absolute paths for naming shared libraries, and exclude the
8913           # DT_RUNPATH tag from executables and libraries.  But doing so
8914           # requires that you compile everything twice, which is a pain.
8915           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8916             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8917             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8918             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8919           else
8920             ld_shlibs=no
8921           fi
8922         ;;
8923       esac
8924       ;;
8925
8926     sunos4*)
8927       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8928       wlarc=
8929       hardcode_direct=yes
8930       hardcode_shlibpath_var=no
8931       ;;
8932
8933     *)
8934       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8935         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8936         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8937       else
8938         ld_shlibs=no
8939       fi
8940       ;;
8941     esac
8942
8943     if test "$ld_shlibs" = no; then
8944       runpath_var=
8945       hardcode_libdir_flag_spec=
8946       export_dynamic_flag_spec=
8947       whole_archive_flag_spec=
8948     fi
8949   else
8950     # PORTME fill in a description of your system's linker (not GNU ld)
8951     case $host_os in
8952     aix3*)
8953       allow_undefined_flag=unsupported
8954       always_export_symbols=yes
8955       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'
8956       # Note: this linker hardcodes the directories in LIBPATH if there
8957       # are no directories specified by -L.
8958       hardcode_minus_L=yes
8959       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8960         # Neither direct hardcoding nor static linking is supported with a
8961         # broken collect2.
8962         hardcode_direct=unsupported
8963       fi
8964       ;;
8965
8966     aix[4-9]*)
8967       if test "$host_cpu" = ia64; then
8968         # On IA64, the linker does run time linking by default, so we don't
8969         # have to do anything special.
8970         aix_use_runtimelinking=no
8971         exp_sym_flag='-Bexport'
8972         no_entry_flag=""
8973       else
8974         # If we're using GNU nm, then we don't want the "-C" option.
8975         # -C means demangle to AIX nm, but means don't demangle with GNU nm
8976         # Also, AIX nm treats weak defined symbols like other global
8977         # defined symbols, whereas GNU nm marks them as "W".
8978         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8979           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'
8980         else
8981           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'
8982         fi
8983         aix_use_runtimelinking=no
8984
8985         # Test if we are trying to use run time linking or normal
8986         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8987         # need to do runtime linking.
8988         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8989           for ld_flag in $LDFLAGS; do
8990           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8991             aix_use_runtimelinking=yes
8992             break
8993           fi
8994           done
8995           ;;
8996         esac
8997
8998         exp_sym_flag='-bexport'
8999         no_entry_flag='-bnoentry'
9000       fi
9001
9002       # When large executables or shared objects are built, AIX ld can
9003       # have problems creating the table of contents.  If linking a library
9004       # or program results in "error TOC overflow" add -mminimal-toc to
9005       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9006       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9007
9008       archive_cmds=''
9009       hardcode_direct=yes
9010       hardcode_direct_absolute=yes
9011       hardcode_libdir_separator=':'
9012       link_all_deplibs=yes
9013       file_list_spec='${wl}-f,'
9014
9015       if test "$GCC" = yes; then
9016         case $host_os in aix4.[012]|aix4.[012].*)
9017         # We only want to do this on AIX 4.2 and lower, the check
9018         # below for broken collect2 doesn't work under 4.3+
9019           collect2name=`${CC} -print-prog-name=collect2`
9020           if test -f "$collect2name" &&
9021            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9022           then
9023           # We have reworked collect2
9024           :
9025           else
9026           # We have old collect2
9027           hardcode_direct=unsupported
9028           # It fails to find uninstalled libraries when the uninstalled
9029           # path is not listed in the libpath.  Setting hardcode_minus_L
9030           # to unsupported forces relinking
9031           hardcode_minus_L=yes
9032           hardcode_libdir_flag_spec='-L$libdir'
9033           hardcode_libdir_separator=
9034           fi
9035           ;;
9036         esac
9037         shared_flag='-shared'
9038         if test "$aix_use_runtimelinking" = yes; then
9039           shared_flag="$shared_flag "'${wl}-G'
9040         fi
9041         link_all_deplibs=no
9042       else
9043         # not using gcc
9044         if test "$host_cpu" = ia64; then
9045         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9046         # chokes on -Wl,-G. The following line is correct:
9047           shared_flag='-G'
9048         else
9049           if test "$aix_use_runtimelinking" = yes; then
9050             shared_flag='${wl}-G'
9051           else
9052             shared_flag='${wl}-bM:SRE'
9053           fi
9054         fi
9055       fi
9056
9057       export_dynamic_flag_spec='${wl}-bexpall'
9058       # It seems that -bexpall does not export symbols beginning with
9059       # underscore (_), so it is better to generate a list of symbols to export.
9060       always_export_symbols=yes
9061       if test "$aix_use_runtimelinking" = yes; then
9062         # Warning - without using the other runtime loading flags (-brtl),
9063         # -berok will link without error, but may produce a broken library.
9064         allow_undefined_flag='-berok'
9065         # Determine the default libpath from the value encoded in an
9066         # empty executable.
9067         if test "${lt_cv_aix_libpath+set}" = set; then
9068   aix_libpath=$lt_cv_aix_libpath
9069 else
9070   if ${lt_cv_aix_libpath_+:} false; then :
9071   $as_echo_n "(cached) " >&6
9072 else
9073   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9074 /* end confdefs.h.  */
9075
9076 int
9077 main ()
9078 {
9079
9080   ;
9081   return 0;
9082 }
9083 _ACEOF
9084 if ac_fn_c_try_link "$LINENO"; then :
9085
9086   lt_aix_libpath_sed='
9087       /Import File Strings/,/^$/ {
9088           /^0/ {
9089               s/^0  *\([^ ]*\) *$/\1/
9090               p
9091           }
9092       }'
9093   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9094   # Check for a 64-bit object if we didn't find anything.
9095   if test -z "$lt_cv_aix_libpath_"; then
9096     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9097   fi
9098 fi
9099 rm -f core conftest.err conftest.$ac_objext \
9100     conftest$ac_exeext conftest.$ac_ext
9101   if test -z "$lt_cv_aix_libpath_"; then
9102     lt_cv_aix_libpath_="/usr/lib:/lib"
9103   fi
9104
9105 fi
9106
9107   aix_libpath=$lt_cv_aix_libpath_
9108 fi
9109
9110         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9111         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"
9112       else
9113         if test "$host_cpu" = ia64; then
9114           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9115           allow_undefined_flag="-z nodefs"
9116           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"
9117         else
9118          # Determine the default libpath from the value encoded in an
9119          # empty executable.
9120          if test "${lt_cv_aix_libpath+set}" = set; then
9121   aix_libpath=$lt_cv_aix_libpath
9122 else
9123   if ${lt_cv_aix_libpath_+:} false; then :
9124   $as_echo_n "(cached) " >&6
9125 else
9126   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9127 /* end confdefs.h.  */
9128
9129 int
9130 main ()
9131 {
9132
9133   ;
9134   return 0;
9135 }
9136 _ACEOF
9137 if ac_fn_c_try_link "$LINENO"; then :
9138
9139   lt_aix_libpath_sed='
9140       /Import File Strings/,/^$/ {
9141           /^0/ {
9142               s/^0  *\([^ ]*\) *$/\1/
9143               p
9144           }
9145       }'
9146   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9147   # Check for a 64-bit object if we didn't find anything.
9148   if test -z "$lt_cv_aix_libpath_"; then
9149     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9150   fi
9151 fi
9152 rm -f core conftest.err conftest.$ac_objext \
9153     conftest$ac_exeext conftest.$ac_ext
9154   if test -z "$lt_cv_aix_libpath_"; then
9155     lt_cv_aix_libpath_="/usr/lib:/lib"
9156   fi
9157
9158 fi
9159
9160   aix_libpath=$lt_cv_aix_libpath_
9161 fi
9162
9163          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9164           # Warning - without using the other run time loading flags,
9165           # -berok will link without error, but may produce a broken library.
9166           no_undefined_flag=' ${wl}-bernotok'
9167           allow_undefined_flag=' ${wl}-berok'
9168           if test "$with_gnu_ld" = yes; then
9169             # We only use this code for GNU lds that support --whole-archive.
9170             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9171           else
9172             # Exported symbols can be pulled into shared objects from archives
9173             whole_archive_flag_spec='$convenience'
9174           fi
9175           archive_cmds_need_lc=yes
9176           # This is similar to how AIX traditionally builds its shared libraries.
9177           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'
9178         fi
9179       fi
9180       ;;
9181
9182     amigaos*)
9183       case $host_cpu in
9184       powerpc)
9185             # see comment about AmigaOS4 .so support
9186             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9187             archive_expsym_cmds=''
9188         ;;
9189       m68k)
9190             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)'
9191             hardcode_libdir_flag_spec='-L$libdir'
9192             hardcode_minus_L=yes
9193         ;;
9194       esac
9195       ;;
9196
9197     bsdi[45]*)
9198       export_dynamic_flag_spec=-rdynamic
9199       ;;
9200
9201     cygwin* | mingw* | pw32* | cegcc*)
9202       # When not using gcc, we currently assume that we are using
9203       # Microsoft Visual C++.
9204       # hardcode_libdir_flag_spec is actually meaningless, as there is
9205       # no search path for DLLs.
9206       case $cc_basename in
9207       cl*)
9208         # Native MSVC
9209         hardcode_libdir_flag_spec=' '
9210         allow_undefined_flag=unsupported
9211         always_export_symbols=yes
9212         file_list_spec='@'
9213         # Tell ltmain to make .lib files, not .a files.
9214         libext=lib
9215         # Tell ltmain to make .dll files, not .so files.
9216         shrext_cmds=".dll"
9217         # FIXME: Setting linknames here is a bad hack.
9218         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9219         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9220             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9221           else
9222             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9223           fi~
9224           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9225           linknames='
9226         # The linker will not automatically build a static lib if we build a DLL.
9227         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9228         enable_shared_with_static_runtimes=yes
9229         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9230         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9231         # Don't use ranlib
9232         old_postinstall_cmds='chmod 644 $oldlib'
9233         postlink_cmds='lt_outputfile="@OUTPUT@"~
9234           lt_tool_outputfile="@TOOL_OUTPUT@"~
9235           case $lt_outputfile in
9236             *.exe|*.EXE) ;;
9237             *)
9238               lt_outputfile="$lt_outputfile.exe"
9239               lt_tool_outputfile="$lt_tool_outputfile.exe"
9240               ;;
9241           esac~
9242           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9243             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9244             $RM "$lt_outputfile.manifest";
9245           fi'
9246         ;;
9247       *)
9248         # Assume MSVC wrapper
9249         hardcode_libdir_flag_spec=' '
9250         allow_undefined_flag=unsupported
9251         # Tell ltmain to make .lib files, not .a files.
9252         libext=lib
9253         # Tell ltmain to make .dll files, not .so files.
9254         shrext_cmds=".dll"
9255         # FIXME: Setting linknames here is a bad hack.
9256         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9257         # The linker will automatically build a .lib file if we build a DLL.
9258         old_archive_from_new_cmds='true'
9259         # FIXME: Should let the user specify the lib program.
9260         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9261         enable_shared_with_static_runtimes=yes
9262         ;;
9263       esac
9264       ;;
9265
9266     darwin* | rhapsody*)
9267
9268
9269   archive_cmds_need_lc=no
9270   hardcode_direct=no
9271   hardcode_automatic=yes
9272   hardcode_shlibpath_var=unsupported
9273   if test "$lt_cv_ld_force_load" = "yes"; then
9274     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\"`'
9275
9276   else
9277     whole_archive_flag_spec=''
9278   fi
9279   link_all_deplibs=yes
9280   allow_undefined_flag="$_lt_dar_allow_undefined"
9281   case $cc_basename in
9282      ifort*) _lt_dar_can_shared=yes ;;
9283      *) _lt_dar_can_shared=$GCC ;;
9284   esac
9285   if test "$_lt_dar_can_shared" = "yes"; then
9286     output_verbose_link_cmd=func_echo_all
9287     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9288     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9289     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}"
9290     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}"
9291
9292   else
9293   ld_shlibs=no
9294   fi
9295
9296       ;;
9297
9298     dgux*)
9299       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9300       hardcode_libdir_flag_spec='-L$libdir'
9301       hardcode_shlibpath_var=no
9302       ;;
9303
9304     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9305     # support.  Future versions do this automatically, but an explicit c++rt0.o
9306     # does not break anything, and helps significantly (at the cost of a little
9307     # extra space).
9308     freebsd2.2*)
9309       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9310       hardcode_libdir_flag_spec='-R$libdir'
9311       hardcode_direct=yes
9312       hardcode_shlibpath_var=no
9313       ;;
9314
9315     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9316     freebsd2.*)
9317       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9318       hardcode_direct=yes
9319       hardcode_minus_L=yes
9320       hardcode_shlibpath_var=no
9321       ;;
9322
9323     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9324     freebsd* | dragonfly*)
9325       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9326       hardcode_libdir_flag_spec='-R$libdir'
9327       hardcode_direct=yes
9328       hardcode_shlibpath_var=no
9329       ;;
9330
9331     hpux9*)
9332       if test "$GCC" = yes; then
9333         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'
9334       else
9335         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'
9336       fi
9337       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9338       hardcode_libdir_separator=:
9339       hardcode_direct=yes
9340
9341       # hardcode_minus_L: Not really in the search PATH,
9342       # but as the default location of the library.
9343       hardcode_minus_L=yes
9344       export_dynamic_flag_spec='${wl}-E'
9345       ;;
9346
9347     hpux10*)
9348       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9349         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9350       else
9351         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9352       fi
9353       if test "$with_gnu_ld" = no; then
9354         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9355         hardcode_libdir_separator=:
9356         hardcode_direct=yes
9357         hardcode_direct_absolute=yes
9358         export_dynamic_flag_spec='${wl}-E'
9359         # hardcode_minus_L: Not really in the search PATH,
9360         # but as the default location of the library.
9361         hardcode_minus_L=yes
9362       fi
9363       ;;
9364
9365     hpux11*)
9366       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9367         case $host_cpu in
9368         hppa*64*)
9369           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9370           ;;
9371         ia64*)
9372           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9373           ;;
9374         *)
9375           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9376           ;;
9377         esac
9378       else
9379         case $host_cpu in
9380         hppa*64*)
9381           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9382           ;;
9383         ia64*)
9384           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9385           ;;
9386         *)
9387
9388           # Older versions of the 11.00 compiler do not understand -b yet
9389           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9390           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9391 $as_echo_n "checking if $CC understands -b... " >&6; }
9392 if ${lt_cv_prog_compiler__b+:} false; then :
9393   $as_echo_n "(cached) " >&6
9394 else
9395   lt_cv_prog_compiler__b=no
9396    save_LDFLAGS="$LDFLAGS"
9397    LDFLAGS="$LDFLAGS -b"
9398    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9399    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9400      # The linker can only warn and ignore the option if not recognized
9401      # So say no if there are warnings
9402      if test -s conftest.err; then
9403        # Append any errors to the config.log.
9404        cat conftest.err 1>&5
9405        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9406        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9407        if diff conftest.exp conftest.er2 >/dev/null; then
9408          lt_cv_prog_compiler__b=yes
9409        fi
9410      else
9411        lt_cv_prog_compiler__b=yes
9412      fi
9413    fi
9414    $RM -r conftest*
9415    LDFLAGS="$save_LDFLAGS"
9416
9417 fi
9418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9419 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9420
9421 if test x"$lt_cv_prog_compiler__b" = xyes; then
9422     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9423 else
9424     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9425 fi
9426
9427           ;;
9428         esac
9429       fi
9430       if test "$with_gnu_ld" = no; then
9431         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9432         hardcode_libdir_separator=:
9433
9434         case $host_cpu in
9435         hppa*64*|ia64*)
9436           hardcode_direct=no
9437           hardcode_shlibpath_var=no
9438           ;;
9439         *)
9440           hardcode_direct=yes
9441           hardcode_direct_absolute=yes
9442           export_dynamic_flag_spec='${wl}-E'
9443
9444           # hardcode_minus_L: Not really in the search PATH,
9445           # but as the default location of the library.
9446           hardcode_minus_L=yes
9447           ;;
9448         esac
9449       fi
9450       ;;
9451
9452     irix5* | irix6* | nonstopux*)
9453       if test "$GCC" = yes; then
9454         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'
9455         # Try to use the -exported_symbol ld option, if it does not
9456         # work, assume that -exports_file does not work either and
9457         # implicitly export all symbols.
9458         # This should be the same for all languages, so no per-tag cache variable.
9459         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9460 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9461 if ${lt_cv_irix_exported_symbol+:} false; then :
9462   $as_echo_n "(cached) " >&6
9463 else
9464   save_LDFLAGS="$LDFLAGS"
9465            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9466            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9467 /* end confdefs.h.  */
9468 int foo (void) { return 0; }
9469 _ACEOF
9470 if ac_fn_c_try_link "$LINENO"; then :
9471   lt_cv_irix_exported_symbol=yes
9472 else
9473   lt_cv_irix_exported_symbol=no
9474 fi
9475 rm -f core conftest.err conftest.$ac_objext \
9476     conftest$ac_exeext conftest.$ac_ext
9477            LDFLAGS="$save_LDFLAGS"
9478 fi
9479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9480 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9481         if test "$lt_cv_irix_exported_symbol" = yes; then
9482           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'
9483         fi
9484       else
9485         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'
9486         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'
9487       fi
9488       archive_cmds_need_lc='no'
9489       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9490       hardcode_libdir_separator=:
9491       inherit_rpath=yes
9492       link_all_deplibs=yes
9493       ;;
9494
9495     netbsd* | netbsdelf*-gnu)
9496       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9497         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9498       else
9499         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9500       fi
9501       hardcode_libdir_flag_spec='-R$libdir'
9502       hardcode_direct=yes
9503       hardcode_shlibpath_var=no
9504       ;;
9505
9506     newsos6)
9507       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9508       hardcode_direct=yes
9509       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9510       hardcode_libdir_separator=:
9511       hardcode_shlibpath_var=no
9512       ;;
9513
9514     *nto* | *qnx*)
9515       ;;
9516
9517     openbsd*)
9518       if test -f /usr/libexec/ld.so; then
9519         hardcode_direct=yes
9520         hardcode_shlibpath_var=no
9521         hardcode_direct_absolute=yes
9522         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9523           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9524           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9525           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9526           export_dynamic_flag_spec='${wl}-E'
9527         else
9528           case $host_os in
9529            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9530              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9531              hardcode_libdir_flag_spec='-R$libdir'
9532              ;;
9533            *)
9534              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9535              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9536              ;;
9537           esac
9538         fi
9539       else
9540         ld_shlibs=no
9541       fi
9542       ;;
9543
9544     os2*)
9545       hardcode_libdir_flag_spec='-L$libdir'
9546       hardcode_minus_L=yes
9547       allow_undefined_flag=unsupported
9548       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'
9549       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9550       ;;
9551
9552     osf3*)
9553       if test "$GCC" = yes; then
9554         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9555         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'
9556       else
9557         allow_undefined_flag=' -expect_unresolved \*'
9558         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'
9559       fi
9560       archive_cmds_need_lc='no'
9561       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9562       hardcode_libdir_separator=:
9563       ;;
9564
9565     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9566       if test "$GCC" = yes; then
9567         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9568         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'
9569         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9570       else
9571         allow_undefined_flag=' -expect_unresolved \*'
9572         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'
9573         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~
9574         $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'
9575
9576         # Both c and cxx compiler support -rpath directly
9577         hardcode_libdir_flag_spec='-rpath $libdir'
9578       fi
9579       archive_cmds_need_lc='no'
9580       hardcode_libdir_separator=:
9581       ;;
9582
9583     solaris*)
9584       no_undefined_flag=' -z defs'
9585       if test "$GCC" = yes; then
9586         wlarc='${wl}'
9587         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9588         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9589           $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'
9590       else
9591         case `$CC -V 2>&1` in
9592         *"Compilers 5.0"*)
9593           wlarc=''
9594           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9595           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9596           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9597           ;;
9598         *)
9599           wlarc='${wl}'
9600           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9601           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9602           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9603           ;;
9604         esac
9605       fi
9606       hardcode_libdir_flag_spec='-R$libdir'
9607       hardcode_shlibpath_var=no
9608       case $host_os in
9609       solaris2.[0-5] | solaris2.[0-5].*) ;;
9610       *)
9611         # The compiler driver will combine and reorder linker options,
9612         # but understands `-z linker_flag'.  GCC discards it without `$wl',
9613         # but is careful enough not to reorder.
9614         # Supported since Solaris 2.6 (maybe 2.5.1?)
9615         if test "$GCC" = yes; then
9616           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9617         else
9618           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9619         fi
9620         ;;
9621       esac
9622       link_all_deplibs=yes
9623       ;;
9624
9625     sunos4*)
9626       if test "x$host_vendor" = xsequent; then
9627         # Use $CC to link under sequent, because it throws in some extra .o
9628         # files that make .init and .fini sections work.
9629         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9630       else
9631         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9632       fi
9633       hardcode_libdir_flag_spec='-L$libdir'
9634       hardcode_direct=yes
9635       hardcode_minus_L=yes
9636       hardcode_shlibpath_var=no
9637       ;;
9638
9639     sysv4)
9640       case $host_vendor in
9641         sni)
9642           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9643           hardcode_direct=yes # is this really true???
9644         ;;
9645         siemens)
9646           ## LD is ld it makes a PLAMLIB
9647           ## CC just makes a GrossModule.
9648           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9649           reload_cmds='$CC -r -o $output$reload_objs'
9650           hardcode_direct=no
9651         ;;
9652         motorola)
9653           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9654           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9655         ;;
9656       esac
9657       runpath_var='LD_RUN_PATH'
9658       hardcode_shlibpath_var=no
9659       ;;
9660
9661     sysv4.3*)
9662       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9663       hardcode_shlibpath_var=no
9664       export_dynamic_flag_spec='-Bexport'
9665       ;;
9666
9667     sysv4*MP*)
9668       if test -d /usr/nec; then
9669         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9670         hardcode_shlibpath_var=no
9671         runpath_var=LD_RUN_PATH
9672         hardcode_runpath_var=yes
9673         ld_shlibs=yes
9674       fi
9675       ;;
9676
9677     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9678       no_undefined_flag='${wl}-z,text'
9679       archive_cmds_need_lc=no
9680       hardcode_shlibpath_var=no
9681       runpath_var='LD_RUN_PATH'
9682
9683       if test "$GCC" = yes; then
9684         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9685         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9686       else
9687         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9688         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9689       fi
9690       ;;
9691
9692     sysv5* | sco3.2v5* | sco5v6*)
9693       # Note: We can NOT use -z defs as we might desire, because we do not
9694       # link with -lc, and that would cause any symbols used from libc to
9695       # always be unresolved, which means just about no library would
9696       # ever link correctly.  If we're not using GNU ld we use -z text
9697       # though, which does catch some bad symbols but isn't as heavy-handed
9698       # as -z defs.
9699       no_undefined_flag='${wl}-z,text'
9700       allow_undefined_flag='${wl}-z,nodefs'
9701       archive_cmds_need_lc=no
9702       hardcode_shlibpath_var=no
9703       hardcode_libdir_flag_spec='${wl}-R,$libdir'
9704       hardcode_libdir_separator=':'
9705       link_all_deplibs=yes
9706       export_dynamic_flag_spec='${wl}-Bexport'
9707       runpath_var='LD_RUN_PATH'
9708
9709       if test "$GCC" = yes; then
9710         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9711         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9712       else
9713         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9714         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9715       fi
9716       ;;
9717
9718     uts4*)
9719       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9720       hardcode_libdir_flag_spec='-L$libdir'
9721       hardcode_shlibpath_var=no
9722       ;;
9723
9724     *)
9725       ld_shlibs=no
9726       ;;
9727     esac
9728
9729     if test x$host_vendor = xsni; then
9730       case $host in
9731       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9732         export_dynamic_flag_spec='${wl}-Blargedynsym'
9733         ;;
9734       esac
9735     fi
9736   fi
9737
9738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9739 $as_echo "$ld_shlibs" >&6; }
9740 test "$ld_shlibs" = no && can_build_shared=no
9741
9742 with_gnu_ld=$with_gnu_ld
9743
9744
9745
9746
9747
9748
9749
9750
9751
9752
9753
9754
9755
9756
9757
9758 #
9759 # Do we need to explicitly link libc?
9760 #
9761 case "x$archive_cmds_need_lc" in
9762 x|xyes)
9763   # Assume -lc should be added
9764   archive_cmds_need_lc=yes
9765
9766   if test "$enable_shared" = yes && test "$GCC" = yes; then
9767     case $archive_cmds in
9768     *'~'*)
9769       # FIXME: we may have to deal with multi-command sequences.
9770       ;;
9771     '$CC '*)
9772       # Test whether the compiler implicitly links with -lc since on some
9773       # systems, -lgcc has to come before -lc. If gcc already passes -lc
9774       # to ld, don't add -lc before -lgcc.
9775       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9776 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9777 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9778   $as_echo_n "(cached) " >&6
9779 else
9780   $RM conftest*
9781         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9782
9783         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9784   (eval $ac_compile) 2>&5
9785   ac_status=$?
9786   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9787   test $ac_status = 0; } 2>conftest.err; then
9788           soname=conftest
9789           lib=conftest
9790           libobjs=conftest.$ac_objext
9791           deplibs=
9792           wl=$lt_prog_compiler_wl
9793           pic_flag=$lt_prog_compiler_pic
9794           compiler_flags=-v
9795           linker_flags=-v
9796           verstring=
9797           output_objdir=.
9798           libname=conftest
9799           lt_save_allow_undefined_flag=$allow_undefined_flag
9800           allow_undefined_flag=
9801           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9802   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9803   ac_status=$?
9804   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9805   test $ac_status = 0; }
9806           then
9807             lt_cv_archive_cmds_need_lc=no
9808           else
9809             lt_cv_archive_cmds_need_lc=yes
9810           fi
9811           allow_undefined_flag=$lt_save_allow_undefined_flag
9812         else
9813           cat conftest.err 1>&5
9814         fi
9815         $RM conftest*
9816
9817 fi
9818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9819 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9820       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9821       ;;
9822     esac
9823   fi
9824   ;;
9825 esac
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
9954
9955
9956
9957
9958
9959
9960
9961
9962
9963
9964
9965
9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
9977
9978   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9979 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9980
9981 if test "$GCC" = yes; then
9982   case $host_os in
9983     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9984     *) lt_awk_arg="/^libraries:/" ;;
9985   esac
9986   case $host_os in
9987     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
9988     *) lt_sed_strip_eq="s,=/,/,g" ;;
9989   esac
9990   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9991   case $lt_search_path_spec in
9992   *\;*)
9993     # if the path contains ";" then we assume it to be the separator
9994     # otherwise default to the standard path separator (i.e. ":") - it is
9995     # assumed that no part of a normal pathname contains ";" but that should
9996     # okay in the real world where ";" in dirpaths is itself problematic.
9997     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9998     ;;
9999   *)
10000     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10001     ;;
10002   esac
10003   # Ok, now we have the path, separated by spaces, we can step through it
10004   # and add multilib dir if necessary.
10005   lt_tmp_lt_search_path_spec=
10006   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10007   for lt_sys_path in $lt_search_path_spec; do
10008     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10009       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10010     else
10011       test -d "$lt_sys_path" && \
10012         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10013     fi
10014   done
10015   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10016 BEGIN {RS=" "; FS="/|\n";} {
10017   lt_foo="";
10018   lt_count=0;
10019   for (lt_i = NF; lt_i > 0; lt_i--) {
10020     if ($lt_i != "" && $lt_i != ".") {
10021       if ($lt_i == "..") {
10022         lt_count++;
10023       } else {
10024         if (lt_count == 0) {
10025           lt_foo="/" $lt_i lt_foo;
10026         } else {
10027           lt_count--;
10028         }
10029       }
10030     }
10031   }
10032   if (lt_foo != "") { lt_freq[lt_foo]++; }
10033   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10034 }'`
10035   # AWK program above erroneously prepends '/' to C:/dos/paths
10036   # for these hosts.
10037   case $host_os in
10038     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10039       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10040   esac
10041   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10042 else
10043   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10044 fi
10045 library_names_spec=
10046 libname_spec='lib$name'
10047 soname_spec=
10048 shrext_cmds=".so"
10049 postinstall_cmds=
10050 postuninstall_cmds=
10051 finish_cmds=
10052 finish_eval=
10053 shlibpath_var=
10054 shlibpath_overrides_runpath=unknown
10055 version_type=none
10056 dynamic_linker="$host_os ld.so"
10057 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10058 need_lib_prefix=unknown
10059 hardcode_into_libs=no
10060
10061 # when you set need_version to no, make sure it does not cause -set_version
10062 # flags to be left without arguments
10063 need_version=unknown
10064
10065 case $host_os in
10066 aix3*)
10067   version_type=linux # correct to gnu/linux during the next big refactor
10068   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10069   shlibpath_var=LIBPATH
10070
10071   # AIX 3 has no versioning support, so we append a major version to the name.
10072   soname_spec='${libname}${release}${shared_ext}$major'
10073   ;;
10074
10075 aix[4-9]*)
10076   version_type=linux # correct to gnu/linux during the next big refactor
10077   need_lib_prefix=no
10078   need_version=no
10079   hardcode_into_libs=yes
10080   if test "$host_cpu" = ia64; then
10081     # AIX 5 supports IA64
10082     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10083     shlibpath_var=LD_LIBRARY_PATH
10084   else
10085     # With GCC up to 2.95.x, collect2 would create an import file
10086     # for dependence libraries.  The import file would start with
10087     # the line `#! .'.  This would cause the generated library to
10088     # depend on `.', always an invalid library.  This was fixed in
10089     # development snapshots of GCC prior to 3.0.
10090     case $host_os in
10091       aix4 | aix4.[01] | aix4.[01].*)
10092       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10093            echo ' yes '
10094            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10095         :
10096       else
10097         can_build_shared=no
10098       fi
10099       ;;
10100     esac
10101     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10102     # soname into executable. Probably we can add versioning support to
10103     # collect2, so additional links can be useful in future.
10104     if test "$aix_use_runtimelinking" = yes; then
10105       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10106       # instead of lib<name>.a to let people know that these are not
10107       # typical AIX shared libraries.
10108       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10109     else
10110       # We preserve .a as extension for shared libraries through AIX4.2
10111       # and later when we are not doing run time linking.
10112       library_names_spec='${libname}${release}.a $libname.a'
10113       soname_spec='${libname}${release}${shared_ext}$major'
10114     fi
10115     shlibpath_var=LIBPATH
10116   fi
10117   ;;
10118
10119 amigaos*)
10120   case $host_cpu in
10121   powerpc)
10122     # Since July 2007 AmigaOS4 officially supports .so libraries.
10123     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10124     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10125     ;;
10126   m68k)
10127     library_names_spec='$libname.ixlibrary $libname.a'
10128     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10129     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'
10130     ;;
10131   esac
10132   ;;
10133
10134 beos*)
10135   library_names_spec='${libname}${shared_ext}'
10136   dynamic_linker="$host_os ld.so"
10137   shlibpath_var=LIBRARY_PATH
10138   ;;
10139
10140 bsdi[45]*)
10141   version_type=linux # correct to gnu/linux during the next big refactor
10142   need_version=no
10143   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10144   soname_spec='${libname}${release}${shared_ext}$major'
10145   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10146   shlibpath_var=LD_LIBRARY_PATH
10147   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10148   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10149   # the default ld.so.conf also contains /usr/contrib/lib and
10150   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10151   # libtool to hard-code these into programs
10152   ;;
10153
10154 cygwin* | mingw* | pw32* | cegcc*)
10155   version_type=windows
10156   shrext_cmds=".dll"
10157   need_version=no
10158   need_lib_prefix=no
10159
10160   case $GCC,$cc_basename in
10161   yes,*)
10162     # gcc
10163     library_names_spec='$libname.dll.a'
10164     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10165     postinstall_cmds='base_file=`basename \${file}`~
10166       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10167       dldir=$destdir/`dirname \$dlpath`~
10168       test -d \$dldir || mkdir -p \$dldir~
10169       $install_prog $dir/$dlname \$dldir/$dlname~
10170       chmod a+x \$dldir/$dlname~
10171       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10172         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10173       fi'
10174     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10175       dlpath=$dir/\$dldll~
10176        $RM \$dlpath'
10177     shlibpath_overrides_runpath=yes
10178
10179     case $host_os in
10180     cygwin*)
10181       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10182       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10183
10184       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10185       ;;
10186     mingw* | cegcc*)
10187       # MinGW DLLs use traditional 'lib' prefix
10188       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10189       ;;
10190     pw32*)
10191       # pw32 DLLs use 'pw' prefix rather than 'lib'
10192       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10193       ;;
10194     esac
10195     dynamic_linker='Win32 ld.exe'
10196     ;;
10197
10198   *,cl*)
10199     # Native MSVC
10200     libname_spec='$name'
10201     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10202     library_names_spec='${libname}.dll.lib'
10203
10204     case $build_os in
10205     mingw*)
10206       sys_lib_search_path_spec=
10207       lt_save_ifs=$IFS
10208       IFS=';'
10209       for lt_path in $LIB
10210       do
10211         IFS=$lt_save_ifs
10212         # Let DOS variable expansion print the short 8.3 style file name.
10213         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10214         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10215       done
10216       IFS=$lt_save_ifs
10217       # Convert to MSYS style.
10218       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10219       ;;
10220     cygwin*)
10221       # Convert to unix form, then to dos form, then back to unix form
10222       # but this time dos style (no spaces!) so that the unix form looks
10223       # like /cygdrive/c/PROGRA~1:/cygdr...
10224       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10225       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10226       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10227       ;;
10228     *)
10229       sys_lib_search_path_spec="$LIB"
10230       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10231         # It is most probably a Windows format PATH.
10232         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10233       else
10234         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10235       fi
10236       # FIXME: find the short name or the path components, as spaces are
10237       # common. (e.g. "Program Files" -> "PROGRA~1")
10238       ;;
10239     esac
10240
10241     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10242     postinstall_cmds='base_file=`basename \${file}`~
10243       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10244       dldir=$destdir/`dirname \$dlpath`~
10245       test -d \$dldir || mkdir -p \$dldir~
10246       $install_prog $dir/$dlname \$dldir/$dlname'
10247     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10248       dlpath=$dir/\$dldll~
10249        $RM \$dlpath'
10250     shlibpath_overrides_runpath=yes
10251     dynamic_linker='Win32 link.exe'
10252     ;;
10253
10254   *)
10255     # Assume MSVC wrapper
10256     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10257     dynamic_linker='Win32 ld.exe'
10258     ;;
10259   esac
10260   # FIXME: first we should search . and the directory the executable is in
10261   shlibpath_var=PATH
10262   ;;
10263
10264 darwin* | rhapsody*)
10265   dynamic_linker="$host_os dyld"
10266   version_type=darwin
10267   need_lib_prefix=no
10268   need_version=no
10269   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10270   soname_spec='${libname}${release}${major}$shared_ext'
10271   shlibpath_overrides_runpath=yes
10272   shlibpath_var=DYLD_LIBRARY_PATH
10273   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10274
10275   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10276   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10277   ;;
10278
10279 dgux*)
10280   version_type=linux # correct to gnu/linux during the next big refactor
10281   need_lib_prefix=no
10282   need_version=no
10283   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10284   soname_spec='${libname}${release}${shared_ext}$major'
10285   shlibpath_var=LD_LIBRARY_PATH
10286   ;;
10287
10288 freebsd* | dragonfly*)
10289   # DragonFly does not have aout.  When/if they implement a new
10290   # versioning mechanism, adjust this.
10291   if test -x /usr/bin/objformat; then
10292     objformat=`/usr/bin/objformat`
10293   else
10294     case $host_os in
10295     freebsd[23].*) objformat=aout ;;
10296     *) objformat=elf ;;
10297     esac
10298   fi
10299   version_type=freebsd-$objformat
10300   case $version_type in
10301     freebsd-elf*)
10302       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10303       need_version=no
10304       need_lib_prefix=no
10305       ;;
10306     freebsd-*)
10307       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10308       need_version=yes
10309       ;;
10310   esac
10311   shlibpath_var=LD_LIBRARY_PATH
10312   case $host_os in
10313   freebsd2.*)
10314     shlibpath_overrides_runpath=yes
10315     ;;
10316   freebsd3.[01]* | freebsdelf3.[01]*)
10317     shlibpath_overrides_runpath=yes
10318     hardcode_into_libs=yes
10319     ;;
10320   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10321   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10322     shlibpath_overrides_runpath=no
10323     hardcode_into_libs=yes
10324     ;;
10325   *) # from 4.6 on, and DragonFly
10326     shlibpath_overrides_runpath=yes
10327     hardcode_into_libs=yes
10328     ;;
10329   esac
10330   ;;
10331
10332 gnu*)
10333   version_type=linux # correct to gnu/linux during the next big refactor
10334   need_lib_prefix=no
10335   need_version=no
10336   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10337   soname_spec='${libname}${release}${shared_ext}$major'
10338   shlibpath_var=LD_LIBRARY_PATH
10339   shlibpath_overrides_runpath=no
10340   hardcode_into_libs=yes
10341   ;;
10342
10343 haiku*)
10344   version_type=linux # correct to gnu/linux during the next big refactor
10345   need_lib_prefix=no
10346   need_version=no
10347   dynamic_linker="$host_os runtime_loader"
10348   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10349   soname_spec='${libname}${release}${shared_ext}$major'
10350   shlibpath_var=LIBRARY_PATH
10351   shlibpath_overrides_runpath=yes
10352   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10353   hardcode_into_libs=yes
10354   ;;
10355
10356 hpux9* | hpux10* | hpux11*)
10357   # Give a soname corresponding to the major version so that dld.sl refuses to
10358   # link against other versions.
10359   version_type=sunos
10360   need_lib_prefix=no
10361   need_version=no
10362   case $host_cpu in
10363   ia64*)
10364     shrext_cmds='.so'
10365     hardcode_into_libs=yes
10366     dynamic_linker="$host_os dld.so"
10367     shlibpath_var=LD_LIBRARY_PATH
10368     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
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     if test "X$HPUX_IA64_MODE" = X32; then
10372       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10373     else
10374       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10375     fi
10376     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10377     ;;
10378   hppa*64*)
10379     shrext_cmds='.sl'
10380     hardcode_into_libs=yes
10381     dynamic_linker="$host_os dld.sl"
10382     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10383     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10384     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10385     soname_spec='${libname}${release}${shared_ext}$major'
10386     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10387     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10388     ;;
10389   *)
10390     shrext_cmds='.sl'
10391     dynamic_linker="$host_os dld.sl"
10392     shlibpath_var=SHLIB_PATH
10393     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10394     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10395     soname_spec='${libname}${release}${shared_ext}$major'
10396     ;;
10397   esac
10398   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10399   postinstall_cmds='chmod 555 $lib'
10400   # or fails outright, so override atomically:
10401   install_override_mode=555
10402   ;;
10403
10404 interix[3-9]*)
10405   version_type=linux # correct to gnu/linux during the next big refactor
10406   need_lib_prefix=no
10407   need_version=no
10408   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10409   soname_spec='${libname}${release}${shared_ext}$major'
10410   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10411   shlibpath_var=LD_LIBRARY_PATH
10412   shlibpath_overrides_runpath=no
10413   hardcode_into_libs=yes
10414   ;;
10415
10416 irix5* | irix6* | nonstopux*)
10417   case $host_os in
10418     nonstopux*) version_type=nonstopux ;;
10419     *)
10420         if test "$lt_cv_prog_gnu_ld" = yes; then
10421                 version_type=linux # correct to gnu/linux during the next big refactor
10422         else
10423                 version_type=irix
10424         fi ;;
10425   esac
10426   need_lib_prefix=no
10427   need_version=no
10428   soname_spec='${libname}${release}${shared_ext}$major'
10429   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10430   case $host_os in
10431   irix5* | nonstopux*)
10432     libsuff= shlibsuff=
10433     ;;
10434   *)
10435     case $LD in # libtool.m4 will add one of these switches to LD
10436     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10437       libsuff= shlibsuff= libmagic=32-bit;;
10438     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10439       libsuff=32 shlibsuff=N32 libmagic=N32;;
10440     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10441       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10442     *) libsuff= shlibsuff= libmagic=never-match;;
10443     esac
10444     ;;
10445   esac
10446   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10447   shlibpath_overrides_runpath=no
10448   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10449   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10450   hardcode_into_libs=yes
10451   ;;
10452
10453 # No shared lib support for Linux oldld, aout, or coff.
10454 linux*oldld* | linux*aout* | linux*coff*)
10455   dynamic_linker=no
10456   ;;
10457
10458 # This must be glibc/ELF.
10459 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10460   version_type=linux # correct to gnu/linux during the next big refactor
10461   need_lib_prefix=no
10462   need_version=no
10463   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10464   soname_spec='${libname}${release}${shared_ext}$major'
10465   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10466   shlibpath_var=LD_LIBRARY_PATH
10467   shlibpath_overrides_runpath=no
10468
10469   # Some binutils ld are patched to set DT_RUNPATH
10470   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10471   $as_echo_n "(cached) " >&6
10472 else
10473   lt_cv_shlibpath_overrides_runpath=no
10474     save_LDFLAGS=$LDFLAGS
10475     save_libdir=$libdir
10476     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10477          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10478     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10479 /* end confdefs.h.  */
10480
10481 int
10482 main ()
10483 {
10484
10485   ;
10486   return 0;
10487 }
10488 _ACEOF
10489 if ac_fn_c_try_link "$LINENO"; then :
10490   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10491   lt_cv_shlibpath_overrides_runpath=yes
10492 fi
10493 fi
10494 rm -f core conftest.err conftest.$ac_objext \
10495     conftest$ac_exeext conftest.$ac_ext
10496     LDFLAGS=$save_LDFLAGS
10497     libdir=$save_libdir
10498
10499 fi
10500
10501   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10502
10503   # This implies no fast_install, which is unacceptable.
10504   # Some rework will be needed to allow for fast_install
10505   # before this can be enabled.
10506   hardcode_into_libs=yes
10507
10508   # Append ld.so.conf contents to the search path
10509   if test -f /etc/ld.so.conf; then
10510     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' ' '`
10511     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10512   fi
10513
10514   # We used to test for /lib/ld.so.1 and disable shared libraries on
10515   # powerpc, because MkLinux only supported shared libraries with the
10516   # GNU dynamic linker.  Since this was broken with cross compilers,
10517   # most powerpc-linux boxes support dynamic linking these days and
10518   # people can always --disable-shared, the test was removed, and we
10519   # assume the GNU/Linux dynamic linker is in use.
10520   dynamic_linker='GNU/Linux ld.so'
10521   ;;
10522
10523 netbsdelf*-gnu)
10524   version_type=linux
10525   need_lib_prefix=no
10526   need_version=no
10527   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10528   soname_spec='${libname}${release}${shared_ext}$major'
10529   shlibpath_var=LD_LIBRARY_PATH
10530   shlibpath_overrides_runpath=no
10531   hardcode_into_libs=yes
10532   dynamic_linker='NetBSD ld.elf_so'
10533   ;;
10534
10535 netbsd*)
10536   version_type=sunos
10537   need_lib_prefix=no
10538   need_version=no
10539   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10540     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10541     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10542     dynamic_linker='NetBSD (a.out) ld.so'
10543   else
10544     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10545     soname_spec='${libname}${release}${shared_ext}$major'
10546     dynamic_linker='NetBSD ld.elf_so'
10547   fi
10548   shlibpath_var=LD_LIBRARY_PATH
10549   shlibpath_overrides_runpath=yes
10550   hardcode_into_libs=yes
10551   ;;
10552
10553 newsos6)
10554   version_type=linux # correct to gnu/linux during the next big refactor
10555   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10556   shlibpath_var=LD_LIBRARY_PATH
10557   shlibpath_overrides_runpath=yes
10558   ;;
10559
10560 *nto* | *qnx*)
10561   version_type=qnx
10562   need_lib_prefix=no
10563   need_version=no
10564   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10565   soname_spec='${libname}${release}${shared_ext}$major'
10566   shlibpath_var=LD_LIBRARY_PATH
10567   shlibpath_overrides_runpath=no
10568   hardcode_into_libs=yes
10569   dynamic_linker='ldqnx.so'
10570   ;;
10571
10572 openbsd*)
10573   version_type=sunos
10574   sys_lib_dlsearch_path_spec="/usr/lib"
10575   need_lib_prefix=no
10576   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10577   case $host_os in
10578     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10579     *)                          need_version=no  ;;
10580   esac
10581   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10582   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10583   shlibpath_var=LD_LIBRARY_PATH
10584   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10585     case $host_os in
10586       openbsd2.[89] | openbsd2.[89].*)
10587         shlibpath_overrides_runpath=no
10588         ;;
10589       *)
10590         shlibpath_overrides_runpath=yes
10591         ;;
10592       esac
10593   else
10594     shlibpath_overrides_runpath=yes
10595   fi
10596   ;;
10597
10598 os2*)
10599   libname_spec='$name'
10600   shrext_cmds=".dll"
10601   need_lib_prefix=no
10602   library_names_spec='$libname${shared_ext} $libname.a'
10603   dynamic_linker='OS/2 ld.exe'
10604   shlibpath_var=LIBPATH
10605   ;;
10606
10607 osf3* | osf4* | osf5*)
10608   version_type=osf
10609   need_lib_prefix=no
10610   need_version=no
10611   soname_spec='${libname}${release}${shared_ext}$major'
10612   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10613   shlibpath_var=LD_LIBRARY_PATH
10614   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10615   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10616   ;;
10617
10618 rdos*)
10619   dynamic_linker=no
10620   ;;
10621
10622 solaris*)
10623   version_type=linux # correct to gnu/linux during the next big refactor
10624   need_lib_prefix=no
10625   need_version=no
10626   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10627   soname_spec='${libname}${release}${shared_ext}$major'
10628   shlibpath_var=LD_LIBRARY_PATH
10629   shlibpath_overrides_runpath=yes
10630   hardcode_into_libs=yes
10631   # ldd complains unless libraries are executable
10632   postinstall_cmds='chmod +x $lib'
10633   ;;
10634
10635 sunos4*)
10636   version_type=sunos
10637   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10638   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10639   shlibpath_var=LD_LIBRARY_PATH
10640   shlibpath_overrides_runpath=yes
10641   if test "$with_gnu_ld" = yes; then
10642     need_lib_prefix=no
10643   fi
10644   need_version=yes
10645   ;;
10646
10647 sysv4 | sysv4.3*)
10648   version_type=linux # correct to gnu/linux during the next big refactor
10649   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10650   soname_spec='${libname}${release}${shared_ext}$major'
10651   shlibpath_var=LD_LIBRARY_PATH
10652   case $host_vendor in
10653     sni)
10654       shlibpath_overrides_runpath=no
10655       need_lib_prefix=no
10656       runpath_var=LD_RUN_PATH
10657       ;;
10658     siemens)
10659       need_lib_prefix=no
10660       ;;
10661     motorola)
10662       need_lib_prefix=no
10663       need_version=no
10664       shlibpath_overrides_runpath=no
10665       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10666       ;;
10667   esac
10668   ;;
10669
10670 sysv4*MP*)
10671   if test -d /usr/nec ;then
10672     version_type=linux # correct to gnu/linux during the next big refactor
10673     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10674     soname_spec='$libname${shared_ext}.$major'
10675     shlibpath_var=LD_LIBRARY_PATH
10676   fi
10677   ;;
10678
10679 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10680   version_type=freebsd-elf
10681   need_lib_prefix=no
10682   need_version=no
10683   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10684   soname_spec='${libname}${release}${shared_ext}$major'
10685   shlibpath_var=LD_LIBRARY_PATH
10686   shlibpath_overrides_runpath=yes
10687   hardcode_into_libs=yes
10688   if test "$with_gnu_ld" = yes; then
10689     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10690   else
10691     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10692     case $host_os in
10693       sco3.2v5*)
10694         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10695         ;;
10696     esac
10697   fi
10698   sys_lib_dlsearch_path_spec='/usr/lib'
10699   ;;
10700
10701 tpf*)
10702   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10703   version_type=linux # correct to gnu/linux during the next big refactor
10704   need_lib_prefix=no
10705   need_version=no
10706   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10707   shlibpath_var=LD_LIBRARY_PATH
10708   shlibpath_overrides_runpath=no
10709   hardcode_into_libs=yes
10710   ;;
10711
10712 uts4*)
10713   version_type=linux # correct to gnu/linux during the next big refactor
10714   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10715   soname_spec='${libname}${release}${shared_ext}$major'
10716   shlibpath_var=LD_LIBRARY_PATH
10717   ;;
10718
10719 *)
10720   dynamic_linker=no
10721   ;;
10722 esac
10723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10724 $as_echo "$dynamic_linker" >&6; }
10725 test "$dynamic_linker" = no && can_build_shared=no
10726
10727 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10728 if test "$GCC" = yes; then
10729   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10730 fi
10731
10732 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10733   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10734 fi
10735 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10736   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10737 fi
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
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10831 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10832 hardcode_action=
10833 if test -n "$hardcode_libdir_flag_spec" ||
10834    test -n "$runpath_var" ||
10835    test "X$hardcode_automatic" = "Xyes" ; then
10836
10837   # We can hardcode non-existent directories.
10838   if test "$hardcode_direct" != no &&
10839      # If the only mechanism to avoid hardcoding is shlibpath_var, we
10840      # have to relink, otherwise we might link with an installed library
10841      # when we should be linking with a yet-to-be-installed one
10842      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10843      test "$hardcode_minus_L" != no; then
10844     # Linking always hardcodes the temporary library directory.
10845     hardcode_action=relink
10846   else
10847     # We can link without hardcoding, and we can hardcode nonexisting dirs.
10848     hardcode_action=immediate
10849   fi
10850 else
10851   # We cannot hardcode anything, or else we can only hardcode existing
10852   # directories.
10853   hardcode_action=unsupported
10854 fi
10855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10856 $as_echo "$hardcode_action" >&6; }
10857
10858 if test "$hardcode_action" = relink ||
10859    test "$inherit_rpath" = yes; then
10860   # Fast installation is not supported
10861   enable_fast_install=no
10862 elif test "$shlibpath_overrides_runpath" = yes ||
10863      test "$enable_shared" = no; then
10864   # Fast installation is not necessary
10865   enable_fast_install=needless
10866 fi
10867
10868
10869
10870
10871
10872
10873   if test "x$enable_dlopen" != xyes; then
10874   enable_dlopen=unknown
10875   enable_dlopen_self=unknown
10876   enable_dlopen_self_static=unknown
10877 else
10878   lt_cv_dlopen=no
10879   lt_cv_dlopen_libs=
10880
10881   case $host_os in
10882   beos*)
10883     lt_cv_dlopen="load_add_on"
10884     lt_cv_dlopen_libs=
10885     lt_cv_dlopen_self=yes
10886     ;;
10887
10888   mingw* | pw32* | cegcc*)
10889     lt_cv_dlopen="LoadLibrary"
10890     lt_cv_dlopen_libs=
10891     ;;
10892
10893   cygwin*)
10894     lt_cv_dlopen="dlopen"
10895     lt_cv_dlopen_libs=
10896     ;;
10897
10898   darwin*)
10899   # if libdl is installed we need to link against it
10900     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10901 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10902 if ${ac_cv_lib_dl_dlopen+:} false; then :
10903   $as_echo_n "(cached) " >&6
10904 else
10905   ac_check_lib_save_LIBS=$LIBS
10906 LIBS="-ldl  $LIBS"
10907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10908 /* end confdefs.h.  */
10909
10910 /* Override any GCC internal prototype to avoid an error.
10911    Use char because int might match the return type of a GCC
10912    builtin and then its argument prototype would still apply.  */
10913 #ifdef __cplusplus
10914 extern "C"
10915 #endif
10916 char dlopen ();
10917 int
10918 main ()
10919 {
10920 return dlopen ();
10921   ;
10922   return 0;
10923 }
10924 _ACEOF
10925 if ac_fn_c_try_link "$LINENO"; then :
10926   ac_cv_lib_dl_dlopen=yes
10927 else
10928   ac_cv_lib_dl_dlopen=no
10929 fi
10930 rm -f core conftest.err conftest.$ac_objext \
10931     conftest$ac_exeext conftest.$ac_ext
10932 LIBS=$ac_check_lib_save_LIBS
10933 fi
10934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10935 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10936 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10937   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10938 else
10939
10940     lt_cv_dlopen="dyld"
10941     lt_cv_dlopen_libs=
10942     lt_cv_dlopen_self=yes
10943
10944 fi
10945
10946     ;;
10947
10948   *)
10949     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10950 if test "x$ac_cv_func_shl_load" = xyes; then :
10951   lt_cv_dlopen="shl_load"
10952 else
10953   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10954 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10955 if ${ac_cv_lib_dld_shl_load+:} false; then :
10956   $as_echo_n "(cached) " >&6
10957 else
10958   ac_check_lib_save_LIBS=$LIBS
10959 LIBS="-ldld  $LIBS"
10960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10961 /* end confdefs.h.  */
10962
10963 /* Override any GCC internal prototype to avoid an error.
10964    Use char because int might match the return type of a GCC
10965    builtin and then its argument prototype would still apply.  */
10966 #ifdef __cplusplus
10967 extern "C"
10968 #endif
10969 char shl_load ();
10970 int
10971 main ()
10972 {
10973 return shl_load ();
10974   ;
10975   return 0;
10976 }
10977 _ACEOF
10978 if ac_fn_c_try_link "$LINENO"; then :
10979   ac_cv_lib_dld_shl_load=yes
10980 else
10981   ac_cv_lib_dld_shl_load=no
10982 fi
10983 rm -f core conftest.err conftest.$ac_objext \
10984     conftest$ac_exeext conftest.$ac_ext
10985 LIBS=$ac_check_lib_save_LIBS
10986 fi
10987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10988 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10989 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
10990   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10991 else
10992   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10993 if test "x$ac_cv_func_dlopen" = xyes; then :
10994   lt_cv_dlopen="dlopen"
10995 else
10996   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10997 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10998 if ${ac_cv_lib_dl_dlopen+:} false; then :
10999   $as_echo_n "(cached) " >&6
11000 else
11001   ac_check_lib_save_LIBS=$LIBS
11002 LIBS="-ldl  $LIBS"
11003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11004 /* end confdefs.h.  */
11005
11006 /* Override any GCC internal prototype to avoid an error.
11007    Use char because int might match the return type of a GCC
11008    builtin and then its argument prototype would still apply.  */
11009 #ifdef __cplusplus
11010 extern "C"
11011 #endif
11012 char dlopen ();
11013 int
11014 main ()
11015 {
11016 return dlopen ();
11017   ;
11018   return 0;
11019 }
11020 _ACEOF
11021 if ac_fn_c_try_link "$LINENO"; then :
11022   ac_cv_lib_dl_dlopen=yes
11023 else
11024   ac_cv_lib_dl_dlopen=no
11025 fi
11026 rm -f core conftest.err conftest.$ac_objext \
11027     conftest$ac_exeext conftest.$ac_ext
11028 LIBS=$ac_check_lib_save_LIBS
11029 fi
11030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11031 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11032 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11033   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11034 else
11035   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11036 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11037 if ${ac_cv_lib_svld_dlopen+:} false; then :
11038   $as_echo_n "(cached) " >&6
11039 else
11040   ac_check_lib_save_LIBS=$LIBS
11041 LIBS="-lsvld  $LIBS"
11042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11043 /* end confdefs.h.  */
11044
11045 /* Override any GCC internal prototype to avoid an error.
11046    Use char because int might match the return type of a GCC
11047    builtin and then its argument prototype would still apply.  */
11048 #ifdef __cplusplus
11049 extern "C"
11050 #endif
11051 char dlopen ();
11052 int
11053 main ()
11054 {
11055 return dlopen ();
11056   ;
11057   return 0;
11058 }
11059 _ACEOF
11060 if ac_fn_c_try_link "$LINENO"; then :
11061   ac_cv_lib_svld_dlopen=yes
11062 else
11063   ac_cv_lib_svld_dlopen=no
11064 fi
11065 rm -f core conftest.err conftest.$ac_objext \
11066     conftest$ac_exeext conftest.$ac_ext
11067 LIBS=$ac_check_lib_save_LIBS
11068 fi
11069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11070 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11071 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11072   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11073 else
11074   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11075 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11076 if ${ac_cv_lib_dld_dld_link+:} false; then :
11077   $as_echo_n "(cached) " >&6
11078 else
11079   ac_check_lib_save_LIBS=$LIBS
11080 LIBS="-ldld  $LIBS"
11081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11082 /* end confdefs.h.  */
11083
11084 /* Override any GCC internal prototype to avoid an error.
11085    Use char because int might match the return type of a GCC
11086    builtin and then its argument prototype would still apply.  */
11087 #ifdef __cplusplus
11088 extern "C"
11089 #endif
11090 char dld_link ();
11091 int
11092 main ()
11093 {
11094 return dld_link ();
11095   ;
11096   return 0;
11097 }
11098 _ACEOF
11099 if ac_fn_c_try_link "$LINENO"; then :
11100   ac_cv_lib_dld_dld_link=yes
11101 else
11102   ac_cv_lib_dld_dld_link=no
11103 fi
11104 rm -f core conftest.err conftest.$ac_objext \
11105     conftest$ac_exeext conftest.$ac_ext
11106 LIBS=$ac_check_lib_save_LIBS
11107 fi
11108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11109 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11110 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11111   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11112 fi
11113
11114
11115 fi
11116
11117
11118 fi
11119
11120
11121 fi
11122
11123
11124 fi
11125
11126
11127 fi
11128
11129     ;;
11130   esac
11131
11132   if test "x$lt_cv_dlopen" != xno; then
11133     enable_dlopen=yes
11134   else
11135     enable_dlopen=no
11136   fi
11137
11138   case $lt_cv_dlopen in
11139   dlopen)
11140     save_CPPFLAGS="$CPPFLAGS"
11141     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11142
11143     save_LDFLAGS="$LDFLAGS"
11144     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11145
11146     save_LIBS="$LIBS"
11147     LIBS="$lt_cv_dlopen_libs $LIBS"
11148
11149     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11150 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11151 if ${lt_cv_dlopen_self+:} false; then :
11152   $as_echo_n "(cached) " >&6
11153 else
11154           if test "$cross_compiling" = yes; then :
11155   lt_cv_dlopen_self=cross
11156 else
11157   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11158   lt_status=$lt_dlunknown
11159   cat > conftest.$ac_ext <<_LT_EOF
11160 #line $LINENO "configure"
11161 #include "confdefs.h"
11162
11163 #if HAVE_DLFCN_H
11164 #include <dlfcn.h>
11165 #endif
11166
11167 #include <stdio.h>
11168
11169 #ifdef RTLD_GLOBAL
11170 #  define LT_DLGLOBAL           RTLD_GLOBAL
11171 #else
11172 #  ifdef DL_GLOBAL
11173 #    define LT_DLGLOBAL         DL_GLOBAL
11174 #  else
11175 #    define LT_DLGLOBAL         0
11176 #  endif
11177 #endif
11178
11179 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11180    find out it does not work in some platform. */
11181 #ifndef LT_DLLAZY_OR_NOW
11182 #  ifdef RTLD_LAZY
11183 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11184 #  else
11185 #    ifdef DL_LAZY
11186 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11187 #    else
11188 #      ifdef RTLD_NOW
11189 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11190 #      else
11191 #        ifdef DL_NOW
11192 #          define LT_DLLAZY_OR_NOW      DL_NOW
11193 #        else
11194 #          define LT_DLLAZY_OR_NOW      0
11195 #        endif
11196 #      endif
11197 #    endif
11198 #  endif
11199 #endif
11200
11201 /* When -fvisbility=hidden is used, assume the code has been annotated
11202    correspondingly for the symbols needed.  */
11203 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11204 int fnord () __attribute__((visibility("default")));
11205 #endif
11206
11207 int fnord () { return 42; }
11208 int main ()
11209 {
11210   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11211   int status = $lt_dlunknown;
11212
11213   if (self)
11214     {
11215       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11216       else
11217         {
11218           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11219           else puts (dlerror ());
11220         }
11221       /* dlclose (self); */
11222     }
11223   else
11224     puts (dlerror ());
11225
11226   return status;
11227 }
11228 _LT_EOF
11229   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11230   (eval $ac_link) 2>&5
11231   ac_status=$?
11232   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11233   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11234     (./conftest; exit; ) >&5 2>/dev/null
11235     lt_status=$?
11236     case x$lt_status in
11237       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11238       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11239       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11240     esac
11241   else :
11242     # compilation failed
11243     lt_cv_dlopen_self=no
11244   fi
11245 fi
11246 rm -fr conftest*
11247
11248
11249 fi
11250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11251 $as_echo "$lt_cv_dlopen_self" >&6; }
11252
11253     if test "x$lt_cv_dlopen_self" = xyes; then
11254       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11255       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11256 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11257 if ${lt_cv_dlopen_self_static+:} false; then :
11258   $as_echo_n "(cached) " >&6
11259 else
11260           if test "$cross_compiling" = yes; then :
11261   lt_cv_dlopen_self_static=cross
11262 else
11263   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11264   lt_status=$lt_dlunknown
11265   cat > conftest.$ac_ext <<_LT_EOF
11266 #line $LINENO "configure"
11267 #include "confdefs.h"
11268
11269 #if HAVE_DLFCN_H
11270 #include <dlfcn.h>
11271 #endif
11272
11273 #include <stdio.h>
11274
11275 #ifdef RTLD_GLOBAL
11276 #  define LT_DLGLOBAL           RTLD_GLOBAL
11277 #else
11278 #  ifdef DL_GLOBAL
11279 #    define LT_DLGLOBAL         DL_GLOBAL
11280 #  else
11281 #    define LT_DLGLOBAL         0
11282 #  endif
11283 #endif
11284
11285 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11286    find out it does not work in some platform. */
11287 #ifndef LT_DLLAZY_OR_NOW
11288 #  ifdef RTLD_LAZY
11289 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11290 #  else
11291 #    ifdef DL_LAZY
11292 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11293 #    else
11294 #      ifdef RTLD_NOW
11295 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11296 #      else
11297 #        ifdef DL_NOW
11298 #          define LT_DLLAZY_OR_NOW      DL_NOW
11299 #        else
11300 #          define LT_DLLAZY_OR_NOW      0
11301 #        endif
11302 #      endif
11303 #    endif
11304 #  endif
11305 #endif
11306
11307 /* When -fvisbility=hidden is used, assume the code has been annotated
11308    correspondingly for the symbols needed.  */
11309 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11310 int fnord () __attribute__((visibility("default")));
11311 #endif
11312
11313 int fnord () { return 42; }
11314 int main ()
11315 {
11316   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11317   int status = $lt_dlunknown;
11318
11319   if (self)
11320     {
11321       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11322       else
11323         {
11324           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11325           else puts (dlerror ());
11326         }
11327       /* dlclose (self); */
11328     }
11329   else
11330     puts (dlerror ());
11331
11332   return status;
11333 }
11334 _LT_EOF
11335   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11336   (eval $ac_link) 2>&5
11337   ac_status=$?
11338   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11339   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11340     (./conftest; exit; ) >&5 2>/dev/null
11341     lt_status=$?
11342     case x$lt_status in
11343       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11344       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11345       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11346     esac
11347   else :
11348     # compilation failed
11349     lt_cv_dlopen_self_static=no
11350   fi
11351 fi
11352 rm -fr conftest*
11353
11354
11355 fi
11356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11357 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11358     fi
11359
11360     CPPFLAGS="$save_CPPFLAGS"
11361     LDFLAGS="$save_LDFLAGS"
11362     LIBS="$save_LIBS"
11363     ;;
11364   esac
11365
11366   case $lt_cv_dlopen_self in
11367   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11368   *) enable_dlopen_self=unknown ;;
11369   esac
11370
11371   case $lt_cv_dlopen_self_static in
11372   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11373   *) enable_dlopen_self_static=unknown ;;
11374   esac
11375 fi
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393 striplib=
11394 old_striplib=
11395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11396 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11397 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11398   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11399   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11400   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11401 $as_echo "yes" >&6; }
11402 else
11403 # FIXME - insert some real tests, host_os isn't really good enough
11404   case $host_os in
11405   darwin*)
11406     if test -n "$STRIP" ; then
11407       striplib="$STRIP -x"
11408       old_striplib="$STRIP -S"
11409       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11410 $as_echo "yes" >&6; }
11411     else
11412       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11413 $as_echo "no" >&6; }
11414     fi
11415     ;;
11416   *)
11417     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11418 $as_echo "no" >&6; }
11419     ;;
11420   esac
11421 fi
11422
11423
11424
11425
11426
11427
11428
11429
11430
11431
11432
11433
11434   # Report which library types will actually be built
11435   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11436 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11437   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11438 $as_echo "$can_build_shared" >&6; }
11439
11440   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11441 $as_echo_n "checking whether to build shared libraries... " >&6; }
11442   test "$can_build_shared" = "no" && enable_shared=no
11443
11444   # On AIX, shared libraries and static libraries use the same namespace, and
11445   # are all built from PIC.
11446   case $host_os in
11447   aix3*)
11448     test "$enable_shared" = yes && enable_static=no
11449     if test -n "$RANLIB"; then
11450       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11451       postinstall_cmds='$RANLIB $lib'
11452     fi
11453     ;;
11454
11455   aix[4-9]*)
11456     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11457       test "$enable_shared" = yes && enable_static=no
11458     fi
11459     ;;
11460   esac
11461   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11462 $as_echo "$enable_shared" >&6; }
11463
11464   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11465 $as_echo_n "checking whether to build static libraries... " >&6; }
11466   # Make sure either enable_shared or enable_static is yes.
11467   test "$enable_shared" = yes || enable_static=yes
11468   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11469 $as_echo "$enable_static" >&6; }
11470
11471
11472
11473
11474 fi
11475 ac_ext=c
11476 ac_cpp='$CPP $CPPFLAGS'
11477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11480
11481 CC="$lt_save_CC"
11482
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497         ac_config_commands="$ac_config_commands libtool"
11498
11499
11500
11501
11502 # Only expand once:
11503
11504
11505
11506 #gtk-doc
11507
11508
11509
11510
11511
11512
11513
11514 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11515         if test -n "$ac_tool_prefix"; then
11516   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11517 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11519 $as_echo_n "checking for $ac_word... " >&6; }
11520 if ${ac_cv_path_PKG_CONFIG+:} false; then :
11521   $as_echo_n "(cached) " >&6
11522 else
11523   case $PKG_CONFIG in
11524   [\\/]* | ?:[\\/]*)
11525   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11526   ;;
11527   *)
11528   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11529 for as_dir in $PATH
11530 do
11531   IFS=$as_save_IFS
11532   test -z "$as_dir" && as_dir=.
11533     for ac_exec_ext in '' $ac_executable_extensions; do
11534   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11535     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11536     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11537     break 2
11538   fi
11539 done
11540   done
11541 IFS=$as_save_IFS
11542
11543   ;;
11544 esac
11545 fi
11546 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11547 if test -n "$PKG_CONFIG"; then
11548   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11549 $as_echo "$PKG_CONFIG" >&6; }
11550 else
11551   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11552 $as_echo "no" >&6; }
11553 fi
11554
11555
11556 fi
11557 if test -z "$ac_cv_path_PKG_CONFIG"; then
11558   ac_pt_PKG_CONFIG=$PKG_CONFIG
11559   # Extract the first word of "pkg-config", so it can be a program name with args.
11560 set dummy pkg-config; ac_word=$2
11561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11562 $as_echo_n "checking for $ac_word... " >&6; }
11563 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
11564   $as_echo_n "(cached) " >&6
11565 else
11566   case $ac_pt_PKG_CONFIG in
11567   [\\/]* | ?:[\\/]*)
11568   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11569   ;;
11570   *)
11571   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11572 for as_dir in $PATH
11573 do
11574   IFS=$as_save_IFS
11575   test -z "$as_dir" && as_dir=.
11576     for ac_exec_ext in '' $ac_executable_extensions; do
11577   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11578     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11579     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11580     break 2
11581   fi
11582 done
11583   done
11584 IFS=$as_save_IFS
11585
11586   ;;
11587 esac
11588 fi
11589 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11590 if test -n "$ac_pt_PKG_CONFIG"; then
11591   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11592 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
11593 else
11594   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11595 $as_echo "no" >&6; }
11596 fi
11597
11598   if test "x$ac_pt_PKG_CONFIG" = x; then
11599     PKG_CONFIG=""
11600   else
11601     case $cross_compiling:$ac_tool_warned in
11602 yes:)
11603 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11604 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11605 ac_tool_warned=yes ;;
11606 esac
11607     PKG_CONFIG=$ac_pt_PKG_CONFIG
11608   fi
11609 else
11610   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11611 fi
11612
11613 fi
11614 if test -n "$PKG_CONFIG"; then
11615         _pkg_min_version=0.9.0
11616         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11617 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11618         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11619                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11620 $as_echo "yes" >&6; }
11621         else
11622                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11623 $as_echo "no" >&6; }
11624                 PKG_CONFIG=""
11625         fi
11626 fi
11627
11628
11629
11630     # Extract the first word of "gtkdoc-check", so it can be a program name with args.
11631 set dummy gtkdoc-check; ac_word=$2
11632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11633 $as_echo_n "checking for $ac_word... " >&6; }
11634 if ${ac_cv_path_GTKDOC_CHECK+:} false; then :
11635   $as_echo_n "(cached) " >&6
11636 else
11637   case $GTKDOC_CHECK in
11638   [\\/]* | ?:[\\/]*)
11639   ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
11640   ;;
11641   *)
11642   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11643 for as_dir in $PATH
11644 do
11645   IFS=$as_save_IFS
11646   test -z "$as_dir" && as_dir=.
11647     for ac_exec_ext in '' $ac_executable_extensions; do
11648   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11649     ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
11650     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11651     break 2
11652   fi
11653 done
11654   done
11655 IFS=$as_save_IFS
11656
11657   ;;
11658 esac
11659 fi
11660 GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
11661 if test -n "$GTKDOC_CHECK"; then
11662   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
11663 $as_echo "$GTKDOC_CHECK" >&6; }
11664 else
11665   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11666 $as_echo "no" >&6; }
11667 fi
11668
11669
11670   for ac_prog in gtkdoc-rebase
11671 do
11672   # Extract the first word of "$ac_prog", so it can be a program name with args.
11673 set dummy $ac_prog; ac_word=$2
11674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11675 $as_echo_n "checking for $ac_word... " >&6; }
11676 if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
11677   $as_echo_n "(cached) " >&6
11678 else
11679   case $GTKDOC_REBASE in
11680   [\\/]* | ?:[\\/]*)
11681   ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
11682   ;;
11683   *)
11684   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11685 for as_dir in $PATH
11686 do
11687   IFS=$as_save_IFS
11688   test -z "$as_dir" && as_dir=.
11689     for ac_exec_ext in '' $ac_executable_extensions; do
11690   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11691     ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
11692     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11693     break 2
11694   fi
11695 done
11696   done
11697 IFS=$as_save_IFS
11698
11699   ;;
11700 esac
11701 fi
11702 GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
11703 if test -n "$GTKDOC_REBASE"; then
11704   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
11705 $as_echo "$GTKDOC_REBASE" >&6; }
11706 else
11707   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11708 $as_echo "no" >&6; }
11709 fi
11710
11711
11712   test -n "$GTKDOC_REBASE" && break
11713 done
11714 test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
11715
11716   # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
11717 set dummy gtkdoc-mkpdf; ac_word=$2
11718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11719 $as_echo_n "checking for $ac_word... " >&6; }
11720 if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
11721   $as_echo_n "(cached) " >&6
11722 else
11723   case $GTKDOC_MKPDF in
11724   [\\/]* | ?:[\\/]*)
11725   ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
11726   ;;
11727   *)
11728   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11729 for as_dir in $PATH
11730 do
11731   IFS=$as_save_IFS
11732   test -z "$as_dir" && as_dir=.
11733     for ac_exec_ext in '' $ac_executable_extensions; do
11734   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11735     ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
11736     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11737     break 2
11738   fi
11739 done
11740   done
11741 IFS=$as_save_IFS
11742
11743   ;;
11744 esac
11745 fi
11746 GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
11747 if test -n "$GTKDOC_MKPDF"; then
11748   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
11749 $as_echo "$GTKDOC_MKPDF" >&6; }
11750 else
11751   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11752 $as_echo "no" >&6; }
11753 fi
11754
11755
11756
11757
11758 # Check whether --with-html-dir was given.
11759 if test "${with_html_dir+set}" = set; then :
11760   withval=$with_html_dir;
11761 else
11762   with_html_dir='${datadir}/gtk-doc/html'
11763 fi
11764
11765   HTML_DIR="$with_html_dir"
11766
11767
11768     # Check whether --enable-gtk-doc was given.
11769 if test "${enable_gtk_doc+set}" = set; then :
11770   enableval=$enable_gtk_doc;
11771 else
11772   enable_gtk_doc=no
11773 fi
11774
11775
11776   if test x$enable_gtk_doc = xyes; then
11777     if test -n "$PKG_CONFIG" && \
11778     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.18\""; } >&5
11779   ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.18") 2>&5
11780   ac_status=$?
11781   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11782   test $ac_status = 0; }; then
11783   :
11784 else
11785   as_fn_error $? "You need to have gtk-doc >= 1.18 installed to build $PACKAGE_NAME" "$LINENO" 5
11786 fi
11787         if test "x$PACKAGE_NAME" != "xglib"; then
11788
11789 pkg_failed=no
11790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
11791 $as_echo_n "checking for GTKDOC_DEPS... " >&6; }
11792
11793 if test -n "$GTKDOC_DEPS_CFLAGS"; then
11794     pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
11795  elif test -n "$PKG_CONFIG"; then
11796     if test -n "$PKG_CONFIG" && \
11797     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0\""; } >&5
11798   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
11799   ac_status=$?
11800   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11801   test $ac_status = 0; }; then
11802   pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
11803                       test "x$?" != "x0" && pkg_failed=yes
11804 else
11805   pkg_failed=yes
11806 fi
11807  else
11808     pkg_failed=untried
11809 fi
11810 if test -n "$GTKDOC_DEPS_LIBS"; then
11811     pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
11812  elif test -n "$PKG_CONFIG"; then
11813     if test -n "$PKG_CONFIG" && \
11814     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0\""; } >&5
11815   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
11816   ac_status=$?
11817   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11818   test $ac_status = 0; }; then
11819   pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
11820                       test "x$?" != "x0" && pkg_failed=yes
11821 else
11822   pkg_failed=yes
11823 fi
11824  else
11825     pkg_failed=untried
11826 fi
11827
11828
11829
11830 if test $pkg_failed = yes; then
11831         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11832 $as_echo "no" >&6; }
11833
11834 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11835         _pkg_short_errors_supported=yes
11836 else
11837         _pkg_short_errors_supported=no
11838 fi
11839         if test $_pkg_short_errors_supported = yes; then
11840                 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>&1`
11841         else
11842                 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>&1`
11843         fi
11844         # Put the nasty error message in config.log where it belongs
11845         echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
11846
11847         as_fn_error $? "Package requirements (glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0) were not met:
11848
11849 $GTKDOC_DEPS_PKG_ERRORS
11850
11851 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11852 installed software in a non-standard prefix.
11853
11854 Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
11855 and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
11856 See the pkg-config man page for more details." "$LINENO" 5
11857 elif test $pkg_failed = untried; then
11858         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11859 $as_echo "no" >&6; }
11860         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11861 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11862 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
11863 is in your PATH or set the PKG_CONFIG environment variable to the full
11864 path to pkg-config.
11865
11866 Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
11867 and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
11868 See the pkg-config man page for more details.
11869
11870 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11871 See \`config.log' for more details" "$LINENO" 5; }
11872 else
11873         GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
11874         GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
11875         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11876 $as_echo "yes" >&6; }
11877
11878 fi
11879     fi
11880   fi
11881
11882   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
11883 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
11884   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
11885 $as_echo "$enable_gtk_doc" >&6; }
11886
11887     # Check whether --enable-gtk-doc-html was given.
11888 if test "${enable_gtk_doc_html+set}" = set; then :
11889   enableval=$enable_gtk_doc_html;
11890 else
11891   enable_gtk_doc_html=yes
11892 fi
11893
11894     # Check whether --enable-gtk-doc-pdf was given.
11895 if test "${enable_gtk_doc_pdf+set}" = set; then :
11896   enableval=$enable_gtk_doc_pdf;
11897 else
11898   enable_gtk_doc_pdf=no
11899 fi
11900
11901
11902   if test -z "$GTKDOC_MKPDF"; then
11903     enable_gtk_doc_pdf=no
11904   fi
11905
11906
11907    if test x$enable_gtk_doc = xyes; then
11908   ENABLE_GTK_DOC_TRUE=
11909   ENABLE_GTK_DOC_FALSE='#'
11910 else
11911   ENABLE_GTK_DOC_TRUE='#'
11912   ENABLE_GTK_DOC_FALSE=
11913 fi
11914
11915    if test x$enable_gtk_doc_html = xyes; then
11916   GTK_DOC_BUILD_HTML_TRUE=
11917   GTK_DOC_BUILD_HTML_FALSE='#'
11918 else
11919   GTK_DOC_BUILD_HTML_TRUE='#'
11920   GTK_DOC_BUILD_HTML_FALSE=
11921 fi
11922
11923    if test x$enable_gtk_doc_pdf = xyes; then
11924   GTK_DOC_BUILD_PDF_TRUE=
11925   GTK_DOC_BUILD_PDF_FALSE='#'
11926 else
11927   GTK_DOC_BUILD_PDF_TRUE='#'
11928   GTK_DOC_BUILD_PDF_FALSE=
11929 fi
11930
11931    if test -n "$LIBTOOL"; then
11932   GTK_DOC_USE_LIBTOOL_TRUE=
11933   GTK_DOC_USE_LIBTOOL_FALSE='#'
11934 else
11935   GTK_DOC_USE_LIBTOOL_TRUE='#'
11936   GTK_DOC_USE_LIBTOOL_FALSE=
11937 fi
11938
11939    if test -n "$GTKDOC_REBASE"; then
11940   GTK_DOC_USE_REBASE_TRUE=
11941   GTK_DOC_USE_REBASE_FALSE='#'
11942 else
11943   GTK_DOC_USE_REBASE_TRUE='#'
11944   GTK_DOC_USE_REBASE_FALSE=
11945 fi
11946
11947
11948
11949 # Checks for programs.
11950 ac_ext=c
11951 ac_cpp='$CPP $CPPFLAGS'
11952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11955 if test -n "$ac_tool_prefix"; then
11956   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11957 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11959 $as_echo_n "checking for $ac_word... " >&6; }
11960 if ${ac_cv_prog_CC+:} false; then :
11961   $as_echo_n "(cached) " >&6
11962 else
11963   if test -n "$CC"; then
11964   ac_cv_prog_CC="$CC" # Let the user override the test.
11965 else
11966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11967 for as_dir in $PATH
11968 do
11969   IFS=$as_save_IFS
11970   test -z "$as_dir" && as_dir=.
11971     for ac_exec_ext in '' $ac_executable_extensions; do
11972   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11973     ac_cv_prog_CC="${ac_tool_prefix}gcc"
11974     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11975     break 2
11976   fi
11977 done
11978   done
11979 IFS=$as_save_IFS
11980
11981 fi
11982 fi
11983 CC=$ac_cv_prog_CC
11984 if test -n "$CC"; then
11985   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11986 $as_echo "$CC" >&6; }
11987 else
11988   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11989 $as_echo "no" >&6; }
11990 fi
11991
11992
11993 fi
11994 if test -z "$ac_cv_prog_CC"; then
11995   ac_ct_CC=$CC
11996   # Extract the first word of "gcc", so it can be a program name with args.
11997 set dummy gcc; ac_word=$2
11998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11999 $as_echo_n "checking for $ac_word... " >&6; }
12000 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12001   $as_echo_n "(cached) " >&6
12002 else
12003   if test -n "$ac_ct_CC"; then
12004   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12005 else
12006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12007 for as_dir in $PATH
12008 do
12009   IFS=$as_save_IFS
12010   test -z "$as_dir" && as_dir=.
12011     for ac_exec_ext in '' $ac_executable_extensions; do
12012   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12013     ac_cv_prog_ac_ct_CC="gcc"
12014     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12015     break 2
12016   fi
12017 done
12018   done
12019 IFS=$as_save_IFS
12020
12021 fi
12022 fi
12023 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12024 if test -n "$ac_ct_CC"; then
12025   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12026 $as_echo "$ac_ct_CC" >&6; }
12027 else
12028   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12029 $as_echo "no" >&6; }
12030 fi
12031
12032   if test "x$ac_ct_CC" = x; then
12033     CC=""
12034   else
12035     case $cross_compiling:$ac_tool_warned in
12036 yes:)
12037 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12038 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12039 ac_tool_warned=yes ;;
12040 esac
12041     CC=$ac_ct_CC
12042   fi
12043 else
12044   CC="$ac_cv_prog_CC"
12045 fi
12046
12047 if test -z "$CC"; then
12048           if test -n "$ac_tool_prefix"; then
12049     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12050 set dummy ${ac_tool_prefix}cc; ac_word=$2
12051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12052 $as_echo_n "checking for $ac_word... " >&6; }
12053 if ${ac_cv_prog_CC+:} false; then :
12054   $as_echo_n "(cached) " >&6
12055 else
12056   if test -n "$CC"; then
12057   ac_cv_prog_CC="$CC" # Let the user override the test.
12058 else
12059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12060 for as_dir in $PATH
12061 do
12062   IFS=$as_save_IFS
12063   test -z "$as_dir" && as_dir=.
12064     for ac_exec_ext in '' $ac_executable_extensions; do
12065   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12066     ac_cv_prog_CC="${ac_tool_prefix}cc"
12067     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12068     break 2
12069   fi
12070 done
12071   done
12072 IFS=$as_save_IFS
12073
12074 fi
12075 fi
12076 CC=$ac_cv_prog_CC
12077 if test -n "$CC"; then
12078   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12079 $as_echo "$CC" >&6; }
12080 else
12081   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12082 $as_echo "no" >&6; }
12083 fi
12084
12085
12086   fi
12087 fi
12088 if test -z "$CC"; then
12089   # Extract the first word of "cc", so it can be a program name with args.
12090 set dummy cc; ac_word=$2
12091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12092 $as_echo_n "checking for $ac_word... " >&6; }
12093 if ${ac_cv_prog_CC+:} false; then :
12094   $as_echo_n "(cached) " >&6
12095 else
12096   if test -n "$CC"; then
12097   ac_cv_prog_CC="$CC" # Let the user override the test.
12098 else
12099   ac_prog_rejected=no
12100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12101 for as_dir in $PATH
12102 do
12103   IFS=$as_save_IFS
12104   test -z "$as_dir" && as_dir=.
12105     for ac_exec_ext in '' $ac_executable_extensions; do
12106   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12107     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12108        ac_prog_rejected=yes
12109        continue
12110      fi
12111     ac_cv_prog_CC="cc"
12112     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12113     break 2
12114   fi
12115 done
12116   done
12117 IFS=$as_save_IFS
12118
12119 if test $ac_prog_rejected = yes; then
12120   # We found a bogon in the path, so make sure we never use it.
12121   set dummy $ac_cv_prog_CC
12122   shift
12123   if test $# != 0; then
12124     # We chose a different compiler from the bogus one.
12125     # However, it has the same basename, so the bogon will be chosen
12126     # first if we set CC to just the basename; use the full file name.
12127     shift
12128     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12129   fi
12130 fi
12131 fi
12132 fi
12133 CC=$ac_cv_prog_CC
12134 if test -n "$CC"; then
12135   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12136 $as_echo "$CC" >&6; }
12137 else
12138   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12139 $as_echo "no" >&6; }
12140 fi
12141
12142
12143 fi
12144 if test -z "$CC"; then
12145   if test -n "$ac_tool_prefix"; then
12146   for ac_prog in cl.exe
12147   do
12148     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12149 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12151 $as_echo_n "checking for $ac_word... " >&6; }
12152 if ${ac_cv_prog_CC+:} false; then :
12153   $as_echo_n "(cached) " >&6
12154 else
12155   if test -n "$CC"; then
12156   ac_cv_prog_CC="$CC" # Let the user override the test.
12157 else
12158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12159 for as_dir in $PATH
12160 do
12161   IFS=$as_save_IFS
12162   test -z "$as_dir" && as_dir=.
12163     for ac_exec_ext in '' $ac_executable_extensions; do
12164   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12165     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12166     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12167     break 2
12168   fi
12169 done
12170   done
12171 IFS=$as_save_IFS
12172
12173 fi
12174 fi
12175 CC=$ac_cv_prog_CC
12176 if test -n "$CC"; then
12177   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12178 $as_echo "$CC" >&6; }
12179 else
12180   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12181 $as_echo "no" >&6; }
12182 fi
12183
12184
12185     test -n "$CC" && break
12186   done
12187 fi
12188 if test -z "$CC"; then
12189   ac_ct_CC=$CC
12190   for ac_prog in cl.exe
12191 do
12192   # Extract the first word of "$ac_prog", so it can be a program name with args.
12193 set dummy $ac_prog; ac_word=$2
12194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12195 $as_echo_n "checking for $ac_word... " >&6; }
12196 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12197   $as_echo_n "(cached) " >&6
12198 else
12199   if test -n "$ac_ct_CC"; then
12200   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12201 else
12202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12203 for as_dir in $PATH
12204 do
12205   IFS=$as_save_IFS
12206   test -z "$as_dir" && as_dir=.
12207     for ac_exec_ext in '' $ac_executable_extensions; do
12208   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12209     ac_cv_prog_ac_ct_CC="$ac_prog"
12210     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12211     break 2
12212   fi
12213 done
12214   done
12215 IFS=$as_save_IFS
12216
12217 fi
12218 fi
12219 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12220 if test -n "$ac_ct_CC"; then
12221   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12222 $as_echo "$ac_ct_CC" >&6; }
12223 else
12224   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12225 $as_echo "no" >&6; }
12226 fi
12227
12228
12229   test -n "$ac_ct_CC" && break
12230 done
12231
12232   if test "x$ac_ct_CC" = x; then
12233     CC=""
12234   else
12235     case $cross_compiling:$ac_tool_warned in
12236 yes:)
12237 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12238 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12239 ac_tool_warned=yes ;;
12240 esac
12241     CC=$ac_ct_CC
12242   fi
12243 fi
12244
12245 fi
12246
12247
12248 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12249 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12250 as_fn_error $? "no acceptable C compiler found in \$PATH
12251 See \`config.log' for more details" "$LINENO" 5; }
12252
12253 # Provide some information about the compiler.
12254 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12255 set X $ac_compile
12256 ac_compiler=$2
12257 for ac_option in --version -v -V -qversion; do
12258   { { ac_try="$ac_compiler $ac_option >&5"
12259 case "(($ac_try" in
12260   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12261   *) ac_try_echo=$ac_try;;
12262 esac
12263 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12264 $as_echo "$ac_try_echo"; } >&5
12265   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12266   ac_status=$?
12267   if test -s conftest.err; then
12268     sed '10a\
12269 ... rest of stderr output deleted ...
12270          10q' conftest.err >conftest.er1
12271     cat conftest.er1 >&5
12272   fi
12273   rm -f conftest.er1 conftest.err
12274   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12275   test $ac_status = 0; }
12276 done
12277
12278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12279 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12280 if ${ac_cv_c_compiler_gnu+:} false; then :
12281   $as_echo_n "(cached) " >&6
12282 else
12283   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12284 /* end confdefs.h.  */
12285
12286 int
12287 main ()
12288 {
12289 #ifndef __GNUC__
12290        choke me
12291 #endif
12292
12293   ;
12294   return 0;
12295 }
12296 _ACEOF
12297 if ac_fn_c_try_compile "$LINENO"; then :
12298   ac_compiler_gnu=yes
12299 else
12300   ac_compiler_gnu=no
12301 fi
12302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12303 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12304
12305 fi
12306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12307 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12308 if test $ac_compiler_gnu = yes; then
12309   GCC=yes
12310 else
12311   GCC=
12312 fi
12313 ac_test_CFLAGS=${CFLAGS+set}
12314 ac_save_CFLAGS=$CFLAGS
12315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12316 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12317 if ${ac_cv_prog_cc_g+:} false; then :
12318   $as_echo_n "(cached) " >&6
12319 else
12320   ac_save_c_werror_flag=$ac_c_werror_flag
12321    ac_c_werror_flag=yes
12322    ac_cv_prog_cc_g=no
12323    CFLAGS="-g"
12324    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12325 /* end confdefs.h.  */
12326
12327 int
12328 main ()
12329 {
12330
12331   ;
12332   return 0;
12333 }
12334 _ACEOF
12335 if ac_fn_c_try_compile "$LINENO"; then :
12336   ac_cv_prog_cc_g=yes
12337 else
12338   CFLAGS=""
12339       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12340 /* end confdefs.h.  */
12341
12342 int
12343 main ()
12344 {
12345
12346   ;
12347   return 0;
12348 }
12349 _ACEOF
12350 if ac_fn_c_try_compile "$LINENO"; then :
12351
12352 else
12353   ac_c_werror_flag=$ac_save_c_werror_flag
12354          CFLAGS="-g"
12355          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12356 /* end confdefs.h.  */
12357
12358 int
12359 main ()
12360 {
12361
12362   ;
12363   return 0;
12364 }
12365 _ACEOF
12366 if ac_fn_c_try_compile "$LINENO"; then :
12367   ac_cv_prog_cc_g=yes
12368 fi
12369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12370 fi
12371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12372 fi
12373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12374    ac_c_werror_flag=$ac_save_c_werror_flag
12375 fi
12376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12377 $as_echo "$ac_cv_prog_cc_g" >&6; }
12378 if test "$ac_test_CFLAGS" = set; then
12379   CFLAGS=$ac_save_CFLAGS
12380 elif test $ac_cv_prog_cc_g = yes; then
12381   if test "$GCC" = yes; then
12382     CFLAGS="-g -O2"
12383   else
12384     CFLAGS="-g"
12385   fi
12386 else
12387   if test "$GCC" = yes; then
12388     CFLAGS="-O2"
12389   else
12390     CFLAGS=
12391   fi
12392 fi
12393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12394 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12395 if ${ac_cv_prog_cc_c89+:} false; then :
12396   $as_echo_n "(cached) " >&6
12397 else
12398   ac_cv_prog_cc_c89=no
12399 ac_save_CC=$CC
12400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12401 /* end confdefs.h.  */
12402 #include <stdarg.h>
12403 #include <stdio.h>
12404 #include <sys/types.h>
12405 #include <sys/stat.h>
12406 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
12407 struct buf { int x; };
12408 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12409 static char *e (p, i)
12410      char **p;
12411      int i;
12412 {
12413   return p[i];
12414 }
12415 static char *f (char * (*g) (char **, int), char **p, ...)
12416 {
12417   char *s;
12418   va_list v;
12419   va_start (v,p);
12420   s = g (p, va_arg (v,int));
12421   va_end (v);
12422   return s;
12423 }
12424
12425 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
12426    function prototypes and stuff, but not '\xHH' hex character constants.
12427    These don't provoke an error unfortunately, instead are silently treated
12428    as 'x'.  The following induces an error, until -std is added to get
12429    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
12430    array size at least.  It's necessary to write '\x00'==0 to get something
12431    that's true only with -std.  */
12432 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12433
12434 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12435    inside strings and character constants.  */
12436 #define FOO(x) 'x'
12437 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12438
12439 int test (int i, double x);
12440 struct s1 {int (*f) (int a);};
12441 struct s2 {int (*f) (double a);};
12442 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12443 int argc;
12444 char **argv;
12445 int
12446 main ()
12447 {
12448 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
12449   ;
12450   return 0;
12451 }
12452 _ACEOF
12453 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12454         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12455 do
12456   CC="$ac_save_CC $ac_arg"
12457   if ac_fn_c_try_compile "$LINENO"; then :
12458   ac_cv_prog_cc_c89=$ac_arg
12459 fi
12460 rm -f core conftest.err conftest.$ac_objext
12461   test "x$ac_cv_prog_cc_c89" != "xno" && break
12462 done
12463 rm -f conftest.$ac_ext
12464 CC=$ac_save_CC
12465
12466 fi
12467 # AC_CACHE_VAL
12468 case "x$ac_cv_prog_cc_c89" in
12469   x)
12470     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12471 $as_echo "none needed" >&6; } ;;
12472   xno)
12473     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12474 $as_echo "unsupported" >&6; } ;;
12475   *)
12476     CC="$CC $ac_cv_prog_cc_c89"
12477     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12478 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12479 esac
12480 if test "x$ac_cv_prog_cc_c89" != xno; then :
12481
12482 fi
12483
12484 ac_ext=c
12485 ac_cpp='$CPP $CPPFLAGS'
12486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12489
12490 depcc="$CC"   am_compiler_list=
12491
12492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12493 $as_echo_n "checking dependency style of $depcc... " >&6; }
12494 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
12495   $as_echo_n "(cached) " >&6
12496 else
12497   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12498   # We make a subdir and do the tests there.  Otherwise we can end up
12499   # making bogus files that we don't know about and never remove.  For
12500   # instance it was reported that on HP-UX the gcc test will end up
12501   # making a dummy file named `D' -- because `-MD' means `put the output
12502   # in D'.
12503   rm -rf conftest.dir
12504   mkdir conftest.dir
12505   # Copy depcomp to subdir because otherwise we won't find it if we're
12506   # using a relative directory.
12507   cp "$am_depcomp" conftest.dir
12508   cd conftest.dir
12509   # We will build objects and dependencies in a subdirectory because
12510   # it helps to detect inapplicable dependency modes.  For instance
12511   # both Tru64's cc and ICC support -MD to output dependencies as a
12512   # side effect of compilation, but ICC will put the dependencies in
12513   # the current directory while Tru64 will put them in the object
12514   # directory.
12515   mkdir sub
12516
12517   am_cv_CC_dependencies_compiler_type=none
12518   if test "$am_compiler_list" = ""; then
12519      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12520   fi
12521   am__universal=false
12522   case " $depcc " in #(
12523      *\ -arch\ *\ -arch\ *) am__universal=true ;;
12524      esac
12525
12526   for depmode in $am_compiler_list; do
12527     # Setup a source with many dependencies, because some compilers
12528     # like to wrap large dependency lists on column 80 (with \), and
12529     # we should not choose a depcomp mode which is confused by this.
12530     #
12531     # We need to recreate these files for each test, as the compiler may
12532     # overwrite some of them when testing with obscure command lines.
12533     # This happens at least with the AIX C compiler.
12534     : > sub/conftest.c
12535     for i in 1 2 3 4 5 6; do
12536       echo '#include "conftst'$i'.h"' >> sub/conftest.c
12537       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12538       # Solaris 8's {/usr,}/bin/sh.
12539       touch sub/conftst$i.h
12540     done
12541     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12542
12543     # We check with `-c' and `-o' for the sake of the "dashmstdout"
12544     # mode.  It turns out that the SunPro C++ compiler does not properly
12545     # handle `-M -o', and we need to detect this.  Also, some Intel
12546     # versions had trouble with output in subdirs
12547     am__obj=sub/conftest.${OBJEXT-o}
12548     am__minus_obj="-o $am__obj"
12549     case $depmode in
12550     gcc)
12551       # This depmode causes a compiler race in universal mode.
12552       test "$am__universal" = false || continue
12553       ;;
12554     nosideeffect)
12555       # after this tag, mechanisms are not by side-effect, so they'll
12556       # only be used when explicitly requested
12557       if test "x$enable_dependency_tracking" = xyes; then
12558         continue
12559       else
12560         break
12561       fi
12562       ;;
12563     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
12564       # This compiler won't grok `-c -o', but also, the minuso test has
12565       # not run yet.  These depmodes are late enough in the game, and
12566       # so weak that their functioning should not be impacted.
12567       am__obj=conftest.${OBJEXT-o}
12568       am__minus_obj=
12569       ;;
12570     none) break ;;
12571     esac
12572     if depmode=$depmode \
12573        source=sub/conftest.c object=$am__obj \
12574        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12575        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12576          >/dev/null 2>conftest.err &&
12577        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12578        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12579        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12580        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12581       # icc doesn't choke on unknown options, it will just issue warnings
12582       # or remarks (even with -Werror).  So we grep stderr for any message
12583       # that says an option was ignored or not supported.
12584       # When given -MP, icc 7.0 and 7.1 complain thusly:
12585       #   icc: Command line warning: ignoring option '-M'; no argument required
12586       # The diagnosis changed in icc 8.0:
12587       #   icc: Command line remark: option '-MP' not supported
12588       if (grep 'ignoring option' conftest.err ||
12589           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12590         am_cv_CC_dependencies_compiler_type=$depmode
12591         break
12592       fi
12593     fi
12594   done
12595
12596   cd ..
12597   rm -rf conftest.dir
12598 else
12599   am_cv_CC_dependencies_compiler_type=none
12600 fi
12601
12602 fi
12603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12604 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12605 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12606
12607  if
12608   test "x$enable_dependency_tracking" != xno \
12609   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
12610   am__fastdepCC_TRUE=
12611   am__fastdepCC_FALSE='#'
12612 else
12613   am__fastdepCC_TRUE='#'
12614   am__fastdepCC_FALSE=
12615 fi
12616
12617
12618 # Extract the first word of "glib-mkenums", so it can be a program name with args.
12619 set dummy glib-mkenums; ac_word=$2
12620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12621 $as_echo_n "checking for $ac_word... " >&6; }
12622 if ${ac_cv_path_GLIB_MKENUMS+:} false; then :
12623   $as_echo_n "(cached) " >&6
12624 else
12625   case $GLIB_MKENUMS in
12626   [\\/]* | ?:[\\/]*)
12627   ac_cv_path_GLIB_MKENUMS="$GLIB_MKENUMS" # Let the user override the test with a path.
12628   ;;
12629   *)
12630   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12631 for as_dir in $PATH
12632 do
12633   IFS=$as_save_IFS
12634   test -z "$as_dir" && as_dir=.
12635     for ac_exec_ext in '' $ac_executable_extensions; do
12636   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12637     ac_cv_path_GLIB_MKENUMS="$as_dir/$ac_word$ac_exec_ext"
12638     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12639     break 2
12640   fi
12641 done
12642   done
12643 IFS=$as_save_IFS
12644
12645   test -z "$ac_cv_path_GLIB_MKENUMS" && ac_cv_path_GLIB_MKENUMS="$PATH"
12646   ;;
12647 esac
12648 fi
12649 GLIB_MKENUMS=$ac_cv_path_GLIB_MKENUMS
12650 if test -n "$GLIB_MKENUMS"; then
12651   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_MKENUMS" >&5
12652 $as_echo "$GLIB_MKENUMS" >&6; }
12653 else
12654   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12655 $as_echo "no" >&6; }
12656 fi
12657
12658
12659
12660 # Checks for libraries.
12661
12662 pkg_failed=no
12663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
12664 $as_echo_n "checking for GLIB... " >&6; }
12665
12666 if test -n "$GLIB_CFLAGS"; then
12667     pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
12668  elif test -n "$PKG_CONFIG"; then
12669     if test -n "$PKG_CONFIG" && \
12670     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.30\""; } >&5
12671   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.30") 2>&5
12672   ac_status=$?
12673   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12674   test $ac_status = 0; }; then
12675   pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.30" 2>/dev/null`
12676                       test "x$?" != "x0" && pkg_failed=yes
12677 else
12678   pkg_failed=yes
12679 fi
12680  else
12681     pkg_failed=untried
12682 fi
12683 if test -n "$GLIB_LIBS"; then
12684     pkg_cv_GLIB_LIBS="$GLIB_LIBS"
12685  elif test -n "$PKG_CONFIG"; then
12686     if test -n "$PKG_CONFIG" && \
12687     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.30\""; } >&5
12688   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.30") 2>&5
12689   ac_status=$?
12690   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12691   test $ac_status = 0; }; then
12692   pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.30" 2>/dev/null`
12693                       test "x$?" != "x0" && pkg_failed=yes
12694 else
12695   pkg_failed=yes
12696 fi
12697  else
12698     pkg_failed=untried
12699 fi
12700
12701
12702
12703 if test $pkg_failed = yes; then
12704         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12705 $as_echo "no" >&6; }
12706
12707 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12708         _pkg_short_errors_supported=yes
12709 else
12710         _pkg_short_errors_supported=no
12711 fi
12712         if test $_pkg_short_errors_supported = yes; then
12713                 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.30" 2>&1`
12714         else
12715                 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.30" 2>&1`
12716         fi
12717         # Put the nasty error message in config.log where it belongs
12718         echo "$GLIB_PKG_ERRORS" >&5
12719
12720         as_fn_error $? "Package requirements (glib-2.0 >= 2.30) were not met:
12721
12722 $GLIB_PKG_ERRORS
12723
12724 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12725 installed software in a non-standard prefix.
12726
12727 Alternatively, you may set the environment variables GLIB_CFLAGS
12728 and GLIB_LIBS to avoid the need to call pkg-config.
12729 See the pkg-config man page for more details." "$LINENO" 5
12730 elif test $pkg_failed = untried; then
12731         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12732 $as_echo "no" >&6; }
12733         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12734 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12735 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12736 is in your PATH or set the PKG_CONFIG environment variable to the full
12737 path to pkg-config.
12738
12739 Alternatively, you may set the environment variables GLIB_CFLAGS
12740 and GLIB_LIBS to avoid the need to call pkg-config.
12741 See the pkg-config man page for more details.
12742
12743 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12744 See \`config.log' for more details" "$LINENO" 5; }
12745 else
12746         GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
12747         GLIB_LIBS=$pkg_cv_GLIB_LIBS
12748         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12749 $as_echo "yes" >&6; }
12750
12751 fi
12752
12753
12754
12755
12756 pkg_failed=no
12757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO" >&5
12758 $as_echo_n "checking for GIO... " >&6; }
12759
12760 if test -n "$GIO_CFLAGS"; then
12761     pkg_cv_GIO_CFLAGS="$GIO_CFLAGS"
12762  elif test -n "$PKG_CONFIG"; then
12763     if test -n "$PKG_CONFIG" && \
12764     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 gio-unix-2.0\""; } >&5
12765   ($PKG_CONFIG --exists --print-errors "gio-2.0 gio-unix-2.0") 2>&5
12766   ac_status=$?
12767   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12768   test $ac_status = 0; }; then
12769   pkg_cv_GIO_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 gio-unix-2.0" 2>/dev/null`
12770                       test "x$?" != "x0" && pkg_failed=yes
12771 else
12772   pkg_failed=yes
12773 fi
12774  else
12775     pkg_failed=untried
12776 fi
12777 if test -n "$GIO_LIBS"; then
12778     pkg_cv_GIO_LIBS="$GIO_LIBS"
12779  elif test -n "$PKG_CONFIG"; then
12780     if test -n "$PKG_CONFIG" && \
12781     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 gio-unix-2.0\""; } >&5
12782   ($PKG_CONFIG --exists --print-errors "gio-2.0 gio-unix-2.0") 2>&5
12783   ac_status=$?
12784   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12785   test $ac_status = 0; }; then
12786   pkg_cv_GIO_LIBS=`$PKG_CONFIG --libs "gio-2.0 gio-unix-2.0" 2>/dev/null`
12787                       test "x$?" != "x0" && pkg_failed=yes
12788 else
12789   pkg_failed=yes
12790 fi
12791  else
12792     pkg_failed=untried
12793 fi
12794
12795
12796
12797 if test $pkg_failed = yes; then
12798         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12799 $as_echo "no" >&6; }
12800
12801 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12802         _pkg_short_errors_supported=yes
12803 else
12804         _pkg_short_errors_supported=no
12805 fi
12806         if test $_pkg_short_errors_supported = yes; then
12807                 GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-2.0 gio-unix-2.0" 2>&1`
12808         else
12809                 GIO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0 gio-unix-2.0" 2>&1`
12810         fi
12811         # Put the nasty error message in config.log where it belongs
12812         echo "$GIO_PKG_ERRORS" >&5
12813
12814         as_fn_error $? "Package requirements (gio-2.0 gio-unix-2.0) were not met:
12815
12816 $GIO_PKG_ERRORS
12817
12818 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12819 installed software in a non-standard prefix.
12820
12821 Alternatively, you may set the environment variables GIO_CFLAGS
12822 and GIO_LIBS to avoid the need to call pkg-config.
12823 See the pkg-config man page for more details." "$LINENO" 5
12824 elif test $pkg_failed = untried; then
12825         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12826 $as_echo "no" >&6; }
12827         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12828 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12829 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12830 is in your PATH or set the PKG_CONFIG environment variable to the full
12831 path to pkg-config.
12832
12833 Alternatively, you may set the environment variables GIO_CFLAGS
12834 and GIO_LIBS to avoid the need to call pkg-config.
12835 See the pkg-config man page for more details.
12836
12837 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12838 See \`config.log' for more details" "$LINENO" 5; }
12839 else
12840         GIO_CFLAGS=$pkg_cv_GIO_CFLAGS
12841         GIO_LIBS=$pkg_cv_GIO_LIBS
12842         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12843 $as_echo "yes" >&6; }
12844
12845 fi
12846
12847
12848
12849
12850 pkg_failed=no
12851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GMODULE" >&5
12852 $as_echo_n "checking for GMODULE... " >&6; }
12853
12854 if test -n "$GMODULE_CFLAGS"; then
12855     pkg_cv_GMODULE_CFLAGS="$GMODULE_CFLAGS"
12856  elif test -n "$PKG_CONFIG"; then
12857     if test -n "$PKG_CONFIG" && \
12858     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0\""; } >&5
12859   ($PKG_CONFIG --exists --print-errors "gmodule-2.0") 2>&5
12860   ac_status=$?
12861   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12862   test $ac_status = 0; }; then
12863   pkg_cv_GMODULE_CFLAGS=`$PKG_CONFIG --cflags "gmodule-2.0" 2>/dev/null`
12864                       test "x$?" != "x0" && pkg_failed=yes
12865 else
12866   pkg_failed=yes
12867 fi
12868  else
12869     pkg_failed=untried
12870 fi
12871 if test -n "$GMODULE_LIBS"; then
12872     pkg_cv_GMODULE_LIBS="$GMODULE_LIBS"
12873  elif test -n "$PKG_CONFIG"; then
12874     if test -n "$PKG_CONFIG" && \
12875     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0\""; } >&5
12876   ($PKG_CONFIG --exists --print-errors "gmodule-2.0") 2>&5
12877   ac_status=$?
12878   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12879   test $ac_status = 0; }; then
12880   pkg_cv_GMODULE_LIBS=`$PKG_CONFIG --libs "gmodule-2.0" 2>/dev/null`
12881                       test "x$?" != "x0" && pkg_failed=yes
12882 else
12883   pkg_failed=yes
12884 fi
12885  else
12886     pkg_failed=untried
12887 fi
12888
12889
12890
12891 if test $pkg_failed = yes; then
12892         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12893 $as_echo "no" >&6; }
12894
12895 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12896         _pkg_short_errors_supported=yes
12897 else
12898         _pkg_short_errors_supported=no
12899 fi
12900         if test $_pkg_short_errors_supported = yes; then
12901                 GMODULE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gmodule-2.0" 2>&1`
12902         else
12903                 GMODULE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gmodule-2.0" 2>&1`
12904         fi
12905         # Put the nasty error message in config.log where it belongs
12906         echo "$GMODULE_PKG_ERRORS" >&5
12907
12908         as_fn_error $? "Package requirements (gmodule-2.0) were not met:
12909
12910 $GMODULE_PKG_ERRORS
12911
12912 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12913 installed software in a non-standard prefix.
12914
12915 Alternatively, you may set the environment variables GMODULE_CFLAGS
12916 and GMODULE_LIBS to avoid the need to call pkg-config.
12917 See the pkg-config man page for more details." "$LINENO" 5
12918 elif test $pkg_failed = untried; then
12919         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12920 $as_echo "no" >&6; }
12921         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12922 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12923 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12924 is in your PATH or set the PKG_CONFIG environment variable to the full
12925 path to pkg-config.
12926
12927 Alternatively, you may set the environment variables GMODULE_CFLAGS
12928 and GMODULE_LIBS to avoid the need to call pkg-config.
12929 See the pkg-config man page for more details.
12930
12931 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12932 See \`config.log' for more details" "$LINENO" 5; }
12933 else
12934         GMODULE_CFLAGS=$pkg_cv_GMODULE_CFLAGS
12935         GMODULE_LIBS=$pkg_cv_GMODULE_LIBS
12936         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12937 $as_echo "yes" >&6; }
12938
12939 fi
12940
12941
12942
12943 # Check for libtlm-nfc
12944
12945 pkg_failed=no
12946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBTLM_NFC" >&5
12947 $as_echo_n "checking for LIBTLM_NFC... " >&6; }
12948
12949 if test -n "$LIBTLM_NFC_CFLAGS"; then
12950     pkg_cv_LIBTLM_NFC_CFLAGS="$LIBTLM_NFC_CFLAGS"
12951  elif test -n "$PKG_CONFIG"; then
12952     if test -n "$PKG_CONFIG" && \
12953     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libtlm-nfc\""; } >&5
12954   ($PKG_CONFIG --exists --print-errors "libtlm-nfc") 2>&5
12955   ac_status=$?
12956   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12957   test $ac_status = 0; }; then
12958   pkg_cv_LIBTLM_NFC_CFLAGS=`$PKG_CONFIG --cflags "libtlm-nfc" 2>/dev/null`
12959                       test "x$?" != "x0" && pkg_failed=yes
12960 else
12961   pkg_failed=yes
12962 fi
12963  else
12964     pkg_failed=untried
12965 fi
12966 if test -n "$LIBTLM_NFC_LIBS"; then
12967     pkg_cv_LIBTLM_NFC_LIBS="$LIBTLM_NFC_LIBS"
12968  elif test -n "$PKG_CONFIG"; then
12969     if test -n "$PKG_CONFIG" && \
12970     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libtlm-nfc\""; } >&5
12971   ($PKG_CONFIG --exists --print-errors "libtlm-nfc") 2>&5
12972   ac_status=$?
12973   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12974   test $ac_status = 0; }; then
12975   pkg_cv_LIBTLM_NFC_LIBS=`$PKG_CONFIG --libs "libtlm-nfc" 2>/dev/null`
12976                       test "x$?" != "x0" && pkg_failed=yes
12977 else
12978   pkg_failed=yes
12979 fi
12980  else
12981     pkg_failed=untried
12982 fi
12983
12984
12985
12986 if test $pkg_failed = yes; then
12987         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12988 $as_echo "no" >&6; }
12989
12990 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12991         _pkg_short_errors_supported=yes
12992 else
12993         _pkg_short_errors_supported=no
12994 fi
12995         if test $_pkg_short_errors_supported = yes; then
12996                 LIBTLM_NFC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libtlm-nfc" 2>&1`
12997         else
12998                 LIBTLM_NFC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libtlm-nfc" 2>&1`
12999         fi
13000         # Put the nasty error message in config.log where it belongs
13001         echo "$LIBTLM_NFC_PKG_ERRORS" >&5
13002
13003         have_libtlm_nfc=no
13004 elif test $pkg_failed = untried; then
13005         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13006 $as_echo "no" >&6; }
13007         have_libtlm_nfc=no
13008 else
13009         LIBTLM_NFC_CFLAGS=$pkg_cv_LIBTLM_NFC_CFLAGS
13010         LIBTLM_NFC_LIBS=$pkg_cv_LIBTLM_NFC_LIBS
13011         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13012 $as_echo "yes" >&6; }
13013         have_libtlm_nfc=yes
13014 fi
13015
13016
13017  if test x$have_libtlm_nfc = xyes; then
13018   HAVE_LIBTLM_NFC_TRUE=
13019   HAVE_LIBTLM_NFC_FALSE='#'
13020 else
13021   HAVE_LIBTLM_NFC_TRUE='#'
13022   HAVE_LIBTLM_NFC_FALSE=
13023 fi
13024
13025
13026 for ac_header in security/pam_appl.h
13027 do :
13028   ac_fn_c_check_header_mongrel "$LINENO" "security/pam_appl.h" "ac_cv_header_security_pam_appl_h" "$ac_includes_default"
13029 if test "x$ac_cv_header_security_pam_appl_h" = xyes; then :
13030   cat >>confdefs.h <<_ACEOF
13031 #define HAVE_SECURITY_PAM_APPL_H 1
13032 _ACEOF
13033
13034 else
13035   as_fn_error $? "\"pam-devel is required\"" "$LINENO" 5
13036 fi
13037
13038 done
13039
13040
13041 TLM_CFLAGS="$GLIB_CFLAGS $GIO_CFLAGS $GMODULE_CFLAGS -D_POSIX_C_SOURCE=\"200809L\" -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -Wall -Werror"
13042 TLM_LIBS="$GLIB_LIBS $GIO_LIBS $GMODULE_LIBS"
13043
13044
13045
13046 # Enable debug
13047 # Check whether --enable-debug was given.
13048 if test "${enable_debug+set}" = set; then :
13049   enableval=$enable_debug; enable_debug=$enable_debug
13050 else
13051   enable_debug="yes"
13052 fi
13053
13054 if test "x$enable_debug" = "xyes" ; then
13055
13056 $as_echo "#define ENABLE_DEBUG 1" >>confdefs.h
13057
13058     # Check whether --enable-tests was given.
13059 if test "${enable_tests+set}" = set; then :
13060   enableval=$enable_tests; enable_tests=$enable_tests
13061 else
13062   enable_tests="no"
13063 fi
13064
13065     if test "x$enable_tests" = "xyes" ; then
13066
13067 $as_echo "#define ENABLE_TESTS 1" >>confdefs.h
13068
13069
13070 pkg_failed=no
13071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5
13072 $as_echo_n "checking for CHECK... " >&6; }
13073
13074 if test -n "$CHECK_CFLAGS"; then
13075     pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS"
13076  elif test -n "$PKG_CONFIG"; then
13077     if test -n "$PKG_CONFIG" && \
13078     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.4\""; } >&5
13079   ($PKG_CONFIG --exists --print-errors "check >= 0.9.4") 2>&5
13080   ac_status=$?
13081   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13082   test $ac_status = 0; }; then
13083   pkg_cv_CHECK_CFLAGS=`$PKG_CONFIG --cflags "check >= 0.9.4" 2>/dev/null`
13084                       test "x$?" != "x0" && pkg_failed=yes
13085 else
13086   pkg_failed=yes
13087 fi
13088  else
13089     pkg_failed=untried
13090 fi
13091 if test -n "$CHECK_LIBS"; then
13092     pkg_cv_CHECK_LIBS="$CHECK_LIBS"
13093  elif test -n "$PKG_CONFIG"; then
13094     if test -n "$PKG_CONFIG" && \
13095     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.4\""; } >&5
13096   ($PKG_CONFIG --exists --print-errors "check >= 0.9.4") 2>&5
13097   ac_status=$?
13098   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13099   test $ac_status = 0; }; then
13100   pkg_cv_CHECK_LIBS=`$PKG_CONFIG --libs "check >= 0.9.4" 2>/dev/null`
13101                       test "x$?" != "x0" && pkg_failed=yes
13102 else
13103   pkg_failed=yes
13104 fi
13105  else
13106     pkg_failed=untried
13107 fi
13108
13109
13110
13111 if test $pkg_failed = yes; then
13112         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13113 $as_echo "no" >&6; }
13114
13115 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13116         _pkg_short_errors_supported=yes
13117 else
13118         _pkg_short_errors_supported=no
13119 fi
13120         if test $_pkg_short_errors_supported = yes; then
13121                 CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "check >= 0.9.4" 2>&1`
13122         else
13123                 CHECK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "check >= 0.9.4" 2>&1`
13124         fi
13125         # Put the nasty error message in config.log where it belongs
13126         echo "$CHECK_PKG_ERRORS" >&5
13127
13128         as_fn_error $? "Package requirements (check >= 0.9.4) were not met:
13129
13130 $CHECK_PKG_ERRORS
13131
13132 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13133 installed software in a non-standard prefix.
13134
13135 Alternatively, you may set the environment variables CHECK_CFLAGS
13136 and CHECK_LIBS to avoid the need to call pkg-config.
13137 See the pkg-config man page for more details." "$LINENO" 5
13138 elif test $pkg_failed = untried; then
13139         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13140 $as_echo "no" >&6; }
13141         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13142 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13143 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13144 is in your PATH or set the PKG_CONFIG environment variable to the full
13145 path to pkg-config.
13146
13147 Alternatively, you may set the environment variables CHECK_CFLAGS
13148 and CHECK_LIBS to avoid the need to call pkg-config.
13149 See the pkg-config man page for more details.
13150
13151 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13152 See \`config.log' for more details" "$LINENO" 5; }
13153 else
13154         CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS
13155         CHECK_LIBS=$pkg_cv_CHECK_LIBS
13156         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13157 $as_echo "yes" >&6; }
13158
13159 fi
13160     fi
13161 else
13162     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Tests can't be enabled without debug features\"" >&5
13163 $as_echo "$as_me: WARNING: \"Tests can't be enabled without debug features\"" >&2;}
13164     enable_tests=no
13165 fi
13166
13167
13168  if test "x$enable_tests" = "xyes"; then
13169   ENABLE_TESTS_TRUE=
13170   ENABLE_TESTS_FALSE='#'
13171 else
13172   ENABLE_TESTS_TRUE='#'
13173   ENABLE_TESTS_FALSE=
13174 fi
13175
13176
13177 # Enable examples
13178 # Check whether --enable-examples was given.
13179 if test "${enable_examples+set}" = set; then :
13180   enableval=$enable_examples; enable_examples=$enable_examples
13181 else
13182   enable_examples="no"
13183 fi
13184
13185  if test x$enable_examples = xyes; then
13186   ENABLE_EXAMPLES_TRUE=
13187   ENABLE_EXAMPLES_FALSE='#'
13188 else
13189   ENABLE_EXAMPLES_TRUE='#'
13190   ENABLE_EXAMPLES_FALSE=
13191 fi
13192
13193
13194 if test "x$enable_examples" = "xyes" ; then
13195
13196 pkg_failed=no
13197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY" >&5
13198 $as_echo_n "checking for ELEMENTARY... " >&6; }
13199
13200 if test -n "$ELEMENTARY_CFLAGS"; then
13201     pkg_cv_ELEMENTARY_CFLAGS="$ELEMENTARY_CFLAGS"
13202  elif test -n "$PKG_CONFIG"; then
13203     if test -n "$PKG_CONFIG" && \
13204     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"elementary\""; } >&5
13205   ($PKG_CONFIG --exists --print-errors "elementary") 2>&5
13206   ac_status=$?
13207   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13208   test $ac_status = 0; }; then
13209   pkg_cv_ELEMENTARY_CFLAGS=`$PKG_CONFIG --cflags "elementary" 2>/dev/null`
13210                       test "x$?" != "x0" && pkg_failed=yes
13211 else
13212   pkg_failed=yes
13213 fi
13214  else
13215     pkg_failed=untried
13216 fi
13217 if test -n "$ELEMENTARY_LIBS"; then
13218     pkg_cv_ELEMENTARY_LIBS="$ELEMENTARY_LIBS"
13219  elif test -n "$PKG_CONFIG"; then
13220     if test -n "$PKG_CONFIG" && \
13221     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"elementary\""; } >&5
13222   ($PKG_CONFIG --exists --print-errors "elementary") 2>&5
13223   ac_status=$?
13224   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13225   test $ac_status = 0; }; then
13226   pkg_cv_ELEMENTARY_LIBS=`$PKG_CONFIG --libs "elementary" 2>/dev/null`
13227                       test "x$?" != "x0" && pkg_failed=yes
13228 else
13229   pkg_failed=yes
13230 fi
13231  else
13232     pkg_failed=untried
13233 fi
13234
13235
13236
13237 if test $pkg_failed = yes; then
13238         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13239 $as_echo "no" >&6; }
13240
13241 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13242         _pkg_short_errors_supported=yes
13243 else
13244         _pkg_short_errors_supported=no
13245 fi
13246         if test $_pkg_short_errors_supported = yes; then
13247                 ELEMENTARY_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "elementary" 2>&1`
13248         else
13249                 ELEMENTARY_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "elementary" 2>&1`
13250         fi
13251         # Put the nasty error message in config.log where it belongs
13252         echo "$ELEMENTARY_PKG_ERRORS" >&5
13253
13254         as_fn_error $? "Package requirements (elementary) were not met:
13255
13256 $ELEMENTARY_PKG_ERRORS
13257
13258 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13259 installed software in a non-standard prefix.
13260
13261 Alternatively, you may set the environment variables ELEMENTARY_CFLAGS
13262 and ELEMENTARY_LIBS to avoid the need to call pkg-config.
13263 See the pkg-config man page for more details." "$LINENO" 5
13264 elif test $pkg_failed = untried; then
13265         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13266 $as_echo "no" >&6; }
13267         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13268 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13269 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13270 is in your PATH or set the PKG_CONFIG environment variable to the full
13271 path to pkg-config.
13272
13273 Alternatively, you may set the environment variables ELEMENTARY_CFLAGS
13274 and ELEMENTARY_LIBS to avoid the need to call pkg-config.
13275 See the pkg-config man page for more details.
13276
13277 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13278 See \`config.log' for more details" "$LINENO" 5; }
13279 else
13280         ELEMENTARY_CFLAGS=$pkg_cv_ELEMENTARY_CFLAGS
13281         ELEMENTARY_LIBS=$pkg_cv_ELEMENTARY_LIBS
13282         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13283 $as_echo "yes" >&6; }
13284
13285 fi
13286
13287
13288 fi
13289
13290 # Define socket path
13291 # Check whether --enable-sockets-path was given.
13292 if test "${enable_sockets_path+set}" = set; then :
13293   enableval=$enable_sockets_path; enable_sockets_path=$enableval
13294 else
13295   enable_sockets_path="/var/run/tlm"
13296 fi
13297
13298
13299 cat >>confdefs.h <<_ACEOF
13300 #define TLM_DBUS_SOCKET_PATH "$enable_sockets_path"
13301 _ACEOF
13302
13303
13304 cat >>confdefs.h <<_ACEOF
13305 #define TLM_DBUS_ROOT_SOCKET_ADDRESS "unix:path=$enable_sockets_path/dbus-sock"
13306 _ACEOF
13307
13308
13309 # Enable gum
13310
13311 pkg_failed=no
13312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGUM" >&5
13313 $as_echo_n "checking for LIBGUM... " >&6; }
13314
13315 if test -n "$LIBGUM_CFLAGS"; then
13316     pkg_cv_LIBGUM_CFLAGS="$LIBGUM_CFLAGS"
13317  elif test -n "$PKG_CONFIG"; then
13318     if test -n "$PKG_CONFIG" && \
13319     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgum\""; } >&5
13320   ($PKG_CONFIG --exists --print-errors "libgum") 2>&5
13321   ac_status=$?
13322   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13323   test $ac_status = 0; }; then
13324   pkg_cv_LIBGUM_CFLAGS=`$PKG_CONFIG --cflags "libgum" 2>/dev/null`
13325                       test "x$?" != "x0" && pkg_failed=yes
13326 else
13327   pkg_failed=yes
13328 fi
13329  else
13330     pkg_failed=untried
13331 fi
13332 if test -n "$LIBGUM_LIBS"; then
13333     pkg_cv_LIBGUM_LIBS="$LIBGUM_LIBS"
13334  elif test -n "$PKG_CONFIG"; then
13335     if test -n "$PKG_CONFIG" && \
13336     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgum\""; } >&5
13337   ($PKG_CONFIG --exists --print-errors "libgum") 2>&5
13338   ac_status=$?
13339   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13340   test $ac_status = 0; }; then
13341   pkg_cv_LIBGUM_LIBS=`$PKG_CONFIG --libs "libgum" 2>/dev/null`
13342                       test "x$?" != "x0" && pkg_failed=yes
13343 else
13344   pkg_failed=yes
13345 fi
13346  else
13347     pkg_failed=untried
13348 fi
13349
13350
13351
13352 if test $pkg_failed = yes; then
13353         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13354 $as_echo "no" >&6; }
13355
13356 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13357         _pkg_short_errors_supported=yes
13358 else
13359         _pkg_short_errors_supported=no
13360 fi
13361         if test $_pkg_short_errors_supported = yes; then
13362                 LIBGUM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libgum" 2>&1`
13363         else
13364                 LIBGUM_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libgum" 2>&1`
13365         fi
13366         # Put the nasty error message in config.log where it belongs
13367         echo "$LIBGUM_PKG_ERRORS" >&5
13368
13369         have_libgum=no
13370 elif test $pkg_failed = untried; then
13371         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13372 $as_echo "no" >&6; }
13373         have_libgum=no
13374 else
13375         LIBGUM_CFLAGS=$pkg_cv_LIBGUM_CFLAGS
13376         LIBGUM_LIBS=$pkg_cv_LIBGUM_LIBS
13377         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13378 $as_echo "yes" >&6; }
13379         have_libgum=yes
13380 fi
13381 # Check whether --enable-gum was given.
13382 if test "${enable_gum+set}" = set; then :
13383   enableval=$enable_gum;
13384 else
13385   enable_gum=$have_libgum
13386 fi
13387
13388 if test "x$enable_gum" = "xyes" && test "x$have_libgum" = "xno" ; then
13389     as_fn_error $? "\"libgum is required.\"" "$LINENO" 5
13390 fi
13391
13392
13393  if test x$have_libgum = xyes; then
13394   HAVE_LIBGUM_TRUE=
13395   HAVE_LIBGUM_FALSE='#'
13396 else
13397   HAVE_LIBGUM_TRUE='#'
13398   HAVE_LIBGUM_FALSE=
13399 fi
13400
13401
13402 if test "x$enable_gum" = "xyes" ; then
13403     ACCOUNT_PLUGIN_NAME=gumd
13404
13405 else
13406     ACCOUNT_PLUGIN_NAME=default
13407
13408 fi
13409
13410 ac_config_files="$ac_config_files Makefile docs/Makefile src/Makefile src/common/Makefile src/common/dbus/Makefile src/daemon/Makefile src/daemon/dbus/Makefile src/daemon/tlm.pc src/plugins/Makefile src/plugins/default/Makefile src/plugins/gumd/Makefile src/plugins/nfc/Makefile data/Makefile data/tlm.conf tests/Makefile tests/config/Makefile tests/daemon/Makefile tests/tlm-test.conf examples/Makefile"
13411
13412
13413 cat >confcache <<\_ACEOF
13414 # This file is a shell script that caches the results of configure
13415 # tests run on this system so they can be shared between configure
13416 # scripts and configure runs, see configure's option --config-cache.
13417 # It is not useful on other systems.  If it contains results you don't
13418 # want to keep, you may remove or edit it.
13419 #
13420 # config.status only pays attention to the cache file if you give it
13421 # the --recheck option to rerun configure.
13422 #
13423 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13424 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13425 # following values.
13426
13427 _ACEOF
13428
13429 # The following way of writing the cache mishandles newlines in values,
13430 # but we know of no workaround that is simple, portable, and efficient.
13431 # So, we kill variables containing newlines.
13432 # Ultrix sh set writes to stderr and can't be redirected directly,
13433 # and sets the high bit in the cache file unless we assign to the vars.
13434 (
13435   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13436     eval ac_val=\$$ac_var
13437     case $ac_val in #(
13438     *${as_nl}*)
13439       case $ac_var in #(
13440       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13441 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13442       esac
13443       case $ac_var in #(
13444       _ | IFS | as_nl) ;; #(
13445       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13446       *) { eval $ac_var=; unset $ac_var;} ;;
13447       esac ;;
13448     esac
13449   done
13450
13451   (set) 2>&1 |
13452     case $as_nl`(ac_space=' '; set) 2>&1` in #(
13453     *${as_nl}ac_space=\ *)
13454       # `set' does not quote correctly, so add quotes: double-quote
13455       # substitution turns \\\\ into \\, and sed turns \\ into \.
13456       sed -n \
13457         "s/'/'\\\\''/g;
13458           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13459       ;; #(
13460     *)
13461       # `set' quotes correctly as required by POSIX, so do not add quotes.
13462       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13463       ;;
13464     esac |
13465     sort
13466 ) |
13467   sed '
13468      /^ac_cv_env_/b end
13469      t clear
13470      :clear
13471      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13472      t end
13473      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13474      :end' >>confcache
13475 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13476   if test -w "$cache_file"; then
13477     if test "x$cache_file" != "x/dev/null"; then
13478       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13479 $as_echo "$as_me: updating cache $cache_file" >&6;}
13480       if test ! -f "$cache_file" || test -h "$cache_file"; then
13481         cat confcache >"$cache_file"
13482       else
13483         case $cache_file in #(
13484         */* | ?:*)
13485           mv -f confcache "$cache_file"$$ &&
13486           mv -f "$cache_file"$$ "$cache_file" ;; #(
13487         *)
13488           mv -f confcache "$cache_file" ;;
13489         esac
13490       fi
13491     fi
13492   else
13493     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13494 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13495   fi
13496 fi
13497 rm -f confcache
13498
13499 test "x$prefix" = xNONE && prefix=$ac_default_prefix
13500 # Let make expand exec_prefix.
13501 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13502
13503 DEFS=-DHAVE_CONFIG_H
13504
13505 ac_libobjs=
13506 ac_ltlibobjs=
13507 U=
13508 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13509   # 1. Remove the extension, and $U if already installed.
13510   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13511   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13512   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
13513   #    will be set to the directory where LIBOBJS objects are built.
13514   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13515   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13516 done
13517 LIBOBJS=$ac_libobjs
13518
13519 LTLIBOBJS=$ac_ltlibobjs
13520
13521
13522  if test -n "$EXEEXT"; then
13523   am__EXEEXT_TRUE=
13524   am__EXEEXT_FALSE='#'
13525 else
13526   am__EXEEXT_TRUE='#'
13527   am__EXEEXT_FALSE=
13528 fi
13529
13530 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13531   as_fn_error $? "conditional \"AMDEP\" was never defined.
13532 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13533 fi
13534 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13535   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13536 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13537 fi
13538 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
13539   as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
13540 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13541 fi
13542 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
13543   as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
13544 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13545 fi
13546 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
13547   as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
13548 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13549 fi
13550 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
13551   as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
13552 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13553 fi
13554 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
13555   as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
13556 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13557 fi
13558 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13559   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13560 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13561 fi
13562 if test -z "${HAVE_LIBTLM_NFC_TRUE}" && test -z "${HAVE_LIBTLM_NFC_FALSE}"; then
13563   as_fn_error $? "conditional \"HAVE_LIBTLM_NFC\" was never defined.
13564 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13565 fi
13566 if test -z "${ENABLE_TESTS_TRUE}" && test -z "${ENABLE_TESTS_FALSE}"; then
13567   as_fn_error $? "conditional \"ENABLE_TESTS\" was never defined.
13568 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13569 fi
13570 if test -z "${ENABLE_EXAMPLES_TRUE}" && test -z "${ENABLE_EXAMPLES_FALSE}"; then
13571   as_fn_error $? "conditional \"ENABLE_EXAMPLES\" was never defined.
13572 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13573 fi
13574 if test -z "${HAVE_LIBGUM_TRUE}" && test -z "${HAVE_LIBGUM_FALSE}"; then
13575   as_fn_error $? "conditional \"HAVE_LIBGUM\" was never defined.
13576 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13577 fi
13578
13579 : "${CONFIG_STATUS=./config.status}"
13580 ac_write_fail=0
13581 ac_clean_files_save=$ac_clean_files
13582 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13583 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13584 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13585 as_write_fail=0
13586 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13587 #! $SHELL
13588 # Generated by $as_me.
13589 # Run this file to recreate the current configuration.
13590 # Compiler output produced by configure, useful for debugging
13591 # configure, is in config.log if it exists.
13592
13593 debug=false
13594 ac_cs_recheck=false
13595 ac_cs_silent=false
13596
13597 SHELL=\${CONFIG_SHELL-$SHELL}
13598 export SHELL
13599 _ASEOF
13600 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13601 ## -------------------- ##
13602 ## M4sh Initialization. ##
13603 ## -------------------- ##
13604
13605 # Be more Bourne compatible
13606 DUALCASE=1; export DUALCASE # for MKS sh
13607 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13608   emulate sh
13609   NULLCMD=:
13610   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13611   # is contrary to our usage.  Disable this feature.
13612   alias -g '${1+"$@"}'='"$@"'
13613   setopt NO_GLOB_SUBST
13614 else
13615   case `(set -o) 2>/dev/null` in #(
13616   *posix*) :
13617     set -o posix ;; #(
13618   *) :
13619      ;;
13620 esac
13621 fi
13622
13623
13624 as_nl='
13625 '
13626 export as_nl
13627 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13628 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13629 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13630 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13631 # Prefer a ksh shell builtin over an external printf program on Solaris,
13632 # but without wasting forks for bash or zsh.
13633 if test -z "$BASH_VERSION$ZSH_VERSION" \
13634     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13635   as_echo='print -r --'
13636   as_echo_n='print -rn --'
13637 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13638   as_echo='printf %s\n'
13639   as_echo_n='printf %s'
13640 else
13641   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13642     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13643     as_echo_n='/usr/ucb/echo -n'
13644   else
13645     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13646     as_echo_n_body='eval
13647       arg=$1;
13648       case $arg in #(
13649       *"$as_nl"*)
13650         expr "X$arg" : "X\\(.*\\)$as_nl";
13651         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13652       esac;
13653       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13654     '
13655     export as_echo_n_body
13656     as_echo_n='sh -c $as_echo_n_body as_echo'
13657   fi
13658   export as_echo_body
13659   as_echo='sh -c $as_echo_body as_echo'
13660 fi
13661
13662 # The user is always right.
13663 if test "${PATH_SEPARATOR+set}" != set; then
13664   PATH_SEPARATOR=:
13665   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13666     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13667       PATH_SEPARATOR=';'
13668   }
13669 fi
13670
13671
13672 # IFS
13673 # We need space, tab and new line, in precisely that order.  Quoting is
13674 # there to prevent editors from complaining about space-tab.
13675 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13676 # splitting by setting IFS to empty value.)
13677 IFS=" ""        $as_nl"
13678
13679 # Find who we are.  Look in the path if we contain no directory separator.
13680 as_myself=
13681 case $0 in #((
13682   *[\\/]* ) as_myself=$0 ;;
13683   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13684 for as_dir in $PATH
13685 do
13686   IFS=$as_save_IFS
13687   test -z "$as_dir" && as_dir=.
13688     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13689   done
13690 IFS=$as_save_IFS
13691
13692      ;;
13693 esac
13694 # We did not find ourselves, most probably we were run as `sh COMMAND'
13695 # in which case we are not to be found in the path.
13696 if test "x$as_myself" = x; then
13697   as_myself=$0
13698 fi
13699 if test ! -f "$as_myself"; then
13700   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13701   exit 1
13702 fi
13703
13704 # Unset variables that we do not need and which cause bugs (e.g. in
13705 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
13706 # suppresses any "Segmentation fault" message there.  '((' could
13707 # trigger a bug in pdksh 5.2.14.
13708 for as_var in BASH_ENV ENV MAIL MAILPATH
13709 do eval test x\${$as_var+set} = xset \
13710   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13711 done
13712 PS1='$ '
13713 PS2='> '
13714 PS4='+ '
13715
13716 # NLS nuisances.
13717 LC_ALL=C
13718 export LC_ALL
13719 LANGUAGE=C
13720 export LANGUAGE
13721
13722 # CDPATH.
13723 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13724
13725
13726 # as_fn_error STATUS ERROR [LINENO LOG_FD]
13727 # ----------------------------------------
13728 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13729 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13730 # script with STATUS, using 1 if that was 0.
13731 as_fn_error ()
13732 {
13733   as_status=$1; test $as_status -eq 0 && as_status=1
13734   if test "$4"; then
13735     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13736     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13737   fi
13738   $as_echo "$as_me: error: $2" >&2
13739   as_fn_exit $as_status
13740 } # as_fn_error
13741
13742
13743 # as_fn_set_status STATUS
13744 # -----------------------
13745 # Set $? to STATUS, without forking.
13746 as_fn_set_status ()
13747 {
13748   return $1
13749 } # as_fn_set_status
13750
13751 # as_fn_exit STATUS
13752 # -----------------
13753 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13754 as_fn_exit ()
13755 {
13756   set +e
13757   as_fn_set_status $1
13758   exit $1
13759 } # as_fn_exit
13760
13761 # as_fn_unset VAR
13762 # ---------------
13763 # Portably unset VAR.
13764 as_fn_unset ()
13765 {
13766   { eval $1=; unset $1;}
13767 }
13768 as_unset=as_fn_unset
13769 # as_fn_append VAR VALUE
13770 # ----------------------
13771 # Append the text in VALUE to the end of the definition contained in VAR. Take
13772 # advantage of any shell optimizations that allow amortized linear growth over
13773 # repeated appends, instead of the typical quadratic growth present in naive
13774 # implementations.
13775 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13776   eval 'as_fn_append ()
13777   {
13778     eval $1+=\$2
13779   }'
13780 else
13781   as_fn_append ()
13782   {
13783     eval $1=\$$1\$2
13784   }
13785 fi # as_fn_append
13786
13787 # as_fn_arith ARG...
13788 # ------------------
13789 # Perform arithmetic evaluation on the ARGs, and store the result in the
13790 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13791 # must be portable across $(()) and expr.
13792 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13793   eval 'as_fn_arith ()
13794   {
13795     as_val=$(( $* ))
13796   }'
13797 else
13798   as_fn_arith ()
13799   {
13800     as_val=`expr "$@" || test $? -eq 1`
13801   }
13802 fi # as_fn_arith
13803
13804
13805 if expr a : '\(a\)' >/dev/null 2>&1 &&
13806    test "X`expr 00001 : '.*\(...\)'`" = X001; then
13807   as_expr=expr
13808 else
13809   as_expr=false
13810 fi
13811
13812 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13813   as_basename=basename
13814 else
13815   as_basename=false
13816 fi
13817
13818 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13819   as_dirname=dirname
13820 else
13821   as_dirname=false
13822 fi
13823
13824 as_me=`$as_basename -- "$0" ||
13825 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13826          X"$0" : 'X\(//\)$' \| \
13827          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13828 $as_echo X/"$0" |
13829     sed '/^.*\/\([^/][^/]*\)\/*$/{
13830             s//\1/
13831             q
13832           }
13833           /^X\/\(\/\/\)$/{
13834             s//\1/
13835             q
13836           }
13837           /^X\/\(\/\).*/{
13838             s//\1/
13839             q
13840           }
13841           s/.*/./; q'`
13842
13843 # Avoid depending upon Character Ranges.
13844 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13845 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13846 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13847 as_cr_digits='0123456789'
13848 as_cr_alnum=$as_cr_Letters$as_cr_digits
13849
13850 ECHO_C= ECHO_N= ECHO_T=
13851 case `echo -n x` in #(((((
13852 -n*)
13853   case `echo 'xy\c'` in
13854   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
13855   xy)  ECHO_C='\c';;
13856   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
13857        ECHO_T=' ';;
13858   esac;;
13859 *)
13860   ECHO_N='-n';;
13861 esac
13862
13863 rm -f conf$$ conf$$.exe conf$$.file
13864 if test -d conf$$.dir; then
13865   rm -f conf$$.dir/conf$$.file
13866 else
13867   rm -f conf$$.dir
13868   mkdir conf$$.dir 2>/dev/null
13869 fi
13870 if (echo >conf$$.file) 2>/dev/null; then
13871   if ln -s conf$$.file conf$$ 2>/dev/null; then
13872     as_ln_s='ln -s'
13873     # ... but there are two gotchas:
13874     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13875     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13876     # In both cases, we have to default to `cp -p'.
13877     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13878       as_ln_s='cp -p'
13879   elif ln conf$$.file conf$$ 2>/dev/null; then
13880     as_ln_s=ln
13881   else
13882     as_ln_s='cp -p'
13883   fi
13884 else
13885   as_ln_s='cp -p'
13886 fi
13887 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13888 rmdir conf$$.dir 2>/dev/null
13889
13890
13891 # as_fn_mkdir_p
13892 # -------------
13893 # Create "$as_dir" as a directory, including parents if necessary.
13894 as_fn_mkdir_p ()
13895 {
13896
13897   case $as_dir in #(
13898   -*) as_dir=./$as_dir;;
13899   esac
13900   test -d "$as_dir" || eval $as_mkdir_p || {
13901     as_dirs=
13902     while :; do
13903       case $as_dir in #(
13904       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13905       *) as_qdir=$as_dir;;
13906       esac
13907       as_dirs="'$as_qdir' $as_dirs"
13908       as_dir=`$as_dirname -- "$as_dir" ||
13909 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13910          X"$as_dir" : 'X\(//\)[^/]' \| \
13911          X"$as_dir" : 'X\(//\)$' \| \
13912          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13913 $as_echo X"$as_dir" |
13914     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13915             s//\1/
13916             q
13917           }
13918           /^X\(\/\/\)[^/].*/{
13919             s//\1/
13920             q
13921           }
13922           /^X\(\/\/\)$/{
13923             s//\1/
13924             q
13925           }
13926           /^X\(\/\).*/{
13927             s//\1/
13928             q
13929           }
13930           s/.*/./; q'`
13931       test -d "$as_dir" && break
13932     done
13933     test -z "$as_dirs" || eval "mkdir $as_dirs"
13934   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13935
13936
13937 } # as_fn_mkdir_p
13938 if mkdir -p . 2>/dev/null; then
13939   as_mkdir_p='mkdir -p "$as_dir"'
13940 else
13941   test -d ./-p && rmdir ./-p
13942   as_mkdir_p=false
13943 fi
13944
13945 if test -x / >/dev/null 2>&1; then
13946   as_test_x='test -x'
13947 else
13948   if ls -dL / >/dev/null 2>&1; then
13949     as_ls_L_option=L
13950   else
13951     as_ls_L_option=
13952   fi
13953   as_test_x='
13954     eval sh -c '\''
13955       if test -d "$1"; then
13956         test -d "$1/.";
13957       else
13958         case $1 in #(
13959         -*)set "./$1";;
13960         esac;
13961         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
13962         ???[sx]*):;;*)false;;esac;fi
13963     '\'' sh
13964   '
13965 fi
13966 as_executable_p=$as_test_x
13967
13968 # Sed expression to map a string onto a valid CPP name.
13969 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13970
13971 # Sed expression to map a string onto a valid variable name.
13972 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13973
13974
13975 exec 6>&1
13976 ## ----------------------------------- ##
13977 ## Main body of $CONFIG_STATUS script. ##
13978 ## ----------------------------------- ##
13979 _ASEOF
13980 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13981
13982 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13983 # Save the log message, to keep $0 and so on meaningful, and to
13984 # report actual input values of CONFIG_FILES etc. instead of their
13985 # values after options handling.
13986 ac_log="
13987 This file was extended by tlm $as_me 0.0.1, which was
13988 generated by GNU Autoconf 2.68.  Invocation command line was
13989
13990   CONFIG_FILES    = $CONFIG_FILES
13991   CONFIG_HEADERS  = $CONFIG_HEADERS
13992   CONFIG_LINKS    = $CONFIG_LINKS
13993   CONFIG_COMMANDS = $CONFIG_COMMANDS
13994   $ $0 $@
13995
13996 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13997 "
13998
13999 _ACEOF
14000
14001 case $ac_config_files in *"
14002 "*) set x $ac_config_files; shift; ac_config_files=$*;;
14003 esac
14004
14005 case $ac_config_headers in *"
14006 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
14007 esac
14008
14009
14010 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14011 # Files that config.status was made for.
14012 config_files="$ac_config_files"
14013 config_headers="$ac_config_headers"
14014 config_commands="$ac_config_commands"
14015
14016 _ACEOF
14017
14018 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14019 ac_cs_usage="\
14020 \`$as_me' instantiates files and other configuration actions
14021 from templates according to the current configuration.  Unless the files
14022 and actions are specified as TAGs, all are instantiated by default.
14023
14024 Usage: $0 [OPTION]... [TAG]...
14025
14026   -h, --help       print this help, then exit
14027   -V, --version    print version number and configuration settings, then exit
14028       --config     print configuration, then exit
14029   -q, --quiet, --silent
14030                    do not print progress messages
14031   -d, --debug      don't remove temporary files
14032       --recheck    update $as_me by reconfiguring in the same conditions
14033       --file=FILE[:TEMPLATE]
14034                    instantiate the configuration file FILE
14035       --header=FILE[:TEMPLATE]
14036                    instantiate the configuration header FILE
14037
14038 Configuration files:
14039 $config_files
14040
14041 Configuration headers:
14042 $config_headers
14043
14044 Configuration commands:
14045 $config_commands
14046
14047 Report bugs to the package provider."
14048
14049 _ACEOF
14050 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14051 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14052 ac_cs_version="\\
14053 tlm config.status 0.0.1
14054 configured by $0, generated by GNU Autoconf 2.68,
14055   with options \\"\$ac_cs_config\\"
14056
14057 Copyright (C) 2010 Free Software Foundation, Inc.
14058 This config.status script is free software; the Free Software Foundation
14059 gives unlimited permission to copy, distribute and modify it."
14060
14061 ac_pwd='$ac_pwd'
14062 srcdir='$srcdir'
14063 INSTALL='$INSTALL'
14064 MKDIR_P='$MKDIR_P'
14065 AWK='$AWK'
14066 test -n "\$AWK" || AWK=awk
14067 _ACEOF
14068
14069 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14070 # The default lists apply if the user does not specify any file.
14071 ac_need_defaults=:
14072 while test $# != 0
14073 do
14074   case $1 in
14075   --*=?*)
14076     ac_option=`expr "X$1" : 'X\([^=]*\)='`
14077     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14078     ac_shift=:
14079     ;;
14080   --*=)
14081     ac_option=`expr "X$1" : 'X\([^=]*\)='`
14082     ac_optarg=
14083     ac_shift=:
14084     ;;
14085   *)
14086     ac_option=$1
14087     ac_optarg=$2
14088     ac_shift=shift
14089     ;;
14090   esac
14091
14092   case $ac_option in
14093   # Handling of the options.
14094   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14095     ac_cs_recheck=: ;;
14096   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14097     $as_echo "$ac_cs_version"; exit ;;
14098   --config | --confi | --conf | --con | --co | --c )
14099     $as_echo "$ac_cs_config"; exit ;;
14100   --debug | --debu | --deb | --de | --d | -d )
14101     debug=: ;;
14102   --file | --fil | --fi | --f )
14103     $ac_shift
14104     case $ac_optarg in
14105     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14106     '') as_fn_error $? "missing file argument" ;;
14107     esac
14108     as_fn_append CONFIG_FILES " '$ac_optarg'"
14109     ac_need_defaults=false;;
14110   --header | --heade | --head | --hea )
14111     $ac_shift
14112     case $ac_optarg in
14113     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14114     esac
14115     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
14116     ac_need_defaults=false;;
14117   --he | --h)
14118     # Conflict between --help and --header
14119     as_fn_error $? "ambiguous option: \`$1'
14120 Try \`$0 --help' for more information.";;
14121   --help | --hel | -h )
14122     $as_echo "$ac_cs_usage"; exit ;;
14123   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14124   | -silent | --silent | --silen | --sile | --sil | --si | --s)
14125     ac_cs_silent=: ;;
14126
14127   # This is an error.
14128   -*) as_fn_error $? "unrecognized option: \`$1'
14129 Try \`$0 --help' for more information." ;;
14130
14131   *) as_fn_append ac_config_targets " $1"
14132      ac_need_defaults=false ;;
14133
14134   esac
14135   shift
14136 done
14137
14138 ac_configure_extra_args=
14139
14140 if $ac_cs_silent; then
14141   exec 6>/dev/null
14142   ac_configure_extra_args="$ac_configure_extra_args --silent"
14143 fi
14144
14145 _ACEOF
14146 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14147 if \$ac_cs_recheck; then
14148   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14149   shift
14150   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14151   CONFIG_SHELL='$SHELL'
14152   export CONFIG_SHELL
14153   exec "\$@"
14154 fi
14155
14156 _ACEOF
14157 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14158 exec 5>>config.log
14159 {
14160   echo
14161   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14162 ## Running $as_me. ##
14163 _ASBOX
14164   $as_echo "$ac_log"
14165 } >&5
14166
14167 _ACEOF
14168 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14169 #
14170 # INIT-COMMANDS
14171 #
14172 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14173
14174
14175 # The HP-UX ksh and POSIX shell print the target directory to stdout
14176 # if CDPATH is set.
14177 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14178
14179 sed_quote_subst='$sed_quote_subst'
14180 double_quote_subst='$double_quote_subst'
14181 delay_variable_subst='$delay_variable_subst'
14182 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14183 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14184 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14185 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14186 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14187 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14188 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14189 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14190 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
14191 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14192 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14193 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14194 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14195 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14196 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14197 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14198 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14199 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14200 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14201 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14202 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14203 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14204 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14205 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14206 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14207 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14208 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14209 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14210 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14211 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
14212 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
14213 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14214 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14215 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14216 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14217 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14218 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
14219 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
14220 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
14221 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
14222 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14223 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14224 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
14225 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14226 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14227 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14228 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14229 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14230 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14231 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14232 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14233 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14234 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14235 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14236 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14237 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14238 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"`'
14239 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14240 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14241 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14242 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14243 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14244 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14245 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14246 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14247 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14248 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14249 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14250 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14251 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14252 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14253 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14254 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14255 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14256 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14257 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14258 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14259 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14260 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14261 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14262 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14263 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14264 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14265 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14266 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14267 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14268 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14269 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14270 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14271 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14272 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14273 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14274 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14275 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14276 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14277 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14278 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14279 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14280 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14281 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14282 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14283 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14284 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14285 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14286 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14287 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14288 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14289 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14290 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14291 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14292 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14293 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14294 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14295 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14296 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14297 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14298 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14299 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14300 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14301 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14302 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14303 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14304 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14305 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
14306 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14307 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14308 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14309 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14310 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14311 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14312
14313 LTCC='$LTCC'
14314 LTCFLAGS='$LTCFLAGS'
14315 compiler='$compiler_DEFAULT'
14316
14317 # A function that is used when there is no print builtin or printf.
14318 func_fallback_echo ()
14319 {
14320   eval 'cat <<_LTECHO_EOF
14321 \$1
14322 _LTECHO_EOF'
14323 }
14324
14325 # Quote evaled strings.
14326 for var in SHELL \
14327 ECHO \
14328 PATH_SEPARATOR \
14329 SED \
14330 GREP \
14331 EGREP \
14332 FGREP \
14333 LD \
14334 NM \
14335 LN_S \
14336 lt_SP2NL \
14337 lt_NL2SP \
14338 reload_flag \
14339 OBJDUMP \
14340 deplibs_check_method \
14341 file_magic_cmd \
14342 file_magic_glob \
14343 want_nocaseglob \
14344 DLLTOOL \
14345 sharedlib_from_linklib_cmd \
14346 AR \
14347 AR_FLAGS \
14348 archiver_list_spec \
14349 STRIP \
14350 RANLIB \
14351 CC \
14352 CFLAGS \
14353 compiler \
14354 lt_cv_sys_global_symbol_pipe \
14355 lt_cv_sys_global_symbol_to_cdecl \
14356 lt_cv_sys_global_symbol_to_c_name_address \
14357 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14358 nm_file_list_spec \
14359 lt_prog_compiler_no_builtin_flag \
14360 lt_prog_compiler_pic \
14361 lt_prog_compiler_wl \
14362 lt_prog_compiler_static \
14363 lt_cv_prog_compiler_c_o \
14364 need_locks \
14365 MANIFEST_TOOL \
14366 DSYMUTIL \
14367 NMEDIT \
14368 LIPO \
14369 OTOOL \
14370 OTOOL64 \
14371 shrext_cmds \
14372 export_dynamic_flag_spec \
14373 whole_archive_flag_spec \
14374 compiler_needs_object \
14375 with_gnu_ld \
14376 allow_undefined_flag \
14377 no_undefined_flag \
14378 hardcode_libdir_flag_spec \
14379 hardcode_libdir_separator \
14380 exclude_expsyms \
14381 include_expsyms \
14382 file_list_spec \
14383 variables_saved_for_relink \
14384 libname_spec \
14385 library_names_spec \
14386 soname_spec \
14387 install_override_mode \
14388 finish_eval \
14389 old_striplib \
14390 striplib; do
14391     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14392     *[\\\\\\\`\\"\\\$]*)
14393       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14394       ;;
14395     *)
14396       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14397       ;;
14398     esac
14399 done
14400
14401 # Double-quote double-evaled strings.
14402 for var in reload_cmds \
14403 old_postinstall_cmds \
14404 old_postuninstall_cmds \
14405 old_archive_cmds \
14406 extract_expsyms_cmds \
14407 old_archive_from_new_cmds \
14408 old_archive_from_expsyms_cmds \
14409 archive_cmds \
14410 archive_expsym_cmds \
14411 module_cmds \
14412 module_expsym_cmds \
14413 export_symbols_cmds \
14414 prelink_cmds \
14415 postlink_cmds \
14416 postinstall_cmds \
14417 postuninstall_cmds \
14418 finish_cmds \
14419 sys_lib_search_path_spec \
14420 sys_lib_dlsearch_path_spec; do
14421     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14422     *[\\\\\\\`\\"\\\$]*)
14423       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14424       ;;
14425     *)
14426       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14427       ;;
14428     esac
14429 done
14430
14431 ac_aux_dir='$ac_aux_dir'
14432 xsi_shell='$xsi_shell'
14433 lt_shell_append='$lt_shell_append'
14434
14435 # See if we are running on zsh, and set the options which allow our
14436 # commands through without removal of \ escapes INIT.
14437 if test -n "\${ZSH_VERSION+set}" ; then
14438    setopt NO_GLOB_SUBST
14439 fi
14440
14441
14442     PACKAGE='$PACKAGE'
14443     VERSION='$VERSION'
14444     TIMESTAMP='$TIMESTAMP'
14445     RM='$RM'
14446     ofile='$ofile'
14447
14448
14449
14450
14451 _ACEOF
14452
14453 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14454
14455 # Handling of arguments.
14456 for ac_config_target in $ac_config_targets
14457 do
14458   case $ac_config_target in
14459     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
14460     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14461     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14462     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14463     "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
14464     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
14465     "src/common/Makefile") CONFIG_FILES="$CONFIG_FILES src/common/Makefile" ;;
14466     "src/common/dbus/Makefile") CONFIG_FILES="$CONFIG_FILES src/common/dbus/Makefile" ;;
14467     "src/daemon/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/Makefile" ;;
14468     "src/daemon/dbus/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/dbus/Makefile" ;;
14469     "src/daemon/tlm.pc") CONFIG_FILES="$CONFIG_FILES src/daemon/tlm.pc" ;;
14470     "src/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/Makefile" ;;
14471     "src/plugins/default/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/default/Makefile" ;;
14472     "src/plugins/gumd/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/gumd/Makefile" ;;
14473     "src/plugins/nfc/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/nfc/Makefile" ;;
14474     "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
14475     "data/tlm.conf") CONFIG_FILES="$CONFIG_FILES data/tlm.conf" ;;
14476     "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
14477     "tests/config/Makefile") CONFIG_FILES="$CONFIG_FILES tests/config/Makefile" ;;
14478     "tests/daemon/Makefile") CONFIG_FILES="$CONFIG_FILES tests/daemon/Makefile" ;;
14479     "tests/tlm-test.conf") CONFIG_FILES="$CONFIG_FILES tests/tlm-test.conf" ;;
14480     "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
14481
14482   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14483   esac
14484 done
14485
14486
14487 # If the user did not use the arguments to specify the items to instantiate,
14488 # then the envvar interface is used.  Set only those that are not.
14489 # We use the long form for the default assignment because of an extremely
14490 # bizarre bug on SunOS 4.1.3.
14491 if $ac_need_defaults; then
14492   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14493   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14494   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14495 fi
14496
14497 # Have a temporary directory for convenience.  Make it in the build tree
14498 # simply because there is no reason against having it here, and in addition,
14499 # creating and moving files from /tmp can sometimes cause problems.
14500 # Hook for its removal unless debugging.
14501 # Note that there is a small window in which the directory will not be cleaned:
14502 # after its creation but before its name has been assigned to `$tmp'.
14503 $debug ||
14504 {
14505   tmp= ac_tmp=
14506   trap 'exit_status=$?
14507   : "${ac_tmp:=$tmp}"
14508   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14509 ' 0
14510   trap 'as_fn_exit 1' 1 2 13 15
14511 }
14512 # Create a (secure) tmp directory for tmp files.
14513
14514 {
14515   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14516   test -d "$tmp"
14517 }  ||
14518 {
14519   tmp=./conf$$-$RANDOM
14520   (umask 077 && mkdir "$tmp")
14521 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
14522 ac_tmp=$tmp
14523
14524 # Set up the scripts for CONFIG_FILES section.
14525 # No need to generate them if there are no CONFIG_FILES.
14526 # This happens for instance with `./config.status config.h'.
14527 if test -n "$CONFIG_FILES"; then
14528
14529
14530 ac_cr=`echo X | tr X '\015'`
14531 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14532 # But we know of no other shell where ac_cr would be empty at this
14533 # point, so we can use a bashism as a fallback.
14534 if test "x$ac_cr" = x; then
14535   eval ac_cr=\$\'\\r\'
14536 fi
14537 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14538 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14539   ac_cs_awk_cr='\\r'
14540 else
14541   ac_cs_awk_cr=$ac_cr
14542 fi
14543
14544 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14545 _ACEOF
14546
14547
14548 {
14549   echo "cat >conf$$subs.awk <<_ACEOF" &&
14550   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14551   echo "_ACEOF"
14552 } >conf$$subs.sh ||
14553   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14554 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14555 ac_delim='%!_!# '
14556 for ac_last_try in false false false false false :; do
14557   . ./conf$$subs.sh ||
14558     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14559
14560   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14561   if test $ac_delim_n = $ac_delim_num; then
14562     break
14563   elif $ac_last_try; then
14564     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14565   else
14566     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14567   fi
14568 done
14569 rm -f conf$$subs.sh
14570
14571 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14572 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
14573 _ACEOF
14574 sed -n '
14575 h
14576 s/^/S["/; s/!.*/"]=/
14577 p
14578 g
14579 s/^[^!]*!//
14580 :repl
14581 t repl
14582 s/'"$ac_delim"'$//
14583 t delim
14584 :nl
14585 h
14586 s/\(.\{148\}\)..*/\1/
14587 t more1
14588 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14589 p
14590 n
14591 b repl
14592 :more1
14593 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14594 p
14595 g
14596 s/.\{148\}//
14597 t nl
14598 :delim
14599 h
14600 s/\(.\{148\}\)..*/\1/
14601 t more2
14602 s/["\\]/\\&/g; s/^/"/; s/$/"/
14603 p
14604 b
14605 :more2
14606 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14607 p
14608 g
14609 s/.\{148\}//
14610 t delim
14611 ' <conf$$subs.awk | sed '
14612 /^[^""]/{
14613   N
14614   s/\n//
14615 }
14616 ' >>$CONFIG_STATUS || ac_write_fail=1
14617 rm -f conf$$subs.awk
14618 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14619 _ACAWK
14620 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
14621   for (key in S) S_is_set[key] = 1
14622   FS = "\a"
14623
14624 }
14625 {
14626   line = $ 0
14627   nfields = split(line, field, "@")
14628   substed = 0
14629   len = length(field[1])
14630   for (i = 2; i < nfields; i++) {
14631     key = field[i]
14632     keylen = length(key)
14633     if (S_is_set[key]) {
14634       value = S[key]
14635       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14636       len += length(value) + length(field[++i])
14637       substed = 1
14638     } else
14639       len += 1 + keylen
14640   }
14641
14642   print line
14643 }
14644
14645 _ACAWK
14646 _ACEOF
14647 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14648 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14649   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14650 else
14651   cat
14652 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
14653   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14654 _ACEOF
14655
14656 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14657 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14658 # trailing colons and then remove the whole line if VPATH becomes empty
14659 # (actually we leave an empty line to preserve line numbers).
14660 if test "x$srcdir" = x.; then
14661   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
14662 h
14663 s///
14664 s/^/:/
14665 s/[      ]*$/:/
14666 s/:\$(srcdir):/:/g
14667 s/:\${srcdir}:/:/g
14668 s/:@srcdir@:/:/g
14669 s/^:*//
14670 s/:*$//
14671 x
14672 s/\(=[   ]*\).*/\1/
14673 G
14674 s/\n//
14675 s/^[^=]*=[       ]*$//
14676 }'
14677 fi
14678
14679 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14680 fi # test -n "$CONFIG_FILES"
14681
14682 # Set up the scripts for CONFIG_HEADERS section.
14683 # No need to generate them if there are no CONFIG_HEADERS.
14684 # This happens for instance with `./config.status Makefile'.
14685 if test -n "$CONFIG_HEADERS"; then
14686 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
14687 BEGIN {
14688 _ACEOF
14689
14690 # Transform confdefs.h into an awk script `defines.awk', embedded as
14691 # here-document in config.status, that substitutes the proper values into
14692 # config.h.in to produce config.h.
14693
14694 # Create a delimiter string that does not exist in confdefs.h, to ease
14695 # handling of long lines.
14696 ac_delim='%!_!# '
14697 for ac_last_try in false false :; do
14698   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
14699   if test -z "$ac_tt"; then
14700     break
14701   elif $ac_last_try; then
14702     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14703   else
14704     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14705   fi
14706 done
14707
14708 # For the awk script, D is an array of macro values keyed by name,
14709 # likewise P contains macro parameters if any.  Preserve backslash
14710 # newline sequences.
14711
14712 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14713 sed -n '
14714 s/.\{148\}/&'"$ac_delim"'/g
14715 t rset
14716 :rset
14717 s/^[     ]*#[    ]*define[       ][      ]*/ /
14718 t def
14719 d
14720 :def
14721 s/\\$//
14722 t bsnl
14723 s/["\\]/\\&/g
14724 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
14725 D["\1"]=" \3"/p
14726 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
14727 d
14728 :bsnl
14729 s/["\\]/\\&/g
14730 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
14731 D["\1"]=" \3\\\\\\n"\\/p
14732 t cont
14733 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14734 t cont
14735 d
14736 :cont
14737 n
14738 s/.\{148\}/&'"$ac_delim"'/g
14739 t clear
14740 :clear
14741 s/\\$//
14742 t bsnlc
14743 s/["\\]/\\&/g; s/^/"/; s/$/"/p
14744 d
14745 :bsnlc
14746 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14747 b cont
14748 ' <confdefs.h | sed '
14749 s/'"$ac_delim"'/"\\\
14750 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14751
14752 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14753   for (key in D) D_is_set[key] = 1
14754   FS = "\a"
14755 }
14756 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14757   line = \$ 0
14758   split(line, arg, " ")
14759   if (arg[1] == "#") {
14760     defundef = arg[2]
14761     mac1 = arg[3]
14762   } else {
14763     defundef = substr(arg[1], 2)
14764     mac1 = arg[2]
14765   }
14766   split(mac1, mac2, "(") #)
14767   macro = mac2[1]
14768   prefix = substr(line, 1, index(line, defundef) - 1)
14769   if (D_is_set[macro]) {
14770     # Preserve the white space surrounding the "#".
14771     print prefix "define", macro P[macro] D[macro]
14772     next
14773   } else {
14774     # Replace #undef with comments.  This is necessary, for example,
14775     # in the case of _POSIX_SOURCE, which is predefined and required
14776     # on some systems where configure will not decide to define it.
14777     if (defundef == "undef") {
14778       print "/*", prefix defundef, macro, "*/"
14779       next
14780     }
14781   }
14782 }
14783 { print }
14784 _ACAWK
14785 _ACEOF
14786 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14787   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
14788 fi # test -n "$CONFIG_HEADERS"
14789
14790
14791 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
14792 shift
14793 for ac_tag
14794 do
14795   case $ac_tag in
14796   :[FHLC]) ac_mode=$ac_tag; continue;;
14797   esac
14798   case $ac_mode$ac_tag in
14799   :[FHL]*:*);;
14800   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
14801   :[FH]-) ac_tag=-:-;;
14802   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14803   esac
14804   ac_save_IFS=$IFS
14805   IFS=:
14806   set x $ac_tag
14807   IFS=$ac_save_IFS
14808   shift
14809   ac_file=$1
14810   shift
14811
14812   case $ac_mode in
14813   :L) ac_source=$1;;
14814   :[FH])
14815     ac_file_inputs=
14816     for ac_f
14817     do
14818       case $ac_f in
14819       -) ac_f="$ac_tmp/stdin";;
14820       *) # Look for the file first in the build tree, then in the source tree
14821          # (if the path is not absolute).  The absolute path cannot be DOS-style,
14822          # because $ac_f cannot contain `:'.
14823          test -f "$ac_f" ||
14824            case $ac_f in
14825            [\\/$]*) false;;
14826            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14827            esac ||
14828            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14829       esac
14830       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14831       as_fn_append ac_file_inputs " '$ac_f'"
14832     done
14833
14834     # Let's still pretend it is `configure' which instantiates (i.e., don't
14835     # use $as_me), people would be surprised to read:
14836     #    /* config.h.  Generated by config.status.  */
14837     configure_input='Generated from '`
14838           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14839         `' by configure.'
14840     if test x"$ac_file" != x-; then
14841       configure_input="$ac_file.  $configure_input"
14842       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14843 $as_echo "$as_me: creating $ac_file" >&6;}
14844     fi
14845     # Neutralize special characters interpreted by sed in replacement strings.
14846     case $configure_input in #(
14847     *\&* | *\|* | *\\* )
14848        ac_sed_conf_input=`$as_echo "$configure_input" |
14849        sed 's/[\\\\&|]/\\\\&/g'`;; #(
14850     *) ac_sed_conf_input=$configure_input;;
14851     esac
14852
14853     case $ac_tag in
14854     *:-:* | *:-) cat >"$ac_tmp/stdin" \
14855       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14856     esac
14857     ;;
14858   esac
14859
14860   ac_dir=`$as_dirname -- "$ac_file" ||
14861 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14862          X"$ac_file" : 'X\(//\)[^/]' \| \
14863          X"$ac_file" : 'X\(//\)$' \| \
14864          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14865 $as_echo X"$ac_file" |
14866     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14867             s//\1/
14868             q
14869           }
14870           /^X\(\/\/\)[^/].*/{
14871             s//\1/
14872             q
14873           }
14874           /^X\(\/\/\)$/{
14875             s//\1/
14876             q
14877           }
14878           /^X\(\/\).*/{
14879             s//\1/
14880             q
14881           }
14882           s/.*/./; q'`
14883   as_dir="$ac_dir"; as_fn_mkdir_p
14884   ac_builddir=.
14885
14886 case "$ac_dir" in
14887 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14888 *)
14889   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14890   # A ".." for each directory in $ac_dir_suffix.
14891   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14892   case $ac_top_builddir_sub in
14893   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14894   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14895   esac ;;
14896 esac
14897 ac_abs_top_builddir=$ac_pwd
14898 ac_abs_builddir=$ac_pwd$ac_dir_suffix
14899 # for backward compatibility:
14900 ac_top_builddir=$ac_top_build_prefix
14901
14902 case $srcdir in
14903   .)  # We are building in place.
14904     ac_srcdir=.
14905     ac_top_srcdir=$ac_top_builddir_sub
14906     ac_abs_top_srcdir=$ac_pwd ;;
14907   [\\/]* | ?:[\\/]* )  # Absolute name.
14908     ac_srcdir=$srcdir$ac_dir_suffix;
14909     ac_top_srcdir=$srcdir
14910     ac_abs_top_srcdir=$srcdir ;;
14911   *) # Relative name.
14912     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14913     ac_top_srcdir=$ac_top_build_prefix$srcdir
14914     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14915 esac
14916 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14917
14918
14919   case $ac_mode in
14920   :F)
14921   #
14922   # CONFIG_FILE
14923   #
14924
14925   case $INSTALL in
14926   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14927   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14928   esac
14929   ac_MKDIR_P=$MKDIR_P
14930   case $MKDIR_P in
14931   [\\/$]* | ?:[\\/]* ) ;;
14932   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14933   esac
14934 _ACEOF
14935
14936 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14937 # If the template does not know about datarootdir, expand it.
14938 # FIXME: This hack should be removed a few years after 2.60.
14939 ac_datarootdir_hack=; ac_datarootdir_seen=
14940 ac_sed_dataroot='
14941 /datarootdir/ {
14942   p
14943   q
14944 }
14945 /@datadir@/p
14946 /@docdir@/p
14947 /@infodir@/p
14948 /@localedir@/p
14949 /@mandir@/p'
14950 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14951 *datarootdir*) ac_datarootdir_seen=yes;;
14952 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14953   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14954 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14955 _ACEOF
14956 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14957   ac_datarootdir_hack='
14958   s&@datadir@&$datadir&g
14959   s&@docdir@&$docdir&g
14960   s&@infodir@&$infodir&g
14961   s&@localedir@&$localedir&g
14962   s&@mandir@&$mandir&g
14963   s&\\\${datarootdir}&$datarootdir&g' ;;
14964 esac
14965 _ACEOF
14966
14967 # Neutralize VPATH when `$srcdir' = `.'.
14968 # Shell code in configure.ac might set extrasub.
14969 # FIXME: do we really want to maintain this feature?
14970 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14971 ac_sed_extra="$ac_vpsub
14972 $extrasub
14973 _ACEOF
14974 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14975 :t
14976 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14977 s|@configure_input@|$ac_sed_conf_input|;t t
14978 s&@top_builddir@&$ac_top_builddir_sub&;t t
14979 s&@top_build_prefix@&$ac_top_build_prefix&;t t
14980 s&@srcdir@&$ac_srcdir&;t t
14981 s&@abs_srcdir@&$ac_abs_srcdir&;t t
14982 s&@top_srcdir@&$ac_top_srcdir&;t t
14983 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14984 s&@builddir@&$ac_builddir&;t t
14985 s&@abs_builddir@&$ac_abs_builddir&;t t
14986 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14987 s&@INSTALL@&$ac_INSTALL&;t t
14988 s&@MKDIR_P@&$ac_MKDIR_P&;t t
14989 $ac_datarootdir_hack
14990 "
14991 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
14992   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14993
14994 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14995   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
14996   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
14997       "$ac_tmp/out"`; test -z "$ac_out"; } &&
14998   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14999 which seems to be undefined.  Please make sure it is defined" >&5
15000 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15001 which seems to be undefined.  Please make sure it is defined" >&2;}
15002
15003   rm -f "$ac_tmp/stdin"
15004   case $ac_file in
15005   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15006   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15007   esac \
15008   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15009  ;;
15010   :H)
15011   #
15012   # CONFIG_HEADER
15013   #
15014   if test x"$ac_file" != x-; then
15015     {
15016       $as_echo "/* $configure_input  */" \
15017       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15018     } >"$ac_tmp/config.h" \
15019       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15020     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15021       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15022 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15023     else
15024       rm -f "$ac_file"
15025       mv "$ac_tmp/config.h" "$ac_file" \
15026         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15027     fi
15028   else
15029     $as_echo "/* $configure_input  */" \
15030       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15031       || as_fn_error $? "could not create -" "$LINENO" 5
15032   fi
15033 # Compute "$ac_file"'s index in $config_headers.
15034 _am_arg="$ac_file"
15035 _am_stamp_count=1
15036 for _am_header in $config_headers :; do
15037   case $_am_header in
15038     $_am_arg | $_am_arg:* )
15039       break ;;
15040     * )
15041       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
15042   esac
15043 done
15044 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15045 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15046          X"$_am_arg" : 'X\(//\)[^/]' \| \
15047          X"$_am_arg" : 'X\(//\)$' \| \
15048          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15049 $as_echo X"$_am_arg" |
15050     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15051             s//\1/
15052             q
15053           }
15054           /^X\(\/\/\)[^/].*/{
15055             s//\1/
15056             q
15057           }
15058           /^X\(\/\/\)$/{
15059             s//\1/
15060             q
15061           }
15062           /^X\(\/\).*/{
15063             s//\1/
15064             q
15065           }
15066           s/.*/./; q'`/stamp-h$_am_stamp_count
15067  ;;
15068
15069   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15070 $as_echo "$as_me: executing $ac_file commands" >&6;}
15071  ;;
15072   esac
15073
15074
15075   case $ac_file$ac_mode in
15076     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
15077   # Autoconf 2.62 quotes --file arguments for eval, but not when files
15078   # are listed without --file.  Let's play safe and only enable the eval
15079   # if we detect the quoting.
15080   case $CONFIG_FILES in
15081   *\'*) eval set x "$CONFIG_FILES" ;;
15082   *)   set x $CONFIG_FILES ;;
15083   esac
15084   shift
15085   for mf
15086   do
15087     # Strip MF so we end up with the name of the file.
15088     mf=`echo "$mf" | sed -e 's/:.*$//'`
15089     # Check whether this is an Automake generated Makefile or not.
15090     # We used to match only the files named `Makefile.in', but
15091     # some people rename them; so instead we look at the file content.
15092     # Grep'ing the first line is not enough: some people post-process
15093     # each Makefile.in and add a new line on top of each file to say so.
15094     # Grep'ing the whole file is not good either: AIX grep has a line
15095     # limit of 2048, but all sed's we know have understand at least 4000.
15096     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
15097       dirpart=`$as_dirname -- "$mf" ||
15098 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15099          X"$mf" : 'X\(//\)[^/]' \| \
15100          X"$mf" : 'X\(//\)$' \| \
15101          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15102 $as_echo X"$mf" |
15103     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15104             s//\1/
15105             q
15106           }
15107           /^X\(\/\/\)[^/].*/{
15108             s//\1/
15109             q
15110           }
15111           /^X\(\/\/\)$/{
15112             s//\1/
15113             q
15114           }
15115           /^X\(\/\).*/{
15116             s//\1/
15117             q
15118           }
15119           s/.*/./; q'`
15120     else
15121       continue
15122     fi
15123     # Extract the definition of DEPDIR, am__include, and am__quote
15124     # from the Makefile without running `make'.
15125     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
15126     test -z "$DEPDIR" && continue
15127     am__include=`sed -n 's/^am__include = //p' < "$mf"`
15128     test -z "am__include" && continue
15129     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15130     # When using ansi2knr, U may be empty or an underscore; expand it
15131     U=`sed -n 's/^U = //p' < "$mf"`
15132     # Find all dependency output files, they are included files with
15133     # $(DEPDIR) in their names.  We invoke sed twice because it is the
15134     # simplest approach to changing $(DEPDIR) to its actual value in the
15135     # expansion.
15136     for file in `sed -n "
15137       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15138          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
15139       # Make sure the directory exists.
15140       test -f "$dirpart/$file" && continue
15141       fdir=`$as_dirname -- "$file" ||
15142 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15143          X"$file" : 'X\(//\)[^/]' \| \
15144          X"$file" : 'X\(//\)$' \| \
15145          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15146 $as_echo X"$file" |
15147     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15148             s//\1/
15149             q
15150           }
15151           /^X\(\/\/\)[^/].*/{
15152             s//\1/
15153             q
15154           }
15155           /^X\(\/\/\)$/{
15156             s//\1/
15157             q
15158           }
15159           /^X\(\/\).*/{
15160             s//\1/
15161             q
15162           }
15163           s/.*/./; q'`
15164       as_dir=$dirpart/$fdir; as_fn_mkdir_p
15165       # echo "creating $dirpart/$file"
15166       echo '# dummy' > "$dirpart/$file"
15167     done
15168   done
15169 }
15170  ;;
15171     "libtool":C)
15172
15173     # See if we are running on zsh, and set the options which allow our
15174     # commands through without removal of \ escapes.
15175     if test -n "${ZSH_VERSION+set}" ; then
15176       setopt NO_GLOB_SUBST
15177     fi
15178
15179     cfgfile="${ofile}T"
15180     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15181     $RM "$cfgfile"
15182
15183     cat <<_LT_EOF >> "$cfgfile"
15184 #! $SHELL
15185
15186 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15187 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15188 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15189 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15190 #
15191 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15192 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
15193 #                 Foundation, Inc.
15194 #   Written by Gordon Matzigkeit, 1996
15195 #
15196 #   This file is part of GNU Libtool.
15197 #
15198 # GNU Libtool is free software; you can redistribute it and/or
15199 # modify it under the terms of the GNU General Public License as
15200 # published by the Free Software Foundation; either version 2 of
15201 # the License, or (at your option) any later version.
15202 #
15203 # As a special exception to the GNU General Public License,
15204 # if you distribute this file as part of a program or library that
15205 # is built using GNU Libtool, you may include this file under the
15206 # same distribution terms that you use for the rest of that program.
15207 #
15208 # GNU Libtool is distributed in the hope that it will be useful,
15209 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15210 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15211 # GNU General Public License for more details.
15212 #
15213 # You should have received a copy of the GNU General Public License
15214 # along with GNU Libtool; see the file COPYING.  If not, a copy
15215 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15216 # obtained by writing to the Free Software Foundation, Inc.,
15217 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15218
15219
15220 # The names of the tagged configurations supported by this script.
15221 available_tags=""
15222
15223 # ### BEGIN LIBTOOL CONFIG
15224
15225 # Which release of libtool.m4 was used?
15226 macro_version=$macro_version
15227 macro_revision=$macro_revision
15228
15229 # Whether or not to build static libraries.
15230 build_old_libs=$enable_static
15231
15232 # Whether or not to build shared libraries.
15233 build_libtool_libs=$enable_shared
15234
15235 # What type of objects to build.
15236 pic_mode=$pic_mode
15237
15238 # Whether or not to optimize for fast installation.
15239 fast_install=$enable_fast_install
15240
15241 # Shell to use when invoking shell scripts.
15242 SHELL=$lt_SHELL
15243
15244 # An echo program that protects backslashes.
15245 ECHO=$lt_ECHO
15246
15247 # The PATH separator for the build system.
15248 PATH_SEPARATOR=$lt_PATH_SEPARATOR
15249
15250 # The host system.
15251 host_alias=$host_alias
15252 host=$host
15253 host_os=$host_os
15254
15255 # The build system.
15256 build_alias=$build_alias
15257 build=$build
15258 build_os=$build_os
15259
15260 # A sed program that does not truncate output.
15261 SED=$lt_SED
15262
15263 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15264 Xsed="\$SED -e 1s/^X//"
15265
15266 # A grep program that handles long lines.
15267 GREP=$lt_GREP
15268
15269 # An ERE matcher.
15270 EGREP=$lt_EGREP
15271
15272 # A literal string matcher.
15273 FGREP=$lt_FGREP
15274
15275 # A BSD- or MS-compatible name lister.
15276 NM=$lt_NM
15277
15278 # Whether we need soft or hard links.
15279 LN_S=$lt_LN_S
15280
15281 # What is the maximum length of a command?
15282 max_cmd_len=$max_cmd_len
15283
15284 # Object file suffix (normally "o").
15285 objext=$ac_objext
15286
15287 # Executable file suffix (normally "").
15288 exeext=$exeext
15289
15290 # whether the shell understands "unset".
15291 lt_unset=$lt_unset
15292
15293 # turn spaces into newlines.
15294 SP2NL=$lt_lt_SP2NL
15295
15296 # turn newlines into spaces.
15297 NL2SP=$lt_lt_NL2SP
15298
15299 # convert \$build file names to \$host format.
15300 to_host_file_cmd=$lt_cv_to_host_file_cmd
15301
15302 # convert \$build files to toolchain format.
15303 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
15304
15305 # An object symbol dumper.
15306 OBJDUMP=$lt_OBJDUMP
15307
15308 # Method to check whether dependent libraries are shared objects.
15309 deplibs_check_method=$lt_deplibs_check_method
15310
15311 # Command to use when deplibs_check_method = "file_magic".
15312 file_magic_cmd=$lt_file_magic_cmd
15313
15314 # How to find potential files when deplibs_check_method = "file_magic".
15315 file_magic_glob=$lt_file_magic_glob
15316
15317 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
15318 want_nocaseglob=$lt_want_nocaseglob
15319
15320 # DLL creation program.
15321 DLLTOOL=$lt_DLLTOOL
15322
15323 # Command to associate shared and link libraries.
15324 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
15325
15326 # The archiver.
15327 AR=$lt_AR
15328
15329 # Flags to create an archive.
15330 AR_FLAGS=$lt_AR_FLAGS
15331
15332 # How to feed a file listing to the archiver.
15333 archiver_list_spec=$lt_archiver_list_spec
15334
15335 # A symbol stripping program.
15336 STRIP=$lt_STRIP
15337
15338 # Commands used to install an old-style archive.
15339 RANLIB=$lt_RANLIB
15340 old_postinstall_cmds=$lt_old_postinstall_cmds
15341 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15342
15343 # Whether to use a lock for old archive extraction.
15344 lock_old_archive_extraction=$lock_old_archive_extraction
15345
15346 # A C compiler.
15347 LTCC=$lt_CC
15348
15349 # LTCC compiler flags.
15350 LTCFLAGS=$lt_CFLAGS
15351
15352 # Take the output of nm and produce a listing of raw symbols and C names.
15353 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15354
15355 # Transform the output of nm in a proper C declaration.
15356 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15357
15358 # Transform the output of nm in a C name address pair.
15359 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15360
15361 # Transform the output of nm in a C name address pair when lib prefix is needed.
15362 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15363
15364 # Specify filename containing input files for \$NM.
15365 nm_file_list_spec=$lt_nm_file_list_spec
15366
15367 # The root where to search for dependent libraries,and in which our libraries should be installed.
15368 lt_sysroot=$lt_sysroot
15369
15370 # The name of the directory that contains temporary libtool files.
15371 objdir=$objdir
15372
15373 # Used to examine libraries when file_magic_cmd begins with "file".
15374 MAGIC_CMD=$MAGIC_CMD
15375
15376 # Must we lock files when doing compilation?
15377 need_locks=$lt_need_locks
15378
15379 # Manifest tool.
15380 MANIFEST_TOOL=$lt_MANIFEST_TOOL
15381
15382 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15383 DSYMUTIL=$lt_DSYMUTIL
15384
15385 # Tool to change global to local symbols on Mac OS X.
15386 NMEDIT=$lt_NMEDIT
15387
15388 # Tool to manipulate fat objects and archives on Mac OS X.
15389 LIPO=$lt_LIPO
15390
15391 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15392 OTOOL=$lt_OTOOL
15393
15394 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15395 OTOOL64=$lt_OTOOL64
15396
15397 # Old archive suffix (normally "a").
15398 libext=$libext
15399
15400 # Shared library suffix (normally ".so").
15401 shrext_cmds=$lt_shrext_cmds
15402
15403 # The commands to extract the exported symbol list from a shared archive.
15404 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15405
15406 # Variables whose values should be saved in libtool wrapper scripts and
15407 # restored at link time.
15408 variables_saved_for_relink=$lt_variables_saved_for_relink
15409
15410 # Do we need the "lib" prefix for modules?
15411 need_lib_prefix=$need_lib_prefix
15412
15413 # Do we need a version for libraries?
15414 need_version=$need_version
15415
15416 # Library versioning type.
15417 version_type=$version_type
15418
15419 # Shared library runtime path variable.
15420 runpath_var=$runpath_var
15421
15422 # Shared library path variable.
15423 shlibpath_var=$shlibpath_var
15424
15425 # Is shlibpath searched before the hard-coded library search path?
15426 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15427
15428 # Format of library name prefix.
15429 libname_spec=$lt_libname_spec
15430
15431 # List of archive names.  First name is the real one, the rest are links.
15432 # The last name is the one that the linker finds with -lNAME
15433 library_names_spec=$lt_library_names_spec
15434
15435 # The coded name of the library, if different from the real name.
15436 soname_spec=$lt_soname_spec
15437
15438 # Permission mode override for installation of shared libraries.
15439 install_override_mode=$lt_install_override_mode
15440
15441 # Command to use after installation of a shared archive.
15442 postinstall_cmds=$lt_postinstall_cmds
15443
15444 # Command to use after uninstallation of a shared archive.
15445 postuninstall_cmds=$lt_postuninstall_cmds
15446
15447 # Commands used to finish a libtool library installation in a directory.
15448 finish_cmds=$lt_finish_cmds
15449
15450 # As "finish_cmds", except a single script fragment to be evaled but
15451 # not shown.
15452 finish_eval=$lt_finish_eval
15453
15454 # Whether we should hardcode library paths into libraries.
15455 hardcode_into_libs=$hardcode_into_libs
15456
15457 # Compile-time system search path for libraries.
15458 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15459
15460 # Run-time system search path for libraries.
15461 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15462
15463 # Whether dlopen is supported.
15464 dlopen_support=$enable_dlopen
15465
15466 # Whether dlopen of programs is supported.
15467 dlopen_self=$enable_dlopen_self
15468
15469 # Whether dlopen of statically linked programs is supported.
15470 dlopen_self_static=$enable_dlopen_self_static
15471
15472 # Commands to strip libraries.
15473 old_striplib=$lt_old_striplib
15474 striplib=$lt_striplib
15475
15476
15477 # The linker used to build libraries.
15478 LD=$lt_LD
15479
15480 # How to create reloadable object files.
15481 reload_flag=$lt_reload_flag
15482 reload_cmds=$lt_reload_cmds
15483
15484 # Commands used to build an old-style archive.
15485 old_archive_cmds=$lt_old_archive_cmds
15486
15487 # A language specific compiler.
15488 CC=$lt_compiler
15489
15490 # Is the compiler the GNU compiler?
15491 with_gcc=$GCC
15492
15493 # Compiler flag to turn off builtin functions.
15494 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15495
15496 # Additional compiler flags for building library objects.
15497 pic_flag=$lt_lt_prog_compiler_pic
15498
15499 # How to pass a linker flag through the compiler.
15500 wl=$lt_lt_prog_compiler_wl
15501
15502 # Compiler flag to prevent dynamic linking.
15503 link_static_flag=$lt_lt_prog_compiler_static
15504
15505 # Does compiler simultaneously support -c and -o options?
15506 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15507
15508 # Whether or not to add -lc for building shared libraries.
15509 build_libtool_need_lc=$archive_cmds_need_lc
15510
15511 # Whether or not to disallow shared libs when runtime libs are static.
15512 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15513
15514 # Compiler flag to allow reflexive dlopens.
15515 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15516
15517 # Compiler flag to generate shared objects directly from archives.
15518 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15519
15520 # Whether the compiler copes with passing no objects directly.
15521 compiler_needs_object=$lt_compiler_needs_object
15522
15523 # Create an old-style archive from a shared archive.
15524 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15525
15526 # Create a temporary old-style archive to link instead of a shared archive.
15527 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15528
15529 # Commands used to build a shared archive.
15530 archive_cmds=$lt_archive_cmds
15531 archive_expsym_cmds=$lt_archive_expsym_cmds
15532
15533 # Commands used to build a loadable module if different from building
15534 # a shared archive.
15535 module_cmds=$lt_module_cmds
15536 module_expsym_cmds=$lt_module_expsym_cmds
15537
15538 # Whether we are building with GNU ld or not.
15539 with_gnu_ld=$lt_with_gnu_ld
15540
15541 # Flag that allows shared libraries with undefined symbols to be built.
15542 allow_undefined_flag=$lt_allow_undefined_flag
15543
15544 # Flag that enforces no undefined symbols.
15545 no_undefined_flag=$lt_no_undefined_flag
15546
15547 # Flag to hardcode \$libdir into a binary during linking.
15548 # This must work even if \$libdir does not exist
15549 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15550
15551 # Whether we need a single "-rpath" flag with a separated argument.
15552 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15553
15554 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15555 # DIR into the resulting binary.
15556 hardcode_direct=$hardcode_direct
15557
15558 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15559 # DIR into the resulting binary and the resulting library dependency is
15560 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15561 # library is relocated.
15562 hardcode_direct_absolute=$hardcode_direct_absolute
15563
15564 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15565 # into the resulting binary.
15566 hardcode_minus_L=$hardcode_minus_L
15567
15568 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15569 # into the resulting binary.
15570 hardcode_shlibpath_var=$hardcode_shlibpath_var
15571
15572 # Set to "yes" if building a shared library automatically hardcodes DIR
15573 # into the library and all subsequent libraries and executables linked
15574 # against it.
15575 hardcode_automatic=$hardcode_automatic
15576
15577 # Set to yes if linker adds runtime paths of dependent libraries
15578 # to runtime path list.
15579 inherit_rpath=$inherit_rpath
15580
15581 # Whether libtool must link a program against all its dependency libraries.
15582 link_all_deplibs=$link_all_deplibs
15583
15584 # Set to "yes" if exported symbols are required.
15585 always_export_symbols=$always_export_symbols
15586
15587 # The commands to list exported symbols.
15588 export_symbols_cmds=$lt_export_symbols_cmds
15589
15590 # Symbols that should not be listed in the preloaded symbols.
15591 exclude_expsyms=$lt_exclude_expsyms
15592
15593 # Symbols that must always be exported.
15594 include_expsyms=$lt_include_expsyms
15595
15596 # Commands necessary for linking programs (against libraries) with templates.
15597 prelink_cmds=$lt_prelink_cmds
15598
15599 # Commands necessary for finishing linking programs.
15600 postlink_cmds=$lt_postlink_cmds
15601
15602 # Specify filename containing input files.
15603 file_list_spec=$lt_file_list_spec
15604
15605 # How to hardcode a shared library path into an executable.
15606 hardcode_action=$hardcode_action
15607
15608 # ### END LIBTOOL CONFIG
15609
15610 _LT_EOF
15611
15612   case $host_os in
15613   aix3*)
15614     cat <<\_LT_EOF >> "$cfgfile"
15615 # AIX sometimes has problems with the GCC collect2 program.  For some
15616 # reason, if we set the COLLECT_NAMES environment variable, the problems
15617 # vanish in a puff of smoke.
15618 if test "X${COLLECT_NAMES+set}" != Xset; then
15619   COLLECT_NAMES=
15620   export COLLECT_NAMES
15621 fi
15622 _LT_EOF
15623     ;;
15624   esac
15625
15626
15627 ltmain="$ac_aux_dir/ltmain.sh"
15628
15629
15630   # We use sed instead of cat because bash on DJGPP gets confused if
15631   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
15632   # text mode, it properly converts lines to CR/LF.  This bash problem
15633   # is reportedly fixed, but why not run on old versions too?
15634   sed '$q' "$ltmain" >> "$cfgfile" \
15635      || (rm -f "$cfgfile"; exit 1)
15636
15637   if test x"$xsi_shell" = xyes; then
15638   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
15639 func_dirname ()\
15640 {\
15641 \    case ${1} in\
15642 \      */*) func_dirname_result="${1%/*}${2}" ;;\
15643 \      *  ) func_dirname_result="${3}" ;;\
15644 \    esac\
15645 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
15646   && mv -f "$cfgfile.tmp" "$cfgfile" \
15647     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15648 test 0 -eq $? || _lt_function_replace_fail=:
15649
15650
15651   sed -e '/^func_basename ()$/,/^} # func_basename /c\
15652 func_basename ()\
15653 {\
15654 \    func_basename_result="${1##*/}"\
15655 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
15656   && mv -f "$cfgfile.tmp" "$cfgfile" \
15657     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15658 test 0 -eq $? || _lt_function_replace_fail=:
15659
15660
15661   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
15662 func_dirname_and_basename ()\
15663 {\
15664 \    case ${1} in\
15665 \      */*) func_dirname_result="${1%/*}${2}" ;;\
15666 \      *  ) func_dirname_result="${3}" ;;\
15667 \    esac\
15668 \    func_basename_result="${1##*/}"\
15669 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
15670   && mv -f "$cfgfile.tmp" "$cfgfile" \
15671     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15672 test 0 -eq $? || _lt_function_replace_fail=:
15673
15674
15675   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
15676 func_stripname ()\
15677 {\
15678 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
15679 \    # positional parameters, so assign one to ordinary parameter first.\
15680 \    func_stripname_result=${3}\
15681 \    func_stripname_result=${func_stripname_result#"${1}"}\
15682 \    func_stripname_result=${func_stripname_result%"${2}"}\
15683 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
15684   && mv -f "$cfgfile.tmp" "$cfgfile" \
15685     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15686 test 0 -eq $? || _lt_function_replace_fail=:
15687
15688
15689   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
15690 func_split_long_opt ()\
15691 {\
15692 \    func_split_long_opt_name=${1%%=*}\
15693 \    func_split_long_opt_arg=${1#*=}\
15694 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
15695   && mv -f "$cfgfile.tmp" "$cfgfile" \
15696     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15697 test 0 -eq $? || _lt_function_replace_fail=:
15698
15699
15700   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
15701 func_split_short_opt ()\
15702 {\
15703 \    func_split_short_opt_arg=${1#??}\
15704 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
15705 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
15706   && mv -f "$cfgfile.tmp" "$cfgfile" \
15707     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15708 test 0 -eq $? || _lt_function_replace_fail=:
15709
15710
15711   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
15712 func_lo2o ()\
15713 {\
15714 \    case ${1} in\
15715 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
15716 \      *)    func_lo2o_result=${1} ;;\
15717 \    esac\
15718 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
15719   && mv -f "$cfgfile.tmp" "$cfgfile" \
15720     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15721 test 0 -eq $? || _lt_function_replace_fail=:
15722
15723
15724   sed -e '/^func_xform ()$/,/^} # func_xform /c\
15725 func_xform ()\
15726 {\
15727     func_xform_result=${1%.*}.lo\
15728 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
15729   && mv -f "$cfgfile.tmp" "$cfgfile" \
15730     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15731 test 0 -eq $? || _lt_function_replace_fail=:
15732
15733
15734   sed -e '/^func_arith ()$/,/^} # func_arith /c\
15735 func_arith ()\
15736 {\
15737     func_arith_result=$(( $* ))\
15738 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
15739   && mv -f "$cfgfile.tmp" "$cfgfile" \
15740     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15741 test 0 -eq $? || _lt_function_replace_fail=:
15742
15743
15744   sed -e '/^func_len ()$/,/^} # func_len /c\
15745 func_len ()\
15746 {\
15747     func_len_result=${#1}\
15748 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
15749   && mv -f "$cfgfile.tmp" "$cfgfile" \
15750     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15751 test 0 -eq $? || _lt_function_replace_fail=:
15752
15753 fi
15754
15755 if test x"$lt_shell_append" = xyes; then
15756   sed -e '/^func_append ()$/,/^} # func_append /c\
15757 func_append ()\
15758 {\
15759     eval "${1}+=\\${2}"\
15760 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
15761   && mv -f "$cfgfile.tmp" "$cfgfile" \
15762     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15763 test 0 -eq $? || _lt_function_replace_fail=:
15764
15765
15766   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
15767 func_append_quoted ()\
15768 {\
15769 \    func_quote_for_eval "${2}"\
15770 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
15771 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
15772   && mv -f "$cfgfile.tmp" "$cfgfile" \
15773     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15774 test 0 -eq $? || _lt_function_replace_fail=:
15775
15776
15777   # Save a `func_append' function call where possible by direct use of '+='
15778   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
15779     && mv -f "$cfgfile.tmp" "$cfgfile" \
15780       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15781   test 0 -eq $? || _lt_function_replace_fail=:
15782 else
15783   # Save a `func_append' function call even when '+=' is not available
15784   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
15785     && mv -f "$cfgfile.tmp" "$cfgfile" \
15786       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15787   test 0 -eq $? || _lt_function_replace_fail=:
15788 fi
15789
15790 if test x"$_lt_function_replace_fail" = x":"; then
15791   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
15792 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
15793 fi
15794
15795
15796    mv -f "$cfgfile" "$ofile" ||
15797     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15798   chmod +x "$ofile"
15799
15800  ;;
15801
15802   esac
15803 done # for ac_tag
15804
15805
15806 as_fn_exit 0
15807 _ACEOF
15808 ac_clean_files=$ac_clean_files_save
15809
15810 test $ac_write_fail = 0 ||
15811   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15812
15813
15814 # configure is writing to config.log, and then calls config.status.
15815 # config.status does its own redirection, appending to config.log.
15816 # Unfortunately, on DOS this fails, as config.log is still kept open
15817 # by configure, so config.status won't be able to write to it; its
15818 # output is simply discarded.  So we exec the FD to /dev/null,
15819 # effectively closing config.log, so it can be properly (re)opened and
15820 # appended to by config.status.  When coming back to configure, we
15821 # need to make the FD available again.
15822 if test "$no_create" != yes; then
15823   ac_cs_success=:
15824   ac_config_status_args=
15825   test "$silent" = yes &&
15826     ac_config_status_args="$ac_config_status_args --quiet"
15827   exec 5>/dev/null
15828   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15829   exec 5>>config.log
15830   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15831   # would make configure fail if this is the last instruction.
15832   $ac_cs_success || as_fn_exit 1
15833 fi
15834 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15835   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15836 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15837 fi
15838
15839
15840 echo ""
15841 echo "Enabled debug features : "$enable_debug
15842 echo "Building tests         : "$enable_tests
15843 echo "Enabled Gumd           : "$enable_gum $have_libgum
15844 echo "Enabled NFC            : "$have_libtlm_nfc
15845 echo "Enabled examples       : "$enable_examples
15846 echo ""