Release 0.0.2
[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.69 for tlm 0.0.2.
4 #
5 #
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
7 #
8 #
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
14
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18   emulate sh
19   NULLCMD=:
20   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21   # is contrary to our usage.  Disable this feature.
22   alias -g '${1+"$@"}'='"$@"'
23   setopt NO_GLOB_SUBST
24 else
25   case `(set -o) 2>/dev/null` in #(
26   *posix*) :
27     set -o posix ;; #(
28   *) :
29      ;;
30 esac
31 fi
32
33
34 as_nl='
35 '
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45   as_echo='print -r --'
46   as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48   as_echo='printf %s\n'
49   as_echo_n='printf %s'
50 else
51   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53     as_echo_n='/usr/ucb/echo -n'
54   else
55     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56     as_echo_n_body='eval
57       arg=$1;
58       case $arg in #(
59       *"$as_nl"*)
60         expr "X$arg" : "X\\(.*\\)$as_nl";
61         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62       esac;
63       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64     '
65     export as_echo_n_body
66     as_echo_n='sh -c $as_echo_n_body as_echo'
67   fi
68   export as_echo_body
69   as_echo='sh -c $as_echo_body as_echo'
70 fi
71
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74   PATH_SEPARATOR=:
75   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77       PATH_SEPARATOR=';'
78   }
79 fi
80
81
82 # IFS
83 # We need space, tab and new line, in precisely that order.  Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" ""        $as_nl"
88
89 # Find who we are.  Look in the path if we contain no directory separator.
90 as_myself=
91 case $0 in #((
92   *[\\/]* ) as_myself=$0 ;;
93   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94 for as_dir in $PATH
95 do
96   IFS=$as_save_IFS
97   test -z "$as_dir" && as_dir=.
98     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99   done
100 IFS=$as_save_IFS
101
102      ;;
103 esac
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
107   as_myself=$0
108 fi
109 if test ! -f "$as_myself"; then
110   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111   exit 1
112 fi
113
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there.  '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121 done
122 PS1='$ '
123 PS2='> '
124 PS4='+ '
125
126 # NLS nuisances.
127 LC_ALL=C
128 export LC_ALL
129 LANGUAGE=C
130 export LANGUAGE
131
132 # CDPATH.
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134
135 # Use a proper internal environment variable to ensure we don't fall
136   # into an infinite loop, continuously re-executing ourselves.
137   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138     _as_can_reexec=no; export _as_can_reexec;
139     # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
143 BASH_ENV=/dev/null
144 ENV=/dev/null
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146 case $- in # ((((
147   *v*x* | *x*v* ) as_opts=-vx ;;
148   *v* ) as_opts=-v ;;
149   *x* ) as_opts=-x ;;
150   * ) as_opts= ;;
151 esac
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156 as_fn_exit 255
157   fi
158   # We don't want this to propagate to other subprocesses.
159           { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162   emulate sh
163   NULLCMD=:
164   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165   # is contrary to our usage.  Disable this feature.
166   alias -g '\${1+\"\$@\"}'='\"\$@\"'
167   setopt NO_GLOB_SUBST
168 else
169   case \`(set -o) 2>/dev/null\` in #(
170   *posix*) :
171     set -o posix ;; #(
172   *) :
173      ;;
174 esac
175 fi
176 "
177   as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
182
183 exitcode=0
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
189
190 else
191   exitcode=1; echo positional parameters were not saved.
192 fi
193 test x\$exitcode = x0 || exit 1
194 test -x / || exit 1"
195   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199
200   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
201     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
202     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
203     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204     PATH=/empty FPATH=/empty; export PATH FPATH
205     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
206       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
207 test \$(( 1 + 1 )) = 2 || exit 1"
208   if (eval "$as_required") 2>/dev/null; then :
209   as_have_required=yes
210 else
211   as_have_required=no
212 fi
213   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
214
215 else
216   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
217 as_found=false
218 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
219 do
220   IFS=$as_save_IFS
221   test -z "$as_dir" && as_dir=.
222   as_found=:
223   case $as_dir in #(
224          /*)
225            for as_base in sh bash ksh sh5; do
226              # Try only shells that exist, to save several forks.
227              as_shell=$as_dir/$as_base
228              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
229                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
230   CONFIG_SHELL=$as_shell as_have_required=yes
231                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
232   break 2
233 fi
234 fi
235            done;;
236        esac
237   as_found=false
238 done
239 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
240               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
241   CONFIG_SHELL=$SHELL as_have_required=yes
242 fi; }
243 IFS=$as_save_IFS
244
245
246       if test "x$CONFIG_SHELL" != x; then :
247   export CONFIG_SHELL
248              # We cannot yet assume a decent shell, so we have to provide a
249 # neutralization value for shells without unset; and this also
250 # works around shells that cannot unset nonexistent variables.
251 # Preserve -v and -x to the replacement shell.
252 BASH_ENV=/dev/null
253 ENV=/dev/null
254 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
255 case $- in # ((((
256   *v*x* | *x*v* ) as_opts=-vx ;;
257   *v* ) as_opts=-v ;;
258   *x* ) as_opts=-x ;;
259   * ) as_opts= ;;
260 esac
261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262 # Admittedly, this is quite paranoid, since all the known shells bail
263 # out after a failed `exec'.
264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
265 exit 255
266 fi
267
268     if test x$as_have_required = xno; then :
269   $as_echo "$0: This script requires a shell more modern than all"
270   $as_echo "$0: the shells that I found on your system."
271   if test x${ZSH_VERSION+set} = xset ; then
272     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
274   else
275     $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276 $0: including any error possibly output before this
277 $0: message. Then install a modern shell, or manually run
278 $0: the script under such a shell if you do have one."
279   fi
280   exit 1
281 fi
282 fi
283 fi
284 SHELL=${CONFIG_SHELL-/bin/sh}
285 export SHELL
286 # Unset more variables known to interfere with behavior of common tools.
287 CLICOLOR_FORCE= GREP_OPTIONS=
288 unset CLICOLOR_FORCE GREP_OPTIONS
289
290 ## --------------------- ##
291 ## M4sh Shell Functions. ##
292 ## --------------------- ##
293 # as_fn_unset VAR
294 # ---------------
295 # Portably unset VAR.
296 as_fn_unset ()
297 {
298   { eval $1=; unset $1;}
299 }
300 as_unset=as_fn_unset
301
302 # as_fn_set_status STATUS
303 # -----------------------
304 # Set $? to STATUS, without forking.
305 as_fn_set_status ()
306 {
307   return $1
308 } # as_fn_set_status
309
310 # as_fn_exit STATUS
311 # -----------------
312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
313 as_fn_exit ()
314 {
315   set +e
316   as_fn_set_status $1
317   exit $1
318 } # as_fn_exit
319
320 # as_fn_mkdir_p
321 # -------------
322 # Create "$as_dir" as a directory, including parents if necessary.
323 as_fn_mkdir_p ()
324 {
325
326   case $as_dir in #(
327   -*) as_dir=./$as_dir;;
328   esac
329   test -d "$as_dir" || eval $as_mkdir_p || {
330     as_dirs=
331     while :; do
332       case $as_dir in #(
333       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
334       *) as_qdir=$as_dir;;
335       esac
336       as_dirs="'$as_qdir' $as_dirs"
337       as_dir=`$as_dirname -- "$as_dir" ||
338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339          X"$as_dir" : 'X\(//\)[^/]' \| \
340          X"$as_dir" : 'X\(//\)$' \| \
341          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342 $as_echo X"$as_dir" |
343     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
344             s//\1/
345             q
346           }
347           /^X\(\/\/\)[^/].*/{
348             s//\1/
349             q
350           }
351           /^X\(\/\/\)$/{
352             s//\1/
353             q
354           }
355           /^X\(\/\).*/{
356             s//\1/
357             q
358           }
359           s/.*/./; q'`
360       test -d "$as_dir" && break
361     done
362     test -z "$as_dirs" || eval "mkdir $as_dirs"
363   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
364
365
366 } # as_fn_mkdir_p
367
368 # as_fn_executable_p FILE
369 # -----------------------
370 # Test if FILE is an executable regular file.
371 as_fn_executable_p ()
372 {
373   test -f "$1" && test -x "$1"
374 } # as_fn_executable_p
375 # as_fn_append VAR VALUE
376 # ----------------------
377 # Append the text in VALUE to the end of the definition contained in VAR. Take
378 # advantage of any shell optimizations that allow amortized linear growth over
379 # repeated appends, instead of the typical quadratic growth present in naive
380 # implementations.
381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
382   eval 'as_fn_append ()
383   {
384     eval $1+=\$2
385   }'
386 else
387   as_fn_append ()
388   {
389     eval $1=\$$1\$2
390   }
391 fi # as_fn_append
392
393 # as_fn_arith ARG...
394 # ------------------
395 # Perform arithmetic evaluation on the ARGs, and store the result in the
396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
397 # must be portable across $(()) and expr.
398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
399   eval 'as_fn_arith ()
400   {
401     as_val=$(( $* ))
402   }'
403 else
404   as_fn_arith ()
405   {
406     as_val=`expr "$@" || test $? -eq 1`
407   }
408 fi # as_fn_arith
409
410
411 # as_fn_error STATUS ERROR [LINENO LOG_FD]
412 # ----------------------------------------
413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415 # script with STATUS, using 1 if that was 0.
416 as_fn_error ()
417 {
418   as_status=$1; test $as_status -eq 0 && as_status=1
419   if test "$4"; then
420     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
421     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
422   fi
423   $as_echo "$as_me: error: $2" >&2
424   as_fn_exit $as_status
425 } # as_fn_error
426
427 if expr a : '\(a\)' >/dev/null 2>&1 &&
428    test "X`expr 00001 : '.*\(...\)'`" = X001; then
429   as_expr=expr
430 else
431   as_expr=false
432 fi
433
434 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435   as_basename=basename
436 else
437   as_basename=false
438 fi
439
440 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
441   as_dirname=dirname
442 else
443   as_dirname=false
444 fi
445
446 as_me=`$as_basename -- "$0" ||
447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448          X"$0" : 'X\(//\)$' \| \
449          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
450 $as_echo X/"$0" |
451     sed '/^.*\/\([^/][^/]*\)\/*$/{
452             s//\1/
453             q
454           }
455           /^X\/\(\/\/\)$/{
456             s//\1/
457             q
458           }
459           /^X\/\(\/\).*/{
460             s//\1/
461             q
462           }
463           s/.*/./; q'`
464
465 # Avoid depending upon Character Ranges.
466 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
467 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
469 as_cr_digits='0123456789'
470 as_cr_alnum=$as_cr_Letters$as_cr_digits
471
472
473   as_lineno_1=$LINENO as_lineno_1a=$LINENO
474   as_lineno_2=$LINENO as_lineno_2a=$LINENO
475   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
477   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
478   sed -n '
479     p
480     /[$]LINENO/=
481   ' <$as_myself |
482     sed '
483       s/[$]LINENO.*/&-/
484       t lineno
485       b
486       :lineno
487       N
488       :loop
489       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
490       t loop
491       s/-\n.*//
492     ' >$as_me.lineno &&
493   chmod +x "$as_me.lineno" ||
494     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
495
496   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497   # already done that, so ensure we don't try to do so again and fall
498   # in an infinite loop.  This has already happened in practice.
499   _as_can_reexec=no; export _as_can_reexec
500   # Don't try to exec as it changes $[0], causing all sort of problems
501   # (the dirname of $[0] is not the place where we might find the
502   # original and so on.  Autoconf is especially sensitive to this).
503   . "./$as_me.lineno"
504   # Exit status is that of the last command.
505   exit
506 }
507
508 ECHO_C= ECHO_N= ECHO_T=
509 case `echo -n x` in #(((((
510 -n*)
511   case `echo 'xy\c'` in
512   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
513   xy)  ECHO_C='\c';;
514   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
515        ECHO_T=' ';;
516   esac;;
517 *)
518   ECHO_N='-n';;
519 esac
520
521 rm -f conf$$ conf$$.exe conf$$.file
522 if test -d conf$$.dir; then
523   rm -f conf$$.dir/conf$$.file
524 else
525   rm -f conf$$.dir
526   mkdir conf$$.dir 2>/dev/null
527 fi
528 if (echo >conf$$.file) 2>/dev/null; then
529   if ln -s conf$$.file conf$$ 2>/dev/null; then
530     as_ln_s='ln -s'
531     # ... but there are two gotchas:
532     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534     # In both cases, we have to default to `cp -pR'.
535     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
536       as_ln_s='cp -pR'
537   elif ln conf$$.file conf$$ 2>/dev/null; then
538     as_ln_s=ln
539   else
540     as_ln_s='cp -pR'
541   fi
542 else
543   as_ln_s='cp -pR'
544 fi
545 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
546 rmdir conf$$.dir 2>/dev/null
547
548 if mkdir -p . 2>/dev/null; then
549   as_mkdir_p='mkdir -p "$as_dir"'
550 else
551   test -d ./-p && rmdir ./-p
552   as_mkdir_p=false
553 fi
554
555 as_test_x='test -x'
556 as_executable_p=as_fn_executable_p
557
558 # Sed expression to map a string onto a valid CPP name.
559 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
560
561 # Sed expression to map a string onto a valid variable name.
562 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
563
564 SHELL=${CONFIG_SHELL-/bin/sh}
565
566
567 test -n "$DJDIR" || exec 7<&0 </dev/null
568 exec 6>&1
569
570 # Name of the host.
571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572 # so uname gets run too.
573 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
574
575 #
576 # Initializations.
577 #
578 ac_default_prefix=/usr/local
579 ac_clean_files=
580 ac_config_libobj_dir=.
581 LIBOBJS=
582 cross_compiling=no
583 subdirs=
584 MFLAGS=
585 MAKEFLAGS=
586
587 # Identity of this package.
588 PACKAGE_NAME='tlm'
589 PACKAGE_TARNAME='tlm'
590 PACKAGE_VERSION='0.0.2'
591 PACKAGE_STRING='tlm 0.0.2'
592 PACKAGE_BUGREPORT=''
593 PACKAGE_URL=''
594
595 ac_unique_file="src/daemon/tlm-main.c"
596 # Factoring default headers for most tests.
597 ac_includes_default="\
598 #include <stdio.h>
599 #ifdef HAVE_SYS_TYPES_H
600 # include <sys/types.h>
601 #endif
602 #ifdef HAVE_SYS_STAT_H
603 # include <sys/stat.h>
604 #endif
605 #ifdef STDC_HEADERS
606 # include <stdlib.h>
607 # include <stddef.h>
608 #else
609 # ifdef HAVE_STDLIB_H
610 #  include <stdlib.h>
611 # endif
612 #endif
613 #ifdef HAVE_STRING_H
614 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
615 #  include <memory.h>
616 # endif
617 # include <string.h>
618 #endif
619 #ifdef HAVE_STRINGS_H
620 # include <strings.h>
621 #endif
622 #ifdef HAVE_INTTYPES_H
623 # include <inttypes.h>
624 #endif
625 #ifdef HAVE_STDINT_H
626 # include <stdint.h>
627 #endif
628 #ifdef HAVE_UNISTD_H
629 # include <unistd.h>
630 #endif"
631
632 ac_subst_vars='am__EXEEXT_FALSE
633 am__EXEEXT_TRUE
634 LTLIBOBJS
635 LIBOBJS
636 ACCOUNT_PLUGIN_NAME
637 HAVE_LIBGUM_FALSE
638 HAVE_LIBGUM_TRUE
639 LIBGUM_LIBS
640 LIBGUM_CFLAGS
641 ELEMENTARY_LIBS
642 ELEMENTARY_CFLAGS
643 ENABLE_EXAMPLES_FALSE
644 ENABLE_EXAMPLES_TRUE
645 ENABLE_TESTS_FALSE
646 ENABLE_TESTS_TRUE
647 CHECK_LIBS
648 CHECK_CFLAGS
649 TLM_LIBS
650 TLM_CFLAGS
651 HAVE_LIBTLM_NFC_FALSE
652 HAVE_LIBTLM_NFC_TRUE
653 LIBTLM_NFC_LIBS
654 LIBTLM_NFC_CFLAGS
655 GMODULE_LIBS
656 GMODULE_CFLAGS
657 GIO_LIBS
658 GIO_CFLAGS
659 GLIB_LIBS
660 GLIB_CFLAGS
661 GLIB_MKENUMS
662 GTK_DOC_USE_REBASE_FALSE
663 GTK_DOC_USE_REBASE_TRUE
664 GTK_DOC_USE_LIBTOOL_FALSE
665 GTK_DOC_USE_LIBTOOL_TRUE
666 GTK_DOC_BUILD_PDF_FALSE
667 GTK_DOC_BUILD_PDF_TRUE
668 GTK_DOC_BUILD_HTML_FALSE
669 GTK_DOC_BUILD_HTML_TRUE
670 ENABLE_GTK_DOC_FALSE
671 ENABLE_GTK_DOC_TRUE
672 HAVE_GTK_DOC_FALSE
673 HAVE_GTK_DOC_TRUE
674 GTKDOC_DEPS_LIBS
675 GTKDOC_DEPS_CFLAGS
676 HTML_DIR
677 GTKDOC_MKPDF
678 GTKDOC_REBASE
679 GTKDOC_CHECK_PATH
680 GTKDOC_CHECK
681 PKG_CONFIG_LIBDIR
682 PKG_CONFIG_PATH
683 PKG_CONFIG
684 CPP
685 OTOOL64
686 OTOOL
687 LIPO
688 NMEDIT
689 DSYMUTIL
690 MANIFEST_TOOL
691 RANLIB
692 ac_ct_AR
693 AR
694 DLLTOOL
695 OBJDUMP
696 LN_S
697 NM
698 ac_ct_DUMPBIN
699 DUMPBIN
700 LD
701 FGREP
702 EGREP
703 GREP
704 SED
705 am__fastdepCC_FALSE
706 am__fastdepCC_TRUE
707 CCDEPMODE
708 am__nodep
709 AMDEPBACKSLASH
710 AMDEP_FALSE
711 AMDEP_TRUE
712 am__quote
713 am__include
714 DEPDIR
715 OBJEXT
716 EXEEXT
717 ac_ct_CC
718 CPPFLAGS
719 LDFLAGS
720 CFLAGS
721 CC
722 host_os
723 host_vendor
724 host_cpu
725 host
726 build_os
727 build_vendor
728 build_cpu
729 build
730 LIBTOOL
731 AM_BACKSLASH
732 AM_DEFAULT_VERBOSITY
733 AM_DEFAULT_V
734 AM_V
735 am__untar
736 am__tar
737 AMTAR
738 am__leading_dot
739 SET_MAKE
740 AWK
741 mkdir_p
742 MKDIR_P
743 INSTALL_STRIP_PROGRAM
744 STRIP
745 install_sh
746 MAKEINFO
747 AUTOHEADER
748 AUTOMAKE
749 AUTOCONF
750 ACLOCAL
751 VERSION
752 PACKAGE
753 CYGPATH_W
754 am__isrc
755 INSTALL_DATA
756 INSTALL_SCRIPT
757 INSTALL_PROGRAM
758 target_alias
759 host_alias
760 build_alias
761 LIBS
762 ECHO_T
763 ECHO_N
764 ECHO_C
765 DEFS
766 mandir
767 localedir
768 libdir
769 psdir
770 pdfdir
771 dvidir
772 htmldir
773 infodir
774 docdir
775 oldincludedir
776 includedir
777 localstatedir
778 sharedstatedir
779 sysconfdir
780 datadir
781 datarootdir
782 libexecdir
783 sbindir
784 bindir
785 program_transform_name
786 prefix
787 exec_prefix
788 PACKAGE_URL
789 PACKAGE_BUGREPORT
790 PACKAGE_STRING
791 PACKAGE_VERSION
792 PACKAGE_TARNAME
793 PACKAGE_NAME
794 PATH_SEPARATOR
795 SHELL'
796 ac_subst_files=''
797 ac_user_opts='
798 enable_option_checking
799 enable_silent_rules
800 enable_static
801 enable_shared
802 with_pic
803 enable_fast_install
804 enable_dependency_tracking
805 with_gnu_ld
806 with_sysroot
807 enable_libtool_lock
808 with_html_dir
809 enable_gtk_doc
810 enable_gtk_doc_html
811 enable_gtk_doc_pdf
812 enable_debug
813 enable_tests
814 enable_examples
815 enable_sockets_path
816 enable_gum
817 '
818       ac_precious_vars='build_alias
819 host_alias
820 target_alias
821 CC
822 CFLAGS
823 LDFLAGS
824 LIBS
825 CPPFLAGS
826 CPP
827 PKG_CONFIG
828 PKG_CONFIG_PATH
829 PKG_CONFIG_LIBDIR
830 GTKDOC_DEPS_CFLAGS
831 GTKDOC_DEPS_LIBS
832 GLIB_CFLAGS
833 GLIB_LIBS
834 GIO_CFLAGS
835 GIO_LIBS
836 GMODULE_CFLAGS
837 GMODULE_LIBS
838 LIBTLM_NFC_CFLAGS
839 LIBTLM_NFC_LIBS
840 CHECK_CFLAGS
841 CHECK_LIBS
842 ELEMENTARY_CFLAGS
843 ELEMENTARY_LIBS
844 LIBGUM_CFLAGS
845 LIBGUM_LIBS'
846
847
848 # Initialize some variables set by options.
849 ac_init_help=
850 ac_init_version=false
851 ac_unrecognized_opts=
852 ac_unrecognized_sep=
853 # The variables have the same names as the options, with
854 # dashes changed to underlines.
855 cache_file=/dev/null
856 exec_prefix=NONE
857 no_create=
858 no_recursion=
859 prefix=NONE
860 program_prefix=NONE
861 program_suffix=NONE
862 program_transform_name=s,x,x,
863 silent=
864 site=
865 srcdir=
866 verbose=
867 x_includes=NONE
868 x_libraries=NONE
869
870 # Installation directory options.
871 # These are left unexpanded so users can "make install exec_prefix=/foo"
872 # and all the variables that are supposed to be based on exec_prefix
873 # by default will actually change.
874 # Use braces instead of parens because sh, perl, etc. also accept them.
875 # (The list follows the same order as the GNU Coding Standards.)
876 bindir='${exec_prefix}/bin'
877 sbindir='${exec_prefix}/sbin'
878 libexecdir='${exec_prefix}/libexec'
879 datarootdir='${prefix}/share'
880 datadir='${datarootdir}'
881 sysconfdir='${prefix}/etc'
882 sharedstatedir='${prefix}/com'
883 localstatedir='${prefix}/var'
884 includedir='${prefix}/include'
885 oldincludedir='/usr/include'
886 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
887 infodir='${datarootdir}/info'
888 htmldir='${docdir}'
889 dvidir='${docdir}'
890 pdfdir='${docdir}'
891 psdir='${docdir}'
892 libdir='${exec_prefix}/lib'
893 localedir='${datarootdir}/locale'
894 mandir='${datarootdir}/man'
895
896 ac_prev=
897 ac_dashdash=
898 for ac_option
899 do
900   # If the previous option needs an argument, assign it.
901   if test -n "$ac_prev"; then
902     eval $ac_prev=\$ac_option
903     ac_prev=
904     continue
905   fi
906
907   case $ac_option in
908   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
909   *=)   ac_optarg= ;;
910   *)    ac_optarg=yes ;;
911   esac
912
913   # Accept the important Cygnus configure options, so we can diagnose typos.
914
915   case $ac_dashdash$ac_option in
916   --)
917     ac_dashdash=yes ;;
918
919   -bindir | --bindir | --bindi | --bind | --bin | --bi)
920     ac_prev=bindir ;;
921   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
922     bindir=$ac_optarg ;;
923
924   -build | --build | --buil | --bui | --bu)
925     ac_prev=build_alias ;;
926   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
927     build_alias=$ac_optarg ;;
928
929   -cache-file | --cache-file | --cache-fil | --cache-fi \
930   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
931     ac_prev=cache_file ;;
932   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
933   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
934     cache_file=$ac_optarg ;;
935
936   --config-cache | -C)
937     cache_file=config.cache ;;
938
939   -datadir | --datadir | --datadi | --datad)
940     ac_prev=datadir ;;
941   -datadir=* | --datadir=* | --datadi=* | --datad=*)
942     datadir=$ac_optarg ;;
943
944   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
945   | --dataroo | --dataro | --datar)
946     ac_prev=datarootdir ;;
947   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
948   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
949     datarootdir=$ac_optarg ;;
950
951   -disable-* | --disable-*)
952     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
953     # Reject names that are not valid shell variable names.
954     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
955       as_fn_error $? "invalid feature name: $ac_useropt"
956     ac_useropt_orig=$ac_useropt
957     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
958     case $ac_user_opts in
959       *"
960 "enable_$ac_useropt"
961 "*) ;;
962       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
963          ac_unrecognized_sep=', ';;
964     esac
965     eval enable_$ac_useropt=no ;;
966
967   -docdir | --docdir | --docdi | --doc | --do)
968     ac_prev=docdir ;;
969   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
970     docdir=$ac_optarg ;;
971
972   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
973     ac_prev=dvidir ;;
974   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
975     dvidir=$ac_optarg ;;
976
977   -enable-* | --enable-*)
978     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
979     # Reject names that are not valid shell variable names.
980     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
981       as_fn_error $? "invalid feature name: $ac_useropt"
982     ac_useropt_orig=$ac_useropt
983     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
984     case $ac_user_opts in
985       *"
986 "enable_$ac_useropt"
987 "*) ;;
988       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
989          ac_unrecognized_sep=', ';;
990     esac
991     eval enable_$ac_useropt=\$ac_optarg ;;
992
993   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
994   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
995   | --exec | --exe | --ex)
996     ac_prev=exec_prefix ;;
997   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
998   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
999   | --exec=* | --exe=* | --ex=*)
1000     exec_prefix=$ac_optarg ;;
1001
1002   -gas | --gas | --ga | --g)
1003     # Obsolete; use --with-gas.
1004     with_gas=yes ;;
1005
1006   -help | --help | --hel | --he | -h)
1007     ac_init_help=long ;;
1008   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1009     ac_init_help=recursive ;;
1010   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1011     ac_init_help=short ;;
1012
1013   -host | --host | --hos | --ho)
1014     ac_prev=host_alias ;;
1015   -host=* | --host=* | --hos=* | --ho=*)
1016     host_alias=$ac_optarg ;;
1017
1018   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1019     ac_prev=htmldir ;;
1020   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1021   | --ht=*)
1022     htmldir=$ac_optarg ;;
1023
1024   -includedir | --includedir | --includedi | --included | --include \
1025   | --includ | --inclu | --incl | --inc)
1026     ac_prev=includedir ;;
1027   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1028   | --includ=* | --inclu=* | --incl=* | --inc=*)
1029     includedir=$ac_optarg ;;
1030
1031   -infodir | --infodir | --infodi | --infod | --info | --inf)
1032     ac_prev=infodir ;;
1033   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1034     infodir=$ac_optarg ;;
1035
1036   -libdir | --libdir | --libdi | --libd)
1037     ac_prev=libdir ;;
1038   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1039     libdir=$ac_optarg ;;
1040
1041   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1042   | --libexe | --libex | --libe)
1043     ac_prev=libexecdir ;;
1044   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1045   | --libexe=* | --libex=* | --libe=*)
1046     libexecdir=$ac_optarg ;;
1047
1048   -localedir | --localedir | --localedi | --localed | --locale)
1049     ac_prev=localedir ;;
1050   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1051     localedir=$ac_optarg ;;
1052
1053   -localstatedir | --localstatedir | --localstatedi | --localstated \
1054   | --localstate | --localstat | --localsta | --localst | --locals)
1055     ac_prev=localstatedir ;;
1056   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1057   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1058     localstatedir=$ac_optarg ;;
1059
1060   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1061     ac_prev=mandir ;;
1062   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1063     mandir=$ac_optarg ;;
1064
1065   -nfp | --nfp | --nf)
1066     # Obsolete; use --without-fp.
1067     with_fp=no ;;
1068
1069   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1070   | --no-cr | --no-c | -n)
1071     no_create=yes ;;
1072
1073   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1074   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1075     no_recursion=yes ;;
1076
1077   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1078   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1079   | --oldin | --oldi | --old | --ol | --o)
1080     ac_prev=oldincludedir ;;
1081   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1082   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1083   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1084     oldincludedir=$ac_optarg ;;
1085
1086   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1087     ac_prev=prefix ;;
1088   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1089     prefix=$ac_optarg ;;
1090
1091   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1092   | --program-pre | --program-pr | --program-p)
1093     ac_prev=program_prefix ;;
1094   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1095   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1096     program_prefix=$ac_optarg ;;
1097
1098   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1099   | --program-suf | --program-su | --program-s)
1100     ac_prev=program_suffix ;;
1101   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1102   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1103     program_suffix=$ac_optarg ;;
1104
1105   -program-transform-name | --program-transform-name \
1106   | --program-transform-nam | --program-transform-na \
1107   | --program-transform-n | --program-transform- \
1108   | --program-transform | --program-transfor \
1109   | --program-transfo | --program-transf \
1110   | --program-trans | --program-tran \
1111   | --progr-tra | --program-tr | --program-t)
1112     ac_prev=program_transform_name ;;
1113   -program-transform-name=* | --program-transform-name=* \
1114   | --program-transform-nam=* | --program-transform-na=* \
1115   | --program-transform-n=* | --program-transform-=* \
1116   | --program-transform=* | --program-transfor=* \
1117   | --program-transfo=* | --program-transf=* \
1118   | --program-trans=* | --program-tran=* \
1119   | --progr-tra=* | --program-tr=* | --program-t=*)
1120     program_transform_name=$ac_optarg ;;
1121
1122   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1123     ac_prev=pdfdir ;;
1124   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1125     pdfdir=$ac_optarg ;;
1126
1127   -psdir | --psdir | --psdi | --psd | --ps)
1128     ac_prev=psdir ;;
1129   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1130     psdir=$ac_optarg ;;
1131
1132   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1133   | -silent | --silent | --silen | --sile | --sil)
1134     silent=yes ;;
1135
1136   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1137     ac_prev=sbindir ;;
1138   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1139   | --sbi=* | --sb=*)
1140     sbindir=$ac_optarg ;;
1141
1142   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1143   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1144   | --sharedst | --shareds | --shared | --share | --shar \
1145   | --sha | --sh)
1146     ac_prev=sharedstatedir ;;
1147   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1148   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1149   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1150   | --sha=* | --sh=*)
1151     sharedstatedir=$ac_optarg ;;
1152
1153   -site | --site | --sit)
1154     ac_prev=site ;;
1155   -site=* | --site=* | --sit=*)
1156     site=$ac_optarg ;;
1157
1158   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1159     ac_prev=srcdir ;;
1160   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1161     srcdir=$ac_optarg ;;
1162
1163   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1164   | --syscon | --sysco | --sysc | --sys | --sy)
1165     ac_prev=sysconfdir ;;
1166   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1167   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1168     sysconfdir=$ac_optarg ;;
1169
1170   -target | --target | --targe | --targ | --tar | --ta | --t)
1171     ac_prev=target_alias ;;
1172   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1173     target_alias=$ac_optarg ;;
1174
1175   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1176     verbose=yes ;;
1177
1178   -version | --version | --versio | --versi | --vers | -V)
1179     ac_init_version=: ;;
1180
1181   -with-* | --with-*)
1182     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1183     # Reject names that are not valid shell variable names.
1184     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1185       as_fn_error $? "invalid package name: $ac_useropt"
1186     ac_useropt_orig=$ac_useropt
1187     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1188     case $ac_user_opts in
1189       *"
1190 "with_$ac_useropt"
1191 "*) ;;
1192       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1193          ac_unrecognized_sep=', ';;
1194     esac
1195     eval with_$ac_useropt=\$ac_optarg ;;
1196
1197   -without-* | --without-*)
1198     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1199     # Reject names that are not valid shell variable names.
1200     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1201       as_fn_error $? "invalid package name: $ac_useropt"
1202     ac_useropt_orig=$ac_useropt
1203     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1204     case $ac_user_opts in
1205       *"
1206 "with_$ac_useropt"
1207 "*) ;;
1208       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1209          ac_unrecognized_sep=', ';;
1210     esac
1211     eval with_$ac_useropt=no ;;
1212
1213   --x)
1214     # Obsolete; use --with-x.
1215     with_x=yes ;;
1216
1217   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1218   | --x-incl | --x-inc | --x-in | --x-i)
1219     ac_prev=x_includes ;;
1220   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1221   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1222     x_includes=$ac_optarg ;;
1223
1224   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1225   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1226     ac_prev=x_libraries ;;
1227   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1228   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1229     x_libraries=$ac_optarg ;;
1230
1231   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1232 Try \`$0 --help' for more information"
1233     ;;
1234
1235   *=*)
1236     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1237     # Reject names that are not valid shell variable names.
1238     case $ac_envvar in #(
1239       '' | [0-9]* | *[!_$as_cr_alnum]* )
1240       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1241     esac
1242     eval $ac_envvar=\$ac_optarg
1243     export $ac_envvar ;;
1244
1245   *)
1246     # FIXME: should be removed in autoconf 3.0.
1247     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1248     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1249       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1250     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1251     ;;
1252
1253   esac
1254 done
1255
1256 if test -n "$ac_prev"; then
1257   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1258   as_fn_error $? "missing argument to $ac_option"
1259 fi
1260
1261 if test -n "$ac_unrecognized_opts"; then
1262   case $enable_option_checking in
1263     no) ;;
1264     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1265     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1266   esac
1267 fi
1268
1269 # Check all directory arguments for consistency.
1270 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1271                 datadir sysconfdir sharedstatedir localstatedir includedir \
1272                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1273                 libdir localedir mandir
1274 do
1275   eval ac_val=\$$ac_var
1276   # Remove trailing slashes.
1277   case $ac_val in
1278     */ )
1279       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1280       eval $ac_var=\$ac_val;;
1281   esac
1282   # Be sure to have absolute directory names.
1283   case $ac_val in
1284     [\\/$]* | ?:[\\/]* )  continue;;
1285     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1286   esac
1287   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1288 done
1289
1290 # There might be people who depend on the old broken behavior: `$host'
1291 # used to hold the argument of --host etc.
1292 # FIXME: To remove some day.
1293 build=$build_alias
1294 host=$host_alias
1295 target=$target_alias
1296
1297 # FIXME: To remove some day.
1298 if test "x$host_alias" != x; then
1299   if test "x$build_alias" = x; then
1300     cross_compiling=maybe
1301   elif test "x$build_alias" != "x$host_alias"; then
1302     cross_compiling=yes
1303   fi
1304 fi
1305
1306 ac_tool_prefix=
1307 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1308
1309 test "$silent" = yes && exec 6>/dev/null
1310
1311
1312 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1313 ac_ls_di=`ls -di .` &&
1314 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1315   as_fn_error $? "working directory cannot be determined"
1316 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1317   as_fn_error $? "pwd does not report name of working directory"
1318
1319
1320 # Find the source files, if location was not specified.
1321 if test -z "$srcdir"; then
1322   ac_srcdir_defaulted=yes
1323   # Try the directory containing this script, then the parent directory.
1324   ac_confdir=`$as_dirname -- "$as_myself" ||
1325 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1326          X"$as_myself" : 'X\(//\)[^/]' \| \
1327          X"$as_myself" : 'X\(//\)$' \| \
1328          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1329 $as_echo X"$as_myself" |
1330     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1331             s//\1/
1332             q
1333           }
1334           /^X\(\/\/\)[^/].*/{
1335             s//\1/
1336             q
1337           }
1338           /^X\(\/\/\)$/{
1339             s//\1/
1340             q
1341           }
1342           /^X\(\/\).*/{
1343             s//\1/
1344             q
1345           }
1346           s/.*/./; q'`
1347   srcdir=$ac_confdir
1348   if test ! -r "$srcdir/$ac_unique_file"; then
1349     srcdir=..
1350   fi
1351 else
1352   ac_srcdir_defaulted=no
1353 fi
1354 if test ! -r "$srcdir/$ac_unique_file"; then
1355   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1356   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1357 fi
1358 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1359 ac_abs_confdir=`(
1360         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1361         pwd)`
1362 # When building in place, set srcdir=.
1363 if test "$ac_abs_confdir" = "$ac_pwd"; then
1364   srcdir=.
1365 fi
1366 # Remove unnecessary trailing slashes from srcdir.
1367 # Double slashes in file names in object file debugging info
1368 # mess up M-x gdb in Emacs.
1369 case $srcdir in
1370 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1371 esac
1372 for ac_var in $ac_precious_vars; do
1373   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1374   eval ac_env_${ac_var}_value=\$${ac_var}
1375   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1376   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1377 done
1378
1379 #
1380 # Report the --help message.
1381 #
1382 if test "$ac_init_help" = "long"; then
1383   # Omit some internal or obsolete options to make the list less imposing.
1384   # This message is too long to be a string in the A/UX 3.1 sh.
1385   cat <<_ACEOF
1386 \`configure' configures tlm 0.0.2 to adapt to many kinds of systems.
1387
1388 Usage: $0 [OPTION]... [VAR=VALUE]...
1389
1390 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1391 VAR=VALUE.  See below for descriptions of some of the useful variables.
1392
1393 Defaults for the options are specified in brackets.
1394
1395 Configuration:
1396   -h, --help              display this help and exit
1397       --help=short        display options specific to this package
1398       --help=recursive    display the short help of all the included packages
1399   -V, --version           display version information and exit
1400   -q, --quiet, --silent   do not print \`checking ...' messages
1401       --cache-file=FILE   cache test results in FILE [disabled]
1402   -C, --config-cache      alias for \`--cache-file=config.cache'
1403   -n, --no-create         do not create output files
1404       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1405
1406 Installation directories:
1407   --prefix=PREFIX         install architecture-independent files in PREFIX
1408                           [$ac_default_prefix]
1409   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1410                           [PREFIX]
1411
1412 By default, \`make install' will install all the files in
1413 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1414 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1415 for instance \`--prefix=\$HOME'.
1416
1417 For better control, use the options below.
1418
1419 Fine tuning of the installation directories:
1420   --bindir=DIR            user executables [EPREFIX/bin]
1421   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1422   --libexecdir=DIR        program executables [EPREFIX/libexec]
1423   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1424   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1425   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1426   --libdir=DIR            object code libraries [EPREFIX/lib]
1427   --includedir=DIR        C header files [PREFIX/include]
1428   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1429   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1430   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1431   --infodir=DIR           info documentation [DATAROOTDIR/info]
1432   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1433   --mandir=DIR            man documentation [DATAROOTDIR/man]
1434   --docdir=DIR            documentation root [DATAROOTDIR/doc/tlm]
1435   --htmldir=DIR           html documentation [DOCDIR]
1436   --dvidir=DIR            dvi documentation [DOCDIR]
1437   --pdfdir=DIR            pdf documentation [DOCDIR]
1438   --psdir=DIR             ps documentation [DOCDIR]
1439 _ACEOF
1440
1441   cat <<\_ACEOF
1442
1443 Program names:
1444   --program-prefix=PREFIX            prepend PREFIX to installed program names
1445   --program-suffix=SUFFIX            append SUFFIX to installed program names
1446   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1447
1448 System types:
1449   --build=BUILD     configure for building on BUILD [guessed]
1450   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1451 _ACEOF
1452 fi
1453
1454 if test -n "$ac_init_help"; then
1455   case $ac_init_help in
1456      short | recursive ) echo "Configuration of tlm 0.0.2:";;
1457    esac
1458   cat <<\_ACEOF
1459
1460 Optional Features:
1461   --disable-option-checking  ignore unrecognized --enable/--with options
1462   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1463   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1464   --enable-silent-rules   less verbose build output (undo: "make V=1")
1465   --disable-silent-rules  verbose build output (undo: "make V=0")
1466   --enable-static[=PKGS]  build static libraries [default=no]
1467   --enable-shared[=PKGS]  build shared libraries [default=yes]
1468   --enable-fast-install[=PKGS]
1469                           optimize for fast installation [default=yes]
1470   --enable-dependency-tracking
1471                           do not reject slow dependency extractors
1472   --disable-dependency-tracking
1473                           speeds up one-time build
1474   --disable-libtool-lock  avoid locking (might break parallel builds)
1475   --enable-gtk-doc        use gtk-doc to build documentation [[default=no]]
1476   --enable-gtk-doc-html   build documentation in html format [[default=yes]]
1477   --enable-gtk-doc-pdf    build documentation in pdf format [[default=no]]
1478  --enable-debug enable debug features
1479  --enable-tests build unit tests
1480  --enable-examples enable examples
1481   --enable-sockets-path=path  enable dbus sockets path at location'
1482            "path" instead of default "/var/run/tlm"
1483   --enable-gum build for gumd plugin
1484
1485 Optional Packages:
1486   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1487   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1488   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1489                           both]
1490   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1491   --with-sysroot=DIR Search for dependent libraries within DIR
1492                         (or the compiler's sysroot if not specified).
1493   --with-html-dir=PATH    path to installed docs
1494
1495 Some influential environment variables:
1496   CC          C compiler command
1497   CFLAGS      C compiler flags
1498   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1499               nonstandard directory <lib dir>
1500   LIBS        libraries to pass to the linker, e.g. -l<library>
1501   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1502               you have headers in a nonstandard directory <include dir>
1503   CPP         C preprocessor
1504   PKG_CONFIG  path to pkg-config utility
1505   PKG_CONFIG_PATH
1506               directories to add to pkg-config's search path
1507   PKG_CONFIG_LIBDIR
1508               path overriding pkg-config's built-in search path
1509   GTKDOC_DEPS_CFLAGS
1510               C compiler flags for GTKDOC_DEPS, overriding pkg-config
1511   GTKDOC_DEPS_LIBS
1512               linker flags for GTKDOC_DEPS, overriding pkg-config
1513   GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1514   GLIB_LIBS   linker flags for GLIB, overriding pkg-config
1515   GIO_CFLAGS  C compiler flags for GIO, overriding pkg-config
1516   GIO_LIBS    linker flags for GIO, overriding pkg-config
1517   GMODULE_CFLAGS
1518               C compiler flags for GMODULE, overriding pkg-config
1519   GMODULE_LIBS
1520               linker flags for GMODULE, overriding pkg-config
1521   LIBTLM_NFC_CFLAGS
1522               C compiler flags for LIBTLM_NFC, overriding pkg-config
1523   LIBTLM_NFC_LIBS
1524               linker flags for LIBTLM_NFC, overriding pkg-config
1525   CHECK_CFLAGS
1526               C compiler flags for CHECK, overriding pkg-config
1527   CHECK_LIBS  linker flags for CHECK, overriding pkg-config
1528   ELEMENTARY_CFLAGS
1529               C compiler flags for ELEMENTARY, overriding pkg-config
1530   ELEMENTARY_LIBS
1531               linker flags for ELEMENTARY, overriding pkg-config
1532   LIBGUM_CFLAGS
1533               C compiler flags for LIBGUM, overriding pkg-config
1534   LIBGUM_LIBS linker flags for LIBGUM, overriding pkg-config
1535
1536 Use these variables to override the choices made by `configure' or to help
1537 it to find libraries and programs with nonstandard names/locations.
1538
1539 Report bugs to the package provider.
1540 _ACEOF
1541 ac_status=$?
1542 fi
1543
1544 if test "$ac_init_help" = "recursive"; then
1545   # If there are subdirs, report their specific --help.
1546   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1547     test -d "$ac_dir" ||
1548       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1549       continue
1550     ac_builddir=.
1551
1552 case "$ac_dir" in
1553 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1554 *)
1555   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1556   # A ".." for each directory in $ac_dir_suffix.
1557   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1558   case $ac_top_builddir_sub in
1559   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1560   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1561   esac ;;
1562 esac
1563 ac_abs_top_builddir=$ac_pwd
1564 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1565 # for backward compatibility:
1566 ac_top_builddir=$ac_top_build_prefix
1567
1568 case $srcdir in
1569   .)  # We are building in place.
1570     ac_srcdir=.
1571     ac_top_srcdir=$ac_top_builddir_sub
1572     ac_abs_top_srcdir=$ac_pwd ;;
1573   [\\/]* | ?:[\\/]* )  # Absolute name.
1574     ac_srcdir=$srcdir$ac_dir_suffix;
1575     ac_top_srcdir=$srcdir
1576     ac_abs_top_srcdir=$srcdir ;;
1577   *) # Relative name.
1578     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1579     ac_top_srcdir=$ac_top_build_prefix$srcdir
1580     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1581 esac
1582 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1583
1584     cd "$ac_dir" || { ac_status=$?; continue; }
1585     # Check for guested configure.
1586     if test -f "$ac_srcdir/configure.gnu"; then
1587       echo &&
1588       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1589     elif test -f "$ac_srcdir/configure"; then
1590       echo &&
1591       $SHELL "$ac_srcdir/configure" --help=recursive
1592     else
1593       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1594     fi || ac_status=$?
1595     cd "$ac_pwd" || { ac_status=$?; break; }
1596   done
1597 fi
1598
1599 test -n "$ac_init_help" && exit $ac_status
1600 if $ac_init_version; then
1601   cat <<\_ACEOF
1602 tlm configure 0.0.2
1603 generated by GNU Autoconf 2.69
1604
1605 Copyright (C) 2012 Free Software Foundation, Inc.
1606 This configure script is free software; the Free Software Foundation
1607 gives unlimited permission to copy, distribute and modify it.
1608 _ACEOF
1609   exit
1610 fi
1611
1612 ## ------------------------ ##
1613 ## Autoconf initialization. ##
1614 ## ------------------------ ##
1615
1616 # ac_fn_c_try_compile LINENO
1617 # --------------------------
1618 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1619 ac_fn_c_try_compile ()
1620 {
1621   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1622   rm -f conftest.$ac_objext
1623   if { { ac_try="$ac_compile"
1624 case "(($ac_try" in
1625   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1626   *) ac_try_echo=$ac_try;;
1627 esac
1628 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1629 $as_echo "$ac_try_echo"; } >&5
1630   (eval "$ac_compile") 2>conftest.err
1631   ac_status=$?
1632   if test -s conftest.err; then
1633     grep -v '^ *+' conftest.err >conftest.er1
1634     cat conftest.er1 >&5
1635     mv -f conftest.er1 conftest.err
1636   fi
1637   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1638   test $ac_status = 0; } && {
1639          test -z "$ac_c_werror_flag" ||
1640          test ! -s conftest.err
1641        } && test -s conftest.$ac_objext; then :
1642   ac_retval=0
1643 else
1644   $as_echo "$as_me: failed program was:" >&5
1645 sed 's/^/| /' conftest.$ac_ext >&5
1646
1647         ac_retval=1
1648 fi
1649   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1650   as_fn_set_status $ac_retval
1651
1652 } # ac_fn_c_try_compile
1653
1654 # ac_fn_c_try_link LINENO
1655 # -----------------------
1656 # Try to link conftest.$ac_ext, and return whether this succeeded.
1657 ac_fn_c_try_link ()
1658 {
1659   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1660   rm -f conftest.$ac_objext conftest$ac_exeext
1661   if { { ac_try="$ac_link"
1662 case "(($ac_try" in
1663   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1664   *) ac_try_echo=$ac_try;;
1665 esac
1666 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1667 $as_echo "$ac_try_echo"; } >&5
1668   (eval "$ac_link") 2>conftest.err
1669   ac_status=$?
1670   if test -s conftest.err; then
1671     grep -v '^ *+' conftest.err >conftest.er1
1672     cat conftest.er1 >&5
1673     mv -f conftest.er1 conftest.err
1674   fi
1675   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1676   test $ac_status = 0; } && {
1677          test -z "$ac_c_werror_flag" ||
1678          test ! -s conftest.err
1679        } && test -s conftest$ac_exeext && {
1680          test "$cross_compiling" = yes ||
1681          test -x conftest$ac_exeext
1682        }; then :
1683   ac_retval=0
1684 else
1685   $as_echo "$as_me: failed program was:" >&5
1686 sed 's/^/| /' conftest.$ac_ext >&5
1687
1688         ac_retval=1
1689 fi
1690   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1691   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1692   # interfere with the next link command; also delete a directory that is
1693   # left behind by Apple's compiler.  We do this before executing the actions.
1694   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1695   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1696   as_fn_set_status $ac_retval
1697
1698 } # ac_fn_c_try_link
1699
1700 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1701 # -------------------------------------------------------
1702 # Tests whether HEADER exists and can be compiled using the include files in
1703 # INCLUDES, setting the cache variable VAR accordingly.
1704 ac_fn_c_check_header_compile ()
1705 {
1706   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1707   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1708 $as_echo_n "checking for $2... " >&6; }
1709 if eval \${$3+:} false; then :
1710   $as_echo_n "(cached) " >&6
1711 else
1712   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1713 /* end confdefs.h.  */
1714 $4
1715 #include <$2>
1716 _ACEOF
1717 if ac_fn_c_try_compile "$LINENO"; then :
1718   eval "$3=yes"
1719 else
1720   eval "$3=no"
1721 fi
1722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1723 fi
1724 eval ac_res=\$$3
1725                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1726 $as_echo "$ac_res" >&6; }
1727   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1728
1729 } # ac_fn_c_check_header_compile
1730
1731 # ac_fn_c_try_cpp LINENO
1732 # ----------------------
1733 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1734 ac_fn_c_try_cpp ()
1735 {
1736   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1737   if { { ac_try="$ac_cpp conftest.$ac_ext"
1738 case "(($ac_try" in
1739   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1740   *) ac_try_echo=$ac_try;;
1741 esac
1742 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1743 $as_echo "$ac_try_echo"; } >&5
1744   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1745   ac_status=$?
1746   if test -s conftest.err; then
1747     grep -v '^ *+' conftest.err >conftest.er1
1748     cat conftest.er1 >&5
1749     mv -f conftest.er1 conftest.err
1750   fi
1751   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1752   test $ac_status = 0; } > conftest.i && {
1753          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1754          test ! -s conftest.err
1755        }; then :
1756   ac_retval=0
1757 else
1758   $as_echo "$as_me: failed program was:" >&5
1759 sed 's/^/| /' conftest.$ac_ext >&5
1760
1761     ac_retval=1
1762 fi
1763   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1764   as_fn_set_status $ac_retval
1765
1766 } # ac_fn_c_try_cpp
1767
1768 # ac_fn_c_try_run LINENO
1769 # ----------------------
1770 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1771 # that executables *can* be run.
1772 ac_fn_c_try_run ()
1773 {
1774   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1775   if { { ac_try="$ac_link"
1776 case "(($ac_try" in
1777   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1778   *) ac_try_echo=$ac_try;;
1779 esac
1780 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1781 $as_echo "$ac_try_echo"; } >&5
1782   (eval "$ac_link") 2>&5
1783   ac_status=$?
1784   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1785   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1786   { { case "(($ac_try" in
1787   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1788   *) ac_try_echo=$ac_try;;
1789 esac
1790 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1791 $as_echo "$ac_try_echo"; } >&5
1792   (eval "$ac_try") 2>&5
1793   ac_status=$?
1794   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1795   test $ac_status = 0; }; }; then :
1796   ac_retval=0
1797 else
1798   $as_echo "$as_me: program exited with status $ac_status" >&5
1799        $as_echo "$as_me: failed program was:" >&5
1800 sed 's/^/| /' conftest.$ac_ext >&5
1801
1802        ac_retval=$ac_status
1803 fi
1804   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1805   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1806   as_fn_set_status $ac_retval
1807
1808 } # ac_fn_c_try_run
1809
1810 # ac_fn_c_check_func LINENO FUNC VAR
1811 # ----------------------------------
1812 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1813 ac_fn_c_check_func ()
1814 {
1815   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1816   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1817 $as_echo_n "checking for $2... " >&6; }
1818 if eval \${$3+:} false; then :
1819   $as_echo_n "(cached) " >&6
1820 else
1821   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1822 /* end confdefs.h.  */
1823 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1824    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1825 #define $2 innocuous_$2
1826
1827 /* System header to define __stub macros and hopefully few prototypes,
1828     which can conflict with char $2 (); below.
1829     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1830     <limits.h> exists even on freestanding compilers.  */
1831
1832 #ifdef __STDC__
1833 # include <limits.h>
1834 #else
1835 # include <assert.h>
1836 #endif
1837
1838 #undef $2
1839
1840 /* Override any GCC internal prototype to avoid an error.
1841    Use char because int might match the return type of a GCC
1842    builtin and then its argument prototype would still apply.  */
1843 #ifdef __cplusplus
1844 extern "C"
1845 #endif
1846 char $2 ();
1847 /* The GNU C library defines this for functions which it implements
1848     to always fail with ENOSYS.  Some functions are actually named
1849     something starting with __ and the normal name is an alias.  */
1850 #if defined __stub_$2 || defined __stub___$2
1851 choke me
1852 #endif
1853
1854 int
1855 main ()
1856 {
1857 return $2 ();
1858   ;
1859   return 0;
1860 }
1861 _ACEOF
1862 if ac_fn_c_try_link "$LINENO"; then :
1863   eval "$3=yes"
1864 else
1865   eval "$3=no"
1866 fi
1867 rm -f core conftest.err conftest.$ac_objext \
1868     conftest$ac_exeext conftest.$ac_ext
1869 fi
1870 eval ac_res=\$$3
1871                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1872 $as_echo "$ac_res" >&6; }
1873   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1874
1875 } # ac_fn_c_check_func
1876
1877 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1878 # -------------------------------------------------------
1879 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1880 # the include files in INCLUDES and setting the cache variable VAR
1881 # accordingly.
1882 ac_fn_c_check_header_mongrel ()
1883 {
1884   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1885   if eval \${$3+:} false; then :
1886   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1887 $as_echo_n "checking for $2... " >&6; }
1888 if eval \${$3+:} false; then :
1889   $as_echo_n "(cached) " >&6
1890 fi
1891 eval ac_res=\$$3
1892                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1893 $as_echo "$ac_res" >&6; }
1894 else
1895   # Is the header compilable?
1896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1897 $as_echo_n "checking $2 usability... " >&6; }
1898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1899 /* end confdefs.h.  */
1900 $4
1901 #include <$2>
1902 _ACEOF
1903 if ac_fn_c_try_compile "$LINENO"; then :
1904   ac_header_compiler=yes
1905 else
1906   ac_header_compiler=no
1907 fi
1908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1910 $as_echo "$ac_header_compiler" >&6; }
1911
1912 # Is the header present?
1913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1914 $as_echo_n "checking $2 presence... " >&6; }
1915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1916 /* end confdefs.h.  */
1917 #include <$2>
1918 _ACEOF
1919 if ac_fn_c_try_cpp "$LINENO"; then :
1920   ac_header_preproc=yes
1921 else
1922   ac_header_preproc=no
1923 fi
1924 rm -f conftest.err conftest.i conftest.$ac_ext
1925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1926 $as_echo "$ac_header_preproc" >&6; }
1927
1928 # So?  What about this header?
1929 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1930   yes:no: )
1931     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1932 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1933     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1934 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1935     ;;
1936   no:yes:* )
1937     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1938 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1939     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1940 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1941     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1942 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1943     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1944 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1945     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1946 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1947     ;;
1948 esac
1949   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1950 $as_echo_n "checking for $2... " >&6; }
1951 if eval \${$3+:} false; then :
1952   $as_echo_n "(cached) " >&6
1953 else
1954   eval "$3=\$ac_header_compiler"
1955 fi
1956 eval ac_res=\$$3
1957                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1958 $as_echo "$ac_res" >&6; }
1959 fi
1960   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1961
1962 } # ac_fn_c_check_header_mongrel
1963 cat >config.log <<_ACEOF
1964 This file contains any messages produced by compilers while
1965 running configure, to aid debugging if configure makes a mistake.
1966
1967 It was created by tlm $as_me 0.0.2, which was
1968 generated by GNU Autoconf 2.69.  Invocation command line was
1969
1970   $ $0 $@
1971
1972 _ACEOF
1973 exec 5>>config.log
1974 {
1975 cat <<_ASUNAME
1976 ## --------- ##
1977 ## Platform. ##
1978 ## --------- ##
1979
1980 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1981 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1982 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1983 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1984 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1985
1986 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1987 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1988
1989 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1990 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1991 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1992 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1993 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1994 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1995 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1996
1997 _ASUNAME
1998
1999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2000 for as_dir in $PATH
2001 do
2002   IFS=$as_save_IFS
2003   test -z "$as_dir" && as_dir=.
2004     $as_echo "PATH: $as_dir"
2005   done
2006 IFS=$as_save_IFS
2007
2008 } >&5
2009
2010 cat >&5 <<_ACEOF
2011
2012
2013 ## ----------- ##
2014 ## Core tests. ##
2015 ## ----------- ##
2016
2017 _ACEOF
2018
2019
2020 # Keep a trace of the command line.
2021 # Strip out --no-create and --no-recursion so they do not pile up.
2022 # Strip out --silent because we don't want to record it for future runs.
2023 # Also quote any args containing shell meta-characters.
2024 # Make two passes to allow for proper duplicate-argument suppression.
2025 ac_configure_args=
2026 ac_configure_args0=
2027 ac_configure_args1=
2028 ac_must_keep_next=false
2029 for ac_pass in 1 2
2030 do
2031   for ac_arg
2032   do
2033     case $ac_arg in
2034     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2035     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2036     | -silent | --silent | --silen | --sile | --sil)
2037       continue ;;
2038     *\'*)
2039       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2040     esac
2041     case $ac_pass in
2042     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2043     2)
2044       as_fn_append ac_configure_args1 " '$ac_arg'"
2045       if test $ac_must_keep_next = true; then
2046         ac_must_keep_next=false # Got value, back to normal.
2047       else
2048         case $ac_arg in
2049           *=* | --config-cache | -C | -disable-* | --disable-* \
2050           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2051           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2052           | -with-* | --with-* | -without-* | --without-* | --x)
2053             case "$ac_configure_args0 " in
2054               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2055             esac
2056             ;;
2057           -* ) ac_must_keep_next=true ;;
2058         esac
2059       fi
2060       as_fn_append ac_configure_args " '$ac_arg'"
2061       ;;
2062     esac
2063   done
2064 done
2065 { ac_configure_args0=; unset ac_configure_args0;}
2066 { ac_configure_args1=; unset ac_configure_args1;}
2067
2068 # When interrupted or exit'd, cleanup temporary files, and complete
2069 # config.log.  We remove comments because anyway the quotes in there
2070 # would cause problems or look ugly.
2071 # WARNING: Use '\'' to represent an apostrophe within the trap.
2072 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2073 trap 'exit_status=$?
2074   # Save into config.log some information that might help in debugging.
2075   {
2076     echo
2077
2078     $as_echo "## ---------------- ##
2079 ## Cache variables. ##
2080 ## ---------------- ##"
2081     echo
2082     # The following way of writing the cache mishandles newlines in values,
2083 (
2084   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2085     eval ac_val=\$$ac_var
2086     case $ac_val in #(
2087     *${as_nl}*)
2088       case $ac_var in #(
2089       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2090 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2091       esac
2092       case $ac_var in #(
2093       _ | IFS | as_nl) ;; #(
2094       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2095       *) { eval $ac_var=; unset $ac_var;} ;;
2096       esac ;;
2097     esac
2098   done
2099   (set) 2>&1 |
2100     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2101     *${as_nl}ac_space=\ *)
2102       sed -n \
2103         "s/'\''/'\''\\\\'\'''\''/g;
2104           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2105       ;; #(
2106     *)
2107       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2108       ;;
2109     esac |
2110     sort
2111 )
2112     echo
2113
2114     $as_echo "## ----------------- ##
2115 ## Output variables. ##
2116 ## ----------------- ##"
2117     echo
2118     for ac_var in $ac_subst_vars
2119     do
2120       eval ac_val=\$$ac_var
2121       case $ac_val in
2122       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2123       esac
2124       $as_echo "$ac_var='\''$ac_val'\''"
2125     done | sort
2126     echo
2127
2128     if test -n "$ac_subst_files"; then
2129       $as_echo "## ------------------- ##
2130 ## File substitutions. ##
2131 ## ------------------- ##"
2132       echo
2133       for ac_var in $ac_subst_files
2134       do
2135         eval ac_val=\$$ac_var
2136         case $ac_val in
2137         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2138         esac
2139         $as_echo "$ac_var='\''$ac_val'\''"
2140       done | sort
2141       echo
2142     fi
2143
2144     if test -s confdefs.h; then
2145       $as_echo "## ----------- ##
2146 ## confdefs.h. ##
2147 ## ----------- ##"
2148       echo
2149       cat confdefs.h
2150       echo
2151     fi
2152     test "$ac_signal" != 0 &&
2153       $as_echo "$as_me: caught signal $ac_signal"
2154     $as_echo "$as_me: exit $exit_status"
2155   } >&5
2156   rm -f core *.core core.conftest.* &&
2157     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2158     exit $exit_status
2159 ' 0
2160 for ac_signal in 1 2 13 15; do
2161   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2162 done
2163 ac_signal=0
2164
2165 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2166 rm -f -r conftest* confdefs.h
2167
2168 $as_echo "/* confdefs.h */" > confdefs.h
2169
2170 # Predefined preprocessor variables.
2171
2172 cat >>confdefs.h <<_ACEOF
2173 #define PACKAGE_NAME "$PACKAGE_NAME"
2174 _ACEOF
2175
2176 cat >>confdefs.h <<_ACEOF
2177 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2178 _ACEOF
2179
2180 cat >>confdefs.h <<_ACEOF
2181 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2182 _ACEOF
2183
2184 cat >>confdefs.h <<_ACEOF
2185 #define PACKAGE_STRING "$PACKAGE_STRING"
2186 _ACEOF
2187
2188 cat >>confdefs.h <<_ACEOF
2189 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2190 _ACEOF
2191
2192 cat >>confdefs.h <<_ACEOF
2193 #define PACKAGE_URL "$PACKAGE_URL"
2194 _ACEOF
2195
2196
2197 # Let the site file select an alternate cache file if it wants to.
2198 # Prefer an explicitly selected file to automatically selected ones.
2199 ac_site_file1=NONE
2200 ac_site_file2=NONE
2201 if test -n "$CONFIG_SITE"; then
2202   # We do not want a PATH search for config.site.
2203   case $CONFIG_SITE in #((
2204     -*)  ac_site_file1=./$CONFIG_SITE;;
2205     */*) ac_site_file1=$CONFIG_SITE;;
2206     *)   ac_site_file1=./$CONFIG_SITE;;
2207   esac
2208 elif test "x$prefix" != xNONE; then
2209   ac_site_file1=$prefix/share/config.site
2210   ac_site_file2=$prefix/etc/config.site
2211 else
2212   ac_site_file1=$ac_default_prefix/share/config.site
2213   ac_site_file2=$ac_default_prefix/etc/config.site
2214 fi
2215 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2216 do
2217   test "x$ac_site_file" = xNONE && continue
2218   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2219     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2220 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2221     sed 's/^/| /' "$ac_site_file" >&5
2222     . "$ac_site_file" \
2223       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2224 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2225 as_fn_error $? "failed to load site script $ac_site_file
2226 See \`config.log' for more details" "$LINENO" 5; }
2227   fi
2228 done
2229
2230 if test -r "$cache_file"; then
2231   # Some versions of bash will fail to source /dev/null (special files
2232   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2233   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2234     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2235 $as_echo "$as_me: loading cache $cache_file" >&6;}
2236     case $cache_file in
2237       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2238       *)                      . "./$cache_file";;
2239     esac
2240   fi
2241 else
2242   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2243 $as_echo "$as_me: creating cache $cache_file" >&6;}
2244   >$cache_file
2245 fi
2246
2247 # Check that the precious variables saved in the cache have kept the same
2248 # value.
2249 ac_cache_corrupted=false
2250 for ac_var in $ac_precious_vars; do
2251   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2252   eval ac_new_set=\$ac_env_${ac_var}_set
2253   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2254   eval ac_new_val=\$ac_env_${ac_var}_value
2255   case $ac_old_set,$ac_new_set in
2256     set,)
2257       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2258 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2259       ac_cache_corrupted=: ;;
2260     ,set)
2261       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2262 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2263       ac_cache_corrupted=: ;;
2264     ,);;
2265     *)
2266       if test "x$ac_old_val" != "x$ac_new_val"; then
2267         # differences in whitespace do not lead to failure.
2268         ac_old_val_w=`echo x $ac_old_val`
2269         ac_new_val_w=`echo x $ac_new_val`
2270         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2271           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2272 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2273           ac_cache_corrupted=:
2274         else
2275           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2276 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2277           eval $ac_var=\$ac_old_val
2278         fi
2279         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2280 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2281         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2282 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2283       fi;;
2284   esac
2285   # Pass precious variables to config.status.
2286   if test "$ac_new_set" = set; then
2287     case $ac_new_val in
2288     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2289     *) ac_arg=$ac_var=$ac_new_val ;;
2290     esac
2291     case " $ac_configure_args " in
2292       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2293       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2294     esac
2295   fi
2296 done
2297 if $ac_cache_corrupted; then
2298   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2299 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2300   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2301 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2302   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2303 fi
2304 ## -------------------- ##
2305 ## Main body of script. ##
2306 ## -------------------- ##
2307
2308 ac_ext=c
2309 ac_cpp='$CPP $CPPFLAGS'
2310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2313
2314
2315
2316 ac_config_headers="$ac_config_headers config.h"
2317
2318
2319
2320 am__api_version='1.14'
2321
2322 ac_aux_dir=
2323 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2324   if test -f "$ac_dir/install-sh"; then
2325     ac_aux_dir=$ac_dir
2326     ac_install_sh="$ac_aux_dir/install-sh -c"
2327     break
2328   elif test -f "$ac_dir/install.sh"; then
2329     ac_aux_dir=$ac_dir
2330     ac_install_sh="$ac_aux_dir/install.sh -c"
2331     break
2332   elif test -f "$ac_dir/shtool"; then
2333     ac_aux_dir=$ac_dir
2334     ac_install_sh="$ac_aux_dir/shtool install -c"
2335     break
2336   fi
2337 done
2338 if test -z "$ac_aux_dir"; then
2339   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2340 fi
2341
2342 # These three variables are undocumented and unsupported,
2343 # and are intended to be withdrawn in a future Autoconf release.
2344 # They can cause serious problems if a builder's source tree is in a directory
2345 # whose full name contains unusual characters.
2346 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2347 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2348 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2349
2350
2351 # Find a good install program.  We prefer a C program (faster),
2352 # so one script is as good as another.  But avoid the broken or
2353 # incompatible versions:
2354 # SysV /etc/install, /usr/sbin/install
2355 # SunOS /usr/etc/install
2356 # IRIX /sbin/install
2357 # AIX /bin/install
2358 # AmigaOS /C/install, which installs bootblocks on floppy discs
2359 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2360 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2361 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2362 # OS/2's system install, which has a completely different semantic
2363 # ./install, which can be erroneously created by make from ./install.sh.
2364 # Reject install programs that cannot install multiple files.
2365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2366 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2367 if test -z "$INSTALL"; then
2368 if ${ac_cv_path_install+:} false; then :
2369   $as_echo_n "(cached) " >&6
2370 else
2371   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2372 for as_dir in $PATH
2373 do
2374   IFS=$as_save_IFS
2375   test -z "$as_dir" && as_dir=.
2376     # Account for people who put trailing slashes in PATH elements.
2377 case $as_dir/ in #((
2378   ./ | .// | /[cC]/* | \
2379   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2380   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2381   /usr/ucb/* ) ;;
2382   *)
2383     # OSF1 and SCO ODT 3.0 have their own names for install.
2384     # Don't use installbsd from OSF since it installs stuff as root
2385     # by default.
2386     for ac_prog in ginstall scoinst install; do
2387       for ac_exec_ext in '' $ac_executable_extensions; do
2388         if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2389           if test $ac_prog = install &&
2390             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2391             # AIX install.  It has an incompatible calling convention.
2392             :
2393           elif test $ac_prog = install &&
2394             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2395             # program-specific install script used by HP pwplus--don't use.
2396             :
2397           else
2398             rm -rf conftest.one conftest.two conftest.dir
2399             echo one > conftest.one
2400             echo two > conftest.two
2401             mkdir conftest.dir
2402             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2403               test -s conftest.one && test -s conftest.two &&
2404               test -s conftest.dir/conftest.one &&
2405               test -s conftest.dir/conftest.two
2406             then
2407               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2408               break 3
2409             fi
2410           fi
2411         fi
2412       done
2413     done
2414     ;;
2415 esac
2416
2417   done
2418 IFS=$as_save_IFS
2419
2420 rm -rf conftest.one conftest.two conftest.dir
2421
2422 fi
2423   if test "${ac_cv_path_install+set}" = set; then
2424     INSTALL=$ac_cv_path_install
2425   else
2426     # As a last resort, use the slow shell script.  Don't cache a
2427     # value for INSTALL within a source directory, because that will
2428     # break other packages using the cache if that directory is
2429     # removed, or if the value is a relative name.
2430     INSTALL=$ac_install_sh
2431   fi
2432 fi
2433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2434 $as_echo "$INSTALL" >&6; }
2435
2436 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2437 # It thinks the first close brace ends the variable substitution.
2438 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2439
2440 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2441
2442 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2443
2444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2445 $as_echo_n "checking whether build environment is sane... " >&6; }
2446 # Reject unsafe characters in $srcdir or the absolute working directory
2447 # name.  Accept space and tab only in the latter.
2448 am_lf='
2449 '
2450 case `pwd` in
2451   *[\\\"\#\$\&\'\`$am_lf]*)
2452     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2453 esac
2454 case $srcdir in
2455   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2456     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2457 esac
2458
2459 # Do 'set' in a subshell so we don't clobber the current shell's
2460 # arguments.  Must try -L first in case configure is actually a
2461 # symlink; some systems play weird games with the mod time of symlinks
2462 # (eg FreeBSD returns the mod time of the symlink's containing
2463 # directory).
2464 if (
2465    am_has_slept=no
2466    for am_try in 1 2; do
2467      echo "timestamp, slept: $am_has_slept" > conftest.file
2468      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2469      if test "$*" = "X"; then
2470         # -L didn't work.
2471         set X `ls -t "$srcdir/configure" conftest.file`
2472      fi
2473      if test "$*" != "X $srcdir/configure conftest.file" \
2474         && test "$*" != "X conftest.file $srcdir/configure"; then
2475
2476         # If neither matched, then we have a broken ls.  This can happen
2477         # if, for instance, CONFIG_SHELL is bash and it inherits a
2478         # broken ls alias from the environment.  This has actually
2479         # happened.  Such a system could not be considered "sane".
2480         as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2481   alias in your environment" "$LINENO" 5
2482      fi
2483      if test "$2" = conftest.file || test $am_try -eq 2; then
2484        break
2485      fi
2486      # Just in case.
2487      sleep 1
2488      am_has_slept=yes
2489    done
2490    test "$2" = conftest.file
2491    )
2492 then
2493    # Ok.
2494    :
2495 else
2496    as_fn_error $? "newly created file is older than distributed files!
2497 Check your system clock" "$LINENO" 5
2498 fi
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2500 $as_echo "yes" >&6; }
2501 # If we didn't sleep, we still need to ensure time stamps of config.status and
2502 # generated files are strictly newer.
2503 am_sleep_pid=
2504 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2505   ( sleep 1 ) &
2506   am_sleep_pid=$!
2507 fi
2508
2509 rm -f conftest.file
2510
2511 test "$program_prefix" != NONE &&
2512   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2513 # Use a double $ so make ignores it.
2514 test "$program_suffix" != NONE &&
2515   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2516 # Double any \ or $.
2517 # By default was `s,x,x', remove it if useless.
2518 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2519 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2520
2521 # expand $ac_aux_dir to an absolute path
2522 am_aux_dir=`cd $ac_aux_dir && pwd`
2523
2524 if test x"${MISSING+set}" != xset; then
2525   case $am_aux_dir in
2526   *\ * | *\     *)
2527     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2528   *)
2529     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2530   esac
2531 fi
2532 # Use eval to expand $SHELL
2533 if eval "$MISSING --is-lightweight"; then
2534   am_missing_run="$MISSING "
2535 else
2536   am_missing_run=
2537   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2538 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2539 fi
2540
2541 if test x"${install_sh}" != xset; then
2542   case $am_aux_dir in
2543   *\ * | *\     *)
2544     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2545   *)
2546     install_sh="\${SHELL} $am_aux_dir/install-sh"
2547   esac
2548 fi
2549
2550 # Installed binaries are usually stripped using 'strip' when the user
2551 # run "make install-strip".  However 'strip' might not be the right
2552 # tool to use in cross-compilation environments, therefore Automake
2553 # will honor the 'STRIP' environment variable to overrule this program.
2554 if test "$cross_compiling" != no; then
2555   if test -n "$ac_tool_prefix"; then
2556   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2557 set dummy ${ac_tool_prefix}strip; ac_word=$2
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2559 $as_echo_n "checking for $ac_word... " >&6; }
2560 if ${ac_cv_prog_STRIP+:} false; then :
2561   $as_echo_n "(cached) " >&6
2562 else
2563   if test -n "$STRIP"; then
2564   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2565 else
2566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2567 for as_dir in $PATH
2568 do
2569   IFS=$as_save_IFS
2570   test -z "$as_dir" && as_dir=.
2571     for ac_exec_ext in '' $ac_executable_extensions; do
2572   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2573     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2574     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2575     break 2
2576   fi
2577 done
2578   done
2579 IFS=$as_save_IFS
2580
2581 fi
2582 fi
2583 STRIP=$ac_cv_prog_STRIP
2584 if test -n "$STRIP"; then
2585   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2586 $as_echo "$STRIP" >&6; }
2587 else
2588   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2589 $as_echo "no" >&6; }
2590 fi
2591
2592
2593 fi
2594 if test -z "$ac_cv_prog_STRIP"; then
2595   ac_ct_STRIP=$STRIP
2596   # Extract the first word of "strip", so it can be a program name with args.
2597 set dummy strip; ac_word=$2
2598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2599 $as_echo_n "checking for $ac_word... " >&6; }
2600 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2601   $as_echo_n "(cached) " >&6
2602 else
2603   if test -n "$ac_ct_STRIP"; then
2604   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2605 else
2606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2607 for as_dir in $PATH
2608 do
2609   IFS=$as_save_IFS
2610   test -z "$as_dir" && as_dir=.
2611     for ac_exec_ext in '' $ac_executable_extensions; do
2612   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2613     ac_cv_prog_ac_ct_STRIP="strip"
2614     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2615     break 2
2616   fi
2617 done
2618   done
2619 IFS=$as_save_IFS
2620
2621 fi
2622 fi
2623 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2624 if test -n "$ac_ct_STRIP"; then
2625   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2626 $as_echo "$ac_ct_STRIP" >&6; }
2627 else
2628   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2629 $as_echo "no" >&6; }
2630 fi
2631
2632   if test "x$ac_ct_STRIP" = x; then
2633     STRIP=":"
2634   else
2635     case $cross_compiling:$ac_tool_warned in
2636 yes:)
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2638 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2639 ac_tool_warned=yes ;;
2640 esac
2641     STRIP=$ac_ct_STRIP
2642   fi
2643 else
2644   STRIP="$ac_cv_prog_STRIP"
2645 fi
2646
2647 fi
2648 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2649
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2651 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2652 if test -z "$MKDIR_P"; then
2653   if ${ac_cv_path_mkdir+:} false; then :
2654   $as_echo_n "(cached) " >&6
2655 else
2656   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2657 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2658 do
2659   IFS=$as_save_IFS
2660   test -z "$as_dir" && as_dir=.
2661     for ac_prog in mkdir gmkdir; do
2662          for ac_exec_ext in '' $ac_executable_extensions; do
2663            as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2664            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2665              'mkdir (GNU coreutils) '* | \
2666              'mkdir (coreutils) '* | \
2667              'mkdir (fileutils) '4.1*)
2668                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2669                break 3;;
2670            esac
2671          done
2672        done
2673   done
2674 IFS=$as_save_IFS
2675
2676 fi
2677
2678   test -d ./--version && rmdir ./--version
2679   if test "${ac_cv_path_mkdir+set}" = set; then
2680     MKDIR_P="$ac_cv_path_mkdir -p"
2681   else
2682     # As a last resort, use the slow shell script.  Don't cache a
2683     # value for MKDIR_P within a source directory, because that will
2684     # break other packages using the cache if that directory is
2685     # removed, or if the value is a relative name.
2686     MKDIR_P="$ac_install_sh -d"
2687   fi
2688 fi
2689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2690 $as_echo "$MKDIR_P" >&6; }
2691
2692 for ac_prog in gawk mawk nawk awk
2693 do
2694   # Extract the first word of "$ac_prog", so it can be a program name with args.
2695 set dummy $ac_prog; ac_word=$2
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2697 $as_echo_n "checking for $ac_word... " >&6; }
2698 if ${ac_cv_prog_AWK+:} false; then :
2699   $as_echo_n "(cached) " >&6
2700 else
2701   if test -n "$AWK"; then
2702   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2703 else
2704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2705 for as_dir in $PATH
2706 do
2707   IFS=$as_save_IFS
2708   test -z "$as_dir" && as_dir=.
2709     for ac_exec_ext in '' $ac_executable_extensions; do
2710   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2711     ac_cv_prog_AWK="$ac_prog"
2712     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2713     break 2
2714   fi
2715 done
2716   done
2717 IFS=$as_save_IFS
2718
2719 fi
2720 fi
2721 AWK=$ac_cv_prog_AWK
2722 if test -n "$AWK"; then
2723   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2724 $as_echo "$AWK" >&6; }
2725 else
2726   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2727 $as_echo "no" >&6; }
2728 fi
2729
2730
2731   test -n "$AWK" && break
2732 done
2733
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2735 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2736 set x ${MAKE-make}
2737 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2738 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2739   $as_echo_n "(cached) " >&6
2740 else
2741   cat >conftest.make <<\_ACEOF
2742 SHELL = /bin/sh
2743 all:
2744         @echo '@@@%%%=$(MAKE)=@@@%%%'
2745 _ACEOF
2746 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2747 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2748   *@@@%%%=?*=@@@%%%*)
2749     eval ac_cv_prog_make_${ac_make}_set=yes;;
2750   *)
2751     eval ac_cv_prog_make_${ac_make}_set=no;;
2752 esac
2753 rm -f conftest.make
2754 fi
2755 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2756   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2757 $as_echo "yes" >&6; }
2758   SET_MAKE=
2759 else
2760   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2761 $as_echo "no" >&6; }
2762   SET_MAKE="MAKE=${MAKE-make}"
2763 fi
2764
2765 rm -rf .tst 2>/dev/null
2766 mkdir .tst 2>/dev/null
2767 if test -d .tst; then
2768   am__leading_dot=.
2769 else
2770   am__leading_dot=_
2771 fi
2772 rmdir .tst 2>/dev/null
2773
2774 # Check whether --enable-silent-rules was given.
2775 if test "${enable_silent_rules+set}" = set; then :
2776   enableval=$enable_silent_rules;
2777 fi
2778
2779 case $enable_silent_rules in # (((
2780   yes) AM_DEFAULT_VERBOSITY=0;;
2781    no) AM_DEFAULT_VERBOSITY=1;;
2782     *) AM_DEFAULT_VERBOSITY=1;;
2783 esac
2784 am_make=${MAKE-make}
2785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2786 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2787 if ${am_cv_make_support_nested_variables+:} false; then :
2788   $as_echo_n "(cached) " >&6
2789 else
2790   if $as_echo 'TRUE=$(BAR$(V))
2791 BAR0=false
2792 BAR1=true
2793 V=1
2794 am__doit:
2795         @$(TRUE)
2796 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2797   am_cv_make_support_nested_variables=yes
2798 else
2799   am_cv_make_support_nested_variables=no
2800 fi
2801 fi
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2803 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2804 if test $am_cv_make_support_nested_variables = yes; then
2805     AM_V='$(V)'
2806   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2807 else
2808   AM_V=$AM_DEFAULT_VERBOSITY
2809   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2810 fi
2811 AM_BACKSLASH='\'
2812
2813 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2814   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2815   # is not polluted with repeated "-I."
2816   am__isrc=' -I$(srcdir)'
2817   # test to see if srcdir already configured
2818   if test -f $srcdir/config.status; then
2819     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2820   fi
2821 fi
2822
2823 # test whether we have cygpath
2824 if test -z "$CYGPATH_W"; then
2825   if (cygpath --version) >/dev/null 2>/dev/null; then
2826     CYGPATH_W='cygpath -w'
2827   else
2828     CYGPATH_W=echo
2829   fi
2830 fi
2831
2832
2833 # Define the identity of the package.
2834  PACKAGE='tlm'
2835  VERSION='0.0.2'
2836
2837
2838 cat >>confdefs.h <<_ACEOF
2839 #define PACKAGE "$PACKAGE"
2840 _ACEOF
2841
2842
2843 cat >>confdefs.h <<_ACEOF
2844 #define VERSION "$VERSION"
2845 _ACEOF
2846
2847 # Some tools Automake needs.
2848
2849 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2850
2851
2852 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2853
2854
2855 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2856
2857
2858 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2859
2860
2861 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2862
2863 # For better backward compatibility.  To be removed once Automake 1.9.x
2864 # dies out for good.  For more background, see:
2865 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2866 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2867 mkdir_p='$(MKDIR_P)'
2868
2869 # We need awk for the "check" target.  The system "awk" is bad on
2870 # some platforms.
2871 # Always define AMTAR for backward compatibility.  Yes, it's still used
2872 # in the wild :-(  We should find a proper way to deprecate it ...
2873 AMTAR='$${TAR-tar}'
2874
2875
2876 # We'll loop over all known methods to create a tar archive until one works.
2877 _am_tools='gnutar  pax cpio none'
2878
2879
2880
2881   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
2882 $as_echo_n "checking how to create a pax tar archive... " >&6; }
2883
2884   # Go ahead even if we have the value already cached.  We do so because we
2885   # need to set the values for the 'am__tar' and 'am__untar' variables.
2886   _am_tools=${am_cv_prog_tar_pax-$_am_tools}
2887
2888   for _am_tool in $_am_tools; do
2889     case $_am_tool in
2890     gnutar)
2891       for _am_tar in tar gnutar gtar; do
2892         { echo "$as_me:$LINENO: $_am_tar --version" >&5
2893    ($_am_tar --version) >&5 2>&5
2894    ac_status=$?
2895    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2896    (exit $ac_status); } && break
2897       done
2898       am__tar="$_am_tar --format=posix -chf - "'"$$tardir"'
2899       am__tar_="$_am_tar --format=posix -chf - "'"$tardir"'
2900       am__untar="$_am_tar -xf -"
2901       ;;
2902     plaintar)
2903       # Must skip GNU tar: if it does not support --format= it doesn't create
2904       # ustar tarball either.
2905       (tar --version) >/dev/null 2>&1 && continue
2906       am__tar='tar chf - "$$tardir"'
2907       am__tar_='tar chf - "$tardir"'
2908       am__untar='tar xf -'
2909       ;;
2910     pax)
2911       am__tar='pax -L -x pax -w "$$tardir"'
2912       am__tar_='pax -L -x pax -w "$tardir"'
2913       am__untar='pax -r'
2914       ;;
2915     cpio)
2916       am__tar='find "$$tardir" -print | cpio -o -H pax -L'
2917       am__tar_='find "$tardir" -print | cpio -o -H pax -L'
2918       am__untar='cpio -i -H pax -d'
2919       ;;
2920     none)
2921       am__tar=false
2922       am__tar_=false
2923       am__untar=false
2924       ;;
2925     esac
2926
2927     # If the value was cached, stop now.  We just wanted to have am__tar
2928     # and am__untar set.
2929     test -n "${am_cv_prog_tar_pax}" && break
2930
2931     # tar/untar a dummy directory, and stop if the command works.
2932     rm -rf conftest.dir
2933     mkdir conftest.dir
2934     echo GrepMe > conftest.dir/file
2935     { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2936    (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2937    ac_status=$?
2938    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2939    (exit $ac_status); }
2940     rm -rf conftest.dir
2941     if test -s conftest.tar; then
2942       { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2943    ($am__untar <conftest.tar) >&5 2>&5
2944    ac_status=$?
2945    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2946    (exit $ac_status); }
2947       { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
2948    (cat conftest.dir/file) >&5 2>&5
2949    ac_status=$?
2950    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2951    (exit $ac_status); }
2952       grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2953     fi
2954   done
2955   rm -rf conftest.dir
2956
2957   if ${am_cv_prog_tar_pax+:} false; then :
2958   $as_echo_n "(cached) " >&6
2959 else
2960   am_cv_prog_tar_pax=$_am_tool
2961 fi
2962
2963   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
2964 $as_echo "$am_cv_prog_tar_pax" >&6; }
2965
2966
2967
2968
2969
2970
2971 # POSIX will say in a future version that running "rm -f" with no argument
2972 # is OK; and we want to be able to make that assumption in our Makefile
2973 # recipes.  So use an aggressive probe to check that the usage we want is
2974 # actually supported "in the wild" to an acceptable degree.
2975 # See automake bug#10828.
2976 # To make any issue more visible, cause the running configure to be aborted
2977 # by default if the 'rm' program in use doesn't match our expectations; the
2978 # user can still override this though.
2979 if rm -f && rm -fr && rm -rf; then : OK; else
2980   cat >&2 <<'END'
2981 Oops!
2982
2983 Your 'rm' program seems unable to run without file operands specified
2984 on the command line, even when the '-f' option is present.  This is contrary
2985 to the behaviour of most rm programs out there, and not conforming with
2986 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2987
2988 Please tell bug-automake@gnu.org about your system, including the value
2989 of your $PATH and any error possibly output before this message.  This
2990 can help us improve future automake versions.
2991
2992 END
2993   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2994     echo 'Configuration will proceed anyway, since you have set the' >&2
2995     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2996     echo >&2
2997   else
2998     cat >&2 <<'END'
2999 Aborting the configuration process, to ensure you take notice of the issue.
3000
3001 You can download and install GNU coreutils to get an 'rm' implementation
3002 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3003
3004 If you want to complete the configuration process using your problematic
3005 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3006 to "yes", and re-run configure.
3007
3008 END
3009     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3010   fi
3011 fi
3012
3013
3014 #libtool
3015
3016 case `pwd` in
3017   *\ * | *\     *)
3018     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3019 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3020 esac
3021
3022
3023
3024 macro_version='2.4.2'
3025 macro_revision='1.3337'
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039 ltmain="$ac_aux_dir/ltmain.sh"
3040
3041 # Make sure we can run config.sub.
3042 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3043   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3044
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3046 $as_echo_n "checking build system type... " >&6; }
3047 if ${ac_cv_build+:} false; then :
3048   $as_echo_n "(cached) " >&6
3049 else
3050   ac_build_alias=$build_alias
3051 test "x$ac_build_alias" = x &&
3052   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3053 test "x$ac_build_alias" = x &&
3054   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3055 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3056   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3057
3058 fi
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3060 $as_echo "$ac_cv_build" >&6; }
3061 case $ac_cv_build in
3062 *-*-*) ;;
3063 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3064 esac
3065 build=$ac_cv_build
3066 ac_save_IFS=$IFS; IFS='-'
3067 set x $ac_cv_build
3068 shift
3069 build_cpu=$1
3070 build_vendor=$2
3071 shift; shift
3072 # Remember, the first character of IFS is used to create $*,
3073 # except with old shells:
3074 build_os=$*
3075 IFS=$ac_save_IFS
3076 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3077
3078
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3080 $as_echo_n "checking host system type... " >&6; }
3081 if ${ac_cv_host+:} false; then :
3082   $as_echo_n "(cached) " >&6
3083 else
3084   if test "x$host_alias" = x; then
3085   ac_cv_host=$ac_cv_build
3086 else
3087   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3088     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3089 fi
3090
3091 fi
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3093 $as_echo "$ac_cv_host" >&6; }
3094 case $ac_cv_host in
3095 *-*-*) ;;
3096 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3097 esac
3098 host=$ac_cv_host
3099 ac_save_IFS=$IFS; IFS='-'
3100 set x $ac_cv_host
3101 shift
3102 host_cpu=$1
3103 host_vendor=$2
3104 shift; shift
3105 # Remember, the first character of IFS is used to create $*,
3106 # except with old shells:
3107 host_os=$*
3108 IFS=$ac_save_IFS
3109 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3110
3111
3112 # Backslashify metacharacters that are still active within
3113 # double-quoted strings.
3114 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3115
3116 # Same as above, but do not quote variable references.
3117 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3118
3119 # Sed substitution to delay expansion of an escaped shell variable in a
3120 # double_quote_subst'ed string.
3121 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3122
3123 # Sed substitution to delay expansion of an escaped single quote.
3124 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3125
3126 # Sed substitution to avoid accidental globbing in evaled expressions
3127 no_glob_subst='s/\*/\\\*/g'
3128
3129 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3130 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3131 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3132
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3134 $as_echo_n "checking how to print strings... " >&6; }
3135 # Test print first, because it will be a builtin if present.
3136 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3137    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3138   ECHO='print -r --'
3139 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3140   ECHO='printf %s\n'
3141 else
3142   # Use this function as a fallback that always works.
3143   func_fallback_echo ()
3144   {
3145     eval 'cat <<_LTECHO_EOF
3146 $1
3147 _LTECHO_EOF'
3148   }
3149   ECHO='func_fallback_echo'
3150 fi
3151
3152 # func_echo_all arg...
3153 # Invoke $ECHO with all args, space-separated.
3154 func_echo_all ()
3155 {
3156     $ECHO ""
3157 }
3158
3159 case "$ECHO" in
3160   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3161 $as_echo "printf" >&6; } ;;
3162   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3163 $as_echo "print -r" >&6; } ;;
3164   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3165 $as_echo "cat" >&6; } ;;
3166 esac
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181 DEPDIR="${am__leading_dot}deps"
3182
3183 ac_config_commands="$ac_config_commands depfiles"
3184
3185
3186 am_make=${MAKE-make}
3187 cat > confinc << 'END'
3188 am__doit:
3189         @echo this is the am__doit target
3190 .PHONY: am__doit
3191 END
3192 # If we don't find an include directive, just comment out the code.
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3194 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3195 am__include="#"
3196 am__quote=
3197 _am_result=none
3198 # First try GNU make style include.
3199 echo "include confinc" > confmf
3200 # Ignore all kinds of additional output from 'make'.
3201 case `$am_make -s -f confmf 2> /dev/null` in #(
3202 *the\ am__doit\ target*)
3203   am__include=include
3204   am__quote=
3205   _am_result=GNU
3206   ;;
3207 esac
3208 # Now try BSD make style include.
3209 if test "$am__include" = "#"; then
3210    echo '.include "confinc"' > confmf
3211    case `$am_make -s -f confmf 2> /dev/null` in #(
3212    *the\ am__doit\ target*)
3213      am__include=.include
3214      am__quote="\""
3215      _am_result=BSD
3216      ;;
3217    esac
3218 fi
3219
3220
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3222 $as_echo "$_am_result" >&6; }
3223 rm -f confinc confmf
3224
3225 # Check whether --enable-dependency-tracking was given.
3226 if test "${enable_dependency_tracking+set}" = set; then :
3227   enableval=$enable_dependency_tracking;
3228 fi
3229
3230 if test "x$enable_dependency_tracking" != xno; then
3231   am_depcomp="$ac_aux_dir/depcomp"
3232   AMDEPBACKSLASH='\'
3233   am__nodep='_no'
3234 fi
3235  if test "x$enable_dependency_tracking" != xno; then
3236   AMDEP_TRUE=
3237   AMDEP_FALSE='#'
3238 else
3239   AMDEP_TRUE='#'
3240   AMDEP_FALSE=
3241 fi
3242
3243
3244 ac_ext=c
3245 ac_cpp='$CPP $CPPFLAGS'
3246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3249 if test -n "$ac_tool_prefix"; then
3250   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3251 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3253 $as_echo_n "checking for $ac_word... " >&6; }
3254 if ${ac_cv_prog_CC+:} false; then :
3255   $as_echo_n "(cached) " >&6
3256 else
3257   if test -n "$CC"; then
3258   ac_cv_prog_CC="$CC" # Let the user override the test.
3259 else
3260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3261 for as_dir in $PATH
3262 do
3263   IFS=$as_save_IFS
3264   test -z "$as_dir" && as_dir=.
3265     for ac_exec_ext in '' $ac_executable_extensions; do
3266   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3267     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3268     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3269     break 2
3270   fi
3271 done
3272   done
3273 IFS=$as_save_IFS
3274
3275 fi
3276 fi
3277 CC=$ac_cv_prog_CC
3278 if test -n "$CC"; then
3279   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3280 $as_echo "$CC" >&6; }
3281 else
3282   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3283 $as_echo "no" >&6; }
3284 fi
3285
3286
3287 fi
3288 if test -z "$ac_cv_prog_CC"; then
3289   ac_ct_CC=$CC
3290   # Extract the first word of "gcc", so it can be a program name with args.
3291 set dummy gcc; ac_word=$2
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3293 $as_echo_n "checking for $ac_word... " >&6; }
3294 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3295   $as_echo_n "(cached) " >&6
3296 else
3297   if test -n "$ac_ct_CC"; then
3298   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3299 else
3300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3301 for as_dir in $PATH
3302 do
3303   IFS=$as_save_IFS
3304   test -z "$as_dir" && as_dir=.
3305     for ac_exec_ext in '' $ac_executable_extensions; do
3306   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3307     ac_cv_prog_ac_ct_CC="gcc"
3308     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3309     break 2
3310   fi
3311 done
3312   done
3313 IFS=$as_save_IFS
3314
3315 fi
3316 fi
3317 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3318 if test -n "$ac_ct_CC"; then
3319   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3320 $as_echo "$ac_ct_CC" >&6; }
3321 else
3322   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3323 $as_echo "no" >&6; }
3324 fi
3325
3326   if test "x$ac_ct_CC" = x; then
3327     CC=""
3328   else
3329     case $cross_compiling:$ac_tool_warned in
3330 yes:)
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3332 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3333 ac_tool_warned=yes ;;
3334 esac
3335     CC=$ac_ct_CC
3336   fi
3337 else
3338   CC="$ac_cv_prog_CC"
3339 fi
3340
3341 if test -z "$CC"; then
3342           if test -n "$ac_tool_prefix"; then
3343     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3344 set dummy ${ac_tool_prefix}cc; ac_word=$2
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3346 $as_echo_n "checking for $ac_word... " >&6; }
3347 if ${ac_cv_prog_CC+:} false; then :
3348   $as_echo_n "(cached) " >&6
3349 else
3350   if test -n "$CC"; then
3351   ac_cv_prog_CC="$CC" # Let the user override the test.
3352 else
3353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3354 for as_dir in $PATH
3355 do
3356   IFS=$as_save_IFS
3357   test -z "$as_dir" && as_dir=.
3358     for ac_exec_ext in '' $ac_executable_extensions; do
3359   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3360     ac_cv_prog_CC="${ac_tool_prefix}cc"
3361     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3362     break 2
3363   fi
3364 done
3365   done
3366 IFS=$as_save_IFS
3367
3368 fi
3369 fi
3370 CC=$ac_cv_prog_CC
3371 if test -n "$CC"; then
3372   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3373 $as_echo "$CC" >&6; }
3374 else
3375   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3376 $as_echo "no" >&6; }
3377 fi
3378
3379
3380   fi
3381 fi
3382 if test -z "$CC"; then
3383   # Extract the first word of "cc", so it can be a program name with args.
3384 set dummy cc; ac_word=$2
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3386 $as_echo_n "checking for $ac_word... " >&6; }
3387 if ${ac_cv_prog_CC+:} false; then :
3388   $as_echo_n "(cached) " >&6
3389 else
3390   if test -n "$CC"; then
3391   ac_cv_prog_CC="$CC" # Let the user override the test.
3392 else
3393   ac_prog_rejected=no
3394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3395 for as_dir in $PATH
3396 do
3397   IFS=$as_save_IFS
3398   test -z "$as_dir" && as_dir=.
3399     for ac_exec_ext in '' $ac_executable_extensions; do
3400   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3401     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3402        ac_prog_rejected=yes
3403        continue
3404      fi
3405     ac_cv_prog_CC="cc"
3406     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3407     break 2
3408   fi
3409 done
3410   done
3411 IFS=$as_save_IFS
3412
3413 if test $ac_prog_rejected = yes; then
3414   # We found a bogon in the path, so make sure we never use it.
3415   set dummy $ac_cv_prog_CC
3416   shift
3417   if test $# != 0; then
3418     # We chose a different compiler from the bogus one.
3419     # However, it has the same basename, so the bogon will be chosen
3420     # first if we set CC to just the basename; use the full file name.
3421     shift
3422     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3423   fi
3424 fi
3425 fi
3426 fi
3427 CC=$ac_cv_prog_CC
3428 if test -n "$CC"; then
3429   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3430 $as_echo "$CC" >&6; }
3431 else
3432   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3433 $as_echo "no" >&6; }
3434 fi
3435
3436
3437 fi
3438 if test -z "$CC"; then
3439   if test -n "$ac_tool_prefix"; then
3440   for ac_prog in cl.exe
3441   do
3442     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3443 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3445 $as_echo_n "checking for $ac_word... " >&6; }
3446 if ${ac_cv_prog_CC+:} false; then :
3447   $as_echo_n "(cached) " >&6
3448 else
3449   if test -n "$CC"; then
3450   ac_cv_prog_CC="$CC" # Let the user override the test.
3451 else
3452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3453 for as_dir in $PATH
3454 do
3455   IFS=$as_save_IFS
3456   test -z "$as_dir" && as_dir=.
3457     for ac_exec_ext in '' $ac_executable_extensions; do
3458   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3459     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3460     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3461     break 2
3462   fi
3463 done
3464   done
3465 IFS=$as_save_IFS
3466
3467 fi
3468 fi
3469 CC=$ac_cv_prog_CC
3470 if test -n "$CC"; then
3471   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3472 $as_echo "$CC" >&6; }
3473 else
3474   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3475 $as_echo "no" >&6; }
3476 fi
3477
3478
3479     test -n "$CC" && break
3480   done
3481 fi
3482 if test -z "$CC"; then
3483   ac_ct_CC=$CC
3484   for ac_prog in cl.exe
3485 do
3486   # Extract the first word of "$ac_prog", so it can be a program name with args.
3487 set dummy $ac_prog; ac_word=$2
3488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3489 $as_echo_n "checking for $ac_word... " >&6; }
3490 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3491   $as_echo_n "(cached) " >&6
3492 else
3493   if test -n "$ac_ct_CC"; then
3494   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3495 else
3496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3497 for as_dir in $PATH
3498 do
3499   IFS=$as_save_IFS
3500   test -z "$as_dir" && as_dir=.
3501     for ac_exec_ext in '' $ac_executable_extensions; do
3502   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3503     ac_cv_prog_ac_ct_CC="$ac_prog"
3504     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3505     break 2
3506   fi
3507 done
3508   done
3509 IFS=$as_save_IFS
3510
3511 fi
3512 fi
3513 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3514 if test -n "$ac_ct_CC"; then
3515   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3516 $as_echo "$ac_ct_CC" >&6; }
3517 else
3518   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3519 $as_echo "no" >&6; }
3520 fi
3521
3522
3523   test -n "$ac_ct_CC" && break
3524 done
3525
3526   if test "x$ac_ct_CC" = x; then
3527     CC=""
3528   else
3529     case $cross_compiling:$ac_tool_warned in
3530 yes:)
3531 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3532 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3533 ac_tool_warned=yes ;;
3534 esac
3535     CC=$ac_ct_CC
3536   fi
3537 fi
3538
3539 fi
3540
3541
3542 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3543 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3544 as_fn_error $? "no acceptable C compiler found in \$PATH
3545 See \`config.log' for more details" "$LINENO" 5; }
3546
3547 # Provide some information about the compiler.
3548 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3549 set X $ac_compile
3550 ac_compiler=$2
3551 for ac_option in --version -v -V -qversion; do
3552   { { ac_try="$ac_compiler $ac_option >&5"
3553 case "(($ac_try" in
3554   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3555   *) ac_try_echo=$ac_try;;
3556 esac
3557 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3558 $as_echo "$ac_try_echo"; } >&5
3559   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3560   ac_status=$?
3561   if test -s conftest.err; then
3562     sed '10a\
3563 ... rest of stderr output deleted ...
3564          10q' conftest.err >conftest.er1
3565     cat conftest.er1 >&5
3566   fi
3567   rm -f conftest.er1 conftest.err
3568   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3569   test $ac_status = 0; }
3570 done
3571
3572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3573 /* end confdefs.h.  */
3574
3575 int
3576 main ()
3577 {
3578
3579   ;
3580   return 0;
3581 }
3582 _ACEOF
3583 ac_clean_files_save=$ac_clean_files
3584 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3585 # Try to create an executable without -o first, disregard a.out.
3586 # It will help us diagnose broken compilers, and finding out an intuition
3587 # of exeext.
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3589 $as_echo_n "checking whether the C compiler works... " >&6; }
3590 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3591
3592 # The possible output files:
3593 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3594
3595 ac_rmfiles=
3596 for ac_file in $ac_files
3597 do
3598   case $ac_file in
3599     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3600     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3601   esac
3602 done
3603 rm -f $ac_rmfiles
3604
3605 if { { ac_try="$ac_link_default"
3606 case "(($ac_try" in
3607   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3608   *) ac_try_echo=$ac_try;;
3609 esac
3610 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3611 $as_echo "$ac_try_echo"; } >&5
3612   (eval "$ac_link_default") 2>&5
3613   ac_status=$?
3614   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3615   test $ac_status = 0; }; then :
3616   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3617 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3618 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3619 # so that the user can short-circuit this test for compilers unknown to
3620 # Autoconf.
3621 for ac_file in $ac_files ''
3622 do
3623   test -f "$ac_file" || continue
3624   case $ac_file in
3625     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3626         ;;
3627     [ab].out )
3628         # We found the default executable, but exeext='' is most
3629         # certainly right.
3630         break;;
3631     *.* )
3632         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3633         then :; else
3634            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3635         fi
3636         # We set ac_cv_exeext here because the later test for it is not
3637         # safe: cross compilers may not add the suffix if given an `-o'
3638         # argument, so we may need to know it at that point already.
3639         # Even if this section looks crufty: it has the advantage of
3640         # actually working.
3641         break;;
3642     * )
3643         break;;
3644   esac
3645 done
3646 test "$ac_cv_exeext" = no && ac_cv_exeext=
3647
3648 else
3649   ac_file=''
3650 fi
3651 if test -z "$ac_file"; then :
3652   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3653 $as_echo "no" >&6; }
3654 $as_echo "$as_me: failed program was:" >&5
3655 sed 's/^/| /' conftest.$ac_ext >&5
3656
3657 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3658 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3659 as_fn_error 77 "C compiler cannot create executables
3660 See \`config.log' for more details" "$LINENO" 5; }
3661 else
3662   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3663 $as_echo "yes" >&6; }
3664 fi
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3666 $as_echo_n "checking for C compiler default output file name... " >&6; }
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3668 $as_echo "$ac_file" >&6; }
3669 ac_exeext=$ac_cv_exeext
3670
3671 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3672 ac_clean_files=$ac_clean_files_save
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3674 $as_echo_n "checking for suffix of executables... " >&6; }
3675 if { { ac_try="$ac_link"
3676 case "(($ac_try" in
3677   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3678   *) ac_try_echo=$ac_try;;
3679 esac
3680 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3681 $as_echo "$ac_try_echo"; } >&5
3682   (eval "$ac_link") 2>&5
3683   ac_status=$?
3684   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3685   test $ac_status = 0; }; then :
3686   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3687 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3688 # work properly (i.e., refer to `conftest.exe'), while it won't with
3689 # `rm'.
3690 for ac_file in conftest.exe conftest conftest.*; do
3691   test -f "$ac_file" || continue
3692   case $ac_file in
3693     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3694     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3695           break;;
3696     * ) break;;
3697   esac
3698 done
3699 else
3700   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3701 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3702 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3703 See \`config.log' for more details" "$LINENO" 5; }
3704 fi
3705 rm -f conftest conftest$ac_cv_exeext
3706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3707 $as_echo "$ac_cv_exeext" >&6; }
3708
3709 rm -f conftest.$ac_ext
3710 EXEEXT=$ac_cv_exeext
3711 ac_exeext=$EXEEXT
3712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3713 /* end confdefs.h.  */
3714 #include <stdio.h>
3715 int
3716 main ()
3717 {
3718 FILE *f = fopen ("conftest.out", "w");
3719  return ferror (f) || fclose (f) != 0;
3720
3721   ;
3722   return 0;
3723 }
3724 _ACEOF
3725 ac_clean_files="$ac_clean_files conftest.out"
3726 # Check that the compiler produces executables we can run.  If not, either
3727 # the compiler is broken, or we cross compile.
3728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3729 $as_echo_n "checking whether we are cross compiling... " >&6; }
3730 if test "$cross_compiling" != yes; then
3731   { { ac_try="$ac_link"
3732 case "(($ac_try" in
3733   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3734   *) ac_try_echo=$ac_try;;
3735 esac
3736 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3737 $as_echo "$ac_try_echo"; } >&5
3738   (eval "$ac_link") 2>&5
3739   ac_status=$?
3740   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3741   test $ac_status = 0; }
3742   if { ac_try='./conftest$ac_cv_exeext'
3743   { { case "(($ac_try" in
3744   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3745   *) ac_try_echo=$ac_try;;
3746 esac
3747 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3748 $as_echo "$ac_try_echo"; } >&5
3749   (eval "$ac_try") 2>&5
3750   ac_status=$?
3751   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3752   test $ac_status = 0; }; }; then
3753     cross_compiling=no
3754   else
3755     if test "$cross_compiling" = maybe; then
3756         cross_compiling=yes
3757     else
3758         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3759 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3760 as_fn_error $? "cannot run C compiled programs.
3761 If you meant to cross compile, use \`--host'.
3762 See \`config.log' for more details" "$LINENO" 5; }
3763     fi
3764   fi
3765 fi
3766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3767 $as_echo "$cross_compiling" >&6; }
3768
3769 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3770 ac_clean_files=$ac_clean_files_save
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3772 $as_echo_n "checking for suffix of object files... " >&6; }
3773 if ${ac_cv_objext+:} false; then :
3774   $as_echo_n "(cached) " >&6
3775 else
3776   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3777 /* end confdefs.h.  */
3778
3779 int
3780 main ()
3781 {
3782
3783   ;
3784   return 0;
3785 }
3786 _ACEOF
3787 rm -f conftest.o conftest.obj
3788 if { { ac_try="$ac_compile"
3789 case "(($ac_try" in
3790   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3791   *) ac_try_echo=$ac_try;;
3792 esac
3793 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3794 $as_echo "$ac_try_echo"; } >&5
3795   (eval "$ac_compile") 2>&5
3796   ac_status=$?
3797   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3798   test $ac_status = 0; }; then :
3799   for ac_file in conftest.o conftest.obj conftest.*; do
3800   test -f "$ac_file" || continue;
3801   case $ac_file in
3802     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3803     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3804        break;;
3805   esac
3806 done
3807 else
3808   $as_echo "$as_me: failed program was:" >&5
3809 sed 's/^/| /' conftest.$ac_ext >&5
3810
3811 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3812 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3813 as_fn_error $? "cannot compute suffix of object files: cannot compile
3814 See \`config.log' for more details" "$LINENO" 5; }
3815 fi
3816 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3817 fi
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3819 $as_echo "$ac_cv_objext" >&6; }
3820 OBJEXT=$ac_cv_objext
3821 ac_objext=$OBJEXT
3822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3823 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3824 if ${ac_cv_c_compiler_gnu+:} false; then :
3825   $as_echo_n "(cached) " >&6
3826 else
3827   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3828 /* end confdefs.h.  */
3829
3830 int
3831 main ()
3832 {
3833 #ifndef __GNUC__
3834        choke me
3835 #endif
3836
3837   ;
3838   return 0;
3839 }
3840 _ACEOF
3841 if ac_fn_c_try_compile "$LINENO"; then :
3842   ac_compiler_gnu=yes
3843 else
3844   ac_compiler_gnu=no
3845 fi
3846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3847 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3848
3849 fi
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3851 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3852 if test $ac_compiler_gnu = yes; then
3853   GCC=yes
3854 else
3855   GCC=
3856 fi
3857 ac_test_CFLAGS=${CFLAGS+set}
3858 ac_save_CFLAGS=$CFLAGS
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3860 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3861 if ${ac_cv_prog_cc_g+:} false; then :
3862   $as_echo_n "(cached) " >&6
3863 else
3864   ac_save_c_werror_flag=$ac_c_werror_flag
3865    ac_c_werror_flag=yes
3866    ac_cv_prog_cc_g=no
3867    CFLAGS="-g"
3868    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3869 /* end confdefs.h.  */
3870
3871 int
3872 main ()
3873 {
3874
3875   ;
3876   return 0;
3877 }
3878 _ACEOF
3879 if ac_fn_c_try_compile "$LINENO"; then :
3880   ac_cv_prog_cc_g=yes
3881 else
3882   CFLAGS=""
3883       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3884 /* end confdefs.h.  */
3885
3886 int
3887 main ()
3888 {
3889
3890   ;
3891   return 0;
3892 }
3893 _ACEOF
3894 if ac_fn_c_try_compile "$LINENO"; then :
3895
3896 else
3897   ac_c_werror_flag=$ac_save_c_werror_flag
3898          CFLAGS="-g"
3899          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3900 /* end confdefs.h.  */
3901
3902 int
3903 main ()
3904 {
3905
3906   ;
3907   return 0;
3908 }
3909 _ACEOF
3910 if ac_fn_c_try_compile "$LINENO"; then :
3911   ac_cv_prog_cc_g=yes
3912 fi
3913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3914 fi
3915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3916 fi
3917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3918    ac_c_werror_flag=$ac_save_c_werror_flag
3919 fi
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3921 $as_echo "$ac_cv_prog_cc_g" >&6; }
3922 if test "$ac_test_CFLAGS" = set; then
3923   CFLAGS=$ac_save_CFLAGS
3924 elif test $ac_cv_prog_cc_g = yes; then
3925   if test "$GCC" = yes; then
3926     CFLAGS="-g -O2"
3927   else
3928     CFLAGS="-g"
3929   fi
3930 else
3931   if test "$GCC" = yes; then
3932     CFLAGS="-O2"
3933   else
3934     CFLAGS=
3935   fi
3936 fi
3937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3938 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3939 if ${ac_cv_prog_cc_c89+:} false; then :
3940   $as_echo_n "(cached) " >&6
3941 else
3942   ac_cv_prog_cc_c89=no
3943 ac_save_CC=$CC
3944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3945 /* end confdefs.h.  */
3946 #include <stdarg.h>
3947 #include <stdio.h>
3948 struct stat;
3949 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3950 struct buf { int x; };
3951 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3952 static char *e (p, i)
3953      char **p;
3954      int i;
3955 {
3956   return p[i];
3957 }
3958 static char *f (char * (*g) (char **, int), char **p, ...)
3959 {
3960   char *s;
3961   va_list v;
3962   va_start (v,p);
3963   s = g (p, va_arg (v,int));
3964   va_end (v);
3965   return s;
3966 }
3967
3968 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3969    function prototypes and stuff, but not '\xHH' hex character constants.
3970    These don't provoke an error unfortunately, instead are silently treated
3971    as 'x'.  The following induces an error, until -std is added to get
3972    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3973    array size at least.  It's necessary to write '\x00'==0 to get something
3974    that's true only with -std.  */
3975 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3976
3977 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3978    inside strings and character constants.  */
3979 #define FOO(x) 'x'
3980 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3981
3982 int test (int i, double x);
3983 struct s1 {int (*f) (int a);};
3984 struct s2 {int (*f) (double a);};
3985 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3986 int argc;
3987 char **argv;
3988 int
3989 main ()
3990 {
3991 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3992   ;
3993   return 0;
3994 }
3995 _ACEOF
3996 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3997         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3998 do
3999   CC="$ac_save_CC $ac_arg"
4000   if ac_fn_c_try_compile "$LINENO"; then :
4001   ac_cv_prog_cc_c89=$ac_arg
4002 fi
4003 rm -f core conftest.err conftest.$ac_objext
4004   test "x$ac_cv_prog_cc_c89" != "xno" && break
4005 done
4006 rm -f conftest.$ac_ext
4007 CC=$ac_save_CC
4008
4009 fi
4010 # AC_CACHE_VAL
4011 case "x$ac_cv_prog_cc_c89" in
4012   x)
4013     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4014 $as_echo "none needed" >&6; } ;;
4015   xno)
4016     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4017 $as_echo "unsupported" >&6; } ;;
4018   *)
4019     CC="$CC $ac_cv_prog_cc_c89"
4020     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4021 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4022 esac
4023 if test "x$ac_cv_prog_cc_c89" != xno; then :
4024
4025 fi
4026
4027 ac_ext=c
4028 ac_cpp='$CPP $CPPFLAGS'
4029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4032
4033 ac_ext=c
4034 ac_cpp='$CPP $CPPFLAGS'
4035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4039 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4040 if ${am_cv_prog_cc_c_o+:} false; then :
4041   $as_echo_n "(cached) " >&6
4042 else
4043   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4044 /* end confdefs.h.  */
4045
4046 int
4047 main ()
4048 {
4049
4050   ;
4051   return 0;
4052 }
4053 _ACEOF
4054   # Make sure it works both with $CC and with simple cc.
4055   # Following AC_PROG_CC_C_O, we do the test twice because some
4056   # compilers refuse to overwrite an existing .o file with -o,
4057   # though they will create one.
4058   am_cv_prog_cc_c_o=yes
4059   for am_i in 1 2; do
4060     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4061    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4062    ac_status=$?
4063    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4064    (exit $ac_status); } \
4065          && test -f conftest2.$ac_objext; then
4066       : OK
4067     else
4068       am_cv_prog_cc_c_o=no
4069       break
4070     fi
4071   done
4072   rm -f core conftest*
4073   unset am_i
4074 fi
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4076 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4077 if test "$am_cv_prog_cc_c_o" != yes; then
4078    # Losing compiler, so override with the script.
4079    # FIXME: It is wrong to rewrite CC.
4080    # But if we don't then we get into trouble of one sort or another.
4081    # A longer-term fix would be to have automake use am__CC in this case,
4082    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4083    CC="$am_aux_dir/compile $CC"
4084 fi
4085 ac_ext=c
4086 ac_cpp='$CPP $CPPFLAGS'
4087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4090
4091
4092 depcc="$CC"   am_compiler_list=
4093
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4095 $as_echo_n "checking dependency style of $depcc... " >&6; }
4096 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4097   $as_echo_n "(cached) " >&6
4098 else
4099   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4100   # We make a subdir and do the tests there.  Otherwise we can end up
4101   # making bogus files that we don't know about and never remove.  For
4102   # instance it was reported that on HP-UX the gcc test will end up
4103   # making a dummy file named 'D' -- because '-MD' means "put the output
4104   # in D".
4105   rm -rf conftest.dir
4106   mkdir conftest.dir
4107   # Copy depcomp to subdir because otherwise we won't find it if we're
4108   # using a relative directory.
4109   cp "$am_depcomp" conftest.dir
4110   cd conftest.dir
4111   # We will build objects and dependencies in a subdirectory because
4112   # it helps to detect inapplicable dependency modes.  For instance
4113   # both Tru64's cc and ICC support -MD to output dependencies as a
4114   # side effect of compilation, but ICC will put the dependencies in
4115   # the current directory while Tru64 will put them in the object
4116   # directory.
4117   mkdir sub
4118
4119   am_cv_CC_dependencies_compiler_type=none
4120   if test "$am_compiler_list" = ""; then
4121      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4122   fi
4123   am__universal=false
4124   case " $depcc " in #(
4125      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4126      esac
4127
4128   for depmode in $am_compiler_list; do
4129     # Setup a source with many dependencies, because some compilers
4130     # like to wrap large dependency lists on column 80 (with \), and
4131     # we should not choose a depcomp mode which is confused by this.
4132     #
4133     # We need to recreate these files for each test, as the compiler may
4134     # overwrite some of them when testing with obscure command lines.
4135     # This happens at least with the AIX C compiler.
4136     : > sub/conftest.c
4137     for i in 1 2 3 4 5 6; do
4138       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4139       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4140       # Solaris 10 /bin/sh.
4141       echo '/* dummy */' > sub/conftst$i.h
4142     done
4143     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4144
4145     # We check with '-c' and '-o' for the sake of the "dashmstdout"
4146     # mode.  It turns out that the SunPro C++ compiler does not properly
4147     # handle '-M -o', and we need to detect this.  Also, some Intel
4148     # versions had trouble with output in subdirs.
4149     am__obj=sub/conftest.${OBJEXT-o}
4150     am__minus_obj="-o $am__obj"
4151     case $depmode in
4152     gcc)
4153       # This depmode causes a compiler race in universal mode.
4154       test "$am__universal" = false || continue
4155       ;;
4156     nosideeffect)
4157       # After this tag, mechanisms are not by side-effect, so they'll
4158       # only be used when explicitly requested.
4159       if test "x$enable_dependency_tracking" = xyes; then
4160         continue
4161       else
4162         break
4163       fi
4164       ;;
4165     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4166       # This compiler won't grok '-c -o', but also, the minuso test has
4167       # not run yet.  These depmodes are late enough in the game, and
4168       # so weak that their functioning should not be impacted.
4169       am__obj=conftest.${OBJEXT-o}
4170       am__minus_obj=
4171       ;;
4172     none) break ;;
4173     esac
4174     if depmode=$depmode \
4175        source=sub/conftest.c object=$am__obj \
4176        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4177        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4178          >/dev/null 2>conftest.err &&
4179        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4180        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4181        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4182        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4183       # icc doesn't choke on unknown options, it will just issue warnings
4184       # or remarks (even with -Werror).  So we grep stderr for any message
4185       # that says an option was ignored or not supported.
4186       # When given -MP, icc 7.0 and 7.1 complain thusly:
4187       #   icc: Command line warning: ignoring option '-M'; no argument required
4188       # The diagnosis changed in icc 8.0:
4189       #   icc: Command line remark: option '-MP' not supported
4190       if (grep 'ignoring option' conftest.err ||
4191           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4192         am_cv_CC_dependencies_compiler_type=$depmode
4193         break
4194       fi
4195     fi
4196   done
4197
4198   cd ..
4199   rm -rf conftest.dir
4200 else
4201   am_cv_CC_dependencies_compiler_type=none
4202 fi
4203
4204 fi
4205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4206 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4207 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4208
4209  if
4210   test "x$enable_dependency_tracking" != xno \
4211   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4212   am__fastdepCC_TRUE=
4213   am__fastdepCC_FALSE='#'
4214 else
4215   am__fastdepCC_TRUE='#'
4216   am__fastdepCC_FALSE=
4217 fi
4218
4219
4220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4221 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4222 if ${ac_cv_path_SED+:} false; then :
4223   $as_echo_n "(cached) " >&6
4224 else
4225             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4226      for ac_i in 1 2 3 4 5 6 7; do
4227        ac_script="$ac_script$as_nl$ac_script"
4228      done
4229      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4230      { ac_script=; unset ac_script;}
4231      if test -z "$SED"; then
4232   ac_path_SED_found=false
4233   # Loop through the user's path and test for each of PROGNAME-LIST
4234   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4235 for as_dir in $PATH
4236 do
4237   IFS=$as_save_IFS
4238   test -z "$as_dir" && as_dir=.
4239     for ac_prog in sed gsed; do
4240     for ac_exec_ext in '' $ac_executable_extensions; do
4241       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4242       as_fn_executable_p "$ac_path_SED" || continue
4243 # Check for GNU ac_path_SED and select it if it is found.
4244   # Check for GNU $ac_path_SED
4245 case `"$ac_path_SED" --version 2>&1` in
4246 *GNU*)
4247   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4248 *)
4249   ac_count=0
4250   $as_echo_n 0123456789 >"conftest.in"
4251   while :
4252   do
4253     cat "conftest.in" "conftest.in" >"conftest.tmp"
4254     mv "conftest.tmp" "conftest.in"
4255     cp "conftest.in" "conftest.nl"
4256     $as_echo '' >> "conftest.nl"
4257     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4258     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4259     as_fn_arith $ac_count + 1 && ac_count=$as_val
4260     if test $ac_count -gt ${ac_path_SED_max-0}; then
4261       # Best one so far, save it but keep looking for a better one
4262       ac_cv_path_SED="$ac_path_SED"
4263       ac_path_SED_max=$ac_count
4264     fi
4265     # 10*(2^10) chars as input seems more than enough
4266     test $ac_count -gt 10 && break
4267   done
4268   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4269 esac
4270
4271       $ac_path_SED_found && break 3
4272     done
4273   done
4274   done
4275 IFS=$as_save_IFS
4276   if test -z "$ac_cv_path_SED"; then
4277     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4278   fi
4279 else
4280   ac_cv_path_SED=$SED
4281 fi
4282
4283 fi
4284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4285 $as_echo "$ac_cv_path_SED" >&6; }
4286  SED="$ac_cv_path_SED"
4287   rm -f conftest.sed
4288
4289 test -z "$SED" && SED=sed
4290 Xsed="$SED -e 1s/^X//"
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4303 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4304 if ${ac_cv_path_GREP+:} false; then :
4305   $as_echo_n "(cached) " >&6
4306 else
4307   if test -z "$GREP"; then
4308   ac_path_GREP_found=false
4309   # Loop through the user's path and test for each of PROGNAME-LIST
4310   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4311 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4312 do
4313   IFS=$as_save_IFS
4314   test -z "$as_dir" && as_dir=.
4315     for ac_prog in grep ggrep; do
4316     for ac_exec_ext in '' $ac_executable_extensions; do
4317       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4318       as_fn_executable_p "$ac_path_GREP" || continue
4319 # Check for GNU ac_path_GREP and select it if it is found.
4320   # Check for GNU $ac_path_GREP
4321 case `"$ac_path_GREP" --version 2>&1` in
4322 *GNU*)
4323   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4324 *)
4325   ac_count=0
4326   $as_echo_n 0123456789 >"conftest.in"
4327   while :
4328   do
4329     cat "conftest.in" "conftest.in" >"conftest.tmp"
4330     mv "conftest.tmp" "conftest.in"
4331     cp "conftest.in" "conftest.nl"
4332     $as_echo 'GREP' >> "conftest.nl"
4333     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4334     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4335     as_fn_arith $ac_count + 1 && ac_count=$as_val
4336     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4337       # Best one so far, save it but keep looking for a better one
4338       ac_cv_path_GREP="$ac_path_GREP"
4339       ac_path_GREP_max=$ac_count
4340     fi
4341     # 10*(2^10) chars as input seems more than enough
4342     test $ac_count -gt 10 && break
4343   done
4344   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4345 esac
4346
4347       $ac_path_GREP_found && break 3
4348     done
4349   done
4350   done
4351 IFS=$as_save_IFS
4352   if test -z "$ac_cv_path_GREP"; then
4353     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4354   fi
4355 else
4356   ac_cv_path_GREP=$GREP
4357 fi
4358
4359 fi
4360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4361 $as_echo "$ac_cv_path_GREP" >&6; }
4362  GREP="$ac_cv_path_GREP"
4363
4364
4365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4366 $as_echo_n "checking for egrep... " >&6; }
4367 if ${ac_cv_path_EGREP+:} false; then :
4368   $as_echo_n "(cached) " >&6
4369 else
4370   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4371    then ac_cv_path_EGREP="$GREP -E"
4372    else
4373      if test -z "$EGREP"; then
4374   ac_path_EGREP_found=false
4375   # Loop through the user's path and test for each of PROGNAME-LIST
4376   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4377 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4378 do
4379   IFS=$as_save_IFS
4380   test -z "$as_dir" && as_dir=.
4381     for ac_prog in egrep; do
4382     for ac_exec_ext in '' $ac_executable_extensions; do
4383       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4384       as_fn_executable_p "$ac_path_EGREP" || continue
4385 # Check for GNU ac_path_EGREP and select it if it is found.
4386   # Check for GNU $ac_path_EGREP
4387 case `"$ac_path_EGREP" --version 2>&1` in
4388 *GNU*)
4389   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4390 *)
4391   ac_count=0
4392   $as_echo_n 0123456789 >"conftest.in"
4393   while :
4394   do
4395     cat "conftest.in" "conftest.in" >"conftest.tmp"
4396     mv "conftest.tmp" "conftest.in"
4397     cp "conftest.in" "conftest.nl"
4398     $as_echo 'EGREP' >> "conftest.nl"
4399     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4400     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4401     as_fn_arith $ac_count + 1 && ac_count=$as_val
4402     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4403       # Best one so far, save it but keep looking for a better one
4404       ac_cv_path_EGREP="$ac_path_EGREP"
4405       ac_path_EGREP_max=$ac_count
4406     fi
4407     # 10*(2^10) chars as input seems more than enough
4408     test $ac_count -gt 10 && break
4409   done
4410   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4411 esac
4412
4413       $ac_path_EGREP_found && break 3
4414     done
4415   done
4416   done
4417 IFS=$as_save_IFS
4418   if test -z "$ac_cv_path_EGREP"; then
4419     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4420   fi
4421 else
4422   ac_cv_path_EGREP=$EGREP
4423 fi
4424
4425    fi
4426 fi
4427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4428 $as_echo "$ac_cv_path_EGREP" >&6; }
4429  EGREP="$ac_cv_path_EGREP"
4430
4431
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4433 $as_echo_n "checking for fgrep... " >&6; }
4434 if ${ac_cv_path_FGREP+:} false; then :
4435   $as_echo_n "(cached) " >&6
4436 else
4437   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4438    then ac_cv_path_FGREP="$GREP -F"
4439    else
4440      if test -z "$FGREP"; then
4441   ac_path_FGREP_found=false
4442   # Loop through the user's path and test for each of PROGNAME-LIST
4443   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4444 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4445 do
4446   IFS=$as_save_IFS
4447   test -z "$as_dir" && as_dir=.
4448     for ac_prog in fgrep; do
4449     for ac_exec_ext in '' $ac_executable_extensions; do
4450       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4451       as_fn_executable_p "$ac_path_FGREP" || continue
4452 # Check for GNU ac_path_FGREP and select it if it is found.
4453   # Check for GNU $ac_path_FGREP
4454 case `"$ac_path_FGREP" --version 2>&1` in
4455 *GNU*)
4456   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4457 *)
4458   ac_count=0
4459   $as_echo_n 0123456789 >"conftest.in"
4460   while :
4461   do
4462     cat "conftest.in" "conftest.in" >"conftest.tmp"
4463     mv "conftest.tmp" "conftest.in"
4464     cp "conftest.in" "conftest.nl"
4465     $as_echo 'FGREP' >> "conftest.nl"
4466     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4467     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4468     as_fn_arith $ac_count + 1 && ac_count=$as_val
4469     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4470       # Best one so far, save it but keep looking for a better one
4471       ac_cv_path_FGREP="$ac_path_FGREP"
4472       ac_path_FGREP_max=$ac_count
4473     fi
4474     # 10*(2^10) chars as input seems more than enough
4475     test $ac_count -gt 10 && break
4476   done
4477   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4478 esac
4479
4480       $ac_path_FGREP_found && break 3
4481     done
4482   done
4483   done
4484 IFS=$as_save_IFS
4485   if test -z "$ac_cv_path_FGREP"; then
4486     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4487   fi
4488 else
4489   ac_cv_path_FGREP=$FGREP
4490 fi
4491
4492    fi
4493 fi
4494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4495 $as_echo "$ac_cv_path_FGREP" >&6; }
4496  FGREP="$ac_cv_path_FGREP"
4497
4498
4499 test -z "$GREP" && GREP=grep
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519 # Check whether --with-gnu-ld was given.
4520 if test "${with_gnu_ld+set}" = set; then :
4521   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4522 else
4523   with_gnu_ld=no
4524 fi
4525
4526 ac_prog=ld
4527 if test "$GCC" = yes; then
4528   # Check if gcc -print-prog-name=ld gives a path.
4529   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4530 $as_echo_n "checking for ld used by $CC... " >&6; }
4531   case $host in
4532   *-*-mingw*)
4533     # gcc leaves a trailing carriage return which upsets mingw
4534     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4535   *)
4536     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4537   esac
4538   case $ac_prog in
4539     # Accept absolute paths.
4540     [\\/]* | ?:[\\/]*)
4541       re_direlt='/[^/][^/]*/\.\./'
4542       # Canonicalize the pathname of ld
4543       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4544       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4545         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4546       done
4547       test -z "$LD" && LD="$ac_prog"
4548       ;;
4549   "")
4550     # If it fails, then pretend we aren't using GCC.
4551     ac_prog=ld
4552     ;;
4553   *)
4554     # If it is relative, then search for the first ld in PATH.
4555     with_gnu_ld=unknown
4556     ;;
4557   esac
4558 elif test "$with_gnu_ld" = yes; then
4559   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4560 $as_echo_n "checking for GNU ld... " >&6; }
4561 else
4562   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4563 $as_echo_n "checking for non-GNU ld... " >&6; }
4564 fi
4565 if ${lt_cv_path_LD+:} false; then :
4566   $as_echo_n "(cached) " >&6
4567 else
4568   if test -z "$LD"; then
4569   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4570   for ac_dir in $PATH; do
4571     IFS="$lt_save_ifs"
4572     test -z "$ac_dir" && ac_dir=.
4573     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4574       lt_cv_path_LD="$ac_dir/$ac_prog"
4575       # Check to see if the program is GNU ld.  I'd rather use --version,
4576       # but apparently some variants of GNU ld only accept -v.
4577       # Break only if it was the GNU/non-GNU ld that we prefer.
4578       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4579       *GNU* | *'with BFD'*)
4580         test "$with_gnu_ld" != no && break
4581         ;;
4582       *)
4583         test "$with_gnu_ld" != yes && break
4584         ;;
4585       esac
4586     fi
4587   done
4588   IFS="$lt_save_ifs"
4589 else
4590   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4591 fi
4592 fi
4593
4594 LD="$lt_cv_path_LD"
4595 if test -n "$LD"; then
4596   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4597 $as_echo "$LD" >&6; }
4598 else
4599   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4600 $as_echo "no" >&6; }
4601 fi
4602 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4604 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4605 if ${lt_cv_prog_gnu_ld+:} false; then :
4606   $as_echo_n "(cached) " >&6
4607 else
4608   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4609 case `$LD -v 2>&1 </dev/null` in
4610 *GNU* | *'with BFD'*)
4611   lt_cv_prog_gnu_ld=yes
4612   ;;
4613 *)
4614   lt_cv_prog_gnu_ld=no
4615   ;;
4616 esac
4617 fi
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4619 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4620 with_gnu_ld=$lt_cv_prog_gnu_ld
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4631 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4632 if ${lt_cv_path_NM+:} false; then :
4633   $as_echo_n "(cached) " >&6
4634 else
4635   if test -n "$NM"; then
4636   # Let the user override the test.
4637   lt_cv_path_NM="$NM"
4638 else
4639   lt_nm_to_check="${ac_tool_prefix}nm"
4640   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4641     lt_nm_to_check="$lt_nm_to_check nm"
4642   fi
4643   for lt_tmp_nm in $lt_nm_to_check; do
4644     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4645     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4646       IFS="$lt_save_ifs"
4647       test -z "$ac_dir" && ac_dir=.
4648       tmp_nm="$ac_dir/$lt_tmp_nm"
4649       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4650         # Check to see if the nm accepts a BSD-compat flag.
4651         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4652         #   nm: unknown option "B" ignored
4653         # Tru64's nm complains that /dev/null is an invalid object file
4654         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4655         */dev/null* | *'Invalid file or object type'*)
4656           lt_cv_path_NM="$tmp_nm -B"
4657           break
4658           ;;
4659         *)
4660           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4661           */dev/null*)
4662             lt_cv_path_NM="$tmp_nm -p"
4663             break
4664             ;;
4665           *)
4666             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4667             continue # so that we can try to find one that supports BSD flags
4668             ;;
4669           esac
4670           ;;
4671         esac
4672       fi
4673     done
4674     IFS="$lt_save_ifs"
4675   done
4676   : ${lt_cv_path_NM=no}
4677 fi
4678 fi
4679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4680 $as_echo "$lt_cv_path_NM" >&6; }
4681 if test "$lt_cv_path_NM" != "no"; then
4682   NM="$lt_cv_path_NM"
4683 else
4684   # Didn't find any BSD compatible name lister, look for dumpbin.
4685   if test -n "$DUMPBIN"; then :
4686     # Let the user override the test.
4687   else
4688     if test -n "$ac_tool_prefix"; then
4689   for ac_prog in dumpbin "link -dump"
4690   do
4691     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4692 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4694 $as_echo_n "checking for $ac_word... " >&6; }
4695 if ${ac_cv_prog_DUMPBIN+:} false; then :
4696   $as_echo_n "(cached) " >&6
4697 else
4698   if test -n "$DUMPBIN"; then
4699   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4700 else
4701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4702 for as_dir in $PATH
4703 do
4704   IFS=$as_save_IFS
4705   test -z "$as_dir" && as_dir=.
4706     for ac_exec_ext in '' $ac_executable_extensions; do
4707   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4708     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4709     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4710     break 2
4711   fi
4712 done
4713   done
4714 IFS=$as_save_IFS
4715
4716 fi
4717 fi
4718 DUMPBIN=$ac_cv_prog_DUMPBIN
4719 if test -n "$DUMPBIN"; then
4720   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4721 $as_echo "$DUMPBIN" >&6; }
4722 else
4723   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4724 $as_echo "no" >&6; }
4725 fi
4726
4727
4728     test -n "$DUMPBIN" && break
4729   done
4730 fi
4731 if test -z "$DUMPBIN"; then
4732   ac_ct_DUMPBIN=$DUMPBIN
4733   for ac_prog in dumpbin "link -dump"
4734 do
4735   # Extract the first word of "$ac_prog", so it can be a program name with args.
4736 set dummy $ac_prog; ac_word=$2
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4738 $as_echo_n "checking for $ac_word... " >&6; }
4739 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4740   $as_echo_n "(cached) " >&6
4741 else
4742   if test -n "$ac_ct_DUMPBIN"; then
4743   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4744 else
4745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4746 for as_dir in $PATH
4747 do
4748   IFS=$as_save_IFS
4749   test -z "$as_dir" && as_dir=.
4750     for ac_exec_ext in '' $ac_executable_extensions; do
4751   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4752     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4753     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4754     break 2
4755   fi
4756 done
4757   done
4758 IFS=$as_save_IFS
4759
4760 fi
4761 fi
4762 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4763 if test -n "$ac_ct_DUMPBIN"; then
4764   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4765 $as_echo "$ac_ct_DUMPBIN" >&6; }
4766 else
4767   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4768 $as_echo "no" >&6; }
4769 fi
4770
4771
4772   test -n "$ac_ct_DUMPBIN" && break
4773 done
4774
4775   if test "x$ac_ct_DUMPBIN" = x; then
4776     DUMPBIN=":"
4777   else
4778     case $cross_compiling:$ac_tool_warned in
4779 yes:)
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4781 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4782 ac_tool_warned=yes ;;
4783 esac
4784     DUMPBIN=$ac_ct_DUMPBIN
4785   fi
4786 fi
4787
4788     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4789     *COFF*)
4790       DUMPBIN="$DUMPBIN -symbols"
4791       ;;
4792     *)
4793       DUMPBIN=:
4794       ;;
4795     esac
4796   fi
4797
4798   if test "$DUMPBIN" != ":"; then
4799     NM="$DUMPBIN"
4800   fi
4801 fi
4802 test -z "$NM" && NM=nm
4803
4804
4805
4806
4807
4808
4809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4810 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4811 if ${lt_cv_nm_interface+:} false; then :
4812   $as_echo_n "(cached) " >&6
4813 else
4814   lt_cv_nm_interface="BSD nm"
4815   echo "int some_variable = 0;" > conftest.$ac_ext
4816   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4817   (eval "$ac_compile" 2>conftest.err)
4818   cat conftest.err >&5
4819   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4820   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4821   cat conftest.err >&5
4822   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4823   cat conftest.out >&5
4824   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4825     lt_cv_nm_interface="MS dumpbin"
4826   fi
4827   rm -f conftest*
4828 fi
4829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4830 $as_echo "$lt_cv_nm_interface" >&6; }
4831
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4833 $as_echo_n "checking whether ln -s works... " >&6; }
4834 LN_S=$as_ln_s
4835 if test "$LN_S" = "ln -s"; then
4836   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4837 $as_echo "yes" >&6; }
4838 else
4839   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4840 $as_echo "no, using $LN_S" >&6; }
4841 fi
4842
4843 # find the maximum length of command line arguments
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4845 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4846 if ${lt_cv_sys_max_cmd_len+:} false; then :
4847   $as_echo_n "(cached) " >&6
4848 else
4849     i=0
4850   teststring="ABCD"
4851
4852   case $build_os in
4853   msdosdjgpp*)
4854     # On DJGPP, this test can blow up pretty badly due to problems in libc
4855     # (any single argument exceeding 2000 bytes causes a buffer overrun
4856     # during glob expansion).  Even if it were fixed, the result of this
4857     # check would be larger than it should be.
4858     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4859     ;;
4860
4861   gnu*)
4862     # Under GNU Hurd, this test is not required because there is
4863     # no limit to the length of command line arguments.
4864     # Libtool will interpret -1 as no limit whatsoever
4865     lt_cv_sys_max_cmd_len=-1;
4866     ;;
4867
4868   cygwin* | mingw* | cegcc*)
4869     # On Win9x/ME, this test blows up -- it succeeds, but takes
4870     # about 5 minutes as the teststring grows exponentially.
4871     # Worse, since 9x/ME are not pre-emptively multitasking,
4872     # you end up with a "frozen" computer, even though with patience
4873     # the test eventually succeeds (with a max line length of 256k).
4874     # Instead, let's just punt: use the minimum linelength reported by
4875     # all of the supported platforms: 8192 (on NT/2K/XP).
4876     lt_cv_sys_max_cmd_len=8192;
4877     ;;
4878
4879   mint*)
4880     # On MiNT this can take a long time and run out of memory.
4881     lt_cv_sys_max_cmd_len=8192;
4882     ;;
4883
4884   amigaos*)
4885     # On AmigaOS with pdksh, this test takes hours, literally.
4886     # So we just punt and use a minimum line length of 8192.
4887     lt_cv_sys_max_cmd_len=8192;
4888     ;;
4889
4890   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4891     # This has been around since 386BSD, at least.  Likely further.
4892     if test -x /sbin/sysctl; then
4893       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4894     elif test -x /usr/sbin/sysctl; then
4895       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4896     else
4897       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
4898     fi
4899     # And add a safety zone
4900     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4901     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4902     ;;
4903
4904   interix*)
4905     # We know the value 262144 and hardcode it with a safety zone (like BSD)
4906     lt_cv_sys_max_cmd_len=196608
4907     ;;
4908
4909   os2*)
4910     # The test takes a long time on OS/2.
4911     lt_cv_sys_max_cmd_len=8192
4912     ;;
4913
4914   osf*)
4915     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4916     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4917     # nice to cause kernel panics so lets avoid the loop below.
4918     # First set a reasonable default.
4919     lt_cv_sys_max_cmd_len=16384
4920     #
4921     if test -x /sbin/sysconfig; then
4922       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4923         *1*) lt_cv_sys_max_cmd_len=-1 ;;
4924       esac
4925     fi
4926     ;;
4927   sco3.2v5*)
4928     lt_cv_sys_max_cmd_len=102400
4929     ;;
4930   sysv5* | sco5v6* | sysv4.2uw2*)
4931     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4932     if test -n "$kargmax"; then
4933       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
4934     else
4935       lt_cv_sys_max_cmd_len=32768
4936     fi
4937     ;;
4938   *)
4939     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4940     if test -n "$lt_cv_sys_max_cmd_len" && \
4941         test undefined != "$lt_cv_sys_max_cmd_len"; then
4942       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4943       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4944     else
4945       # Make teststring a little bigger before we do anything with it.
4946       # a 1K string should be a reasonable start.
4947       for i in 1 2 3 4 5 6 7 8 ; do
4948         teststring=$teststring$teststring
4949       done
4950       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4951       # If test is not a shell built-in, we'll probably end up computing a
4952       # maximum length that is only half of the actual maximum length, but
4953       # we can't tell.
4954       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
4955                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4956               test $i != 17 # 1/2 MB should be enough
4957       do
4958         i=`expr $i + 1`
4959         teststring=$teststring$teststring
4960       done
4961       # Only check the string length outside the loop.
4962       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4963       teststring=
4964       # Add a significant safety factor because C++ compilers can tack on
4965       # massive amounts of additional arguments before passing them to the
4966       # linker.  It appears as though 1/2 is a usable value.
4967       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4968     fi
4969     ;;
4970   esac
4971
4972 fi
4973
4974 if test -n $lt_cv_sys_max_cmd_len ; then
4975   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4976 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4977 else
4978   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4979 $as_echo "none" >&6; }
4980 fi
4981 max_cmd_len=$lt_cv_sys_max_cmd_len
4982
4983
4984
4985
4986
4987
4988 : ${CP="cp -f"}
4989 : ${MV="mv -f"}
4990 : ${RM="rm -f"}
4991
4992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4993 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4994 # Try some XSI features
4995 xsi_shell=no
4996 ( _lt_dummy="a/b/c"
4997   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4998       = c,a/b,b/c, \
4999     && eval 'test $(( 1 + 1 )) -eq 2 \
5000     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5001   && xsi_shell=yes
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5003 $as_echo "$xsi_shell" >&6; }
5004
5005
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5007 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5008 lt_shell_append=no
5009 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5010     >/dev/null 2>&1 \
5011   && lt_shell_append=yes
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5013 $as_echo "$lt_shell_append" >&6; }
5014
5015
5016 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5017   lt_unset=unset
5018 else
5019   lt_unset=false
5020 fi
5021
5022
5023
5024
5025
5026 # test EBCDIC or ASCII
5027 case `echo X|tr X '\101'` in
5028  A) # ASCII based system
5029     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5030   lt_SP2NL='tr \040 \012'
5031   lt_NL2SP='tr \015\012 \040\040'
5032   ;;
5033  *) # EBCDIC based system
5034   lt_SP2NL='tr \100 \n'
5035   lt_NL2SP='tr \r\n \100\100'
5036   ;;
5037 esac
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5048 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5049 if ${lt_cv_to_host_file_cmd+:} false; then :
5050   $as_echo_n "(cached) " >&6
5051 else
5052   case $host in
5053   *-*-mingw* )
5054     case $build in
5055       *-*-mingw* ) # actually msys
5056         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5057         ;;
5058       *-*-cygwin* )
5059         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5060         ;;
5061       * ) # otherwise, assume *nix
5062         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5063         ;;
5064     esac
5065     ;;
5066   *-*-cygwin* )
5067     case $build in
5068       *-*-mingw* ) # actually msys
5069         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5070         ;;
5071       *-*-cygwin* )
5072         lt_cv_to_host_file_cmd=func_convert_file_noop
5073         ;;
5074       * ) # otherwise, assume *nix
5075         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5076         ;;
5077     esac
5078     ;;
5079   * ) # unhandled hosts (and "normal" native builds)
5080     lt_cv_to_host_file_cmd=func_convert_file_noop
5081     ;;
5082 esac
5083
5084 fi
5085
5086 to_host_file_cmd=$lt_cv_to_host_file_cmd
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5088 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5089
5090
5091
5092
5093
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5095 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5096 if ${lt_cv_to_tool_file_cmd+:} false; then :
5097   $as_echo_n "(cached) " >&6
5098 else
5099   #assume ordinary cross tools, or native build.
5100 lt_cv_to_tool_file_cmd=func_convert_file_noop
5101 case $host in
5102   *-*-mingw* )
5103     case $build in
5104       *-*-mingw* ) # actually msys
5105         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5106         ;;
5107     esac
5108     ;;
5109 esac
5110
5111 fi
5112
5113 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5115 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5116
5117
5118
5119
5120
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5122 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5123 if ${lt_cv_ld_reload_flag+:} false; then :
5124   $as_echo_n "(cached) " >&6
5125 else
5126   lt_cv_ld_reload_flag='-r'
5127 fi
5128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5129 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5130 reload_flag=$lt_cv_ld_reload_flag
5131 case $reload_flag in
5132 "" | " "*) ;;
5133 *) reload_flag=" $reload_flag" ;;
5134 esac
5135 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5136 case $host_os in
5137   cygwin* | mingw* | pw32* | cegcc*)
5138     if test "$GCC" != yes; then
5139       reload_cmds=false
5140     fi
5141     ;;
5142   darwin*)
5143     if test "$GCC" = yes; then
5144       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5145     else
5146       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5147     fi
5148     ;;
5149 esac
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159 if test -n "$ac_tool_prefix"; then
5160   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5161 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5163 $as_echo_n "checking for $ac_word... " >&6; }
5164 if ${ac_cv_prog_OBJDUMP+:} false; then :
5165   $as_echo_n "(cached) " >&6
5166 else
5167   if test -n "$OBJDUMP"; then
5168   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5169 else
5170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5171 for as_dir in $PATH
5172 do
5173   IFS=$as_save_IFS
5174   test -z "$as_dir" && as_dir=.
5175     for ac_exec_ext in '' $ac_executable_extensions; do
5176   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5177     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5178     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5179     break 2
5180   fi
5181 done
5182   done
5183 IFS=$as_save_IFS
5184
5185 fi
5186 fi
5187 OBJDUMP=$ac_cv_prog_OBJDUMP
5188 if test -n "$OBJDUMP"; then
5189   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5190 $as_echo "$OBJDUMP" >&6; }
5191 else
5192   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5193 $as_echo "no" >&6; }
5194 fi
5195
5196
5197 fi
5198 if test -z "$ac_cv_prog_OBJDUMP"; then
5199   ac_ct_OBJDUMP=$OBJDUMP
5200   # Extract the first word of "objdump", so it can be a program name with args.
5201 set dummy objdump; ac_word=$2
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5203 $as_echo_n "checking for $ac_word... " >&6; }
5204 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5205   $as_echo_n "(cached) " >&6
5206 else
5207   if test -n "$ac_ct_OBJDUMP"; then
5208   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5209 else
5210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5211 for as_dir in $PATH
5212 do
5213   IFS=$as_save_IFS
5214   test -z "$as_dir" && as_dir=.
5215     for ac_exec_ext in '' $ac_executable_extensions; do
5216   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5217     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5218     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5219     break 2
5220   fi
5221 done
5222   done
5223 IFS=$as_save_IFS
5224
5225 fi
5226 fi
5227 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5228 if test -n "$ac_ct_OBJDUMP"; then
5229   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5230 $as_echo "$ac_ct_OBJDUMP" >&6; }
5231 else
5232   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5233 $as_echo "no" >&6; }
5234 fi
5235
5236   if test "x$ac_ct_OBJDUMP" = x; then
5237     OBJDUMP="false"
5238   else
5239     case $cross_compiling:$ac_tool_warned in
5240 yes:)
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5242 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5243 ac_tool_warned=yes ;;
5244 esac
5245     OBJDUMP=$ac_ct_OBJDUMP
5246   fi
5247 else
5248   OBJDUMP="$ac_cv_prog_OBJDUMP"
5249 fi
5250
5251 test -z "$OBJDUMP" && OBJDUMP=objdump
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5262 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5263 if ${lt_cv_deplibs_check_method+:} false; then :
5264   $as_echo_n "(cached) " >&6
5265 else
5266   lt_cv_file_magic_cmd='$MAGIC_CMD'
5267 lt_cv_file_magic_test_file=
5268 lt_cv_deplibs_check_method='unknown'
5269 # Need to set the preceding variable on all platforms that support
5270 # interlibrary dependencies.
5271 # 'none' -- dependencies not supported.
5272 # `unknown' -- same as none, but documents that we really don't know.
5273 # 'pass_all' -- all dependencies passed with no checks.
5274 # 'test_compile' -- check by making test program.
5275 # 'file_magic [[regex]]' -- check by looking for files in library path
5276 # which responds to the $file_magic_cmd with a given extended regex.
5277 # If you have `file' or equivalent on your system and you're not sure
5278 # whether `pass_all' will *always* work, you probably want this one.
5279
5280 case $host_os in
5281 aix[4-9]*)
5282   lt_cv_deplibs_check_method=pass_all
5283   ;;
5284
5285 beos*)
5286   lt_cv_deplibs_check_method=pass_all
5287   ;;
5288
5289 bsdi[45]*)
5290   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5291   lt_cv_file_magic_cmd='/usr/bin/file -L'
5292   lt_cv_file_magic_test_file=/shlib/libc.so
5293   ;;
5294
5295 cygwin*)
5296   # func_win32_libid is a shell function defined in ltmain.sh
5297   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5298   lt_cv_file_magic_cmd='func_win32_libid'
5299   ;;
5300
5301 mingw* | pw32*)
5302   # Base MSYS/MinGW do not provide the 'file' command needed by
5303   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5304   # unless we find 'file', for example because we are cross-compiling.
5305   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5306   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5307     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5308     lt_cv_file_magic_cmd='func_win32_libid'
5309   else
5310     # Keep this pattern in sync with the one in func_win32_libid.
5311     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5312     lt_cv_file_magic_cmd='$OBJDUMP -f'
5313   fi
5314   ;;
5315
5316 cegcc*)
5317   # use the weaker test based on 'objdump'. See mingw*.
5318   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5319   lt_cv_file_magic_cmd='$OBJDUMP -f'
5320   ;;
5321
5322 darwin* | rhapsody*)
5323   lt_cv_deplibs_check_method=pass_all
5324   ;;
5325
5326 freebsd* | dragonfly*)
5327   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5328     case $host_cpu in
5329     i*86 )
5330       # Not sure whether the presence of OpenBSD here was a mistake.
5331       # Let's accept both of them until this is cleared up.
5332       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5333       lt_cv_file_magic_cmd=/usr/bin/file
5334       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5335       ;;
5336     esac
5337   else
5338     lt_cv_deplibs_check_method=pass_all
5339   fi
5340   ;;
5341
5342 haiku*)
5343   lt_cv_deplibs_check_method=pass_all
5344   ;;
5345
5346 hpux10.20* | hpux11*)
5347   lt_cv_file_magic_cmd=/usr/bin/file
5348   case $host_cpu in
5349   ia64*)
5350     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5351     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5352     ;;
5353   hppa*64*)
5354     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]'
5355     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5356     ;;
5357   *)
5358     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5359     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5360     ;;
5361   esac
5362   ;;
5363
5364 interix[3-9]*)
5365   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5366   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5367   ;;
5368
5369 irix5* | irix6* | nonstopux*)
5370   case $LD in
5371   *-32|*"-32 ") libmagic=32-bit;;
5372   *-n32|*"-n32 ") libmagic=N32;;
5373   *-64|*"-64 ") libmagic=64-bit;;
5374   *) libmagic=never-match;;
5375   esac
5376   lt_cv_deplibs_check_method=pass_all
5377   ;;
5378
5379 # This must be glibc/ELF.
5380 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5381   lt_cv_deplibs_check_method=pass_all
5382   ;;
5383
5384 netbsd* | netbsdelf*-gnu)
5385   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5386     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5387   else
5388     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5389   fi
5390   ;;
5391
5392 newos6*)
5393   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5394   lt_cv_file_magic_cmd=/usr/bin/file
5395   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5396   ;;
5397
5398 *nto* | *qnx*)
5399   lt_cv_deplibs_check_method=pass_all
5400   ;;
5401
5402 openbsd*)
5403   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5404     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5405   else
5406     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5407   fi
5408   ;;
5409
5410 osf3* | osf4* | osf5*)
5411   lt_cv_deplibs_check_method=pass_all
5412   ;;
5413
5414 rdos*)
5415   lt_cv_deplibs_check_method=pass_all
5416   ;;
5417
5418 solaris*)
5419   lt_cv_deplibs_check_method=pass_all
5420   ;;
5421
5422 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5423   lt_cv_deplibs_check_method=pass_all
5424   ;;
5425
5426 sysv4 | sysv4.3*)
5427   case $host_vendor in
5428   motorola)
5429     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]'
5430     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5431     ;;
5432   ncr)
5433     lt_cv_deplibs_check_method=pass_all
5434     ;;
5435   sequent)
5436     lt_cv_file_magic_cmd='/bin/file'
5437     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5438     ;;
5439   sni)
5440     lt_cv_file_magic_cmd='/bin/file'
5441     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5442     lt_cv_file_magic_test_file=/lib/libc.so
5443     ;;
5444   siemens)
5445     lt_cv_deplibs_check_method=pass_all
5446     ;;
5447   pc)
5448     lt_cv_deplibs_check_method=pass_all
5449     ;;
5450   esac
5451   ;;
5452
5453 tpf*)
5454   lt_cv_deplibs_check_method=pass_all
5455   ;;
5456 esac
5457
5458 fi
5459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5460 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5461
5462 file_magic_glob=
5463 want_nocaseglob=no
5464 if test "$build" = "$host"; then
5465   case $host_os in
5466   mingw* | pw32*)
5467     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5468       want_nocaseglob=yes
5469     else
5470       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5471     fi
5472     ;;
5473   esac
5474 fi
5475
5476 file_magic_cmd=$lt_cv_file_magic_cmd
5477 deplibs_check_method=$lt_cv_deplibs_check_method
5478 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501 if test -n "$ac_tool_prefix"; then
5502   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5503 set dummy ${ac_tool_prefix}dlltool; 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_DLLTOOL+:} false; then :
5507   $as_echo_n "(cached) " >&6
5508 else
5509   if test -n "$DLLTOOL"; then
5510   ac_cv_prog_DLLTOOL="$DLLTOOL" # 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 as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5519     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
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 DLLTOOL=$ac_cv_prog_DLLTOOL
5530 if test -n "$DLLTOOL"; then
5531   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5532 $as_echo "$DLLTOOL" >&6; }
5533 else
5534   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5535 $as_echo "no" >&6; }
5536 fi
5537
5538
5539 fi
5540 if test -z "$ac_cv_prog_DLLTOOL"; then
5541   ac_ct_DLLTOOL=$DLLTOOL
5542   # Extract the first word of "dlltool", so it can be a program name with args.
5543 set dummy dlltool; ac_word=$2
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5545 $as_echo_n "checking for $ac_word... " >&6; }
5546 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5547   $as_echo_n "(cached) " >&6
5548 else
5549   if test -n "$ac_ct_DLLTOOL"; then
5550   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5551 else
5552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5553 for as_dir in $PATH
5554 do
5555   IFS=$as_save_IFS
5556   test -z "$as_dir" && as_dir=.
5557     for ac_exec_ext in '' $ac_executable_extensions; do
5558   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5559     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5560     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5561     break 2
5562   fi
5563 done
5564   done
5565 IFS=$as_save_IFS
5566
5567 fi
5568 fi
5569 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5570 if test -n "$ac_ct_DLLTOOL"; then
5571   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5572 $as_echo "$ac_ct_DLLTOOL" >&6; }
5573 else
5574   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5575 $as_echo "no" >&6; }
5576 fi
5577
5578   if test "x$ac_ct_DLLTOOL" = x; then
5579     DLLTOOL="false"
5580   else
5581     case $cross_compiling:$ac_tool_warned in
5582 yes:)
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5584 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5585 ac_tool_warned=yes ;;
5586 esac
5587     DLLTOOL=$ac_ct_DLLTOOL
5588   fi
5589 else
5590   DLLTOOL="$ac_cv_prog_DLLTOOL"
5591 fi
5592
5593 test -z "$DLLTOOL" && DLLTOOL=dlltool
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5605 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5606 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5607   $as_echo_n "(cached) " >&6
5608 else
5609   lt_cv_sharedlib_from_linklib_cmd='unknown'
5610
5611 case $host_os in
5612 cygwin* | mingw* | pw32* | cegcc*)
5613   # two different shell functions defined in ltmain.sh
5614   # decide which to use based on capabilities of $DLLTOOL
5615   case `$DLLTOOL --help 2>&1` in
5616   *--identify-strict*)
5617     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5618     ;;
5619   *)
5620     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5621     ;;
5622   esac
5623   ;;
5624 *)
5625   # fallback: assume linklib IS sharedlib
5626   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5627   ;;
5628 esac
5629
5630 fi
5631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5632 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5633 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5634 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5635
5636
5637
5638
5639
5640
5641
5642
5643 if test -n "$ac_tool_prefix"; then
5644   for ac_prog in ar
5645   do
5646     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5647 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5649 $as_echo_n "checking for $ac_word... " >&6; }
5650 if ${ac_cv_prog_AR+:} false; then :
5651   $as_echo_n "(cached) " >&6
5652 else
5653   if test -n "$AR"; then
5654   ac_cv_prog_AR="$AR" # Let the user override the test.
5655 else
5656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5657 for as_dir in $PATH
5658 do
5659   IFS=$as_save_IFS
5660   test -z "$as_dir" && as_dir=.
5661     for ac_exec_ext in '' $ac_executable_extensions; do
5662   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5663     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5664     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5665     break 2
5666   fi
5667 done
5668   done
5669 IFS=$as_save_IFS
5670
5671 fi
5672 fi
5673 AR=$ac_cv_prog_AR
5674 if test -n "$AR"; then
5675   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5676 $as_echo "$AR" >&6; }
5677 else
5678   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5679 $as_echo "no" >&6; }
5680 fi
5681
5682
5683     test -n "$AR" && break
5684   done
5685 fi
5686 if test -z "$AR"; then
5687   ac_ct_AR=$AR
5688   for ac_prog in ar
5689 do
5690   # Extract the first word of "$ac_prog", so it can be a program name with args.
5691 set dummy $ac_prog; ac_word=$2
5692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5693 $as_echo_n "checking for $ac_word... " >&6; }
5694 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5695   $as_echo_n "(cached) " >&6
5696 else
5697   if test -n "$ac_ct_AR"; then
5698   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5699 else
5700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5701 for as_dir in $PATH
5702 do
5703   IFS=$as_save_IFS
5704   test -z "$as_dir" && as_dir=.
5705     for ac_exec_ext in '' $ac_executable_extensions; do
5706   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5707     ac_cv_prog_ac_ct_AR="$ac_prog"
5708     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5709     break 2
5710   fi
5711 done
5712   done
5713 IFS=$as_save_IFS
5714
5715 fi
5716 fi
5717 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5718 if test -n "$ac_ct_AR"; then
5719   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5720 $as_echo "$ac_ct_AR" >&6; }
5721 else
5722   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5723 $as_echo "no" >&6; }
5724 fi
5725
5726
5727   test -n "$ac_ct_AR" && break
5728 done
5729
5730   if test "x$ac_ct_AR" = x; then
5731     AR="false"
5732   else
5733     case $cross_compiling:$ac_tool_warned in
5734 yes:)
5735 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5736 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5737 ac_tool_warned=yes ;;
5738 esac
5739     AR=$ac_ct_AR
5740   fi
5741 fi
5742
5743 : ${AR=ar}
5744 : ${AR_FLAGS=cru}
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5757 $as_echo_n "checking for archiver @FILE support... " >&6; }
5758 if ${lt_cv_ar_at_file+:} false; then :
5759   $as_echo_n "(cached) " >&6
5760 else
5761   lt_cv_ar_at_file=no
5762    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5763 /* end confdefs.h.  */
5764
5765 int
5766 main ()
5767 {
5768
5769   ;
5770   return 0;
5771 }
5772 _ACEOF
5773 if ac_fn_c_try_compile "$LINENO"; then :
5774   echo conftest.$ac_objext > conftest.lst
5775       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5776       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5777   (eval $lt_ar_try) 2>&5
5778   ac_status=$?
5779   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5780   test $ac_status = 0; }
5781       if test "$ac_status" -eq 0; then
5782         # Ensure the archiver fails upon bogus file names.
5783         rm -f conftest.$ac_objext libconftest.a
5784         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5785   (eval $lt_ar_try) 2>&5
5786   ac_status=$?
5787   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5788   test $ac_status = 0; }
5789         if test "$ac_status" -ne 0; then
5790           lt_cv_ar_at_file=@
5791         fi
5792       fi
5793       rm -f conftest.* libconftest.a
5794
5795 fi
5796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5797
5798 fi
5799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5800 $as_echo "$lt_cv_ar_at_file" >&6; }
5801
5802 if test "x$lt_cv_ar_at_file" = xno; then
5803   archiver_list_spec=
5804 else
5805   archiver_list_spec=$lt_cv_ar_at_file
5806 fi
5807
5808
5809
5810
5811
5812
5813
5814 if test -n "$ac_tool_prefix"; then
5815   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5816 set dummy ${ac_tool_prefix}strip; ac_word=$2
5817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5818 $as_echo_n "checking for $ac_word... " >&6; }
5819 if ${ac_cv_prog_STRIP+:} false; then :
5820   $as_echo_n "(cached) " >&6
5821 else
5822   if test -n "$STRIP"; then
5823   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5824 else
5825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5826 for as_dir in $PATH
5827 do
5828   IFS=$as_save_IFS
5829   test -z "$as_dir" && as_dir=.
5830     for ac_exec_ext in '' $ac_executable_extensions; do
5831   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5832     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5833     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5834     break 2
5835   fi
5836 done
5837   done
5838 IFS=$as_save_IFS
5839
5840 fi
5841 fi
5842 STRIP=$ac_cv_prog_STRIP
5843 if test -n "$STRIP"; then
5844   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5845 $as_echo "$STRIP" >&6; }
5846 else
5847   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5848 $as_echo "no" >&6; }
5849 fi
5850
5851
5852 fi
5853 if test -z "$ac_cv_prog_STRIP"; then
5854   ac_ct_STRIP=$STRIP
5855   # Extract the first word of "strip", so it can be a program name with args.
5856 set dummy strip; ac_word=$2
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5858 $as_echo_n "checking for $ac_word... " >&6; }
5859 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5860   $as_echo_n "(cached) " >&6
5861 else
5862   if test -n "$ac_ct_STRIP"; then
5863   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5864 else
5865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5866 for as_dir in $PATH
5867 do
5868   IFS=$as_save_IFS
5869   test -z "$as_dir" && as_dir=.
5870     for ac_exec_ext in '' $ac_executable_extensions; do
5871   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5872     ac_cv_prog_ac_ct_STRIP="strip"
5873     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5874     break 2
5875   fi
5876 done
5877   done
5878 IFS=$as_save_IFS
5879
5880 fi
5881 fi
5882 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5883 if test -n "$ac_ct_STRIP"; then
5884   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5885 $as_echo "$ac_ct_STRIP" >&6; }
5886 else
5887   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5888 $as_echo "no" >&6; }
5889 fi
5890
5891   if test "x$ac_ct_STRIP" = x; then
5892     STRIP=":"
5893   else
5894     case $cross_compiling:$ac_tool_warned in
5895 yes:)
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5897 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5898 ac_tool_warned=yes ;;
5899 esac
5900     STRIP=$ac_ct_STRIP
5901   fi
5902 else
5903   STRIP="$ac_cv_prog_STRIP"
5904 fi
5905
5906 test -z "$STRIP" && STRIP=:
5907
5908
5909
5910
5911
5912
5913 if test -n "$ac_tool_prefix"; then
5914   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5915 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5917 $as_echo_n "checking for $ac_word... " >&6; }
5918 if ${ac_cv_prog_RANLIB+:} false; then :
5919   $as_echo_n "(cached) " >&6
5920 else
5921   if test -n "$RANLIB"; then
5922   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5923 else
5924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5925 for as_dir in $PATH
5926 do
5927   IFS=$as_save_IFS
5928   test -z "$as_dir" && as_dir=.
5929     for ac_exec_ext in '' $ac_executable_extensions; do
5930   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5931     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5932     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5933     break 2
5934   fi
5935 done
5936   done
5937 IFS=$as_save_IFS
5938
5939 fi
5940 fi
5941 RANLIB=$ac_cv_prog_RANLIB
5942 if test -n "$RANLIB"; then
5943   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5944 $as_echo "$RANLIB" >&6; }
5945 else
5946   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5947 $as_echo "no" >&6; }
5948 fi
5949
5950
5951 fi
5952 if test -z "$ac_cv_prog_RANLIB"; then
5953   ac_ct_RANLIB=$RANLIB
5954   # Extract the first word of "ranlib", so it can be a program name with args.
5955 set dummy ranlib; ac_word=$2
5956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5957 $as_echo_n "checking for $ac_word... " >&6; }
5958 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5959   $as_echo_n "(cached) " >&6
5960 else
5961   if test -n "$ac_ct_RANLIB"; then
5962   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5963 else
5964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5965 for as_dir in $PATH
5966 do
5967   IFS=$as_save_IFS
5968   test -z "$as_dir" && as_dir=.
5969     for ac_exec_ext in '' $ac_executable_extensions; do
5970   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5971     ac_cv_prog_ac_ct_RANLIB="ranlib"
5972     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5973     break 2
5974   fi
5975 done
5976   done
5977 IFS=$as_save_IFS
5978
5979 fi
5980 fi
5981 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5982 if test -n "$ac_ct_RANLIB"; then
5983   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5984 $as_echo "$ac_ct_RANLIB" >&6; }
5985 else
5986   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5987 $as_echo "no" >&6; }
5988 fi
5989
5990   if test "x$ac_ct_RANLIB" = x; then
5991     RANLIB=":"
5992   else
5993     case $cross_compiling:$ac_tool_warned in
5994 yes:)
5995 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5996 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5997 ac_tool_warned=yes ;;
5998 esac
5999     RANLIB=$ac_ct_RANLIB
6000   fi
6001 else
6002   RANLIB="$ac_cv_prog_RANLIB"
6003 fi
6004
6005 test -z "$RANLIB" && RANLIB=:
6006
6007
6008
6009
6010
6011
6012 # Determine commands to create old-style static archives.
6013 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6014 old_postinstall_cmds='chmod 644 $oldlib'
6015 old_postuninstall_cmds=
6016
6017 if test -n "$RANLIB"; then
6018   case $host_os in
6019   openbsd*)
6020     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6021     ;;
6022   *)
6023     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6024     ;;
6025   esac
6026   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6027 fi
6028
6029 case $host_os in
6030   darwin*)
6031     lock_old_archive_extraction=yes ;;
6032   *)
6033     lock_old_archive_extraction=no ;;
6034 esac
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074 # If no C compiler was specified, use CC.
6075 LTCC=${LTCC-"$CC"}
6076
6077 # If no C compiler flags were specified, use CFLAGS.
6078 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6079
6080 # Allow CC to be a program name with arguments.
6081 compiler=$CC
6082
6083
6084 # Check for command to grab the raw symbol name followed by C symbol from nm.
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6086 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6087 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6088   $as_echo_n "(cached) " >&6
6089 else
6090
6091 # These are sane defaults that work on at least a few old systems.
6092 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6093
6094 # Character class describing NM global symbol codes.
6095 symcode='[BCDEGRST]'
6096
6097 # Regexp to match symbols that can be accessed directly from C.
6098 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6099
6100 # Define system-specific variables.
6101 case $host_os in
6102 aix*)
6103   symcode='[BCDT]'
6104   ;;
6105 cygwin* | mingw* | pw32* | cegcc*)
6106   symcode='[ABCDGISTW]'
6107   ;;
6108 hpux*)
6109   if test "$host_cpu" = ia64; then
6110     symcode='[ABCDEGRST]'
6111   fi
6112   ;;
6113 irix* | nonstopux*)
6114   symcode='[BCDEGRST]'
6115   ;;
6116 osf*)
6117   symcode='[BCDEGQRST]'
6118   ;;
6119 solaris*)
6120   symcode='[BDRT]'
6121   ;;
6122 sco3.2v5*)
6123   symcode='[DT]'
6124   ;;
6125 sysv4.2uw2*)
6126   symcode='[DT]'
6127   ;;
6128 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6129   symcode='[ABDT]'
6130   ;;
6131 sysv4)
6132   symcode='[DFNSTU]'
6133   ;;
6134 esac
6135
6136 # If we're using GNU nm, then use its standard symbol codes.
6137 case `$NM -V 2>&1` in
6138 *GNU* | *'with BFD'*)
6139   symcode='[ABCDGIRSTW]' ;;
6140 esac
6141
6142 # Transform an extracted symbol line into a proper C declaration.
6143 # Some systems (esp. on ia64) link data and code symbols differently,
6144 # so use this general approach.
6145 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6146
6147 # Transform an extracted symbol line into symbol name and symbol address
6148 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6149 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'"
6150
6151 # Handle CRLF in mingw tool chain
6152 opt_cr=
6153 case $build_os in
6154 mingw*)
6155   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6156   ;;
6157 esac
6158
6159 # Try without a prefix underscore, then with it.
6160 for ac_symprfx in "" "_"; do
6161
6162   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6163   symxfrm="\\1 $ac_symprfx\\2 \\2"
6164
6165   # Write the raw and C identifiers.
6166   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6167     # Fake it for dumpbin and say T for any non-static function
6168     # and D for any global variable.
6169     # Also find C++ and __fastcall symbols from MSVC++,
6170     # which start with @ or ?.
6171     lt_cv_sys_global_symbol_pipe="$AWK '"\
6172 "     {last_section=section; section=\$ 3};"\
6173 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6174 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6175 "     \$ 0!~/External *\|/{next};"\
6176 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6177 "     {if(hide[section]) next};"\
6178 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6179 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6180 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6181 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6182 "     ' prfx=^$ac_symprfx"
6183   else
6184     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6185   fi
6186   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6187
6188   # Check to see that the pipe works correctly.
6189   pipe_works=no
6190
6191   rm -f conftest*
6192   cat > conftest.$ac_ext <<_LT_EOF
6193 #ifdef __cplusplus
6194 extern "C" {
6195 #endif
6196 char nm_test_var;
6197 void nm_test_func(void);
6198 void nm_test_func(void){}
6199 #ifdef __cplusplus
6200 }
6201 #endif
6202 int main(){nm_test_var='a';nm_test_func();return(0);}
6203 _LT_EOF
6204
6205   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6206   (eval $ac_compile) 2>&5
6207   ac_status=$?
6208   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6209   test $ac_status = 0; }; then
6210     # Now try to grab the symbols.
6211     nlist=conftest.nm
6212     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6213   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6214   ac_status=$?
6215   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6216   test $ac_status = 0; } && test -s "$nlist"; then
6217       # Try sorting and uniquifying the output.
6218       if sort "$nlist" | uniq > "$nlist"T; then
6219         mv -f "$nlist"T "$nlist"
6220       else
6221         rm -f "$nlist"T
6222       fi
6223
6224       # Make sure that we snagged all the symbols we need.
6225       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6226         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6227           cat <<_LT_EOF > conftest.$ac_ext
6228 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6229 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6230 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6231    relocations are performed -- see ld's documentation on pseudo-relocs.  */
6232 # define LT_DLSYM_CONST
6233 #elif defined(__osf__)
6234 /* This system does not cope well with relocations in const data.  */
6235 # define LT_DLSYM_CONST
6236 #else
6237 # define LT_DLSYM_CONST const
6238 #endif
6239
6240 #ifdef __cplusplus
6241 extern "C" {
6242 #endif
6243
6244 _LT_EOF
6245           # Now generate the symbol file.
6246           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6247
6248           cat <<_LT_EOF >> conftest.$ac_ext
6249
6250 /* The mapping between symbol names and symbols.  */
6251 LT_DLSYM_CONST struct {
6252   const char *name;
6253   void       *address;
6254 }
6255 lt__PROGRAM__LTX_preloaded_symbols[] =
6256 {
6257   { "@PROGRAM@", (void *) 0 },
6258 _LT_EOF
6259           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6260           cat <<\_LT_EOF >> conftest.$ac_ext
6261   {0, (void *) 0}
6262 };
6263
6264 /* This works around a problem in FreeBSD linker */
6265 #ifdef FREEBSD_WORKAROUND
6266 static const void *lt_preloaded_setup() {
6267   return lt__PROGRAM__LTX_preloaded_symbols;
6268 }
6269 #endif
6270
6271 #ifdef __cplusplus
6272 }
6273 #endif
6274 _LT_EOF
6275           # Now try linking the two files.
6276           mv conftest.$ac_objext conftstm.$ac_objext
6277           lt_globsym_save_LIBS=$LIBS
6278           lt_globsym_save_CFLAGS=$CFLAGS
6279           LIBS="conftstm.$ac_objext"
6280           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6281           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6282   (eval $ac_link) 2>&5
6283   ac_status=$?
6284   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6285   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6286             pipe_works=yes
6287           fi
6288           LIBS=$lt_globsym_save_LIBS
6289           CFLAGS=$lt_globsym_save_CFLAGS
6290         else
6291           echo "cannot find nm_test_func in $nlist" >&5
6292         fi
6293       else
6294         echo "cannot find nm_test_var in $nlist" >&5
6295       fi
6296     else
6297       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6298     fi
6299   else
6300     echo "$progname: failed program was:" >&5
6301     cat conftest.$ac_ext >&5
6302   fi
6303   rm -rf conftest* conftst*
6304
6305   # Do not use the global_symbol_pipe unless it works.
6306   if test "$pipe_works" = yes; then
6307     break
6308   else
6309     lt_cv_sys_global_symbol_pipe=
6310   fi
6311 done
6312
6313 fi
6314
6315 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6316   lt_cv_sys_global_symbol_to_cdecl=
6317 fi
6318 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6319   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6320 $as_echo "failed" >&6; }
6321 else
6322   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6323 $as_echo "ok" >&6; }
6324 fi
6325
6326 # Response file support.
6327 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6328   nm_file_list_spec='@'
6329 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6330   nm_file_list_spec='@'
6331 fi
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6360 $as_echo_n "checking for sysroot... " >&6; }
6361
6362 # Check whether --with-sysroot was given.
6363 if test "${with_sysroot+set}" = set; then :
6364   withval=$with_sysroot;
6365 else
6366   with_sysroot=no
6367 fi
6368
6369
6370 lt_sysroot=
6371 case ${with_sysroot} in #(
6372  yes)
6373    if test "$GCC" = yes; then
6374      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6375    fi
6376    ;; #(
6377  /*)
6378    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6379    ;; #(
6380  no|'')
6381    ;; #(
6382  *)
6383    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6384 $as_echo "${with_sysroot}" >&6; }
6385    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6386    ;;
6387 esac
6388
6389  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6390 $as_echo "${lt_sysroot:-no}" >&6; }
6391
6392
6393
6394
6395
6396 # Check whether --enable-libtool-lock was given.
6397 if test "${enable_libtool_lock+set}" = set; then :
6398   enableval=$enable_libtool_lock;
6399 fi
6400
6401 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6402
6403 # Some flags need to be propagated to the compiler or linker for good
6404 # libtool support.
6405 case $host in
6406 ia64-*-hpux*)
6407   # Find out which ABI we are using.
6408   echo 'int i;' > conftest.$ac_ext
6409   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6410   (eval $ac_compile) 2>&5
6411   ac_status=$?
6412   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6413   test $ac_status = 0; }; then
6414     case `/usr/bin/file conftest.$ac_objext` in
6415       *ELF-32*)
6416         HPUX_IA64_MODE="32"
6417         ;;
6418       *ELF-64*)
6419         HPUX_IA64_MODE="64"
6420         ;;
6421     esac
6422   fi
6423   rm -rf conftest*
6424   ;;
6425 *-*-irix6*)
6426   # Find out which ABI we are using.
6427   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6428   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6429   (eval $ac_compile) 2>&5
6430   ac_status=$?
6431   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6432   test $ac_status = 0; }; then
6433     if test "$lt_cv_prog_gnu_ld" = yes; then
6434       case `/usr/bin/file conftest.$ac_objext` in
6435         *32-bit*)
6436           LD="${LD-ld} -melf32bsmip"
6437           ;;
6438         *N32*)
6439           LD="${LD-ld} -melf32bmipn32"
6440           ;;
6441         *64-bit*)
6442           LD="${LD-ld} -melf64bmip"
6443         ;;
6444       esac
6445     else
6446       case `/usr/bin/file conftest.$ac_objext` in
6447         *32-bit*)
6448           LD="${LD-ld} -32"
6449           ;;
6450         *N32*)
6451           LD="${LD-ld} -n32"
6452           ;;
6453         *64-bit*)
6454           LD="${LD-ld} -64"
6455           ;;
6456       esac
6457     fi
6458   fi
6459   rm -rf conftest*
6460   ;;
6461
6462 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6463 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6464   # Find out which ABI we are using.
6465   echo 'int i;' > conftest.$ac_ext
6466   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6467   (eval $ac_compile) 2>&5
6468   ac_status=$?
6469   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6470   test $ac_status = 0; }; then
6471     case `/usr/bin/file conftest.o` in
6472       *32-bit*)
6473         case $host in
6474           x86_64-*kfreebsd*-gnu)
6475             LD="${LD-ld} -m elf_i386_fbsd"
6476             ;;
6477           x86_64-*linux*)
6478             case `/usr/bin/file conftest.o` in
6479               *x86-64*)
6480                 LD="${LD-ld} -m elf32_x86_64"
6481                 ;;
6482               *)
6483                 LD="${LD-ld} -m elf_i386"
6484                 ;;
6485             esac
6486             ;;
6487           powerpc64le-*)
6488             LD="${LD-ld} -m elf32lppclinux"
6489             ;;
6490           powerpc64-*)
6491             LD="${LD-ld} -m elf32ppclinux"
6492             ;;
6493           s390x-*linux*)
6494             LD="${LD-ld} -m elf_s390"
6495             ;;
6496           sparc64-*linux*)
6497             LD="${LD-ld} -m elf32_sparc"
6498             ;;
6499         esac
6500         ;;
6501       *64-bit*)
6502         case $host in
6503           x86_64-*kfreebsd*-gnu)
6504             LD="${LD-ld} -m elf_x86_64_fbsd"
6505             ;;
6506           x86_64-*linux*)
6507             LD="${LD-ld} -m elf_x86_64"
6508             ;;
6509           powerpcle-*)
6510             LD="${LD-ld} -m elf64lppc"
6511             ;;
6512           powerpc-*)
6513             LD="${LD-ld} -m elf64ppc"
6514             ;;
6515           s390*-*linux*|s390*-*tpf*)
6516             LD="${LD-ld} -m elf64_s390"
6517             ;;
6518           sparc*-*linux*)
6519             LD="${LD-ld} -m elf64_sparc"
6520             ;;
6521         esac
6522         ;;
6523     esac
6524   fi
6525   rm -rf conftest*
6526   ;;
6527
6528 *-*-sco3.2v5*)
6529   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6530   SAVE_CFLAGS="$CFLAGS"
6531   CFLAGS="$CFLAGS -belf"
6532   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6533 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6534 if ${lt_cv_cc_needs_belf+:} false; then :
6535   $as_echo_n "(cached) " >&6
6536 else
6537   ac_ext=c
6538 ac_cpp='$CPP $CPPFLAGS'
6539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6542
6543      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6544 /* end confdefs.h.  */
6545
6546 int
6547 main ()
6548 {
6549
6550   ;
6551   return 0;
6552 }
6553 _ACEOF
6554 if ac_fn_c_try_link "$LINENO"; then :
6555   lt_cv_cc_needs_belf=yes
6556 else
6557   lt_cv_cc_needs_belf=no
6558 fi
6559 rm -f core conftest.err conftest.$ac_objext \
6560     conftest$ac_exeext conftest.$ac_ext
6561      ac_ext=c
6562 ac_cpp='$CPP $CPPFLAGS'
6563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6566
6567 fi
6568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6569 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6570   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6571     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6572     CFLAGS="$SAVE_CFLAGS"
6573   fi
6574   ;;
6575 *-*solaris*)
6576   # Find out which ABI we are using.
6577   echo 'int i;' > conftest.$ac_ext
6578   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6579   (eval $ac_compile) 2>&5
6580   ac_status=$?
6581   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6582   test $ac_status = 0; }; then
6583     case `/usr/bin/file conftest.o` in
6584     *64-bit*)
6585       case $lt_cv_prog_gnu_ld in
6586       yes*)
6587         case $host in
6588         i?86-*-solaris*)
6589           LD="${LD-ld} -m elf_x86_64"
6590           ;;
6591         sparc*-*-solaris*)
6592           LD="${LD-ld} -m elf64_sparc"
6593           ;;
6594         esac
6595         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6596         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6597           LD="${LD-ld}_sol2"
6598         fi
6599         ;;
6600       *)
6601         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6602           LD="${LD-ld} -64"
6603         fi
6604         ;;
6605       esac
6606       ;;
6607     esac
6608   fi
6609   rm -rf conftest*
6610   ;;
6611 esac
6612
6613 need_locks="$enable_libtool_lock"
6614
6615 if test -n "$ac_tool_prefix"; then
6616   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6617 set dummy ${ac_tool_prefix}mt; ac_word=$2
6618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6619 $as_echo_n "checking for $ac_word... " >&6; }
6620 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6621   $as_echo_n "(cached) " >&6
6622 else
6623   if test -n "$MANIFEST_TOOL"; then
6624   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6625 else
6626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6627 for as_dir in $PATH
6628 do
6629   IFS=$as_save_IFS
6630   test -z "$as_dir" && as_dir=.
6631     for ac_exec_ext in '' $ac_executable_extensions; do
6632   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6633     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6634     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6635     break 2
6636   fi
6637 done
6638   done
6639 IFS=$as_save_IFS
6640
6641 fi
6642 fi
6643 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6644 if test -n "$MANIFEST_TOOL"; then
6645   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6646 $as_echo "$MANIFEST_TOOL" >&6; }
6647 else
6648   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6649 $as_echo "no" >&6; }
6650 fi
6651
6652
6653 fi
6654 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6655   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6656   # Extract the first word of "mt", so it can be a program name with args.
6657 set dummy mt; ac_word=$2
6658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6659 $as_echo_n "checking for $ac_word... " >&6; }
6660 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6661   $as_echo_n "(cached) " >&6
6662 else
6663   if test -n "$ac_ct_MANIFEST_TOOL"; then
6664   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6665 else
6666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6667 for as_dir in $PATH
6668 do
6669   IFS=$as_save_IFS
6670   test -z "$as_dir" && as_dir=.
6671     for ac_exec_ext in '' $ac_executable_extensions; do
6672   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6673     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6674     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6675     break 2
6676   fi
6677 done
6678   done
6679 IFS=$as_save_IFS
6680
6681 fi
6682 fi
6683 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6684 if test -n "$ac_ct_MANIFEST_TOOL"; then
6685   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6686 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6687 else
6688   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6689 $as_echo "no" >&6; }
6690 fi
6691
6692   if test "x$ac_ct_MANIFEST_TOOL" = x; then
6693     MANIFEST_TOOL=":"
6694   else
6695     case $cross_compiling:$ac_tool_warned in
6696 yes:)
6697 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6698 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6699 ac_tool_warned=yes ;;
6700 esac
6701     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6702   fi
6703 else
6704   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6705 fi
6706
6707 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6709 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6710 if ${lt_cv_path_mainfest_tool+:} false; then :
6711   $as_echo_n "(cached) " >&6
6712 else
6713   lt_cv_path_mainfest_tool=no
6714   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6715   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6716   cat conftest.err >&5
6717   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6718     lt_cv_path_mainfest_tool=yes
6719   fi
6720   rm -f conftest*
6721 fi
6722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6723 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6724 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6725   MANIFEST_TOOL=:
6726 fi
6727
6728
6729
6730
6731
6732
6733   case $host_os in
6734     rhapsody* | darwin*)
6735     if test -n "$ac_tool_prefix"; then
6736   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6737 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6739 $as_echo_n "checking for $ac_word... " >&6; }
6740 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6741   $as_echo_n "(cached) " >&6
6742 else
6743   if test -n "$DSYMUTIL"; then
6744   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6745 else
6746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6747 for as_dir in $PATH
6748 do
6749   IFS=$as_save_IFS
6750   test -z "$as_dir" && as_dir=.
6751     for ac_exec_ext in '' $ac_executable_extensions; do
6752   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6753     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6754     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6755     break 2
6756   fi
6757 done
6758   done
6759 IFS=$as_save_IFS
6760
6761 fi
6762 fi
6763 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6764 if test -n "$DSYMUTIL"; then
6765   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6766 $as_echo "$DSYMUTIL" >&6; }
6767 else
6768   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6769 $as_echo "no" >&6; }
6770 fi
6771
6772
6773 fi
6774 if test -z "$ac_cv_prog_DSYMUTIL"; then
6775   ac_ct_DSYMUTIL=$DSYMUTIL
6776   # Extract the first word of "dsymutil", so it can be a program name with args.
6777 set dummy dsymutil; ac_word=$2
6778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6779 $as_echo_n "checking for $ac_word... " >&6; }
6780 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6781   $as_echo_n "(cached) " >&6
6782 else
6783   if test -n "$ac_ct_DSYMUTIL"; then
6784   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6785 else
6786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6787 for as_dir in $PATH
6788 do
6789   IFS=$as_save_IFS
6790   test -z "$as_dir" && as_dir=.
6791     for ac_exec_ext in '' $ac_executable_extensions; do
6792   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6793     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6794     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6795     break 2
6796   fi
6797 done
6798   done
6799 IFS=$as_save_IFS
6800
6801 fi
6802 fi
6803 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6804 if test -n "$ac_ct_DSYMUTIL"; then
6805   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6806 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6807 else
6808   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6809 $as_echo "no" >&6; }
6810 fi
6811
6812   if test "x$ac_ct_DSYMUTIL" = x; then
6813     DSYMUTIL=":"
6814   else
6815     case $cross_compiling:$ac_tool_warned in
6816 yes:)
6817 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6818 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6819 ac_tool_warned=yes ;;
6820 esac
6821     DSYMUTIL=$ac_ct_DSYMUTIL
6822   fi
6823 else
6824   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6825 fi
6826
6827     if test -n "$ac_tool_prefix"; then
6828   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6829 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6831 $as_echo_n "checking for $ac_word... " >&6; }
6832 if ${ac_cv_prog_NMEDIT+:} false; then :
6833   $as_echo_n "(cached) " >&6
6834 else
6835   if test -n "$NMEDIT"; then
6836   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6837 else
6838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6839 for as_dir in $PATH
6840 do
6841   IFS=$as_save_IFS
6842   test -z "$as_dir" && as_dir=.
6843     for ac_exec_ext in '' $ac_executable_extensions; do
6844   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6845     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6846     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6847     break 2
6848   fi
6849 done
6850   done
6851 IFS=$as_save_IFS
6852
6853 fi
6854 fi
6855 NMEDIT=$ac_cv_prog_NMEDIT
6856 if test -n "$NMEDIT"; then
6857   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6858 $as_echo "$NMEDIT" >&6; }
6859 else
6860   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6861 $as_echo "no" >&6; }
6862 fi
6863
6864
6865 fi
6866 if test -z "$ac_cv_prog_NMEDIT"; then
6867   ac_ct_NMEDIT=$NMEDIT
6868   # Extract the first word of "nmedit", so it can be a program name with args.
6869 set dummy nmedit; ac_word=$2
6870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6871 $as_echo_n "checking for $ac_word... " >&6; }
6872 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6873   $as_echo_n "(cached) " >&6
6874 else
6875   if test -n "$ac_ct_NMEDIT"; then
6876   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6877 else
6878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6879 for as_dir in $PATH
6880 do
6881   IFS=$as_save_IFS
6882   test -z "$as_dir" && as_dir=.
6883     for ac_exec_ext in '' $ac_executable_extensions; do
6884   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6885     ac_cv_prog_ac_ct_NMEDIT="nmedit"
6886     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6887     break 2
6888   fi
6889 done
6890   done
6891 IFS=$as_save_IFS
6892
6893 fi
6894 fi
6895 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6896 if test -n "$ac_ct_NMEDIT"; then
6897   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6898 $as_echo "$ac_ct_NMEDIT" >&6; }
6899 else
6900   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6901 $as_echo "no" >&6; }
6902 fi
6903
6904   if test "x$ac_ct_NMEDIT" = x; then
6905     NMEDIT=":"
6906   else
6907     case $cross_compiling:$ac_tool_warned in
6908 yes:)
6909 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6910 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6911 ac_tool_warned=yes ;;
6912 esac
6913     NMEDIT=$ac_ct_NMEDIT
6914   fi
6915 else
6916   NMEDIT="$ac_cv_prog_NMEDIT"
6917 fi
6918
6919     if test -n "$ac_tool_prefix"; then
6920   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6921 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6923 $as_echo_n "checking for $ac_word... " >&6; }
6924 if ${ac_cv_prog_LIPO+:} false; then :
6925   $as_echo_n "(cached) " >&6
6926 else
6927   if test -n "$LIPO"; then
6928   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6929 else
6930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6931 for as_dir in $PATH
6932 do
6933   IFS=$as_save_IFS
6934   test -z "$as_dir" && as_dir=.
6935     for ac_exec_ext in '' $ac_executable_extensions; do
6936   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6937     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6938     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6939     break 2
6940   fi
6941 done
6942   done
6943 IFS=$as_save_IFS
6944
6945 fi
6946 fi
6947 LIPO=$ac_cv_prog_LIPO
6948 if test -n "$LIPO"; then
6949   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6950 $as_echo "$LIPO" >&6; }
6951 else
6952   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6953 $as_echo "no" >&6; }
6954 fi
6955
6956
6957 fi
6958 if test -z "$ac_cv_prog_LIPO"; then
6959   ac_ct_LIPO=$LIPO
6960   # Extract the first word of "lipo", so it can be a program name with args.
6961 set dummy lipo; ac_word=$2
6962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6963 $as_echo_n "checking for $ac_word... " >&6; }
6964 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6965   $as_echo_n "(cached) " >&6
6966 else
6967   if test -n "$ac_ct_LIPO"; then
6968   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6969 else
6970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6971 for as_dir in $PATH
6972 do
6973   IFS=$as_save_IFS
6974   test -z "$as_dir" && as_dir=.
6975     for ac_exec_ext in '' $ac_executable_extensions; do
6976   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6977     ac_cv_prog_ac_ct_LIPO="lipo"
6978     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6979     break 2
6980   fi
6981 done
6982   done
6983 IFS=$as_save_IFS
6984
6985 fi
6986 fi
6987 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6988 if test -n "$ac_ct_LIPO"; then
6989   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6990 $as_echo "$ac_ct_LIPO" >&6; }
6991 else
6992   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6993 $as_echo "no" >&6; }
6994 fi
6995
6996   if test "x$ac_ct_LIPO" = x; then
6997     LIPO=":"
6998   else
6999     case $cross_compiling:$ac_tool_warned in
7000 yes:)
7001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7002 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7003 ac_tool_warned=yes ;;
7004 esac
7005     LIPO=$ac_ct_LIPO
7006   fi
7007 else
7008   LIPO="$ac_cv_prog_LIPO"
7009 fi
7010
7011     if test -n "$ac_tool_prefix"; then
7012   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7013 set dummy ${ac_tool_prefix}otool; ac_word=$2
7014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7015 $as_echo_n "checking for $ac_word... " >&6; }
7016 if ${ac_cv_prog_OTOOL+:} false; then :
7017   $as_echo_n "(cached) " >&6
7018 else
7019   if test -n "$OTOOL"; then
7020   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7021 else
7022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7023 for as_dir in $PATH
7024 do
7025   IFS=$as_save_IFS
7026   test -z "$as_dir" && as_dir=.
7027     for ac_exec_ext in '' $ac_executable_extensions; do
7028   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7029     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7030     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7031     break 2
7032   fi
7033 done
7034   done
7035 IFS=$as_save_IFS
7036
7037 fi
7038 fi
7039 OTOOL=$ac_cv_prog_OTOOL
7040 if test -n "$OTOOL"; then
7041   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7042 $as_echo "$OTOOL" >&6; }
7043 else
7044   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7045 $as_echo "no" >&6; }
7046 fi
7047
7048
7049 fi
7050 if test -z "$ac_cv_prog_OTOOL"; then
7051   ac_ct_OTOOL=$OTOOL
7052   # Extract the first word of "otool", so it can be a program name with args.
7053 set dummy otool; ac_word=$2
7054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7055 $as_echo_n "checking for $ac_word... " >&6; }
7056 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7057   $as_echo_n "(cached) " >&6
7058 else
7059   if test -n "$ac_ct_OTOOL"; then
7060   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7061 else
7062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7063 for as_dir in $PATH
7064 do
7065   IFS=$as_save_IFS
7066   test -z "$as_dir" && as_dir=.
7067     for ac_exec_ext in '' $ac_executable_extensions; do
7068   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7069     ac_cv_prog_ac_ct_OTOOL="otool"
7070     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7071     break 2
7072   fi
7073 done
7074   done
7075 IFS=$as_save_IFS
7076
7077 fi
7078 fi
7079 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7080 if test -n "$ac_ct_OTOOL"; then
7081   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7082 $as_echo "$ac_ct_OTOOL" >&6; }
7083 else
7084   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7085 $as_echo "no" >&6; }
7086 fi
7087
7088   if test "x$ac_ct_OTOOL" = x; then
7089     OTOOL=":"
7090   else
7091     case $cross_compiling:$ac_tool_warned in
7092 yes:)
7093 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7094 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7095 ac_tool_warned=yes ;;
7096 esac
7097     OTOOL=$ac_ct_OTOOL
7098   fi
7099 else
7100   OTOOL="$ac_cv_prog_OTOOL"
7101 fi
7102
7103     if test -n "$ac_tool_prefix"; then
7104   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7105 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7107 $as_echo_n "checking for $ac_word... " >&6; }
7108 if ${ac_cv_prog_OTOOL64+:} false; then :
7109   $as_echo_n "(cached) " >&6
7110 else
7111   if test -n "$OTOOL64"; then
7112   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7113 else
7114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7115 for as_dir in $PATH
7116 do
7117   IFS=$as_save_IFS
7118   test -z "$as_dir" && as_dir=.
7119     for ac_exec_ext in '' $ac_executable_extensions; do
7120   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7121     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7122     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7123     break 2
7124   fi
7125 done
7126   done
7127 IFS=$as_save_IFS
7128
7129 fi
7130 fi
7131 OTOOL64=$ac_cv_prog_OTOOL64
7132 if test -n "$OTOOL64"; then
7133   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7134 $as_echo "$OTOOL64" >&6; }
7135 else
7136   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7137 $as_echo "no" >&6; }
7138 fi
7139
7140
7141 fi
7142 if test -z "$ac_cv_prog_OTOOL64"; then
7143   ac_ct_OTOOL64=$OTOOL64
7144   # Extract the first word of "otool64", so it can be a program name with args.
7145 set dummy otool64; ac_word=$2
7146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7147 $as_echo_n "checking for $ac_word... " >&6; }
7148 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7149   $as_echo_n "(cached) " >&6
7150 else
7151   if test -n "$ac_ct_OTOOL64"; then
7152   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7153 else
7154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7155 for as_dir in $PATH
7156 do
7157   IFS=$as_save_IFS
7158   test -z "$as_dir" && as_dir=.
7159     for ac_exec_ext in '' $ac_executable_extensions; do
7160   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7161     ac_cv_prog_ac_ct_OTOOL64="otool64"
7162     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7163     break 2
7164   fi
7165 done
7166   done
7167 IFS=$as_save_IFS
7168
7169 fi
7170 fi
7171 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7172 if test -n "$ac_ct_OTOOL64"; then
7173   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7174 $as_echo "$ac_ct_OTOOL64" >&6; }
7175 else
7176   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7177 $as_echo "no" >&6; }
7178 fi
7179
7180   if test "x$ac_ct_OTOOL64" = x; then
7181     OTOOL64=":"
7182   else
7183     case $cross_compiling:$ac_tool_warned in
7184 yes:)
7185 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7186 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7187 ac_tool_warned=yes ;;
7188 esac
7189     OTOOL64=$ac_ct_OTOOL64
7190   fi
7191 else
7192   OTOOL64="$ac_cv_prog_OTOOL64"
7193 fi
7194
7195
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7222 $as_echo_n "checking for -single_module linker flag... " >&6; }
7223 if ${lt_cv_apple_cc_single_mod+:} false; then :
7224   $as_echo_n "(cached) " >&6
7225 else
7226   lt_cv_apple_cc_single_mod=no
7227       if test -z "${LT_MULTI_MODULE}"; then
7228         # By default we will add the -single_module flag. You can override
7229         # by either setting the environment variable LT_MULTI_MODULE
7230         # non-empty at configure time, or by adding -multi_module to the
7231         # link flags.
7232         rm -rf libconftest.dylib*
7233         echo "int foo(void){return 1;}" > conftest.c
7234         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7235 -dynamiclib -Wl,-single_module conftest.c" >&5
7236         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7237           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7238         _lt_result=$?
7239         # If there is a non-empty error log, and "single_module"
7240         # appears in it, assume the flag caused a linker warning
7241         if test -s conftest.err && $GREP single_module conftest.err; then
7242           cat conftest.err >&5
7243         # Otherwise, if the output was created with a 0 exit code from
7244         # the compiler, it worked.
7245         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7246           lt_cv_apple_cc_single_mod=yes
7247         else
7248           cat conftest.err >&5
7249         fi
7250         rm -rf libconftest.dylib*
7251         rm -f conftest.*
7252       fi
7253 fi
7254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7255 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7256
7257     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7258 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7259 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7260   $as_echo_n "(cached) " >&6
7261 else
7262   lt_cv_ld_exported_symbols_list=no
7263       save_LDFLAGS=$LDFLAGS
7264       echo "_main" > conftest.sym
7265       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7266       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7267 /* end confdefs.h.  */
7268
7269 int
7270 main ()
7271 {
7272
7273   ;
7274   return 0;
7275 }
7276 _ACEOF
7277 if ac_fn_c_try_link "$LINENO"; then :
7278   lt_cv_ld_exported_symbols_list=yes
7279 else
7280   lt_cv_ld_exported_symbols_list=no
7281 fi
7282 rm -f core conftest.err conftest.$ac_objext \
7283     conftest$ac_exeext conftest.$ac_ext
7284         LDFLAGS="$save_LDFLAGS"
7285
7286 fi
7287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7288 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7289
7290     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7291 $as_echo_n "checking for -force_load linker flag... " >&6; }
7292 if ${lt_cv_ld_force_load+:} false; then :
7293   $as_echo_n "(cached) " >&6
7294 else
7295   lt_cv_ld_force_load=no
7296       cat > conftest.c << _LT_EOF
7297 int forced_loaded() { return 2;}
7298 _LT_EOF
7299       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7300       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7301       echo "$AR cru libconftest.a conftest.o" >&5
7302       $AR cru libconftest.a conftest.o 2>&5
7303       echo "$RANLIB libconftest.a" >&5
7304       $RANLIB libconftest.a 2>&5
7305       cat > conftest.c << _LT_EOF
7306 int main() { return 0;}
7307 _LT_EOF
7308       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7309       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7310       _lt_result=$?
7311       if test -s conftest.err && $GREP force_load conftest.err; then
7312         cat conftest.err >&5
7313       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7314         lt_cv_ld_force_load=yes
7315       else
7316         cat conftest.err >&5
7317       fi
7318         rm -f conftest.err libconftest.a conftest conftest.c
7319         rm -rf conftest.dSYM
7320
7321 fi
7322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7323 $as_echo "$lt_cv_ld_force_load" >&6; }
7324     case $host_os in
7325     rhapsody* | darwin1.[012])
7326       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7327     darwin1.*)
7328       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7329     darwin*) # darwin 5.x on
7330       # if running on 10.5 or later, the deployment target defaults
7331       # to the OS version, if on x86, and 10.4, the deployment
7332       # target defaults to 10.4. Don't you love it?
7333       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7334         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7335           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7336         10.[012]*)
7337           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7338         10.*)
7339           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7340       esac
7341     ;;
7342   esac
7343     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7344       _lt_dar_single_mod='$single_module'
7345     fi
7346     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7347       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7348     else
7349       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7350     fi
7351     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7352       _lt_dsymutil='~$DSYMUTIL $lib || :'
7353     else
7354       _lt_dsymutil=
7355     fi
7356     ;;
7357   esac
7358
7359 ac_ext=c
7360 ac_cpp='$CPP $CPPFLAGS'
7361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7365 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7366 # On Suns, sometimes $CPP names a directory.
7367 if test -n "$CPP" && test -d "$CPP"; then
7368   CPP=
7369 fi
7370 if test -z "$CPP"; then
7371   if ${ac_cv_prog_CPP+:} false; then :
7372   $as_echo_n "(cached) " >&6
7373 else
7374       # Double quotes because CPP needs to be expanded
7375     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7376     do
7377       ac_preproc_ok=false
7378 for ac_c_preproc_warn_flag in '' yes
7379 do
7380   # Use a header file that comes with gcc, so configuring glibc
7381   # with a fresh cross-compiler works.
7382   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7383   # <limits.h> exists even on freestanding compilers.
7384   # On the NeXT, cc -E runs the code through the compiler's parser,
7385   # not just through cpp. "Syntax error" is here to catch this case.
7386   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7387 /* end confdefs.h.  */
7388 #ifdef __STDC__
7389 # include <limits.h>
7390 #else
7391 # include <assert.h>
7392 #endif
7393                      Syntax error
7394 _ACEOF
7395 if ac_fn_c_try_cpp "$LINENO"; then :
7396
7397 else
7398   # Broken: fails on valid input.
7399 continue
7400 fi
7401 rm -f conftest.err conftest.i conftest.$ac_ext
7402
7403   # OK, works on sane cases.  Now check whether nonexistent headers
7404   # can be detected and how.
7405   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7406 /* end confdefs.h.  */
7407 #include <ac_nonexistent.h>
7408 _ACEOF
7409 if ac_fn_c_try_cpp "$LINENO"; then :
7410   # Broken: success on invalid input.
7411 continue
7412 else
7413   # Passes both tests.
7414 ac_preproc_ok=:
7415 break
7416 fi
7417 rm -f conftest.err conftest.i conftest.$ac_ext
7418
7419 done
7420 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7421 rm -f conftest.i conftest.err conftest.$ac_ext
7422 if $ac_preproc_ok; then :
7423   break
7424 fi
7425
7426     done
7427     ac_cv_prog_CPP=$CPP
7428
7429 fi
7430   CPP=$ac_cv_prog_CPP
7431 else
7432   ac_cv_prog_CPP=$CPP
7433 fi
7434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7435 $as_echo "$CPP" >&6; }
7436 ac_preproc_ok=false
7437 for ac_c_preproc_warn_flag in '' yes
7438 do
7439   # Use a header file that comes with gcc, so configuring glibc
7440   # with a fresh cross-compiler works.
7441   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7442   # <limits.h> exists even on freestanding compilers.
7443   # On the NeXT, cc -E runs the code through the compiler's parser,
7444   # not just through cpp. "Syntax error" is here to catch this case.
7445   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7446 /* end confdefs.h.  */
7447 #ifdef __STDC__
7448 # include <limits.h>
7449 #else
7450 # include <assert.h>
7451 #endif
7452                      Syntax error
7453 _ACEOF
7454 if ac_fn_c_try_cpp "$LINENO"; then :
7455
7456 else
7457   # Broken: fails on valid input.
7458 continue
7459 fi
7460 rm -f conftest.err conftest.i conftest.$ac_ext
7461
7462   # OK, works on sane cases.  Now check whether nonexistent headers
7463   # can be detected and how.
7464   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7465 /* end confdefs.h.  */
7466 #include <ac_nonexistent.h>
7467 _ACEOF
7468 if ac_fn_c_try_cpp "$LINENO"; then :
7469   # Broken: success on invalid input.
7470 continue
7471 else
7472   # Passes both tests.
7473 ac_preproc_ok=:
7474 break
7475 fi
7476 rm -f conftest.err conftest.i conftest.$ac_ext
7477
7478 done
7479 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7480 rm -f conftest.i conftest.err conftest.$ac_ext
7481 if $ac_preproc_ok; then :
7482
7483 else
7484   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7485 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7486 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7487 See \`config.log' for more details" "$LINENO" 5; }
7488 fi
7489
7490 ac_ext=c
7491 ac_cpp='$CPP $CPPFLAGS'
7492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7495
7496
7497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7498 $as_echo_n "checking for ANSI C header files... " >&6; }
7499 if ${ac_cv_header_stdc+:} false; then :
7500   $as_echo_n "(cached) " >&6
7501 else
7502   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7503 /* end confdefs.h.  */
7504 #include <stdlib.h>
7505 #include <stdarg.h>
7506 #include <string.h>
7507 #include <float.h>
7508
7509 int
7510 main ()
7511 {
7512
7513   ;
7514   return 0;
7515 }
7516 _ACEOF
7517 if ac_fn_c_try_compile "$LINENO"; then :
7518   ac_cv_header_stdc=yes
7519 else
7520   ac_cv_header_stdc=no
7521 fi
7522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7523
7524 if test $ac_cv_header_stdc = yes; then
7525   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7526   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7527 /* end confdefs.h.  */
7528 #include <string.h>
7529
7530 _ACEOF
7531 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7532   $EGREP "memchr" >/dev/null 2>&1; then :
7533
7534 else
7535   ac_cv_header_stdc=no
7536 fi
7537 rm -f conftest*
7538
7539 fi
7540
7541 if test $ac_cv_header_stdc = yes; then
7542   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7543   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7544 /* end confdefs.h.  */
7545 #include <stdlib.h>
7546
7547 _ACEOF
7548 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7549   $EGREP "free" >/dev/null 2>&1; then :
7550
7551 else
7552   ac_cv_header_stdc=no
7553 fi
7554 rm -f conftest*
7555
7556 fi
7557
7558 if test $ac_cv_header_stdc = yes; then
7559   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7560   if test "$cross_compiling" = yes; then :
7561   :
7562 else
7563   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7564 /* end confdefs.h.  */
7565 #include <ctype.h>
7566 #include <stdlib.h>
7567 #if ((' ' & 0x0FF) == 0x020)
7568 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7569 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7570 #else
7571 # define ISLOWER(c) \
7572                    (('a' <= (c) && (c) <= 'i') \
7573                      || ('j' <= (c) && (c) <= 'r') \
7574                      || ('s' <= (c) && (c) <= 'z'))
7575 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7576 #endif
7577
7578 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7579 int
7580 main ()
7581 {
7582   int i;
7583   for (i = 0; i < 256; i++)
7584     if (XOR (islower (i), ISLOWER (i))
7585         || toupper (i) != TOUPPER (i))
7586       return 2;
7587   return 0;
7588 }
7589 _ACEOF
7590 if ac_fn_c_try_run "$LINENO"; then :
7591
7592 else
7593   ac_cv_header_stdc=no
7594 fi
7595 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7596   conftest.$ac_objext conftest.beam conftest.$ac_ext
7597 fi
7598
7599 fi
7600 fi
7601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7602 $as_echo "$ac_cv_header_stdc" >&6; }
7603 if test $ac_cv_header_stdc = yes; then
7604
7605 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7606
7607 fi
7608
7609 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7610 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7611                   inttypes.h stdint.h unistd.h
7612 do :
7613   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7614 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7615 "
7616 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7617   cat >>confdefs.h <<_ACEOF
7618 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7619 _ACEOF
7620
7621 fi
7622
7623 done
7624
7625
7626 for ac_header in dlfcn.h
7627 do :
7628   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7629 "
7630 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7631   cat >>confdefs.h <<_ACEOF
7632 #define HAVE_DLFCN_H 1
7633 _ACEOF
7634
7635 fi
7636
7637 done
7638
7639
7640
7641
7642
7643 # Set options
7644 # Check whether --enable-static was given.
7645 if test "${enable_static+set}" = set; then :
7646   enableval=$enable_static; p=${PACKAGE-default}
7647     case $enableval in
7648     yes) enable_static=yes ;;
7649     no) enable_static=no ;;
7650     *)
7651      enable_static=no
7652       # Look at the argument we got.  We use all the common list separators.
7653       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7654       for pkg in $enableval; do
7655         IFS="$lt_save_ifs"
7656         if test "X$pkg" = "X$p"; then
7657           enable_static=yes
7658         fi
7659       done
7660       IFS="$lt_save_ifs"
7661       ;;
7662     esac
7663 else
7664   enable_static=no
7665 fi
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676         enable_dlopen=no
7677
7678
7679   enable_win32_dll=no
7680
7681
7682             # Check whether --enable-shared was given.
7683 if test "${enable_shared+set}" = set; then :
7684   enableval=$enable_shared; p=${PACKAGE-default}
7685     case $enableval in
7686     yes) enable_shared=yes ;;
7687     no) enable_shared=no ;;
7688     *)
7689       enable_shared=no
7690       # Look at the argument we got.  We use all the common list separators.
7691       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7692       for pkg in $enableval; do
7693         IFS="$lt_save_ifs"
7694         if test "X$pkg" = "X$p"; then
7695           enable_shared=yes
7696         fi
7697       done
7698       IFS="$lt_save_ifs"
7699       ;;
7700     esac
7701 else
7702   enable_shared=yes
7703 fi
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715 # Check whether --with-pic was given.
7716 if test "${with_pic+set}" = set; then :
7717   withval=$with_pic; lt_p=${PACKAGE-default}
7718     case $withval in
7719     yes|no) pic_mode=$withval ;;
7720     *)
7721       pic_mode=default
7722       # Look at the argument we got.  We use all the common list separators.
7723       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7724       for lt_pkg in $withval; do
7725         IFS="$lt_save_ifs"
7726         if test "X$lt_pkg" = "X$lt_p"; then
7727           pic_mode=yes
7728         fi
7729       done
7730       IFS="$lt_save_ifs"
7731       ;;
7732     esac
7733 else
7734   pic_mode=default
7735 fi
7736
7737
7738 test -z "$pic_mode" && pic_mode=default
7739
7740
7741
7742
7743
7744
7745
7746   # Check whether --enable-fast-install was given.
7747 if test "${enable_fast_install+set}" = set; then :
7748   enableval=$enable_fast_install; p=${PACKAGE-default}
7749     case $enableval in
7750     yes) enable_fast_install=yes ;;
7751     no) enable_fast_install=no ;;
7752     *)
7753       enable_fast_install=no
7754       # Look at the argument we got.  We use all the common list separators.
7755       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7756       for pkg in $enableval; do
7757         IFS="$lt_save_ifs"
7758         if test "X$pkg" = "X$p"; then
7759           enable_fast_install=yes
7760         fi
7761       done
7762       IFS="$lt_save_ifs"
7763       ;;
7764     esac
7765 else
7766   enable_fast_install=yes
7767 fi
7768
7769
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779 # This can be used to rebuild libtool when needed
7780 LIBTOOL_DEPS="$ltmain"
7781
7782 # Always use our own libtool.
7783 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7784
7785
7786
7787
7788
7789
7790
7791
7792
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814 test -z "$LN_S" && LN_S="ln -s"
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829 if test -n "${ZSH_VERSION+set}" ; then
7830    setopt NO_GLOB_SUBST
7831 fi
7832
7833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7834 $as_echo_n "checking for objdir... " >&6; }
7835 if ${lt_cv_objdir+:} false; then :
7836   $as_echo_n "(cached) " >&6
7837 else
7838   rm -f .libs 2>/dev/null
7839 mkdir .libs 2>/dev/null
7840 if test -d .libs; then
7841   lt_cv_objdir=.libs
7842 else
7843   # MS-DOS does not allow filenames that begin with a dot.
7844   lt_cv_objdir=_libs
7845 fi
7846 rmdir .libs 2>/dev/null
7847 fi
7848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7849 $as_echo "$lt_cv_objdir" >&6; }
7850 objdir=$lt_cv_objdir
7851
7852
7853
7854
7855
7856 cat >>confdefs.h <<_ACEOF
7857 #define LT_OBJDIR "$lt_cv_objdir/"
7858 _ACEOF
7859
7860
7861
7862
7863 case $host_os in
7864 aix3*)
7865   # AIX sometimes has problems with the GCC collect2 program.  For some
7866   # reason, if we set the COLLECT_NAMES environment variable, the problems
7867   # vanish in a puff of smoke.
7868   if test "X${COLLECT_NAMES+set}" != Xset; then
7869     COLLECT_NAMES=
7870     export COLLECT_NAMES
7871   fi
7872   ;;
7873 esac
7874
7875 # Global variables:
7876 ofile=libtool
7877 can_build_shared=yes
7878
7879 # All known linkers require a `.a' archive for static linking (except MSVC,
7880 # which needs '.lib').
7881 libext=a
7882
7883 with_gnu_ld="$lt_cv_prog_gnu_ld"
7884
7885 old_CC="$CC"
7886 old_CFLAGS="$CFLAGS"
7887
7888 # Set sane defaults for various variables
7889 test -z "$CC" && CC=cc
7890 test -z "$LTCC" && LTCC=$CC
7891 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7892 test -z "$LD" && LD=ld
7893 test -z "$ac_objext" && ac_objext=o
7894
7895 for cc_temp in $compiler""; do
7896   case $cc_temp in
7897     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7898     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7899     \-*) ;;
7900     *) break;;
7901   esac
7902 done
7903 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7904
7905
7906 # Only perform the check for file, if the check method requires it
7907 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7908 case $deplibs_check_method in
7909 file_magic*)
7910   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7911     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7912 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7913 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7914   $as_echo_n "(cached) " >&6
7915 else
7916   case $MAGIC_CMD in
7917 [\\/*] |  ?:[\\/]*)
7918   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7919   ;;
7920 *)
7921   lt_save_MAGIC_CMD="$MAGIC_CMD"
7922   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7923   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7924   for ac_dir in $ac_dummy; do
7925     IFS="$lt_save_ifs"
7926     test -z "$ac_dir" && ac_dir=.
7927     if test -f $ac_dir/${ac_tool_prefix}file; then
7928       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7929       if test -n "$file_magic_test_file"; then
7930         case $deplibs_check_method in
7931         "file_magic "*)
7932           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7933           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7934           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7935             $EGREP "$file_magic_regex" > /dev/null; then
7936             :
7937           else
7938             cat <<_LT_EOF 1>&2
7939
7940 *** Warning: the command libtool uses to detect shared libraries,
7941 *** $file_magic_cmd, produces output that libtool cannot recognize.
7942 *** The result is that libtool may fail to recognize shared libraries
7943 *** as such.  This will affect the creation of libtool libraries that
7944 *** depend on shared libraries, but programs linked with such libtool
7945 *** libraries will work regardless of this problem.  Nevertheless, you
7946 *** may want to report the problem to your system manager and/or to
7947 *** bug-libtool@gnu.org
7948
7949 _LT_EOF
7950           fi ;;
7951         esac
7952       fi
7953       break
7954     fi
7955   done
7956   IFS="$lt_save_ifs"
7957   MAGIC_CMD="$lt_save_MAGIC_CMD"
7958   ;;
7959 esac
7960 fi
7961
7962 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7963 if test -n "$MAGIC_CMD"; then
7964   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7965 $as_echo "$MAGIC_CMD" >&6; }
7966 else
7967   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7968 $as_echo "no" >&6; }
7969 fi
7970
7971
7972
7973
7974
7975 if test -z "$lt_cv_path_MAGIC_CMD"; then
7976   if test -n "$ac_tool_prefix"; then
7977     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7978 $as_echo_n "checking for file... " >&6; }
7979 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7980   $as_echo_n "(cached) " >&6
7981 else
7982   case $MAGIC_CMD in
7983 [\\/*] |  ?:[\\/]*)
7984   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7985   ;;
7986 *)
7987   lt_save_MAGIC_CMD="$MAGIC_CMD"
7988   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7989   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7990   for ac_dir in $ac_dummy; do
7991     IFS="$lt_save_ifs"
7992     test -z "$ac_dir" && ac_dir=.
7993     if test -f $ac_dir/file; then
7994       lt_cv_path_MAGIC_CMD="$ac_dir/file"
7995       if test -n "$file_magic_test_file"; then
7996         case $deplibs_check_method in
7997         "file_magic "*)
7998           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7999           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8000           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8001             $EGREP "$file_magic_regex" > /dev/null; then
8002             :
8003           else
8004             cat <<_LT_EOF 1>&2
8005
8006 *** Warning: the command libtool uses to detect shared libraries,
8007 *** $file_magic_cmd, produces output that libtool cannot recognize.
8008 *** The result is that libtool may fail to recognize shared libraries
8009 *** as such.  This will affect the creation of libtool libraries that
8010 *** depend on shared libraries, but programs linked with such libtool
8011 *** libraries will work regardless of this problem.  Nevertheless, you
8012 *** may want to report the problem to your system manager and/or to
8013 *** bug-libtool@gnu.org
8014
8015 _LT_EOF
8016           fi ;;
8017         esac
8018       fi
8019       break
8020     fi
8021   done
8022   IFS="$lt_save_ifs"
8023   MAGIC_CMD="$lt_save_MAGIC_CMD"
8024   ;;
8025 esac
8026 fi
8027
8028 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8029 if test -n "$MAGIC_CMD"; then
8030   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8031 $as_echo "$MAGIC_CMD" >&6; }
8032 else
8033   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8034 $as_echo "no" >&6; }
8035 fi
8036
8037
8038   else
8039     MAGIC_CMD=:
8040   fi
8041 fi
8042
8043   fi
8044   ;;
8045 esac
8046
8047 # Use C for the default configuration in the libtool script
8048
8049 lt_save_CC="$CC"
8050 ac_ext=c
8051 ac_cpp='$CPP $CPPFLAGS'
8052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8055
8056
8057 # Source file extension for C test sources.
8058 ac_ext=c
8059
8060 # Object file extension for compiled C test sources.
8061 objext=o
8062 objext=$objext
8063
8064 # Code to be used in simple compile tests
8065 lt_simple_compile_test_code="int some_variable = 0;"
8066
8067 # Code to be used in simple link tests
8068 lt_simple_link_test_code='int main(){return(0);}'
8069
8070
8071
8072
8073
8074
8075
8076 # If no C compiler was specified, use CC.
8077 LTCC=${LTCC-"$CC"}
8078
8079 # If no C compiler flags were specified, use CFLAGS.
8080 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8081
8082 # Allow CC to be a program name with arguments.
8083 compiler=$CC
8084
8085 # Save the default compiler, since it gets overwritten when the other
8086 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8087 compiler_DEFAULT=$CC
8088
8089 # save warnings/boilerplate of simple test code
8090 ac_outfile=conftest.$ac_objext
8091 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8092 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8093 _lt_compiler_boilerplate=`cat conftest.err`
8094 $RM conftest*
8095
8096 ac_outfile=conftest.$ac_objext
8097 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8098 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8099 _lt_linker_boilerplate=`cat conftest.err`
8100 $RM -r conftest*
8101
8102
8103 ## CAVEAT EMPTOR:
8104 ## There is no encapsulation within the following macros, do not change
8105 ## the running order or otherwise move them around unless you know exactly
8106 ## what you are doing...
8107 if test -n "$compiler"; then
8108
8109 lt_prog_compiler_no_builtin_flag=
8110
8111 if test "$GCC" = yes; then
8112   case $cc_basename in
8113   nvcc*)
8114     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8115   *)
8116     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8117   esac
8118
8119   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8120 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8121 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8122   $as_echo_n "(cached) " >&6
8123 else
8124   lt_cv_prog_compiler_rtti_exceptions=no
8125    ac_outfile=conftest.$ac_objext
8126    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8127    lt_compiler_flag="-fno-rtti -fno-exceptions"
8128    # Insert the option either (1) after the last *FLAGS variable, or
8129    # (2) before a word containing "conftest.", or (3) at the end.
8130    # Note that $ac_compile itself does not contain backslashes and begins
8131    # with a dollar sign (not a hyphen), so the echo should work correctly.
8132    # The option is referenced via a variable to avoid confusing sed.
8133    lt_compile=`echo "$ac_compile" | $SED \
8134    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8135    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8136    -e 's:$: $lt_compiler_flag:'`
8137    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8138    (eval "$lt_compile" 2>conftest.err)
8139    ac_status=$?
8140    cat conftest.err >&5
8141    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8142    if (exit $ac_status) && test -s "$ac_outfile"; then
8143      # The compiler can only warn and ignore the option if not recognized
8144      # So say no if there are warnings other than the usual output.
8145      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8146      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8147      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8148        lt_cv_prog_compiler_rtti_exceptions=yes
8149      fi
8150    fi
8151    $RM conftest*
8152
8153 fi
8154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8155 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8156
8157 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8158     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8159 else
8160     :
8161 fi
8162
8163 fi
8164
8165
8166
8167
8168
8169
8170   lt_prog_compiler_wl=
8171 lt_prog_compiler_pic=
8172 lt_prog_compiler_static=
8173
8174
8175   if test "$GCC" = yes; then
8176     lt_prog_compiler_wl='-Wl,'
8177     lt_prog_compiler_static='-static'
8178
8179     case $host_os in
8180       aix*)
8181       # All AIX code is PIC.
8182       if test "$host_cpu" = ia64; then
8183         # AIX 5 now supports IA64 processor
8184         lt_prog_compiler_static='-Bstatic'
8185       fi
8186       ;;
8187
8188     amigaos*)
8189       case $host_cpu in
8190       powerpc)
8191             # see comment about AmigaOS4 .so support
8192             lt_prog_compiler_pic='-fPIC'
8193         ;;
8194       m68k)
8195             # FIXME: we need at least 68020 code to build shared libraries, but
8196             # adding the `-m68020' flag to GCC prevents building anything better,
8197             # like `-m68040'.
8198             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8199         ;;
8200       esac
8201       ;;
8202
8203     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8204       # PIC is the default for these OSes.
8205       ;;
8206
8207     mingw* | cygwin* | pw32* | os2* | cegcc*)
8208       # This hack is so that the source file can tell whether it is being
8209       # built for inclusion in a dll (and should export symbols for example).
8210       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8211       # (--disable-auto-import) libraries
8212       lt_prog_compiler_pic='-DDLL_EXPORT'
8213       ;;
8214
8215     darwin* | rhapsody*)
8216       # PIC is the default on this platform
8217       # Common symbols not allowed in MH_DYLIB files
8218       lt_prog_compiler_pic='-fno-common'
8219       ;;
8220
8221     haiku*)
8222       # PIC is the default for Haiku.
8223       # The "-static" flag exists, but is broken.
8224       lt_prog_compiler_static=
8225       ;;
8226
8227     hpux*)
8228       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8229       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8230       # sets the default TLS model and affects inlining.
8231       case $host_cpu in
8232       hppa*64*)
8233         # +Z the default
8234         ;;
8235       *)
8236         lt_prog_compiler_pic='-fPIC'
8237         ;;
8238       esac
8239       ;;
8240
8241     interix[3-9]*)
8242       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8243       # Instead, we relocate shared libraries at runtime.
8244       ;;
8245
8246     msdosdjgpp*)
8247       # Just because we use GCC doesn't mean we suddenly get shared libraries
8248       # on systems that don't support them.
8249       lt_prog_compiler_can_build_shared=no
8250       enable_shared=no
8251       ;;
8252
8253     *nto* | *qnx*)
8254       # QNX uses GNU C++, but need to define -shared option too, otherwise
8255       # it will coredump.
8256       lt_prog_compiler_pic='-fPIC -shared'
8257       ;;
8258
8259     sysv4*MP*)
8260       if test -d /usr/nec; then
8261         lt_prog_compiler_pic=-Kconform_pic
8262       fi
8263       ;;
8264
8265     *)
8266       lt_prog_compiler_pic='-fPIC'
8267       ;;
8268     esac
8269
8270     case $cc_basename in
8271     nvcc*) # Cuda Compiler Driver 2.2
8272       lt_prog_compiler_wl='-Xlinker '
8273       if test -n "$lt_prog_compiler_pic"; then
8274         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8275       fi
8276       ;;
8277     esac
8278   else
8279     # PORTME Check for flag to pass linker flags through the system compiler.
8280     case $host_os in
8281     aix*)
8282       lt_prog_compiler_wl='-Wl,'
8283       if test "$host_cpu" = ia64; then
8284         # AIX 5 now supports IA64 processor
8285         lt_prog_compiler_static='-Bstatic'
8286       else
8287         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8288       fi
8289       ;;
8290
8291     mingw* | cygwin* | pw32* | os2* | cegcc*)
8292       # This hack is so that the source file can tell whether it is being
8293       # built for inclusion in a dll (and should export symbols for example).
8294       lt_prog_compiler_pic='-DDLL_EXPORT'
8295       ;;
8296
8297     hpux9* | hpux10* | hpux11*)
8298       lt_prog_compiler_wl='-Wl,'
8299       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8300       # not for PA HP-UX.
8301       case $host_cpu in
8302       hppa*64*|ia64*)
8303         # +Z the default
8304         ;;
8305       *)
8306         lt_prog_compiler_pic='+Z'
8307         ;;
8308       esac
8309       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8310       lt_prog_compiler_static='${wl}-a ${wl}archive'
8311       ;;
8312
8313     irix5* | irix6* | nonstopux*)
8314       lt_prog_compiler_wl='-Wl,'
8315       # PIC (with -KPIC) is the default.
8316       lt_prog_compiler_static='-non_shared'
8317       ;;
8318
8319     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8320       case $cc_basename in
8321       # old Intel for x86_64 which still supported -KPIC.
8322       ecc*)
8323         lt_prog_compiler_wl='-Wl,'
8324         lt_prog_compiler_pic='-KPIC'
8325         lt_prog_compiler_static='-static'
8326         ;;
8327       # icc used to be incompatible with GCC.
8328       # ICC 10 doesn't accept -KPIC any more.
8329       icc* | ifort*)
8330         lt_prog_compiler_wl='-Wl,'
8331         lt_prog_compiler_pic='-fPIC'
8332         lt_prog_compiler_static='-static'
8333         ;;
8334       # Lahey Fortran 8.1.
8335       lf95*)
8336         lt_prog_compiler_wl='-Wl,'
8337         lt_prog_compiler_pic='--shared'
8338         lt_prog_compiler_static='--static'
8339         ;;
8340       nagfor*)
8341         # NAG Fortran compiler
8342         lt_prog_compiler_wl='-Wl,-Wl,,'
8343         lt_prog_compiler_pic='-PIC'
8344         lt_prog_compiler_static='-Bstatic'
8345         ;;
8346       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8347         # Portland Group compilers (*not* the Pentium gcc compiler,
8348         # which looks to be a dead project)
8349         lt_prog_compiler_wl='-Wl,'
8350         lt_prog_compiler_pic='-fpic'
8351         lt_prog_compiler_static='-Bstatic'
8352         ;;
8353       ccc*)
8354         lt_prog_compiler_wl='-Wl,'
8355         # All Alpha code is PIC.
8356         lt_prog_compiler_static='-non_shared'
8357         ;;
8358       xl* | bgxl* | bgf* | mpixl*)
8359         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8360         lt_prog_compiler_wl='-Wl,'
8361         lt_prog_compiler_pic='-qpic'
8362         lt_prog_compiler_static='-qstaticlink'
8363         ;;
8364       *)
8365         case `$CC -V 2>&1 | sed 5q` in
8366         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8367           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8368           lt_prog_compiler_pic='-KPIC'
8369           lt_prog_compiler_static='-Bstatic'
8370           lt_prog_compiler_wl=''
8371           ;;
8372         *Sun\ F* | *Sun*Fortran*)
8373           lt_prog_compiler_pic='-KPIC'
8374           lt_prog_compiler_static='-Bstatic'
8375           lt_prog_compiler_wl='-Qoption ld '
8376           ;;
8377         *Sun\ C*)
8378           # Sun C 5.9
8379           lt_prog_compiler_pic='-KPIC'
8380           lt_prog_compiler_static='-Bstatic'
8381           lt_prog_compiler_wl='-Wl,'
8382           ;;
8383         *Intel*\ [CF]*Compiler*)
8384           lt_prog_compiler_wl='-Wl,'
8385           lt_prog_compiler_pic='-fPIC'
8386           lt_prog_compiler_static='-static'
8387           ;;
8388         *Portland\ Group*)
8389           lt_prog_compiler_wl='-Wl,'
8390           lt_prog_compiler_pic='-fpic'
8391           lt_prog_compiler_static='-Bstatic'
8392           ;;
8393         esac
8394         ;;
8395       esac
8396       ;;
8397
8398     newsos6)
8399       lt_prog_compiler_pic='-KPIC'
8400       lt_prog_compiler_static='-Bstatic'
8401       ;;
8402
8403     *nto* | *qnx*)
8404       # QNX uses GNU C++, but need to define -shared option too, otherwise
8405       # it will coredump.
8406       lt_prog_compiler_pic='-fPIC -shared'
8407       ;;
8408
8409     osf3* | osf4* | osf5*)
8410       lt_prog_compiler_wl='-Wl,'
8411       # All OSF/1 code is PIC.
8412       lt_prog_compiler_static='-non_shared'
8413       ;;
8414
8415     rdos*)
8416       lt_prog_compiler_static='-non_shared'
8417       ;;
8418
8419     solaris*)
8420       lt_prog_compiler_pic='-KPIC'
8421       lt_prog_compiler_static='-Bstatic'
8422       case $cc_basename in
8423       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8424         lt_prog_compiler_wl='-Qoption ld ';;
8425       *)
8426         lt_prog_compiler_wl='-Wl,';;
8427       esac
8428       ;;
8429
8430     sunos4*)
8431       lt_prog_compiler_wl='-Qoption ld '
8432       lt_prog_compiler_pic='-PIC'
8433       lt_prog_compiler_static='-Bstatic'
8434       ;;
8435
8436     sysv4 | sysv4.2uw2* | sysv4.3*)
8437       lt_prog_compiler_wl='-Wl,'
8438       lt_prog_compiler_pic='-KPIC'
8439       lt_prog_compiler_static='-Bstatic'
8440       ;;
8441
8442     sysv4*MP*)
8443       if test -d /usr/nec ;then
8444         lt_prog_compiler_pic='-Kconform_pic'
8445         lt_prog_compiler_static='-Bstatic'
8446       fi
8447       ;;
8448
8449     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8450       lt_prog_compiler_wl='-Wl,'
8451       lt_prog_compiler_pic='-KPIC'
8452       lt_prog_compiler_static='-Bstatic'
8453       ;;
8454
8455     unicos*)
8456       lt_prog_compiler_wl='-Wl,'
8457       lt_prog_compiler_can_build_shared=no
8458       ;;
8459
8460     uts4*)
8461       lt_prog_compiler_pic='-pic'
8462       lt_prog_compiler_static='-Bstatic'
8463       ;;
8464
8465     *)
8466       lt_prog_compiler_can_build_shared=no
8467       ;;
8468     esac
8469   fi
8470
8471 case $host_os in
8472   # For platforms which do not support PIC, -DPIC is meaningless:
8473   *djgpp*)
8474     lt_prog_compiler_pic=
8475     ;;
8476   *)
8477     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8478     ;;
8479 esac
8480
8481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8482 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8483 if ${lt_cv_prog_compiler_pic+:} false; then :
8484   $as_echo_n "(cached) " >&6
8485 else
8486   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8487 fi
8488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8489 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8490 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8491
8492 #
8493 # Check to make sure the PIC flag actually works.
8494 #
8495 if test -n "$lt_prog_compiler_pic"; then
8496   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8497 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8498 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8499   $as_echo_n "(cached) " >&6
8500 else
8501   lt_cv_prog_compiler_pic_works=no
8502    ac_outfile=conftest.$ac_objext
8503    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8504    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8505    # Insert the option either (1) after the last *FLAGS variable, or
8506    # (2) before a word containing "conftest.", or (3) at the end.
8507    # Note that $ac_compile itself does not contain backslashes and begins
8508    # with a dollar sign (not a hyphen), so the echo should work correctly.
8509    # The option is referenced via a variable to avoid confusing sed.
8510    lt_compile=`echo "$ac_compile" | $SED \
8511    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8512    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8513    -e 's:$: $lt_compiler_flag:'`
8514    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8515    (eval "$lt_compile" 2>conftest.err)
8516    ac_status=$?
8517    cat conftest.err >&5
8518    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8519    if (exit $ac_status) && test -s "$ac_outfile"; then
8520      # The compiler can only warn and ignore the option if not recognized
8521      # So say no if there are warnings other than the usual output.
8522      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8523      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8524      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8525        lt_cv_prog_compiler_pic_works=yes
8526      fi
8527    fi
8528    $RM conftest*
8529
8530 fi
8531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8532 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8533
8534 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8535     case $lt_prog_compiler_pic in
8536      "" | " "*) ;;
8537      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8538      esac
8539 else
8540     lt_prog_compiler_pic=
8541      lt_prog_compiler_can_build_shared=no
8542 fi
8543
8544 fi
8545
8546
8547
8548
8549
8550
8551
8552
8553
8554
8555
8556 #
8557 # Check to make sure the static flag actually works.
8558 #
8559 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8561 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8562 if ${lt_cv_prog_compiler_static_works+:} false; then :
8563   $as_echo_n "(cached) " >&6
8564 else
8565   lt_cv_prog_compiler_static_works=no
8566    save_LDFLAGS="$LDFLAGS"
8567    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8568    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8569    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8570      # The linker can only warn and ignore the option if not recognized
8571      # So say no if there are warnings
8572      if test -s conftest.err; then
8573        # Append any errors to the config.log.
8574        cat conftest.err 1>&5
8575        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8576        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8577        if diff conftest.exp conftest.er2 >/dev/null; then
8578          lt_cv_prog_compiler_static_works=yes
8579        fi
8580      else
8581        lt_cv_prog_compiler_static_works=yes
8582      fi
8583    fi
8584    $RM -r conftest*
8585    LDFLAGS="$save_LDFLAGS"
8586
8587 fi
8588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8589 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8590
8591 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8592     :
8593 else
8594     lt_prog_compiler_static=
8595 fi
8596
8597
8598
8599
8600
8601
8602
8603   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8604 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8605 if ${lt_cv_prog_compiler_c_o+:} false; then :
8606   $as_echo_n "(cached) " >&6
8607 else
8608   lt_cv_prog_compiler_c_o=no
8609    $RM -r conftest 2>/dev/null
8610    mkdir conftest
8611    cd conftest
8612    mkdir out
8613    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8614
8615    lt_compiler_flag="-o out/conftest2.$ac_objext"
8616    # Insert the option either (1) after the last *FLAGS variable, or
8617    # (2) before a word containing "conftest.", or (3) at the end.
8618    # Note that $ac_compile itself does not contain backslashes and begins
8619    # with a dollar sign (not a hyphen), so the echo should work correctly.
8620    lt_compile=`echo "$ac_compile" | $SED \
8621    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8622    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8623    -e 's:$: $lt_compiler_flag:'`
8624    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8625    (eval "$lt_compile" 2>out/conftest.err)
8626    ac_status=$?
8627    cat out/conftest.err >&5
8628    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8629    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8630    then
8631      # The compiler can only warn and ignore the option if not recognized
8632      # So say no if there are warnings
8633      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8634      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8635      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8636        lt_cv_prog_compiler_c_o=yes
8637      fi
8638    fi
8639    chmod u+w . 2>&5
8640    $RM conftest*
8641    # SGI C++ compiler will create directory out/ii_files/ for
8642    # template instantiation
8643    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8644    $RM out/* && rmdir out
8645    cd ..
8646    $RM -r conftest
8647    $RM conftest*
8648
8649 fi
8650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8651 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8652
8653
8654
8655
8656
8657
8658   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8659 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8660 if ${lt_cv_prog_compiler_c_o+:} false; then :
8661   $as_echo_n "(cached) " >&6
8662 else
8663   lt_cv_prog_compiler_c_o=no
8664    $RM -r conftest 2>/dev/null
8665    mkdir conftest
8666    cd conftest
8667    mkdir out
8668    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8669
8670    lt_compiler_flag="-o out/conftest2.$ac_objext"
8671    # Insert the option either (1) after the last *FLAGS variable, or
8672    # (2) before a word containing "conftest.", or (3) at the end.
8673    # Note that $ac_compile itself does not contain backslashes and begins
8674    # with a dollar sign (not a hyphen), so the echo should work correctly.
8675    lt_compile=`echo "$ac_compile" | $SED \
8676    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8677    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8678    -e 's:$: $lt_compiler_flag:'`
8679    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8680    (eval "$lt_compile" 2>out/conftest.err)
8681    ac_status=$?
8682    cat out/conftest.err >&5
8683    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8684    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8685    then
8686      # The compiler can only warn and ignore the option if not recognized
8687      # So say no if there are warnings
8688      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8689      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8690      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8691        lt_cv_prog_compiler_c_o=yes
8692      fi
8693    fi
8694    chmod u+w . 2>&5
8695    $RM conftest*
8696    # SGI C++ compiler will create directory out/ii_files/ for
8697    # template instantiation
8698    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8699    $RM out/* && rmdir out
8700    cd ..
8701    $RM -r conftest
8702    $RM conftest*
8703
8704 fi
8705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8706 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8707
8708
8709
8710
8711 hard_links="nottested"
8712 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8713   # do not overwrite the value of need_locks provided by the user
8714   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8715 $as_echo_n "checking if we can lock with hard links... " >&6; }
8716   hard_links=yes
8717   $RM conftest*
8718   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8719   touch conftest.a
8720   ln conftest.a conftest.b 2>&5 || hard_links=no
8721   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8722   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8723 $as_echo "$hard_links" >&6; }
8724   if test "$hard_links" = no; then
8725     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8726 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8727     need_locks=warn
8728   fi
8729 else
8730   need_locks=no
8731 fi
8732
8733
8734
8735
8736
8737
8738   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8739 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8740
8741   runpath_var=
8742   allow_undefined_flag=
8743   always_export_symbols=no
8744   archive_cmds=
8745   archive_expsym_cmds=
8746   compiler_needs_object=no
8747   enable_shared_with_static_runtimes=no
8748   export_dynamic_flag_spec=
8749   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8750   hardcode_automatic=no
8751   hardcode_direct=no
8752   hardcode_direct_absolute=no
8753   hardcode_libdir_flag_spec=
8754   hardcode_libdir_separator=
8755   hardcode_minus_L=no
8756   hardcode_shlibpath_var=unsupported
8757   inherit_rpath=no
8758   link_all_deplibs=unknown
8759   module_cmds=
8760   module_expsym_cmds=
8761   old_archive_from_new_cmds=
8762   old_archive_from_expsyms_cmds=
8763   thread_safe_flag_spec=
8764   whole_archive_flag_spec=
8765   # include_expsyms should be a list of space-separated symbols to be *always*
8766   # included in the symbol list
8767   include_expsyms=
8768   # exclude_expsyms can be an extended regexp of symbols to exclude
8769   # it will be wrapped by ` (' and `)$', so one must not match beginning or
8770   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8771   # as well as any symbol that contains `d'.
8772   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8773   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8774   # platforms (ab)use it in PIC code, but their linkers get confused if
8775   # the symbol is explicitly referenced.  Since portable code cannot
8776   # rely on this symbol name, it's probably fine to never include it in
8777   # preloaded symbol tables.
8778   # Exclude shared library initialization/finalization symbols.
8779   extract_expsyms_cmds=
8780
8781   case $host_os in
8782   cygwin* | mingw* | pw32* | cegcc*)
8783     # FIXME: the MSVC++ port hasn't been tested in a loooong time
8784     # When not using gcc, we currently assume that we are using
8785     # Microsoft Visual C++.
8786     if test "$GCC" != yes; then
8787       with_gnu_ld=no
8788     fi
8789     ;;
8790   interix*)
8791     # we just hope/assume this is gcc and not c89 (= MSVC++)
8792     with_gnu_ld=yes
8793     ;;
8794   openbsd*)
8795     with_gnu_ld=no
8796     ;;
8797   linux* | k*bsd*-gnu | gnu*)
8798     link_all_deplibs=no
8799     ;;
8800   esac
8801
8802   ld_shlibs=yes
8803
8804   # On some targets, GNU ld is compatible enough with the native linker
8805   # that we're better off using the native interface for both.
8806   lt_use_gnu_ld_interface=no
8807   if test "$with_gnu_ld" = yes; then
8808     case $host_os in
8809       aix*)
8810         # The AIX port of GNU ld has always aspired to compatibility
8811         # with the native linker.  However, as the warning in the GNU ld
8812         # block says, versions before 2.19.5* couldn't really create working
8813         # shared libraries, regardless of the interface used.
8814         case `$LD -v 2>&1` in
8815           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8816           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8817           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8818           *)
8819             lt_use_gnu_ld_interface=yes
8820             ;;
8821         esac
8822         ;;
8823       *)
8824         lt_use_gnu_ld_interface=yes
8825         ;;
8826     esac
8827   fi
8828
8829   if test "$lt_use_gnu_ld_interface" = yes; then
8830     # If archive_cmds runs LD, not CC, wlarc should be empty
8831     wlarc='${wl}'
8832
8833     # Set some defaults for GNU ld with shared library support. These
8834     # are reset later if shared libraries are not supported. Putting them
8835     # here allows them to be overridden if necessary.
8836     runpath_var=LD_RUN_PATH
8837     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8838     export_dynamic_flag_spec='${wl}--export-dynamic'
8839     # ancient GNU ld didn't support --whole-archive et. al.
8840     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8841       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8842     else
8843       whole_archive_flag_spec=
8844     fi
8845     supports_anon_versioning=no
8846     case `$LD -v 2>&1` in
8847       *GNU\ gold*) supports_anon_versioning=yes ;;
8848       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8849       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8850       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8851       *\ 2.11.*) ;; # other 2.11 versions
8852       *) supports_anon_versioning=yes ;;
8853     esac
8854
8855     # See if GNU ld supports shared libraries.
8856     case $host_os in
8857     aix[3-9]*)
8858       # On AIX/PPC, the GNU linker is very broken
8859       if test "$host_cpu" != ia64; then
8860         ld_shlibs=no
8861         cat <<_LT_EOF 1>&2
8862
8863 *** Warning: the GNU linker, at least up to release 2.19, is reported
8864 *** to be unable to reliably create shared libraries on AIX.
8865 *** Therefore, libtool is disabling shared libraries support.  If you
8866 *** really care for shared libraries, you may want to install binutils
8867 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8868 *** You will then need to restart the configuration process.
8869
8870 _LT_EOF
8871       fi
8872       ;;
8873
8874     amigaos*)
8875       case $host_cpu in
8876       powerpc)
8877             # see comment about AmigaOS4 .so support
8878             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8879             archive_expsym_cmds=''
8880         ;;
8881       m68k)
8882             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)'
8883             hardcode_libdir_flag_spec='-L$libdir'
8884             hardcode_minus_L=yes
8885         ;;
8886       esac
8887       ;;
8888
8889     beos*)
8890       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8891         allow_undefined_flag=unsupported
8892         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8893         # support --undefined.  This deserves some investigation.  FIXME
8894         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8895       else
8896         ld_shlibs=no
8897       fi
8898       ;;
8899
8900     cygwin* | mingw* | pw32* | cegcc*)
8901       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8902       # as there is no search path for DLLs.
8903       hardcode_libdir_flag_spec='-L$libdir'
8904       export_dynamic_flag_spec='${wl}--export-all-symbols'
8905       allow_undefined_flag=unsupported
8906       always_export_symbols=no
8907       enable_shared_with_static_runtimes=yes
8908       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'
8909       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8910
8911       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8912         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8913         # If the export-symbols file already is a .def file (1st line
8914         # is EXPORTS), use it as is; otherwise, prepend...
8915         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8916           cp $export_symbols $output_objdir/$soname.def;
8917         else
8918           echo EXPORTS > $output_objdir/$soname.def;
8919           cat $export_symbols >> $output_objdir/$soname.def;
8920         fi~
8921         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8922       else
8923         ld_shlibs=no
8924       fi
8925       ;;
8926
8927     haiku*)
8928       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8929       link_all_deplibs=yes
8930       ;;
8931
8932     interix[3-9]*)
8933       hardcode_direct=no
8934       hardcode_shlibpath_var=no
8935       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8936       export_dynamic_flag_spec='${wl}-E'
8937       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8938       # Instead, shared libraries are loaded at an image base (0x10000000 by
8939       # default) and relocated if they conflict, which is a slow very memory
8940       # consuming and fragmenting process.  To avoid this, we pick a random,
8941       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8942       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
8943       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8944       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'
8945       ;;
8946
8947     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8948       tmp_diet=no
8949       if test "$host_os" = linux-dietlibc; then
8950         case $cc_basename in
8951           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
8952         esac
8953       fi
8954       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8955          && test "$tmp_diet" = no
8956       then
8957         tmp_addflag=' $pic_flag'
8958         tmp_sharedflag='-shared'
8959         case $cc_basename,$host_cpu in
8960         pgcc*)                          # Portland Group C compiler
8961           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'
8962           tmp_addflag=' $pic_flag'
8963           ;;
8964         pgf77* | pgf90* | pgf95* | pgfortran*)
8965                                         # Portland Group f77 and f90 compilers
8966           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'
8967           tmp_addflag=' $pic_flag -Mnomain' ;;
8968         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
8969           tmp_addflag=' -i_dynamic' ;;
8970         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
8971           tmp_addflag=' -i_dynamic -nofor_main' ;;
8972         ifc* | ifort*)                  # Intel Fortran compiler
8973           tmp_addflag=' -nofor_main' ;;
8974         lf95*)                          # Lahey Fortran 8.1
8975           whole_archive_flag_spec=
8976           tmp_sharedflag='--shared' ;;
8977         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8978           tmp_sharedflag='-qmkshrobj'
8979           tmp_addflag= ;;
8980         nvcc*)  # Cuda Compiler Driver 2.2
8981           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'
8982           compiler_needs_object=yes
8983           ;;
8984         esac
8985         case `$CC -V 2>&1 | sed 5q` in
8986         *Sun\ C*)                       # Sun C 5.9
8987           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'
8988           compiler_needs_object=yes
8989           tmp_sharedflag='-G' ;;
8990         *Sun\ F*)                       # Sun Fortran 8.3
8991           tmp_sharedflag='-G' ;;
8992         esac
8993         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8994
8995         if test "x$supports_anon_versioning" = xyes; then
8996           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8997             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8998             echo "local: *; };" >> $output_objdir/$libname.ver~
8999             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9000         fi
9001
9002         case $cc_basename in
9003         xlf* | bgf* | bgxlf* | mpixlf*)
9004           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9005           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9006           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9007           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9008           if test "x$supports_anon_versioning" = xyes; then
9009             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9010               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9011               echo "local: *; };" >> $output_objdir/$libname.ver~
9012               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9013           fi
9014           ;;
9015         esac
9016       else
9017         ld_shlibs=no
9018       fi
9019       ;;
9020
9021     netbsd* | netbsdelf*-gnu)
9022       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9023         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9024         wlarc=
9025       else
9026         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9027         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9028       fi
9029       ;;
9030
9031     solaris*)
9032       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9033         ld_shlibs=no
9034         cat <<_LT_EOF 1>&2
9035
9036 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9037 *** create shared libraries on Solaris systems.  Therefore, libtool
9038 *** is disabling shared libraries support.  We urge you to upgrade GNU
9039 *** binutils to release 2.9.1 or newer.  Another option is to modify
9040 *** your PATH or compiler configuration so that the native linker is
9041 *** used, and then restart.
9042
9043 _LT_EOF
9044       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9045         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9046         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9047       else
9048         ld_shlibs=no
9049       fi
9050       ;;
9051
9052     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9053       case `$LD -v 2>&1` in
9054         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9055         ld_shlibs=no
9056         cat <<_LT_EOF 1>&2
9057
9058 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9059 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9060 *** is disabling shared libraries support.  We urge you to upgrade GNU
9061 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9062 *** your PATH or compiler configuration so that the native linker is
9063 *** used, and then restart.
9064
9065 _LT_EOF
9066         ;;
9067         *)
9068           # For security reasons, it is highly recommended that you always
9069           # use absolute paths for naming shared libraries, and exclude the
9070           # DT_RUNPATH tag from executables and libraries.  But doing so
9071           # requires that you compile everything twice, which is a pain.
9072           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9073             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9074             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9075             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9076           else
9077             ld_shlibs=no
9078           fi
9079         ;;
9080       esac
9081       ;;
9082
9083     sunos4*)
9084       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9085       wlarc=
9086       hardcode_direct=yes
9087       hardcode_shlibpath_var=no
9088       ;;
9089
9090     *)
9091       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9092         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9093         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9094       else
9095         ld_shlibs=no
9096       fi
9097       ;;
9098     esac
9099
9100     if test "$ld_shlibs" = no; then
9101       runpath_var=
9102       hardcode_libdir_flag_spec=
9103       export_dynamic_flag_spec=
9104       whole_archive_flag_spec=
9105     fi
9106   else
9107     # PORTME fill in a description of your system's linker (not GNU ld)
9108     case $host_os in
9109     aix3*)
9110       allow_undefined_flag=unsupported
9111       always_export_symbols=yes
9112       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'
9113       # Note: this linker hardcodes the directories in LIBPATH if there
9114       # are no directories specified by -L.
9115       hardcode_minus_L=yes
9116       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9117         # Neither direct hardcoding nor static linking is supported with a
9118         # broken collect2.
9119         hardcode_direct=unsupported
9120       fi
9121       ;;
9122
9123     aix[4-9]*)
9124       if test "$host_cpu" = ia64; then
9125         # On IA64, the linker does run time linking by default, so we don't
9126         # have to do anything special.
9127         aix_use_runtimelinking=no
9128         exp_sym_flag='-Bexport'
9129         no_entry_flag=""
9130       else
9131         # If we're using GNU nm, then we don't want the "-C" option.
9132         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9133         # Also, AIX nm treats weak defined symbols like other global
9134         # defined symbols, whereas GNU nm marks them as "W".
9135         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9136           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'
9137         else
9138           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'
9139         fi
9140         aix_use_runtimelinking=no
9141
9142         # Test if we are trying to use run time linking or normal
9143         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9144         # need to do runtime linking.
9145         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9146           for ld_flag in $LDFLAGS; do
9147           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9148             aix_use_runtimelinking=yes
9149             break
9150           fi
9151           done
9152           ;;
9153         esac
9154
9155         exp_sym_flag='-bexport'
9156         no_entry_flag='-bnoentry'
9157       fi
9158
9159       # When large executables or shared objects are built, AIX ld can
9160       # have problems creating the table of contents.  If linking a library
9161       # or program results in "error TOC overflow" add -mminimal-toc to
9162       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9163       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9164
9165       archive_cmds=''
9166       hardcode_direct=yes
9167       hardcode_direct_absolute=yes
9168       hardcode_libdir_separator=':'
9169       link_all_deplibs=yes
9170       file_list_spec='${wl}-f,'
9171
9172       if test "$GCC" = yes; then
9173         case $host_os in aix4.[012]|aix4.[012].*)
9174         # We only want to do this on AIX 4.2 and lower, the check
9175         # below for broken collect2 doesn't work under 4.3+
9176           collect2name=`${CC} -print-prog-name=collect2`
9177           if test -f "$collect2name" &&
9178            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9179           then
9180           # We have reworked collect2
9181           :
9182           else
9183           # We have old collect2
9184           hardcode_direct=unsupported
9185           # It fails to find uninstalled libraries when the uninstalled
9186           # path is not listed in the libpath.  Setting hardcode_minus_L
9187           # to unsupported forces relinking
9188           hardcode_minus_L=yes
9189           hardcode_libdir_flag_spec='-L$libdir'
9190           hardcode_libdir_separator=
9191           fi
9192           ;;
9193         esac
9194         shared_flag='-shared'
9195         if test "$aix_use_runtimelinking" = yes; then
9196           shared_flag="$shared_flag "'${wl}-G'
9197         fi
9198         link_all_deplibs=no
9199       else
9200         # not using gcc
9201         if test "$host_cpu" = ia64; then
9202         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9203         # chokes on -Wl,-G. The following line is correct:
9204           shared_flag='-G'
9205         else
9206           if test "$aix_use_runtimelinking" = yes; then
9207             shared_flag='${wl}-G'
9208           else
9209             shared_flag='${wl}-bM:SRE'
9210           fi
9211         fi
9212       fi
9213
9214       export_dynamic_flag_spec='${wl}-bexpall'
9215       # It seems that -bexpall does not export symbols beginning with
9216       # underscore (_), so it is better to generate a list of symbols to export.
9217       always_export_symbols=yes
9218       if test "$aix_use_runtimelinking" = yes; then
9219         # Warning - without using the other runtime loading flags (-brtl),
9220         # -berok will link without error, but may produce a broken library.
9221         allow_undefined_flag='-berok'
9222         # Determine the default libpath from the value encoded in an
9223         # empty executable.
9224         if test "${lt_cv_aix_libpath+set}" = set; then
9225   aix_libpath=$lt_cv_aix_libpath
9226 else
9227   if ${lt_cv_aix_libpath_+:} false; then :
9228   $as_echo_n "(cached) " >&6
9229 else
9230   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9231 /* end confdefs.h.  */
9232
9233 int
9234 main ()
9235 {
9236
9237   ;
9238   return 0;
9239 }
9240 _ACEOF
9241 if ac_fn_c_try_link "$LINENO"; then :
9242
9243   lt_aix_libpath_sed='
9244       /Import File Strings/,/^$/ {
9245           /^0/ {
9246               s/^0  *\([^ ]*\) *$/\1/
9247               p
9248           }
9249       }'
9250   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9251   # Check for a 64-bit object if we didn't find anything.
9252   if test -z "$lt_cv_aix_libpath_"; then
9253     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9254   fi
9255 fi
9256 rm -f core conftest.err conftest.$ac_objext \
9257     conftest$ac_exeext conftest.$ac_ext
9258   if test -z "$lt_cv_aix_libpath_"; then
9259     lt_cv_aix_libpath_="/usr/lib:/lib"
9260   fi
9261
9262 fi
9263
9264   aix_libpath=$lt_cv_aix_libpath_
9265 fi
9266
9267         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9268         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"
9269       else
9270         if test "$host_cpu" = ia64; then
9271           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9272           allow_undefined_flag="-z nodefs"
9273           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"
9274         else
9275          # Determine the default libpath from the value encoded in an
9276          # empty executable.
9277          if test "${lt_cv_aix_libpath+set}" = set; then
9278   aix_libpath=$lt_cv_aix_libpath
9279 else
9280   if ${lt_cv_aix_libpath_+:} false; then :
9281   $as_echo_n "(cached) " >&6
9282 else
9283   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9284 /* end confdefs.h.  */
9285
9286 int
9287 main ()
9288 {
9289
9290   ;
9291   return 0;
9292 }
9293 _ACEOF
9294 if ac_fn_c_try_link "$LINENO"; then :
9295
9296   lt_aix_libpath_sed='
9297       /Import File Strings/,/^$/ {
9298           /^0/ {
9299               s/^0  *\([^ ]*\) *$/\1/
9300               p
9301           }
9302       }'
9303   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9304   # Check for a 64-bit object if we didn't find anything.
9305   if test -z "$lt_cv_aix_libpath_"; then
9306     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9307   fi
9308 fi
9309 rm -f core conftest.err conftest.$ac_objext \
9310     conftest$ac_exeext conftest.$ac_ext
9311   if test -z "$lt_cv_aix_libpath_"; then
9312     lt_cv_aix_libpath_="/usr/lib:/lib"
9313   fi
9314
9315 fi
9316
9317   aix_libpath=$lt_cv_aix_libpath_
9318 fi
9319
9320          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9321           # Warning - without using the other run time loading flags,
9322           # -berok will link without error, but may produce a broken library.
9323           no_undefined_flag=' ${wl}-bernotok'
9324           allow_undefined_flag=' ${wl}-berok'
9325           if test "$with_gnu_ld" = yes; then
9326             # We only use this code for GNU lds that support --whole-archive.
9327             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9328           else
9329             # Exported symbols can be pulled into shared objects from archives
9330             whole_archive_flag_spec='$convenience'
9331           fi
9332           archive_cmds_need_lc=yes
9333           # This is similar to how AIX traditionally builds its shared libraries.
9334           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'
9335         fi
9336       fi
9337       ;;
9338
9339     amigaos*)
9340       case $host_cpu in
9341       powerpc)
9342             # see comment about AmigaOS4 .so support
9343             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9344             archive_expsym_cmds=''
9345         ;;
9346       m68k)
9347             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)'
9348             hardcode_libdir_flag_spec='-L$libdir'
9349             hardcode_minus_L=yes
9350         ;;
9351       esac
9352       ;;
9353
9354     bsdi[45]*)
9355       export_dynamic_flag_spec=-rdynamic
9356       ;;
9357
9358     cygwin* | mingw* | pw32* | cegcc*)
9359       # When not using gcc, we currently assume that we are using
9360       # Microsoft Visual C++.
9361       # hardcode_libdir_flag_spec is actually meaningless, as there is
9362       # no search path for DLLs.
9363       case $cc_basename in
9364       cl*)
9365         # Native MSVC
9366         hardcode_libdir_flag_spec=' '
9367         allow_undefined_flag=unsupported
9368         always_export_symbols=yes
9369         file_list_spec='@'
9370         # Tell ltmain to make .lib files, not .a files.
9371         libext=lib
9372         # Tell ltmain to make .dll files, not .so files.
9373         shrext_cmds=".dll"
9374         # FIXME: Setting linknames here is a bad hack.
9375         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9376         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9377             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9378           else
9379             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9380           fi~
9381           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9382           linknames='
9383         # The linker will not automatically build a static lib if we build a DLL.
9384         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9385         enable_shared_with_static_runtimes=yes
9386         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9387         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9388         # Don't use ranlib
9389         old_postinstall_cmds='chmod 644 $oldlib'
9390         postlink_cmds='lt_outputfile="@OUTPUT@"~
9391           lt_tool_outputfile="@TOOL_OUTPUT@"~
9392           case $lt_outputfile in
9393             *.exe|*.EXE) ;;
9394             *)
9395               lt_outputfile="$lt_outputfile.exe"
9396               lt_tool_outputfile="$lt_tool_outputfile.exe"
9397               ;;
9398           esac~
9399           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9400             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9401             $RM "$lt_outputfile.manifest";
9402           fi'
9403         ;;
9404       *)
9405         # Assume MSVC wrapper
9406         hardcode_libdir_flag_spec=' '
9407         allow_undefined_flag=unsupported
9408         # Tell ltmain to make .lib files, not .a files.
9409         libext=lib
9410         # Tell ltmain to make .dll files, not .so files.
9411         shrext_cmds=".dll"
9412         # FIXME: Setting linknames here is a bad hack.
9413         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9414         # The linker will automatically build a .lib file if we build a DLL.
9415         old_archive_from_new_cmds='true'
9416         # FIXME: Should let the user specify the lib program.
9417         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9418         enable_shared_with_static_runtimes=yes
9419         ;;
9420       esac
9421       ;;
9422
9423     darwin* | rhapsody*)
9424
9425
9426   archive_cmds_need_lc=no
9427   hardcode_direct=no
9428   hardcode_automatic=yes
9429   hardcode_shlibpath_var=unsupported
9430   if test "$lt_cv_ld_force_load" = "yes"; then
9431     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\"`'
9432
9433   else
9434     whole_archive_flag_spec=''
9435   fi
9436   link_all_deplibs=yes
9437   allow_undefined_flag="$_lt_dar_allow_undefined"
9438   case $cc_basename in
9439      ifort*) _lt_dar_can_shared=yes ;;
9440      *) _lt_dar_can_shared=$GCC ;;
9441   esac
9442   if test "$_lt_dar_can_shared" = "yes"; then
9443     output_verbose_link_cmd=func_echo_all
9444     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9445     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9446     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}"
9447     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}"
9448
9449   else
9450   ld_shlibs=no
9451   fi
9452
9453       ;;
9454
9455     dgux*)
9456       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9457       hardcode_libdir_flag_spec='-L$libdir'
9458       hardcode_shlibpath_var=no
9459       ;;
9460
9461     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9462     # support.  Future versions do this automatically, but an explicit c++rt0.o
9463     # does not break anything, and helps significantly (at the cost of a little
9464     # extra space).
9465     freebsd2.2*)
9466       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9467       hardcode_libdir_flag_spec='-R$libdir'
9468       hardcode_direct=yes
9469       hardcode_shlibpath_var=no
9470       ;;
9471
9472     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9473     freebsd2.*)
9474       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9475       hardcode_direct=yes
9476       hardcode_minus_L=yes
9477       hardcode_shlibpath_var=no
9478       ;;
9479
9480     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9481     freebsd* | dragonfly*)
9482       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9483       hardcode_libdir_flag_spec='-R$libdir'
9484       hardcode_direct=yes
9485       hardcode_shlibpath_var=no
9486       ;;
9487
9488     hpux9*)
9489       if test "$GCC" = yes; then
9490         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'
9491       else
9492         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'
9493       fi
9494       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9495       hardcode_libdir_separator=:
9496       hardcode_direct=yes
9497
9498       # hardcode_minus_L: Not really in the search PATH,
9499       # but as the default location of the library.
9500       hardcode_minus_L=yes
9501       export_dynamic_flag_spec='${wl}-E'
9502       ;;
9503
9504     hpux10*)
9505       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9506         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9507       else
9508         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9509       fi
9510       if test "$with_gnu_ld" = no; then
9511         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9512         hardcode_libdir_separator=:
9513         hardcode_direct=yes
9514         hardcode_direct_absolute=yes
9515         export_dynamic_flag_spec='${wl}-E'
9516         # hardcode_minus_L: Not really in the search PATH,
9517         # but as the default location of the library.
9518         hardcode_minus_L=yes
9519       fi
9520       ;;
9521
9522     hpux11*)
9523       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9524         case $host_cpu in
9525         hppa*64*)
9526           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9527           ;;
9528         ia64*)
9529           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9530           ;;
9531         *)
9532           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9533           ;;
9534         esac
9535       else
9536         case $host_cpu in
9537         hppa*64*)
9538           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9539           ;;
9540         ia64*)
9541           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9542           ;;
9543         *)
9544
9545           # Older versions of the 11.00 compiler do not understand -b yet
9546           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9547           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9548 $as_echo_n "checking if $CC understands -b... " >&6; }
9549 if ${lt_cv_prog_compiler__b+:} false; then :
9550   $as_echo_n "(cached) " >&6
9551 else
9552   lt_cv_prog_compiler__b=no
9553    save_LDFLAGS="$LDFLAGS"
9554    LDFLAGS="$LDFLAGS -b"
9555    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9556    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9557      # The linker can only warn and ignore the option if not recognized
9558      # So say no if there are warnings
9559      if test -s conftest.err; then
9560        # Append any errors to the config.log.
9561        cat conftest.err 1>&5
9562        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9563        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9564        if diff conftest.exp conftest.er2 >/dev/null; then
9565          lt_cv_prog_compiler__b=yes
9566        fi
9567      else
9568        lt_cv_prog_compiler__b=yes
9569      fi
9570    fi
9571    $RM -r conftest*
9572    LDFLAGS="$save_LDFLAGS"
9573
9574 fi
9575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9576 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9577
9578 if test x"$lt_cv_prog_compiler__b" = xyes; then
9579     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9580 else
9581     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9582 fi
9583
9584           ;;
9585         esac
9586       fi
9587       if test "$with_gnu_ld" = no; then
9588         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9589         hardcode_libdir_separator=:
9590
9591         case $host_cpu in
9592         hppa*64*|ia64*)
9593           hardcode_direct=no
9594           hardcode_shlibpath_var=no
9595           ;;
9596         *)
9597           hardcode_direct=yes
9598           hardcode_direct_absolute=yes
9599           export_dynamic_flag_spec='${wl}-E'
9600
9601           # hardcode_minus_L: Not really in the search PATH,
9602           # but as the default location of the library.
9603           hardcode_minus_L=yes
9604           ;;
9605         esac
9606       fi
9607       ;;
9608
9609     irix5* | irix6* | nonstopux*)
9610       if test "$GCC" = yes; then
9611         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'
9612         # Try to use the -exported_symbol ld option, if it does not
9613         # work, assume that -exports_file does not work either and
9614         # implicitly export all symbols.
9615         # This should be the same for all languages, so no per-tag cache variable.
9616         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9617 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9618 if ${lt_cv_irix_exported_symbol+:} false; then :
9619   $as_echo_n "(cached) " >&6
9620 else
9621   save_LDFLAGS="$LDFLAGS"
9622            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9623            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9624 /* end confdefs.h.  */
9625 int foo (void) { return 0; }
9626 _ACEOF
9627 if ac_fn_c_try_link "$LINENO"; then :
9628   lt_cv_irix_exported_symbol=yes
9629 else
9630   lt_cv_irix_exported_symbol=no
9631 fi
9632 rm -f core conftest.err conftest.$ac_objext \
9633     conftest$ac_exeext conftest.$ac_ext
9634            LDFLAGS="$save_LDFLAGS"
9635 fi
9636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9637 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9638         if test "$lt_cv_irix_exported_symbol" = yes; then
9639           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'
9640         fi
9641       else
9642         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'
9643         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'
9644       fi
9645       archive_cmds_need_lc='no'
9646       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9647       hardcode_libdir_separator=:
9648       inherit_rpath=yes
9649       link_all_deplibs=yes
9650       ;;
9651
9652     netbsd* | netbsdelf*-gnu)
9653       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9654         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9655       else
9656         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9657       fi
9658       hardcode_libdir_flag_spec='-R$libdir'
9659       hardcode_direct=yes
9660       hardcode_shlibpath_var=no
9661       ;;
9662
9663     newsos6)
9664       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9665       hardcode_direct=yes
9666       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9667       hardcode_libdir_separator=:
9668       hardcode_shlibpath_var=no
9669       ;;
9670
9671     *nto* | *qnx*)
9672       ;;
9673
9674     openbsd*)
9675       if test -f /usr/libexec/ld.so; then
9676         hardcode_direct=yes
9677         hardcode_shlibpath_var=no
9678         hardcode_direct_absolute=yes
9679         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9680           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9681           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9682           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9683           export_dynamic_flag_spec='${wl}-E'
9684         else
9685           case $host_os in
9686            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9687              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9688              hardcode_libdir_flag_spec='-R$libdir'
9689              ;;
9690            *)
9691              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9692              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9693              ;;
9694           esac
9695         fi
9696       else
9697         ld_shlibs=no
9698       fi
9699       ;;
9700
9701     os2*)
9702       hardcode_libdir_flag_spec='-L$libdir'
9703       hardcode_minus_L=yes
9704       allow_undefined_flag=unsupported
9705       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'
9706       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9707       ;;
9708
9709     osf3*)
9710       if test "$GCC" = yes; then
9711         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9712         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'
9713       else
9714         allow_undefined_flag=' -expect_unresolved \*'
9715         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'
9716       fi
9717       archive_cmds_need_lc='no'
9718       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9719       hardcode_libdir_separator=:
9720       ;;
9721
9722     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9723       if test "$GCC" = yes; then
9724         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9725         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'
9726         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9727       else
9728         allow_undefined_flag=' -expect_unresolved \*'
9729         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'
9730         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~
9731         $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'
9732
9733         # Both c and cxx compiler support -rpath directly
9734         hardcode_libdir_flag_spec='-rpath $libdir'
9735       fi
9736       archive_cmds_need_lc='no'
9737       hardcode_libdir_separator=:
9738       ;;
9739
9740     solaris*)
9741       no_undefined_flag=' -z defs'
9742       if test "$GCC" = yes; then
9743         wlarc='${wl}'
9744         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9745         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9746           $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'
9747       else
9748         case `$CC -V 2>&1` in
9749         *"Compilers 5.0"*)
9750           wlarc=''
9751           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9752           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9753           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9754           ;;
9755         *)
9756           wlarc='${wl}'
9757           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9758           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9759           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9760           ;;
9761         esac
9762       fi
9763       hardcode_libdir_flag_spec='-R$libdir'
9764       hardcode_shlibpath_var=no
9765       case $host_os in
9766       solaris2.[0-5] | solaris2.[0-5].*) ;;
9767       *)
9768         # The compiler driver will combine and reorder linker options,
9769         # but understands `-z linker_flag'.  GCC discards it without `$wl',
9770         # but is careful enough not to reorder.
9771         # Supported since Solaris 2.6 (maybe 2.5.1?)
9772         if test "$GCC" = yes; then
9773           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9774         else
9775           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9776         fi
9777         ;;
9778       esac
9779       link_all_deplibs=yes
9780       ;;
9781
9782     sunos4*)
9783       if test "x$host_vendor" = xsequent; then
9784         # Use $CC to link under sequent, because it throws in some extra .o
9785         # files that make .init and .fini sections work.
9786         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9787       else
9788         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9789       fi
9790       hardcode_libdir_flag_spec='-L$libdir'
9791       hardcode_direct=yes
9792       hardcode_minus_L=yes
9793       hardcode_shlibpath_var=no
9794       ;;
9795
9796     sysv4)
9797       case $host_vendor in
9798         sni)
9799           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9800           hardcode_direct=yes # is this really true???
9801         ;;
9802         siemens)
9803           ## LD is ld it makes a PLAMLIB
9804           ## CC just makes a GrossModule.
9805           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9806           reload_cmds='$CC -r -o $output$reload_objs'
9807           hardcode_direct=no
9808         ;;
9809         motorola)
9810           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9811           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9812         ;;
9813       esac
9814       runpath_var='LD_RUN_PATH'
9815       hardcode_shlibpath_var=no
9816       ;;
9817
9818     sysv4.3*)
9819       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9820       hardcode_shlibpath_var=no
9821       export_dynamic_flag_spec='-Bexport'
9822       ;;
9823
9824     sysv4*MP*)
9825       if test -d /usr/nec; then
9826         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9827         hardcode_shlibpath_var=no
9828         runpath_var=LD_RUN_PATH
9829         hardcode_runpath_var=yes
9830         ld_shlibs=yes
9831       fi
9832       ;;
9833
9834     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9835       no_undefined_flag='${wl}-z,text'
9836       archive_cmds_need_lc=no
9837       hardcode_shlibpath_var=no
9838       runpath_var='LD_RUN_PATH'
9839
9840       if test "$GCC" = yes; then
9841         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9842         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9843       else
9844         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9845         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9846       fi
9847       ;;
9848
9849     sysv5* | sco3.2v5* | sco5v6*)
9850       # Note: We can NOT use -z defs as we might desire, because we do not
9851       # link with -lc, and that would cause any symbols used from libc to
9852       # always be unresolved, which means just about no library would
9853       # ever link correctly.  If we're not using GNU ld we use -z text
9854       # though, which does catch some bad symbols but isn't as heavy-handed
9855       # as -z defs.
9856       no_undefined_flag='${wl}-z,text'
9857       allow_undefined_flag='${wl}-z,nodefs'
9858       archive_cmds_need_lc=no
9859       hardcode_shlibpath_var=no
9860       hardcode_libdir_flag_spec='${wl}-R,$libdir'
9861       hardcode_libdir_separator=':'
9862       link_all_deplibs=yes
9863       export_dynamic_flag_spec='${wl}-Bexport'
9864       runpath_var='LD_RUN_PATH'
9865
9866       if test "$GCC" = yes; then
9867         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9868         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9869       else
9870         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9871         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9872       fi
9873       ;;
9874
9875     uts4*)
9876       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9877       hardcode_libdir_flag_spec='-L$libdir'
9878       hardcode_shlibpath_var=no
9879       ;;
9880
9881     *)
9882       ld_shlibs=no
9883       ;;
9884     esac
9885
9886     if test x$host_vendor = xsni; then
9887       case $host in
9888       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9889         export_dynamic_flag_spec='${wl}-Blargedynsym'
9890         ;;
9891       esac
9892     fi
9893   fi
9894
9895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9896 $as_echo "$ld_shlibs" >&6; }
9897 test "$ld_shlibs" = no && can_build_shared=no
9898
9899 with_gnu_ld=$with_gnu_ld
9900
9901
9902
9903
9904
9905
9906
9907
9908
9909
9910
9911
9912
9913
9914
9915 #
9916 # Do we need to explicitly link libc?
9917 #
9918 case "x$archive_cmds_need_lc" in
9919 x|xyes)
9920   # Assume -lc should be added
9921   archive_cmds_need_lc=yes
9922
9923   if test "$enable_shared" = yes && test "$GCC" = yes; then
9924     case $archive_cmds in
9925     *'~'*)
9926       # FIXME: we may have to deal with multi-command sequences.
9927       ;;
9928     '$CC '*)
9929       # Test whether the compiler implicitly links with -lc since on some
9930       # systems, -lgcc has to come before -lc. If gcc already passes -lc
9931       # to ld, don't add -lc before -lgcc.
9932       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9933 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9934 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9935   $as_echo_n "(cached) " >&6
9936 else
9937   $RM conftest*
9938         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9939
9940         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9941   (eval $ac_compile) 2>&5
9942   ac_status=$?
9943   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9944   test $ac_status = 0; } 2>conftest.err; then
9945           soname=conftest
9946           lib=conftest
9947           libobjs=conftest.$ac_objext
9948           deplibs=
9949           wl=$lt_prog_compiler_wl
9950           pic_flag=$lt_prog_compiler_pic
9951           compiler_flags=-v
9952           linker_flags=-v
9953           verstring=
9954           output_objdir=.
9955           libname=conftest
9956           lt_save_allow_undefined_flag=$allow_undefined_flag
9957           allow_undefined_flag=
9958           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9959   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9960   ac_status=$?
9961   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9962   test $ac_status = 0; }
9963           then
9964             lt_cv_archive_cmds_need_lc=no
9965           else
9966             lt_cv_archive_cmds_need_lc=yes
9967           fi
9968           allow_undefined_flag=$lt_save_allow_undefined_flag
9969         else
9970           cat conftest.err 1>&5
9971         fi
9972         $RM conftest*
9973
9974 fi
9975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9976 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9977       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9978       ;;
9979     esac
9980   fi
9981   ;;
9982 esac
9983
9984
9985
9986
9987
9988
9989
9990
9991
9992
9993
9994
9995
9996
9997
9998
9999
10000
10001
10002
10003
10004
10005
10006
10007
10008
10009
10010
10011
10012
10013
10014
10015
10016
10017
10018
10019
10020
10021
10022
10023
10024
10025
10026
10027
10028
10029
10030
10031
10032
10033
10034
10035
10036
10037
10038
10039
10040
10041
10042
10043
10044
10045
10046
10047
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10136 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10137
10138 if test "$GCC" = yes; then
10139   case $host_os in
10140     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10141     *) lt_awk_arg="/^libraries:/" ;;
10142   esac
10143   case $host_os in
10144     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10145     *) lt_sed_strip_eq="s,=/,/,g" ;;
10146   esac
10147   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10148   case $lt_search_path_spec in
10149   *\;*)
10150     # if the path contains ";" then we assume it to be the separator
10151     # otherwise default to the standard path separator (i.e. ":") - it is
10152     # assumed that no part of a normal pathname contains ";" but that should
10153     # okay in the real world where ";" in dirpaths is itself problematic.
10154     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10155     ;;
10156   *)
10157     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10158     ;;
10159   esac
10160   # Ok, now we have the path, separated by spaces, we can step through it
10161   # and add multilib dir if necessary.
10162   lt_tmp_lt_search_path_spec=
10163   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10164   for lt_sys_path in $lt_search_path_spec; do
10165     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10166       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10167     else
10168       test -d "$lt_sys_path" && \
10169         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10170     fi
10171   done
10172   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10173 BEGIN {RS=" "; FS="/|\n";} {
10174   lt_foo="";
10175   lt_count=0;
10176   for (lt_i = NF; lt_i > 0; lt_i--) {
10177     if ($lt_i != "" && $lt_i != ".") {
10178       if ($lt_i == "..") {
10179         lt_count++;
10180       } else {
10181         if (lt_count == 0) {
10182           lt_foo="/" $lt_i lt_foo;
10183         } else {
10184           lt_count--;
10185         }
10186       }
10187     }
10188   }
10189   if (lt_foo != "") { lt_freq[lt_foo]++; }
10190   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10191 }'`
10192   # AWK program above erroneously prepends '/' to C:/dos/paths
10193   # for these hosts.
10194   case $host_os in
10195     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10196       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10197   esac
10198   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10199 else
10200   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10201 fi
10202 library_names_spec=
10203 libname_spec='lib$name'
10204 soname_spec=
10205 shrext_cmds=".so"
10206 postinstall_cmds=
10207 postuninstall_cmds=
10208 finish_cmds=
10209 finish_eval=
10210 shlibpath_var=
10211 shlibpath_overrides_runpath=unknown
10212 version_type=none
10213 dynamic_linker="$host_os ld.so"
10214 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10215 need_lib_prefix=unknown
10216 hardcode_into_libs=no
10217
10218 # when you set need_version to no, make sure it does not cause -set_version
10219 # flags to be left without arguments
10220 need_version=unknown
10221
10222 case $host_os in
10223 aix3*)
10224   version_type=linux # correct to gnu/linux during the next big refactor
10225   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10226   shlibpath_var=LIBPATH
10227
10228   # AIX 3 has no versioning support, so we append a major version to the name.
10229   soname_spec='${libname}${release}${shared_ext}$major'
10230   ;;
10231
10232 aix[4-9]*)
10233   version_type=linux # correct to gnu/linux during the next big refactor
10234   need_lib_prefix=no
10235   need_version=no
10236   hardcode_into_libs=yes
10237   if test "$host_cpu" = ia64; then
10238     # AIX 5 supports IA64
10239     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10240     shlibpath_var=LD_LIBRARY_PATH
10241   else
10242     # With GCC up to 2.95.x, collect2 would create an import file
10243     # for dependence libraries.  The import file would start with
10244     # the line `#! .'.  This would cause the generated library to
10245     # depend on `.', always an invalid library.  This was fixed in
10246     # development snapshots of GCC prior to 3.0.
10247     case $host_os in
10248       aix4 | aix4.[01] | aix4.[01].*)
10249       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10250            echo ' yes '
10251            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10252         :
10253       else
10254         can_build_shared=no
10255       fi
10256       ;;
10257     esac
10258     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10259     # soname into executable. Probably we can add versioning support to
10260     # collect2, so additional links can be useful in future.
10261     if test "$aix_use_runtimelinking" = yes; then
10262       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10263       # instead of lib<name>.a to let people know that these are not
10264       # typical AIX shared libraries.
10265       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10266     else
10267       # We preserve .a as extension for shared libraries through AIX4.2
10268       # and later when we are not doing run time linking.
10269       library_names_spec='${libname}${release}.a $libname.a'
10270       soname_spec='${libname}${release}${shared_ext}$major'
10271     fi
10272     shlibpath_var=LIBPATH
10273   fi
10274   ;;
10275
10276 amigaos*)
10277   case $host_cpu in
10278   powerpc)
10279     # Since July 2007 AmigaOS4 officially supports .so libraries.
10280     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10281     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10282     ;;
10283   m68k)
10284     library_names_spec='$libname.ixlibrary $libname.a'
10285     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10286     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'
10287     ;;
10288   esac
10289   ;;
10290
10291 beos*)
10292   library_names_spec='${libname}${shared_ext}'
10293   dynamic_linker="$host_os ld.so"
10294   shlibpath_var=LIBRARY_PATH
10295   ;;
10296
10297 bsdi[45]*)
10298   version_type=linux # correct to gnu/linux during the next big refactor
10299   need_version=no
10300   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10301   soname_spec='${libname}${release}${shared_ext}$major'
10302   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10303   shlibpath_var=LD_LIBRARY_PATH
10304   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10305   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10306   # the default ld.so.conf also contains /usr/contrib/lib and
10307   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10308   # libtool to hard-code these into programs
10309   ;;
10310
10311 cygwin* | mingw* | pw32* | cegcc*)
10312   version_type=windows
10313   shrext_cmds=".dll"
10314   need_version=no
10315   need_lib_prefix=no
10316
10317   case $GCC,$cc_basename in
10318   yes,*)
10319     # gcc
10320     library_names_spec='$libname.dll.a'
10321     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10322     postinstall_cmds='base_file=`basename \${file}`~
10323       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10324       dldir=$destdir/`dirname \$dlpath`~
10325       test -d \$dldir || mkdir -p \$dldir~
10326       $install_prog $dir/$dlname \$dldir/$dlname~
10327       chmod a+x \$dldir/$dlname~
10328       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10329         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10330       fi'
10331     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10332       dlpath=$dir/\$dldll~
10333        $RM \$dlpath'
10334     shlibpath_overrides_runpath=yes
10335
10336     case $host_os in
10337     cygwin*)
10338       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10339       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10340
10341       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10342       ;;
10343     mingw* | cegcc*)
10344       # MinGW DLLs use traditional 'lib' prefix
10345       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10346       ;;
10347     pw32*)
10348       # pw32 DLLs use 'pw' prefix rather than 'lib'
10349       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10350       ;;
10351     esac
10352     dynamic_linker='Win32 ld.exe'
10353     ;;
10354
10355   *,cl*)
10356     # Native MSVC
10357     libname_spec='$name'
10358     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10359     library_names_spec='${libname}.dll.lib'
10360
10361     case $build_os in
10362     mingw*)
10363       sys_lib_search_path_spec=
10364       lt_save_ifs=$IFS
10365       IFS=';'
10366       for lt_path in $LIB
10367       do
10368         IFS=$lt_save_ifs
10369         # Let DOS variable expansion print the short 8.3 style file name.
10370         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10371         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10372       done
10373       IFS=$lt_save_ifs
10374       # Convert to MSYS style.
10375       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10376       ;;
10377     cygwin*)
10378       # Convert to unix form, then to dos form, then back to unix form
10379       # but this time dos style (no spaces!) so that the unix form looks
10380       # like /cygdrive/c/PROGRA~1:/cygdr...
10381       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10382       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10383       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10384       ;;
10385     *)
10386       sys_lib_search_path_spec="$LIB"
10387       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10388         # It is most probably a Windows format PATH.
10389         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10390       else
10391         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10392       fi
10393       # FIXME: find the short name or the path components, as spaces are
10394       # common. (e.g. "Program Files" -> "PROGRA~1")
10395       ;;
10396     esac
10397
10398     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10399     postinstall_cmds='base_file=`basename \${file}`~
10400       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10401       dldir=$destdir/`dirname \$dlpath`~
10402       test -d \$dldir || mkdir -p \$dldir~
10403       $install_prog $dir/$dlname \$dldir/$dlname'
10404     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10405       dlpath=$dir/\$dldll~
10406        $RM \$dlpath'
10407     shlibpath_overrides_runpath=yes
10408     dynamic_linker='Win32 link.exe'
10409     ;;
10410
10411   *)
10412     # Assume MSVC wrapper
10413     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10414     dynamic_linker='Win32 ld.exe'
10415     ;;
10416   esac
10417   # FIXME: first we should search . and the directory the executable is in
10418   shlibpath_var=PATH
10419   ;;
10420
10421 darwin* | rhapsody*)
10422   dynamic_linker="$host_os dyld"
10423   version_type=darwin
10424   need_lib_prefix=no
10425   need_version=no
10426   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10427   soname_spec='${libname}${release}${major}$shared_ext'
10428   shlibpath_overrides_runpath=yes
10429   shlibpath_var=DYLD_LIBRARY_PATH
10430   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10431
10432   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10433   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10434   ;;
10435
10436 dgux*)
10437   version_type=linux # correct to gnu/linux during the next big refactor
10438   need_lib_prefix=no
10439   need_version=no
10440   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10441   soname_spec='${libname}${release}${shared_ext}$major'
10442   shlibpath_var=LD_LIBRARY_PATH
10443   ;;
10444
10445 freebsd* | dragonfly*)
10446   # DragonFly does not have aout.  When/if they implement a new
10447   # versioning mechanism, adjust this.
10448   if test -x /usr/bin/objformat; then
10449     objformat=`/usr/bin/objformat`
10450   else
10451     case $host_os in
10452     freebsd[23].*) objformat=aout ;;
10453     *) objformat=elf ;;
10454     esac
10455   fi
10456   version_type=freebsd-$objformat
10457   case $version_type in
10458     freebsd-elf*)
10459       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10460       need_version=no
10461       need_lib_prefix=no
10462       ;;
10463     freebsd-*)
10464       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10465       need_version=yes
10466       ;;
10467   esac
10468   shlibpath_var=LD_LIBRARY_PATH
10469   case $host_os in
10470   freebsd2.*)
10471     shlibpath_overrides_runpath=yes
10472     ;;
10473   freebsd3.[01]* | freebsdelf3.[01]*)
10474     shlibpath_overrides_runpath=yes
10475     hardcode_into_libs=yes
10476     ;;
10477   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10478   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10479     shlibpath_overrides_runpath=no
10480     hardcode_into_libs=yes
10481     ;;
10482   *) # from 4.6 on, and DragonFly
10483     shlibpath_overrides_runpath=yes
10484     hardcode_into_libs=yes
10485     ;;
10486   esac
10487   ;;
10488
10489 haiku*)
10490   version_type=linux # correct to gnu/linux during the next big refactor
10491   need_lib_prefix=no
10492   need_version=no
10493   dynamic_linker="$host_os runtime_loader"
10494   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10495   soname_spec='${libname}${release}${shared_ext}$major'
10496   shlibpath_var=LIBRARY_PATH
10497   shlibpath_overrides_runpath=yes
10498   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10499   hardcode_into_libs=yes
10500   ;;
10501
10502 hpux9* | hpux10* | hpux11*)
10503   # Give a soname corresponding to the major version so that dld.sl refuses to
10504   # link against other versions.
10505   version_type=sunos
10506   need_lib_prefix=no
10507   need_version=no
10508   case $host_cpu in
10509   ia64*)
10510     shrext_cmds='.so'
10511     hardcode_into_libs=yes
10512     dynamic_linker="$host_os dld.so"
10513     shlibpath_var=LD_LIBRARY_PATH
10514     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10515     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10516     soname_spec='${libname}${release}${shared_ext}$major'
10517     if test "X$HPUX_IA64_MODE" = X32; then
10518       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10519     else
10520       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10521     fi
10522     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10523     ;;
10524   hppa*64*)
10525     shrext_cmds='.sl'
10526     hardcode_into_libs=yes
10527     dynamic_linker="$host_os dld.sl"
10528     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10529     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10530     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10531     soname_spec='${libname}${release}${shared_ext}$major'
10532     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10533     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10534     ;;
10535   *)
10536     shrext_cmds='.sl'
10537     dynamic_linker="$host_os dld.sl"
10538     shlibpath_var=SHLIB_PATH
10539     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10540     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10541     soname_spec='${libname}${release}${shared_ext}$major'
10542     ;;
10543   esac
10544   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10545   postinstall_cmds='chmod 555 $lib'
10546   # or fails outright, so override atomically:
10547   install_override_mode=555
10548   ;;
10549
10550 interix[3-9]*)
10551   version_type=linux # correct to gnu/linux during the next big refactor
10552   need_lib_prefix=no
10553   need_version=no
10554   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10555   soname_spec='${libname}${release}${shared_ext}$major'
10556   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10557   shlibpath_var=LD_LIBRARY_PATH
10558   shlibpath_overrides_runpath=no
10559   hardcode_into_libs=yes
10560   ;;
10561
10562 irix5* | irix6* | nonstopux*)
10563   case $host_os in
10564     nonstopux*) version_type=nonstopux ;;
10565     *)
10566         if test "$lt_cv_prog_gnu_ld" = yes; then
10567                 version_type=linux # correct to gnu/linux during the next big refactor
10568         else
10569                 version_type=irix
10570         fi ;;
10571   esac
10572   need_lib_prefix=no
10573   need_version=no
10574   soname_spec='${libname}${release}${shared_ext}$major'
10575   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10576   case $host_os in
10577   irix5* | nonstopux*)
10578     libsuff= shlibsuff=
10579     ;;
10580   *)
10581     case $LD in # libtool.m4 will add one of these switches to LD
10582     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10583       libsuff= shlibsuff= libmagic=32-bit;;
10584     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10585       libsuff=32 shlibsuff=N32 libmagic=N32;;
10586     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10587       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10588     *) libsuff= shlibsuff= libmagic=never-match;;
10589     esac
10590     ;;
10591   esac
10592   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10593   shlibpath_overrides_runpath=no
10594   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10595   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10596   hardcode_into_libs=yes
10597   ;;
10598
10599 # No shared lib support for Linux oldld, aout, or coff.
10600 linux*oldld* | linux*aout* | linux*coff*)
10601   dynamic_linker=no
10602   ;;
10603
10604 # This must be glibc/ELF.
10605 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10606   version_type=linux # correct to gnu/linux during the next big refactor
10607   need_lib_prefix=no
10608   need_version=no
10609   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10610   soname_spec='${libname}${release}${shared_ext}$major'
10611   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10612   shlibpath_var=LD_LIBRARY_PATH
10613   shlibpath_overrides_runpath=no
10614
10615   # Some binutils ld are patched to set DT_RUNPATH
10616   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10617   $as_echo_n "(cached) " >&6
10618 else
10619   lt_cv_shlibpath_overrides_runpath=no
10620     save_LDFLAGS=$LDFLAGS
10621     save_libdir=$libdir
10622     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10623          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10624     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10625 /* end confdefs.h.  */
10626
10627 int
10628 main ()
10629 {
10630
10631   ;
10632   return 0;
10633 }
10634 _ACEOF
10635 if ac_fn_c_try_link "$LINENO"; then :
10636   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10637   lt_cv_shlibpath_overrides_runpath=yes
10638 fi
10639 fi
10640 rm -f core conftest.err conftest.$ac_objext \
10641     conftest$ac_exeext conftest.$ac_ext
10642     LDFLAGS=$save_LDFLAGS
10643     libdir=$save_libdir
10644
10645 fi
10646
10647   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10648
10649   # This implies no fast_install, which is unacceptable.
10650   # Some rework will be needed to allow for fast_install
10651   # before this can be enabled.
10652   hardcode_into_libs=yes
10653
10654   # Append ld.so.conf contents to the search path
10655   if test -f /etc/ld.so.conf; then
10656     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' ' '`
10657     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10658   fi
10659
10660   # We used to test for /lib/ld.so.1 and disable shared libraries on
10661   # powerpc, because MkLinux only supported shared libraries with the
10662   # GNU dynamic linker.  Since this was broken with cross compilers,
10663   # most powerpc-linux boxes support dynamic linking these days and
10664   # people can always --disable-shared, the test was removed, and we
10665   # assume the GNU/Linux dynamic linker is in use.
10666   dynamic_linker='GNU/Linux ld.so'
10667   ;;
10668
10669 netbsdelf*-gnu)
10670   version_type=linux
10671   need_lib_prefix=no
10672   need_version=no
10673   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10674   soname_spec='${libname}${release}${shared_ext}$major'
10675   shlibpath_var=LD_LIBRARY_PATH
10676   shlibpath_overrides_runpath=no
10677   hardcode_into_libs=yes
10678   dynamic_linker='NetBSD ld.elf_so'
10679   ;;
10680
10681 netbsd*)
10682   version_type=sunos
10683   need_lib_prefix=no
10684   need_version=no
10685   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10686     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10687     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10688     dynamic_linker='NetBSD (a.out) ld.so'
10689   else
10690     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10691     soname_spec='${libname}${release}${shared_ext}$major'
10692     dynamic_linker='NetBSD ld.elf_so'
10693   fi
10694   shlibpath_var=LD_LIBRARY_PATH
10695   shlibpath_overrides_runpath=yes
10696   hardcode_into_libs=yes
10697   ;;
10698
10699 newsos6)
10700   version_type=linux # correct to gnu/linux during the next big refactor
10701   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10702   shlibpath_var=LD_LIBRARY_PATH
10703   shlibpath_overrides_runpath=yes
10704   ;;
10705
10706 *nto* | *qnx*)
10707   version_type=qnx
10708   need_lib_prefix=no
10709   need_version=no
10710   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10711   soname_spec='${libname}${release}${shared_ext}$major'
10712   shlibpath_var=LD_LIBRARY_PATH
10713   shlibpath_overrides_runpath=no
10714   hardcode_into_libs=yes
10715   dynamic_linker='ldqnx.so'
10716   ;;
10717
10718 openbsd*)
10719   version_type=sunos
10720   sys_lib_dlsearch_path_spec="/usr/lib"
10721   need_lib_prefix=no
10722   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10723   case $host_os in
10724     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10725     *)                          need_version=no  ;;
10726   esac
10727   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10728   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10729   shlibpath_var=LD_LIBRARY_PATH
10730   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10731     case $host_os in
10732       openbsd2.[89] | openbsd2.[89].*)
10733         shlibpath_overrides_runpath=no
10734         ;;
10735       *)
10736         shlibpath_overrides_runpath=yes
10737         ;;
10738       esac
10739   else
10740     shlibpath_overrides_runpath=yes
10741   fi
10742   ;;
10743
10744 os2*)
10745   libname_spec='$name'
10746   shrext_cmds=".dll"
10747   need_lib_prefix=no
10748   library_names_spec='$libname${shared_ext} $libname.a'
10749   dynamic_linker='OS/2 ld.exe'
10750   shlibpath_var=LIBPATH
10751   ;;
10752
10753 osf3* | osf4* | osf5*)
10754   version_type=osf
10755   need_lib_prefix=no
10756   need_version=no
10757   soname_spec='${libname}${release}${shared_ext}$major'
10758   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10759   shlibpath_var=LD_LIBRARY_PATH
10760   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10761   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10762   ;;
10763
10764 rdos*)
10765   dynamic_linker=no
10766   ;;
10767
10768 solaris*)
10769   version_type=linux # correct to gnu/linux during the next big refactor
10770   need_lib_prefix=no
10771   need_version=no
10772   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10773   soname_spec='${libname}${release}${shared_ext}$major'
10774   shlibpath_var=LD_LIBRARY_PATH
10775   shlibpath_overrides_runpath=yes
10776   hardcode_into_libs=yes
10777   # ldd complains unless libraries are executable
10778   postinstall_cmds='chmod +x $lib'
10779   ;;
10780
10781 sunos4*)
10782   version_type=sunos
10783   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10784   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10785   shlibpath_var=LD_LIBRARY_PATH
10786   shlibpath_overrides_runpath=yes
10787   if test "$with_gnu_ld" = yes; then
10788     need_lib_prefix=no
10789   fi
10790   need_version=yes
10791   ;;
10792
10793 sysv4 | sysv4.3*)
10794   version_type=linux # correct to gnu/linux during the next big refactor
10795   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10796   soname_spec='${libname}${release}${shared_ext}$major'
10797   shlibpath_var=LD_LIBRARY_PATH
10798   case $host_vendor in
10799     sni)
10800       shlibpath_overrides_runpath=no
10801       need_lib_prefix=no
10802       runpath_var=LD_RUN_PATH
10803       ;;
10804     siemens)
10805       need_lib_prefix=no
10806       ;;
10807     motorola)
10808       need_lib_prefix=no
10809       need_version=no
10810       shlibpath_overrides_runpath=no
10811       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10812       ;;
10813   esac
10814   ;;
10815
10816 sysv4*MP*)
10817   if test -d /usr/nec ;then
10818     version_type=linux # correct to gnu/linux during the next big refactor
10819     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10820     soname_spec='$libname${shared_ext}.$major'
10821     shlibpath_var=LD_LIBRARY_PATH
10822   fi
10823   ;;
10824
10825 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10826   version_type=freebsd-elf
10827   need_lib_prefix=no
10828   need_version=no
10829   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10830   soname_spec='${libname}${release}${shared_ext}$major'
10831   shlibpath_var=LD_LIBRARY_PATH
10832   shlibpath_overrides_runpath=yes
10833   hardcode_into_libs=yes
10834   if test "$with_gnu_ld" = yes; then
10835     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10836   else
10837     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10838     case $host_os in
10839       sco3.2v5*)
10840         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10841         ;;
10842     esac
10843   fi
10844   sys_lib_dlsearch_path_spec='/usr/lib'
10845   ;;
10846
10847 tpf*)
10848   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10849   version_type=linux # correct to gnu/linux during the next big refactor
10850   need_lib_prefix=no
10851   need_version=no
10852   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10853   shlibpath_var=LD_LIBRARY_PATH
10854   shlibpath_overrides_runpath=no
10855   hardcode_into_libs=yes
10856   ;;
10857
10858 uts4*)
10859   version_type=linux # correct to gnu/linux during the next big refactor
10860   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10861   soname_spec='${libname}${release}${shared_ext}$major'
10862   shlibpath_var=LD_LIBRARY_PATH
10863   ;;
10864
10865 *)
10866   dynamic_linker=no
10867   ;;
10868 esac
10869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10870 $as_echo "$dynamic_linker" >&6; }
10871 test "$dynamic_linker" = no && can_build_shared=no
10872
10873 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10874 if test "$GCC" = yes; then
10875   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10876 fi
10877
10878 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10879   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10880 fi
10881 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10882   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10883 fi
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10977 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10978 hardcode_action=
10979 if test -n "$hardcode_libdir_flag_spec" ||
10980    test -n "$runpath_var" ||
10981    test "X$hardcode_automatic" = "Xyes" ; then
10982
10983   # We can hardcode non-existent directories.
10984   if test "$hardcode_direct" != no &&
10985      # If the only mechanism to avoid hardcoding is shlibpath_var, we
10986      # have to relink, otherwise we might link with an installed library
10987      # when we should be linking with a yet-to-be-installed one
10988      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10989      test "$hardcode_minus_L" != no; then
10990     # Linking always hardcodes the temporary library directory.
10991     hardcode_action=relink
10992   else
10993     # We can link without hardcoding, and we can hardcode nonexisting dirs.
10994     hardcode_action=immediate
10995   fi
10996 else
10997   # We cannot hardcode anything, or else we can only hardcode existing
10998   # directories.
10999   hardcode_action=unsupported
11000 fi
11001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11002 $as_echo "$hardcode_action" >&6; }
11003
11004 if test "$hardcode_action" = relink ||
11005    test "$inherit_rpath" = yes; then
11006   # Fast installation is not supported
11007   enable_fast_install=no
11008 elif test "$shlibpath_overrides_runpath" = yes ||
11009      test "$enable_shared" = no; then
11010   # Fast installation is not necessary
11011   enable_fast_install=needless
11012 fi
11013
11014
11015
11016
11017
11018
11019   if test "x$enable_dlopen" != xyes; then
11020   enable_dlopen=unknown
11021   enable_dlopen_self=unknown
11022   enable_dlopen_self_static=unknown
11023 else
11024   lt_cv_dlopen=no
11025   lt_cv_dlopen_libs=
11026
11027   case $host_os in
11028   beos*)
11029     lt_cv_dlopen="load_add_on"
11030     lt_cv_dlopen_libs=
11031     lt_cv_dlopen_self=yes
11032     ;;
11033
11034   mingw* | pw32* | cegcc*)
11035     lt_cv_dlopen="LoadLibrary"
11036     lt_cv_dlopen_libs=
11037     ;;
11038
11039   cygwin*)
11040     lt_cv_dlopen="dlopen"
11041     lt_cv_dlopen_libs=
11042     ;;
11043
11044   darwin*)
11045   # if libdl is installed we need to link against it
11046     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11047 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11048 if ${ac_cv_lib_dl_dlopen+:} false; then :
11049   $as_echo_n "(cached) " >&6
11050 else
11051   ac_check_lib_save_LIBS=$LIBS
11052 LIBS="-ldl  $LIBS"
11053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11054 /* end confdefs.h.  */
11055
11056 /* Override any GCC internal prototype to avoid an error.
11057    Use char because int might match the return type of a GCC
11058    builtin and then its argument prototype would still apply.  */
11059 #ifdef __cplusplus
11060 extern "C"
11061 #endif
11062 char dlopen ();
11063 int
11064 main ()
11065 {
11066 return dlopen ();
11067   ;
11068   return 0;
11069 }
11070 _ACEOF
11071 if ac_fn_c_try_link "$LINENO"; then :
11072   ac_cv_lib_dl_dlopen=yes
11073 else
11074   ac_cv_lib_dl_dlopen=no
11075 fi
11076 rm -f core conftest.err conftest.$ac_objext \
11077     conftest$ac_exeext conftest.$ac_ext
11078 LIBS=$ac_check_lib_save_LIBS
11079 fi
11080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11081 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11082 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11083   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11084 else
11085
11086     lt_cv_dlopen="dyld"
11087     lt_cv_dlopen_libs=
11088     lt_cv_dlopen_self=yes
11089
11090 fi
11091
11092     ;;
11093
11094   *)
11095     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11096 if test "x$ac_cv_func_shl_load" = xyes; then :
11097   lt_cv_dlopen="shl_load"
11098 else
11099   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11100 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11101 if ${ac_cv_lib_dld_shl_load+:} false; then :
11102   $as_echo_n "(cached) " >&6
11103 else
11104   ac_check_lib_save_LIBS=$LIBS
11105 LIBS="-ldld  $LIBS"
11106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11107 /* end confdefs.h.  */
11108
11109 /* Override any GCC internal prototype to avoid an error.
11110    Use char because int might match the return type of a GCC
11111    builtin and then its argument prototype would still apply.  */
11112 #ifdef __cplusplus
11113 extern "C"
11114 #endif
11115 char shl_load ();
11116 int
11117 main ()
11118 {
11119 return shl_load ();
11120   ;
11121   return 0;
11122 }
11123 _ACEOF
11124 if ac_fn_c_try_link "$LINENO"; then :
11125   ac_cv_lib_dld_shl_load=yes
11126 else
11127   ac_cv_lib_dld_shl_load=no
11128 fi
11129 rm -f core conftest.err conftest.$ac_objext \
11130     conftest$ac_exeext conftest.$ac_ext
11131 LIBS=$ac_check_lib_save_LIBS
11132 fi
11133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11134 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11135 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11136   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11137 else
11138   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11139 if test "x$ac_cv_func_dlopen" = xyes; then :
11140   lt_cv_dlopen="dlopen"
11141 else
11142   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11143 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11144 if ${ac_cv_lib_dl_dlopen+:} false; then :
11145   $as_echo_n "(cached) " >&6
11146 else
11147   ac_check_lib_save_LIBS=$LIBS
11148 LIBS="-ldl  $LIBS"
11149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11150 /* end confdefs.h.  */
11151
11152 /* Override any GCC internal prototype to avoid an error.
11153    Use char because int might match the return type of a GCC
11154    builtin and then its argument prototype would still apply.  */
11155 #ifdef __cplusplus
11156 extern "C"
11157 #endif
11158 char dlopen ();
11159 int
11160 main ()
11161 {
11162 return dlopen ();
11163   ;
11164   return 0;
11165 }
11166 _ACEOF
11167 if ac_fn_c_try_link "$LINENO"; then :
11168   ac_cv_lib_dl_dlopen=yes
11169 else
11170   ac_cv_lib_dl_dlopen=no
11171 fi
11172 rm -f core conftest.err conftest.$ac_objext \
11173     conftest$ac_exeext conftest.$ac_ext
11174 LIBS=$ac_check_lib_save_LIBS
11175 fi
11176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11177 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11178 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11179   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11180 else
11181   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11182 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11183 if ${ac_cv_lib_svld_dlopen+:} false; then :
11184   $as_echo_n "(cached) " >&6
11185 else
11186   ac_check_lib_save_LIBS=$LIBS
11187 LIBS="-lsvld  $LIBS"
11188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11189 /* end confdefs.h.  */
11190
11191 /* Override any GCC internal prototype to avoid an error.
11192    Use char because int might match the return type of a GCC
11193    builtin and then its argument prototype would still apply.  */
11194 #ifdef __cplusplus
11195 extern "C"
11196 #endif
11197 char dlopen ();
11198 int
11199 main ()
11200 {
11201 return dlopen ();
11202   ;
11203   return 0;
11204 }
11205 _ACEOF
11206 if ac_fn_c_try_link "$LINENO"; then :
11207   ac_cv_lib_svld_dlopen=yes
11208 else
11209   ac_cv_lib_svld_dlopen=no
11210 fi
11211 rm -f core conftest.err conftest.$ac_objext \
11212     conftest$ac_exeext conftest.$ac_ext
11213 LIBS=$ac_check_lib_save_LIBS
11214 fi
11215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11216 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11217 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11218   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11219 else
11220   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11221 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11222 if ${ac_cv_lib_dld_dld_link+:} false; then :
11223   $as_echo_n "(cached) " >&6
11224 else
11225   ac_check_lib_save_LIBS=$LIBS
11226 LIBS="-ldld  $LIBS"
11227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11228 /* end confdefs.h.  */
11229
11230 /* Override any GCC internal prototype to avoid an error.
11231    Use char because int might match the return type of a GCC
11232    builtin and then its argument prototype would still apply.  */
11233 #ifdef __cplusplus
11234 extern "C"
11235 #endif
11236 char dld_link ();
11237 int
11238 main ()
11239 {
11240 return dld_link ();
11241   ;
11242   return 0;
11243 }
11244 _ACEOF
11245 if ac_fn_c_try_link "$LINENO"; then :
11246   ac_cv_lib_dld_dld_link=yes
11247 else
11248   ac_cv_lib_dld_dld_link=no
11249 fi
11250 rm -f core conftest.err conftest.$ac_objext \
11251     conftest$ac_exeext conftest.$ac_ext
11252 LIBS=$ac_check_lib_save_LIBS
11253 fi
11254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11255 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11256 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11257   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11258 fi
11259
11260
11261 fi
11262
11263
11264 fi
11265
11266
11267 fi
11268
11269
11270 fi
11271
11272
11273 fi
11274
11275     ;;
11276   esac
11277
11278   if test "x$lt_cv_dlopen" != xno; then
11279     enable_dlopen=yes
11280   else
11281     enable_dlopen=no
11282   fi
11283
11284   case $lt_cv_dlopen in
11285   dlopen)
11286     save_CPPFLAGS="$CPPFLAGS"
11287     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11288
11289     save_LDFLAGS="$LDFLAGS"
11290     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11291
11292     save_LIBS="$LIBS"
11293     LIBS="$lt_cv_dlopen_libs $LIBS"
11294
11295     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11296 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11297 if ${lt_cv_dlopen_self+:} false; then :
11298   $as_echo_n "(cached) " >&6
11299 else
11300           if test "$cross_compiling" = yes; then :
11301   lt_cv_dlopen_self=cross
11302 else
11303   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11304   lt_status=$lt_dlunknown
11305   cat > conftest.$ac_ext <<_LT_EOF
11306 #line $LINENO "configure"
11307 #include "confdefs.h"
11308
11309 #if HAVE_DLFCN_H
11310 #include <dlfcn.h>
11311 #endif
11312
11313 #include <stdio.h>
11314
11315 #ifdef RTLD_GLOBAL
11316 #  define LT_DLGLOBAL           RTLD_GLOBAL
11317 #else
11318 #  ifdef DL_GLOBAL
11319 #    define LT_DLGLOBAL         DL_GLOBAL
11320 #  else
11321 #    define LT_DLGLOBAL         0
11322 #  endif
11323 #endif
11324
11325 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11326    find out it does not work in some platform. */
11327 #ifndef LT_DLLAZY_OR_NOW
11328 #  ifdef RTLD_LAZY
11329 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11330 #  else
11331 #    ifdef DL_LAZY
11332 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11333 #    else
11334 #      ifdef RTLD_NOW
11335 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11336 #      else
11337 #        ifdef DL_NOW
11338 #          define LT_DLLAZY_OR_NOW      DL_NOW
11339 #        else
11340 #          define LT_DLLAZY_OR_NOW      0
11341 #        endif
11342 #      endif
11343 #    endif
11344 #  endif
11345 #endif
11346
11347 /* When -fvisbility=hidden is used, assume the code has been annotated
11348    correspondingly for the symbols needed.  */
11349 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11350 int fnord () __attribute__((visibility("default")));
11351 #endif
11352
11353 int fnord () { return 42; }
11354 int main ()
11355 {
11356   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11357   int status = $lt_dlunknown;
11358
11359   if (self)
11360     {
11361       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11362       else
11363         {
11364           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11365           else puts (dlerror ());
11366         }
11367       /* dlclose (self); */
11368     }
11369   else
11370     puts (dlerror ());
11371
11372   return status;
11373 }
11374 _LT_EOF
11375   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11376   (eval $ac_link) 2>&5
11377   ac_status=$?
11378   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11379   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11380     (./conftest; exit; ) >&5 2>/dev/null
11381     lt_status=$?
11382     case x$lt_status in
11383       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11384       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11385       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11386     esac
11387   else :
11388     # compilation failed
11389     lt_cv_dlopen_self=no
11390   fi
11391 fi
11392 rm -fr conftest*
11393
11394
11395 fi
11396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11397 $as_echo "$lt_cv_dlopen_self" >&6; }
11398
11399     if test "x$lt_cv_dlopen_self" = xyes; then
11400       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11401       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11402 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11403 if ${lt_cv_dlopen_self_static+:} false; then :
11404   $as_echo_n "(cached) " >&6
11405 else
11406           if test "$cross_compiling" = yes; then :
11407   lt_cv_dlopen_self_static=cross
11408 else
11409   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11410   lt_status=$lt_dlunknown
11411   cat > conftest.$ac_ext <<_LT_EOF
11412 #line $LINENO "configure"
11413 #include "confdefs.h"
11414
11415 #if HAVE_DLFCN_H
11416 #include <dlfcn.h>
11417 #endif
11418
11419 #include <stdio.h>
11420
11421 #ifdef RTLD_GLOBAL
11422 #  define LT_DLGLOBAL           RTLD_GLOBAL
11423 #else
11424 #  ifdef DL_GLOBAL
11425 #    define LT_DLGLOBAL         DL_GLOBAL
11426 #  else
11427 #    define LT_DLGLOBAL         0
11428 #  endif
11429 #endif
11430
11431 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11432    find out it does not work in some platform. */
11433 #ifndef LT_DLLAZY_OR_NOW
11434 #  ifdef RTLD_LAZY
11435 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11436 #  else
11437 #    ifdef DL_LAZY
11438 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11439 #    else
11440 #      ifdef RTLD_NOW
11441 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11442 #      else
11443 #        ifdef DL_NOW
11444 #          define LT_DLLAZY_OR_NOW      DL_NOW
11445 #        else
11446 #          define LT_DLLAZY_OR_NOW      0
11447 #        endif
11448 #      endif
11449 #    endif
11450 #  endif
11451 #endif
11452
11453 /* When -fvisbility=hidden is used, assume the code has been annotated
11454    correspondingly for the symbols needed.  */
11455 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11456 int fnord () __attribute__((visibility("default")));
11457 #endif
11458
11459 int fnord () { return 42; }
11460 int main ()
11461 {
11462   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11463   int status = $lt_dlunknown;
11464
11465   if (self)
11466     {
11467       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11468       else
11469         {
11470           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11471           else puts (dlerror ());
11472         }
11473       /* dlclose (self); */
11474     }
11475   else
11476     puts (dlerror ());
11477
11478   return status;
11479 }
11480 _LT_EOF
11481   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11482   (eval $ac_link) 2>&5
11483   ac_status=$?
11484   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11485   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11486     (./conftest; exit; ) >&5 2>/dev/null
11487     lt_status=$?
11488     case x$lt_status in
11489       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11490       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11491       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11492     esac
11493   else :
11494     # compilation failed
11495     lt_cv_dlopen_self_static=no
11496   fi
11497 fi
11498 rm -fr conftest*
11499
11500
11501 fi
11502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11503 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11504     fi
11505
11506     CPPFLAGS="$save_CPPFLAGS"
11507     LDFLAGS="$save_LDFLAGS"
11508     LIBS="$save_LIBS"
11509     ;;
11510   esac
11511
11512   case $lt_cv_dlopen_self in
11513   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11514   *) enable_dlopen_self=unknown ;;
11515   esac
11516
11517   case $lt_cv_dlopen_self_static in
11518   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11519   *) enable_dlopen_self_static=unknown ;;
11520   esac
11521 fi
11522
11523
11524
11525
11526
11527
11528
11529
11530
11531
11532
11533
11534
11535
11536
11537
11538
11539 striplib=
11540 old_striplib=
11541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11542 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11543 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11544   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11545   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11546   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11547 $as_echo "yes" >&6; }
11548 else
11549 # FIXME - insert some real tests, host_os isn't really good enough
11550   case $host_os in
11551   darwin*)
11552     if test -n "$STRIP" ; then
11553       striplib="$STRIP -x"
11554       old_striplib="$STRIP -S"
11555       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11556 $as_echo "yes" >&6; }
11557     else
11558       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11559 $as_echo "no" >&6; }
11560     fi
11561     ;;
11562   *)
11563     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11564 $as_echo "no" >&6; }
11565     ;;
11566   esac
11567 fi
11568
11569
11570
11571
11572
11573
11574
11575
11576
11577
11578
11579
11580   # Report which library types will actually be built
11581   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11582 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11583   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11584 $as_echo "$can_build_shared" >&6; }
11585
11586   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11587 $as_echo_n "checking whether to build shared libraries... " >&6; }
11588   test "$can_build_shared" = "no" && enable_shared=no
11589
11590   # On AIX, shared libraries and static libraries use the same namespace, and
11591   # are all built from PIC.
11592   case $host_os in
11593   aix3*)
11594     test "$enable_shared" = yes && enable_static=no
11595     if test -n "$RANLIB"; then
11596       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11597       postinstall_cmds='$RANLIB $lib'
11598     fi
11599     ;;
11600
11601   aix[4-9]*)
11602     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11603       test "$enable_shared" = yes && enable_static=no
11604     fi
11605     ;;
11606   esac
11607   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11608 $as_echo "$enable_shared" >&6; }
11609
11610   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11611 $as_echo_n "checking whether to build static libraries... " >&6; }
11612   # Make sure either enable_shared or enable_static is yes.
11613   test "$enable_shared" = yes || enable_static=yes
11614   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11615 $as_echo "$enable_static" >&6; }
11616
11617
11618
11619
11620 fi
11621 ac_ext=c
11622 ac_cpp='$CPP $CPPFLAGS'
11623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11626
11627 CC="$lt_save_CC"
11628
11629
11630
11631
11632
11633
11634
11635
11636
11637
11638
11639
11640
11641
11642
11643         ac_config_commands="$ac_config_commands libtool"
11644
11645
11646
11647
11648 # Only expand once:
11649
11650
11651
11652 #gtk-doc
11653
11654
11655
11656
11657
11658
11659
11660 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11661         if test -n "$ac_tool_prefix"; then
11662   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11663 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11665 $as_echo_n "checking for $ac_word... " >&6; }
11666 if ${ac_cv_path_PKG_CONFIG+:} false; then :
11667   $as_echo_n "(cached) " >&6
11668 else
11669   case $PKG_CONFIG in
11670   [\\/]* | ?:[\\/]*)
11671   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11672   ;;
11673   *)
11674   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11675 for as_dir in $PATH
11676 do
11677   IFS=$as_save_IFS
11678   test -z "$as_dir" && as_dir=.
11679     for ac_exec_ext in '' $ac_executable_extensions; do
11680   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11681     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11682     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11683     break 2
11684   fi
11685 done
11686   done
11687 IFS=$as_save_IFS
11688
11689   ;;
11690 esac
11691 fi
11692 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11693 if test -n "$PKG_CONFIG"; then
11694   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11695 $as_echo "$PKG_CONFIG" >&6; }
11696 else
11697   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11698 $as_echo "no" >&6; }
11699 fi
11700
11701
11702 fi
11703 if test -z "$ac_cv_path_PKG_CONFIG"; then
11704   ac_pt_PKG_CONFIG=$PKG_CONFIG
11705   # Extract the first word of "pkg-config", so it can be a program name with args.
11706 set dummy pkg-config; ac_word=$2
11707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11708 $as_echo_n "checking for $ac_word... " >&6; }
11709 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
11710   $as_echo_n "(cached) " >&6
11711 else
11712   case $ac_pt_PKG_CONFIG in
11713   [\\/]* | ?:[\\/]*)
11714   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11715   ;;
11716   *)
11717   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11718 for as_dir in $PATH
11719 do
11720   IFS=$as_save_IFS
11721   test -z "$as_dir" && as_dir=.
11722     for ac_exec_ext in '' $ac_executable_extensions; do
11723   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11724     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11725     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11726     break 2
11727   fi
11728 done
11729   done
11730 IFS=$as_save_IFS
11731
11732   ;;
11733 esac
11734 fi
11735 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11736 if test -n "$ac_pt_PKG_CONFIG"; then
11737   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11738 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
11739 else
11740   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11741 $as_echo "no" >&6; }
11742 fi
11743
11744   if test "x$ac_pt_PKG_CONFIG" = x; then
11745     PKG_CONFIG=""
11746   else
11747     case $cross_compiling:$ac_tool_warned in
11748 yes:)
11749 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11750 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11751 ac_tool_warned=yes ;;
11752 esac
11753     PKG_CONFIG=$ac_pt_PKG_CONFIG
11754   fi
11755 else
11756   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11757 fi
11758
11759 fi
11760 if test -n "$PKG_CONFIG"; then
11761         _pkg_min_version=0.9.0
11762         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11763 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11764         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11765                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11766 $as_echo "yes" >&6; }
11767         else
11768                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11769 $as_echo "no" >&6; }
11770                 PKG_CONFIG=""
11771         fi
11772 fi
11773
11774
11775
11776   gtk_doc_requires="gtk-doc >= 1.18"
11777   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk-doc" >&5
11778 $as_echo_n "checking for gtk-doc... " >&6; }
11779   if test -n "$PKG_CONFIG" && \
11780     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_doc_requires\""; } >&5
11781   ($PKG_CONFIG --exists --print-errors "$gtk_doc_requires") 2>&5
11782   ac_status=$?
11783   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11784   test $ac_status = 0; }; then
11785   have_gtk_doc=yes
11786 else
11787   have_gtk_doc=no
11788 fi
11789   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_gtk_doc" >&5
11790 $as_echo "$have_gtk_doc" >&6; }
11791
11792   if test "$have_gtk_doc" = "no"; then
11793       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
11794   You will not be able to create source packages with 'make dist'
11795   because $gtk_doc_requires is not found." >&5
11796 $as_echo "$as_me: WARNING:
11797   You will not be able to create source packages with 'make dist'
11798   because $gtk_doc_requires is not found." >&2;}
11799   fi
11800
11801             # Extract the first word of "gtkdoc-check", so it can be a program name with args.
11802 set dummy gtkdoc-check; ac_word=$2
11803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11804 $as_echo_n "checking for $ac_word... " >&6; }
11805 if ${ac_cv_prog_GTKDOC_CHECK+:} false; then :
11806   $as_echo_n "(cached) " >&6
11807 else
11808   if test -n "$GTKDOC_CHECK"; then
11809   ac_cv_prog_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test.
11810 else
11811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11812 for as_dir in $PATH
11813 do
11814   IFS=$as_save_IFS
11815   test -z "$as_dir" && as_dir=.
11816     for ac_exec_ext in '' $ac_executable_extensions; do
11817   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11818     ac_cv_prog_GTKDOC_CHECK="gtkdoc-check.test"
11819     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11820     break 2
11821   fi
11822 done
11823   done
11824 IFS=$as_save_IFS
11825
11826 fi
11827 fi
11828 GTKDOC_CHECK=$ac_cv_prog_GTKDOC_CHECK
11829 if test -n "$GTKDOC_CHECK"; then
11830   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
11831 $as_echo "$GTKDOC_CHECK" >&6; }
11832 else
11833   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11834 $as_echo "no" >&6; }
11835 fi
11836
11837
11838   # Extract the first word of "gtkdoc-check", so it can be a program name with args.
11839 set dummy gtkdoc-check; ac_word=$2
11840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11841 $as_echo_n "checking for $ac_word... " >&6; }
11842 if ${ac_cv_path_GTKDOC_CHECK_PATH+:} false; then :
11843   $as_echo_n "(cached) " >&6
11844 else
11845   case $GTKDOC_CHECK_PATH in
11846   [\\/]* | ?:[\\/]*)
11847   ac_cv_path_GTKDOC_CHECK_PATH="$GTKDOC_CHECK_PATH" # Let the user override the test with a path.
11848   ;;
11849   *)
11850   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11851 for as_dir in $PATH
11852 do
11853   IFS=$as_save_IFS
11854   test -z "$as_dir" && as_dir=.
11855     for ac_exec_ext in '' $ac_executable_extensions; do
11856   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11857     ac_cv_path_GTKDOC_CHECK_PATH="$as_dir/$ac_word$ac_exec_ext"
11858     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11859     break 2
11860   fi
11861 done
11862   done
11863 IFS=$as_save_IFS
11864
11865   ;;
11866 esac
11867 fi
11868 GTKDOC_CHECK_PATH=$ac_cv_path_GTKDOC_CHECK_PATH
11869 if test -n "$GTKDOC_CHECK_PATH"; then
11870   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK_PATH" >&5
11871 $as_echo "$GTKDOC_CHECK_PATH" >&6; }
11872 else
11873   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11874 $as_echo "no" >&6; }
11875 fi
11876
11877
11878   for ac_prog in gtkdoc-rebase
11879 do
11880   # Extract the first word of "$ac_prog", so it can be a program name with args.
11881 set dummy $ac_prog; ac_word=$2
11882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11883 $as_echo_n "checking for $ac_word... " >&6; }
11884 if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
11885   $as_echo_n "(cached) " >&6
11886 else
11887   case $GTKDOC_REBASE in
11888   [\\/]* | ?:[\\/]*)
11889   ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
11890   ;;
11891   *)
11892   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11893 for as_dir in $PATH
11894 do
11895   IFS=$as_save_IFS
11896   test -z "$as_dir" && as_dir=.
11897     for ac_exec_ext in '' $ac_executable_extensions; do
11898   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11899     ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
11900     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11901     break 2
11902   fi
11903 done
11904   done
11905 IFS=$as_save_IFS
11906
11907   ;;
11908 esac
11909 fi
11910 GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
11911 if test -n "$GTKDOC_REBASE"; then
11912   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
11913 $as_echo "$GTKDOC_REBASE" >&6; }
11914 else
11915   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11916 $as_echo "no" >&6; }
11917 fi
11918
11919
11920   test -n "$GTKDOC_REBASE" && break
11921 done
11922 test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
11923
11924   # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
11925 set dummy gtkdoc-mkpdf; ac_word=$2
11926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11927 $as_echo_n "checking for $ac_word... " >&6; }
11928 if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
11929   $as_echo_n "(cached) " >&6
11930 else
11931   case $GTKDOC_MKPDF in
11932   [\\/]* | ?:[\\/]*)
11933   ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
11934   ;;
11935   *)
11936   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11937 for as_dir in $PATH
11938 do
11939   IFS=$as_save_IFS
11940   test -z "$as_dir" && as_dir=.
11941     for ac_exec_ext in '' $ac_executable_extensions; do
11942   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11943     ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
11944     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11945     break 2
11946   fi
11947 done
11948   done
11949 IFS=$as_save_IFS
11950
11951   ;;
11952 esac
11953 fi
11954 GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
11955 if test -n "$GTKDOC_MKPDF"; then
11956   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
11957 $as_echo "$GTKDOC_MKPDF" >&6; }
11958 else
11959   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11960 $as_echo "no" >&6; }
11961 fi
11962
11963
11964
11965
11966 # Check whether --with-html-dir was given.
11967 if test "${with_html_dir+set}" = set; then :
11968   withval=$with_html_dir;
11969 else
11970   with_html_dir='${datadir}/gtk-doc/html'
11971 fi
11972
11973   HTML_DIR="$with_html_dir"
11974
11975
11976     # Check whether --enable-gtk-doc was given.
11977 if test "${enable_gtk_doc+set}" = set; then :
11978   enableval=$enable_gtk_doc;
11979 else
11980   enable_gtk_doc=no
11981 fi
11982
11983
11984   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
11985 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
11986   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
11987 $as_echo "$enable_gtk_doc" >&6; }
11988
11989   if test "x$enable_gtk_doc" = "xyes" && test "$have_gtk_doc" = "no"; then
11990     as_fn_error $? "
11991   You must have $gtk_doc_requires installed to build documentation for
11992   $PACKAGE_NAME. Please install gtk-doc or disable building the
11993   documentation by adding '--disable-gtk-doc' to '$0'." "$LINENO" 5
11994   fi
11995
11996     if test "x$PACKAGE_NAME" != "xglib"; then
11997
11998 pkg_failed=no
11999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
12000 $as_echo_n "checking for GTKDOC_DEPS... " >&6; }
12001
12002 if test -n "$GTKDOC_DEPS_CFLAGS"; then
12003     pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
12004  elif test -n "$PKG_CONFIG"; then
12005     if test -n "$PKG_CONFIG" && \
12006     { { $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
12007   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
12008   ac_status=$?
12009   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12010   test $ac_status = 0; }; then
12011   pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
12012                       test "x$?" != "x0" && pkg_failed=yes
12013 else
12014   pkg_failed=yes
12015 fi
12016  else
12017     pkg_failed=untried
12018 fi
12019 if test -n "$GTKDOC_DEPS_LIBS"; then
12020     pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
12021  elif test -n "$PKG_CONFIG"; then
12022     if test -n "$PKG_CONFIG" && \
12023     { { $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
12024   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
12025   ac_status=$?
12026   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12027   test $ac_status = 0; }; then
12028   pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
12029                       test "x$?" != "x0" && pkg_failed=yes
12030 else
12031   pkg_failed=yes
12032 fi
12033  else
12034     pkg_failed=untried
12035 fi
12036
12037
12038
12039 if test $pkg_failed = yes; then
12040         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12041 $as_echo "no" >&6; }
12042
12043 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12044         _pkg_short_errors_supported=yes
12045 else
12046         _pkg_short_errors_supported=no
12047 fi
12048         if test $_pkg_short_errors_supported = yes; then
12049                 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`
12050         else
12051                 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>&1`
12052         fi
12053         # Put the nasty error message in config.log where it belongs
12054         echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
12055
12056         :
12057 elif test $pkg_failed = untried; then
12058         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12059 $as_echo "no" >&6; }
12060         :
12061 else
12062         GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
12063         GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
12064         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12065 $as_echo "yes" >&6; }
12066
12067 fi
12068   fi
12069
12070     # Check whether --enable-gtk-doc-html was given.
12071 if test "${enable_gtk_doc_html+set}" = set; then :
12072   enableval=$enable_gtk_doc_html;
12073 else
12074   enable_gtk_doc_html=yes
12075 fi
12076
12077     # Check whether --enable-gtk-doc-pdf was given.
12078 if test "${enable_gtk_doc_pdf+set}" = set; then :
12079   enableval=$enable_gtk_doc_pdf;
12080 else
12081   enable_gtk_doc_pdf=no
12082 fi
12083
12084
12085   if test -z "$GTKDOC_MKPDF"; then
12086     enable_gtk_doc_pdf=no
12087   fi
12088
12089   if test -z "$AM_DEFAULT_VERBOSITY"; then
12090     AM_DEFAULT_VERBOSITY=1
12091   fi
12092
12093
12094    if test x$have_gtk_doc = xyes; then
12095   HAVE_GTK_DOC_TRUE=
12096   HAVE_GTK_DOC_FALSE='#'
12097 else
12098   HAVE_GTK_DOC_TRUE='#'
12099   HAVE_GTK_DOC_FALSE=
12100 fi
12101
12102    if test x$enable_gtk_doc = xyes; then
12103   ENABLE_GTK_DOC_TRUE=
12104   ENABLE_GTK_DOC_FALSE='#'
12105 else
12106   ENABLE_GTK_DOC_TRUE='#'
12107   ENABLE_GTK_DOC_FALSE=
12108 fi
12109
12110    if test x$enable_gtk_doc_html = xyes; then
12111   GTK_DOC_BUILD_HTML_TRUE=
12112   GTK_DOC_BUILD_HTML_FALSE='#'
12113 else
12114   GTK_DOC_BUILD_HTML_TRUE='#'
12115   GTK_DOC_BUILD_HTML_FALSE=
12116 fi
12117
12118    if test x$enable_gtk_doc_pdf = xyes; then
12119   GTK_DOC_BUILD_PDF_TRUE=
12120   GTK_DOC_BUILD_PDF_FALSE='#'
12121 else
12122   GTK_DOC_BUILD_PDF_TRUE='#'
12123   GTK_DOC_BUILD_PDF_FALSE=
12124 fi
12125
12126    if test -n "$LIBTOOL"; then
12127   GTK_DOC_USE_LIBTOOL_TRUE=
12128   GTK_DOC_USE_LIBTOOL_FALSE='#'
12129 else
12130   GTK_DOC_USE_LIBTOOL_TRUE='#'
12131   GTK_DOC_USE_LIBTOOL_FALSE=
12132 fi
12133
12134    if test -n "$GTKDOC_REBASE"; then
12135   GTK_DOC_USE_REBASE_TRUE=
12136   GTK_DOC_USE_REBASE_FALSE='#'
12137 else
12138   GTK_DOC_USE_REBASE_TRUE='#'
12139   GTK_DOC_USE_REBASE_FALSE=
12140 fi
12141
12142
12143
12144 # Checks for programs.
12145 ac_ext=c
12146 ac_cpp='$CPP $CPPFLAGS'
12147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12150 if test -n "$ac_tool_prefix"; then
12151   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12152 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12154 $as_echo_n "checking for $ac_word... " >&6; }
12155 if ${ac_cv_prog_CC+:} false; then :
12156   $as_echo_n "(cached) " >&6
12157 else
12158   if test -n "$CC"; then
12159   ac_cv_prog_CC="$CC" # Let the user override the test.
12160 else
12161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12162 for as_dir in $PATH
12163 do
12164   IFS=$as_save_IFS
12165   test -z "$as_dir" && as_dir=.
12166     for ac_exec_ext in '' $ac_executable_extensions; do
12167   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12168     ac_cv_prog_CC="${ac_tool_prefix}gcc"
12169     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12170     break 2
12171   fi
12172 done
12173   done
12174 IFS=$as_save_IFS
12175
12176 fi
12177 fi
12178 CC=$ac_cv_prog_CC
12179 if test -n "$CC"; then
12180   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12181 $as_echo "$CC" >&6; }
12182 else
12183   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12184 $as_echo "no" >&6; }
12185 fi
12186
12187
12188 fi
12189 if test -z "$ac_cv_prog_CC"; then
12190   ac_ct_CC=$CC
12191   # Extract the first word of "gcc", so it can be a program name with args.
12192 set dummy gcc; ac_word=$2
12193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12194 $as_echo_n "checking for $ac_word... " >&6; }
12195 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12196   $as_echo_n "(cached) " >&6
12197 else
12198   if test -n "$ac_ct_CC"; then
12199   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12200 else
12201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12202 for as_dir in $PATH
12203 do
12204   IFS=$as_save_IFS
12205   test -z "$as_dir" && as_dir=.
12206     for ac_exec_ext in '' $ac_executable_extensions; do
12207   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12208     ac_cv_prog_ac_ct_CC="gcc"
12209     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12210     break 2
12211   fi
12212 done
12213   done
12214 IFS=$as_save_IFS
12215
12216 fi
12217 fi
12218 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12219 if test -n "$ac_ct_CC"; then
12220   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12221 $as_echo "$ac_ct_CC" >&6; }
12222 else
12223   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12224 $as_echo "no" >&6; }
12225 fi
12226
12227   if test "x$ac_ct_CC" = x; then
12228     CC=""
12229   else
12230     case $cross_compiling:$ac_tool_warned in
12231 yes:)
12232 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12233 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12234 ac_tool_warned=yes ;;
12235 esac
12236     CC=$ac_ct_CC
12237   fi
12238 else
12239   CC="$ac_cv_prog_CC"
12240 fi
12241
12242 if test -z "$CC"; then
12243           if test -n "$ac_tool_prefix"; then
12244     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12245 set dummy ${ac_tool_prefix}cc; ac_word=$2
12246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12247 $as_echo_n "checking for $ac_word... " >&6; }
12248 if ${ac_cv_prog_CC+:} false; then :
12249   $as_echo_n "(cached) " >&6
12250 else
12251   if test -n "$CC"; then
12252   ac_cv_prog_CC="$CC" # Let the user override the test.
12253 else
12254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12255 for as_dir in $PATH
12256 do
12257   IFS=$as_save_IFS
12258   test -z "$as_dir" && as_dir=.
12259     for ac_exec_ext in '' $ac_executable_extensions; do
12260   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12261     ac_cv_prog_CC="${ac_tool_prefix}cc"
12262     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12263     break 2
12264   fi
12265 done
12266   done
12267 IFS=$as_save_IFS
12268
12269 fi
12270 fi
12271 CC=$ac_cv_prog_CC
12272 if test -n "$CC"; then
12273   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12274 $as_echo "$CC" >&6; }
12275 else
12276   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12277 $as_echo "no" >&6; }
12278 fi
12279
12280
12281   fi
12282 fi
12283 if test -z "$CC"; then
12284   # Extract the first word of "cc", so it can be a program name with args.
12285 set dummy cc; ac_word=$2
12286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12287 $as_echo_n "checking for $ac_word... " >&6; }
12288 if ${ac_cv_prog_CC+:} false; then :
12289   $as_echo_n "(cached) " >&6
12290 else
12291   if test -n "$CC"; then
12292   ac_cv_prog_CC="$CC" # Let the user override the test.
12293 else
12294   ac_prog_rejected=no
12295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12296 for as_dir in $PATH
12297 do
12298   IFS=$as_save_IFS
12299   test -z "$as_dir" && as_dir=.
12300     for ac_exec_ext in '' $ac_executable_extensions; do
12301   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12302     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12303        ac_prog_rejected=yes
12304        continue
12305      fi
12306     ac_cv_prog_CC="cc"
12307     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12308     break 2
12309   fi
12310 done
12311   done
12312 IFS=$as_save_IFS
12313
12314 if test $ac_prog_rejected = yes; then
12315   # We found a bogon in the path, so make sure we never use it.
12316   set dummy $ac_cv_prog_CC
12317   shift
12318   if test $# != 0; then
12319     # We chose a different compiler from the bogus one.
12320     # However, it has the same basename, so the bogon will be chosen
12321     # first if we set CC to just the basename; use the full file name.
12322     shift
12323     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12324   fi
12325 fi
12326 fi
12327 fi
12328 CC=$ac_cv_prog_CC
12329 if test -n "$CC"; then
12330   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12331 $as_echo "$CC" >&6; }
12332 else
12333   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12334 $as_echo "no" >&6; }
12335 fi
12336
12337
12338 fi
12339 if test -z "$CC"; then
12340   if test -n "$ac_tool_prefix"; then
12341   for ac_prog in cl.exe
12342   do
12343     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12344 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12346 $as_echo_n "checking for $ac_word... " >&6; }
12347 if ${ac_cv_prog_CC+:} false; then :
12348   $as_echo_n "(cached) " >&6
12349 else
12350   if test -n "$CC"; then
12351   ac_cv_prog_CC="$CC" # Let the user override the test.
12352 else
12353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12354 for as_dir in $PATH
12355 do
12356   IFS=$as_save_IFS
12357   test -z "$as_dir" && as_dir=.
12358     for ac_exec_ext in '' $ac_executable_extensions; do
12359   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12360     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12361     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12362     break 2
12363   fi
12364 done
12365   done
12366 IFS=$as_save_IFS
12367
12368 fi
12369 fi
12370 CC=$ac_cv_prog_CC
12371 if test -n "$CC"; then
12372   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12373 $as_echo "$CC" >&6; }
12374 else
12375   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12376 $as_echo "no" >&6; }
12377 fi
12378
12379
12380     test -n "$CC" && break
12381   done
12382 fi
12383 if test -z "$CC"; then
12384   ac_ct_CC=$CC
12385   for ac_prog in cl.exe
12386 do
12387   # Extract the first word of "$ac_prog", so it can be a program name with args.
12388 set dummy $ac_prog; ac_word=$2
12389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12390 $as_echo_n "checking for $ac_word... " >&6; }
12391 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12392   $as_echo_n "(cached) " >&6
12393 else
12394   if test -n "$ac_ct_CC"; then
12395   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12396 else
12397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12398 for as_dir in $PATH
12399 do
12400   IFS=$as_save_IFS
12401   test -z "$as_dir" && as_dir=.
12402     for ac_exec_ext in '' $ac_executable_extensions; do
12403   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12404     ac_cv_prog_ac_ct_CC="$ac_prog"
12405     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12406     break 2
12407   fi
12408 done
12409   done
12410 IFS=$as_save_IFS
12411
12412 fi
12413 fi
12414 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12415 if test -n "$ac_ct_CC"; then
12416   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12417 $as_echo "$ac_ct_CC" >&6; }
12418 else
12419   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12420 $as_echo "no" >&6; }
12421 fi
12422
12423
12424   test -n "$ac_ct_CC" && break
12425 done
12426
12427   if test "x$ac_ct_CC" = x; then
12428     CC=""
12429   else
12430     case $cross_compiling:$ac_tool_warned in
12431 yes:)
12432 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12433 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12434 ac_tool_warned=yes ;;
12435 esac
12436     CC=$ac_ct_CC
12437   fi
12438 fi
12439
12440 fi
12441
12442
12443 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12444 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12445 as_fn_error $? "no acceptable C compiler found in \$PATH
12446 See \`config.log' for more details" "$LINENO" 5; }
12447
12448 # Provide some information about the compiler.
12449 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12450 set X $ac_compile
12451 ac_compiler=$2
12452 for ac_option in --version -v -V -qversion; do
12453   { { ac_try="$ac_compiler $ac_option >&5"
12454 case "(($ac_try" in
12455   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12456   *) ac_try_echo=$ac_try;;
12457 esac
12458 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12459 $as_echo "$ac_try_echo"; } >&5
12460   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12461   ac_status=$?
12462   if test -s conftest.err; then
12463     sed '10a\
12464 ... rest of stderr output deleted ...
12465          10q' conftest.err >conftest.er1
12466     cat conftest.er1 >&5
12467   fi
12468   rm -f conftest.er1 conftest.err
12469   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12470   test $ac_status = 0; }
12471 done
12472
12473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12474 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12475 if ${ac_cv_c_compiler_gnu+:} false; then :
12476   $as_echo_n "(cached) " >&6
12477 else
12478   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12479 /* end confdefs.h.  */
12480
12481 int
12482 main ()
12483 {
12484 #ifndef __GNUC__
12485        choke me
12486 #endif
12487
12488   ;
12489   return 0;
12490 }
12491 _ACEOF
12492 if ac_fn_c_try_compile "$LINENO"; then :
12493   ac_compiler_gnu=yes
12494 else
12495   ac_compiler_gnu=no
12496 fi
12497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12498 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12499
12500 fi
12501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12502 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12503 if test $ac_compiler_gnu = yes; then
12504   GCC=yes
12505 else
12506   GCC=
12507 fi
12508 ac_test_CFLAGS=${CFLAGS+set}
12509 ac_save_CFLAGS=$CFLAGS
12510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12511 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12512 if ${ac_cv_prog_cc_g+:} false; then :
12513   $as_echo_n "(cached) " >&6
12514 else
12515   ac_save_c_werror_flag=$ac_c_werror_flag
12516    ac_c_werror_flag=yes
12517    ac_cv_prog_cc_g=no
12518    CFLAGS="-g"
12519    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12520 /* end confdefs.h.  */
12521
12522 int
12523 main ()
12524 {
12525
12526   ;
12527   return 0;
12528 }
12529 _ACEOF
12530 if ac_fn_c_try_compile "$LINENO"; then :
12531   ac_cv_prog_cc_g=yes
12532 else
12533   CFLAGS=""
12534       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12535 /* end confdefs.h.  */
12536
12537 int
12538 main ()
12539 {
12540
12541   ;
12542   return 0;
12543 }
12544 _ACEOF
12545 if ac_fn_c_try_compile "$LINENO"; then :
12546
12547 else
12548   ac_c_werror_flag=$ac_save_c_werror_flag
12549          CFLAGS="-g"
12550          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12551 /* end confdefs.h.  */
12552
12553 int
12554 main ()
12555 {
12556
12557   ;
12558   return 0;
12559 }
12560 _ACEOF
12561 if ac_fn_c_try_compile "$LINENO"; then :
12562   ac_cv_prog_cc_g=yes
12563 fi
12564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12565 fi
12566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12567 fi
12568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12569    ac_c_werror_flag=$ac_save_c_werror_flag
12570 fi
12571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12572 $as_echo "$ac_cv_prog_cc_g" >&6; }
12573 if test "$ac_test_CFLAGS" = set; then
12574   CFLAGS=$ac_save_CFLAGS
12575 elif test $ac_cv_prog_cc_g = yes; then
12576   if test "$GCC" = yes; then
12577     CFLAGS="-g -O2"
12578   else
12579     CFLAGS="-g"
12580   fi
12581 else
12582   if test "$GCC" = yes; then
12583     CFLAGS="-O2"
12584   else
12585     CFLAGS=
12586   fi
12587 fi
12588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12589 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12590 if ${ac_cv_prog_cc_c89+:} false; then :
12591   $as_echo_n "(cached) " >&6
12592 else
12593   ac_cv_prog_cc_c89=no
12594 ac_save_CC=$CC
12595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12596 /* end confdefs.h.  */
12597 #include <stdarg.h>
12598 #include <stdio.h>
12599 struct stat;
12600 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
12601 struct buf { int x; };
12602 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12603 static char *e (p, i)
12604      char **p;
12605      int i;
12606 {
12607   return p[i];
12608 }
12609 static char *f (char * (*g) (char **, int), char **p, ...)
12610 {
12611   char *s;
12612   va_list v;
12613   va_start (v,p);
12614   s = g (p, va_arg (v,int));
12615   va_end (v);
12616   return s;
12617 }
12618
12619 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
12620    function prototypes and stuff, but not '\xHH' hex character constants.
12621    These don't provoke an error unfortunately, instead are silently treated
12622    as 'x'.  The following induces an error, until -std is added to get
12623    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
12624    array size at least.  It's necessary to write '\x00'==0 to get something
12625    that's true only with -std.  */
12626 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12627
12628 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12629    inside strings and character constants.  */
12630 #define FOO(x) 'x'
12631 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12632
12633 int test (int i, double x);
12634 struct s1 {int (*f) (int a);};
12635 struct s2 {int (*f) (double a);};
12636 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12637 int argc;
12638 char **argv;
12639 int
12640 main ()
12641 {
12642 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
12643   ;
12644   return 0;
12645 }
12646 _ACEOF
12647 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12648         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12649 do
12650   CC="$ac_save_CC $ac_arg"
12651   if ac_fn_c_try_compile "$LINENO"; then :
12652   ac_cv_prog_cc_c89=$ac_arg
12653 fi
12654 rm -f core conftest.err conftest.$ac_objext
12655   test "x$ac_cv_prog_cc_c89" != "xno" && break
12656 done
12657 rm -f conftest.$ac_ext
12658 CC=$ac_save_CC
12659
12660 fi
12661 # AC_CACHE_VAL
12662 case "x$ac_cv_prog_cc_c89" in
12663   x)
12664     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12665 $as_echo "none needed" >&6; } ;;
12666   xno)
12667     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12668 $as_echo "unsupported" >&6; } ;;
12669   *)
12670     CC="$CC $ac_cv_prog_cc_c89"
12671     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12672 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12673 esac
12674 if test "x$ac_cv_prog_cc_c89" != xno; then :
12675
12676 fi
12677
12678 ac_ext=c
12679 ac_cpp='$CPP $CPPFLAGS'
12680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12683
12684 ac_ext=c
12685 ac_cpp='$CPP $CPPFLAGS'
12686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
12690 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
12691 if ${am_cv_prog_cc_c_o+:} false; then :
12692   $as_echo_n "(cached) " >&6
12693 else
12694   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12695 /* end confdefs.h.  */
12696
12697 int
12698 main ()
12699 {
12700
12701   ;
12702   return 0;
12703 }
12704 _ACEOF
12705   # Make sure it works both with $CC and with simple cc.
12706   # Following AC_PROG_CC_C_O, we do the test twice because some
12707   # compilers refuse to overwrite an existing .o file with -o,
12708   # though they will create one.
12709   am_cv_prog_cc_c_o=yes
12710   for am_i in 1 2; do
12711     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
12712    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
12713    ac_status=$?
12714    echo "$as_me:$LINENO: \$? = $ac_status" >&5
12715    (exit $ac_status); } \
12716          && test -f conftest2.$ac_objext; then
12717       : OK
12718     else
12719       am_cv_prog_cc_c_o=no
12720       break
12721     fi
12722   done
12723   rm -f core conftest*
12724   unset am_i
12725 fi
12726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
12727 $as_echo "$am_cv_prog_cc_c_o" >&6; }
12728 if test "$am_cv_prog_cc_c_o" != yes; then
12729    # Losing compiler, so override with the script.
12730    # FIXME: It is wrong to rewrite CC.
12731    # But if we don't then we get into trouble of one sort or another.
12732    # A longer-term fix would be to have automake use am__CC in this case,
12733    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
12734    CC="$am_aux_dir/compile $CC"
12735 fi
12736 ac_ext=c
12737 ac_cpp='$CPP $CPPFLAGS'
12738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12741
12742
12743 depcc="$CC"   am_compiler_list=
12744
12745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12746 $as_echo_n "checking dependency style of $depcc... " >&6; }
12747 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
12748   $as_echo_n "(cached) " >&6
12749 else
12750   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12751   # We make a subdir and do the tests there.  Otherwise we can end up
12752   # making bogus files that we don't know about and never remove.  For
12753   # instance it was reported that on HP-UX the gcc test will end up
12754   # making a dummy file named 'D' -- because '-MD' means "put the output
12755   # in D".
12756   rm -rf conftest.dir
12757   mkdir conftest.dir
12758   # Copy depcomp to subdir because otherwise we won't find it if we're
12759   # using a relative directory.
12760   cp "$am_depcomp" conftest.dir
12761   cd conftest.dir
12762   # We will build objects and dependencies in a subdirectory because
12763   # it helps to detect inapplicable dependency modes.  For instance
12764   # both Tru64's cc and ICC support -MD to output dependencies as a
12765   # side effect of compilation, but ICC will put the dependencies in
12766   # the current directory while Tru64 will put them in the object
12767   # directory.
12768   mkdir sub
12769
12770   am_cv_CC_dependencies_compiler_type=none
12771   if test "$am_compiler_list" = ""; then
12772      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12773   fi
12774   am__universal=false
12775   case " $depcc " in #(
12776      *\ -arch\ *\ -arch\ *) am__universal=true ;;
12777      esac
12778
12779   for depmode in $am_compiler_list; do
12780     # Setup a source with many dependencies, because some compilers
12781     # like to wrap large dependency lists on column 80 (with \), and
12782     # we should not choose a depcomp mode which is confused by this.
12783     #
12784     # We need to recreate these files for each test, as the compiler may
12785     # overwrite some of them when testing with obscure command lines.
12786     # This happens at least with the AIX C compiler.
12787     : > sub/conftest.c
12788     for i in 1 2 3 4 5 6; do
12789       echo '#include "conftst'$i'.h"' >> sub/conftest.c
12790       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
12791       # Solaris 10 /bin/sh.
12792       echo '/* dummy */' > sub/conftst$i.h
12793     done
12794     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12795
12796     # We check with '-c' and '-o' for the sake of the "dashmstdout"
12797     # mode.  It turns out that the SunPro C++ compiler does not properly
12798     # handle '-M -o', and we need to detect this.  Also, some Intel
12799     # versions had trouble with output in subdirs.
12800     am__obj=sub/conftest.${OBJEXT-o}
12801     am__minus_obj="-o $am__obj"
12802     case $depmode in
12803     gcc)
12804       # This depmode causes a compiler race in universal mode.
12805       test "$am__universal" = false || continue
12806       ;;
12807     nosideeffect)
12808       # After this tag, mechanisms are not by side-effect, so they'll
12809       # only be used when explicitly requested.
12810       if test "x$enable_dependency_tracking" = xyes; then
12811         continue
12812       else
12813         break
12814       fi
12815       ;;
12816     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
12817       # This compiler won't grok '-c -o', but also, the minuso test has
12818       # not run yet.  These depmodes are late enough in the game, and
12819       # so weak that their functioning should not be impacted.
12820       am__obj=conftest.${OBJEXT-o}
12821       am__minus_obj=
12822       ;;
12823     none) break ;;
12824     esac
12825     if depmode=$depmode \
12826        source=sub/conftest.c object=$am__obj \
12827        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12828        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12829          >/dev/null 2>conftest.err &&
12830        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12831        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12832        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12833        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12834       # icc doesn't choke on unknown options, it will just issue warnings
12835       # or remarks (even with -Werror).  So we grep stderr for any message
12836       # that says an option was ignored or not supported.
12837       # When given -MP, icc 7.0 and 7.1 complain thusly:
12838       #   icc: Command line warning: ignoring option '-M'; no argument required
12839       # The diagnosis changed in icc 8.0:
12840       #   icc: Command line remark: option '-MP' not supported
12841       if (grep 'ignoring option' conftest.err ||
12842           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12843         am_cv_CC_dependencies_compiler_type=$depmode
12844         break
12845       fi
12846     fi
12847   done
12848
12849   cd ..
12850   rm -rf conftest.dir
12851 else
12852   am_cv_CC_dependencies_compiler_type=none
12853 fi
12854
12855 fi
12856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12857 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12858 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12859
12860  if
12861   test "x$enable_dependency_tracking" != xno \
12862   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
12863   am__fastdepCC_TRUE=
12864   am__fastdepCC_FALSE='#'
12865 else
12866   am__fastdepCC_TRUE='#'
12867   am__fastdepCC_FALSE=
12868 fi
12869
12870
12871 # Extract the first word of "glib-mkenums", so it can be a program name with args.
12872 set dummy glib-mkenums; ac_word=$2
12873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12874 $as_echo_n "checking for $ac_word... " >&6; }
12875 if ${ac_cv_path_GLIB_MKENUMS+:} false; then :
12876   $as_echo_n "(cached) " >&6
12877 else
12878   case $GLIB_MKENUMS in
12879   [\\/]* | ?:[\\/]*)
12880   ac_cv_path_GLIB_MKENUMS="$GLIB_MKENUMS" # Let the user override the test with a path.
12881   ;;
12882   *)
12883   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12884 for as_dir in $PATH
12885 do
12886   IFS=$as_save_IFS
12887   test -z "$as_dir" && as_dir=.
12888     for ac_exec_ext in '' $ac_executable_extensions; do
12889   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12890     ac_cv_path_GLIB_MKENUMS="$as_dir/$ac_word$ac_exec_ext"
12891     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12892     break 2
12893   fi
12894 done
12895   done
12896 IFS=$as_save_IFS
12897
12898   test -z "$ac_cv_path_GLIB_MKENUMS" && ac_cv_path_GLIB_MKENUMS="$PATH"
12899   ;;
12900 esac
12901 fi
12902 GLIB_MKENUMS=$ac_cv_path_GLIB_MKENUMS
12903 if test -n "$GLIB_MKENUMS"; then
12904   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_MKENUMS" >&5
12905 $as_echo "$GLIB_MKENUMS" >&6; }
12906 else
12907   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12908 $as_echo "no" >&6; }
12909 fi
12910
12911
12912
12913 # Checks for libraries.
12914
12915 pkg_failed=no
12916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
12917 $as_echo_n "checking for GLIB... " >&6; }
12918
12919 if test -n "$GLIB_CFLAGS"; then
12920     pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
12921  elif test -n "$PKG_CONFIG"; then
12922     if test -n "$PKG_CONFIG" && \
12923     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.30\""; } >&5
12924   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.30") 2>&5
12925   ac_status=$?
12926   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12927   test $ac_status = 0; }; then
12928   pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.30" 2>/dev/null`
12929                       test "x$?" != "x0" && pkg_failed=yes
12930 else
12931   pkg_failed=yes
12932 fi
12933  else
12934     pkg_failed=untried
12935 fi
12936 if test -n "$GLIB_LIBS"; then
12937     pkg_cv_GLIB_LIBS="$GLIB_LIBS"
12938  elif test -n "$PKG_CONFIG"; then
12939     if test -n "$PKG_CONFIG" && \
12940     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.30\""; } >&5
12941   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.30") 2>&5
12942   ac_status=$?
12943   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12944   test $ac_status = 0; }; then
12945   pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.30" 2>/dev/null`
12946                       test "x$?" != "x0" && pkg_failed=yes
12947 else
12948   pkg_failed=yes
12949 fi
12950  else
12951     pkg_failed=untried
12952 fi
12953
12954
12955
12956 if test $pkg_failed = yes; then
12957         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12958 $as_echo "no" >&6; }
12959
12960 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12961         _pkg_short_errors_supported=yes
12962 else
12963         _pkg_short_errors_supported=no
12964 fi
12965         if test $_pkg_short_errors_supported = yes; then
12966                 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.30" 2>&1`
12967         else
12968                 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.30" 2>&1`
12969         fi
12970         # Put the nasty error message in config.log where it belongs
12971         echo "$GLIB_PKG_ERRORS" >&5
12972
12973         as_fn_error $? "Package requirements (glib-2.0 >= 2.30) were not met:
12974
12975 $GLIB_PKG_ERRORS
12976
12977 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12978 installed software in a non-standard prefix.
12979
12980 Alternatively, you may set the environment variables GLIB_CFLAGS
12981 and GLIB_LIBS to avoid the need to call pkg-config.
12982 See the pkg-config man page for more details." "$LINENO" 5
12983 elif test $pkg_failed = untried; then
12984         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12985 $as_echo "no" >&6; }
12986         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12987 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12988 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12989 is in your PATH or set the PKG_CONFIG environment variable to the full
12990 path to pkg-config.
12991
12992 Alternatively, you may set the environment variables GLIB_CFLAGS
12993 and GLIB_LIBS to avoid the need to call pkg-config.
12994 See the pkg-config man page for more details.
12995
12996 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12997 See \`config.log' for more details" "$LINENO" 5; }
12998 else
12999         GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
13000         GLIB_LIBS=$pkg_cv_GLIB_LIBS
13001         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13002 $as_echo "yes" >&6; }
13003
13004 fi
13005
13006
13007
13008
13009 pkg_failed=no
13010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO" >&5
13011 $as_echo_n "checking for GIO... " >&6; }
13012
13013 if test -n "$GIO_CFLAGS"; then
13014     pkg_cv_GIO_CFLAGS="$GIO_CFLAGS"
13015  elif test -n "$PKG_CONFIG"; then
13016     if test -n "$PKG_CONFIG" && \
13017     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 gio-unix-2.0\""; } >&5
13018   ($PKG_CONFIG --exists --print-errors "gio-2.0 gio-unix-2.0") 2>&5
13019   ac_status=$?
13020   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13021   test $ac_status = 0; }; then
13022   pkg_cv_GIO_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 gio-unix-2.0" 2>/dev/null`
13023                       test "x$?" != "x0" && pkg_failed=yes
13024 else
13025   pkg_failed=yes
13026 fi
13027  else
13028     pkg_failed=untried
13029 fi
13030 if test -n "$GIO_LIBS"; then
13031     pkg_cv_GIO_LIBS="$GIO_LIBS"
13032  elif test -n "$PKG_CONFIG"; then
13033     if test -n "$PKG_CONFIG" && \
13034     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 gio-unix-2.0\""; } >&5
13035   ($PKG_CONFIG --exists --print-errors "gio-2.0 gio-unix-2.0") 2>&5
13036   ac_status=$?
13037   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13038   test $ac_status = 0; }; then
13039   pkg_cv_GIO_LIBS=`$PKG_CONFIG --libs "gio-2.0 gio-unix-2.0" 2>/dev/null`
13040                       test "x$?" != "x0" && pkg_failed=yes
13041 else
13042   pkg_failed=yes
13043 fi
13044  else
13045     pkg_failed=untried
13046 fi
13047
13048
13049
13050 if test $pkg_failed = yes; then
13051         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13052 $as_echo "no" >&6; }
13053
13054 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13055         _pkg_short_errors_supported=yes
13056 else
13057         _pkg_short_errors_supported=no
13058 fi
13059         if test $_pkg_short_errors_supported = yes; then
13060                 GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-2.0 gio-unix-2.0" 2>&1`
13061         else
13062                 GIO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0 gio-unix-2.0" 2>&1`
13063         fi
13064         # Put the nasty error message in config.log where it belongs
13065         echo "$GIO_PKG_ERRORS" >&5
13066
13067         as_fn_error $? "Package requirements (gio-2.0 gio-unix-2.0) were not met:
13068
13069 $GIO_PKG_ERRORS
13070
13071 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13072 installed software in a non-standard prefix.
13073
13074 Alternatively, you may set the environment variables GIO_CFLAGS
13075 and GIO_LIBS to avoid the need to call pkg-config.
13076 See the pkg-config man page for more details." "$LINENO" 5
13077 elif test $pkg_failed = untried; then
13078         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13079 $as_echo "no" >&6; }
13080         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13081 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13082 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13083 is in your PATH or set the PKG_CONFIG environment variable to the full
13084 path to pkg-config.
13085
13086 Alternatively, you may set the environment variables GIO_CFLAGS
13087 and GIO_LIBS to avoid the need to call pkg-config.
13088 See the pkg-config man page for more details.
13089
13090 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13091 See \`config.log' for more details" "$LINENO" 5; }
13092 else
13093         GIO_CFLAGS=$pkg_cv_GIO_CFLAGS
13094         GIO_LIBS=$pkg_cv_GIO_LIBS
13095         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13096 $as_echo "yes" >&6; }
13097
13098 fi
13099
13100
13101
13102
13103 pkg_failed=no
13104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GMODULE" >&5
13105 $as_echo_n "checking for GMODULE... " >&6; }
13106
13107 if test -n "$GMODULE_CFLAGS"; then
13108     pkg_cv_GMODULE_CFLAGS="$GMODULE_CFLAGS"
13109  elif test -n "$PKG_CONFIG"; then
13110     if test -n "$PKG_CONFIG" && \
13111     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0\""; } >&5
13112   ($PKG_CONFIG --exists --print-errors "gmodule-2.0") 2>&5
13113   ac_status=$?
13114   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13115   test $ac_status = 0; }; then
13116   pkg_cv_GMODULE_CFLAGS=`$PKG_CONFIG --cflags "gmodule-2.0" 2>/dev/null`
13117                       test "x$?" != "x0" && pkg_failed=yes
13118 else
13119   pkg_failed=yes
13120 fi
13121  else
13122     pkg_failed=untried
13123 fi
13124 if test -n "$GMODULE_LIBS"; then
13125     pkg_cv_GMODULE_LIBS="$GMODULE_LIBS"
13126  elif test -n "$PKG_CONFIG"; then
13127     if test -n "$PKG_CONFIG" && \
13128     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0\""; } >&5
13129   ($PKG_CONFIG --exists --print-errors "gmodule-2.0") 2>&5
13130   ac_status=$?
13131   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13132   test $ac_status = 0; }; then
13133   pkg_cv_GMODULE_LIBS=`$PKG_CONFIG --libs "gmodule-2.0" 2>/dev/null`
13134                       test "x$?" != "x0" && pkg_failed=yes
13135 else
13136   pkg_failed=yes
13137 fi
13138  else
13139     pkg_failed=untried
13140 fi
13141
13142
13143
13144 if test $pkg_failed = yes; then
13145         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13146 $as_echo "no" >&6; }
13147
13148 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13149         _pkg_short_errors_supported=yes
13150 else
13151         _pkg_short_errors_supported=no
13152 fi
13153         if test $_pkg_short_errors_supported = yes; then
13154                 GMODULE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gmodule-2.0" 2>&1`
13155         else
13156                 GMODULE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gmodule-2.0" 2>&1`
13157         fi
13158         # Put the nasty error message in config.log where it belongs
13159         echo "$GMODULE_PKG_ERRORS" >&5
13160
13161         as_fn_error $? "Package requirements (gmodule-2.0) were not met:
13162
13163 $GMODULE_PKG_ERRORS
13164
13165 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13166 installed software in a non-standard prefix.
13167
13168 Alternatively, you may set the environment variables GMODULE_CFLAGS
13169 and GMODULE_LIBS to avoid the need to call pkg-config.
13170 See the pkg-config man page for more details." "$LINENO" 5
13171 elif test $pkg_failed = untried; then
13172         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13173 $as_echo "no" >&6; }
13174         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13175 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13176 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13177 is in your PATH or set the PKG_CONFIG environment variable to the full
13178 path to pkg-config.
13179
13180 Alternatively, you may set the environment variables GMODULE_CFLAGS
13181 and GMODULE_LIBS to avoid the need to call pkg-config.
13182 See the pkg-config man page for more details.
13183
13184 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13185 See \`config.log' for more details" "$LINENO" 5; }
13186 else
13187         GMODULE_CFLAGS=$pkg_cv_GMODULE_CFLAGS
13188         GMODULE_LIBS=$pkg_cv_GMODULE_LIBS
13189         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13190 $as_echo "yes" >&6; }
13191
13192 fi
13193
13194
13195
13196 # Check for libtlm-nfc
13197
13198 pkg_failed=no
13199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBTLM_NFC" >&5
13200 $as_echo_n "checking for LIBTLM_NFC... " >&6; }
13201
13202 if test -n "$LIBTLM_NFC_CFLAGS"; then
13203     pkg_cv_LIBTLM_NFC_CFLAGS="$LIBTLM_NFC_CFLAGS"
13204  elif test -n "$PKG_CONFIG"; then
13205     if test -n "$PKG_CONFIG" && \
13206     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libtlm-nfc\""; } >&5
13207   ($PKG_CONFIG --exists --print-errors "libtlm-nfc") 2>&5
13208   ac_status=$?
13209   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13210   test $ac_status = 0; }; then
13211   pkg_cv_LIBTLM_NFC_CFLAGS=`$PKG_CONFIG --cflags "libtlm-nfc" 2>/dev/null`
13212                       test "x$?" != "x0" && pkg_failed=yes
13213 else
13214   pkg_failed=yes
13215 fi
13216  else
13217     pkg_failed=untried
13218 fi
13219 if test -n "$LIBTLM_NFC_LIBS"; then
13220     pkg_cv_LIBTLM_NFC_LIBS="$LIBTLM_NFC_LIBS"
13221  elif test -n "$PKG_CONFIG"; then
13222     if test -n "$PKG_CONFIG" && \
13223     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libtlm-nfc\""; } >&5
13224   ($PKG_CONFIG --exists --print-errors "libtlm-nfc") 2>&5
13225   ac_status=$?
13226   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13227   test $ac_status = 0; }; then
13228   pkg_cv_LIBTLM_NFC_LIBS=`$PKG_CONFIG --libs "libtlm-nfc" 2>/dev/null`
13229                       test "x$?" != "x0" && pkg_failed=yes
13230 else
13231   pkg_failed=yes
13232 fi
13233  else
13234     pkg_failed=untried
13235 fi
13236
13237
13238
13239 if test $pkg_failed = yes; then
13240         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13241 $as_echo "no" >&6; }
13242
13243 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13244         _pkg_short_errors_supported=yes
13245 else
13246         _pkg_short_errors_supported=no
13247 fi
13248         if test $_pkg_short_errors_supported = yes; then
13249                 LIBTLM_NFC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libtlm-nfc" 2>&1`
13250         else
13251                 LIBTLM_NFC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libtlm-nfc" 2>&1`
13252         fi
13253         # Put the nasty error message in config.log where it belongs
13254         echo "$LIBTLM_NFC_PKG_ERRORS" >&5
13255
13256         have_libtlm_nfc=no
13257 elif test $pkg_failed = untried; then
13258         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13259 $as_echo "no" >&6; }
13260         have_libtlm_nfc=no
13261 else
13262         LIBTLM_NFC_CFLAGS=$pkg_cv_LIBTLM_NFC_CFLAGS
13263         LIBTLM_NFC_LIBS=$pkg_cv_LIBTLM_NFC_LIBS
13264         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13265 $as_echo "yes" >&6; }
13266         have_libtlm_nfc=yes
13267 fi
13268
13269
13270  if test x$have_libtlm_nfc = xyes; then
13271   HAVE_LIBTLM_NFC_TRUE=
13272   HAVE_LIBTLM_NFC_FALSE='#'
13273 else
13274   HAVE_LIBTLM_NFC_TRUE='#'
13275   HAVE_LIBTLM_NFC_FALSE=
13276 fi
13277
13278
13279 for ac_header in security/pam_appl.h
13280 do :
13281   ac_fn_c_check_header_mongrel "$LINENO" "security/pam_appl.h" "ac_cv_header_security_pam_appl_h" "$ac_includes_default"
13282 if test "x$ac_cv_header_security_pam_appl_h" = xyes; then :
13283   cat >>confdefs.h <<_ACEOF
13284 #define HAVE_SECURITY_PAM_APPL_H 1
13285 _ACEOF
13286
13287 else
13288   as_fn_error $? "\"pam-devel is required\"" "$LINENO" 5
13289 fi
13290
13291 done
13292
13293
13294 TLM_CFLAGS="$GLIB_CFLAGS $GIO_CFLAGS $GMODULE_CFLAGS -D_POSIX_C_SOURCE=\"200809L\" -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -Wall -Werror"
13295 TLM_LIBS="$GLIB_LIBS $GIO_LIBS $GMODULE_LIBS"
13296
13297
13298
13299 # Enable debug
13300 # Check whether --enable-debug was given.
13301 if test "${enable_debug+set}" = set; then :
13302   enableval=$enable_debug; enable_debug=$enable_debug
13303 else
13304   enable_debug="no"
13305 fi
13306
13307 if test "x$enable_debug" = "xyes" ; then
13308
13309 $as_echo "#define ENABLE_DEBUG 1" >>confdefs.h
13310
13311     # Check whether --enable-tests was given.
13312 if test "${enable_tests+set}" = set; then :
13313   enableval=$enable_tests; enable_tests=$enable_tests
13314 else
13315   enable_tests="no"
13316 fi
13317
13318     if test "x$enable_tests" = "xyes" ; then
13319
13320 $as_echo "#define ENABLE_TESTS 1" >>confdefs.h
13321
13322
13323 pkg_failed=no
13324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5
13325 $as_echo_n "checking for CHECK... " >&6; }
13326
13327 if test -n "$CHECK_CFLAGS"; then
13328     pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS"
13329  elif test -n "$PKG_CONFIG"; then
13330     if test -n "$PKG_CONFIG" && \
13331     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.4\""; } >&5
13332   ($PKG_CONFIG --exists --print-errors "check >= 0.9.4") 2>&5
13333   ac_status=$?
13334   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13335   test $ac_status = 0; }; then
13336   pkg_cv_CHECK_CFLAGS=`$PKG_CONFIG --cflags "check >= 0.9.4" 2>/dev/null`
13337                       test "x$?" != "x0" && pkg_failed=yes
13338 else
13339   pkg_failed=yes
13340 fi
13341  else
13342     pkg_failed=untried
13343 fi
13344 if test -n "$CHECK_LIBS"; then
13345     pkg_cv_CHECK_LIBS="$CHECK_LIBS"
13346  elif test -n "$PKG_CONFIG"; then
13347     if test -n "$PKG_CONFIG" && \
13348     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.4\""; } >&5
13349   ($PKG_CONFIG --exists --print-errors "check >= 0.9.4") 2>&5
13350   ac_status=$?
13351   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13352   test $ac_status = 0; }; then
13353   pkg_cv_CHECK_LIBS=`$PKG_CONFIG --libs "check >= 0.9.4" 2>/dev/null`
13354                       test "x$?" != "x0" && pkg_failed=yes
13355 else
13356   pkg_failed=yes
13357 fi
13358  else
13359     pkg_failed=untried
13360 fi
13361
13362
13363
13364 if test $pkg_failed = yes; then
13365         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13366 $as_echo "no" >&6; }
13367
13368 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13369         _pkg_short_errors_supported=yes
13370 else
13371         _pkg_short_errors_supported=no
13372 fi
13373         if test $_pkg_short_errors_supported = yes; then
13374                 CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "check >= 0.9.4" 2>&1`
13375         else
13376                 CHECK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "check >= 0.9.4" 2>&1`
13377         fi
13378         # Put the nasty error message in config.log where it belongs
13379         echo "$CHECK_PKG_ERRORS" >&5
13380
13381         as_fn_error $? "Package requirements (check >= 0.9.4) were not met:
13382
13383 $CHECK_PKG_ERRORS
13384
13385 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13386 installed software in a non-standard prefix.
13387
13388 Alternatively, you may set the environment variables CHECK_CFLAGS
13389 and CHECK_LIBS to avoid the need to call pkg-config.
13390 See the pkg-config man page for more details." "$LINENO" 5
13391 elif test $pkg_failed = untried; then
13392         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13393 $as_echo "no" >&6; }
13394         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13395 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13396 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13397 is in your PATH or set the PKG_CONFIG environment variable to the full
13398 path to pkg-config.
13399
13400 Alternatively, you may set the environment variables CHECK_CFLAGS
13401 and CHECK_LIBS to avoid the need to call pkg-config.
13402 See the pkg-config man page for more details.
13403
13404 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13405 See \`config.log' for more details" "$LINENO" 5; }
13406 else
13407         CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS
13408         CHECK_LIBS=$pkg_cv_CHECK_LIBS
13409         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13410 $as_echo "yes" >&6; }
13411
13412 fi
13413     fi
13414 else
13415     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Tests can't be enabled without debug features\"" >&5
13416 $as_echo "$as_me: WARNING: \"Tests can't be enabled without debug features\"" >&2;}
13417     enable_tests=no
13418 fi
13419
13420
13421  if test "x$enable_tests" = "xyes"; then
13422   ENABLE_TESTS_TRUE=
13423   ENABLE_TESTS_FALSE='#'
13424 else
13425   ENABLE_TESTS_TRUE='#'
13426   ENABLE_TESTS_FALSE=
13427 fi
13428
13429
13430 # Enable examples
13431 # Check whether --enable-examples was given.
13432 if test "${enable_examples+set}" = set; then :
13433   enableval=$enable_examples; enable_examples=$enable_examples
13434 else
13435   enable_examples="no"
13436 fi
13437
13438  if test x$enable_examples = xyes; then
13439   ENABLE_EXAMPLES_TRUE=
13440   ENABLE_EXAMPLES_FALSE='#'
13441 else
13442   ENABLE_EXAMPLES_TRUE='#'
13443   ENABLE_EXAMPLES_FALSE=
13444 fi
13445
13446
13447 if test "x$enable_examples" = "xyes" ; then
13448
13449 pkg_failed=no
13450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY" >&5
13451 $as_echo_n "checking for ELEMENTARY... " >&6; }
13452
13453 if test -n "$ELEMENTARY_CFLAGS"; then
13454     pkg_cv_ELEMENTARY_CFLAGS="$ELEMENTARY_CFLAGS"
13455  elif test -n "$PKG_CONFIG"; then
13456     if test -n "$PKG_CONFIG" && \
13457     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"elementary\""; } >&5
13458   ($PKG_CONFIG --exists --print-errors "elementary") 2>&5
13459   ac_status=$?
13460   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13461   test $ac_status = 0; }; then
13462   pkg_cv_ELEMENTARY_CFLAGS=`$PKG_CONFIG --cflags "elementary" 2>/dev/null`
13463                       test "x$?" != "x0" && pkg_failed=yes
13464 else
13465   pkg_failed=yes
13466 fi
13467  else
13468     pkg_failed=untried
13469 fi
13470 if test -n "$ELEMENTARY_LIBS"; then
13471     pkg_cv_ELEMENTARY_LIBS="$ELEMENTARY_LIBS"
13472  elif test -n "$PKG_CONFIG"; then
13473     if test -n "$PKG_CONFIG" && \
13474     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"elementary\""; } >&5
13475   ($PKG_CONFIG --exists --print-errors "elementary") 2>&5
13476   ac_status=$?
13477   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13478   test $ac_status = 0; }; then
13479   pkg_cv_ELEMENTARY_LIBS=`$PKG_CONFIG --libs "elementary" 2>/dev/null`
13480                       test "x$?" != "x0" && pkg_failed=yes
13481 else
13482   pkg_failed=yes
13483 fi
13484  else
13485     pkg_failed=untried
13486 fi
13487
13488
13489
13490 if test $pkg_failed = yes; then
13491         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13492 $as_echo "no" >&6; }
13493
13494 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13495         _pkg_short_errors_supported=yes
13496 else
13497         _pkg_short_errors_supported=no
13498 fi
13499         if test $_pkg_short_errors_supported = yes; then
13500                 ELEMENTARY_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "elementary" 2>&1`
13501         else
13502                 ELEMENTARY_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "elementary" 2>&1`
13503         fi
13504         # Put the nasty error message in config.log where it belongs
13505         echo "$ELEMENTARY_PKG_ERRORS" >&5
13506
13507         as_fn_error $? "Package requirements (elementary) were not met:
13508
13509 $ELEMENTARY_PKG_ERRORS
13510
13511 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13512 installed software in a non-standard prefix.
13513
13514 Alternatively, you may set the environment variables ELEMENTARY_CFLAGS
13515 and ELEMENTARY_LIBS to avoid the need to call pkg-config.
13516 See the pkg-config man page for more details." "$LINENO" 5
13517 elif test $pkg_failed = untried; then
13518         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13519 $as_echo "no" >&6; }
13520         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13521 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13522 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13523 is in your PATH or set the PKG_CONFIG environment variable to the full
13524 path to pkg-config.
13525
13526 Alternatively, you may set the environment variables ELEMENTARY_CFLAGS
13527 and ELEMENTARY_LIBS to avoid the need to call pkg-config.
13528 See the pkg-config man page for more details.
13529
13530 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13531 See \`config.log' for more details" "$LINENO" 5; }
13532 else
13533         ELEMENTARY_CFLAGS=$pkg_cv_ELEMENTARY_CFLAGS
13534         ELEMENTARY_LIBS=$pkg_cv_ELEMENTARY_LIBS
13535         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13536 $as_echo "yes" >&6; }
13537
13538 fi
13539
13540
13541 fi
13542
13543 # Define socket path
13544 # Check whether --enable-sockets-path was given.
13545 if test "${enable_sockets_path+set}" = set; then :
13546   enableval=$enable_sockets_path; enable_sockets_path=$enableval
13547 else
13548   enable_sockets_path="/var/run/tlm"
13549 fi
13550
13551
13552 cat >>confdefs.h <<_ACEOF
13553 #define TLM_DBUS_SOCKET_PATH "$enable_sockets_path"
13554 _ACEOF
13555
13556
13557 cat >>confdefs.h <<_ACEOF
13558 #define TLM_DBUS_ROOT_SOCKET_ADDRESS "unix:path=$enable_sockets_path/dbus-sock"
13559 _ACEOF
13560
13561
13562 # Enable gum
13563
13564 pkg_failed=no
13565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGUM" >&5
13566 $as_echo_n "checking for LIBGUM... " >&6; }
13567
13568 if test -n "$LIBGUM_CFLAGS"; then
13569     pkg_cv_LIBGUM_CFLAGS="$LIBGUM_CFLAGS"
13570  elif test -n "$PKG_CONFIG"; then
13571     if test -n "$PKG_CONFIG" && \
13572     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgum\""; } >&5
13573   ($PKG_CONFIG --exists --print-errors "libgum") 2>&5
13574   ac_status=$?
13575   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13576   test $ac_status = 0; }; then
13577   pkg_cv_LIBGUM_CFLAGS=`$PKG_CONFIG --cflags "libgum" 2>/dev/null`
13578                       test "x$?" != "x0" && pkg_failed=yes
13579 else
13580   pkg_failed=yes
13581 fi
13582  else
13583     pkg_failed=untried
13584 fi
13585 if test -n "$LIBGUM_LIBS"; then
13586     pkg_cv_LIBGUM_LIBS="$LIBGUM_LIBS"
13587  elif test -n "$PKG_CONFIG"; then
13588     if test -n "$PKG_CONFIG" && \
13589     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgum\""; } >&5
13590   ($PKG_CONFIG --exists --print-errors "libgum") 2>&5
13591   ac_status=$?
13592   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13593   test $ac_status = 0; }; then
13594   pkg_cv_LIBGUM_LIBS=`$PKG_CONFIG --libs "libgum" 2>/dev/null`
13595                       test "x$?" != "x0" && pkg_failed=yes
13596 else
13597   pkg_failed=yes
13598 fi
13599  else
13600     pkg_failed=untried
13601 fi
13602
13603
13604
13605 if test $pkg_failed = yes; then
13606         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13607 $as_echo "no" >&6; }
13608
13609 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13610         _pkg_short_errors_supported=yes
13611 else
13612         _pkg_short_errors_supported=no
13613 fi
13614         if test $_pkg_short_errors_supported = yes; then
13615                 LIBGUM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libgum" 2>&1`
13616         else
13617                 LIBGUM_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libgum" 2>&1`
13618         fi
13619         # Put the nasty error message in config.log where it belongs
13620         echo "$LIBGUM_PKG_ERRORS" >&5
13621
13622         have_libgum=no
13623 elif test $pkg_failed = untried; then
13624         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13625 $as_echo "no" >&6; }
13626         have_libgum=no
13627 else
13628         LIBGUM_CFLAGS=$pkg_cv_LIBGUM_CFLAGS
13629         LIBGUM_LIBS=$pkg_cv_LIBGUM_LIBS
13630         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13631 $as_echo "yes" >&6; }
13632         have_libgum=yes
13633 fi
13634 # Check whether --enable-gum was given.
13635 if test "${enable_gum+set}" = set; then :
13636   enableval=$enable_gum;
13637 else
13638   enable_gum=$have_libgum
13639 fi
13640
13641 if test "x$enable_gum" = "xyes" && test "x$have_libgum" = "xno" ; then
13642     as_fn_error $? "\"libgum is required.\"" "$LINENO" 5
13643 fi
13644
13645
13646  if test x$have_libgum = xyes; then
13647   HAVE_LIBGUM_TRUE=
13648   HAVE_LIBGUM_FALSE='#'
13649 else
13650   HAVE_LIBGUM_TRUE='#'
13651   HAVE_LIBGUM_FALSE=
13652 fi
13653
13654
13655 if test "x$enable_gum" = "xyes" ; then
13656     ACCOUNT_PLUGIN_NAME=gumd
13657
13658 else
13659     ACCOUNT_PLUGIN_NAME=default
13660
13661 fi
13662
13663 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"
13664
13665
13666 cat >confcache <<\_ACEOF
13667 # This file is a shell script that caches the results of configure
13668 # tests run on this system so they can be shared between configure
13669 # scripts and configure runs, see configure's option --config-cache.
13670 # It is not useful on other systems.  If it contains results you don't
13671 # want to keep, you may remove or edit it.
13672 #
13673 # config.status only pays attention to the cache file if you give it
13674 # the --recheck option to rerun configure.
13675 #
13676 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13677 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13678 # following values.
13679
13680 _ACEOF
13681
13682 # The following way of writing the cache mishandles newlines in values,
13683 # but we know of no workaround that is simple, portable, and efficient.
13684 # So, we kill variables containing newlines.
13685 # Ultrix sh set writes to stderr and can't be redirected directly,
13686 # and sets the high bit in the cache file unless we assign to the vars.
13687 (
13688   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13689     eval ac_val=\$$ac_var
13690     case $ac_val in #(
13691     *${as_nl}*)
13692       case $ac_var in #(
13693       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13694 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13695       esac
13696       case $ac_var in #(
13697       _ | IFS | as_nl) ;; #(
13698       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13699       *) { eval $ac_var=; unset $ac_var;} ;;
13700       esac ;;
13701     esac
13702   done
13703
13704   (set) 2>&1 |
13705     case $as_nl`(ac_space=' '; set) 2>&1` in #(
13706     *${as_nl}ac_space=\ *)
13707       # `set' does not quote correctly, so add quotes: double-quote
13708       # substitution turns \\\\ into \\, and sed turns \\ into \.
13709       sed -n \
13710         "s/'/'\\\\''/g;
13711           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13712       ;; #(
13713     *)
13714       # `set' quotes correctly as required by POSIX, so do not add quotes.
13715       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13716       ;;
13717     esac |
13718     sort
13719 ) |
13720   sed '
13721      /^ac_cv_env_/b end
13722      t clear
13723      :clear
13724      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13725      t end
13726      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13727      :end' >>confcache
13728 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13729   if test -w "$cache_file"; then
13730     if test "x$cache_file" != "x/dev/null"; then
13731       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13732 $as_echo "$as_me: updating cache $cache_file" >&6;}
13733       if test ! -f "$cache_file" || test -h "$cache_file"; then
13734         cat confcache >"$cache_file"
13735       else
13736         case $cache_file in #(
13737         */* | ?:*)
13738           mv -f confcache "$cache_file"$$ &&
13739           mv -f "$cache_file"$$ "$cache_file" ;; #(
13740         *)
13741           mv -f confcache "$cache_file" ;;
13742         esac
13743       fi
13744     fi
13745   else
13746     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13747 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13748   fi
13749 fi
13750 rm -f confcache
13751
13752 test "x$prefix" = xNONE && prefix=$ac_default_prefix
13753 # Let make expand exec_prefix.
13754 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13755
13756 DEFS=-DHAVE_CONFIG_H
13757
13758 ac_libobjs=
13759 ac_ltlibobjs=
13760 U=
13761 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13762   # 1. Remove the extension, and $U if already installed.
13763   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13764   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13765   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
13766   #    will be set to the directory where LIBOBJS objects are built.
13767   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13768   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13769 done
13770 LIBOBJS=$ac_libobjs
13771
13772 LTLIBOBJS=$ac_ltlibobjs
13773
13774
13775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
13776 $as_echo_n "checking that generated files are newer than configure... " >&6; }
13777    if test -n "$am_sleep_pid"; then
13778      # Hide warnings about reused PIDs.
13779      wait $am_sleep_pid 2>/dev/null
13780    fi
13781    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
13782 $as_echo "done" >&6; }
13783  if test -n "$EXEEXT"; then
13784   am__EXEEXT_TRUE=
13785   am__EXEEXT_FALSE='#'
13786 else
13787   am__EXEEXT_TRUE='#'
13788   am__EXEEXT_FALSE=
13789 fi
13790
13791 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13792   as_fn_error $? "conditional \"AMDEP\" was never defined.
13793 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13794 fi
13795 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13796   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13797 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13798 fi
13799 if test -z "${HAVE_GTK_DOC_TRUE}" && test -z "${HAVE_GTK_DOC_FALSE}"; then
13800   as_fn_error $? "conditional \"HAVE_GTK_DOC\" was never defined.
13801 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13802 fi
13803 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
13804   as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
13805 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13806 fi
13807 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
13808   as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
13809 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13810 fi
13811 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
13812   as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
13813 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13814 fi
13815 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
13816   as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
13817 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13818 fi
13819 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
13820   as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
13821 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13822 fi
13823 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13824   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13825 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13826 fi
13827 if test -z "${HAVE_LIBTLM_NFC_TRUE}" && test -z "${HAVE_LIBTLM_NFC_FALSE}"; then
13828   as_fn_error $? "conditional \"HAVE_LIBTLM_NFC\" was never defined.
13829 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13830 fi
13831 if test -z "${ENABLE_TESTS_TRUE}" && test -z "${ENABLE_TESTS_FALSE}"; then
13832   as_fn_error $? "conditional \"ENABLE_TESTS\" was never defined.
13833 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13834 fi
13835 if test -z "${ENABLE_EXAMPLES_TRUE}" && test -z "${ENABLE_EXAMPLES_FALSE}"; then
13836   as_fn_error $? "conditional \"ENABLE_EXAMPLES\" was never defined.
13837 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13838 fi
13839 if test -z "${HAVE_LIBGUM_TRUE}" && test -z "${HAVE_LIBGUM_FALSE}"; then
13840   as_fn_error $? "conditional \"HAVE_LIBGUM\" was never defined.
13841 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13842 fi
13843
13844 : "${CONFIG_STATUS=./config.status}"
13845 ac_write_fail=0
13846 ac_clean_files_save=$ac_clean_files
13847 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13848 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13849 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13850 as_write_fail=0
13851 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13852 #! $SHELL
13853 # Generated by $as_me.
13854 # Run this file to recreate the current configuration.
13855 # Compiler output produced by configure, useful for debugging
13856 # configure, is in config.log if it exists.
13857
13858 debug=false
13859 ac_cs_recheck=false
13860 ac_cs_silent=false
13861
13862 SHELL=\${CONFIG_SHELL-$SHELL}
13863 export SHELL
13864 _ASEOF
13865 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13866 ## -------------------- ##
13867 ## M4sh Initialization. ##
13868 ## -------------------- ##
13869
13870 # Be more Bourne compatible
13871 DUALCASE=1; export DUALCASE # for MKS sh
13872 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13873   emulate sh
13874   NULLCMD=:
13875   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13876   # is contrary to our usage.  Disable this feature.
13877   alias -g '${1+"$@"}'='"$@"'
13878   setopt NO_GLOB_SUBST
13879 else
13880   case `(set -o) 2>/dev/null` in #(
13881   *posix*) :
13882     set -o posix ;; #(
13883   *) :
13884      ;;
13885 esac
13886 fi
13887
13888
13889 as_nl='
13890 '
13891 export as_nl
13892 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13893 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13894 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13895 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13896 # Prefer a ksh shell builtin over an external printf program on Solaris,
13897 # but without wasting forks for bash or zsh.
13898 if test -z "$BASH_VERSION$ZSH_VERSION" \
13899     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13900   as_echo='print -r --'
13901   as_echo_n='print -rn --'
13902 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13903   as_echo='printf %s\n'
13904   as_echo_n='printf %s'
13905 else
13906   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13907     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13908     as_echo_n='/usr/ucb/echo -n'
13909   else
13910     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13911     as_echo_n_body='eval
13912       arg=$1;
13913       case $arg in #(
13914       *"$as_nl"*)
13915         expr "X$arg" : "X\\(.*\\)$as_nl";
13916         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13917       esac;
13918       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13919     '
13920     export as_echo_n_body
13921     as_echo_n='sh -c $as_echo_n_body as_echo'
13922   fi
13923   export as_echo_body
13924   as_echo='sh -c $as_echo_body as_echo'
13925 fi
13926
13927 # The user is always right.
13928 if test "${PATH_SEPARATOR+set}" != set; then
13929   PATH_SEPARATOR=:
13930   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13931     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13932       PATH_SEPARATOR=';'
13933   }
13934 fi
13935
13936
13937 # IFS
13938 # We need space, tab and new line, in precisely that order.  Quoting is
13939 # there to prevent editors from complaining about space-tab.
13940 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13941 # splitting by setting IFS to empty value.)
13942 IFS=" ""        $as_nl"
13943
13944 # Find who we are.  Look in the path if we contain no directory separator.
13945 as_myself=
13946 case $0 in #((
13947   *[\\/]* ) as_myself=$0 ;;
13948   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13949 for as_dir in $PATH
13950 do
13951   IFS=$as_save_IFS
13952   test -z "$as_dir" && as_dir=.
13953     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13954   done
13955 IFS=$as_save_IFS
13956
13957      ;;
13958 esac
13959 # We did not find ourselves, most probably we were run as `sh COMMAND'
13960 # in which case we are not to be found in the path.
13961 if test "x$as_myself" = x; then
13962   as_myself=$0
13963 fi
13964 if test ! -f "$as_myself"; then
13965   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13966   exit 1
13967 fi
13968
13969 # Unset variables that we do not need and which cause bugs (e.g. in
13970 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
13971 # suppresses any "Segmentation fault" message there.  '((' could
13972 # trigger a bug in pdksh 5.2.14.
13973 for as_var in BASH_ENV ENV MAIL MAILPATH
13974 do eval test x\${$as_var+set} = xset \
13975   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13976 done
13977 PS1='$ '
13978 PS2='> '
13979 PS4='+ '
13980
13981 # NLS nuisances.
13982 LC_ALL=C
13983 export LC_ALL
13984 LANGUAGE=C
13985 export LANGUAGE
13986
13987 # CDPATH.
13988 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13989
13990
13991 # as_fn_error STATUS ERROR [LINENO LOG_FD]
13992 # ----------------------------------------
13993 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13994 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13995 # script with STATUS, using 1 if that was 0.
13996 as_fn_error ()
13997 {
13998   as_status=$1; test $as_status -eq 0 && as_status=1
13999   if test "$4"; then
14000     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14001     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14002   fi
14003   $as_echo "$as_me: error: $2" >&2
14004   as_fn_exit $as_status
14005 } # as_fn_error
14006
14007
14008 # as_fn_set_status STATUS
14009 # -----------------------
14010 # Set $? to STATUS, without forking.
14011 as_fn_set_status ()
14012 {
14013   return $1
14014 } # as_fn_set_status
14015
14016 # as_fn_exit STATUS
14017 # -----------------
14018 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14019 as_fn_exit ()
14020 {
14021   set +e
14022   as_fn_set_status $1
14023   exit $1
14024 } # as_fn_exit
14025
14026 # as_fn_unset VAR
14027 # ---------------
14028 # Portably unset VAR.
14029 as_fn_unset ()
14030 {
14031   { eval $1=; unset $1;}
14032 }
14033 as_unset=as_fn_unset
14034 # as_fn_append VAR VALUE
14035 # ----------------------
14036 # Append the text in VALUE to the end of the definition contained in VAR. Take
14037 # advantage of any shell optimizations that allow amortized linear growth over
14038 # repeated appends, instead of the typical quadratic growth present in naive
14039 # implementations.
14040 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
14041   eval 'as_fn_append ()
14042   {
14043     eval $1+=\$2
14044   }'
14045 else
14046   as_fn_append ()
14047   {
14048     eval $1=\$$1\$2
14049   }
14050 fi # as_fn_append
14051
14052 # as_fn_arith ARG...
14053 # ------------------
14054 # Perform arithmetic evaluation on the ARGs, and store the result in the
14055 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14056 # must be portable across $(()) and expr.
14057 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
14058   eval 'as_fn_arith ()
14059   {
14060     as_val=$(( $* ))
14061   }'
14062 else
14063   as_fn_arith ()
14064   {
14065     as_val=`expr "$@" || test $? -eq 1`
14066   }
14067 fi # as_fn_arith
14068
14069
14070 if expr a : '\(a\)' >/dev/null 2>&1 &&
14071    test "X`expr 00001 : '.*\(...\)'`" = X001; then
14072   as_expr=expr
14073 else
14074   as_expr=false
14075 fi
14076
14077 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14078   as_basename=basename
14079 else
14080   as_basename=false
14081 fi
14082
14083 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14084   as_dirname=dirname
14085 else
14086   as_dirname=false
14087 fi
14088
14089 as_me=`$as_basename -- "$0" ||
14090 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14091          X"$0" : 'X\(//\)$' \| \
14092          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14093 $as_echo X/"$0" |
14094     sed '/^.*\/\([^/][^/]*\)\/*$/{
14095             s//\1/
14096             q
14097           }
14098           /^X\/\(\/\/\)$/{
14099             s//\1/
14100             q
14101           }
14102           /^X\/\(\/\).*/{
14103             s//\1/
14104             q
14105           }
14106           s/.*/./; q'`
14107
14108 # Avoid depending upon Character Ranges.
14109 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14110 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14111 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14112 as_cr_digits='0123456789'
14113 as_cr_alnum=$as_cr_Letters$as_cr_digits
14114
14115 ECHO_C= ECHO_N= ECHO_T=
14116 case `echo -n x` in #(((((
14117 -n*)
14118   case `echo 'xy\c'` in
14119   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
14120   xy)  ECHO_C='\c';;
14121   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
14122        ECHO_T=' ';;
14123   esac;;
14124 *)
14125   ECHO_N='-n';;
14126 esac
14127
14128 rm -f conf$$ conf$$.exe conf$$.file
14129 if test -d conf$$.dir; then
14130   rm -f conf$$.dir/conf$$.file
14131 else
14132   rm -f conf$$.dir
14133   mkdir conf$$.dir 2>/dev/null
14134 fi
14135 if (echo >conf$$.file) 2>/dev/null; then
14136   if ln -s conf$$.file conf$$ 2>/dev/null; then
14137     as_ln_s='ln -s'
14138     # ... but there are two gotchas:
14139     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14140     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14141     # In both cases, we have to default to `cp -pR'.
14142     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14143       as_ln_s='cp -pR'
14144   elif ln conf$$.file conf$$ 2>/dev/null; then
14145     as_ln_s=ln
14146   else
14147     as_ln_s='cp -pR'
14148   fi
14149 else
14150   as_ln_s='cp -pR'
14151 fi
14152 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14153 rmdir conf$$.dir 2>/dev/null
14154
14155
14156 # as_fn_mkdir_p
14157 # -------------
14158 # Create "$as_dir" as a directory, including parents if necessary.
14159 as_fn_mkdir_p ()
14160 {
14161
14162   case $as_dir in #(
14163   -*) as_dir=./$as_dir;;
14164   esac
14165   test -d "$as_dir" || eval $as_mkdir_p || {
14166     as_dirs=
14167     while :; do
14168       case $as_dir in #(
14169       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14170       *) as_qdir=$as_dir;;
14171       esac
14172       as_dirs="'$as_qdir' $as_dirs"
14173       as_dir=`$as_dirname -- "$as_dir" ||
14174 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14175          X"$as_dir" : 'X\(//\)[^/]' \| \
14176          X"$as_dir" : 'X\(//\)$' \| \
14177          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14178 $as_echo X"$as_dir" |
14179     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14180             s//\1/
14181             q
14182           }
14183           /^X\(\/\/\)[^/].*/{
14184             s//\1/
14185             q
14186           }
14187           /^X\(\/\/\)$/{
14188             s//\1/
14189             q
14190           }
14191           /^X\(\/\).*/{
14192             s//\1/
14193             q
14194           }
14195           s/.*/./; q'`
14196       test -d "$as_dir" && break
14197     done
14198     test -z "$as_dirs" || eval "mkdir $as_dirs"
14199   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
14200
14201
14202 } # as_fn_mkdir_p
14203 if mkdir -p . 2>/dev/null; then
14204   as_mkdir_p='mkdir -p "$as_dir"'
14205 else
14206   test -d ./-p && rmdir ./-p
14207   as_mkdir_p=false
14208 fi
14209
14210
14211 # as_fn_executable_p FILE
14212 # -----------------------
14213 # Test if FILE is an executable regular file.
14214 as_fn_executable_p ()
14215 {
14216   test -f "$1" && test -x "$1"
14217 } # as_fn_executable_p
14218 as_test_x='test -x'
14219 as_executable_p=as_fn_executable_p
14220
14221 # Sed expression to map a string onto a valid CPP name.
14222 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14223
14224 # Sed expression to map a string onto a valid variable name.
14225 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14226
14227
14228 exec 6>&1
14229 ## ----------------------------------- ##
14230 ## Main body of $CONFIG_STATUS script. ##
14231 ## ----------------------------------- ##
14232 _ASEOF
14233 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14234
14235 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14236 # Save the log message, to keep $0 and so on meaningful, and to
14237 # report actual input values of CONFIG_FILES etc. instead of their
14238 # values after options handling.
14239 ac_log="
14240 This file was extended by tlm $as_me 0.0.2, which was
14241 generated by GNU Autoconf 2.69.  Invocation command line was
14242
14243   CONFIG_FILES    = $CONFIG_FILES
14244   CONFIG_HEADERS  = $CONFIG_HEADERS
14245   CONFIG_LINKS    = $CONFIG_LINKS
14246   CONFIG_COMMANDS = $CONFIG_COMMANDS
14247   $ $0 $@
14248
14249 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14250 "
14251
14252 _ACEOF
14253
14254 case $ac_config_files in *"
14255 "*) set x $ac_config_files; shift; ac_config_files=$*;;
14256 esac
14257
14258 case $ac_config_headers in *"
14259 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
14260 esac
14261
14262
14263 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14264 # Files that config.status was made for.
14265 config_files="$ac_config_files"
14266 config_headers="$ac_config_headers"
14267 config_commands="$ac_config_commands"
14268
14269 _ACEOF
14270
14271 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14272 ac_cs_usage="\
14273 \`$as_me' instantiates files and other configuration actions
14274 from templates according to the current configuration.  Unless the files
14275 and actions are specified as TAGs, all are instantiated by default.
14276
14277 Usage: $0 [OPTION]... [TAG]...
14278
14279   -h, --help       print this help, then exit
14280   -V, --version    print version number and configuration settings, then exit
14281       --config     print configuration, then exit
14282   -q, --quiet, --silent
14283                    do not print progress messages
14284   -d, --debug      don't remove temporary files
14285       --recheck    update $as_me by reconfiguring in the same conditions
14286       --file=FILE[:TEMPLATE]
14287                    instantiate the configuration file FILE
14288       --header=FILE[:TEMPLATE]
14289                    instantiate the configuration header FILE
14290
14291 Configuration files:
14292 $config_files
14293
14294 Configuration headers:
14295 $config_headers
14296
14297 Configuration commands:
14298 $config_commands
14299
14300 Report bugs to the package provider."
14301
14302 _ACEOF
14303 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14304 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14305 ac_cs_version="\\
14306 tlm config.status 0.0.2
14307 configured by $0, generated by GNU Autoconf 2.69,
14308   with options \\"\$ac_cs_config\\"
14309
14310 Copyright (C) 2012 Free Software Foundation, Inc.
14311 This config.status script is free software; the Free Software Foundation
14312 gives unlimited permission to copy, distribute and modify it."
14313
14314 ac_pwd='$ac_pwd'
14315 srcdir='$srcdir'
14316 INSTALL='$INSTALL'
14317 MKDIR_P='$MKDIR_P'
14318 AWK='$AWK'
14319 test -n "\$AWK" || AWK=awk
14320 _ACEOF
14321
14322 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14323 # The default lists apply if the user does not specify any file.
14324 ac_need_defaults=:
14325 while test $# != 0
14326 do
14327   case $1 in
14328   --*=?*)
14329     ac_option=`expr "X$1" : 'X\([^=]*\)='`
14330     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14331     ac_shift=:
14332     ;;
14333   --*=)
14334     ac_option=`expr "X$1" : 'X\([^=]*\)='`
14335     ac_optarg=
14336     ac_shift=:
14337     ;;
14338   *)
14339     ac_option=$1
14340     ac_optarg=$2
14341     ac_shift=shift
14342     ;;
14343   esac
14344
14345   case $ac_option in
14346   # Handling of the options.
14347   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14348     ac_cs_recheck=: ;;
14349   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14350     $as_echo "$ac_cs_version"; exit ;;
14351   --config | --confi | --conf | --con | --co | --c )
14352     $as_echo "$ac_cs_config"; exit ;;
14353   --debug | --debu | --deb | --de | --d | -d )
14354     debug=: ;;
14355   --file | --fil | --fi | --f )
14356     $ac_shift
14357     case $ac_optarg in
14358     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14359     '') as_fn_error $? "missing file argument" ;;
14360     esac
14361     as_fn_append CONFIG_FILES " '$ac_optarg'"
14362     ac_need_defaults=false;;
14363   --header | --heade | --head | --hea )
14364     $ac_shift
14365     case $ac_optarg in
14366     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14367     esac
14368     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
14369     ac_need_defaults=false;;
14370   --he | --h)
14371     # Conflict between --help and --header
14372     as_fn_error $? "ambiguous option: \`$1'
14373 Try \`$0 --help' for more information.";;
14374   --help | --hel | -h )
14375     $as_echo "$ac_cs_usage"; exit ;;
14376   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14377   | -silent | --silent | --silen | --sile | --sil | --si | --s)
14378     ac_cs_silent=: ;;
14379
14380   # This is an error.
14381   -*) as_fn_error $? "unrecognized option: \`$1'
14382 Try \`$0 --help' for more information." ;;
14383
14384   *) as_fn_append ac_config_targets " $1"
14385      ac_need_defaults=false ;;
14386
14387   esac
14388   shift
14389 done
14390
14391 ac_configure_extra_args=
14392
14393 if $ac_cs_silent; then
14394   exec 6>/dev/null
14395   ac_configure_extra_args="$ac_configure_extra_args --silent"
14396 fi
14397
14398 _ACEOF
14399 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14400 if \$ac_cs_recheck; then
14401   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14402   shift
14403   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14404   CONFIG_SHELL='$SHELL'
14405   export CONFIG_SHELL
14406   exec "\$@"
14407 fi
14408
14409 _ACEOF
14410 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14411 exec 5>>config.log
14412 {
14413   echo
14414   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14415 ## Running $as_me. ##
14416 _ASBOX
14417   $as_echo "$ac_log"
14418 } >&5
14419
14420 _ACEOF
14421 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14422 #
14423 # INIT-COMMANDS
14424 #
14425 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14426
14427
14428 # The HP-UX ksh and POSIX shell print the target directory to stdout
14429 # if CDPATH is set.
14430 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14431
14432 sed_quote_subst='$sed_quote_subst'
14433 double_quote_subst='$double_quote_subst'
14434 delay_variable_subst='$delay_variable_subst'
14435 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14436 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14437 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14438 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14439 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14440 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14441 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14442 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14443 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
14444 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14445 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14446 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14447 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14448 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14449 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14450 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14451 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14452 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14453 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14454 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14455 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14456 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14457 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14458 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14459 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14460 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14461 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14462 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14463 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14464 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
14465 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
14466 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14467 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14468 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14469 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14470 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14471 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
14472 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
14473 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
14474 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
14475 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14476 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14477 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
14478 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14479 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14480 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14481 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14482 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14483 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14484 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14485 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14486 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14487 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14488 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14489 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14490 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14491 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"`'
14492 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14493 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14494 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14495 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14496 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14497 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14498 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14499 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14500 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14501 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14502 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14503 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14504 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14505 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14506 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14507 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14508 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14509 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14510 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14511 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14512 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14513 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14514 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14515 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14516 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14517 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14518 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14519 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14520 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14521 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14522 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14523 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14524 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14525 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14526 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14527 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14528 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14529 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14530 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14531 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14532 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14533 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14534 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14535 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14536 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14537 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14538 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14539 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14540 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14541 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14542 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14543 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14544 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14545 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14546 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14547 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14548 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14549 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14550 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14551 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14552 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14553 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14554 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14555 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14556 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14557 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14558 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
14559 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14560 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14561 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14562 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14563 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14564 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14565
14566 LTCC='$LTCC'
14567 LTCFLAGS='$LTCFLAGS'
14568 compiler='$compiler_DEFAULT'
14569
14570 # A function that is used when there is no print builtin or printf.
14571 func_fallback_echo ()
14572 {
14573   eval 'cat <<_LTECHO_EOF
14574 \$1
14575 _LTECHO_EOF'
14576 }
14577
14578 # Quote evaled strings.
14579 for var in SHELL \
14580 ECHO \
14581 PATH_SEPARATOR \
14582 SED \
14583 GREP \
14584 EGREP \
14585 FGREP \
14586 LD \
14587 NM \
14588 LN_S \
14589 lt_SP2NL \
14590 lt_NL2SP \
14591 reload_flag \
14592 OBJDUMP \
14593 deplibs_check_method \
14594 file_magic_cmd \
14595 file_magic_glob \
14596 want_nocaseglob \
14597 DLLTOOL \
14598 sharedlib_from_linklib_cmd \
14599 AR \
14600 AR_FLAGS \
14601 archiver_list_spec \
14602 STRIP \
14603 RANLIB \
14604 CC \
14605 CFLAGS \
14606 compiler \
14607 lt_cv_sys_global_symbol_pipe \
14608 lt_cv_sys_global_symbol_to_cdecl \
14609 lt_cv_sys_global_symbol_to_c_name_address \
14610 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14611 nm_file_list_spec \
14612 lt_prog_compiler_no_builtin_flag \
14613 lt_prog_compiler_pic \
14614 lt_prog_compiler_wl \
14615 lt_prog_compiler_static \
14616 lt_cv_prog_compiler_c_o \
14617 need_locks \
14618 MANIFEST_TOOL \
14619 DSYMUTIL \
14620 NMEDIT \
14621 LIPO \
14622 OTOOL \
14623 OTOOL64 \
14624 shrext_cmds \
14625 export_dynamic_flag_spec \
14626 whole_archive_flag_spec \
14627 compiler_needs_object \
14628 with_gnu_ld \
14629 allow_undefined_flag \
14630 no_undefined_flag \
14631 hardcode_libdir_flag_spec \
14632 hardcode_libdir_separator \
14633 exclude_expsyms \
14634 include_expsyms \
14635 file_list_spec \
14636 variables_saved_for_relink \
14637 libname_spec \
14638 library_names_spec \
14639 soname_spec \
14640 install_override_mode \
14641 finish_eval \
14642 old_striplib \
14643 striplib; do
14644     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14645     *[\\\\\\\`\\"\\\$]*)
14646       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14647       ;;
14648     *)
14649       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14650       ;;
14651     esac
14652 done
14653
14654 # Double-quote double-evaled strings.
14655 for var in reload_cmds \
14656 old_postinstall_cmds \
14657 old_postuninstall_cmds \
14658 old_archive_cmds \
14659 extract_expsyms_cmds \
14660 old_archive_from_new_cmds \
14661 old_archive_from_expsyms_cmds \
14662 archive_cmds \
14663 archive_expsym_cmds \
14664 module_cmds \
14665 module_expsym_cmds \
14666 export_symbols_cmds \
14667 prelink_cmds \
14668 postlink_cmds \
14669 postinstall_cmds \
14670 postuninstall_cmds \
14671 finish_cmds \
14672 sys_lib_search_path_spec \
14673 sys_lib_dlsearch_path_spec; do
14674     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14675     *[\\\\\\\`\\"\\\$]*)
14676       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14677       ;;
14678     *)
14679       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14680       ;;
14681     esac
14682 done
14683
14684 ac_aux_dir='$ac_aux_dir'
14685 xsi_shell='$xsi_shell'
14686 lt_shell_append='$lt_shell_append'
14687
14688 # See if we are running on zsh, and set the options which allow our
14689 # commands through without removal of \ escapes INIT.
14690 if test -n "\${ZSH_VERSION+set}" ; then
14691    setopt NO_GLOB_SUBST
14692 fi
14693
14694
14695     PACKAGE='$PACKAGE'
14696     VERSION='$VERSION'
14697     TIMESTAMP='$TIMESTAMP'
14698     RM='$RM'
14699     ofile='$ofile'
14700
14701
14702
14703
14704 _ACEOF
14705
14706 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14707
14708 # Handling of arguments.
14709 for ac_config_target in $ac_config_targets
14710 do
14711   case $ac_config_target in
14712     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
14713     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14714     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14715     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14716     "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
14717     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
14718     "src/common/Makefile") CONFIG_FILES="$CONFIG_FILES src/common/Makefile" ;;
14719     "src/common/dbus/Makefile") CONFIG_FILES="$CONFIG_FILES src/common/dbus/Makefile" ;;
14720     "src/daemon/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/Makefile" ;;
14721     "src/daemon/dbus/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/dbus/Makefile" ;;
14722     "src/daemon/tlm.pc") CONFIG_FILES="$CONFIG_FILES src/daemon/tlm.pc" ;;
14723     "src/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/Makefile" ;;
14724     "src/plugins/default/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/default/Makefile" ;;
14725     "src/plugins/gumd/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/gumd/Makefile" ;;
14726     "src/plugins/nfc/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/nfc/Makefile" ;;
14727     "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
14728     "data/tlm.conf") CONFIG_FILES="$CONFIG_FILES data/tlm.conf" ;;
14729     "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
14730     "tests/config/Makefile") CONFIG_FILES="$CONFIG_FILES tests/config/Makefile" ;;
14731     "tests/daemon/Makefile") CONFIG_FILES="$CONFIG_FILES tests/daemon/Makefile" ;;
14732     "tests/tlm-test.conf") CONFIG_FILES="$CONFIG_FILES tests/tlm-test.conf" ;;
14733     "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
14734
14735   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14736   esac
14737 done
14738
14739
14740 # If the user did not use the arguments to specify the items to instantiate,
14741 # then the envvar interface is used.  Set only those that are not.
14742 # We use the long form for the default assignment because of an extremely
14743 # bizarre bug on SunOS 4.1.3.
14744 if $ac_need_defaults; then
14745   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14746   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14747   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14748 fi
14749
14750 # Have a temporary directory for convenience.  Make it in the build tree
14751 # simply because there is no reason against having it here, and in addition,
14752 # creating and moving files from /tmp can sometimes cause problems.
14753 # Hook for its removal unless debugging.
14754 # Note that there is a small window in which the directory will not be cleaned:
14755 # after its creation but before its name has been assigned to `$tmp'.
14756 $debug ||
14757 {
14758   tmp= ac_tmp=
14759   trap 'exit_status=$?
14760   : "${ac_tmp:=$tmp}"
14761   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14762 ' 0
14763   trap 'as_fn_exit 1' 1 2 13 15
14764 }
14765 # Create a (secure) tmp directory for tmp files.
14766
14767 {
14768   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14769   test -d "$tmp"
14770 }  ||
14771 {
14772   tmp=./conf$$-$RANDOM
14773   (umask 077 && mkdir "$tmp")
14774 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
14775 ac_tmp=$tmp
14776
14777 # Set up the scripts for CONFIG_FILES section.
14778 # No need to generate them if there are no CONFIG_FILES.
14779 # This happens for instance with `./config.status config.h'.
14780 if test -n "$CONFIG_FILES"; then
14781
14782
14783 ac_cr=`echo X | tr X '\015'`
14784 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14785 # But we know of no other shell where ac_cr would be empty at this
14786 # point, so we can use a bashism as a fallback.
14787 if test "x$ac_cr" = x; then
14788   eval ac_cr=\$\'\\r\'
14789 fi
14790 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14791 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14792   ac_cs_awk_cr='\\r'
14793 else
14794   ac_cs_awk_cr=$ac_cr
14795 fi
14796
14797 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14798 _ACEOF
14799
14800
14801 {
14802   echo "cat >conf$$subs.awk <<_ACEOF" &&
14803   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14804   echo "_ACEOF"
14805 } >conf$$subs.sh ||
14806   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14807 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14808 ac_delim='%!_!# '
14809 for ac_last_try in false false false false false :; do
14810   . ./conf$$subs.sh ||
14811     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14812
14813   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14814   if test $ac_delim_n = $ac_delim_num; then
14815     break
14816   elif $ac_last_try; then
14817     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14818   else
14819     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14820   fi
14821 done
14822 rm -f conf$$subs.sh
14823
14824 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14825 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
14826 _ACEOF
14827 sed -n '
14828 h
14829 s/^/S["/; s/!.*/"]=/
14830 p
14831 g
14832 s/^[^!]*!//
14833 :repl
14834 t repl
14835 s/'"$ac_delim"'$//
14836 t delim
14837 :nl
14838 h
14839 s/\(.\{148\}\)..*/\1/
14840 t more1
14841 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14842 p
14843 n
14844 b repl
14845 :more1
14846 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14847 p
14848 g
14849 s/.\{148\}//
14850 t nl
14851 :delim
14852 h
14853 s/\(.\{148\}\)..*/\1/
14854 t more2
14855 s/["\\]/\\&/g; s/^/"/; s/$/"/
14856 p
14857 b
14858 :more2
14859 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14860 p
14861 g
14862 s/.\{148\}//
14863 t delim
14864 ' <conf$$subs.awk | sed '
14865 /^[^""]/{
14866   N
14867   s/\n//
14868 }
14869 ' >>$CONFIG_STATUS || ac_write_fail=1
14870 rm -f conf$$subs.awk
14871 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14872 _ACAWK
14873 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
14874   for (key in S) S_is_set[key] = 1
14875   FS = "\a"
14876
14877 }
14878 {
14879   line = $ 0
14880   nfields = split(line, field, "@")
14881   substed = 0
14882   len = length(field[1])
14883   for (i = 2; i < nfields; i++) {
14884     key = field[i]
14885     keylen = length(key)
14886     if (S_is_set[key]) {
14887       value = S[key]
14888       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14889       len += length(value) + length(field[++i])
14890       substed = 1
14891     } else
14892       len += 1 + keylen
14893   }
14894
14895   print line
14896 }
14897
14898 _ACAWK
14899 _ACEOF
14900 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14901 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14902   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14903 else
14904   cat
14905 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
14906   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14907 _ACEOF
14908
14909 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14910 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14911 # trailing colons and then remove the whole line if VPATH becomes empty
14912 # (actually we leave an empty line to preserve line numbers).
14913 if test "x$srcdir" = x.; then
14914   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
14915 h
14916 s///
14917 s/^/:/
14918 s/[      ]*$/:/
14919 s/:\$(srcdir):/:/g
14920 s/:\${srcdir}:/:/g
14921 s/:@srcdir@:/:/g
14922 s/^:*//
14923 s/:*$//
14924 x
14925 s/\(=[   ]*\).*/\1/
14926 G
14927 s/\n//
14928 s/^[^=]*=[       ]*$//
14929 }'
14930 fi
14931
14932 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14933 fi # test -n "$CONFIG_FILES"
14934
14935 # Set up the scripts for CONFIG_HEADERS section.
14936 # No need to generate them if there are no CONFIG_HEADERS.
14937 # This happens for instance with `./config.status Makefile'.
14938 if test -n "$CONFIG_HEADERS"; then
14939 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
14940 BEGIN {
14941 _ACEOF
14942
14943 # Transform confdefs.h into an awk script `defines.awk', embedded as
14944 # here-document in config.status, that substitutes the proper values into
14945 # config.h.in to produce config.h.
14946
14947 # Create a delimiter string that does not exist in confdefs.h, to ease
14948 # handling of long lines.
14949 ac_delim='%!_!# '
14950 for ac_last_try in false false :; do
14951   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
14952   if test -z "$ac_tt"; then
14953     break
14954   elif $ac_last_try; then
14955     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14956   else
14957     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14958   fi
14959 done
14960
14961 # For the awk script, D is an array of macro values keyed by name,
14962 # likewise P contains macro parameters if any.  Preserve backslash
14963 # newline sequences.
14964
14965 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14966 sed -n '
14967 s/.\{148\}/&'"$ac_delim"'/g
14968 t rset
14969 :rset
14970 s/^[     ]*#[    ]*define[       ][      ]*/ /
14971 t def
14972 d
14973 :def
14974 s/\\$//
14975 t bsnl
14976 s/["\\]/\\&/g
14977 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
14978 D["\1"]=" \3"/p
14979 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
14980 d
14981 :bsnl
14982 s/["\\]/\\&/g
14983 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
14984 D["\1"]=" \3\\\\\\n"\\/p
14985 t cont
14986 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14987 t cont
14988 d
14989 :cont
14990 n
14991 s/.\{148\}/&'"$ac_delim"'/g
14992 t clear
14993 :clear
14994 s/\\$//
14995 t bsnlc
14996 s/["\\]/\\&/g; s/^/"/; s/$/"/p
14997 d
14998 :bsnlc
14999 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
15000 b cont
15001 ' <confdefs.h | sed '
15002 s/'"$ac_delim"'/"\\\
15003 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15004
15005 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15006   for (key in D) D_is_set[key] = 1
15007   FS = "\a"
15008 }
15009 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15010   line = \$ 0
15011   split(line, arg, " ")
15012   if (arg[1] == "#") {
15013     defundef = arg[2]
15014     mac1 = arg[3]
15015   } else {
15016     defundef = substr(arg[1], 2)
15017     mac1 = arg[2]
15018   }
15019   split(mac1, mac2, "(") #)
15020   macro = mac2[1]
15021   prefix = substr(line, 1, index(line, defundef) - 1)
15022   if (D_is_set[macro]) {
15023     # Preserve the white space surrounding the "#".
15024     print prefix "define", macro P[macro] D[macro]
15025     next
15026   } else {
15027     # Replace #undef with comments.  This is necessary, for example,
15028     # in the case of _POSIX_SOURCE, which is predefined and required
15029     # on some systems where configure will not decide to define it.
15030     if (defundef == "undef") {
15031       print "/*", prefix defundef, macro, "*/"
15032       next
15033     }
15034   }
15035 }
15036 { print }
15037 _ACAWK
15038 _ACEOF
15039 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15040   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
15041 fi # test -n "$CONFIG_HEADERS"
15042
15043
15044 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
15045 shift
15046 for ac_tag
15047 do
15048   case $ac_tag in
15049   :[FHLC]) ac_mode=$ac_tag; continue;;
15050   esac
15051   case $ac_mode$ac_tag in
15052   :[FHL]*:*);;
15053   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
15054   :[FH]-) ac_tag=-:-;;
15055   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15056   esac
15057   ac_save_IFS=$IFS
15058   IFS=:
15059   set x $ac_tag
15060   IFS=$ac_save_IFS
15061   shift
15062   ac_file=$1
15063   shift
15064
15065   case $ac_mode in
15066   :L) ac_source=$1;;
15067   :[FH])
15068     ac_file_inputs=
15069     for ac_f
15070     do
15071       case $ac_f in
15072       -) ac_f="$ac_tmp/stdin";;
15073       *) # Look for the file first in the build tree, then in the source tree
15074          # (if the path is not absolute).  The absolute path cannot be DOS-style,
15075          # because $ac_f cannot contain `:'.
15076          test -f "$ac_f" ||
15077            case $ac_f in
15078            [\\/$]*) false;;
15079            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15080            esac ||
15081            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15082       esac
15083       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15084       as_fn_append ac_file_inputs " '$ac_f'"
15085     done
15086
15087     # Let's still pretend it is `configure' which instantiates (i.e., don't
15088     # use $as_me), people would be surprised to read:
15089     #    /* config.h.  Generated by config.status.  */
15090     configure_input='Generated from '`
15091           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15092         `' by configure.'
15093     if test x"$ac_file" != x-; then
15094       configure_input="$ac_file.  $configure_input"
15095       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15096 $as_echo "$as_me: creating $ac_file" >&6;}
15097     fi
15098     # Neutralize special characters interpreted by sed in replacement strings.
15099     case $configure_input in #(
15100     *\&* | *\|* | *\\* )
15101        ac_sed_conf_input=`$as_echo "$configure_input" |
15102        sed 's/[\\\\&|]/\\\\&/g'`;; #(
15103     *) ac_sed_conf_input=$configure_input;;
15104     esac
15105
15106     case $ac_tag in
15107     *:-:* | *:-) cat >"$ac_tmp/stdin" \
15108       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
15109     esac
15110     ;;
15111   esac
15112
15113   ac_dir=`$as_dirname -- "$ac_file" ||
15114 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15115          X"$ac_file" : 'X\(//\)[^/]' \| \
15116          X"$ac_file" : 'X\(//\)$' \| \
15117          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15118 $as_echo X"$ac_file" |
15119     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15120             s//\1/
15121             q
15122           }
15123           /^X\(\/\/\)[^/].*/{
15124             s//\1/
15125             q
15126           }
15127           /^X\(\/\/\)$/{
15128             s//\1/
15129             q
15130           }
15131           /^X\(\/\).*/{
15132             s//\1/
15133             q
15134           }
15135           s/.*/./; q'`
15136   as_dir="$ac_dir"; as_fn_mkdir_p
15137   ac_builddir=.
15138
15139 case "$ac_dir" in
15140 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15141 *)
15142   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15143   # A ".." for each directory in $ac_dir_suffix.
15144   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15145   case $ac_top_builddir_sub in
15146   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15147   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15148   esac ;;
15149 esac
15150 ac_abs_top_builddir=$ac_pwd
15151 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15152 # for backward compatibility:
15153 ac_top_builddir=$ac_top_build_prefix
15154
15155 case $srcdir in
15156   .)  # We are building in place.
15157     ac_srcdir=.
15158     ac_top_srcdir=$ac_top_builddir_sub
15159     ac_abs_top_srcdir=$ac_pwd ;;
15160   [\\/]* | ?:[\\/]* )  # Absolute name.
15161     ac_srcdir=$srcdir$ac_dir_suffix;
15162     ac_top_srcdir=$srcdir
15163     ac_abs_top_srcdir=$srcdir ;;
15164   *) # Relative name.
15165     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15166     ac_top_srcdir=$ac_top_build_prefix$srcdir
15167     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15168 esac
15169 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15170
15171
15172   case $ac_mode in
15173   :F)
15174   #
15175   # CONFIG_FILE
15176   #
15177
15178   case $INSTALL in
15179   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15180   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15181   esac
15182   ac_MKDIR_P=$MKDIR_P
15183   case $MKDIR_P in
15184   [\\/$]* | ?:[\\/]* ) ;;
15185   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
15186   esac
15187 _ACEOF
15188
15189 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15190 # If the template does not know about datarootdir, expand it.
15191 # FIXME: This hack should be removed a few years after 2.60.
15192 ac_datarootdir_hack=; ac_datarootdir_seen=
15193 ac_sed_dataroot='
15194 /datarootdir/ {
15195   p
15196   q
15197 }
15198 /@datadir@/p
15199 /@docdir@/p
15200 /@infodir@/p
15201 /@localedir@/p
15202 /@mandir@/p'
15203 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15204 *datarootdir*) ac_datarootdir_seen=yes;;
15205 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15206   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15207 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15208 _ACEOF
15209 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15210   ac_datarootdir_hack='
15211   s&@datadir@&$datadir&g
15212   s&@docdir@&$docdir&g
15213   s&@infodir@&$infodir&g
15214   s&@localedir@&$localedir&g
15215   s&@mandir@&$mandir&g
15216   s&\\\${datarootdir}&$datarootdir&g' ;;
15217 esac
15218 _ACEOF
15219
15220 # Neutralize VPATH when `$srcdir' = `.'.
15221 # Shell code in configure.ac might set extrasub.
15222 # FIXME: do we really want to maintain this feature?
15223 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15224 ac_sed_extra="$ac_vpsub
15225 $extrasub
15226 _ACEOF
15227 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15228 :t
15229 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15230 s|@configure_input@|$ac_sed_conf_input|;t t
15231 s&@top_builddir@&$ac_top_builddir_sub&;t t
15232 s&@top_build_prefix@&$ac_top_build_prefix&;t t
15233 s&@srcdir@&$ac_srcdir&;t t
15234 s&@abs_srcdir@&$ac_abs_srcdir&;t t
15235 s&@top_srcdir@&$ac_top_srcdir&;t t
15236 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
15237 s&@builddir@&$ac_builddir&;t t
15238 s&@abs_builddir@&$ac_abs_builddir&;t t
15239 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
15240 s&@INSTALL@&$ac_INSTALL&;t t
15241 s&@MKDIR_P@&$ac_MKDIR_P&;t t
15242 $ac_datarootdir_hack
15243 "
15244 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
15245   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15246
15247 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15248   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
15249   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
15250       "$ac_tmp/out"`; test -z "$ac_out"; } &&
15251   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15252 which seems to be undefined.  Please make sure it is defined" >&5
15253 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15254 which seems to be undefined.  Please make sure it is defined" >&2;}
15255
15256   rm -f "$ac_tmp/stdin"
15257   case $ac_file in
15258   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15259   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15260   esac \
15261   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15262  ;;
15263   :H)
15264   #
15265   # CONFIG_HEADER
15266   #
15267   if test x"$ac_file" != x-; then
15268     {
15269       $as_echo "/* $configure_input  */" \
15270       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15271     } >"$ac_tmp/config.h" \
15272       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15273     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15274       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15275 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15276     else
15277       rm -f "$ac_file"
15278       mv "$ac_tmp/config.h" "$ac_file" \
15279         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15280     fi
15281   else
15282     $as_echo "/* $configure_input  */" \
15283       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15284       || as_fn_error $? "could not create -" "$LINENO" 5
15285   fi
15286 # Compute "$ac_file"'s index in $config_headers.
15287 _am_arg="$ac_file"
15288 _am_stamp_count=1
15289 for _am_header in $config_headers :; do
15290   case $_am_header in
15291     $_am_arg | $_am_arg:* )
15292       break ;;
15293     * )
15294       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
15295   esac
15296 done
15297 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15298 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15299          X"$_am_arg" : 'X\(//\)[^/]' \| \
15300          X"$_am_arg" : 'X\(//\)$' \| \
15301          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15302 $as_echo X"$_am_arg" |
15303     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15304             s//\1/
15305             q
15306           }
15307           /^X\(\/\/\)[^/].*/{
15308             s//\1/
15309             q
15310           }
15311           /^X\(\/\/\)$/{
15312             s//\1/
15313             q
15314           }
15315           /^X\(\/\).*/{
15316             s//\1/
15317             q
15318           }
15319           s/.*/./; q'`/stamp-h$_am_stamp_count
15320  ;;
15321
15322   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15323 $as_echo "$as_me: executing $ac_file commands" >&6;}
15324  ;;
15325   esac
15326
15327
15328   case $ac_file$ac_mode in
15329     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
15330   # Older Autoconf quotes --file arguments for eval, but not when files
15331   # are listed without --file.  Let's play safe and only enable the eval
15332   # if we detect the quoting.
15333   case $CONFIG_FILES in
15334   *\'*) eval set x "$CONFIG_FILES" ;;
15335   *)   set x $CONFIG_FILES ;;
15336   esac
15337   shift
15338   for mf
15339   do
15340     # Strip MF so we end up with the name of the file.
15341     mf=`echo "$mf" | sed -e 's/:.*$//'`
15342     # Check whether this is an Automake generated Makefile or not.
15343     # We used to match only the files named 'Makefile.in', but
15344     # some people rename them; so instead we look at the file content.
15345     # Grep'ing the first line is not enough: some people post-process
15346     # each Makefile.in and add a new line on top of each file to say so.
15347     # Grep'ing the whole file is not good either: AIX grep has a line
15348     # limit of 2048, but all sed's we know have understand at least 4000.
15349     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
15350       dirpart=`$as_dirname -- "$mf" ||
15351 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15352          X"$mf" : 'X\(//\)[^/]' \| \
15353          X"$mf" : 'X\(//\)$' \| \
15354          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15355 $as_echo X"$mf" |
15356     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15357             s//\1/
15358             q
15359           }
15360           /^X\(\/\/\)[^/].*/{
15361             s//\1/
15362             q
15363           }
15364           /^X\(\/\/\)$/{
15365             s//\1/
15366             q
15367           }
15368           /^X\(\/\).*/{
15369             s//\1/
15370             q
15371           }
15372           s/.*/./; q'`
15373     else
15374       continue
15375     fi
15376     # Extract the definition of DEPDIR, am__include, and am__quote
15377     # from the Makefile without running 'make'.
15378     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
15379     test -z "$DEPDIR" && continue
15380     am__include=`sed -n 's/^am__include = //p' < "$mf"`
15381     test -z "$am__include" && continue
15382     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15383     # Find all dependency output files, they are included files with
15384     # $(DEPDIR) in their names.  We invoke sed twice because it is the
15385     # simplest approach to changing $(DEPDIR) to its actual value in the
15386     # expansion.
15387     for file in `sed -n "
15388       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15389          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
15390       # Make sure the directory exists.
15391       test -f "$dirpart/$file" && continue
15392       fdir=`$as_dirname -- "$file" ||
15393 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15394          X"$file" : 'X\(//\)[^/]' \| \
15395          X"$file" : 'X\(//\)$' \| \
15396          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15397 $as_echo X"$file" |
15398     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15399             s//\1/
15400             q
15401           }
15402           /^X\(\/\/\)[^/].*/{
15403             s//\1/
15404             q
15405           }
15406           /^X\(\/\/\)$/{
15407             s//\1/
15408             q
15409           }
15410           /^X\(\/\).*/{
15411             s//\1/
15412             q
15413           }
15414           s/.*/./; q'`
15415       as_dir=$dirpart/$fdir; as_fn_mkdir_p
15416       # echo "creating $dirpart/$file"
15417       echo '# dummy' > "$dirpart/$file"
15418     done
15419   done
15420 }
15421  ;;
15422     "libtool":C)
15423
15424     # See if we are running on zsh, and set the options which allow our
15425     # commands through without removal of \ escapes.
15426     if test -n "${ZSH_VERSION+set}" ; then
15427       setopt NO_GLOB_SUBST
15428     fi
15429
15430     cfgfile="${ofile}T"
15431     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15432     $RM "$cfgfile"
15433
15434     cat <<_LT_EOF >> "$cfgfile"
15435 #! $SHELL
15436
15437 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15438 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15439 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15440 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15441 #
15442 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15443 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
15444 #                 Foundation, Inc.
15445 #   Written by Gordon Matzigkeit, 1996
15446 #
15447 #   This file is part of GNU Libtool.
15448 #
15449 # GNU Libtool is free software; you can redistribute it and/or
15450 # modify it under the terms of the GNU General Public License as
15451 # published by the Free Software Foundation; either version 2 of
15452 # the License, or (at your option) any later version.
15453 #
15454 # As a special exception to the GNU General Public License,
15455 # if you distribute this file as part of a program or library that
15456 # is built using GNU Libtool, you may include this file under the
15457 # same distribution terms that you use for the rest of that program.
15458 #
15459 # GNU Libtool is distributed in the hope that it will be useful,
15460 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15461 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15462 # GNU General Public License for more details.
15463 #
15464 # You should have received a copy of the GNU General Public License
15465 # along with GNU Libtool; see the file COPYING.  If not, a copy
15466 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15467 # obtained by writing to the Free Software Foundation, Inc.,
15468 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15469
15470
15471 # The names of the tagged configurations supported by this script.
15472 available_tags=""
15473
15474 # ### BEGIN LIBTOOL CONFIG
15475
15476 # Which release of libtool.m4 was used?
15477 macro_version=$macro_version
15478 macro_revision=$macro_revision
15479
15480 # Whether or not to build static libraries.
15481 build_old_libs=$enable_static
15482
15483 # Whether or not to build shared libraries.
15484 build_libtool_libs=$enable_shared
15485
15486 # What type of objects to build.
15487 pic_mode=$pic_mode
15488
15489 # Whether or not to optimize for fast installation.
15490 fast_install=$enable_fast_install
15491
15492 # Shell to use when invoking shell scripts.
15493 SHELL=$lt_SHELL
15494
15495 # An echo program that protects backslashes.
15496 ECHO=$lt_ECHO
15497
15498 # The PATH separator for the build system.
15499 PATH_SEPARATOR=$lt_PATH_SEPARATOR
15500
15501 # The host system.
15502 host_alias=$host_alias
15503 host=$host
15504 host_os=$host_os
15505
15506 # The build system.
15507 build_alias=$build_alias
15508 build=$build
15509 build_os=$build_os
15510
15511 # A sed program that does not truncate output.
15512 SED=$lt_SED
15513
15514 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15515 Xsed="\$SED -e 1s/^X//"
15516
15517 # A grep program that handles long lines.
15518 GREP=$lt_GREP
15519
15520 # An ERE matcher.
15521 EGREP=$lt_EGREP
15522
15523 # A literal string matcher.
15524 FGREP=$lt_FGREP
15525
15526 # A BSD- or MS-compatible name lister.
15527 NM=$lt_NM
15528
15529 # Whether we need soft or hard links.
15530 LN_S=$lt_LN_S
15531
15532 # What is the maximum length of a command?
15533 max_cmd_len=$max_cmd_len
15534
15535 # Object file suffix (normally "o").
15536 objext=$ac_objext
15537
15538 # Executable file suffix (normally "").
15539 exeext=$exeext
15540
15541 # whether the shell understands "unset".
15542 lt_unset=$lt_unset
15543
15544 # turn spaces into newlines.
15545 SP2NL=$lt_lt_SP2NL
15546
15547 # turn newlines into spaces.
15548 NL2SP=$lt_lt_NL2SP
15549
15550 # convert \$build file names to \$host format.
15551 to_host_file_cmd=$lt_cv_to_host_file_cmd
15552
15553 # convert \$build files to toolchain format.
15554 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
15555
15556 # An object symbol dumper.
15557 OBJDUMP=$lt_OBJDUMP
15558
15559 # Method to check whether dependent libraries are shared objects.
15560 deplibs_check_method=$lt_deplibs_check_method
15561
15562 # Command to use when deplibs_check_method = "file_magic".
15563 file_magic_cmd=$lt_file_magic_cmd
15564
15565 # How to find potential files when deplibs_check_method = "file_magic".
15566 file_magic_glob=$lt_file_magic_glob
15567
15568 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
15569 want_nocaseglob=$lt_want_nocaseglob
15570
15571 # DLL creation program.
15572 DLLTOOL=$lt_DLLTOOL
15573
15574 # Command to associate shared and link libraries.
15575 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
15576
15577 # The archiver.
15578 AR=$lt_AR
15579
15580 # Flags to create an archive.
15581 AR_FLAGS=$lt_AR_FLAGS
15582
15583 # How to feed a file listing to the archiver.
15584 archiver_list_spec=$lt_archiver_list_spec
15585
15586 # A symbol stripping program.
15587 STRIP=$lt_STRIP
15588
15589 # Commands used to install an old-style archive.
15590 RANLIB=$lt_RANLIB
15591 old_postinstall_cmds=$lt_old_postinstall_cmds
15592 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15593
15594 # Whether to use a lock for old archive extraction.
15595 lock_old_archive_extraction=$lock_old_archive_extraction
15596
15597 # A C compiler.
15598 LTCC=$lt_CC
15599
15600 # LTCC compiler flags.
15601 LTCFLAGS=$lt_CFLAGS
15602
15603 # Take the output of nm and produce a listing of raw symbols and C names.
15604 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15605
15606 # Transform the output of nm in a proper C declaration.
15607 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15608
15609 # Transform the output of nm in a C name address pair.
15610 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15611
15612 # Transform the output of nm in a C name address pair when lib prefix is needed.
15613 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15614
15615 # Specify filename containing input files for \$NM.
15616 nm_file_list_spec=$lt_nm_file_list_spec
15617
15618 # The root where to search for dependent libraries,and in which our libraries should be installed.
15619 lt_sysroot=$lt_sysroot
15620
15621 # The name of the directory that contains temporary libtool files.
15622 objdir=$objdir
15623
15624 # Used to examine libraries when file_magic_cmd begins with "file".
15625 MAGIC_CMD=$MAGIC_CMD
15626
15627 # Must we lock files when doing compilation?
15628 need_locks=$lt_need_locks
15629
15630 # Manifest tool.
15631 MANIFEST_TOOL=$lt_MANIFEST_TOOL
15632
15633 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15634 DSYMUTIL=$lt_DSYMUTIL
15635
15636 # Tool to change global to local symbols on Mac OS X.
15637 NMEDIT=$lt_NMEDIT
15638
15639 # Tool to manipulate fat objects and archives on Mac OS X.
15640 LIPO=$lt_LIPO
15641
15642 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15643 OTOOL=$lt_OTOOL
15644
15645 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15646 OTOOL64=$lt_OTOOL64
15647
15648 # Old archive suffix (normally "a").
15649 libext=$libext
15650
15651 # Shared library suffix (normally ".so").
15652 shrext_cmds=$lt_shrext_cmds
15653
15654 # The commands to extract the exported symbol list from a shared archive.
15655 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15656
15657 # Variables whose values should be saved in libtool wrapper scripts and
15658 # restored at link time.
15659 variables_saved_for_relink=$lt_variables_saved_for_relink
15660
15661 # Do we need the "lib" prefix for modules?
15662 need_lib_prefix=$need_lib_prefix
15663
15664 # Do we need a version for libraries?
15665 need_version=$need_version
15666
15667 # Library versioning type.
15668 version_type=$version_type
15669
15670 # Shared library runtime path variable.
15671 runpath_var=$runpath_var
15672
15673 # Shared library path variable.
15674 shlibpath_var=$shlibpath_var
15675
15676 # Is shlibpath searched before the hard-coded library search path?
15677 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15678
15679 # Format of library name prefix.
15680 libname_spec=$lt_libname_spec
15681
15682 # List of archive names.  First name is the real one, the rest are links.
15683 # The last name is the one that the linker finds with -lNAME
15684 library_names_spec=$lt_library_names_spec
15685
15686 # The coded name of the library, if different from the real name.
15687 soname_spec=$lt_soname_spec
15688
15689 # Permission mode override for installation of shared libraries.
15690 install_override_mode=$lt_install_override_mode
15691
15692 # Command to use after installation of a shared archive.
15693 postinstall_cmds=$lt_postinstall_cmds
15694
15695 # Command to use after uninstallation of a shared archive.
15696 postuninstall_cmds=$lt_postuninstall_cmds
15697
15698 # Commands used to finish a libtool library installation in a directory.
15699 finish_cmds=$lt_finish_cmds
15700
15701 # As "finish_cmds", except a single script fragment to be evaled but
15702 # not shown.
15703 finish_eval=$lt_finish_eval
15704
15705 # Whether we should hardcode library paths into libraries.
15706 hardcode_into_libs=$hardcode_into_libs
15707
15708 # Compile-time system search path for libraries.
15709 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15710
15711 # Run-time system search path for libraries.
15712 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15713
15714 # Whether dlopen is supported.
15715 dlopen_support=$enable_dlopen
15716
15717 # Whether dlopen of programs is supported.
15718 dlopen_self=$enable_dlopen_self
15719
15720 # Whether dlopen of statically linked programs is supported.
15721 dlopen_self_static=$enable_dlopen_self_static
15722
15723 # Commands to strip libraries.
15724 old_striplib=$lt_old_striplib
15725 striplib=$lt_striplib
15726
15727
15728 # The linker used to build libraries.
15729 LD=$lt_LD
15730
15731 # How to create reloadable object files.
15732 reload_flag=$lt_reload_flag
15733 reload_cmds=$lt_reload_cmds
15734
15735 # Commands used to build an old-style archive.
15736 old_archive_cmds=$lt_old_archive_cmds
15737
15738 # A language specific compiler.
15739 CC=$lt_compiler
15740
15741 # Is the compiler the GNU compiler?
15742 with_gcc=$GCC
15743
15744 # Compiler flag to turn off builtin functions.
15745 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15746
15747 # Additional compiler flags for building library objects.
15748 pic_flag=$lt_lt_prog_compiler_pic
15749
15750 # How to pass a linker flag through the compiler.
15751 wl=$lt_lt_prog_compiler_wl
15752
15753 # Compiler flag to prevent dynamic linking.
15754 link_static_flag=$lt_lt_prog_compiler_static
15755
15756 # Does compiler simultaneously support -c and -o options?
15757 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15758
15759 # Whether or not to add -lc for building shared libraries.
15760 build_libtool_need_lc=$archive_cmds_need_lc
15761
15762 # Whether or not to disallow shared libs when runtime libs are static.
15763 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15764
15765 # Compiler flag to allow reflexive dlopens.
15766 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15767
15768 # Compiler flag to generate shared objects directly from archives.
15769 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15770
15771 # Whether the compiler copes with passing no objects directly.
15772 compiler_needs_object=$lt_compiler_needs_object
15773
15774 # Create an old-style archive from a shared archive.
15775 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15776
15777 # Create a temporary old-style archive to link instead of a shared archive.
15778 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15779
15780 # Commands used to build a shared archive.
15781 archive_cmds=$lt_archive_cmds
15782 archive_expsym_cmds=$lt_archive_expsym_cmds
15783
15784 # Commands used to build a loadable module if different from building
15785 # a shared archive.
15786 module_cmds=$lt_module_cmds
15787 module_expsym_cmds=$lt_module_expsym_cmds
15788
15789 # Whether we are building with GNU ld or not.
15790 with_gnu_ld=$lt_with_gnu_ld
15791
15792 # Flag that allows shared libraries with undefined symbols to be built.
15793 allow_undefined_flag=$lt_allow_undefined_flag
15794
15795 # Flag that enforces no undefined symbols.
15796 no_undefined_flag=$lt_no_undefined_flag
15797
15798 # Flag to hardcode \$libdir into a binary during linking.
15799 # This must work even if \$libdir does not exist
15800 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15801
15802 # Whether we need a single "-rpath" flag with a separated argument.
15803 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15804
15805 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15806 # DIR into the resulting binary.
15807 hardcode_direct=$hardcode_direct
15808
15809 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15810 # DIR into the resulting binary and the resulting library dependency is
15811 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15812 # library is relocated.
15813 hardcode_direct_absolute=$hardcode_direct_absolute
15814
15815 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15816 # into the resulting binary.
15817 hardcode_minus_L=$hardcode_minus_L
15818
15819 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15820 # into the resulting binary.
15821 hardcode_shlibpath_var=$hardcode_shlibpath_var
15822
15823 # Set to "yes" if building a shared library automatically hardcodes DIR
15824 # into the library and all subsequent libraries and executables linked
15825 # against it.
15826 hardcode_automatic=$hardcode_automatic
15827
15828 # Set to yes if linker adds runtime paths of dependent libraries
15829 # to runtime path list.
15830 inherit_rpath=$inherit_rpath
15831
15832 # Whether libtool must link a program against all its dependency libraries.
15833 link_all_deplibs=$link_all_deplibs
15834
15835 # Set to "yes" if exported symbols are required.
15836 always_export_symbols=$always_export_symbols
15837
15838 # The commands to list exported symbols.
15839 export_symbols_cmds=$lt_export_symbols_cmds
15840
15841 # Symbols that should not be listed in the preloaded symbols.
15842 exclude_expsyms=$lt_exclude_expsyms
15843
15844 # Symbols that must always be exported.
15845 include_expsyms=$lt_include_expsyms
15846
15847 # Commands necessary for linking programs (against libraries) with templates.
15848 prelink_cmds=$lt_prelink_cmds
15849
15850 # Commands necessary for finishing linking programs.
15851 postlink_cmds=$lt_postlink_cmds
15852
15853 # Specify filename containing input files.
15854 file_list_spec=$lt_file_list_spec
15855
15856 # How to hardcode a shared library path into an executable.
15857 hardcode_action=$hardcode_action
15858
15859 # ### END LIBTOOL CONFIG
15860
15861 _LT_EOF
15862
15863   case $host_os in
15864   aix3*)
15865     cat <<\_LT_EOF >> "$cfgfile"
15866 # AIX sometimes has problems with the GCC collect2 program.  For some
15867 # reason, if we set the COLLECT_NAMES environment variable, the problems
15868 # vanish in a puff of smoke.
15869 if test "X${COLLECT_NAMES+set}" != Xset; then
15870   COLLECT_NAMES=
15871   export COLLECT_NAMES
15872 fi
15873 _LT_EOF
15874     ;;
15875   esac
15876
15877
15878 ltmain="$ac_aux_dir/ltmain.sh"
15879
15880
15881   # We use sed instead of cat because bash on DJGPP gets confused if
15882   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
15883   # text mode, it properly converts lines to CR/LF.  This bash problem
15884   # is reportedly fixed, but why not run on old versions too?
15885   sed '$q' "$ltmain" >> "$cfgfile" \
15886      || (rm -f "$cfgfile"; exit 1)
15887
15888   if test x"$xsi_shell" = xyes; then
15889   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
15890 func_dirname ()\
15891 {\
15892 \    case ${1} in\
15893 \      */*) func_dirname_result="${1%/*}${2}" ;;\
15894 \      *  ) func_dirname_result="${3}" ;;\
15895 \    esac\
15896 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
15897   && mv -f "$cfgfile.tmp" "$cfgfile" \
15898     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15899 test 0 -eq $? || _lt_function_replace_fail=:
15900
15901
15902   sed -e '/^func_basename ()$/,/^} # func_basename /c\
15903 func_basename ()\
15904 {\
15905 \    func_basename_result="${1##*/}"\
15906 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
15907   && mv -f "$cfgfile.tmp" "$cfgfile" \
15908     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15909 test 0 -eq $? || _lt_function_replace_fail=:
15910
15911
15912   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
15913 func_dirname_and_basename ()\
15914 {\
15915 \    case ${1} in\
15916 \      */*) func_dirname_result="${1%/*}${2}" ;;\
15917 \      *  ) func_dirname_result="${3}" ;;\
15918 \    esac\
15919 \    func_basename_result="${1##*/}"\
15920 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
15921   && mv -f "$cfgfile.tmp" "$cfgfile" \
15922     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15923 test 0 -eq $? || _lt_function_replace_fail=:
15924
15925
15926   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
15927 func_stripname ()\
15928 {\
15929 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
15930 \    # positional parameters, so assign one to ordinary parameter first.\
15931 \    func_stripname_result=${3}\
15932 \    func_stripname_result=${func_stripname_result#"${1}"}\
15933 \    func_stripname_result=${func_stripname_result%"${2}"}\
15934 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
15935   && mv -f "$cfgfile.tmp" "$cfgfile" \
15936     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15937 test 0 -eq $? || _lt_function_replace_fail=:
15938
15939
15940   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
15941 func_split_long_opt ()\
15942 {\
15943 \    func_split_long_opt_name=${1%%=*}\
15944 \    func_split_long_opt_arg=${1#*=}\
15945 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
15946   && mv -f "$cfgfile.tmp" "$cfgfile" \
15947     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15948 test 0 -eq $? || _lt_function_replace_fail=:
15949
15950
15951   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
15952 func_split_short_opt ()\
15953 {\
15954 \    func_split_short_opt_arg=${1#??}\
15955 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
15956 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
15957   && mv -f "$cfgfile.tmp" "$cfgfile" \
15958     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15959 test 0 -eq $? || _lt_function_replace_fail=:
15960
15961
15962   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
15963 func_lo2o ()\
15964 {\
15965 \    case ${1} in\
15966 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
15967 \      *)    func_lo2o_result=${1} ;;\
15968 \    esac\
15969 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
15970   && mv -f "$cfgfile.tmp" "$cfgfile" \
15971     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15972 test 0 -eq $? || _lt_function_replace_fail=:
15973
15974
15975   sed -e '/^func_xform ()$/,/^} # func_xform /c\
15976 func_xform ()\
15977 {\
15978     func_xform_result=${1%.*}.lo\
15979 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
15980   && mv -f "$cfgfile.tmp" "$cfgfile" \
15981     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15982 test 0 -eq $? || _lt_function_replace_fail=:
15983
15984
15985   sed -e '/^func_arith ()$/,/^} # func_arith /c\
15986 func_arith ()\
15987 {\
15988     func_arith_result=$(( $* ))\
15989 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
15990   && mv -f "$cfgfile.tmp" "$cfgfile" \
15991     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15992 test 0 -eq $? || _lt_function_replace_fail=:
15993
15994
15995   sed -e '/^func_len ()$/,/^} # func_len /c\
15996 func_len ()\
15997 {\
15998     func_len_result=${#1}\
15999 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
16000   && mv -f "$cfgfile.tmp" "$cfgfile" \
16001     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16002 test 0 -eq $? || _lt_function_replace_fail=:
16003
16004 fi
16005
16006 if test x"$lt_shell_append" = xyes; then
16007   sed -e '/^func_append ()$/,/^} # func_append /c\
16008 func_append ()\
16009 {\
16010     eval "${1}+=\\${2}"\
16011 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
16012   && mv -f "$cfgfile.tmp" "$cfgfile" \
16013     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16014 test 0 -eq $? || _lt_function_replace_fail=:
16015
16016
16017   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
16018 func_append_quoted ()\
16019 {\
16020 \    func_quote_for_eval "${2}"\
16021 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
16022 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
16023   && mv -f "$cfgfile.tmp" "$cfgfile" \
16024     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16025 test 0 -eq $? || _lt_function_replace_fail=:
16026
16027
16028   # Save a `func_append' function call where possible by direct use of '+='
16029   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
16030     && mv -f "$cfgfile.tmp" "$cfgfile" \
16031       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16032   test 0 -eq $? || _lt_function_replace_fail=:
16033 else
16034   # Save a `func_append' function call even when '+=' is not available
16035   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
16036     && mv -f "$cfgfile.tmp" "$cfgfile" \
16037       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16038   test 0 -eq $? || _lt_function_replace_fail=:
16039 fi
16040
16041 if test x"$_lt_function_replace_fail" = x":"; then
16042   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
16043 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
16044 fi
16045
16046
16047    mv -f "$cfgfile" "$ofile" ||
16048     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16049   chmod +x "$ofile"
16050
16051  ;;
16052
16053   esac
16054 done # for ac_tag
16055
16056
16057 as_fn_exit 0
16058 _ACEOF
16059 ac_clean_files=$ac_clean_files_save
16060
16061 test $ac_write_fail = 0 ||
16062   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16063
16064
16065 # configure is writing to config.log, and then calls config.status.
16066 # config.status does its own redirection, appending to config.log.
16067 # Unfortunately, on DOS this fails, as config.log is still kept open
16068 # by configure, so config.status won't be able to write to it; its
16069 # output is simply discarded.  So we exec the FD to /dev/null,
16070 # effectively closing config.log, so it can be properly (re)opened and
16071 # appended to by config.status.  When coming back to configure, we
16072 # need to make the FD available again.
16073 if test "$no_create" != yes; then
16074   ac_cs_success=:
16075   ac_config_status_args=
16076   test "$silent" = yes &&
16077     ac_config_status_args="$ac_config_status_args --quiet"
16078   exec 5>/dev/null
16079   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
16080   exec 5>>config.log
16081   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16082   # would make configure fail if this is the last instruction.
16083   $ac_cs_success || as_fn_exit 1
16084 fi
16085 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16086   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16087 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16088 fi
16089
16090
16091 echo ""
16092 echo "Enabled debug features : "$enable_debug
16093 echo "Building tests         : "$enable_tests
16094 echo "Enabled Gumd           : "$enable_gum $have_libgum
16095 echo "Enabled NFC            : "$have_libtlm_nfc
16096 echo "Enabled examples       : "$enable_examples
16097 echo ""