Add common config for singleseat
[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 1.0.3.
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='1.0.3'
591 PACKAGE_STRING='tlm 1.0.3'
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 1.0.3 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 1.0.3:";;
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 1.0.3
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 1.0.3, 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='1.0.3'
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 #libtool
3014
3015 case `pwd` in
3016   *\ * | *\     *)
3017     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3018 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3019 esac
3020
3021
3022
3023 macro_version='2.4.2'
3024 macro_revision='1.3337'
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038 ltmain="$ac_aux_dir/ltmain.sh"
3039
3040 # Make sure we can run config.sub.
3041 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3042   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3043
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3045 $as_echo_n "checking build system type... " >&6; }
3046 if ${ac_cv_build+:} false; then :
3047   $as_echo_n "(cached) " >&6
3048 else
3049   ac_build_alias=$build_alias
3050 test "x$ac_build_alias" = x &&
3051   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3052 test "x$ac_build_alias" = x &&
3053   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3054 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3055   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3056
3057 fi
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3059 $as_echo "$ac_cv_build" >&6; }
3060 case $ac_cv_build in
3061 *-*-*) ;;
3062 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3063 esac
3064 build=$ac_cv_build
3065 ac_save_IFS=$IFS; IFS='-'
3066 set x $ac_cv_build
3067 shift
3068 build_cpu=$1
3069 build_vendor=$2
3070 shift; shift
3071 # Remember, the first character of IFS is used to create $*,
3072 # except with old shells:
3073 build_os=$*
3074 IFS=$ac_save_IFS
3075 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3076
3077
3078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3079 $as_echo_n "checking host system type... " >&6; }
3080 if ${ac_cv_host+:} false; then :
3081   $as_echo_n "(cached) " >&6
3082 else
3083   if test "x$host_alias" = x; then
3084   ac_cv_host=$ac_cv_build
3085 else
3086   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3087     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3088 fi
3089
3090 fi
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3092 $as_echo "$ac_cv_host" >&6; }
3093 case $ac_cv_host in
3094 *-*-*) ;;
3095 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3096 esac
3097 host=$ac_cv_host
3098 ac_save_IFS=$IFS; IFS='-'
3099 set x $ac_cv_host
3100 shift
3101 host_cpu=$1
3102 host_vendor=$2
3103 shift; shift
3104 # Remember, the first character of IFS is used to create $*,
3105 # except with old shells:
3106 host_os=$*
3107 IFS=$ac_save_IFS
3108 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3109
3110
3111 # Backslashify metacharacters that are still active within
3112 # double-quoted strings.
3113 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3114
3115 # Same as above, but do not quote variable references.
3116 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3117
3118 # Sed substitution to delay expansion of an escaped shell variable in a
3119 # double_quote_subst'ed string.
3120 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3121
3122 # Sed substitution to delay expansion of an escaped single quote.
3123 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3124
3125 # Sed substitution to avoid accidental globbing in evaled expressions
3126 no_glob_subst='s/\*/\\\*/g'
3127
3128 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3129 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3130 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3131
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3133 $as_echo_n "checking how to print strings... " >&6; }
3134 # Test print first, because it will be a builtin if present.
3135 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3136    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3137   ECHO='print -r --'
3138 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3139   ECHO='printf %s\n'
3140 else
3141   # Use this function as a fallback that always works.
3142   func_fallback_echo ()
3143   {
3144     eval 'cat <<_LTECHO_EOF
3145 $1
3146 _LTECHO_EOF'
3147   }
3148   ECHO='func_fallback_echo'
3149 fi
3150
3151 # func_echo_all arg...
3152 # Invoke $ECHO with all args, space-separated.
3153 func_echo_all ()
3154 {
3155     $ECHO ""
3156 }
3157
3158 case "$ECHO" in
3159   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3160 $as_echo "printf" >&6; } ;;
3161   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3162 $as_echo "print -r" >&6; } ;;
3163   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3164 $as_echo "cat" >&6; } ;;
3165 esac
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180 DEPDIR="${am__leading_dot}deps"
3181
3182 ac_config_commands="$ac_config_commands depfiles"
3183
3184
3185 am_make=${MAKE-make}
3186 cat > confinc << 'END'
3187 am__doit:
3188         @echo this is the am__doit target
3189 .PHONY: am__doit
3190 END
3191 # If we don't find an include directive, just comment out the code.
3192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3193 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3194 am__include="#"
3195 am__quote=
3196 _am_result=none
3197 # First try GNU make style include.
3198 echo "include confinc" > confmf
3199 # Ignore all kinds of additional output from 'make'.
3200 case `$am_make -s -f confmf 2> /dev/null` in #(
3201 *the\ am__doit\ target*)
3202   am__include=include
3203   am__quote=
3204   _am_result=GNU
3205   ;;
3206 esac
3207 # Now try BSD make style include.
3208 if test "$am__include" = "#"; then
3209    echo '.include "confinc"' > confmf
3210    case `$am_make -s -f confmf 2> /dev/null` in #(
3211    *the\ am__doit\ target*)
3212      am__include=.include
3213      am__quote="\""
3214      _am_result=BSD
3215      ;;
3216    esac
3217 fi
3218
3219
3220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3221 $as_echo "$_am_result" >&6; }
3222 rm -f confinc confmf
3223
3224 # Check whether --enable-dependency-tracking was given.
3225 if test "${enable_dependency_tracking+set}" = set; then :
3226   enableval=$enable_dependency_tracking;
3227 fi
3228
3229 if test "x$enable_dependency_tracking" != xno; then
3230   am_depcomp="$ac_aux_dir/depcomp"
3231   AMDEPBACKSLASH='\'
3232   am__nodep='_no'
3233 fi
3234  if test "x$enable_dependency_tracking" != xno; then
3235   AMDEP_TRUE=
3236   AMDEP_FALSE='#'
3237 else
3238   AMDEP_TRUE='#'
3239   AMDEP_FALSE=
3240 fi
3241
3242
3243 ac_ext=c
3244 ac_cpp='$CPP $CPPFLAGS'
3245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3248 if test -n "$ac_tool_prefix"; then
3249   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3250 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3252 $as_echo_n "checking for $ac_word... " >&6; }
3253 if ${ac_cv_prog_CC+:} false; then :
3254   $as_echo_n "(cached) " >&6
3255 else
3256   if test -n "$CC"; then
3257   ac_cv_prog_CC="$CC" # Let the user override the test.
3258 else
3259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3260 for as_dir in $PATH
3261 do
3262   IFS=$as_save_IFS
3263   test -z "$as_dir" && as_dir=.
3264     for ac_exec_ext in '' $ac_executable_extensions; do
3265   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3266     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3267     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3268     break 2
3269   fi
3270 done
3271   done
3272 IFS=$as_save_IFS
3273
3274 fi
3275 fi
3276 CC=$ac_cv_prog_CC
3277 if test -n "$CC"; then
3278   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3279 $as_echo "$CC" >&6; }
3280 else
3281   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3282 $as_echo "no" >&6; }
3283 fi
3284
3285
3286 fi
3287 if test -z "$ac_cv_prog_CC"; then
3288   ac_ct_CC=$CC
3289   # Extract the first word of "gcc", so it can be a program name with args.
3290 set dummy gcc; ac_word=$2
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3292 $as_echo_n "checking for $ac_word... " >&6; }
3293 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3294   $as_echo_n "(cached) " >&6
3295 else
3296   if test -n "$ac_ct_CC"; then
3297   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3298 else
3299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3300 for as_dir in $PATH
3301 do
3302   IFS=$as_save_IFS
3303   test -z "$as_dir" && as_dir=.
3304     for ac_exec_ext in '' $ac_executable_extensions; do
3305   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3306     ac_cv_prog_ac_ct_CC="gcc"
3307     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3308     break 2
3309   fi
3310 done
3311   done
3312 IFS=$as_save_IFS
3313
3314 fi
3315 fi
3316 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3317 if test -n "$ac_ct_CC"; then
3318   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3319 $as_echo "$ac_ct_CC" >&6; }
3320 else
3321   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3322 $as_echo "no" >&6; }
3323 fi
3324
3325   if test "x$ac_ct_CC" = x; then
3326     CC=""
3327   else
3328     case $cross_compiling:$ac_tool_warned in
3329 yes:)
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3331 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3332 ac_tool_warned=yes ;;
3333 esac
3334     CC=$ac_ct_CC
3335   fi
3336 else
3337   CC="$ac_cv_prog_CC"
3338 fi
3339
3340 if test -z "$CC"; then
3341           if test -n "$ac_tool_prefix"; then
3342     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3343 set dummy ${ac_tool_prefix}cc; ac_word=$2
3344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3345 $as_echo_n "checking for $ac_word... " >&6; }
3346 if ${ac_cv_prog_CC+:} false; then :
3347   $as_echo_n "(cached) " >&6
3348 else
3349   if test -n "$CC"; then
3350   ac_cv_prog_CC="$CC" # Let the user override the test.
3351 else
3352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3353 for as_dir in $PATH
3354 do
3355   IFS=$as_save_IFS
3356   test -z "$as_dir" && as_dir=.
3357     for ac_exec_ext in '' $ac_executable_extensions; do
3358   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3359     ac_cv_prog_CC="${ac_tool_prefix}cc"
3360     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3361     break 2
3362   fi
3363 done
3364   done
3365 IFS=$as_save_IFS
3366
3367 fi
3368 fi
3369 CC=$ac_cv_prog_CC
3370 if test -n "$CC"; then
3371   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3372 $as_echo "$CC" >&6; }
3373 else
3374   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3375 $as_echo "no" >&6; }
3376 fi
3377
3378
3379   fi
3380 fi
3381 if test -z "$CC"; then
3382   # Extract the first word of "cc", so it can be a program name with args.
3383 set dummy cc; ac_word=$2
3384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3385 $as_echo_n "checking for $ac_word... " >&6; }
3386 if ${ac_cv_prog_CC+:} false; then :
3387   $as_echo_n "(cached) " >&6
3388 else
3389   if test -n "$CC"; then
3390   ac_cv_prog_CC="$CC" # Let the user override the test.
3391 else
3392   ac_prog_rejected=no
3393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3394 for as_dir in $PATH
3395 do
3396   IFS=$as_save_IFS
3397   test -z "$as_dir" && as_dir=.
3398     for ac_exec_ext in '' $ac_executable_extensions; do
3399   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3400     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3401        ac_prog_rejected=yes
3402        continue
3403      fi
3404     ac_cv_prog_CC="cc"
3405     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3406     break 2
3407   fi
3408 done
3409   done
3410 IFS=$as_save_IFS
3411
3412 if test $ac_prog_rejected = yes; then
3413   # We found a bogon in the path, so make sure we never use it.
3414   set dummy $ac_cv_prog_CC
3415   shift
3416   if test $# != 0; then
3417     # We chose a different compiler from the bogus one.
3418     # However, it has the same basename, so the bogon will be chosen
3419     # first if we set CC to just the basename; use the full file name.
3420     shift
3421     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3422   fi
3423 fi
3424 fi
3425 fi
3426 CC=$ac_cv_prog_CC
3427 if test -n "$CC"; then
3428   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3429 $as_echo "$CC" >&6; }
3430 else
3431   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3432 $as_echo "no" >&6; }
3433 fi
3434
3435
3436 fi
3437 if test -z "$CC"; then
3438   if test -n "$ac_tool_prefix"; then
3439   for ac_prog in cl.exe
3440   do
3441     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3442 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3444 $as_echo_n "checking for $ac_word... " >&6; }
3445 if ${ac_cv_prog_CC+:} false; then :
3446   $as_echo_n "(cached) " >&6
3447 else
3448   if test -n "$CC"; then
3449   ac_cv_prog_CC="$CC" # Let the user override the test.
3450 else
3451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3452 for as_dir in $PATH
3453 do
3454   IFS=$as_save_IFS
3455   test -z "$as_dir" && as_dir=.
3456     for ac_exec_ext in '' $ac_executable_extensions; do
3457   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3458     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3459     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3460     break 2
3461   fi
3462 done
3463   done
3464 IFS=$as_save_IFS
3465
3466 fi
3467 fi
3468 CC=$ac_cv_prog_CC
3469 if test -n "$CC"; then
3470   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3471 $as_echo "$CC" >&6; }
3472 else
3473   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3474 $as_echo "no" >&6; }
3475 fi
3476
3477
3478     test -n "$CC" && break
3479   done
3480 fi
3481 if test -z "$CC"; then
3482   ac_ct_CC=$CC
3483   for ac_prog in cl.exe
3484 do
3485   # Extract the first word of "$ac_prog", so it can be a program name with args.
3486 set dummy $ac_prog; ac_word=$2
3487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3488 $as_echo_n "checking for $ac_word... " >&6; }
3489 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3490   $as_echo_n "(cached) " >&6
3491 else
3492   if test -n "$ac_ct_CC"; then
3493   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3494 else
3495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3496 for as_dir in $PATH
3497 do
3498   IFS=$as_save_IFS
3499   test -z "$as_dir" && as_dir=.
3500     for ac_exec_ext in '' $ac_executable_extensions; do
3501   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3502     ac_cv_prog_ac_ct_CC="$ac_prog"
3503     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3504     break 2
3505   fi
3506 done
3507   done
3508 IFS=$as_save_IFS
3509
3510 fi
3511 fi
3512 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3513 if test -n "$ac_ct_CC"; then
3514   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3515 $as_echo "$ac_ct_CC" >&6; }
3516 else
3517   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3518 $as_echo "no" >&6; }
3519 fi
3520
3521
3522   test -n "$ac_ct_CC" && break
3523 done
3524
3525   if test "x$ac_ct_CC" = x; then
3526     CC=""
3527   else
3528     case $cross_compiling:$ac_tool_warned in
3529 yes:)
3530 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3531 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3532 ac_tool_warned=yes ;;
3533 esac
3534     CC=$ac_ct_CC
3535   fi
3536 fi
3537
3538 fi
3539
3540
3541 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3542 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3543 as_fn_error $? "no acceptable C compiler found in \$PATH
3544 See \`config.log' for more details" "$LINENO" 5; }
3545
3546 # Provide some information about the compiler.
3547 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3548 set X $ac_compile
3549 ac_compiler=$2
3550 for ac_option in --version -v -V -qversion; do
3551   { { ac_try="$ac_compiler $ac_option >&5"
3552 case "(($ac_try" in
3553   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3554   *) ac_try_echo=$ac_try;;
3555 esac
3556 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3557 $as_echo "$ac_try_echo"; } >&5
3558   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3559   ac_status=$?
3560   if test -s conftest.err; then
3561     sed '10a\
3562 ... rest of stderr output deleted ...
3563          10q' conftest.err >conftest.er1
3564     cat conftest.er1 >&5
3565   fi
3566   rm -f conftest.er1 conftest.err
3567   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3568   test $ac_status = 0; }
3569 done
3570
3571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3572 /* end confdefs.h.  */
3573
3574 int
3575 main ()
3576 {
3577
3578   ;
3579   return 0;
3580 }
3581 _ACEOF
3582 ac_clean_files_save=$ac_clean_files
3583 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3584 # Try to create an executable without -o first, disregard a.out.
3585 # It will help us diagnose broken compilers, and finding out an intuition
3586 # of exeext.
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3588 $as_echo_n "checking whether the C compiler works... " >&6; }
3589 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3590
3591 # The possible output files:
3592 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3593
3594 ac_rmfiles=
3595 for ac_file in $ac_files
3596 do
3597   case $ac_file in
3598     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3599     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3600   esac
3601 done
3602 rm -f $ac_rmfiles
3603
3604 if { { ac_try="$ac_link_default"
3605 case "(($ac_try" in
3606   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3607   *) ac_try_echo=$ac_try;;
3608 esac
3609 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3610 $as_echo "$ac_try_echo"; } >&5
3611   (eval "$ac_link_default") 2>&5
3612   ac_status=$?
3613   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3614   test $ac_status = 0; }; then :
3615   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3616 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3617 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3618 # so that the user can short-circuit this test for compilers unknown to
3619 # Autoconf.
3620 for ac_file in $ac_files ''
3621 do
3622   test -f "$ac_file" || continue
3623   case $ac_file in
3624     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3625         ;;
3626     [ab].out )
3627         # We found the default executable, but exeext='' is most
3628         # certainly right.
3629         break;;
3630     *.* )
3631         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3632         then :; else
3633            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3634         fi
3635         # We set ac_cv_exeext here because the later test for it is not
3636         # safe: cross compilers may not add the suffix if given an `-o'
3637         # argument, so we may need to know it at that point already.
3638         # Even if this section looks crufty: it has the advantage of
3639         # actually working.
3640         break;;
3641     * )
3642         break;;
3643   esac
3644 done
3645 test "$ac_cv_exeext" = no && ac_cv_exeext=
3646
3647 else
3648   ac_file=''
3649 fi
3650 if test -z "$ac_file"; then :
3651   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3652 $as_echo "no" >&6; }
3653 $as_echo "$as_me: failed program was:" >&5
3654 sed 's/^/| /' conftest.$ac_ext >&5
3655
3656 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3657 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3658 as_fn_error 77 "C compiler cannot create executables
3659 See \`config.log' for more details" "$LINENO" 5; }
3660 else
3661   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3662 $as_echo "yes" >&6; }
3663 fi
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3665 $as_echo_n "checking for C compiler default output file name... " >&6; }
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3667 $as_echo "$ac_file" >&6; }
3668 ac_exeext=$ac_cv_exeext
3669
3670 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3671 ac_clean_files=$ac_clean_files_save
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3673 $as_echo_n "checking for suffix of executables... " >&6; }
3674 if { { ac_try="$ac_link"
3675 case "(($ac_try" in
3676   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3677   *) ac_try_echo=$ac_try;;
3678 esac
3679 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3680 $as_echo "$ac_try_echo"; } >&5
3681   (eval "$ac_link") 2>&5
3682   ac_status=$?
3683   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3684   test $ac_status = 0; }; then :
3685   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3686 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3687 # work properly (i.e., refer to `conftest.exe'), while it won't with
3688 # `rm'.
3689 for ac_file in conftest.exe conftest conftest.*; do
3690   test -f "$ac_file" || continue
3691   case $ac_file in
3692     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3693     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3694           break;;
3695     * ) break;;
3696   esac
3697 done
3698 else
3699   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3700 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3701 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3702 See \`config.log' for more details" "$LINENO" 5; }
3703 fi
3704 rm -f conftest conftest$ac_cv_exeext
3705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3706 $as_echo "$ac_cv_exeext" >&6; }
3707
3708 rm -f conftest.$ac_ext
3709 EXEEXT=$ac_cv_exeext
3710 ac_exeext=$EXEEXT
3711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3712 /* end confdefs.h.  */
3713 #include <stdio.h>
3714 int
3715 main ()
3716 {
3717 FILE *f = fopen ("conftest.out", "w");
3718  return ferror (f) || fclose (f) != 0;
3719
3720   ;
3721   return 0;
3722 }
3723 _ACEOF
3724 ac_clean_files="$ac_clean_files conftest.out"
3725 # Check that the compiler produces executables we can run.  If not, either
3726 # the compiler is broken, or we cross compile.
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3728 $as_echo_n "checking whether we are cross compiling... " >&6; }
3729 if test "$cross_compiling" != yes; then
3730   { { ac_try="$ac_link"
3731 case "(($ac_try" in
3732   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3733   *) ac_try_echo=$ac_try;;
3734 esac
3735 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3736 $as_echo "$ac_try_echo"; } >&5
3737   (eval "$ac_link") 2>&5
3738   ac_status=$?
3739   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3740   test $ac_status = 0; }
3741   if { ac_try='./conftest$ac_cv_exeext'
3742   { { case "(($ac_try" in
3743   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3744   *) ac_try_echo=$ac_try;;
3745 esac
3746 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3747 $as_echo "$ac_try_echo"; } >&5
3748   (eval "$ac_try") 2>&5
3749   ac_status=$?
3750   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3751   test $ac_status = 0; }; }; then
3752     cross_compiling=no
3753   else
3754     if test "$cross_compiling" = maybe; then
3755         cross_compiling=yes
3756     else
3757         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3758 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3759 as_fn_error $? "cannot run C compiled programs.
3760 If you meant to cross compile, use \`--host'.
3761 See \`config.log' for more details" "$LINENO" 5; }
3762     fi
3763   fi
3764 fi
3765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3766 $as_echo "$cross_compiling" >&6; }
3767
3768 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3769 ac_clean_files=$ac_clean_files_save
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3771 $as_echo_n "checking for suffix of object files... " >&6; }
3772 if ${ac_cv_objext+:} false; then :
3773   $as_echo_n "(cached) " >&6
3774 else
3775   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3776 /* end confdefs.h.  */
3777
3778 int
3779 main ()
3780 {
3781
3782   ;
3783   return 0;
3784 }
3785 _ACEOF
3786 rm -f conftest.o conftest.obj
3787 if { { ac_try="$ac_compile"
3788 case "(($ac_try" in
3789   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3790   *) ac_try_echo=$ac_try;;
3791 esac
3792 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3793 $as_echo "$ac_try_echo"; } >&5
3794   (eval "$ac_compile") 2>&5
3795   ac_status=$?
3796   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3797   test $ac_status = 0; }; then :
3798   for ac_file in conftest.o conftest.obj conftest.*; do
3799   test -f "$ac_file" || continue;
3800   case $ac_file in
3801     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3802     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3803        break;;
3804   esac
3805 done
3806 else
3807   $as_echo "$as_me: failed program was:" >&5
3808 sed 's/^/| /' conftest.$ac_ext >&5
3809
3810 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3811 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3812 as_fn_error $? "cannot compute suffix of object files: cannot compile
3813 See \`config.log' for more details" "$LINENO" 5; }
3814 fi
3815 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3816 fi
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3818 $as_echo "$ac_cv_objext" >&6; }
3819 OBJEXT=$ac_cv_objext
3820 ac_objext=$OBJEXT
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3822 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3823 if ${ac_cv_c_compiler_gnu+:} false; then :
3824   $as_echo_n "(cached) " >&6
3825 else
3826   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3827 /* end confdefs.h.  */
3828
3829 int
3830 main ()
3831 {
3832 #ifndef __GNUC__
3833        choke me
3834 #endif
3835
3836   ;
3837   return 0;
3838 }
3839 _ACEOF
3840 if ac_fn_c_try_compile "$LINENO"; then :
3841   ac_compiler_gnu=yes
3842 else
3843   ac_compiler_gnu=no
3844 fi
3845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3846 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3847
3848 fi
3849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3850 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3851 if test $ac_compiler_gnu = yes; then
3852   GCC=yes
3853 else
3854   GCC=
3855 fi
3856 ac_test_CFLAGS=${CFLAGS+set}
3857 ac_save_CFLAGS=$CFLAGS
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3859 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3860 if ${ac_cv_prog_cc_g+:} false; then :
3861   $as_echo_n "(cached) " >&6
3862 else
3863   ac_save_c_werror_flag=$ac_c_werror_flag
3864    ac_c_werror_flag=yes
3865    ac_cv_prog_cc_g=no
3866    CFLAGS="-g"
3867    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3868 /* end confdefs.h.  */
3869
3870 int
3871 main ()
3872 {
3873
3874   ;
3875   return 0;
3876 }
3877 _ACEOF
3878 if ac_fn_c_try_compile "$LINENO"; then :
3879   ac_cv_prog_cc_g=yes
3880 else
3881   CFLAGS=""
3882       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3883 /* end confdefs.h.  */
3884
3885 int
3886 main ()
3887 {
3888
3889   ;
3890   return 0;
3891 }
3892 _ACEOF
3893 if ac_fn_c_try_compile "$LINENO"; then :
3894
3895 else
3896   ac_c_werror_flag=$ac_save_c_werror_flag
3897          CFLAGS="-g"
3898          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3899 /* end confdefs.h.  */
3900
3901 int
3902 main ()
3903 {
3904
3905   ;
3906   return 0;
3907 }
3908 _ACEOF
3909 if ac_fn_c_try_compile "$LINENO"; then :
3910   ac_cv_prog_cc_g=yes
3911 fi
3912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3913 fi
3914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3915 fi
3916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3917    ac_c_werror_flag=$ac_save_c_werror_flag
3918 fi
3919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3920 $as_echo "$ac_cv_prog_cc_g" >&6; }
3921 if test "$ac_test_CFLAGS" = set; then
3922   CFLAGS=$ac_save_CFLAGS
3923 elif test $ac_cv_prog_cc_g = yes; then
3924   if test "$GCC" = yes; then
3925     CFLAGS="-g -O2"
3926   else
3927     CFLAGS="-g"
3928   fi
3929 else
3930   if test "$GCC" = yes; then
3931     CFLAGS="-O2"
3932   else
3933     CFLAGS=
3934   fi
3935 fi
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3937 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3938 if ${ac_cv_prog_cc_c89+:} false; then :
3939   $as_echo_n "(cached) " >&6
3940 else
3941   ac_cv_prog_cc_c89=no
3942 ac_save_CC=$CC
3943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3944 /* end confdefs.h.  */
3945 #include <stdarg.h>
3946 #include <stdio.h>
3947 struct stat;
3948 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3949 struct buf { int x; };
3950 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3951 static char *e (p, i)
3952      char **p;
3953      int i;
3954 {
3955   return p[i];
3956 }
3957 static char *f (char * (*g) (char **, int), char **p, ...)
3958 {
3959   char *s;
3960   va_list v;
3961   va_start (v,p);
3962   s = g (p, va_arg (v,int));
3963   va_end (v);
3964   return s;
3965 }
3966
3967 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3968    function prototypes and stuff, but not '\xHH' hex character constants.
3969    These don't provoke an error unfortunately, instead are silently treated
3970    as 'x'.  The following induces an error, until -std is added to get
3971    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3972    array size at least.  It's necessary to write '\x00'==0 to get something
3973    that's true only with -std.  */
3974 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3975
3976 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3977    inside strings and character constants.  */
3978 #define FOO(x) 'x'
3979 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3980
3981 int test (int i, double x);
3982 struct s1 {int (*f) (int a);};
3983 struct s2 {int (*f) (double a);};
3984 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3985 int argc;
3986 char **argv;
3987 int
3988 main ()
3989 {
3990 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3991   ;
3992   return 0;
3993 }
3994 _ACEOF
3995 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3996         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3997 do
3998   CC="$ac_save_CC $ac_arg"
3999   if ac_fn_c_try_compile "$LINENO"; then :
4000   ac_cv_prog_cc_c89=$ac_arg
4001 fi
4002 rm -f core conftest.err conftest.$ac_objext
4003   test "x$ac_cv_prog_cc_c89" != "xno" && break
4004 done
4005 rm -f conftest.$ac_ext
4006 CC=$ac_save_CC
4007
4008 fi
4009 # AC_CACHE_VAL
4010 case "x$ac_cv_prog_cc_c89" in
4011   x)
4012     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4013 $as_echo "none needed" >&6; } ;;
4014   xno)
4015     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4016 $as_echo "unsupported" >&6; } ;;
4017   *)
4018     CC="$CC $ac_cv_prog_cc_c89"
4019     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4020 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4021 esac
4022 if test "x$ac_cv_prog_cc_c89" != xno; then :
4023
4024 fi
4025
4026 ac_ext=c
4027 ac_cpp='$CPP $CPPFLAGS'
4028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4031
4032 ac_ext=c
4033 ac_cpp='$CPP $CPPFLAGS'
4034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4038 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4039 if ${am_cv_prog_cc_c_o+:} false; then :
4040   $as_echo_n "(cached) " >&6
4041 else
4042   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4043 /* end confdefs.h.  */
4044
4045 int
4046 main ()
4047 {
4048
4049   ;
4050   return 0;
4051 }
4052 _ACEOF
4053   # Make sure it works both with $CC and with simple cc.
4054   # Following AC_PROG_CC_C_O, we do the test twice because some
4055   # compilers refuse to overwrite an existing .o file with -o,
4056   # though they will create one.
4057   am_cv_prog_cc_c_o=yes
4058   for am_i in 1 2; do
4059     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4060    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4061    ac_status=$?
4062    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4063    (exit $ac_status); } \
4064          && test -f conftest2.$ac_objext; then
4065       : OK
4066     else
4067       am_cv_prog_cc_c_o=no
4068       break
4069     fi
4070   done
4071   rm -f core conftest*
4072   unset am_i
4073 fi
4074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4075 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4076 if test "$am_cv_prog_cc_c_o" != yes; then
4077    # Losing compiler, so override with the script.
4078    # FIXME: It is wrong to rewrite CC.
4079    # But if we don't then we get into trouble of one sort or another.
4080    # A longer-term fix would be to have automake use am__CC in this case,
4081    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4082    CC="$am_aux_dir/compile $CC"
4083 fi
4084 ac_ext=c
4085 ac_cpp='$CPP $CPPFLAGS'
4086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4089
4090
4091 depcc="$CC"   am_compiler_list=
4092
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4094 $as_echo_n "checking dependency style of $depcc... " >&6; }
4095 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4096   $as_echo_n "(cached) " >&6
4097 else
4098   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4099   # We make a subdir and do the tests there.  Otherwise we can end up
4100   # making bogus files that we don't know about and never remove.  For
4101   # instance it was reported that on HP-UX the gcc test will end up
4102   # making a dummy file named 'D' -- because '-MD' means "put the output
4103   # in D".
4104   rm -rf conftest.dir
4105   mkdir conftest.dir
4106   # Copy depcomp to subdir because otherwise we won't find it if we're
4107   # using a relative directory.
4108   cp "$am_depcomp" conftest.dir
4109   cd conftest.dir
4110   # We will build objects and dependencies in a subdirectory because
4111   # it helps to detect inapplicable dependency modes.  For instance
4112   # both Tru64's cc and ICC support -MD to output dependencies as a
4113   # side effect of compilation, but ICC will put the dependencies in
4114   # the current directory while Tru64 will put them in the object
4115   # directory.
4116   mkdir sub
4117
4118   am_cv_CC_dependencies_compiler_type=none
4119   if test "$am_compiler_list" = ""; then
4120      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4121   fi
4122   am__universal=false
4123   case " $depcc " in #(
4124      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4125      esac
4126
4127   for depmode in $am_compiler_list; do
4128     # Setup a source with many dependencies, because some compilers
4129     # like to wrap large dependency lists on column 80 (with \), and
4130     # we should not choose a depcomp mode which is confused by this.
4131     #
4132     # We need to recreate these files for each test, as the compiler may
4133     # overwrite some of them when testing with obscure command lines.
4134     # This happens at least with the AIX C compiler.
4135     : > sub/conftest.c
4136     for i in 1 2 3 4 5 6; do
4137       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4138       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4139       # Solaris 10 /bin/sh.
4140       echo '/* dummy */' > sub/conftst$i.h
4141     done
4142     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4143
4144     # We check with '-c' and '-o' for the sake of the "dashmstdout"
4145     # mode.  It turns out that the SunPro C++ compiler does not properly
4146     # handle '-M -o', and we need to detect this.  Also, some Intel
4147     # versions had trouble with output in subdirs.
4148     am__obj=sub/conftest.${OBJEXT-o}
4149     am__minus_obj="-o $am__obj"
4150     case $depmode in
4151     gcc)
4152       # This depmode causes a compiler race in universal mode.
4153       test "$am__universal" = false || continue
4154       ;;
4155     nosideeffect)
4156       # After this tag, mechanisms are not by side-effect, so they'll
4157       # only be used when explicitly requested.
4158       if test "x$enable_dependency_tracking" = xyes; then
4159         continue
4160       else
4161         break
4162       fi
4163       ;;
4164     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4165       # This compiler won't grok '-c -o', but also, the minuso test has
4166       # not run yet.  These depmodes are late enough in the game, and
4167       # so weak that their functioning should not be impacted.
4168       am__obj=conftest.${OBJEXT-o}
4169       am__minus_obj=
4170       ;;
4171     none) break ;;
4172     esac
4173     if depmode=$depmode \
4174        source=sub/conftest.c object=$am__obj \
4175        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4176        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4177          >/dev/null 2>conftest.err &&
4178        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4179        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4180        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4181        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4182       # icc doesn't choke on unknown options, it will just issue warnings
4183       # or remarks (even with -Werror).  So we grep stderr for any message
4184       # that says an option was ignored or not supported.
4185       # When given -MP, icc 7.0 and 7.1 complain thusly:
4186       #   icc: Command line warning: ignoring option '-M'; no argument required
4187       # The diagnosis changed in icc 8.0:
4188       #   icc: Command line remark: option '-MP' not supported
4189       if (grep 'ignoring option' conftest.err ||
4190           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4191         am_cv_CC_dependencies_compiler_type=$depmode
4192         break
4193       fi
4194     fi
4195   done
4196
4197   cd ..
4198   rm -rf conftest.dir
4199 else
4200   am_cv_CC_dependencies_compiler_type=none
4201 fi
4202
4203 fi
4204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4205 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4206 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4207
4208  if
4209   test "x$enable_dependency_tracking" != xno \
4210   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4211   am__fastdepCC_TRUE=
4212   am__fastdepCC_FALSE='#'
4213 else
4214   am__fastdepCC_TRUE='#'
4215   am__fastdepCC_FALSE=
4216 fi
4217
4218
4219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4220 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4221 if ${ac_cv_path_SED+:} false; then :
4222   $as_echo_n "(cached) " >&6
4223 else
4224             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4225      for ac_i in 1 2 3 4 5 6 7; do
4226        ac_script="$ac_script$as_nl$ac_script"
4227      done
4228      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4229      { ac_script=; unset ac_script;}
4230      if test -z "$SED"; then
4231   ac_path_SED_found=false
4232   # Loop through the user's path and test for each of PROGNAME-LIST
4233   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4234 for as_dir in $PATH
4235 do
4236   IFS=$as_save_IFS
4237   test -z "$as_dir" && as_dir=.
4238     for ac_prog in sed gsed; do
4239     for ac_exec_ext in '' $ac_executable_extensions; do
4240       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4241       as_fn_executable_p "$ac_path_SED" || continue
4242 # Check for GNU ac_path_SED and select it if it is found.
4243   # Check for GNU $ac_path_SED
4244 case `"$ac_path_SED" --version 2>&1` in
4245 *GNU*)
4246   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4247 *)
4248   ac_count=0
4249   $as_echo_n 0123456789 >"conftest.in"
4250   while :
4251   do
4252     cat "conftest.in" "conftest.in" >"conftest.tmp"
4253     mv "conftest.tmp" "conftest.in"
4254     cp "conftest.in" "conftest.nl"
4255     $as_echo '' >> "conftest.nl"
4256     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4257     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4258     as_fn_arith $ac_count + 1 && ac_count=$as_val
4259     if test $ac_count -gt ${ac_path_SED_max-0}; then
4260       # Best one so far, save it but keep looking for a better one
4261       ac_cv_path_SED="$ac_path_SED"
4262       ac_path_SED_max=$ac_count
4263     fi
4264     # 10*(2^10) chars as input seems more than enough
4265     test $ac_count -gt 10 && break
4266   done
4267   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4268 esac
4269
4270       $ac_path_SED_found && break 3
4271     done
4272   done
4273   done
4274 IFS=$as_save_IFS
4275   if test -z "$ac_cv_path_SED"; then
4276     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4277   fi
4278 else
4279   ac_cv_path_SED=$SED
4280 fi
4281
4282 fi
4283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4284 $as_echo "$ac_cv_path_SED" >&6; }
4285  SED="$ac_cv_path_SED"
4286   rm -f conftest.sed
4287
4288 test -z "$SED" && SED=sed
4289 Xsed="$SED -e 1s/^X//"
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4302 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4303 if ${ac_cv_path_GREP+:} false; then :
4304   $as_echo_n "(cached) " >&6
4305 else
4306   if test -z "$GREP"; then
4307   ac_path_GREP_found=false
4308   # Loop through the user's path and test for each of PROGNAME-LIST
4309   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4310 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4311 do
4312   IFS=$as_save_IFS
4313   test -z "$as_dir" && as_dir=.
4314     for ac_prog in grep ggrep; do
4315     for ac_exec_ext in '' $ac_executable_extensions; do
4316       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4317       as_fn_executable_p "$ac_path_GREP" || continue
4318 # Check for GNU ac_path_GREP and select it if it is found.
4319   # Check for GNU $ac_path_GREP
4320 case `"$ac_path_GREP" --version 2>&1` in
4321 *GNU*)
4322   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4323 *)
4324   ac_count=0
4325   $as_echo_n 0123456789 >"conftest.in"
4326   while :
4327   do
4328     cat "conftest.in" "conftest.in" >"conftest.tmp"
4329     mv "conftest.tmp" "conftest.in"
4330     cp "conftest.in" "conftest.nl"
4331     $as_echo 'GREP' >> "conftest.nl"
4332     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4333     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4334     as_fn_arith $ac_count + 1 && ac_count=$as_val
4335     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4336       # Best one so far, save it but keep looking for a better one
4337       ac_cv_path_GREP="$ac_path_GREP"
4338       ac_path_GREP_max=$ac_count
4339     fi
4340     # 10*(2^10) chars as input seems more than enough
4341     test $ac_count -gt 10 && break
4342   done
4343   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4344 esac
4345
4346       $ac_path_GREP_found && break 3
4347     done
4348   done
4349   done
4350 IFS=$as_save_IFS
4351   if test -z "$ac_cv_path_GREP"; then
4352     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4353   fi
4354 else
4355   ac_cv_path_GREP=$GREP
4356 fi
4357
4358 fi
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4360 $as_echo "$ac_cv_path_GREP" >&6; }
4361  GREP="$ac_cv_path_GREP"
4362
4363
4364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4365 $as_echo_n "checking for egrep... " >&6; }
4366 if ${ac_cv_path_EGREP+:} false; then :
4367   $as_echo_n "(cached) " >&6
4368 else
4369   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4370    then ac_cv_path_EGREP="$GREP -E"
4371    else
4372      if test -z "$EGREP"; then
4373   ac_path_EGREP_found=false
4374   # Loop through the user's path and test for each of PROGNAME-LIST
4375   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4376 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4377 do
4378   IFS=$as_save_IFS
4379   test -z "$as_dir" && as_dir=.
4380     for ac_prog in egrep; do
4381     for ac_exec_ext in '' $ac_executable_extensions; do
4382       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4383       as_fn_executable_p "$ac_path_EGREP" || continue
4384 # Check for GNU ac_path_EGREP and select it if it is found.
4385   # Check for GNU $ac_path_EGREP
4386 case `"$ac_path_EGREP" --version 2>&1` in
4387 *GNU*)
4388   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4389 *)
4390   ac_count=0
4391   $as_echo_n 0123456789 >"conftest.in"
4392   while :
4393   do
4394     cat "conftest.in" "conftest.in" >"conftest.tmp"
4395     mv "conftest.tmp" "conftest.in"
4396     cp "conftest.in" "conftest.nl"
4397     $as_echo 'EGREP' >> "conftest.nl"
4398     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4399     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4400     as_fn_arith $ac_count + 1 && ac_count=$as_val
4401     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4402       # Best one so far, save it but keep looking for a better one
4403       ac_cv_path_EGREP="$ac_path_EGREP"
4404       ac_path_EGREP_max=$ac_count
4405     fi
4406     # 10*(2^10) chars as input seems more than enough
4407     test $ac_count -gt 10 && break
4408   done
4409   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4410 esac
4411
4412       $ac_path_EGREP_found && break 3
4413     done
4414   done
4415   done
4416 IFS=$as_save_IFS
4417   if test -z "$ac_cv_path_EGREP"; then
4418     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4419   fi
4420 else
4421   ac_cv_path_EGREP=$EGREP
4422 fi
4423
4424    fi
4425 fi
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4427 $as_echo "$ac_cv_path_EGREP" >&6; }
4428  EGREP="$ac_cv_path_EGREP"
4429
4430
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4432 $as_echo_n "checking for fgrep... " >&6; }
4433 if ${ac_cv_path_FGREP+:} false; then :
4434   $as_echo_n "(cached) " >&6
4435 else
4436   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4437    then ac_cv_path_FGREP="$GREP -F"
4438    else
4439      if test -z "$FGREP"; then
4440   ac_path_FGREP_found=false
4441   # Loop through the user's path and test for each of PROGNAME-LIST
4442   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4443 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4444 do
4445   IFS=$as_save_IFS
4446   test -z "$as_dir" && as_dir=.
4447     for ac_prog in fgrep; do
4448     for ac_exec_ext in '' $ac_executable_extensions; do
4449       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4450       as_fn_executable_p "$ac_path_FGREP" || continue
4451 # Check for GNU ac_path_FGREP and select it if it is found.
4452   # Check for GNU $ac_path_FGREP
4453 case `"$ac_path_FGREP" --version 2>&1` in
4454 *GNU*)
4455   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4456 *)
4457   ac_count=0
4458   $as_echo_n 0123456789 >"conftest.in"
4459   while :
4460   do
4461     cat "conftest.in" "conftest.in" >"conftest.tmp"
4462     mv "conftest.tmp" "conftest.in"
4463     cp "conftest.in" "conftest.nl"
4464     $as_echo 'FGREP' >> "conftest.nl"
4465     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4466     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4467     as_fn_arith $ac_count + 1 && ac_count=$as_val
4468     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4469       # Best one so far, save it but keep looking for a better one
4470       ac_cv_path_FGREP="$ac_path_FGREP"
4471       ac_path_FGREP_max=$ac_count
4472     fi
4473     # 10*(2^10) chars as input seems more than enough
4474     test $ac_count -gt 10 && break
4475   done
4476   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4477 esac
4478
4479       $ac_path_FGREP_found && break 3
4480     done
4481   done
4482   done
4483 IFS=$as_save_IFS
4484   if test -z "$ac_cv_path_FGREP"; then
4485     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4486   fi
4487 else
4488   ac_cv_path_FGREP=$FGREP
4489 fi
4490
4491    fi
4492 fi
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4494 $as_echo "$ac_cv_path_FGREP" >&6; }
4495  FGREP="$ac_cv_path_FGREP"
4496
4497
4498 test -z "$GREP" && GREP=grep
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518 # Check whether --with-gnu-ld was given.
4519 if test "${with_gnu_ld+set}" = set; then :
4520   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4521 else
4522   with_gnu_ld=no
4523 fi
4524
4525 ac_prog=ld
4526 if test "$GCC" = yes; then
4527   # Check if gcc -print-prog-name=ld gives a path.
4528   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4529 $as_echo_n "checking for ld used by $CC... " >&6; }
4530   case $host in
4531   *-*-mingw*)
4532     # gcc leaves a trailing carriage return which upsets mingw
4533     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4534   *)
4535     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4536   esac
4537   case $ac_prog in
4538     # Accept absolute paths.
4539     [\\/]* | ?:[\\/]*)
4540       re_direlt='/[^/][^/]*/\.\./'
4541       # Canonicalize the pathname of ld
4542       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4543       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4544         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4545       done
4546       test -z "$LD" && LD="$ac_prog"
4547       ;;
4548   "")
4549     # If it fails, then pretend we aren't using GCC.
4550     ac_prog=ld
4551     ;;
4552   *)
4553     # If it is relative, then search for the first ld in PATH.
4554     with_gnu_ld=unknown
4555     ;;
4556   esac
4557 elif test "$with_gnu_ld" = yes; then
4558   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4559 $as_echo_n "checking for GNU ld... " >&6; }
4560 else
4561   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4562 $as_echo_n "checking for non-GNU ld... " >&6; }
4563 fi
4564 if ${lt_cv_path_LD+:} false; then :
4565   $as_echo_n "(cached) " >&6
4566 else
4567   if test -z "$LD"; then
4568   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4569   for ac_dir in $PATH; do
4570     IFS="$lt_save_ifs"
4571     test -z "$ac_dir" && ac_dir=.
4572     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4573       lt_cv_path_LD="$ac_dir/$ac_prog"
4574       # Check to see if the program is GNU ld.  I'd rather use --version,
4575       # but apparently some variants of GNU ld only accept -v.
4576       # Break only if it was the GNU/non-GNU ld that we prefer.
4577       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4578       *GNU* | *'with BFD'*)
4579         test "$with_gnu_ld" != no && break
4580         ;;
4581       *)
4582         test "$with_gnu_ld" != yes && break
4583         ;;
4584       esac
4585     fi
4586   done
4587   IFS="$lt_save_ifs"
4588 else
4589   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4590 fi
4591 fi
4592
4593 LD="$lt_cv_path_LD"
4594 if test -n "$LD"; then
4595   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4596 $as_echo "$LD" >&6; }
4597 else
4598   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4599 $as_echo "no" >&6; }
4600 fi
4601 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4603 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4604 if ${lt_cv_prog_gnu_ld+:} false; then :
4605   $as_echo_n "(cached) " >&6
4606 else
4607   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4608 case `$LD -v 2>&1 </dev/null` in
4609 *GNU* | *'with BFD'*)
4610   lt_cv_prog_gnu_ld=yes
4611   ;;
4612 *)
4613   lt_cv_prog_gnu_ld=no
4614   ;;
4615 esac
4616 fi
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4618 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4619 with_gnu_ld=$lt_cv_prog_gnu_ld
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4630 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4631 if ${lt_cv_path_NM+:} false; then :
4632   $as_echo_n "(cached) " >&6
4633 else
4634   if test -n "$NM"; then
4635   # Let the user override the test.
4636   lt_cv_path_NM="$NM"
4637 else
4638   lt_nm_to_check="${ac_tool_prefix}nm"
4639   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4640     lt_nm_to_check="$lt_nm_to_check nm"
4641   fi
4642   for lt_tmp_nm in $lt_nm_to_check; do
4643     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4644     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4645       IFS="$lt_save_ifs"
4646       test -z "$ac_dir" && ac_dir=.
4647       tmp_nm="$ac_dir/$lt_tmp_nm"
4648       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4649         # Check to see if the nm accepts a BSD-compat flag.
4650         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4651         #   nm: unknown option "B" ignored
4652         # Tru64's nm complains that /dev/null is an invalid object file
4653         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4654         */dev/null* | *'Invalid file or object type'*)
4655           lt_cv_path_NM="$tmp_nm -B"
4656           break
4657           ;;
4658         *)
4659           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4660           */dev/null*)
4661             lt_cv_path_NM="$tmp_nm -p"
4662             break
4663             ;;
4664           *)
4665             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4666             continue # so that we can try to find one that supports BSD flags
4667             ;;
4668           esac
4669           ;;
4670         esac
4671       fi
4672     done
4673     IFS="$lt_save_ifs"
4674   done
4675   : ${lt_cv_path_NM=no}
4676 fi
4677 fi
4678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4679 $as_echo "$lt_cv_path_NM" >&6; }
4680 if test "$lt_cv_path_NM" != "no"; then
4681   NM="$lt_cv_path_NM"
4682 else
4683   # Didn't find any BSD compatible name lister, look for dumpbin.
4684   if test -n "$DUMPBIN"; then :
4685     # Let the user override the test.
4686   else
4687     if test -n "$ac_tool_prefix"; then
4688   for ac_prog in dumpbin "link -dump"
4689   do
4690     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4691 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4693 $as_echo_n "checking for $ac_word... " >&6; }
4694 if ${ac_cv_prog_DUMPBIN+:} false; then :
4695   $as_echo_n "(cached) " >&6
4696 else
4697   if test -n "$DUMPBIN"; then
4698   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4699 else
4700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4701 for as_dir in $PATH
4702 do
4703   IFS=$as_save_IFS
4704   test -z "$as_dir" && as_dir=.
4705     for ac_exec_ext in '' $ac_executable_extensions; do
4706   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4707     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4708     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4709     break 2
4710   fi
4711 done
4712   done
4713 IFS=$as_save_IFS
4714
4715 fi
4716 fi
4717 DUMPBIN=$ac_cv_prog_DUMPBIN
4718 if test -n "$DUMPBIN"; then
4719   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4720 $as_echo "$DUMPBIN" >&6; }
4721 else
4722   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4723 $as_echo "no" >&6; }
4724 fi
4725
4726
4727     test -n "$DUMPBIN" && break
4728   done
4729 fi
4730 if test -z "$DUMPBIN"; then
4731   ac_ct_DUMPBIN=$DUMPBIN
4732   for ac_prog in dumpbin "link -dump"
4733 do
4734   # Extract the first word of "$ac_prog", so it can be a program name with args.
4735 set dummy $ac_prog; ac_word=$2
4736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4737 $as_echo_n "checking for $ac_word... " >&6; }
4738 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4739   $as_echo_n "(cached) " >&6
4740 else
4741   if test -n "$ac_ct_DUMPBIN"; then
4742   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4743 else
4744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4745 for as_dir in $PATH
4746 do
4747   IFS=$as_save_IFS
4748   test -z "$as_dir" && as_dir=.
4749     for ac_exec_ext in '' $ac_executable_extensions; do
4750   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4751     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4752     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4753     break 2
4754   fi
4755 done
4756   done
4757 IFS=$as_save_IFS
4758
4759 fi
4760 fi
4761 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4762 if test -n "$ac_ct_DUMPBIN"; then
4763   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4764 $as_echo "$ac_ct_DUMPBIN" >&6; }
4765 else
4766   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4767 $as_echo "no" >&6; }
4768 fi
4769
4770
4771   test -n "$ac_ct_DUMPBIN" && break
4772 done
4773
4774   if test "x$ac_ct_DUMPBIN" = x; then
4775     DUMPBIN=":"
4776   else
4777     case $cross_compiling:$ac_tool_warned in
4778 yes:)
4779 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4780 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4781 ac_tool_warned=yes ;;
4782 esac
4783     DUMPBIN=$ac_ct_DUMPBIN
4784   fi
4785 fi
4786
4787     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4788     *COFF*)
4789       DUMPBIN="$DUMPBIN -symbols"
4790       ;;
4791     *)
4792       DUMPBIN=:
4793       ;;
4794     esac
4795   fi
4796
4797   if test "$DUMPBIN" != ":"; then
4798     NM="$DUMPBIN"
4799   fi
4800 fi
4801 test -z "$NM" && NM=nm
4802
4803
4804
4805
4806
4807
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4809 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4810 if ${lt_cv_nm_interface+:} false; then :
4811   $as_echo_n "(cached) " >&6
4812 else
4813   lt_cv_nm_interface="BSD nm"
4814   echo "int some_variable = 0;" > conftest.$ac_ext
4815   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4816   (eval "$ac_compile" 2>conftest.err)
4817   cat conftest.err >&5
4818   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4819   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4820   cat conftest.err >&5
4821   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4822   cat conftest.out >&5
4823   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4824     lt_cv_nm_interface="MS dumpbin"
4825   fi
4826   rm -f conftest*
4827 fi
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4829 $as_echo "$lt_cv_nm_interface" >&6; }
4830
4831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4832 $as_echo_n "checking whether ln -s works... " >&6; }
4833 LN_S=$as_ln_s
4834 if test "$LN_S" = "ln -s"; then
4835   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4836 $as_echo "yes" >&6; }
4837 else
4838   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4839 $as_echo "no, using $LN_S" >&6; }
4840 fi
4841
4842 # find the maximum length of command line arguments
4843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4844 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4845 if ${lt_cv_sys_max_cmd_len+:} false; then :
4846   $as_echo_n "(cached) " >&6
4847 else
4848     i=0
4849   teststring="ABCD"
4850
4851   case $build_os in
4852   msdosdjgpp*)
4853     # On DJGPP, this test can blow up pretty badly due to problems in libc
4854     # (any single argument exceeding 2000 bytes causes a buffer overrun
4855     # during glob expansion).  Even if it were fixed, the result of this
4856     # check would be larger than it should be.
4857     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4858     ;;
4859
4860   gnu*)
4861     # Under GNU Hurd, this test is not required because there is
4862     # no limit to the length of command line arguments.
4863     # Libtool will interpret -1 as no limit whatsoever
4864     lt_cv_sys_max_cmd_len=-1;
4865     ;;
4866
4867   cygwin* | mingw* | cegcc*)
4868     # On Win9x/ME, this test blows up -- it succeeds, but takes
4869     # about 5 minutes as the teststring grows exponentially.
4870     # Worse, since 9x/ME are not pre-emptively multitasking,
4871     # you end up with a "frozen" computer, even though with patience
4872     # the test eventually succeeds (with a max line length of 256k).
4873     # Instead, let's just punt: use the minimum linelength reported by
4874     # all of the supported platforms: 8192 (on NT/2K/XP).
4875     lt_cv_sys_max_cmd_len=8192;
4876     ;;
4877
4878   mint*)
4879     # On MiNT this can take a long time and run out of memory.
4880     lt_cv_sys_max_cmd_len=8192;
4881     ;;
4882
4883   amigaos*)
4884     # On AmigaOS with pdksh, this test takes hours, literally.
4885     # So we just punt and use a minimum line length of 8192.
4886     lt_cv_sys_max_cmd_len=8192;
4887     ;;
4888
4889   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4890     # This has been around since 386BSD, at least.  Likely further.
4891     if test -x /sbin/sysctl; then
4892       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4893     elif test -x /usr/sbin/sysctl; then
4894       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4895     else
4896       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
4897     fi
4898     # And add a safety zone
4899     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4900     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4901     ;;
4902
4903   interix*)
4904     # We know the value 262144 and hardcode it with a safety zone (like BSD)
4905     lt_cv_sys_max_cmd_len=196608
4906     ;;
4907
4908   os2*)
4909     # The test takes a long time on OS/2.
4910     lt_cv_sys_max_cmd_len=8192
4911     ;;
4912
4913   osf*)
4914     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4915     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4916     # nice to cause kernel panics so lets avoid the loop below.
4917     # First set a reasonable default.
4918     lt_cv_sys_max_cmd_len=16384
4919     #
4920     if test -x /sbin/sysconfig; then
4921       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4922         *1*) lt_cv_sys_max_cmd_len=-1 ;;
4923       esac
4924     fi
4925     ;;
4926   sco3.2v5*)
4927     lt_cv_sys_max_cmd_len=102400
4928     ;;
4929   sysv5* | sco5v6* | sysv4.2uw2*)
4930     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4931     if test -n "$kargmax"; then
4932       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
4933     else
4934       lt_cv_sys_max_cmd_len=32768
4935     fi
4936     ;;
4937   *)
4938     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4939     if test -n "$lt_cv_sys_max_cmd_len" && \
4940         test undefined != "$lt_cv_sys_max_cmd_len"; then
4941       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4942       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4943     else
4944       # Make teststring a little bigger before we do anything with it.
4945       # a 1K string should be a reasonable start.
4946       for i in 1 2 3 4 5 6 7 8 ; do
4947         teststring=$teststring$teststring
4948       done
4949       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4950       # If test is not a shell built-in, we'll probably end up computing a
4951       # maximum length that is only half of the actual maximum length, but
4952       # we can't tell.
4953       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
4954                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4955               test $i != 17 # 1/2 MB should be enough
4956       do
4957         i=`expr $i + 1`
4958         teststring=$teststring$teststring
4959       done
4960       # Only check the string length outside the loop.
4961       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4962       teststring=
4963       # Add a significant safety factor because C++ compilers can tack on
4964       # massive amounts of additional arguments before passing them to the
4965       # linker.  It appears as though 1/2 is a usable value.
4966       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4967     fi
4968     ;;
4969   esac
4970
4971 fi
4972
4973 if test -n $lt_cv_sys_max_cmd_len ; then
4974   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4975 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4976 else
4977   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4978 $as_echo "none" >&6; }
4979 fi
4980 max_cmd_len=$lt_cv_sys_max_cmd_len
4981
4982
4983
4984
4985
4986
4987 : ${CP="cp -f"}
4988 : ${MV="mv -f"}
4989 : ${RM="rm -f"}
4990
4991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4992 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4993 # Try some XSI features
4994 xsi_shell=no
4995 ( _lt_dummy="a/b/c"
4996   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4997       = c,a/b,b/c, \
4998     && eval 'test $(( 1 + 1 )) -eq 2 \
4999     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5000   && xsi_shell=yes
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5002 $as_echo "$xsi_shell" >&6; }
5003
5004
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5006 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5007 lt_shell_append=no
5008 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5009     >/dev/null 2>&1 \
5010   && lt_shell_append=yes
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5012 $as_echo "$lt_shell_append" >&6; }
5013
5014
5015 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5016   lt_unset=unset
5017 else
5018   lt_unset=false
5019 fi
5020
5021
5022
5023
5024
5025 # test EBCDIC or ASCII
5026 case `echo X|tr X '\101'` in
5027  A) # ASCII based system
5028     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5029   lt_SP2NL='tr \040 \012'
5030   lt_NL2SP='tr \015\012 \040\040'
5031   ;;
5032  *) # EBCDIC based system
5033   lt_SP2NL='tr \100 \n'
5034   lt_NL2SP='tr \r\n \100\100'
5035   ;;
5036 esac
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5047 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5048 if ${lt_cv_to_host_file_cmd+:} false; then :
5049   $as_echo_n "(cached) " >&6
5050 else
5051   case $host in
5052   *-*-mingw* )
5053     case $build in
5054       *-*-mingw* ) # actually msys
5055         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5056         ;;
5057       *-*-cygwin* )
5058         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5059         ;;
5060       * ) # otherwise, assume *nix
5061         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5062         ;;
5063     esac
5064     ;;
5065   *-*-cygwin* )
5066     case $build in
5067       *-*-mingw* ) # actually msys
5068         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5069         ;;
5070       *-*-cygwin* )
5071         lt_cv_to_host_file_cmd=func_convert_file_noop
5072         ;;
5073       * ) # otherwise, assume *nix
5074         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5075         ;;
5076     esac
5077     ;;
5078   * ) # unhandled hosts (and "normal" native builds)
5079     lt_cv_to_host_file_cmd=func_convert_file_noop
5080     ;;
5081 esac
5082
5083 fi
5084
5085 to_host_file_cmd=$lt_cv_to_host_file_cmd
5086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5087 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5088
5089
5090
5091
5092
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5094 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5095 if ${lt_cv_to_tool_file_cmd+:} false; then :
5096   $as_echo_n "(cached) " >&6
5097 else
5098   #assume ordinary cross tools, or native build.
5099 lt_cv_to_tool_file_cmd=func_convert_file_noop
5100 case $host in
5101   *-*-mingw* )
5102     case $build in
5103       *-*-mingw* ) # actually msys
5104         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5105         ;;
5106     esac
5107     ;;
5108 esac
5109
5110 fi
5111
5112 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5114 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5115
5116
5117
5118
5119
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5121 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5122 if ${lt_cv_ld_reload_flag+:} false; then :
5123   $as_echo_n "(cached) " >&6
5124 else
5125   lt_cv_ld_reload_flag='-r'
5126 fi
5127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5128 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5129 reload_flag=$lt_cv_ld_reload_flag
5130 case $reload_flag in
5131 "" | " "*) ;;
5132 *) reload_flag=" $reload_flag" ;;
5133 esac
5134 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5135 case $host_os in
5136   cygwin* | mingw* | pw32* | cegcc*)
5137     if test "$GCC" != yes; then
5138       reload_cmds=false
5139     fi
5140     ;;
5141   darwin*)
5142     if test "$GCC" = yes; then
5143       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5144     else
5145       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5146     fi
5147     ;;
5148 esac
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158 if test -n "$ac_tool_prefix"; then
5159   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5160 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5162 $as_echo_n "checking for $ac_word... " >&6; }
5163 if ${ac_cv_prog_OBJDUMP+:} false; then :
5164   $as_echo_n "(cached) " >&6
5165 else
5166   if test -n "$OBJDUMP"; then
5167   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5168 else
5169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5170 for as_dir in $PATH
5171 do
5172   IFS=$as_save_IFS
5173   test -z "$as_dir" && as_dir=.
5174     for ac_exec_ext in '' $ac_executable_extensions; do
5175   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5176     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5177     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5178     break 2
5179   fi
5180 done
5181   done
5182 IFS=$as_save_IFS
5183
5184 fi
5185 fi
5186 OBJDUMP=$ac_cv_prog_OBJDUMP
5187 if test -n "$OBJDUMP"; then
5188   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5189 $as_echo "$OBJDUMP" >&6; }
5190 else
5191   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5192 $as_echo "no" >&6; }
5193 fi
5194
5195
5196 fi
5197 if test -z "$ac_cv_prog_OBJDUMP"; then
5198   ac_ct_OBJDUMP=$OBJDUMP
5199   # Extract the first word of "objdump", so it can be a program name with args.
5200 set dummy objdump; ac_word=$2
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5202 $as_echo_n "checking for $ac_word... " >&6; }
5203 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5204   $as_echo_n "(cached) " >&6
5205 else
5206   if test -n "$ac_ct_OBJDUMP"; then
5207   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5208 else
5209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5210 for as_dir in $PATH
5211 do
5212   IFS=$as_save_IFS
5213   test -z "$as_dir" && as_dir=.
5214     for ac_exec_ext in '' $ac_executable_extensions; do
5215   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5216     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5217     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5218     break 2
5219   fi
5220 done
5221   done
5222 IFS=$as_save_IFS
5223
5224 fi
5225 fi
5226 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5227 if test -n "$ac_ct_OBJDUMP"; then
5228   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5229 $as_echo "$ac_ct_OBJDUMP" >&6; }
5230 else
5231   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5232 $as_echo "no" >&6; }
5233 fi
5234
5235   if test "x$ac_ct_OBJDUMP" = x; then
5236     OBJDUMP="false"
5237   else
5238     case $cross_compiling:$ac_tool_warned in
5239 yes:)
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5241 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5242 ac_tool_warned=yes ;;
5243 esac
5244     OBJDUMP=$ac_ct_OBJDUMP
5245   fi
5246 else
5247   OBJDUMP="$ac_cv_prog_OBJDUMP"
5248 fi
5249
5250 test -z "$OBJDUMP" && OBJDUMP=objdump
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5261 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5262 if ${lt_cv_deplibs_check_method+:} false; then :
5263   $as_echo_n "(cached) " >&6
5264 else
5265   lt_cv_file_magic_cmd='$MAGIC_CMD'
5266 lt_cv_file_magic_test_file=
5267 lt_cv_deplibs_check_method='unknown'
5268 # Need to set the preceding variable on all platforms that support
5269 # interlibrary dependencies.
5270 # 'none' -- dependencies not supported.
5271 # `unknown' -- same as none, but documents that we really don't know.
5272 # 'pass_all' -- all dependencies passed with no checks.
5273 # 'test_compile' -- check by making test program.
5274 # 'file_magic [[regex]]' -- check by looking for files in library path
5275 # which responds to the $file_magic_cmd with a given extended regex.
5276 # If you have `file' or equivalent on your system and you're not sure
5277 # whether `pass_all' will *always* work, you probably want this one.
5278
5279 case $host_os in
5280 aix[4-9]*)
5281   lt_cv_deplibs_check_method=pass_all
5282   ;;
5283
5284 beos*)
5285   lt_cv_deplibs_check_method=pass_all
5286   ;;
5287
5288 bsdi[45]*)
5289   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5290   lt_cv_file_magic_cmd='/usr/bin/file -L'
5291   lt_cv_file_magic_test_file=/shlib/libc.so
5292   ;;
5293
5294 cygwin*)
5295   # func_win32_libid is a shell function defined in ltmain.sh
5296   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5297   lt_cv_file_magic_cmd='func_win32_libid'
5298   ;;
5299
5300 mingw* | pw32*)
5301   # Base MSYS/MinGW do not provide the 'file' command needed by
5302   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5303   # unless we find 'file', for example because we are cross-compiling.
5304   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5305   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5306     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5307     lt_cv_file_magic_cmd='func_win32_libid'
5308   else
5309     # Keep this pattern in sync with the one in func_win32_libid.
5310     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5311     lt_cv_file_magic_cmd='$OBJDUMP -f'
5312   fi
5313   ;;
5314
5315 cegcc*)
5316   # use the weaker test based on 'objdump'. See mingw*.
5317   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5318   lt_cv_file_magic_cmd='$OBJDUMP -f'
5319   ;;
5320
5321 darwin* | rhapsody*)
5322   lt_cv_deplibs_check_method=pass_all
5323   ;;
5324
5325 freebsd* | dragonfly*)
5326   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5327     case $host_cpu in
5328     i*86 )
5329       # Not sure whether the presence of OpenBSD here was a mistake.
5330       # Let's accept both of them until this is cleared up.
5331       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5332       lt_cv_file_magic_cmd=/usr/bin/file
5333       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5334       ;;
5335     esac
5336   else
5337     lt_cv_deplibs_check_method=pass_all
5338   fi
5339   ;;
5340
5341 haiku*)
5342   lt_cv_deplibs_check_method=pass_all
5343   ;;
5344
5345 hpux10.20* | hpux11*)
5346   lt_cv_file_magic_cmd=/usr/bin/file
5347   case $host_cpu in
5348   ia64*)
5349     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5350     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5351     ;;
5352   hppa*64*)
5353     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]'
5354     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5355     ;;
5356   *)
5357     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5358     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5359     ;;
5360   esac
5361   ;;
5362
5363 interix[3-9]*)
5364   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5365   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5366   ;;
5367
5368 irix5* | irix6* | nonstopux*)
5369   case $LD in
5370   *-32|*"-32 ") libmagic=32-bit;;
5371   *-n32|*"-n32 ") libmagic=N32;;
5372   *-64|*"-64 ") libmagic=64-bit;;
5373   *) libmagic=never-match;;
5374   esac
5375   lt_cv_deplibs_check_method=pass_all
5376   ;;
5377
5378 # This must be glibc/ELF.
5379 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5380   lt_cv_deplibs_check_method=pass_all
5381   ;;
5382
5383 netbsd* | netbsdelf*-gnu)
5384   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5385     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5386   else
5387     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5388   fi
5389   ;;
5390
5391 newos6*)
5392   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5393   lt_cv_file_magic_cmd=/usr/bin/file
5394   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5395   ;;
5396
5397 *nto* | *qnx*)
5398   lt_cv_deplibs_check_method=pass_all
5399   ;;
5400
5401 openbsd*)
5402   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5403     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5404   else
5405     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5406   fi
5407   ;;
5408
5409 osf3* | osf4* | osf5*)
5410   lt_cv_deplibs_check_method=pass_all
5411   ;;
5412
5413 rdos*)
5414   lt_cv_deplibs_check_method=pass_all
5415   ;;
5416
5417 solaris*)
5418   lt_cv_deplibs_check_method=pass_all
5419   ;;
5420
5421 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5422   lt_cv_deplibs_check_method=pass_all
5423   ;;
5424
5425 sysv4 | sysv4.3*)
5426   case $host_vendor in
5427   motorola)
5428     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]'
5429     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5430     ;;
5431   ncr)
5432     lt_cv_deplibs_check_method=pass_all
5433     ;;
5434   sequent)
5435     lt_cv_file_magic_cmd='/bin/file'
5436     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5437     ;;
5438   sni)
5439     lt_cv_file_magic_cmd='/bin/file'
5440     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5441     lt_cv_file_magic_test_file=/lib/libc.so
5442     ;;
5443   siemens)
5444     lt_cv_deplibs_check_method=pass_all
5445     ;;
5446   pc)
5447     lt_cv_deplibs_check_method=pass_all
5448     ;;
5449   esac
5450   ;;
5451
5452 tpf*)
5453   lt_cv_deplibs_check_method=pass_all
5454   ;;
5455 esac
5456
5457 fi
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5459 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5460
5461 file_magic_glob=
5462 want_nocaseglob=no
5463 if test "$build" = "$host"; then
5464   case $host_os in
5465   mingw* | pw32*)
5466     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5467       want_nocaseglob=yes
5468     else
5469       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5470     fi
5471     ;;
5472   esac
5473 fi
5474
5475 file_magic_cmd=$lt_cv_file_magic_cmd
5476 deplibs_check_method=$lt_cv_deplibs_check_method
5477 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500 if test -n "$ac_tool_prefix"; then
5501   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5502 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5504 $as_echo_n "checking for $ac_word... " >&6; }
5505 if ${ac_cv_prog_DLLTOOL+:} false; then :
5506   $as_echo_n "(cached) " >&6
5507 else
5508   if test -n "$DLLTOOL"; then
5509   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5510 else
5511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5512 for as_dir in $PATH
5513 do
5514   IFS=$as_save_IFS
5515   test -z "$as_dir" && as_dir=.
5516     for ac_exec_ext in '' $ac_executable_extensions; do
5517   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5518     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5519     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5520     break 2
5521   fi
5522 done
5523   done
5524 IFS=$as_save_IFS
5525
5526 fi
5527 fi
5528 DLLTOOL=$ac_cv_prog_DLLTOOL
5529 if test -n "$DLLTOOL"; then
5530   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5531 $as_echo "$DLLTOOL" >&6; }
5532 else
5533   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5534 $as_echo "no" >&6; }
5535 fi
5536
5537
5538 fi
5539 if test -z "$ac_cv_prog_DLLTOOL"; then
5540   ac_ct_DLLTOOL=$DLLTOOL
5541   # Extract the first word of "dlltool", so it can be a program name with args.
5542 set dummy dlltool; ac_word=$2
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5544 $as_echo_n "checking for $ac_word... " >&6; }
5545 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5546   $as_echo_n "(cached) " >&6
5547 else
5548   if test -n "$ac_ct_DLLTOOL"; then
5549   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5550 else
5551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5552 for as_dir in $PATH
5553 do
5554   IFS=$as_save_IFS
5555   test -z "$as_dir" && as_dir=.
5556     for ac_exec_ext in '' $ac_executable_extensions; do
5557   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5558     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5559     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5560     break 2
5561   fi
5562 done
5563   done
5564 IFS=$as_save_IFS
5565
5566 fi
5567 fi
5568 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5569 if test -n "$ac_ct_DLLTOOL"; then
5570   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5571 $as_echo "$ac_ct_DLLTOOL" >&6; }
5572 else
5573   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5574 $as_echo "no" >&6; }
5575 fi
5576
5577   if test "x$ac_ct_DLLTOOL" = x; then
5578     DLLTOOL="false"
5579   else
5580     case $cross_compiling:$ac_tool_warned in
5581 yes:)
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5583 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5584 ac_tool_warned=yes ;;
5585 esac
5586     DLLTOOL=$ac_ct_DLLTOOL
5587   fi
5588 else
5589   DLLTOOL="$ac_cv_prog_DLLTOOL"
5590 fi
5591
5592 test -z "$DLLTOOL" && DLLTOOL=dlltool
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5604 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5605 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5606   $as_echo_n "(cached) " >&6
5607 else
5608   lt_cv_sharedlib_from_linklib_cmd='unknown'
5609
5610 case $host_os in
5611 cygwin* | mingw* | pw32* | cegcc*)
5612   # two different shell functions defined in ltmain.sh
5613   # decide which to use based on capabilities of $DLLTOOL
5614   case `$DLLTOOL --help 2>&1` in
5615   *--identify-strict*)
5616     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5617     ;;
5618   *)
5619     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5620     ;;
5621   esac
5622   ;;
5623 *)
5624   # fallback: assume linklib IS sharedlib
5625   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5626   ;;
5627 esac
5628
5629 fi
5630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5631 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5632 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5633 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5634
5635
5636
5637
5638
5639
5640
5641
5642 if test -n "$ac_tool_prefix"; then
5643   for ac_prog in ar
5644   do
5645     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5646 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5648 $as_echo_n "checking for $ac_word... " >&6; }
5649 if ${ac_cv_prog_AR+:} false; then :
5650   $as_echo_n "(cached) " >&6
5651 else
5652   if test -n "$AR"; then
5653   ac_cv_prog_AR="$AR" # Let the user override the test.
5654 else
5655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5656 for as_dir in $PATH
5657 do
5658   IFS=$as_save_IFS
5659   test -z "$as_dir" && as_dir=.
5660     for ac_exec_ext in '' $ac_executable_extensions; do
5661   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5662     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5663     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5664     break 2
5665   fi
5666 done
5667   done
5668 IFS=$as_save_IFS
5669
5670 fi
5671 fi
5672 AR=$ac_cv_prog_AR
5673 if test -n "$AR"; then
5674   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5675 $as_echo "$AR" >&6; }
5676 else
5677   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5678 $as_echo "no" >&6; }
5679 fi
5680
5681
5682     test -n "$AR" && break
5683   done
5684 fi
5685 if test -z "$AR"; then
5686   ac_ct_AR=$AR
5687   for ac_prog in ar
5688 do
5689   # Extract the first word of "$ac_prog", so it can be a program name with args.
5690 set dummy $ac_prog; ac_word=$2
5691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5692 $as_echo_n "checking for $ac_word... " >&6; }
5693 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5694   $as_echo_n "(cached) " >&6
5695 else
5696   if test -n "$ac_ct_AR"; then
5697   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5698 else
5699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5700 for as_dir in $PATH
5701 do
5702   IFS=$as_save_IFS
5703   test -z "$as_dir" && as_dir=.
5704     for ac_exec_ext in '' $ac_executable_extensions; do
5705   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5706     ac_cv_prog_ac_ct_AR="$ac_prog"
5707     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5708     break 2
5709   fi
5710 done
5711   done
5712 IFS=$as_save_IFS
5713
5714 fi
5715 fi
5716 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5717 if test -n "$ac_ct_AR"; then
5718   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5719 $as_echo "$ac_ct_AR" >&6; }
5720 else
5721   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5722 $as_echo "no" >&6; }
5723 fi
5724
5725
5726   test -n "$ac_ct_AR" && break
5727 done
5728
5729   if test "x$ac_ct_AR" = x; then
5730     AR="false"
5731   else
5732     case $cross_compiling:$ac_tool_warned in
5733 yes:)
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5735 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5736 ac_tool_warned=yes ;;
5737 esac
5738     AR=$ac_ct_AR
5739   fi
5740 fi
5741
5742 : ${AR=ar}
5743 : ${AR_FLAGS=cru}
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5756 $as_echo_n "checking for archiver @FILE support... " >&6; }
5757 if ${lt_cv_ar_at_file+:} false; then :
5758   $as_echo_n "(cached) " >&6
5759 else
5760   lt_cv_ar_at_file=no
5761    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5762 /* end confdefs.h.  */
5763
5764 int
5765 main ()
5766 {
5767
5768   ;
5769   return 0;
5770 }
5771 _ACEOF
5772 if ac_fn_c_try_compile "$LINENO"; then :
5773   echo conftest.$ac_objext > conftest.lst
5774       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5775       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5776   (eval $lt_ar_try) 2>&5
5777   ac_status=$?
5778   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5779   test $ac_status = 0; }
5780       if test "$ac_status" -eq 0; then
5781         # Ensure the archiver fails upon bogus file names.
5782         rm -f conftest.$ac_objext libconftest.a
5783         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5784   (eval $lt_ar_try) 2>&5
5785   ac_status=$?
5786   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5787   test $ac_status = 0; }
5788         if test "$ac_status" -ne 0; then
5789           lt_cv_ar_at_file=@
5790         fi
5791       fi
5792       rm -f conftest.* libconftest.a
5793
5794 fi
5795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5796
5797 fi
5798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5799 $as_echo "$lt_cv_ar_at_file" >&6; }
5800
5801 if test "x$lt_cv_ar_at_file" = xno; then
5802   archiver_list_spec=
5803 else
5804   archiver_list_spec=$lt_cv_ar_at_file
5805 fi
5806
5807
5808
5809
5810
5811
5812
5813 if test -n "$ac_tool_prefix"; then
5814   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5815 set dummy ${ac_tool_prefix}strip; ac_word=$2
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5817 $as_echo_n "checking for $ac_word... " >&6; }
5818 if ${ac_cv_prog_STRIP+:} false; then :
5819   $as_echo_n "(cached) " >&6
5820 else
5821   if test -n "$STRIP"; then
5822   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5823 else
5824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5825 for as_dir in $PATH
5826 do
5827   IFS=$as_save_IFS
5828   test -z "$as_dir" && as_dir=.
5829     for ac_exec_ext in '' $ac_executable_extensions; do
5830   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5831     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5832     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5833     break 2
5834   fi
5835 done
5836   done
5837 IFS=$as_save_IFS
5838
5839 fi
5840 fi
5841 STRIP=$ac_cv_prog_STRIP
5842 if test -n "$STRIP"; then
5843   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5844 $as_echo "$STRIP" >&6; }
5845 else
5846   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5847 $as_echo "no" >&6; }
5848 fi
5849
5850
5851 fi
5852 if test -z "$ac_cv_prog_STRIP"; then
5853   ac_ct_STRIP=$STRIP
5854   # Extract the first word of "strip", so it can be a program name with args.
5855 set dummy strip; ac_word=$2
5856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5857 $as_echo_n "checking for $ac_word... " >&6; }
5858 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5859   $as_echo_n "(cached) " >&6
5860 else
5861   if test -n "$ac_ct_STRIP"; then
5862   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5863 else
5864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5865 for as_dir in $PATH
5866 do
5867   IFS=$as_save_IFS
5868   test -z "$as_dir" && as_dir=.
5869     for ac_exec_ext in '' $ac_executable_extensions; do
5870   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5871     ac_cv_prog_ac_ct_STRIP="strip"
5872     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5873     break 2
5874   fi
5875 done
5876   done
5877 IFS=$as_save_IFS
5878
5879 fi
5880 fi
5881 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5882 if test -n "$ac_ct_STRIP"; then
5883   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5884 $as_echo "$ac_ct_STRIP" >&6; }
5885 else
5886   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5887 $as_echo "no" >&6; }
5888 fi
5889
5890   if test "x$ac_ct_STRIP" = x; then
5891     STRIP=":"
5892   else
5893     case $cross_compiling:$ac_tool_warned in
5894 yes:)
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5896 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5897 ac_tool_warned=yes ;;
5898 esac
5899     STRIP=$ac_ct_STRIP
5900   fi
5901 else
5902   STRIP="$ac_cv_prog_STRIP"
5903 fi
5904
5905 test -z "$STRIP" && STRIP=:
5906
5907
5908
5909
5910
5911
5912 if test -n "$ac_tool_prefix"; then
5913   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5914 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5916 $as_echo_n "checking for $ac_word... " >&6; }
5917 if ${ac_cv_prog_RANLIB+:} false; then :
5918   $as_echo_n "(cached) " >&6
5919 else
5920   if test -n "$RANLIB"; then
5921   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5922 else
5923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5924 for as_dir in $PATH
5925 do
5926   IFS=$as_save_IFS
5927   test -z "$as_dir" && as_dir=.
5928     for ac_exec_ext in '' $ac_executable_extensions; do
5929   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5930     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5931     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5932     break 2
5933   fi
5934 done
5935   done
5936 IFS=$as_save_IFS
5937
5938 fi
5939 fi
5940 RANLIB=$ac_cv_prog_RANLIB
5941 if test -n "$RANLIB"; then
5942   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5943 $as_echo "$RANLIB" >&6; }
5944 else
5945   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5946 $as_echo "no" >&6; }
5947 fi
5948
5949
5950 fi
5951 if test -z "$ac_cv_prog_RANLIB"; then
5952   ac_ct_RANLIB=$RANLIB
5953   # Extract the first word of "ranlib", so it can be a program name with args.
5954 set dummy ranlib; ac_word=$2
5955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5956 $as_echo_n "checking for $ac_word... " >&6; }
5957 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5958   $as_echo_n "(cached) " >&6
5959 else
5960   if test -n "$ac_ct_RANLIB"; then
5961   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5962 else
5963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5964 for as_dir in $PATH
5965 do
5966   IFS=$as_save_IFS
5967   test -z "$as_dir" && as_dir=.
5968     for ac_exec_ext in '' $ac_executable_extensions; do
5969   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5970     ac_cv_prog_ac_ct_RANLIB="ranlib"
5971     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5972     break 2
5973   fi
5974 done
5975   done
5976 IFS=$as_save_IFS
5977
5978 fi
5979 fi
5980 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5981 if test -n "$ac_ct_RANLIB"; then
5982   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5983 $as_echo "$ac_ct_RANLIB" >&6; }
5984 else
5985   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5986 $as_echo "no" >&6; }
5987 fi
5988
5989   if test "x$ac_ct_RANLIB" = x; then
5990     RANLIB=":"
5991   else
5992     case $cross_compiling:$ac_tool_warned in
5993 yes:)
5994 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5995 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5996 ac_tool_warned=yes ;;
5997 esac
5998     RANLIB=$ac_ct_RANLIB
5999   fi
6000 else
6001   RANLIB="$ac_cv_prog_RANLIB"
6002 fi
6003
6004 test -z "$RANLIB" && RANLIB=:
6005
6006
6007
6008
6009
6010
6011 # Determine commands to create old-style static archives.
6012 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6013 old_postinstall_cmds='chmod 644 $oldlib'
6014 old_postuninstall_cmds=
6015
6016 if test -n "$RANLIB"; then
6017   case $host_os in
6018   openbsd*)
6019     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6020     ;;
6021   *)
6022     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6023     ;;
6024   esac
6025   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6026 fi
6027
6028 case $host_os in
6029   darwin*)
6030     lock_old_archive_extraction=yes ;;
6031   *)
6032     lock_old_archive_extraction=no ;;
6033 esac
6034
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 # If no C compiler was specified, use CC.
6074 LTCC=${LTCC-"$CC"}
6075
6076 # If no C compiler flags were specified, use CFLAGS.
6077 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6078
6079 # Allow CC to be a program name with arguments.
6080 compiler=$CC
6081
6082
6083 # Check for command to grab the raw symbol name followed by C symbol from nm.
6084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6085 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6086 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6087   $as_echo_n "(cached) " >&6
6088 else
6089
6090 # These are sane defaults that work on at least a few old systems.
6091 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6092
6093 # Character class describing NM global symbol codes.
6094 symcode='[BCDEGRST]'
6095
6096 # Regexp to match symbols that can be accessed directly from C.
6097 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6098
6099 # Define system-specific variables.
6100 case $host_os in
6101 aix*)
6102   symcode='[BCDT]'
6103   ;;
6104 cygwin* | mingw* | pw32* | cegcc*)
6105   symcode='[ABCDGISTW]'
6106   ;;
6107 hpux*)
6108   if test "$host_cpu" = ia64; then
6109     symcode='[ABCDEGRST]'
6110   fi
6111   ;;
6112 irix* | nonstopux*)
6113   symcode='[BCDEGRST]'
6114   ;;
6115 osf*)
6116   symcode='[BCDEGQRST]'
6117   ;;
6118 solaris*)
6119   symcode='[BDRT]'
6120   ;;
6121 sco3.2v5*)
6122   symcode='[DT]'
6123   ;;
6124 sysv4.2uw2*)
6125   symcode='[DT]'
6126   ;;
6127 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6128   symcode='[ABDT]'
6129   ;;
6130 sysv4)
6131   symcode='[DFNSTU]'
6132   ;;
6133 esac
6134
6135 # If we're using GNU nm, then use its standard symbol codes.
6136 case `$NM -V 2>&1` in
6137 *GNU* | *'with BFD'*)
6138   symcode='[ABCDGIRSTW]' ;;
6139 esac
6140
6141 # Transform an extracted symbol line into a proper C declaration.
6142 # Some systems (esp. on ia64) link data and code symbols differently,
6143 # so use this general approach.
6144 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6145
6146 # Transform an extracted symbol line into symbol name and symbol address
6147 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6148 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'"
6149
6150 # Handle CRLF in mingw tool chain
6151 opt_cr=
6152 case $build_os in
6153 mingw*)
6154   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6155   ;;
6156 esac
6157
6158 # Try without a prefix underscore, then with it.
6159 for ac_symprfx in "" "_"; do
6160
6161   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6162   symxfrm="\\1 $ac_symprfx\\2 \\2"
6163
6164   # Write the raw and C identifiers.
6165   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6166     # Fake it for dumpbin and say T for any non-static function
6167     # and D for any global variable.
6168     # Also find C++ and __fastcall symbols from MSVC++,
6169     # which start with @ or ?.
6170     lt_cv_sys_global_symbol_pipe="$AWK '"\
6171 "     {last_section=section; section=\$ 3};"\
6172 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6173 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6174 "     \$ 0!~/External *\|/{next};"\
6175 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6176 "     {if(hide[section]) next};"\
6177 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6178 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6179 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6180 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6181 "     ' prfx=^$ac_symprfx"
6182   else
6183     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6184   fi
6185   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6186
6187   # Check to see that the pipe works correctly.
6188   pipe_works=no
6189
6190   rm -f conftest*
6191   cat > conftest.$ac_ext <<_LT_EOF
6192 #ifdef __cplusplus
6193 extern "C" {
6194 #endif
6195 char nm_test_var;
6196 void nm_test_func(void);
6197 void nm_test_func(void){}
6198 #ifdef __cplusplus
6199 }
6200 #endif
6201 int main(){nm_test_var='a';nm_test_func();return(0);}
6202 _LT_EOF
6203
6204   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6205   (eval $ac_compile) 2>&5
6206   ac_status=$?
6207   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6208   test $ac_status = 0; }; then
6209     # Now try to grab the symbols.
6210     nlist=conftest.nm
6211     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6212   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6213   ac_status=$?
6214   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6215   test $ac_status = 0; } && test -s "$nlist"; then
6216       # Try sorting and uniquifying the output.
6217       if sort "$nlist" | uniq > "$nlist"T; then
6218         mv -f "$nlist"T "$nlist"
6219       else
6220         rm -f "$nlist"T
6221       fi
6222
6223       # Make sure that we snagged all the symbols we need.
6224       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6225         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6226           cat <<_LT_EOF > conftest.$ac_ext
6227 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6228 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6229 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6230    relocations are performed -- see ld's documentation on pseudo-relocs.  */
6231 # define LT_DLSYM_CONST
6232 #elif defined(__osf__)
6233 /* This system does not cope well with relocations in const data.  */
6234 # define LT_DLSYM_CONST
6235 #else
6236 # define LT_DLSYM_CONST const
6237 #endif
6238
6239 #ifdef __cplusplus
6240 extern "C" {
6241 #endif
6242
6243 _LT_EOF
6244           # Now generate the symbol file.
6245           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6246
6247           cat <<_LT_EOF >> conftest.$ac_ext
6248
6249 /* The mapping between symbol names and symbols.  */
6250 LT_DLSYM_CONST struct {
6251   const char *name;
6252   void       *address;
6253 }
6254 lt__PROGRAM__LTX_preloaded_symbols[] =
6255 {
6256   { "@PROGRAM@", (void *) 0 },
6257 _LT_EOF
6258           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6259           cat <<\_LT_EOF >> conftest.$ac_ext
6260   {0, (void *) 0}
6261 };
6262
6263 /* This works around a problem in FreeBSD linker */
6264 #ifdef FREEBSD_WORKAROUND
6265 static const void *lt_preloaded_setup() {
6266   return lt__PROGRAM__LTX_preloaded_symbols;
6267 }
6268 #endif
6269
6270 #ifdef __cplusplus
6271 }
6272 #endif
6273 _LT_EOF
6274           # Now try linking the two files.
6275           mv conftest.$ac_objext conftstm.$ac_objext
6276           lt_globsym_save_LIBS=$LIBS
6277           lt_globsym_save_CFLAGS=$CFLAGS
6278           LIBS="conftstm.$ac_objext"
6279           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6280           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6281   (eval $ac_link) 2>&5
6282   ac_status=$?
6283   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6284   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6285             pipe_works=yes
6286           fi
6287           LIBS=$lt_globsym_save_LIBS
6288           CFLAGS=$lt_globsym_save_CFLAGS
6289         else
6290           echo "cannot find nm_test_func in $nlist" >&5
6291         fi
6292       else
6293         echo "cannot find nm_test_var in $nlist" >&5
6294       fi
6295     else
6296       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6297     fi
6298   else
6299     echo "$progname: failed program was:" >&5
6300     cat conftest.$ac_ext >&5
6301   fi
6302   rm -rf conftest* conftst*
6303
6304   # Do not use the global_symbol_pipe unless it works.
6305   if test "$pipe_works" = yes; then
6306     break
6307   else
6308     lt_cv_sys_global_symbol_pipe=
6309   fi
6310 done
6311
6312 fi
6313
6314 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6315   lt_cv_sys_global_symbol_to_cdecl=
6316 fi
6317 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6318   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6319 $as_echo "failed" >&6; }
6320 else
6321   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6322 $as_echo "ok" >&6; }
6323 fi
6324
6325 # Response file support.
6326 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6327   nm_file_list_spec='@'
6328 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6329   nm_file_list_spec='@'
6330 fi
6331
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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6359 $as_echo_n "checking for sysroot... " >&6; }
6360
6361 # Check whether --with-sysroot was given.
6362 if test "${with_sysroot+set}" = set; then :
6363   withval=$with_sysroot;
6364 else
6365   with_sysroot=no
6366 fi
6367
6368
6369 lt_sysroot=
6370 case ${with_sysroot} in #(
6371  yes)
6372    if test "$GCC" = yes; then
6373      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6374    fi
6375    ;; #(
6376  /*)
6377    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6378    ;; #(
6379  no|'')
6380    ;; #(
6381  *)
6382    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6383 $as_echo "${with_sysroot}" >&6; }
6384    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6385    ;;
6386 esac
6387
6388  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6389 $as_echo "${lt_sysroot:-no}" >&6; }
6390
6391
6392
6393
6394
6395 # Check whether --enable-libtool-lock was given.
6396 if test "${enable_libtool_lock+set}" = set; then :
6397   enableval=$enable_libtool_lock;
6398 fi
6399
6400 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6401
6402 # Some flags need to be propagated to the compiler or linker for good
6403 # libtool support.
6404 case $host in
6405 ia64-*-hpux*)
6406   # Find out which ABI we are using.
6407   echo 'int i;' > conftest.$ac_ext
6408   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6409   (eval $ac_compile) 2>&5
6410   ac_status=$?
6411   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6412   test $ac_status = 0; }; then
6413     case `/usr/bin/file conftest.$ac_objext` in
6414       *ELF-32*)
6415         HPUX_IA64_MODE="32"
6416         ;;
6417       *ELF-64*)
6418         HPUX_IA64_MODE="64"
6419         ;;
6420     esac
6421   fi
6422   rm -rf conftest*
6423   ;;
6424 *-*-irix6*)
6425   # Find out which ABI we are using.
6426   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6427   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6428   (eval $ac_compile) 2>&5
6429   ac_status=$?
6430   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6431   test $ac_status = 0; }; then
6432     if test "$lt_cv_prog_gnu_ld" = yes; then
6433       case `/usr/bin/file conftest.$ac_objext` in
6434         *32-bit*)
6435           LD="${LD-ld} -melf32bsmip"
6436           ;;
6437         *N32*)
6438           LD="${LD-ld} -melf32bmipn32"
6439           ;;
6440         *64-bit*)
6441           LD="${LD-ld} -melf64bmip"
6442         ;;
6443       esac
6444     else
6445       case `/usr/bin/file conftest.$ac_objext` in
6446         *32-bit*)
6447           LD="${LD-ld} -32"
6448           ;;
6449         *N32*)
6450           LD="${LD-ld} -n32"
6451           ;;
6452         *64-bit*)
6453           LD="${LD-ld} -64"
6454           ;;
6455       esac
6456     fi
6457   fi
6458   rm -rf conftest*
6459   ;;
6460
6461 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6462 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6463   # Find out which ABI we are using.
6464   echo 'int i;' > conftest.$ac_ext
6465   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6466   (eval $ac_compile) 2>&5
6467   ac_status=$?
6468   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6469   test $ac_status = 0; }; then
6470     case `/usr/bin/file conftest.o` in
6471       *32-bit*)
6472         case $host in
6473           x86_64-*kfreebsd*-gnu)
6474             LD="${LD-ld} -m elf_i386_fbsd"
6475             ;;
6476           x86_64-*linux*)
6477             case `/usr/bin/file conftest.o` in
6478               *x86-64*)
6479                 LD="${LD-ld} -m elf32_x86_64"
6480                 ;;
6481               *)
6482                 LD="${LD-ld} -m elf_i386"
6483                 ;;
6484             esac
6485             ;;
6486           powerpc64le-*)
6487             LD="${LD-ld} -m elf32lppclinux"
6488             ;;
6489           powerpc64-*)
6490             LD="${LD-ld} -m elf32ppclinux"
6491             ;;
6492           s390x-*linux*)
6493             LD="${LD-ld} -m elf_s390"
6494             ;;
6495           sparc64-*linux*)
6496             LD="${LD-ld} -m elf32_sparc"
6497             ;;
6498         esac
6499         ;;
6500       *64-bit*)
6501         case $host in
6502           x86_64-*kfreebsd*-gnu)
6503             LD="${LD-ld} -m elf_x86_64_fbsd"
6504             ;;
6505           x86_64-*linux*)
6506             LD="${LD-ld} -m elf_x86_64"
6507             ;;
6508           powerpcle-*)
6509             LD="${LD-ld} -m elf64lppc"
6510             ;;
6511           powerpc-*)
6512             LD="${LD-ld} -m elf64ppc"
6513             ;;
6514           s390*-*linux*|s390*-*tpf*)
6515             LD="${LD-ld} -m elf64_s390"
6516             ;;
6517           sparc*-*linux*)
6518             LD="${LD-ld} -m elf64_sparc"
6519             ;;
6520         esac
6521         ;;
6522     esac
6523   fi
6524   rm -rf conftest*
6525   ;;
6526
6527 *-*-sco3.2v5*)
6528   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6529   SAVE_CFLAGS="$CFLAGS"
6530   CFLAGS="$CFLAGS -belf"
6531   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6532 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6533 if ${lt_cv_cc_needs_belf+:} false; then :
6534   $as_echo_n "(cached) " >&6
6535 else
6536   ac_ext=c
6537 ac_cpp='$CPP $CPPFLAGS'
6538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6541
6542      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6543 /* end confdefs.h.  */
6544
6545 int
6546 main ()
6547 {
6548
6549   ;
6550   return 0;
6551 }
6552 _ACEOF
6553 if ac_fn_c_try_link "$LINENO"; then :
6554   lt_cv_cc_needs_belf=yes
6555 else
6556   lt_cv_cc_needs_belf=no
6557 fi
6558 rm -f core conftest.err conftest.$ac_objext \
6559     conftest$ac_exeext conftest.$ac_ext
6560      ac_ext=c
6561 ac_cpp='$CPP $CPPFLAGS'
6562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6565
6566 fi
6567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6568 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6569   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6570     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6571     CFLAGS="$SAVE_CFLAGS"
6572   fi
6573   ;;
6574 *-*solaris*)
6575   # Find out which ABI we are using.
6576   echo 'int i;' > conftest.$ac_ext
6577   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6578   (eval $ac_compile) 2>&5
6579   ac_status=$?
6580   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6581   test $ac_status = 0; }; then
6582     case `/usr/bin/file conftest.o` in
6583     *64-bit*)
6584       case $lt_cv_prog_gnu_ld in
6585       yes*)
6586         case $host in
6587         i?86-*-solaris*)
6588           LD="${LD-ld} -m elf_x86_64"
6589           ;;
6590         sparc*-*-solaris*)
6591           LD="${LD-ld} -m elf64_sparc"
6592           ;;
6593         esac
6594         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6595         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6596           LD="${LD-ld}_sol2"
6597         fi
6598         ;;
6599       *)
6600         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6601           LD="${LD-ld} -64"
6602         fi
6603         ;;
6604       esac
6605       ;;
6606     esac
6607   fi
6608   rm -rf conftest*
6609   ;;
6610 esac
6611
6612 need_locks="$enable_libtool_lock"
6613
6614 if test -n "$ac_tool_prefix"; then
6615   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6616 set dummy ${ac_tool_prefix}mt; ac_word=$2
6617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6618 $as_echo_n "checking for $ac_word... " >&6; }
6619 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6620   $as_echo_n "(cached) " >&6
6621 else
6622   if test -n "$MANIFEST_TOOL"; then
6623   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6624 else
6625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6626 for as_dir in $PATH
6627 do
6628   IFS=$as_save_IFS
6629   test -z "$as_dir" && as_dir=.
6630     for ac_exec_ext in '' $ac_executable_extensions; do
6631   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6632     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6633     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6634     break 2
6635   fi
6636 done
6637   done
6638 IFS=$as_save_IFS
6639
6640 fi
6641 fi
6642 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6643 if test -n "$MANIFEST_TOOL"; then
6644   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6645 $as_echo "$MANIFEST_TOOL" >&6; }
6646 else
6647   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6648 $as_echo "no" >&6; }
6649 fi
6650
6651
6652 fi
6653 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6654   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6655   # Extract the first word of "mt", so it can be a program name with args.
6656 set dummy mt; ac_word=$2
6657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6658 $as_echo_n "checking for $ac_word... " >&6; }
6659 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6660   $as_echo_n "(cached) " >&6
6661 else
6662   if test -n "$ac_ct_MANIFEST_TOOL"; then
6663   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6664 else
6665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6666 for as_dir in $PATH
6667 do
6668   IFS=$as_save_IFS
6669   test -z "$as_dir" && as_dir=.
6670     for ac_exec_ext in '' $ac_executable_extensions; do
6671   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6672     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6673     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6674     break 2
6675   fi
6676 done
6677   done
6678 IFS=$as_save_IFS
6679
6680 fi
6681 fi
6682 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6683 if test -n "$ac_ct_MANIFEST_TOOL"; then
6684   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6685 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6686 else
6687   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6688 $as_echo "no" >&6; }
6689 fi
6690
6691   if test "x$ac_ct_MANIFEST_TOOL" = x; then
6692     MANIFEST_TOOL=":"
6693   else
6694     case $cross_compiling:$ac_tool_warned in
6695 yes:)
6696 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6697 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6698 ac_tool_warned=yes ;;
6699 esac
6700     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6701   fi
6702 else
6703   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6704 fi
6705
6706 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6708 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6709 if ${lt_cv_path_mainfest_tool+:} false; then :
6710   $as_echo_n "(cached) " >&6
6711 else
6712   lt_cv_path_mainfest_tool=no
6713   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6714   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6715   cat conftest.err >&5
6716   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6717     lt_cv_path_mainfest_tool=yes
6718   fi
6719   rm -f conftest*
6720 fi
6721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6722 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6723 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6724   MANIFEST_TOOL=:
6725 fi
6726
6727
6728
6729
6730
6731
6732   case $host_os in
6733     rhapsody* | darwin*)
6734     if test -n "$ac_tool_prefix"; then
6735   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6736 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6738 $as_echo_n "checking for $ac_word... " >&6; }
6739 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6740   $as_echo_n "(cached) " >&6
6741 else
6742   if test -n "$DSYMUTIL"; then
6743   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6744 else
6745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6746 for as_dir in $PATH
6747 do
6748   IFS=$as_save_IFS
6749   test -z "$as_dir" && as_dir=.
6750     for ac_exec_ext in '' $ac_executable_extensions; do
6751   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6752     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6753     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6754     break 2
6755   fi
6756 done
6757   done
6758 IFS=$as_save_IFS
6759
6760 fi
6761 fi
6762 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6763 if test -n "$DSYMUTIL"; then
6764   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6765 $as_echo "$DSYMUTIL" >&6; }
6766 else
6767   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6768 $as_echo "no" >&6; }
6769 fi
6770
6771
6772 fi
6773 if test -z "$ac_cv_prog_DSYMUTIL"; then
6774   ac_ct_DSYMUTIL=$DSYMUTIL
6775   # Extract the first word of "dsymutil", so it can be a program name with args.
6776 set dummy dsymutil; ac_word=$2
6777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6778 $as_echo_n "checking for $ac_word... " >&6; }
6779 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6780   $as_echo_n "(cached) " >&6
6781 else
6782   if test -n "$ac_ct_DSYMUTIL"; then
6783   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6784 else
6785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6786 for as_dir in $PATH
6787 do
6788   IFS=$as_save_IFS
6789   test -z "$as_dir" && as_dir=.
6790     for ac_exec_ext in '' $ac_executable_extensions; do
6791   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6792     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6793     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6794     break 2
6795   fi
6796 done
6797   done
6798 IFS=$as_save_IFS
6799
6800 fi
6801 fi
6802 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6803 if test -n "$ac_ct_DSYMUTIL"; then
6804   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6805 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6806 else
6807   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6808 $as_echo "no" >&6; }
6809 fi
6810
6811   if test "x$ac_ct_DSYMUTIL" = x; then
6812     DSYMUTIL=":"
6813   else
6814     case $cross_compiling:$ac_tool_warned in
6815 yes:)
6816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6817 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6818 ac_tool_warned=yes ;;
6819 esac
6820     DSYMUTIL=$ac_ct_DSYMUTIL
6821   fi
6822 else
6823   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6824 fi
6825
6826     if test -n "$ac_tool_prefix"; then
6827   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6828 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6830 $as_echo_n "checking for $ac_word... " >&6; }
6831 if ${ac_cv_prog_NMEDIT+:} false; then :
6832   $as_echo_n "(cached) " >&6
6833 else
6834   if test -n "$NMEDIT"; then
6835   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6836 else
6837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6838 for as_dir in $PATH
6839 do
6840   IFS=$as_save_IFS
6841   test -z "$as_dir" && as_dir=.
6842     for ac_exec_ext in '' $ac_executable_extensions; do
6843   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6844     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6845     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6846     break 2
6847   fi
6848 done
6849   done
6850 IFS=$as_save_IFS
6851
6852 fi
6853 fi
6854 NMEDIT=$ac_cv_prog_NMEDIT
6855 if test -n "$NMEDIT"; then
6856   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6857 $as_echo "$NMEDIT" >&6; }
6858 else
6859   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6860 $as_echo "no" >&6; }
6861 fi
6862
6863
6864 fi
6865 if test -z "$ac_cv_prog_NMEDIT"; then
6866   ac_ct_NMEDIT=$NMEDIT
6867   # Extract the first word of "nmedit", so it can be a program name with args.
6868 set dummy nmedit; ac_word=$2
6869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6870 $as_echo_n "checking for $ac_word... " >&6; }
6871 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6872   $as_echo_n "(cached) " >&6
6873 else
6874   if test -n "$ac_ct_NMEDIT"; then
6875   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6876 else
6877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6878 for as_dir in $PATH
6879 do
6880   IFS=$as_save_IFS
6881   test -z "$as_dir" && as_dir=.
6882     for ac_exec_ext in '' $ac_executable_extensions; do
6883   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6884     ac_cv_prog_ac_ct_NMEDIT="nmedit"
6885     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6886     break 2
6887   fi
6888 done
6889   done
6890 IFS=$as_save_IFS
6891
6892 fi
6893 fi
6894 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6895 if test -n "$ac_ct_NMEDIT"; then
6896   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6897 $as_echo "$ac_ct_NMEDIT" >&6; }
6898 else
6899   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6900 $as_echo "no" >&6; }
6901 fi
6902
6903   if test "x$ac_ct_NMEDIT" = x; then
6904     NMEDIT=":"
6905   else
6906     case $cross_compiling:$ac_tool_warned in
6907 yes:)
6908 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6909 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6910 ac_tool_warned=yes ;;
6911 esac
6912     NMEDIT=$ac_ct_NMEDIT
6913   fi
6914 else
6915   NMEDIT="$ac_cv_prog_NMEDIT"
6916 fi
6917
6918     if test -n "$ac_tool_prefix"; then
6919   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6920 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6922 $as_echo_n "checking for $ac_word... " >&6; }
6923 if ${ac_cv_prog_LIPO+:} false; then :
6924   $as_echo_n "(cached) " >&6
6925 else
6926   if test -n "$LIPO"; then
6927   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6928 else
6929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6930 for as_dir in $PATH
6931 do
6932   IFS=$as_save_IFS
6933   test -z "$as_dir" && as_dir=.
6934     for ac_exec_ext in '' $ac_executable_extensions; do
6935   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6936     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6937     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6938     break 2
6939   fi
6940 done
6941   done
6942 IFS=$as_save_IFS
6943
6944 fi
6945 fi
6946 LIPO=$ac_cv_prog_LIPO
6947 if test -n "$LIPO"; then
6948   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6949 $as_echo "$LIPO" >&6; }
6950 else
6951   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6952 $as_echo "no" >&6; }
6953 fi
6954
6955
6956 fi
6957 if test -z "$ac_cv_prog_LIPO"; then
6958   ac_ct_LIPO=$LIPO
6959   # Extract the first word of "lipo", so it can be a program name with args.
6960 set dummy lipo; ac_word=$2
6961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6962 $as_echo_n "checking for $ac_word... " >&6; }
6963 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6964   $as_echo_n "(cached) " >&6
6965 else
6966   if test -n "$ac_ct_LIPO"; then
6967   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6968 else
6969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6970 for as_dir in $PATH
6971 do
6972   IFS=$as_save_IFS
6973   test -z "$as_dir" && as_dir=.
6974     for ac_exec_ext in '' $ac_executable_extensions; do
6975   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6976     ac_cv_prog_ac_ct_LIPO="lipo"
6977     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6978     break 2
6979   fi
6980 done
6981   done
6982 IFS=$as_save_IFS
6983
6984 fi
6985 fi
6986 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6987 if test -n "$ac_ct_LIPO"; then
6988   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6989 $as_echo "$ac_ct_LIPO" >&6; }
6990 else
6991   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6992 $as_echo "no" >&6; }
6993 fi
6994
6995   if test "x$ac_ct_LIPO" = x; then
6996     LIPO=":"
6997   else
6998     case $cross_compiling:$ac_tool_warned in
6999 yes:)
7000 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7001 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7002 ac_tool_warned=yes ;;
7003 esac
7004     LIPO=$ac_ct_LIPO
7005   fi
7006 else
7007   LIPO="$ac_cv_prog_LIPO"
7008 fi
7009
7010     if test -n "$ac_tool_prefix"; then
7011   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7012 set dummy ${ac_tool_prefix}otool; ac_word=$2
7013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7014 $as_echo_n "checking for $ac_word... " >&6; }
7015 if ${ac_cv_prog_OTOOL+:} false; then :
7016   $as_echo_n "(cached) " >&6
7017 else
7018   if test -n "$OTOOL"; then
7019   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7020 else
7021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7022 for as_dir in $PATH
7023 do
7024   IFS=$as_save_IFS
7025   test -z "$as_dir" && as_dir=.
7026     for ac_exec_ext in '' $ac_executable_extensions; do
7027   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7028     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7029     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7030     break 2
7031   fi
7032 done
7033   done
7034 IFS=$as_save_IFS
7035
7036 fi
7037 fi
7038 OTOOL=$ac_cv_prog_OTOOL
7039 if test -n "$OTOOL"; then
7040   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7041 $as_echo "$OTOOL" >&6; }
7042 else
7043   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7044 $as_echo "no" >&6; }
7045 fi
7046
7047
7048 fi
7049 if test -z "$ac_cv_prog_OTOOL"; then
7050   ac_ct_OTOOL=$OTOOL
7051   # Extract the first word of "otool", so it can be a program name with args.
7052 set dummy otool; ac_word=$2
7053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7054 $as_echo_n "checking for $ac_word... " >&6; }
7055 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7056   $as_echo_n "(cached) " >&6
7057 else
7058   if test -n "$ac_ct_OTOOL"; then
7059   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7060 else
7061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7062 for as_dir in $PATH
7063 do
7064   IFS=$as_save_IFS
7065   test -z "$as_dir" && as_dir=.
7066     for ac_exec_ext in '' $ac_executable_extensions; do
7067   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7068     ac_cv_prog_ac_ct_OTOOL="otool"
7069     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7070     break 2
7071   fi
7072 done
7073   done
7074 IFS=$as_save_IFS
7075
7076 fi
7077 fi
7078 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7079 if test -n "$ac_ct_OTOOL"; then
7080   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7081 $as_echo "$ac_ct_OTOOL" >&6; }
7082 else
7083   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7084 $as_echo "no" >&6; }
7085 fi
7086
7087   if test "x$ac_ct_OTOOL" = x; then
7088     OTOOL=":"
7089   else
7090     case $cross_compiling:$ac_tool_warned in
7091 yes:)
7092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7093 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7094 ac_tool_warned=yes ;;
7095 esac
7096     OTOOL=$ac_ct_OTOOL
7097   fi
7098 else
7099   OTOOL="$ac_cv_prog_OTOOL"
7100 fi
7101
7102     if test -n "$ac_tool_prefix"; then
7103   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7104 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7106 $as_echo_n "checking for $ac_word... " >&6; }
7107 if ${ac_cv_prog_OTOOL64+:} false; then :
7108   $as_echo_n "(cached) " >&6
7109 else
7110   if test -n "$OTOOL64"; then
7111   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7112 else
7113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7114 for as_dir in $PATH
7115 do
7116   IFS=$as_save_IFS
7117   test -z "$as_dir" && as_dir=.
7118     for ac_exec_ext in '' $ac_executable_extensions; do
7119   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7120     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7121     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7122     break 2
7123   fi
7124 done
7125   done
7126 IFS=$as_save_IFS
7127
7128 fi
7129 fi
7130 OTOOL64=$ac_cv_prog_OTOOL64
7131 if test -n "$OTOOL64"; then
7132   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7133 $as_echo "$OTOOL64" >&6; }
7134 else
7135   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7136 $as_echo "no" >&6; }
7137 fi
7138
7139
7140 fi
7141 if test -z "$ac_cv_prog_OTOOL64"; then
7142   ac_ct_OTOOL64=$OTOOL64
7143   # Extract the first word of "otool64", so it can be a program name with args.
7144 set dummy otool64; ac_word=$2
7145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7146 $as_echo_n "checking for $ac_word... " >&6; }
7147 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7148   $as_echo_n "(cached) " >&6
7149 else
7150   if test -n "$ac_ct_OTOOL64"; then
7151   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7152 else
7153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7154 for as_dir in $PATH
7155 do
7156   IFS=$as_save_IFS
7157   test -z "$as_dir" && as_dir=.
7158     for ac_exec_ext in '' $ac_executable_extensions; do
7159   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7160     ac_cv_prog_ac_ct_OTOOL64="otool64"
7161     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7162     break 2
7163   fi
7164 done
7165   done
7166 IFS=$as_save_IFS
7167
7168 fi
7169 fi
7170 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7171 if test -n "$ac_ct_OTOOL64"; then
7172   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7173 $as_echo "$ac_ct_OTOOL64" >&6; }
7174 else
7175   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7176 $as_echo "no" >&6; }
7177 fi
7178
7179   if test "x$ac_ct_OTOOL64" = x; then
7180     OTOOL64=":"
7181   else
7182     case $cross_compiling:$ac_tool_warned in
7183 yes:)
7184 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7185 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7186 ac_tool_warned=yes ;;
7187 esac
7188     OTOOL64=$ac_ct_OTOOL64
7189   fi
7190 else
7191   OTOOL64="$ac_cv_prog_OTOOL64"
7192 fi
7193
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     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7221 $as_echo_n "checking for -single_module linker flag... " >&6; }
7222 if ${lt_cv_apple_cc_single_mod+:} false; then :
7223   $as_echo_n "(cached) " >&6
7224 else
7225   lt_cv_apple_cc_single_mod=no
7226       if test -z "${LT_MULTI_MODULE}"; then
7227         # By default we will add the -single_module flag. You can override
7228         # by either setting the environment variable LT_MULTI_MODULE
7229         # non-empty at configure time, or by adding -multi_module to the
7230         # link flags.
7231         rm -rf libconftest.dylib*
7232         echo "int foo(void){return 1;}" > conftest.c
7233         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7234 -dynamiclib -Wl,-single_module conftest.c" >&5
7235         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7236           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7237         _lt_result=$?
7238         # If there is a non-empty error log, and "single_module"
7239         # appears in it, assume the flag caused a linker warning
7240         if test -s conftest.err && $GREP single_module conftest.err; then
7241           cat conftest.err >&5
7242         # Otherwise, if the output was created with a 0 exit code from
7243         # the compiler, it worked.
7244         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7245           lt_cv_apple_cc_single_mod=yes
7246         else
7247           cat conftest.err >&5
7248         fi
7249         rm -rf libconftest.dylib*
7250         rm -f conftest.*
7251       fi
7252 fi
7253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7254 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7255
7256     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7257 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7258 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7259   $as_echo_n "(cached) " >&6
7260 else
7261   lt_cv_ld_exported_symbols_list=no
7262       save_LDFLAGS=$LDFLAGS
7263       echo "_main" > conftest.sym
7264       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7265       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7266 /* end confdefs.h.  */
7267
7268 int
7269 main ()
7270 {
7271
7272   ;
7273   return 0;
7274 }
7275 _ACEOF
7276 if ac_fn_c_try_link "$LINENO"; then :
7277   lt_cv_ld_exported_symbols_list=yes
7278 else
7279   lt_cv_ld_exported_symbols_list=no
7280 fi
7281 rm -f core conftest.err conftest.$ac_objext \
7282     conftest$ac_exeext conftest.$ac_ext
7283         LDFLAGS="$save_LDFLAGS"
7284
7285 fi
7286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7287 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7288
7289     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7290 $as_echo_n "checking for -force_load linker flag... " >&6; }
7291 if ${lt_cv_ld_force_load+:} false; then :
7292   $as_echo_n "(cached) " >&6
7293 else
7294   lt_cv_ld_force_load=no
7295       cat > conftest.c << _LT_EOF
7296 int forced_loaded() { return 2;}
7297 _LT_EOF
7298       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7299       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7300       echo "$AR cru libconftest.a conftest.o" >&5
7301       $AR cru libconftest.a conftest.o 2>&5
7302       echo "$RANLIB libconftest.a" >&5
7303       $RANLIB libconftest.a 2>&5
7304       cat > conftest.c << _LT_EOF
7305 int main() { return 0;}
7306 _LT_EOF
7307       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7308       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7309       _lt_result=$?
7310       if test -s conftest.err && $GREP force_load conftest.err; then
7311         cat conftest.err >&5
7312       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7313         lt_cv_ld_force_load=yes
7314       else
7315         cat conftest.err >&5
7316       fi
7317         rm -f conftest.err libconftest.a conftest conftest.c
7318         rm -rf conftest.dSYM
7319
7320 fi
7321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7322 $as_echo "$lt_cv_ld_force_load" >&6; }
7323     case $host_os in
7324     rhapsody* | darwin1.[012])
7325       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7326     darwin1.*)
7327       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7328     darwin*) # darwin 5.x on
7329       # if running on 10.5 or later, the deployment target defaults
7330       # to the OS version, if on x86, and 10.4, the deployment
7331       # target defaults to 10.4. Don't you love it?
7332       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7333         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7334           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7335         10.[012]*)
7336           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7337         10.*)
7338           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7339       esac
7340     ;;
7341   esac
7342     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7343       _lt_dar_single_mod='$single_module'
7344     fi
7345     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7346       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7347     else
7348       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7349     fi
7350     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7351       _lt_dsymutil='~$DSYMUTIL $lib || :'
7352     else
7353       _lt_dsymutil=
7354     fi
7355     ;;
7356   esac
7357
7358 ac_ext=c
7359 ac_cpp='$CPP $CPPFLAGS'
7360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7364 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7365 # On Suns, sometimes $CPP names a directory.
7366 if test -n "$CPP" && test -d "$CPP"; then
7367   CPP=
7368 fi
7369 if test -z "$CPP"; then
7370   if ${ac_cv_prog_CPP+:} false; then :
7371   $as_echo_n "(cached) " >&6
7372 else
7373       # Double quotes because CPP needs to be expanded
7374     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7375     do
7376       ac_preproc_ok=false
7377 for ac_c_preproc_warn_flag in '' yes
7378 do
7379   # Use a header file that comes with gcc, so configuring glibc
7380   # with a fresh cross-compiler works.
7381   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7382   # <limits.h> exists even on freestanding compilers.
7383   # On the NeXT, cc -E runs the code through the compiler's parser,
7384   # not just through cpp. "Syntax error" is here to catch this case.
7385   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7386 /* end confdefs.h.  */
7387 #ifdef __STDC__
7388 # include <limits.h>
7389 #else
7390 # include <assert.h>
7391 #endif
7392                      Syntax error
7393 _ACEOF
7394 if ac_fn_c_try_cpp "$LINENO"; then :
7395
7396 else
7397   # Broken: fails on valid input.
7398 continue
7399 fi
7400 rm -f conftest.err conftest.i conftest.$ac_ext
7401
7402   # OK, works on sane cases.  Now check whether nonexistent headers
7403   # can be detected and how.
7404   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7405 /* end confdefs.h.  */
7406 #include <ac_nonexistent.h>
7407 _ACEOF
7408 if ac_fn_c_try_cpp "$LINENO"; then :
7409   # Broken: success on invalid input.
7410 continue
7411 else
7412   # Passes both tests.
7413 ac_preproc_ok=:
7414 break
7415 fi
7416 rm -f conftest.err conftest.i conftest.$ac_ext
7417
7418 done
7419 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7420 rm -f conftest.i conftest.err conftest.$ac_ext
7421 if $ac_preproc_ok; then :
7422   break
7423 fi
7424
7425     done
7426     ac_cv_prog_CPP=$CPP
7427
7428 fi
7429   CPP=$ac_cv_prog_CPP
7430 else
7431   ac_cv_prog_CPP=$CPP
7432 fi
7433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7434 $as_echo "$CPP" >&6; }
7435 ac_preproc_ok=false
7436 for ac_c_preproc_warn_flag in '' yes
7437 do
7438   # Use a header file that comes with gcc, so configuring glibc
7439   # with a fresh cross-compiler works.
7440   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7441   # <limits.h> exists even on freestanding compilers.
7442   # On the NeXT, cc -E runs the code through the compiler's parser,
7443   # not just through cpp. "Syntax error" is here to catch this case.
7444   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7445 /* end confdefs.h.  */
7446 #ifdef __STDC__
7447 # include <limits.h>
7448 #else
7449 # include <assert.h>
7450 #endif
7451                      Syntax error
7452 _ACEOF
7453 if ac_fn_c_try_cpp "$LINENO"; then :
7454
7455 else
7456   # Broken: fails on valid input.
7457 continue
7458 fi
7459 rm -f conftest.err conftest.i conftest.$ac_ext
7460
7461   # OK, works on sane cases.  Now check whether nonexistent headers
7462   # can be detected and how.
7463   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7464 /* end confdefs.h.  */
7465 #include <ac_nonexistent.h>
7466 _ACEOF
7467 if ac_fn_c_try_cpp "$LINENO"; then :
7468   # Broken: success on invalid input.
7469 continue
7470 else
7471   # Passes both tests.
7472 ac_preproc_ok=:
7473 break
7474 fi
7475 rm -f conftest.err conftest.i conftest.$ac_ext
7476
7477 done
7478 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7479 rm -f conftest.i conftest.err conftest.$ac_ext
7480 if $ac_preproc_ok; then :
7481
7482 else
7483   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7484 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7485 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7486 See \`config.log' for more details" "$LINENO" 5; }
7487 fi
7488
7489 ac_ext=c
7490 ac_cpp='$CPP $CPPFLAGS'
7491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7494
7495
7496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7497 $as_echo_n "checking for ANSI C header files... " >&6; }
7498 if ${ac_cv_header_stdc+:} false; then :
7499   $as_echo_n "(cached) " >&6
7500 else
7501   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7502 /* end confdefs.h.  */
7503 #include <stdlib.h>
7504 #include <stdarg.h>
7505 #include <string.h>
7506 #include <float.h>
7507
7508 int
7509 main ()
7510 {
7511
7512   ;
7513   return 0;
7514 }
7515 _ACEOF
7516 if ac_fn_c_try_compile "$LINENO"; then :
7517   ac_cv_header_stdc=yes
7518 else
7519   ac_cv_header_stdc=no
7520 fi
7521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7522
7523 if test $ac_cv_header_stdc = yes; then
7524   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7525   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7526 /* end confdefs.h.  */
7527 #include <string.h>
7528
7529 _ACEOF
7530 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7531   $EGREP "memchr" >/dev/null 2>&1; then :
7532
7533 else
7534   ac_cv_header_stdc=no
7535 fi
7536 rm -f conftest*
7537
7538 fi
7539
7540 if test $ac_cv_header_stdc = yes; then
7541   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7542   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7543 /* end confdefs.h.  */
7544 #include <stdlib.h>
7545
7546 _ACEOF
7547 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7548   $EGREP "free" >/dev/null 2>&1; then :
7549
7550 else
7551   ac_cv_header_stdc=no
7552 fi
7553 rm -f conftest*
7554
7555 fi
7556
7557 if test $ac_cv_header_stdc = yes; then
7558   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7559   if test "$cross_compiling" = yes; then :
7560   :
7561 else
7562   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7563 /* end confdefs.h.  */
7564 #include <ctype.h>
7565 #include <stdlib.h>
7566 #if ((' ' & 0x0FF) == 0x020)
7567 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7568 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7569 #else
7570 # define ISLOWER(c) \
7571                    (('a' <= (c) && (c) <= 'i') \
7572                      || ('j' <= (c) && (c) <= 'r') \
7573                      || ('s' <= (c) && (c) <= 'z'))
7574 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7575 #endif
7576
7577 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7578 int
7579 main ()
7580 {
7581   int i;
7582   for (i = 0; i < 256; i++)
7583     if (XOR (islower (i), ISLOWER (i))
7584         || toupper (i) != TOUPPER (i))
7585       return 2;
7586   return 0;
7587 }
7588 _ACEOF
7589 if ac_fn_c_try_run "$LINENO"; then :
7590
7591 else
7592   ac_cv_header_stdc=no
7593 fi
7594 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7595   conftest.$ac_objext conftest.beam conftest.$ac_ext
7596 fi
7597
7598 fi
7599 fi
7600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7601 $as_echo "$ac_cv_header_stdc" >&6; }
7602 if test $ac_cv_header_stdc = yes; then
7603
7604 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7605
7606 fi
7607
7608 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7609 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7610                   inttypes.h stdint.h unistd.h
7611 do :
7612   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7613 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7614 "
7615 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7616   cat >>confdefs.h <<_ACEOF
7617 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7618 _ACEOF
7619
7620 fi
7621
7622 done
7623
7624
7625 for ac_header in dlfcn.h
7626 do :
7627   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7628 "
7629 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7630   cat >>confdefs.h <<_ACEOF
7631 #define HAVE_DLFCN_H 1
7632 _ACEOF
7633
7634 fi
7635
7636 done
7637
7638
7639
7640
7641
7642 # Set options
7643 # Check whether --enable-static was given.
7644 if test "${enable_static+set}" = set; then :
7645   enableval=$enable_static; p=${PACKAGE-default}
7646     case $enableval in
7647     yes) enable_static=yes ;;
7648     no) enable_static=no ;;
7649     *)
7650      enable_static=no
7651       # Look at the argument we got.  We use all the common list separators.
7652       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7653       for pkg in $enableval; do
7654         IFS="$lt_save_ifs"
7655         if test "X$pkg" = "X$p"; then
7656           enable_static=yes
7657         fi
7658       done
7659       IFS="$lt_save_ifs"
7660       ;;
7661     esac
7662 else
7663   enable_static=no
7664 fi
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675         enable_dlopen=no
7676
7677
7678   enable_win32_dll=no
7679
7680
7681             # Check whether --enable-shared was given.
7682 if test "${enable_shared+set}" = set; then :
7683   enableval=$enable_shared; p=${PACKAGE-default}
7684     case $enableval in
7685     yes) enable_shared=yes ;;
7686     no) enable_shared=no ;;
7687     *)
7688       enable_shared=no
7689       # Look at the argument we got.  We use all the common list separators.
7690       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7691       for pkg in $enableval; do
7692         IFS="$lt_save_ifs"
7693         if test "X$pkg" = "X$p"; then
7694           enable_shared=yes
7695         fi
7696       done
7697       IFS="$lt_save_ifs"
7698       ;;
7699     esac
7700 else
7701   enable_shared=yes
7702 fi
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714 # Check whether --with-pic was given.
7715 if test "${with_pic+set}" = set; then :
7716   withval=$with_pic; lt_p=${PACKAGE-default}
7717     case $withval in
7718     yes|no) pic_mode=$withval ;;
7719     *)
7720       pic_mode=default
7721       # Look at the argument we got.  We use all the common list separators.
7722       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7723       for lt_pkg in $withval; do
7724         IFS="$lt_save_ifs"
7725         if test "X$lt_pkg" = "X$lt_p"; then
7726           pic_mode=yes
7727         fi
7728       done
7729       IFS="$lt_save_ifs"
7730       ;;
7731     esac
7732 else
7733   pic_mode=default
7734 fi
7735
7736
7737 test -z "$pic_mode" && pic_mode=default
7738
7739
7740
7741
7742
7743
7744
7745   # Check whether --enable-fast-install was given.
7746 if test "${enable_fast_install+set}" = set; then :
7747   enableval=$enable_fast_install; p=${PACKAGE-default}
7748     case $enableval in
7749     yes) enable_fast_install=yes ;;
7750     no) enable_fast_install=no ;;
7751     *)
7752       enable_fast_install=no
7753       # Look at the argument we got.  We use all the common list separators.
7754       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7755       for pkg in $enableval; do
7756         IFS="$lt_save_ifs"
7757         if test "X$pkg" = "X$p"; then
7758           enable_fast_install=yes
7759         fi
7760       done
7761       IFS="$lt_save_ifs"
7762       ;;
7763     esac
7764 else
7765   enable_fast_install=yes
7766 fi
7767
7768
7769
7770
7771
7772
7773
7774
7775
7776
7777
7778 # This can be used to rebuild libtool when needed
7779 LIBTOOL_DEPS="$ltmain"
7780
7781 # Always use our own libtool.
7782 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7783
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 test -z "$LN_S" && LN_S="ln -s"
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828 if test -n "${ZSH_VERSION+set}" ; then
7829    setopt NO_GLOB_SUBST
7830 fi
7831
7832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7833 $as_echo_n "checking for objdir... " >&6; }
7834 if ${lt_cv_objdir+:} false; then :
7835   $as_echo_n "(cached) " >&6
7836 else
7837   rm -f .libs 2>/dev/null
7838 mkdir .libs 2>/dev/null
7839 if test -d .libs; then
7840   lt_cv_objdir=.libs
7841 else
7842   # MS-DOS does not allow filenames that begin with a dot.
7843   lt_cv_objdir=_libs
7844 fi
7845 rmdir .libs 2>/dev/null
7846 fi
7847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7848 $as_echo "$lt_cv_objdir" >&6; }
7849 objdir=$lt_cv_objdir
7850
7851
7852
7853
7854
7855 cat >>confdefs.h <<_ACEOF
7856 #define LT_OBJDIR "$lt_cv_objdir/"
7857 _ACEOF
7858
7859
7860
7861
7862 case $host_os in
7863 aix3*)
7864   # AIX sometimes has problems with the GCC collect2 program.  For some
7865   # reason, if we set the COLLECT_NAMES environment variable, the problems
7866   # vanish in a puff of smoke.
7867   if test "X${COLLECT_NAMES+set}" != Xset; then
7868     COLLECT_NAMES=
7869     export COLLECT_NAMES
7870   fi
7871   ;;
7872 esac
7873
7874 # Global variables:
7875 ofile=libtool
7876 can_build_shared=yes
7877
7878 # All known linkers require a `.a' archive for static linking (except MSVC,
7879 # which needs '.lib').
7880 libext=a
7881
7882 with_gnu_ld="$lt_cv_prog_gnu_ld"
7883
7884 old_CC="$CC"
7885 old_CFLAGS="$CFLAGS"
7886
7887 # Set sane defaults for various variables
7888 test -z "$CC" && CC=cc
7889 test -z "$LTCC" && LTCC=$CC
7890 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7891 test -z "$LD" && LD=ld
7892 test -z "$ac_objext" && ac_objext=o
7893
7894 for cc_temp in $compiler""; do
7895   case $cc_temp in
7896     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7897     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7898     \-*) ;;
7899     *) break;;
7900   esac
7901 done
7902 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7903
7904
7905 # Only perform the check for file, if the check method requires it
7906 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7907 case $deplibs_check_method in
7908 file_magic*)
7909   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7910     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7911 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7912 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7913   $as_echo_n "(cached) " >&6
7914 else
7915   case $MAGIC_CMD in
7916 [\\/*] |  ?:[\\/]*)
7917   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7918   ;;
7919 *)
7920   lt_save_MAGIC_CMD="$MAGIC_CMD"
7921   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7922   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7923   for ac_dir in $ac_dummy; do
7924     IFS="$lt_save_ifs"
7925     test -z "$ac_dir" && ac_dir=.
7926     if test -f $ac_dir/${ac_tool_prefix}file; then
7927       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7928       if test -n "$file_magic_test_file"; then
7929         case $deplibs_check_method in
7930         "file_magic "*)
7931           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7932           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7933           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7934             $EGREP "$file_magic_regex" > /dev/null; then
7935             :
7936           else
7937             cat <<_LT_EOF 1>&2
7938
7939 *** Warning: the command libtool uses to detect shared libraries,
7940 *** $file_magic_cmd, produces output that libtool cannot recognize.
7941 *** The result is that libtool may fail to recognize shared libraries
7942 *** as such.  This will affect the creation of libtool libraries that
7943 *** depend on shared libraries, but programs linked with such libtool
7944 *** libraries will work regardless of this problem.  Nevertheless, you
7945 *** may want to report the problem to your system manager and/or to
7946 *** bug-libtool@gnu.org
7947
7948 _LT_EOF
7949           fi ;;
7950         esac
7951       fi
7952       break
7953     fi
7954   done
7955   IFS="$lt_save_ifs"
7956   MAGIC_CMD="$lt_save_MAGIC_CMD"
7957   ;;
7958 esac
7959 fi
7960
7961 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7962 if test -n "$MAGIC_CMD"; then
7963   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7964 $as_echo "$MAGIC_CMD" >&6; }
7965 else
7966   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7967 $as_echo "no" >&6; }
7968 fi
7969
7970
7971
7972
7973
7974 if test -z "$lt_cv_path_MAGIC_CMD"; then
7975   if test -n "$ac_tool_prefix"; then
7976     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7977 $as_echo_n "checking for file... " >&6; }
7978 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7979   $as_echo_n "(cached) " >&6
7980 else
7981   case $MAGIC_CMD in
7982 [\\/*] |  ?:[\\/]*)
7983   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7984   ;;
7985 *)
7986   lt_save_MAGIC_CMD="$MAGIC_CMD"
7987   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7988   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7989   for ac_dir in $ac_dummy; do
7990     IFS="$lt_save_ifs"
7991     test -z "$ac_dir" && ac_dir=.
7992     if test -f $ac_dir/file; then
7993       lt_cv_path_MAGIC_CMD="$ac_dir/file"
7994       if test -n "$file_magic_test_file"; then
7995         case $deplibs_check_method in
7996         "file_magic "*)
7997           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7998           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7999           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8000             $EGREP "$file_magic_regex" > /dev/null; then
8001             :
8002           else
8003             cat <<_LT_EOF 1>&2
8004
8005 *** Warning: the command libtool uses to detect shared libraries,
8006 *** $file_magic_cmd, produces output that libtool cannot recognize.
8007 *** The result is that libtool may fail to recognize shared libraries
8008 *** as such.  This will affect the creation of libtool libraries that
8009 *** depend on shared libraries, but programs linked with such libtool
8010 *** libraries will work regardless of this problem.  Nevertheless, you
8011 *** may want to report the problem to your system manager and/or to
8012 *** bug-libtool@gnu.org
8013
8014 _LT_EOF
8015           fi ;;
8016         esac
8017       fi
8018       break
8019     fi
8020   done
8021   IFS="$lt_save_ifs"
8022   MAGIC_CMD="$lt_save_MAGIC_CMD"
8023   ;;
8024 esac
8025 fi
8026
8027 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8028 if test -n "$MAGIC_CMD"; then
8029   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8030 $as_echo "$MAGIC_CMD" >&6; }
8031 else
8032   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8033 $as_echo "no" >&6; }
8034 fi
8035
8036
8037   else
8038     MAGIC_CMD=:
8039   fi
8040 fi
8041
8042   fi
8043   ;;
8044 esac
8045
8046 # Use C for the default configuration in the libtool script
8047
8048 lt_save_CC="$CC"
8049 ac_ext=c
8050 ac_cpp='$CPP $CPPFLAGS'
8051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8054
8055
8056 # Source file extension for C test sources.
8057 ac_ext=c
8058
8059 # Object file extension for compiled C test sources.
8060 objext=o
8061 objext=$objext
8062
8063 # Code to be used in simple compile tests
8064 lt_simple_compile_test_code="int some_variable = 0;"
8065
8066 # Code to be used in simple link tests
8067 lt_simple_link_test_code='int main(){return(0);}'
8068
8069
8070
8071
8072
8073
8074
8075 # If no C compiler was specified, use CC.
8076 LTCC=${LTCC-"$CC"}
8077
8078 # If no C compiler flags were specified, use CFLAGS.
8079 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8080
8081 # Allow CC to be a program name with arguments.
8082 compiler=$CC
8083
8084 # Save the default compiler, since it gets overwritten when the other
8085 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8086 compiler_DEFAULT=$CC
8087
8088 # save warnings/boilerplate of simple test code
8089 ac_outfile=conftest.$ac_objext
8090 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8091 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8092 _lt_compiler_boilerplate=`cat conftest.err`
8093 $RM conftest*
8094
8095 ac_outfile=conftest.$ac_objext
8096 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8097 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8098 _lt_linker_boilerplate=`cat conftest.err`
8099 $RM -r conftest*
8100
8101
8102 ## CAVEAT EMPTOR:
8103 ## There is no encapsulation within the following macros, do not change
8104 ## the running order or otherwise move them around unless you know exactly
8105 ## what you are doing...
8106 if test -n "$compiler"; then
8107
8108 lt_prog_compiler_no_builtin_flag=
8109
8110 if test "$GCC" = yes; then
8111   case $cc_basename in
8112   nvcc*)
8113     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8114   *)
8115     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8116   esac
8117
8118   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8119 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8120 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8121   $as_echo_n "(cached) " >&6
8122 else
8123   lt_cv_prog_compiler_rtti_exceptions=no
8124    ac_outfile=conftest.$ac_objext
8125    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8126    lt_compiler_flag="-fno-rtti -fno-exceptions"
8127    # Insert the option either (1) after the last *FLAGS variable, or
8128    # (2) before a word containing "conftest.", or (3) at the end.
8129    # Note that $ac_compile itself does not contain backslashes and begins
8130    # with a dollar sign (not a hyphen), so the echo should work correctly.
8131    # The option is referenced via a variable to avoid confusing sed.
8132    lt_compile=`echo "$ac_compile" | $SED \
8133    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8134    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8135    -e 's:$: $lt_compiler_flag:'`
8136    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8137    (eval "$lt_compile" 2>conftest.err)
8138    ac_status=$?
8139    cat conftest.err >&5
8140    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8141    if (exit $ac_status) && test -s "$ac_outfile"; then
8142      # The compiler can only warn and ignore the option if not recognized
8143      # So say no if there are warnings other than the usual output.
8144      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8145      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8146      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8147        lt_cv_prog_compiler_rtti_exceptions=yes
8148      fi
8149    fi
8150    $RM conftest*
8151
8152 fi
8153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8154 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8155
8156 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8157     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8158 else
8159     :
8160 fi
8161
8162 fi
8163
8164
8165
8166
8167
8168
8169   lt_prog_compiler_wl=
8170 lt_prog_compiler_pic=
8171 lt_prog_compiler_static=
8172
8173
8174   if test "$GCC" = yes; then
8175     lt_prog_compiler_wl='-Wl,'
8176     lt_prog_compiler_static='-static'
8177
8178     case $host_os in
8179       aix*)
8180       # All AIX code is PIC.
8181       if test "$host_cpu" = ia64; then
8182         # AIX 5 now supports IA64 processor
8183         lt_prog_compiler_static='-Bstatic'
8184       fi
8185       ;;
8186
8187     amigaos*)
8188       case $host_cpu in
8189       powerpc)
8190             # see comment about AmigaOS4 .so support
8191             lt_prog_compiler_pic='-fPIC'
8192         ;;
8193       m68k)
8194             # FIXME: we need at least 68020 code to build shared libraries, but
8195             # adding the `-m68020' flag to GCC prevents building anything better,
8196             # like `-m68040'.
8197             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8198         ;;
8199       esac
8200       ;;
8201
8202     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8203       # PIC is the default for these OSes.
8204       ;;
8205
8206     mingw* | cygwin* | pw32* | os2* | cegcc*)
8207       # This hack is so that the source file can tell whether it is being
8208       # built for inclusion in a dll (and should export symbols for example).
8209       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8210       # (--disable-auto-import) libraries
8211       lt_prog_compiler_pic='-DDLL_EXPORT'
8212       ;;
8213
8214     darwin* | rhapsody*)
8215       # PIC is the default on this platform
8216       # Common symbols not allowed in MH_DYLIB files
8217       lt_prog_compiler_pic='-fno-common'
8218       ;;
8219
8220     haiku*)
8221       # PIC is the default for Haiku.
8222       # The "-static" flag exists, but is broken.
8223       lt_prog_compiler_static=
8224       ;;
8225
8226     hpux*)
8227       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8228       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8229       # sets the default TLS model and affects inlining.
8230       case $host_cpu in
8231       hppa*64*)
8232         # +Z the default
8233         ;;
8234       *)
8235         lt_prog_compiler_pic='-fPIC'
8236         ;;
8237       esac
8238       ;;
8239
8240     interix[3-9]*)
8241       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8242       # Instead, we relocate shared libraries at runtime.
8243       ;;
8244
8245     msdosdjgpp*)
8246       # Just because we use GCC doesn't mean we suddenly get shared libraries
8247       # on systems that don't support them.
8248       lt_prog_compiler_can_build_shared=no
8249       enable_shared=no
8250       ;;
8251
8252     *nto* | *qnx*)
8253       # QNX uses GNU C++, but need to define -shared option too, otherwise
8254       # it will coredump.
8255       lt_prog_compiler_pic='-fPIC -shared'
8256       ;;
8257
8258     sysv4*MP*)
8259       if test -d /usr/nec; then
8260         lt_prog_compiler_pic=-Kconform_pic
8261       fi
8262       ;;
8263
8264     *)
8265       lt_prog_compiler_pic='-fPIC'
8266       ;;
8267     esac
8268
8269     case $cc_basename in
8270     nvcc*) # Cuda Compiler Driver 2.2
8271       lt_prog_compiler_wl='-Xlinker '
8272       if test -n "$lt_prog_compiler_pic"; then
8273         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8274       fi
8275       ;;
8276     esac
8277   else
8278     # PORTME Check for flag to pass linker flags through the system compiler.
8279     case $host_os in
8280     aix*)
8281       lt_prog_compiler_wl='-Wl,'
8282       if test "$host_cpu" = ia64; then
8283         # AIX 5 now supports IA64 processor
8284         lt_prog_compiler_static='-Bstatic'
8285       else
8286         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8287       fi
8288       ;;
8289
8290     mingw* | cygwin* | pw32* | os2* | cegcc*)
8291       # This hack is so that the source file can tell whether it is being
8292       # built for inclusion in a dll (and should export symbols for example).
8293       lt_prog_compiler_pic='-DDLL_EXPORT'
8294       ;;
8295
8296     hpux9* | hpux10* | hpux11*)
8297       lt_prog_compiler_wl='-Wl,'
8298       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8299       # not for PA HP-UX.
8300       case $host_cpu in
8301       hppa*64*|ia64*)
8302         # +Z the default
8303         ;;
8304       *)
8305         lt_prog_compiler_pic='+Z'
8306         ;;
8307       esac
8308       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8309       lt_prog_compiler_static='${wl}-a ${wl}archive'
8310       ;;
8311
8312     irix5* | irix6* | nonstopux*)
8313       lt_prog_compiler_wl='-Wl,'
8314       # PIC (with -KPIC) is the default.
8315       lt_prog_compiler_static='-non_shared'
8316       ;;
8317
8318     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8319       case $cc_basename in
8320       # old Intel for x86_64 which still supported -KPIC.
8321       ecc*)
8322         lt_prog_compiler_wl='-Wl,'
8323         lt_prog_compiler_pic='-KPIC'
8324         lt_prog_compiler_static='-static'
8325         ;;
8326       # icc used to be incompatible with GCC.
8327       # ICC 10 doesn't accept -KPIC any more.
8328       icc* | ifort*)
8329         lt_prog_compiler_wl='-Wl,'
8330         lt_prog_compiler_pic='-fPIC'
8331         lt_prog_compiler_static='-static'
8332         ;;
8333       # Lahey Fortran 8.1.
8334       lf95*)
8335         lt_prog_compiler_wl='-Wl,'
8336         lt_prog_compiler_pic='--shared'
8337         lt_prog_compiler_static='--static'
8338         ;;
8339       nagfor*)
8340         # NAG Fortran compiler
8341         lt_prog_compiler_wl='-Wl,-Wl,,'
8342         lt_prog_compiler_pic='-PIC'
8343         lt_prog_compiler_static='-Bstatic'
8344         ;;
8345       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8346         # Portland Group compilers (*not* the Pentium gcc compiler,
8347         # which looks to be a dead project)
8348         lt_prog_compiler_wl='-Wl,'
8349         lt_prog_compiler_pic='-fpic'
8350         lt_prog_compiler_static='-Bstatic'
8351         ;;
8352       ccc*)
8353         lt_prog_compiler_wl='-Wl,'
8354         # All Alpha code is PIC.
8355         lt_prog_compiler_static='-non_shared'
8356         ;;
8357       xl* | bgxl* | bgf* | mpixl*)
8358         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8359         lt_prog_compiler_wl='-Wl,'
8360         lt_prog_compiler_pic='-qpic'
8361         lt_prog_compiler_static='-qstaticlink'
8362         ;;
8363       *)
8364         case `$CC -V 2>&1 | sed 5q` in
8365         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8366           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8367           lt_prog_compiler_pic='-KPIC'
8368           lt_prog_compiler_static='-Bstatic'
8369           lt_prog_compiler_wl=''
8370           ;;
8371         *Sun\ F* | *Sun*Fortran*)
8372           lt_prog_compiler_pic='-KPIC'
8373           lt_prog_compiler_static='-Bstatic'
8374           lt_prog_compiler_wl='-Qoption ld '
8375           ;;
8376         *Sun\ C*)
8377           # Sun C 5.9
8378           lt_prog_compiler_pic='-KPIC'
8379           lt_prog_compiler_static='-Bstatic'
8380           lt_prog_compiler_wl='-Wl,'
8381           ;;
8382         *Intel*\ [CF]*Compiler*)
8383           lt_prog_compiler_wl='-Wl,'
8384           lt_prog_compiler_pic='-fPIC'
8385           lt_prog_compiler_static='-static'
8386           ;;
8387         *Portland\ Group*)
8388           lt_prog_compiler_wl='-Wl,'
8389           lt_prog_compiler_pic='-fpic'
8390           lt_prog_compiler_static='-Bstatic'
8391           ;;
8392         esac
8393         ;;
8394       esac
8395       ;;
8396
8397     newsos6)
8398       lt_prog_compiler_pic='-KPIC'
8399       lt_prog_compiler_static='-Bstatic'
8400       ;;
8401
8402     *nto* | *qnx*)
8403       # QNX uses GNU C++, but need to define -shared option too, otherwise
8404       # it will coredump.
8405       lt_prog_compiler_pic='-fPIC -shared'
8406       ;;
8407
8408     osf3* | osf4* | osf5*)
8409       lt_prog_compiler_wl='-Wl,'
8410       # All OSF/1 code is PIC.
8411       lt_prog_compiler_static='-non_shared'
8412       ;;
8413
8414     rdos*)
8415       lt_prog_compiler_static='-non_shared'
8416       ;;
8417
8418     solaris*)
8419       lt_prog_compiler_pic='-KPIC'
8420       lt_prog_compiler_static='-Bstatic'
8421       case $cc_basename in
8422       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8423         lt_prog_compiler_wl='-Qoption ld ';;
8424       *)
8425         lt_prog_compiler_wl='-Wl,';;
8426       esac
8427       ;;
8428
8429     sunos4*)
8430       lt_prog_compiler_wl='-Qoption ld '
8431       lt_prog_compiler_pic='-PIC'
8432       lt_prog_compiler_static='-Bstatic'
8433       ;;
8434
8435     sysv4 | sysv4.2uw2* | sysv4.3*)
8436       lt_prog_compiler_wl='-Wl,'
8437       lt_prog_compiler_pic='-KPIC'
8438       lt_prog_compiler_static='-Bstatic'
8439       ;;
8440
8441     sysv4*MP*)
8442       if test -d /usr/nec ;then
8443         lt_prog_compiler_pic='-Kconform_pic'
8444         lt_prog_compiler_static='-Bstatic'
8445       fi
8446       ;;
8447
8448     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8449       lt_prog_compiler_wl='-Wl,'
8450       lt_prog_compiler_pic='-KPIC'
8451       lt_prog_compiler_static='-Bstatic'
8452       ;;
8453
8454     unicos*)
8455       lt_prog_compiler_wl='-Wl,'
8456       lt_prog_compiler_can_build_shared=no
8457       ;;
8458
8459     uts4*)
8460       lt_prog_compiler_pic='-pic'
8461       lt_prog_compiler_static='-Bstatic'
8462       ;;
8463
8464     *)
8465       lt_prog_compiler_can_build_shared=no
8466       ;;
8467     esac
8468   fi
8469
8470 case $host_os in
8471   # For platforms which do not support PIC, -DPIC is meaningless:
8472   *djgpp*)
8473     lt_prog_compiler_pic=
8474     ;;
8475   *)
8476     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8477     ;;
8478 esac
8479
8480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8481 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8482 if ${lt_cv_prog_compiler_pic+:} false; then :
8483   $as_echo_n "(cached) " >&6
8484 else
8485   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8486 fi
8487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8488 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8489 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8490
8491 #
8492 # Check to make sure the PIC flag actually works.
8493 #
8494 if test -n "$lt_prog_compiler_pic"; then
8495   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8496 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8497 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8498   $as_echo_n "(cached) " >&6
8499 else
8500   lt_cv_prog_compiler_pic_works=no
8501    ac_outfile=conftest.$ac_objext
8502    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8503    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8504    # Insert the option either (1) after the last *FLAGS variable, or
8505    # (2) before a word containing "conftest.", or (3) at the end.
8506    # Note that $ac_compile itself does not contain backslashes and begins
8507    # with a dollar sign (not a hyphen), so the echo should work correctly.
8508    # The option is referenced via a variable to avoid confusing sed.
8509    lt_compile=`echo "$ac_compile" | $SED \
8510    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8511    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8512    -e 's:$: $lt_compiler_flag:'`
8513    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8514    (eval "$lt_compile" 2>conftest.err)
8515    ac_status=$?
8516    cat conftest.err >&5
8517    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8518    if (exit $ac_status) && test -s "$ac_outfile"; then
8519      # The compiler can only warn and ignore the option if not recognized
8520      # So say no if there are warnings other than the usual output.
8521      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8522      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8523      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8524        lt_cv_prog_compiler_pic_works=yes
8525      fi
8526    fi
8527    $RM conftest*
8528
8529 fi
8530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8531 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8532
8533 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8534     case $lt_prog_compiler_pic in
8535      "" | " "*) ;;
8536      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8537      esac
8538 else
8539     lt_prog_compiler_pic=
8540      lt_prog_compiler_can_build_shared=no
8541 fi
8542
8543 fi
8544
8545
8546
8547
8548
8549
8550
8551
8552
8553
8554
8555 #
8556 # Check to make sure the static flag actually works.
8557 #
8558 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8560 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8561 if ${lt_cv_prog_compiler_static_works+:} false; then :
8562   $as_echo_n "(cached) " >&6
8563 else
8564   lt_cv_prog_compiler_static_works=no
8565    save_LDFLAGS="$LDFLAGS"
8566    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8567    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8568    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8569      # The linker can only warn and ignore the option if not recognized
8570      # So say no if there are warnings
8571      if test -s conftest.err; then
8572        # Append any errors to the config.log.
8573        cat conftest.err 1>&5
8574        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8575        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8576        if diff conftest.exp conftest.er2 >/dev/null; then
8577          lt_cv_prog_compiler_static_works=yes
8578        fi
8579      else
8580        lt_cv_prog_compiler_static_works=yes
8581      fi
8582    fi
8583    $RM -r conftest*
8584    LDFLAGS="$save_LDFLAGS"
8585
8586 fi
8587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8588 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8589
8590 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8591     :
8592 else
8593     lt_prog_compiler_static=
8594 fi
8595
8596
8597
8598
8599
8600
8601
8602   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8603 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8604 if ${lt_cv_prog_compiler_c_o+:} false; then :
8605   $as_echo_n "(cached) " >&6
8606 else
8607   lt_cv_prog_compiler_c_o=no
8608    $RM -r conftest 2>/dev/null
8609    mkdir conftest
8610    cd conftest
8611    mkdir out
8612    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8613
8614    lt_compiler_flag="-o out/conftest2.$ac_objext"
8615    # Insert the option either (1) after the last *FLAGS variable, or
8616    # (2) before a word containing "conftest.", or (3) at the end.
8617    # Note that $ac_compile itself does not contain backslashes and begins
8618    # with a dollar sign (not a hyphen), so the echo should work correctly.
8619    lt_compile=`echo "$ac_compile" | $SED \
8620    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8621    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8622    -e 's:$: $lt_compiler_flag:'`
8623    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8624    (eval "$lt_compile" 2>out/conftest.err)
8625    ac_status=$?
8626    cat out/conftest.err >&5
8627    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8628    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8629    then
8630      # The compiler can only warn and ignore the option if not recognized
8631      # So say no if there are warnings
8632      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8633      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8634      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8635        lt_cv_prog_compiler_c_o=yes
8636      fi
8637    fi
8638    chmod u+w . 2>&5
8639    $RM conftest*
8640    # SGI C++ compiler will create directory out/ii_files/ for
8641    # template instantiation
8642    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8643    $RM out/* && rmdir out
8644    cd ..
8645    $RM -r conftest
8646    $RM conftest*
8647
8648 fi
8649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8650 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8651
8652
8653
8654
8655
8656
8657   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8658 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8659 if ${lt_cv_prog_compiler_c_o+:} false; then :
8660   $as_echo_n "(cached) " >&6
8661 else
8662   lt_cv_prog_compiler_c_o=no
8663    $RM -r conftest 2>/dev/null
8664    mkdir conftest
8665    cd conftest
8666    mkdir out
8667    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8668
8669    lt_compiler_flag="-o out/conftest2.$ac_objext"
8670    # Insert the option either (1) after the last *FLAGS variable, or
8671    # (2) before a word containing "conftest.", or (3) at the end.
8672    # Note that $ac_compile itself does not contain backslashes and begins
8673    # with a dollar sign (not a hyphen), so the echo should work correctly.
8674    lt_compile=`echo "$ac_compile" | $SED \
8675    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8676    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8677    -e 's:$: $lt_compiler_flag:'`
8678    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8679    (eval "$lt_compile" 2>out/conftest.err)
8680    ac_status=$?
8681    cat out/conftest.err >&5
8682    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8683    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8684    then
8685      # The compiler can only warn and ignore the option if not recognized
8686      # So say no if there are warnings
8687      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8688      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8689      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8690        lt_cv_prog_compiler_c_o=yes
8691      fi
8692    fi
8693    chmod u+w . 2>&5
8694    $RM conftest*
8695    # SGI C++ compiler will create directory out/ii_files/ for
8696    # template instantiation
8697    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8698    $RM out/* && rmdir out
8699    cd ..
8700    $RM -r conftest
8701    $RM conftest*
8702
8703 fi
8704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8705 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8706
8707
8708
8709
8710 hard_links="nottested"
8711 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8712   # do not overwrite the value of need_locks provided by the user
8713   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8714 $as_echo_n "checking if we can lock with hard links... " >&6; }
8715   hard_links=yes
8716   $RM conftest*
8717   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8718   touch conftest.a
8719   ln conftest.a conftest.b 2>&5 || hard_links=no
8720   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8721   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8722 $as_echo "$hard_links" >&6; }
8723   if test "$hard_links" = no; then
8724     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8725 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8726     need_locks=warn
8727   fi
8728 else
8729   need_locks=no
8730 fi
8731
8732
8733
8734
8735
8736
8737   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8738 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8739
8740   runpath_var=
8741   allow_undefined_flag=
8742   always_export_symbols=no
8743   archive_cmds=
8744   archive_expsym_cmds=
8745   compiler_needs_object=no
8746   enable_shared_with_static_runtimes=no
8747   export_dynamic_flag_spec=
8748   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8749   hardcode_automatic=no
8750   hardcode_direct=no
8751   hardcode_direct_absolute=no
8752   hardcode_libdir_flag_spec=
8753   hardcode_libdir_separator=
8754   hardcode_minus_L=no
8755   hardcode_shlibpath_var=unsupported
8756   inherit_rpath=no
8757   link_all_deplibs=unknown
8758   module_cmds=
8759   module_expsym_cmds=
8760   old_archive_from_new_cmds=
8761   old_archive_from_expsyms_cmds=
8762   thread_safe_flag_spec=
8763   whole_archive_flag_spec=
8764   # include_expsyms should be a list of space-separated symbols to be *always*
8765   # included in the symbol list
8766   include_expsyms=
8767   # exclude_expsyms can be an extended regexp of symbols to exclude
8768   # it will be wrapped by ` (' and `)$', so one must not match beginning or
8769   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8770   # as well as any symbol that contains `d'.
8771   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8772   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8773   # platforms (ab)use it in PIC code, but their linkers get confused if
8774   # the symbol is explicitly referenced.  Since portable code cannot
8775   # rely on this symbol name, it's probably fine to never include it in
8776   # preloaded symbol tables.
8777   # Exclude shared library initialization/finalization symbols.
8778   extract_expsyms_cmds=
8779
8780   case $host_os in
8781   cygwin* | mingw* | pw32* | cegcc*)
8782     # FIXME: the MSVC++ port hasn't been tested in a loooong time
8783     # When not using gcc, we currently assume that we are using
8784     # Microsoft Visual C++.
8785     if test "$GCC" != yes; then
8786       with_gnu_ld=no
8787     fi
8788     ;;
8789   interix*)
8790     # we just hope/assume this is gcc and not c89 (= MSVC++)
8791     with_gnu_ld=yes
8792     ;;
8793   openbsd*)
8794     with_gnu_ld=no
8795     ;;
8796   linux* | k*bsd*-gnu | gnu*)
8797     link_all_deplibs=no
8798     ;;
8799   esac
8800
8801   ld_shlibs=yes
8802
8803   # On some targets, GNU ld is compatible enough with the native linker
8804   # that we're better off using the native interface for both.
8805   lt_use_gnu_ld_interface=no
8806   if test "$with_gnu_ld" = yes; then
8807     case $host_os in
8808       aix*)
8809         # The AIX port of GNU ld has always aspired to compatibility
8810         # with the native linker.  However, as the warning in the GNU ld
8811         # block says, versions before 2.19.5* couldn't really create working
8812         # shared libraries, regardless of the interface used.
8813         case `$LD -v 2>&1` in
8814           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8815           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8816           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8817           *)
8818             lt_use_gnu_ld_interface=yes
8819             ;;
8820         esac
8821         ;;
8822       *)
8823         lt_use_gnu_ld_interface=yes
8824         ;;
8825     esac
8826   fi
8827
8828   if test "$lt_use_gnu_ld_interface" = yes; then
8829     # If archive_cmds runs LD, not CC, wlarc should be empty
8830     wlarc='${wl}'
8831
8832     # Set some defaults for GNU ld with shared library support. These
8833     # are reset later if shared libraries are not supported. Putting them
8834     # here allows them to be overridden if necessary.
8835     runpath_var=LD_RUN_PATH
8836     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8837     export_dynamic_flag_spec='${wl}--export-dynamic'
8838     # ancient GNU ld didn't support --whole-archive et. al.
8839     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8840       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8841     else
8842       whole_archive_flag_spec=
8843     fi
8844     supports_anon_versioning=no
8845     case `$LD -v 2>&1` in
8846       *GNU\ gold*) supports_anon_versioning=yes ;;
8847       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8848       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8849       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8850       *\ 2.11.*) ;; # other 2.11 versions
8851       *) supports_anon_versioning=yes ;;
8852     esac
8853
8854     # See if GNU ld supports shared libraries.
8855     case $host_os in
8856     aix[3-9]*)
8857       # On AIX/PPC, the GNU linker is very broken
8858       if test "$host_cpu" != ia64; then
8859         ld_shlibs=no
8860         cat <<_LT_EOF 1>&2
8861
8862 *** Warning: the GNU linker, at least up to release 2.19, is reported
8863 *** to be unable to reliably create shared libraries on AIX.
8864 *** Therefore, libtool is disabling shared libraries support.  If you
8865 *** really care for shared libraries, you may want to install binutils
8866 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8867 *** You will then need to restart the configuration process.
8868
8869 _LT_EOF
8870       fi
8871       ;;
8872
8873     amigaos*)
8874       case $host_cpu in
8875       powerpc)
8876             # see comment about AmigaOS4 .so support
8877             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8878             archive_expsym_cmds=''
8879         ;;
8880       m68k)
8881             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)'
8882             hardcode_libdir_flag_spec='-L$libdir'
8883             hardcode_minus_L=yes
8884         ;;
8885       esac
8886       ;;
8887
8888     beos*)
8889       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8890         allow_undefined_flag=unsupported
8891         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8892         # support --undefined.  This deserves some investigation.  FIXME
8893         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8894       else
8895         ld_shlibs=no
8896       fi
8897       ;;
8898
8899     cygwin* | mingw* | pw32* | cegcc*)
8900       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8901       # as there is no search path for DLLs.
8902       hardcode_libdir_flag_spec='-L$libdir'
8903       export_dynamic_flag_spec='${wl}--export-all-symbols'
8904       allow_undefined_flag=unsupported
8905       always_export_symbols=no
8906       enable_shared_with_static_runtimes=yes
8907       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'
8908       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8909
8910       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8911         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8912         # If the export-symbols file already is a .def file (1st line
8913         # is EXPORTS), use it as is; otherwise, prepend...
8914         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8915           cp $export_symbols $output_objdir/$soname.def;
8916         else
8917           echo EXPORTS > $output_objdir/$soname.def;
8918           cat $export_symbols >> $output_objdir/$soname.def;
8919         fi~
8920         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8921       else
8922         ld_shlibs=no
8923       fi
8924       ;;
8925
8926     haiku*)
8927       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8928       link_all_deplibs=yes
8929       ;;
8930
8931     interix[3-9]*)
8932       hardcode_direct=no
8933       hardcode_shlibpath_var=no
8934       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8935       export_dynamic_flag_spec='${wl}-E'
8936       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8937       # Instead, shared libraries are loaded at an image base (0x10000000 by
8938       # default) and relocated if they conflict, which is a slow very memory
8939       # consuming and fragmenting process.  To avoid this, we pick a random,
8940       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8941       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
8942       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8943       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'
8944       ;;
8945
8946     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8947       tmp_diet=no
8948       if test "$host_os" = linux-dietlibc; then
8949         case $cc_basename in
8950           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
8951         esac
8952       fi
8953       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8954          && test "$tmp_diet" = no
8955       then
8956         tmp_addflag=' $pic_flag'
8957         tmp_sharedflag='-shared'
8958         case $cc_basename,$host_cpu in
8959         pgcc*)                          # Portland Group C compiler
8960           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'
8961           tmp_addflag=' $pic_flag'
8962           ;;
8963         pgf77* | pgf90* | pgf95* | pgfortran*)
8964                                         # Portland Group f77 and f90 compilers
8965           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'
8966           tmp_addflag=' $pic_flag -Mnomain' ;;
8967         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
8968           tmp_addflag=' -i_dynamic' ;;
8969         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
8970           tmp_addflag=' -i_dynamic -nofor_main' ;;
8971         ifc* | ifort*)                  # Intel Fortran compiler
8972           tmp_addflag=' -nofor_main' ;;
8973         lf95*)                          # Lahey Fortran 8.1
8974           whole_archive_flag_spec=
8975           tmp_sharedflag='--shared' ;;
8976         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8977           tmp_sharedflag='-qmkshrobj'
8978           tmp_addflag= ;;
8979         nvcc*)  # Cuda Compiler Driver 2.2
8980           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'
8981           compiler_needs_object=yes
8982           ;;
8983         esac
8984         case `$CC -V 2>&1 | sed 5q` in
8985         *Sun\ C*)                       # Sun C 5.9
8986           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'
8987           compiler_needs_object=yes
8988           tmp_sharedflag='-G' ;;
8989         *Sun\ F*)                       # Sun Fortran 8.3
8990           tmp_sharedflag='-G' ;;
8991         esac
8992         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8993
8994         if test "x$supports_anon_versioning" = xyes; then
8995           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8996             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8997             echo "local: *; };" >> $output_objdir/$libname.ver~
8998             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8999         fi
9000
9001         case $cc_basename in
9002         xlf* | bgf* | bgxlf* | mpixlf*)
9003           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9004           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9005           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9006           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9007           if test "x$supports_anon_versioning" = xyes; then
9008             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9009               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9010               echo "local: *; };" >> $output_objdir/$libname.ver~
9011               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9012           fi
9013           ;;
9014         esac
9015       else
9016         ld_shlibs=no
9017       fi
9018       ;;
9019
9020     netbsd* | netbsdelf*-gnu)
9021       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9022         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9023         wlarc=
9024       else
9025         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9026         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9027       fi
9028       ;;
9029
9030     solaris*)
9031       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9032         ld_shlibs=no
9033         cat <<_LT_EOF 1>&2
9034
9035 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9036 *** create shared libraries on Solaris systems.  Therefore, libtool
9037 *** is disabling shared libraries support.  We urge you to upgrade GNU
9038 *** binutils to release 2.9.1 or newer.  Another option is to modify
9039 *** your PATH or compiler configuration so that the native linker is
9040 *** used, and then restart.
9041
9042 _LT_EOF
9043       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9044         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9045         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9046       else
9047         ld_shlibs=no
9048       fi
9049       ;;
9050
9051     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9052       case `$LD -v 2>&1` in
9053         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9054         ld_shlibs=no
9055         cat <<_LT_EOF 1>&2
9056
9057 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9058 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9059 *** is disabling shared libraries support.  We urge you to upgrade GNU
9060 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9061 *** your PATH or compiler configuration so that the native linker is
9062 *** used, and then restart.
9063
9064 _LT_EOF
9065         ;;
9066         *)
9067           # For security reasons, it is highly recommended that you always
9068           # use absolute paths for naming shared libraries, and exclude the
9069           # DT_RUNPATH tag from executables and libraries.  But doing so
9070           # requires that you compile everything twice, which is a pain.
9071           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9072             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9073             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9074             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9075           else
9076             ld_shlibs=no
9077           fi
9078         ;;
9079       esac
9080       ;;
9081
9082     sunos4*)
9083       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9084       wlarc=
9085       hardcode_direct=yes
9086       hardcode_shlibpath_var=no
9087       ;;
9088
9089     *)
9090       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9091         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9092         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9093       else
9094         ld_shlibs=no
9095       fi
9096       ;;
9097     esac
9098
9099     if test "$ld_shlibs" = no; then
9100       runpath_var=
9101       hardcode_libdir_flag_spec=
9102       export_dynamic_flag_spec=
9103       whole_archive_flag_spec=
9104     fi
9105   else
9106     # PORTME fill in a description of your system's linker (not GNU ld)
9107     case $host_os in
9108     aix3*)
9109       allow_undefined_flag=unsupported
9110       always_export_symbols=yes
9111       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'
9112       # Note: this linker hardcodes the directories in LIBPATH if there
9113       # are no directories specified by -L.
9114       hardcode_minus_L=yes
9115       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9116         # Neither direct hardcoding nor static linking is supported with a
9117         # broken collect2.
9118         hardcode_direct=unsupported
9119       fi
9120       ;;
9121
9122     aix[4-9]*)
9123       if test "$host_cpu" = ia64; then
9124         # On IA64, the linker does run time linking by default, so we don't
9125         # have to do anything special.
9126         aix_use_runtimelinking=no
9127         exp_sym_flag='-Bexport'
9128         no_entry_flag=""
9129       else
9130         # If we're using GNU nm, then we don't want the "-C" option.
9131         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9132         # Also, AIX nm treats weak defined symbols like other global
9133         # defined symbols, whereas GNU nm marks them as "W".
9134         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9135           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'
9136         else
9137           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'
9138         fi
9139         aix_use_runtimelinking=no
9140
9141         # Test if we are trying to use run time linking or normal
9142         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9143         # need to do runtime linking.
9144         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9145           for ld_flag in $LDFLAGS; do
9146           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9147             aix_use_runtimelinking=yes
9148             break
9149           fi
9150           done
9151           ;;
9152         esac
9153
9154         exp_sym_flag='-bexport'
9155         no_entry_flag='-bnoentry'
9156       fi
9157
9158       # When large executables or shared objects are built, AIX ld can
9159       # have problems creating the table of contents.  If linking a library
9160       # or program results in "error TOC overflow" add -mminimal-toc to
9161       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9162       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9163
9164       archive_cmds=''
9165       hardcode_direct=yes
9166       hardcode_direct_absolute=yes
9167       hardcode_libdir_separator=':'
9168       link_all_deplibs=yes
9169       file_list_spec='${wl}-f,'
9170
9171       if test "$GCC" = yes; then
9172         case $host_os in aix4.[012]|aix4.[012].*)
9173         # We only want to do this on AIX 4.2 and lower, the check
9174         # below for broken collect2 doesn't work under 4.3+
9175           collect2name=`${CC} -print-prog-name=collect2`
9176           if test -f "$collect2name" &&
9177            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9178           then
9179           # We have reworked collect2
9180           :
9181           else
9182           # We have old collect2
9183           hardcode_direct=unsupported
9184           # It fails to find uninstalled libraries when the uninstalled
9185           # path is not listed in the libpath.  Setting hardcode_minus_L
9186           # to unsupported forces relinking
9187           hardcode_minus_L=yes
9188           hardcode_libdir_flag_spec='-L$libdir'
9189           hardcode_libdir_separator=
9190           fi
9191           ;;
9192         esac
9193         shared_flag='-shared'
9194         if test "$aix_use_runtimelinking" = yes; then
9195           shared_flag="$shared_flag "'${wl}-G'
9196         fi
9197         link_all_deplibs=no
9198       else
9199         # not using gcc
9200         if test "$host_cpu" = ia64; then
9201         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9202         # chokes on -Wl,-G. The following line is correct:
9203           shared_flag='-G'
9204         else
9205           if test "$aix_use_runtimelinking" = yes; then
9206             shared_flag='${wl}-G'
9207           else
9208             shared_flag='${wl}-bM:SRE'
9209           fi
9210         fi
9211       fi
9212
9213       export_dynamic_flag_spec='${wl}-bexpall'
9214       # It seems that -bexpall does not export symbols beginning with
9215       # underscore (_), so it is better to generate a list of symbols to export.
9216       always_export_symbols=yes
9217       if test "$aix_use_runtimelinking" = yes; then
9218         # Warning - without using the other runtime loading flags (-brtl),
9219         # -berok will link without error, but may produce a broken library.
9220         allow_undefined_flag='-berok'
9221         # Determine the default libpath from the value encoded in an
9222         # empty executable.
9223         if test "${lt_cv_aix_libpath+set}" = set; then
9224   aix_libpath=$lt_cv_aix_libpath
9225 else
9226   if ${lt_cv_aix_libpath_+:} false; then :
9227   $as_echo_n "(cached) " >&6
9228 else
9229   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9230 /* end confdefs.h.  */
9231
9232 int
9233 main ()
9234 {
9235
9236   ;
9237   return 0;
9238 }
9239 _ACEOF
9240 if ac_fn_c_try_link "$LINENO"; then :
9241
9242   lt_aix_libpath_sed='
9243       /Import File Strings/,/^$/ {
9244           /^0/ {
9245               s/^0  *\([^ ]*\) *$/\1/
9246               p
9247           }
9248       }'
9249   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9250   # Check for a 64-bit object if we didn't find anything.
9251   if test -z "$lt_cv_aix_libpath_"; then
9252     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9253   fi
9254 fi
9255 rm -f core conftest.err conftest.$ac_objext \
9256     conftest$ac_exeext conftest.$ac_ext
9257   if test -z "$lt_cv_aix_libpath_"; then
9258     lt_cv_aix_libpath_="/usr/lib:/lib"
9259   fi
9260
9261 fi
9262
9263   aix_libpath=$lt_cv_aix_libpath_
9264 fi
9265
9266         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9267         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"
9268       else
9269         if test "$host_cpu" = ia64; then
9270           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9271           allow_undefined_flag="-z nodefs"
9272           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"
9273         else
9274          # Determine the default libpath from the value encoded in an
9275          # empty executable.
9276          if test "${lt_cv_aix_libpath+set}" = set; then
9277   aix_libpath=$lt_cv_aix_libpath
9278 else
9279   if ${lt_cv_aix_libpath_+:} false; then :
9280   $as_echo_n "(cached) " >&6
9281 else
9282   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9283 /* end confdefs.h.  */
9284
9285 int
9286 main ()
9287 {
9288
9289   ;
9290   return 0;
9291 }
9292 _ACEOF
9293 if ac_fn_c_try_link "$LINENO"; then :
9294
9295   lt_aix_libpath_sed='
9296       /Import File Strings/,/^$/ {
9297           /^0/ {
9298               s/^0  *\([^ ]*\) *$/\1/
9299               p
9300           }
9301       }'
9302   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9303   # Check for a 64-bit object if we didn't find anything.
9304   if test -z "$lt_cv_aix_libpath_"; then
9305     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9306   fi
9307 fi
9308 rm -f core conftest.err conftest.$ac_objext \
9309     conftest$ac_exeext conftest.$ac_ext
9310   if test -z "$lt_cv_aix_libpath_"; then
9311     lt_cv_aix_libpath_="/usr/lib:/lib"
9312   fi
9313
9314 fi
9315
9316   aix_libpath=$lt_cv_aix_libpath_
9317 fi
9318
9319          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9320           # Warning - without using the other run time loading flags,
9321           # -berok will link without error, but may produce a broken library.
9322           no_undefined_flag=' ${wl}-bernotok'
9323           allow_undefined_flag=' ${wl}-berok'
9324           if test "$with_gnu_ld" = yes; then
9325             # We only use this code for GNU lds that support --whole-archive.
9326             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9327           else
9328             # Exported symbols can be pulled into shared objects from archives
9329             whole_archive_flag_spec='$convenience'
9330           fi
9331           archive_cmds_need_lc=yes
9332           # This is similar to how AIX traditionally builds its shared libraries.
9333           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'
9334         fi
9335       fi
9336       ;;
9337
9338     amigaos*)
9339       case $host_cpu in
9340       powerpc)
9341             # see comment about AmigaOS4 .so support
9342             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9343             archive_expsym_cmds=''
9344         ;;
9345       m68k)
9346             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)'
9347             hardcode_libdir_flag_spec='-L$libdir'
9348             hardcode_minus_L=yes
9349         ;;
9350       esac
9351       ;;
9352
9353     bsdi[45]*)
9354       export_dynamic_flag_spec=-rdynamic
9355       ;;
9356
9357     cygwin* | mingw* | pw32* | cegcc*)
9358       # When not using gcc, we currently assume that we are using
9359       # Microsoft Visual C++.
9360       # hardcode_libdir_flag_spec is actually meaningless, as there is
9361       # no search path for DLLs.
9362       case $cc_basename in
9363       cl*)
9364         # Native MSVC
9365         hardcode_libdir_flag_spec=' '
9366         allow_undefined_flag=unsupported
9367         always_export_symbols=yes
9368         file_list_spec='@'
9369         # Tell ltmain to make .lib files, not .a files.
9370         libext=lib
9371         # Tell ltmain to make .dll files, not .so files.
9372         shrext_cmds=".dll"
9373         # FIXME: Setting linknames here is a bad hack.
9374         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9375         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9376             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9377           else
9378             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9379           fi~
9380           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9381           linknames='
9382         # The linker will not automatically build a static lib if we build a DLL.
9383         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9384         enable_shared_with_static_runtimes=yes
9385         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9386         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9387         # Don't use ranlib
9388         old_postinstall_cmds='chmod 644 $oldlib'
9389         postlink_cmds='lt_outputfile="@OUTPUT@"~
9390           lt_tool_outputfile="@TOOL_OUTPUT@"~
9391           case $lt_outputfile in
9392             *.exe|*.EXE) ;;
9393             *)
9394               lt_outputfile="$lt_outputfile.exe"
9395               lt_tool_outputfile="$lt_tool_outputfile.exe"
9396               ;;
9397           esac~
9398           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9399             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9400             $RM "$lt_outputfile.manifest";
9401           fi'
9402         ;;
9403       *)
9404         # Assume MSVC wrapper
9405         hardcode_libdir_flag_spec=' '
9406         allow_undefined_flag=unsupported
9407         # Tell ltmain to make .lib files, not .a files.
9408         libext=lib
9409         # Tell ltmain to make .dll files, not .so files.
9410         shrext_cmds=".dll"
9411         # FIXME: Setting linknames here is a bad hack.
9412         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9413         # The linker will automatically build a .lib file if we build a DLL.
9414         old_archive_from_new_cmds='true'
9415         # FIXME: Should let the user specify the lib program.
9416         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9417         enable_shared_with_static_runtimes=yes
9418         ;;
9419       esac
9420       ;;
9421
9422     darwin* | rhapsody*)
9423
9424
9425   archive_cmds_need_lc=no
9426   hardcode_direct=no
9427   hardcode_automatic=yes
9428   hardcode_shlibpath_var=unsupported
9429   if test "$lt_cv_ld_force_load" = "yes"; then
9430     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\"`'
9431
9432   else
9433     whole_archive_flag_spec=''
9434   fi
9435   link_all_deplibs=yes
9436   allow_undefined_flag="$_lt_dar_allow_undefined"
9437   case $cc_basename in
9438      ifort*) _lt_dar_can_shared=yes ;;
9439      *) _lt_dar_can_shared=$GCC ;;
9440   esac
9441   if test "$_lt_dar_can_shared" = "yes"; then
9442     output_verbose_link_cmd=func_echo_all
9443     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9444     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9445     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}"
9446     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}"
9447
9448   else
9449   ld_shlibs=no
9450   fi
9451
9452       ;;
9453
9454     dgux*)
9455       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9456       hardcode_libdir_flag_spec='-L$libdir'
9457       hardcode_shlibpath_var=no
9458       ;;
9459
9460     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9461     # support.  Future versions do this automatically, but an explicit c++rt0.o
9462     # does not break anything, and helps significantly (at the cost of a little
9463     # extra space).
9464     freebsd2.2*)
9465       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9466       hardcode_libdir_flag_spec='-R$libdir'
9467       hardcode_direct=yes
9468       hardcode_shlibpath_var=no
9469       ;;
9470
9471     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9472     freebsd2.*)
9473       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9474       hardcode_direct=yes
9475       hardcode_minus_L=yes
9476       hardcode_shlibpath_var=no
9477       ;;
9478
9479     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9480     freebsd* | dragonfly*)
9481       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9482       hardcode_libdir_flag_spec='-R$libdir'
9483       hardcode_direct=yes
9484       hardcode_shlibpath_var=no
9485       ;;
9486
9487     hpux9*)
9488       if test "$GCC" = yes; then
9489         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'
9490       else
9491         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'
9492       fi
9493       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9494       hardcode_libdir_separator=:
9495       hardcode_direct=yes
9496
9497       # hardcode_minus_L: Not really in the search PATH,
9498       # but as the default location of the library.
9499       hardcode_minus_L=yes
9500       export_dynamic_flag_spec='${wl}-E'
9501       ;;
9502
9503     hpux10*)
9504       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9505         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9506       else
9507         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9508       fi
9509       if test "$with_gnu_ld" = no; then
9510         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9511         hardcode_libdir_separator=:
9512         hardcode_direct=yes
9513         hardcode_direct_absolute=yes
9514         export_dynamic_flag_spec='${wl}-E'
9515         # hardcode_minus_L: Not really in the search PATH,
9516         # but as the default location of the library.
9517         hardcode_minus_L=yes
9518       fi
9519       ;;
9520
9521     hpux11*)
9522       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9523         case $host_cpu in
9524         hppa*64*)
9525           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9526           ;;
9527         ia64*)
9528           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9529           ;;
9530         *)
9531           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9532           ;;
9533         esac
9534       else
9535         case $host_cpu in
9536         hppa*64*)
9537           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9538           ;;
9539         ia64*)
9540           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9541           ;;
9542         *)
9543
9544           # Older versions of the 11.00 compiler do not understand -b yet
9545           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9546           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9547 $as_echo_n "checking if $CC understands -b... " >&6; }
9548 if ${lt_cv_prog_compiler__b+:} false; then :
9549   $as_echo_n "(cached) " >&6
9550 else
9551   lt_cv_prog_compiler__b=no
9552    save_LDFLAGS="$LDFLAGS"
9553    LDFLAGS="$LDFLAGS -b"
9554    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9555    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9556      # The linker can only warn and ignore the option if not recognized
9557      # So say no if there are warnings
9558      if test -s conftest.err; then
9559        # Append any errors to the config.log.
9560        cat conftest.err 1>&5
9561        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9562        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9563        if diff conftest.exp conftest.er2 >/dev/null; then
9564          lt_cv_prog_compiler__b=yes
9565        fi
9566      else
9567        lt_cv_prog_compiler__b=yes
9568      fi
9569    fi
9570    $RM -r conftest*
9571    LDFLAGS="$save_LDFLAGS"
9572
9573 fi
9574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9575 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9576
9577 if test x"$lt_cv_prog_compiler__b" = xyes; then
9578     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9579 else
9580     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9581 fi
9582
9583           ;;
9584         esac
9585       fi
9586       if test "$with_gnu_ld" = no; then
9587         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9588         hardcode_libdir_separator=:
9589
9590         case $host_cpu in
9591         hppa*64*|ia64*)
9592           hardcode_direct=no
9593           hardcode_shlibpath_var=no
9594           ;;
9595         *)
9596           hardcode_direct=yes
9597           hardcode_direct_absolute=yes
9598           export_dynamic_flag_spec='${wl}-E'
9599
9600           # hardcode_minus_L: Not really in the search PATH,
9601           # but as the default location of the library.
9602           hardcode_minus_L=yes
9603           ;;
9604         esac
9605       fi
9606       ;;
9607
9608     irix5* | irix6* | nonstopux*)
9609       if test "$GCC" = yes; then
9610         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'
9611         # Try to use the -exported_symbol ld option, if it does not
9612         # work, assume that -exports_file does not work either and
9613         # implicitly export all symbols.
9614         # This should be the same for all languages, so no per-tag cache variable.
9615         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9616 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9617 if ${lt_cv_irix_exported_symbol+:} false; then :
9618   $as_echo_n "(cached) " >&6
9619 else
9620   save_LDFLAGS="$LDFLAGS"
9621            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9622            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9623 /* end confdefs.h.  */
9624 int foo (void) { return 0; }
9625 _ACEOF
9626 if ac_fn_c_try_link "$LINENO"; then :
9627   lt_cv_irix_exported_symbol=yes
9628 else
9629   lt_cv_irix_exported_symbol=no
9630 fi
9631 rm -f core conftest.err conftest.$ac_objext \
9632     conftest$ac_exeext conftest.$ac_ext
9633            LDFLAGS="$save_LDFLAGS"
9634 fi
9635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9636 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9637         if test "$lt_cv_irix_exported_symbol" = yes; then
9638           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'
9639         fi
9640       else
9641         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'
9642         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'
9643       fi
9644       archive_cmds_need_lc='no'
9645       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9646       hardcode_libdir_separator=:
9647       inherit_rpath=yes
9648       link_all_deplibs=yes
9649       ;;
9650
9651     netbsd* | netbsdelf*-gnu)
9652       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9653         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9654       else
9655         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9656       fi
9657       hardcode_libdir_flag_spec='-R$libdir'
9658       hardcode_direct=yes
9659       hardcode_shlibpath_var=no
9660       ;;
9661
9662     newsos6)
9663       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9664       hardcode_direct=yes
9665       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9666       hardcode_libdir_separator=:
9667       hardcode_shlibpath_var=no
9668       ;;
9669
9670     *nto* | *qnx*)
9671       ;;
9672
9673     openbsd*)
9674       if test -f /usr/libexec/ld.so; then
9675         hardcode_direct=yes
9676         hardcode_shlibpath_var=no
9677         hardcode_direct_absolute=yes
9678         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9679           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9680           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9681           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9682           export_dynamic_flag_spec='${wl}-E'
9683         else
9684           case $host_os in
9685            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9686              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9687              hardcode_libdir_flag_spec='-R$libdir'
9688              ;;
9689            *)
9690              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9691              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9692              ;;
9693           esac
9694         fi
9695       else
9696         ld_shlibs=no
9697       fi
9698       ;;
9699
9700     os2*)
9701       hardcode_libdir_flag_spec='-L$libdir'
9702       hardcode_minus_L=yes
9703       allow_undefined_flag=unsupported
9704       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'
9705       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9706       ;;
9707
9708     osf3*)
9709       if test "$GCC" = yes; then
9710         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9711         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'
9712       else
9713         allow_undefined_flag=' -expect_unresolved \*'
9714         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'
9715       fi
9716       archive_cmds_need_lc='no'
9717       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9718       hardcode_libdir_separator=:
9719       ;;
9720
9721     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9722       if test "$GCC" = yes; then
9723         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9724         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'
9725         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9726       else
9727         allow_undefined_flag=' -expect_unresolved \*'
9728         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'
9729         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~
9730         $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'
9731
9732         # Both c and cxx compiler support -rpath directly
9733         hardcode_libdir_flag_spec='-rpath $libdir'
9734       fi
9735       archive_cmds_need_lc='no'
9736       hardcode_libdir_separator=:
9737       ;;
9738
9739     solaris*)
9740       no_undefined_flag=' -z defs'
9741       if test "$GCC" = yes; then
9742         wlarc='${wl}'
9743         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9744         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9745           $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'
9746       else
9747         case `$CC -V 2>&1` in
9748         *"Compilers 5.0"*)
9749           wlarc=''
9750           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9751           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9752           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9753           ;;
9754         *)
9755           wlarc='${wl}'
9756           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9757           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9758           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9759           ;;
9760         esac
9761       fi
9762       hardcode_libdir_flag_spec='-R$libdir'
9763       hardcode_shlibpath_var=no
9764       case $host_os in
9765       solaris2.[0-5] | solaris2.[0-5].*) ;;
9766       *)
9767         # The compiler driver will combine and reorder linker options,
9768         # but understands `-z linker_flag'.  GCC discards it without `$wl',
9769         # but is careful enough not to reorder.
9770         # Supported since Solaris 2.6 (maybe 2.5.1?)
9771         if test "$GCC" = yes; then
9772           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9773         else
9774           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9775         fi
9776         ;;
9777       esac
9778       link_all_deplibs=yes
9779       ;;
9780
9781     sunos4*)
9782       if test "x$host_vendor" = xsequent; then
9783         # Use $CC to link under sequent, because it throws in some extra .o
9784         # files that make .init and .fini sections work.
9785         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9786       else
9787         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9788       fi
9789       hardcode_libdir_flag_spec='-L$libdir'
9790       hardcode_direct=yes
9791       hardcode_minus_L=yes
9792       hardcode_shlibpath_var=no
9793       ;;
9794
9795     sysv4)
9796       case $host_vendor in
9797         sni)
9798           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9799           hardcode_direct=yes # is this really true???
9800         ;;
9801         siemens)
9802           ## LD is ld it makes a PLAMLIB
9803           ## CC just makes a GrossModule.
9804           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9805           reload_cmds='$CC -r -o $output$reload_objs'
9806           hardcode_direct=no
9807         ;;
9808         motorola)
9809           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9810           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9811         ;;
9812       esac
9813       runpath_var='LD_RUN_PATH'
9814       hardcode_shlibpath_var=no
9815       ;;
9816
9817     sysv4.3*)
9818       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9819       hardcode_shlibpath_var=no
9820       export_dynamic_flag_spec='-Bexport'
9821       ;;
9822
9823     sysv4*MP*)
9824       if test -d /usr/nec; then
9825         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9826         hardcode_shlibpath_var=no
9827         runpath_var=LD_RUN_PATH
9828         hardcode_runpath_var=yes
9829         ld_shlibs=yes
9830       fi
9831       ;;
9832
9833     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9834       no_undefined_flag='${wl}-z,text'
9835       archive_cmds_need_lc=no
9836       hardcode_shlibpath_var=no
9837       runpath_var='LD_RUN_PATH'
9838
9839       if test "$GCC" = yes; then
9840         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9841         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9842       else
9843         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9844         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9845       fi
9846       ;;
9847
9848     sysv5* | sco3.2v5* | sco5v6*)
9849       # Note: We can NOT use -z defs as we might desire, because we do not
9850       # link with -lc, and that would cause any symbols used from libc to
9851       # always be unresolved, which means just about no library would
9852       # ever link correctly.  If we're not using GNU ld we use -z text
9853       # though, which does catch some bad symbols but isn't as heavy-handed
9854       # as -z defs.
9855       no_undefined_flag='${wl}-z,text'
9856       allow_undefined_flag='${wl}-z,nodefs'
9857       archive_cmds_need_lc=no
9858       hardcode_shlibpath_var=no
9859       hardcode_libdir_flag_spec='${wl}-R,$libdir'
9860       hardcode_libdir_separator=':'
9861       link_all_deplibs=yes
9862       export_dynamic_flag_spec='${wl}-Bexport'
9863       runpath_var='LD_RUN_PATH'
9864
9865       if test "$GCC" = yes; then
9866         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9867         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9868       else
9869         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9870         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9871       fi
9872       ;;
9873
9874     uts4*)
9875       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9876       hardcode_libdir_flag_spec='-L$libdir'
9877       hardcode_shlibpath_var=no
9878       ;;
9879
9880     *)
9881       ld_shlibs=no
9882       ;;
9883     esac
9884
9885     if test x$host_vendor = xsni; then
9886       case $host in
9887       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9888         export_dynamic_flag_spec='${wl}-Blargedynsym'
9889         ;;
9890       esac
9891     fi
9892   fi
9893
9894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9895 $as_echo "$ld_shlibs" >&6; }
9896 test "$ld_shlibs" = no && can_build_shared=no
9897
9898 with_gnu_ld=$with_gnu_ld
9899
9900
9901
9902
9903
9904
9905
9906
9907
9908
9909
9910
9911
9912
9913
9914 #
9915 # Do we need to explicitly link libc?
9916 #
9917 case "x$archive_cmds_need_lc" in
9918 x|xyes)
9919   # Assume -lc should be added
9920   archive_cmds_need_lc=yes
9921
9922   if test "$enable_shared" = yes && test "$GCC" = yes; then
9923     case $archive_cmds in
9924     *'~'*)
9925       # FIXME: we may have to deal with multi-command sequences.
9926       ;;
9927     '$CC '*)
9928       # Test whether the compiler implicitly links with -lc since on some
9929       # systems, -lgcc has to come before -lc. If gcc already passes -lc
9930       # to ld, don't add -lc before -lgcc.
9931       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9932 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9933 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9934   $as_echo_n "(cached) " >&6
9935 else
9936   $RM conftest*
9937         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9938
9939         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9940   (eval $ac_compile) 2>&5
9941   ac_status=$?
9942   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9943   test $ac_status = 0; } 2>conftest.err; then
9944           soname=conftest
9945           lib=conftest
9946           libobjs=conftest.$ac_objext
9947           deplibs=
9948           wl=$lt_prog_compiler_wl
9949           pic_flag=$lt_prog_compiler_pic
9950           compiler_flags=-v
9951           linker_flags=-v
9952           verstring=
9953           output_objdir=.
9954           libname=conftest
9955           lt_save_allow_undefined_flag=$allow_undefined_flag
9956           allow_undefined_flag=
9957           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9958   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9959   ac_status=$?
9960   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9961   test $ac_status = 0; }
9962           then
9963             lt_cv_archive_cmds_need_lc=no
9964           else
9965             lt_cv_archive_cmds_need_lc=yes
9966           fi
9967           allow_undefined_flag=$lt_save_allow_undefined_flag
9968         else
9969           cat conftest.err 1>&5
9970         fi
9971         $RM conftest*
9972
9973 fi
9974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9975 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9976       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9977       ;;
9978     esac
9979   fi
9980   ;;
9981 esac
9982
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   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10135 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10136
10137 if test "$GCC" = yes; then
10138   case $host_os in
10139     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10140     *) lt_awk_arg="/^libraries:/" ;;
10141   esac
10142   case $host_os in
10143     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10144     *) lt_sed_strip_eq="s,=/,/,g" ;;
10145   esac
10146   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10147   case $lt_search_path_spec in
10148   *\;*)
10149     # if the path contains ";" then we assume it to be the separator
10150     # otherwise default to the standard path separator (i.e. ":") - it is
10151     # assumed that no part of a normal pathname contains ";" but that should
10152     # okay in the real world where ";" in dirpaths is itself problematic.
10153     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10154     ;;
10155   *)
10156     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10157     ;;
10158   esac
10159   # Ok, now we have the path, separated by spaces, we can step through it
10160   # and add multilib dir if necessary.
10161   lt_tmp_lt_search_path_spec=
10162   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10163   for lt_sys_path in $lt_search_path_spec; do
10164     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10165       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10166     else
10167       test -d "$lt_sys_path" && \
10168         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10169     fi
10170   done
10171   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10172 BEGIN {RS=" "; FS="/|\n";} {
10173   lt_foo="";
10174   lt_count=0;
10175   for (lt_i = NF; lt_i > 0; lt_i--) {
10176     if ($lt_i != "" && $lt_i != ".") {
10177       if ($lt_i == "..") {
10178         lt_count++;
10179       } else {
10180         if (lt_count == 0) {
10181           lt_foo="/" $lt_i lt_foo;
10182         } else {
10183           lt_count--;
10184         }
10185       }
10186     }
10187   }
10188   if (lt_foo != "") { lt_freq[lt_foo]++; }
10189   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10190 }'`
10191   # AWK program above erroneously prepends '/' to C:/dos/paths
10192   # for these hosts.
10193   case $host_os in
10194     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10195       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10196   esac
10197   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10198 else
10199   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10200 fi
10201 library_names_spec=
10202 libname_spec='lib$name'
10203 soname_spec=
10204 shrext_cmds=".so"
10205 postinstall_cmds=
10206 postuninstall_cmds=
10207 finish_cmds=
10208 finish_eval=
10209 shlibpath_var=
10210 shlibpath_overrides_runpath=unknown
10211 version_type=none
10212 dynamic_linker="$host_os ld.so"
10213 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10214 need_lib_prefix=unknown
10215 hardcode_into_libs=no
10216
10217 # when you set need_version to no, make sure it does not cause -set_version
10218 # flags to be left without arguments
10219 need_version=unknown
10220
10221 case $host_os in
10222 aix3*)
10223   version_type=linux # correct to gnu/linux during the next big refactor
10224   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10225   shlibpath_var=LIBPATH
10226
10227   # AIX 3 has no versioning support, so we append a major version to the name.
10228   soname_spec='${libname}${release}${shared_ext}$major'
10229   ;;
10230
10231 aix[4-9]*)
10232   version_type=linux # correct to gnu/linux during the next big refactor
10233   need_lib_prefix=no
10234   need_version=no
10235   hardcode_into_libs=yes
10236   if test "$host_cpu" = ia64; then
10237     # AIX 5 supports IA64
10238     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10239     shlibpath_var=LD_LIBRARY_PATH
10240   else
10241     # With GCC up to 2.95.x, collect2 would create an import file
10242     # for dependence libraries.  The import file would start with
10243     # the line `#! .'.  This would cause the generated library to
10244     # depend on `.', always an invalid library.  This was fixed in
10245     # development snapshots of GCC prior to 3.0.
10246     case $host_os in
10247       aix4 | aix4.[01] | aix4.[01].*)
10248       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10249            echo ' yes '
10250            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10251         :
10252       else
10253         can_build_shared=no
10254       fi
10255       ;;
10256     esac
10257     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10258     # soname into executable. Probably we can add versioning support to
10259     # collect2, so additional links can be useful in future.
10260     if test "$aix_use_runtimelinking" = yes; then
10261       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10262       # instead of lib<name>.a to let people know that these are not
10263       # typical AIX shared libraries.
10264       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10265     else
10266       # We preserve .a as extension for shared libraries through AIX4.2
10267       # and later when we are not doing run time linking.
10268       library_names_spec='${libname}${release}.a $libname.a'
10269       soname_spec='${libname}${release}${shared_ext}$major'
10270     fi
10271     shlibpath_var=LIBPATH
10272   fi
10273   ;;
10274
10275 amigaos*)
10276   case $host_cpu in
10277   powerpc)
10278     # Since July 2007 AmigaOS4 officially supports .so libraries.
10279     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10280     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10281     ;;
10282   m68k)
10283     library_names_spec='$libname.ixlibrary $libname.a'
10284     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10285     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'
10286     ;;
10287   esac
10288   ;;
10289
10290 beos*)
10291   library_names_spec='${libname}${shared_ext}'
10292   dynamic_linker="$host_os ld.so"
10293   shlibpath_var=LIBRARY_PATH
10294   ;;
10295
10296 bsdi[45]*)
10297   version_type=linux # correct to gnu/linux during the next big refactor
10298   need_version=no
10299   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10300   soname_spec='${libname}${release}${shared_ext}$major'
10301   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10302   shlibpath_var=LD_LIBRARY_PATH
10303   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10304   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10305   # the default ld.so.conf also contains /usr/contrib/lib and
10306   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10307   # libtool to hard-code these into programs
10308   ;;
10309
10310 cygwin* | mingw* | pw32* | cegcc*)
10311   version_type=windows
10312   shrext_cmds=".dll"
10313   need_version=no
10314   need_lib_prefix=no
10315
10316   case $GCC,$cc_basename in
10317   yes,*)
10318     # gcc
10319     library_names_spec='$libname.dll.a'
10320     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10321     postinstall_cmds='base_file=`basename \${file}`~
10322       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10323       dldir=$destdir/`dirname \$dlpath`~
10324       test -d \$dldir || mkdir -p \$dldir~
10325       $install_prog $dir/$dlname \$dldir/$dlname~
10326       chmod a+x \$dldir/$dlname~
10327       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10328         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10329       fi'
10330     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10331       dlpath=$dir/\$dldll~
10332        $RM \$dlpath'
10333     shlibpath_overrides_runpath=yes
10334
10335     case $host_os in
10336     cygwin*)
10337       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10338       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10339
10340       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10341       ;;
10342     mingw* | cegcc*)
10343       # MinGW DLLs use traditional 'lib' prefix
10344       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10345       ;;
10346     pw32*)
10347       # pw32 DLLs use 'pw' prefix rather than 'lib'
10348       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10349       ;;
10350     esac
10351     dynamic_linker='Win32 ld.exe'
10352     ;;
10353
10354   *,cl*)
10355     # Native MSVC
10356     libname_spec='$name'
10357     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10358     library_names_spec='${libname}.dll.lib'
10359
10360     case $build_os in
10361     mingw*)
10362       sys_lib_search_path_spec=
10363       lt_save_ifs=$IFS
10364       IFS=';'
10365       for lt_path in $LIB
10366       do
10367         IFS=$lt_save_ifs
10368         # Let DOS variable expansion print the short 8.3 style file name.
10369         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10370         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10371       done
10372       IFS=$lt_save_ifs
10373       # Convert to MSYS style.
10374       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10375       ;;
10376     cygwin*)
10377       # Convert to unix form, then to dos form, then back to unix form
10378       # but this time dos style (no spaces!) so that the unix form looks
10379       # like /cygdrive/c/PROGRA~1:/cygdr...
10380       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10381       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10382       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10383       ;;
10384     *)
10385       sys_lib_search_path_spec="$LIB"
10386       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10387         # It is most probably a Windows format PATH.
10388         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10389       else
10390         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10391       fi
10392       # FIXME: find the short name or the path components, as spaces are
10393       # common. (e.g. "Program Files" -> "PROGRA~1")
10394       ;;
10395     esac
10396
10397     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10398     postinstall_cmds='base_file=`basename \${file}`~
10399       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10400       dldir=$destdir/`dirname \$dlpath`~
10401       test -d \$dldir || mkdir -p \$dldir~
10402       $install_prog $dir/$dlname \$dldir/$dlname'
10403     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10404       dlpath=$dir/\$dldll~
10405        $RM \$dlpath'
10406     shlibpath_overrides_runpath=yes
10407     dynamic_linker='Win32 link.exe'
10408     ;;
10409
10410   *)
10411     # Assume MSVC wrapper
10412     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10413     dynamic_linker='Win32 ld.exe'
10414     ;;
10415   esac
10416   # FIXME: first we should search . and the directory the executable is in
10417   shlibpath_var=PATH
10418   ;;
10419
10420 darwin* | rhapsody*)
10421   dynamic_linker="$host_os dyld"
10422   version_type=darwin
10423   need_lib_prefix=no
10424   need_version=no
10425   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10426   soname_spec='${libname}${release}${major}$shared_ext'
10427   shlibpath_overrides_runpath=yes
10428   shlibpath_var=DYLD_LIBRARY_PATH
10429   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10430
10431   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10432   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10433   ;;
10434
10435 dgux*)
10436   version_type=linux # correct to gnu/linux during the next big refactor
10437   need_lib_prefix=no
10438   need_version=no
10439   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10440   soname_spec='${libname}${release}${shared_ext}$major'
10441   shlibpath_var=LD_LIBRARY_PATH
10442   ;;
10443
10444 freebsd* | dragonfly*)
10445   # DragonFly does not have aout.  When/if they implement a new
10446   # versioning mechanism, adjust this.
10447   if test -x /usr/bin/objformat; then
10448     objformat=`/usr/bin/objformat`
10449   else
10450     case $host_os in
10451     freebsd[23].*) objformat=aout ;;
10452     *) objformat=elf ;;
10453     esac
10454   fi
10455   version_type=freebsd-$objformat
10456   case $version_type in
10457     freebsd-elf*)
10458       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10459       need_version=no
10460       need_lib_prefix=no
10461       ;;
10462     freebsd-*)
10463       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10464       need_version=yes
10465       ;;
10466   esac
10467   shlibpath_var=LD_LIBRARY_PATH
10468   case $host_os in
10469   freebsd2.*)
10470     shlibpath_overrides_runpath=yes
10471     ;;
10472   freebsd3.[01]* | freebsdelf3.[01]*)
10473     shlibpath_overrides_runpath=yes
10474     hardcode_into_libs=yes
10475     ;;
10476   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10477   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10478     shlibpath_overrides_runpath=no
10479     hardcode_into_libs=yes
10480     ;;
10481   *) # from 4.6 on, and DragonFly
10482     shlibpath_overrides_runpath=yes
10483     hardcode_into_libs=yes
10484     ;;
10485   esac
10486   ;;
10487
10488 haiku*)
10489   version_type=linux # correct to gnu/linux during the next big refactor
10490   need_lib_prefix=no
10491   need_version=no
10492   dynamic_linker="$host_os runtime_loader"
10493   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10494   soname_spec='${libname}${release}${shared_ext}$major'
10495   shlibpath_var=LIBRARY_PATH
10496   shlibpath_overrides_runpath=yes
10497   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10498   hardcode_into_libs=yes
10499   ;;
10500
10501 hpux9* | hpux10* | hpux11*)
10502   # Give a soname corresponding to the major version so that dld.sl refuses to
10503   # link against other versions.
10504   version_type=sunos
10505   need_lib_prefix=no
10506   need_version=no
10507   case $host_cpu in
10508   ia64*)
10509     shrext_cmds='.so'
10510     hardcode_into_libs=yes
10511     dynamic_linker="$host_os dld.so"
10512     shlibpath_var=LD_LIBRARY_PATH
10513     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10514     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10515     soname_spec='${libname}${release}${shared_ext}$major'
10516     if test "X$HPUX_IA64_MODE" = X32; then
10517       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10518     else
10519       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10520     fi
10521     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10522     ;;
10523   hppa*64*)
10524     shrext_cmds='.sl'
10525     hardcode_into_libs=yes
10526     dynamic_linker="$host_os dld.sl"
10527     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10528     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10529     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10530     soname_spec='${libname}${release}${shared_ext}$major'
10531     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10532     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10533     ;;
10534   *)
10535     shrext_cmds='.sl'
10536     dynamic_linker="$host_os dld.sl"
10537     shlibpath_var=SHLIB_PATH
10538     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10539     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10540     soname_spec='${libname}${release}${shared_ext}$major'
10541     ;;
10542   esac
10543   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10544   postinstall_cmds='chmod 555 $lib'
10545   # or fails outright, so override atomically:
10546   install_override_mode=555
10547   ;;
10548
10549 interix[3-9]*)
10550   version_type=linux # correct to gnu/linux during the next big refactor
10551   need_lib_prefix=no
10552   need_version=no
10553   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10554   soname_spec='${libname}${release}${shared_ext}$major'
10555   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10556   shlibpath_var=LD_LIBRARY_PATH
10557   shlibpath_overrides_runpath=no
10558   hardcode_into_libs=yes
10559   ;;
10560
10561 irix5* | irix6* | nonstopux*)
10562   case $host_os in
10563     nonstopux*) version_type=nonstopux ;;
10564     *)
10565         if test "$lt_cv_prog_gnu_ld" = yes; then
10566                 version_type=linux # correct to gnu/linux during the next big refactor
10567         else
10568                 version_type=irix
10569         fi ;;
10570   esac
10571   need_lib_prefix=no
10572   need_version=no
10573   soname_spec='${libname}${release}${shared_ext}$major'
10574   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10575   case $host_os in
10576   irix5* | nonstopux*)
10577     libsuff= shlibsuff=
10578     ;;
10579   *)
10580     case $LD in # libtool.m4 will add one of these switches to LD
10581     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10582       libsuff= shlibsuff= libmagic=32-bit;;
10583     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10584       libsuff=32 shlibsuff=N32 libmagic=N32;;
10585     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10586       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10587     *) libsuff= shlibsuff= libmagic=never-match;;
10588     esac
10589     ;;
10590   esac
10591   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10592   shlibpath_overrides_runpath=no
10593   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10594   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10595   hardcode_into_libs=yes
10596   ;;
10597
10598 # No shared lib support for Linux oldld, aout, or coff.
10599 linux*oldld* | linux*aout* | linux*coff*)
10600   dynamic_linker=no
10601   ;;
10602
10603 # This must be glibc/ELF.
10604 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10605   version_type=linux # correct to gnu/linux during the next big refactor
10606   need_lib_prefix=no
10607   need_version=no
10608   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10609   soname_spec='${libname}${release}${shared_ext}$major'
10610   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10611   shlibpath_var=LD_LIBRARY_PATH
10612   shlibpath_overrides_runpath=no
10613
10614   # Some binutils ld are patched to set DT_RUNPATH
10615   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10616   $as_echo_n "(cached) " >&6
10617 else
10618   lt_cv_shlibpath_overrides_runpath=no
10619     save_LDFLAGS=$LDFLAGS
10620     save_libdir=$libdir
10621     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10622          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10623     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10624 /* end confdefs.h.  */
10625
10626 int
10627 main ()
10628 {
10629
10630   ;
10631   return 0;
10632 }
10633 _ACEOF
10634 if ac_fn_c_try_link "$LINENO"; then :
10635   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10636   lt_cv_shlibpath_overrides_runpath=yes
10637 fi
10638 fi
10639 rm -f core conftest.err conftest.$ac_objext \
10640     conftest$ac_exeext conftest.$ac_ext
10641     LDFLAGS=$save_LDFLAGS
10642     libdir=$save_libdir
10643
10644 fi
10645
10646   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10647
10648   # This implies no fast_install, which is unacceptable.
10649   # Some rework will be needed to allow for fast_install
10650   # before this can be enabled.
10651   hardcode_into_libs=yes
10652
10653   # Append ld.so.conf contents to the search path
10654   if test -f /etc/ld.so.conf; then
10655     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' ' '`
10656     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10657   fi
10658
10659   # We used to test for /lib/ld.so.1 and disable shared libraries on
10660   # powerpc, because MkLinux only supported shared libraries with the
10661   # GNU dynamic linker.  Since this was broken with cross compilers,
10662   # most powerpc-linux boxes support dynamic linking these days and
10663   # people can always --disable-shared, the test was removed, and we
10664   # assume the GNU/Linux dynamic linker is in use.
10665   dynamic_linker='GNU/Linux ld.so'
10666   ;;
10667
10668 netbsdelf*-gnu)
10669   version_type=linux
10670   need_lib_prefix=no
10671   need_version=no
10672   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10673   soname_spec='${libname}${release}${shared_ext}$major'
10674   shlibpath_var=LD_LIBRARY_PATH
10675   shlibpath_overrides_runpath=no
10676   hardcode_into_libs=yes
10677   dynamic_linker='NetBSD ld.elf_so'
10678   ;;
10679
10680 netbsd*)
10681   version_type=sunos
10682   need_lib_prefix=no
10683   need_version=no
10684   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10685     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10686     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10687     dynamic_linker='NetBSD (a.out) ld.so'
10688   else
10689     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10690     soname_spec='${libname}${release}${shared_ext}$major'
10691     dynamic_linker='NetBSD ld.elf_so'
10692   fi
10693   shlibpath_var=LD_LIBRARY_PATH
10694   shlibpath_overrides_runpath=yes
10695   hardcode_into_libs=yes
10696   ;;
10697
10698 newsos6)
10699   version_type=linux # correct to gnu/linux during the next big refactor
10700   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10701   shlibpath_var=LD_LIBRARY_PATH
10702   shlibpath_overrides_runpath=yes
10703   ;;
10704
10705 *nto* | *qnx*)
10706   version_type=qnx
10707   need_lib_prefix=no
10708   need_version=no
10709   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10710   soname_spec='${libname}${release}${shared_ext}$major'
10711   shlibpath_var=LD_LIBRARY_PATH
10712   shlibpath_overrides_runpath=no
10713   hardcode_into_libs=yes
10714   dynamic_linker='ldqnx.so'
10715   ;;
10716
10717 openbsd*)
10718   version_type=sunos
10719   sys_lib_dlsearch_path_spec="/usr/lib"
10720   need_lib_prefix=no
10721   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10722   case $host_os in
10723     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10724     *)                          need_version=no  ;;
10725   esac
10726   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10727   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10728   shlibpath_var=LD_LIBRARY_PATH
10729   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10730     case $host_os in
10731       openbsd2.[89] | openbsd2.[89].*)
10732         shlibpath_overrides_runpath=no
10733         ;;
10734       *)
10735         shlibpath_overrides_runpath=yes
10736         ;;
10737       esac
10738   else
10739     shlibpath_overrides_runpath=yes
10740   fi
10741   ;;
10742
10743 os2*)
10744   libname_spec='$name'
10745   shrext_cmds=".dll"
10746   need_lib_prefix=no
10747   library_names_spec='$libname${shared_ext} $libname.a'
10748   dynamic_linker='OS/2 ld.exe'
10749   shlibpath_var=LIBPATH
10750   ;;
10751
10752 osf3* | osf4* | osf5*)
10753   version_type=osf
10754   need_lib_prefix=no
10755   need_version=no
10756   soname_spec='${libname}${release}${shared_ext}$major'
10757   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10758   shlibpath_var=LD_LIBRARY_PATH
10759   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10760   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10761   ;;
10762
10763 rdos*)
10764   dynamic_linker=no
10765   ;;
10766
10767 solaris*)
10768   version_type=linux # correct to gnu/linux during the next big refactor
10769   need_lib_prefix=no
10770   need_version=no
10771   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10772   soname_spec='${libname}${release}${shared_ext}$major'
10773   shlibpath_var=LD_LIBRARY_PATH
10774   shlibpath_overrides_runpath=yes
10775   hardcode_into_libs=yes
10776   # ldd complains unless libraries are executable
10777   postinstall_cmds='chmod +x $lib'
10778   ;;
10779
10780 sunos4*)
10781   version_type=sunos
10782   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10783   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10784   shlibpath_var=LD_LIBRARY_PATH
10785   shlibpath_overrides_runpath=yes
10786   if test "$with_gnu_ld" = yes; then
10787     need_lib_prefix=no
10788   fi
10789   need_version=yes
10790   ;;
10791
10792 sysv4 | sysv4.3*)
10793   version_type=linux # correct to gnu/linux during the next big refactor
10794   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10795   soname_spec='${libname}${release}${shared_ext}$major'
10796   shlibpath_var=LD_LIBRARY_PATH
10797   case $host_vendor in
10798     sni)
10799       shlibpath_overrides_runpath=no
10800       need_lib_prefix=no
10801       runpath_var=LD_RUN_PATH
10802       ;;
10803     siemens)
10804       need_lib_prefix=no
10805       ;;
10806     motorola)
10807       need_lib_prefix=no
10808       need_version=no
10809       shlibpath_overrides_runpath=no
10810       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10811       ;;
10812   esac
10813   ;;
10814
10815 sysv4*MP*)
10816   if test -d /usr/nec ;then
10817     version_type=linux # correct to gnu/linux during the next big refactor
10818     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10819     soname_spec='$libname${shared_ext}.$major'
10820     shlibpath_var=LD_LIBRARY_PATH
10821   fi
10822   ;;
10823
10824 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10825   version_type=freebsd-elf
10826   need_lib_prefix=no
10827   need_version=no
10828   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10829   soname_spec='${libname}${release}${shared_ext}$major'
10830   shlibpath_var=LD_LIBRARY_PATH
10831   shlibpath_overrides_runpath=yes
10832   hardcode_into_libs=yes
10833   if test "$with_gnu_ld" = yes; then
10834     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10835   else
10836     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10837     case $host_os in
10838       sco3.2v5*)
10839         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10840         ;;
10841     esac
10842   fi
10843   sys_lib_dlsearch_path_spec='/usr/lib'
10844   ;;
10845
10846 tpf*)
10847   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10848   version_type=linux # correct to gnu/linux during the next big refactor
10849   need_lib_prefix=no
10850   need_version=no
10851   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10852   shlibpath_var=LD_LIBRARY_PATH
10853   shlibpath_overrides_runpath=no
10854   hardcode_into_libs=yes
10855   ;;
10856
10857 uts4*)
10858   version_type=linux # correct to gnu/linux during the next big refactor
10859   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10860   soname_spec='${libname}${release}${shared_ext}$major'
10861   shlibpath_var=LD_LIBRARY_PATH
10862   ;;
10863
10864 *)
10865   dynamic_linker=no
10866   ;;
10867 esac
10868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10869 $as_echo "$dynamic_linker" >&6; }
10870 test "$dynamic_linker" = no && can_build_shared=no
10871
10872 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10873 if test "$GCC" = yes; then
10874   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10875 fi
10876
10877 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10878   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10879 fi
10880 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10881   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10882 fi
10883
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   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10976 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10977 hardcode_action=
10978 if test -n "$hardcode_libdir_flag_spec" ||
10979    test -n "$runpath_var" ||
10980    test "X$hardcode_automatic" = "Xyes" ; then
10981
10982   # We can hardcode non-existent directories.
10983   if test "$hardcode_direct" != no &&
10984      # If the only mechanism to avoid hardcoding is shlibpath_var, we
10985      # have to relink, otherwise we might link with an installed library
10986      # when we should be linking with a yet-to-be-installed one
10987      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10988      test "$hardcode_minus_L" != no; then
10989     # Linking always hardcodes the temporary library directory.
10990     hardcode_action=relink
10991   else
10992     # We can link without hardcoding, and we can hardcode nonexisting dirs.
10993     hardcode_action=immediate
10994   fi
10995 else
10996   # We cannot hardcode anything, or else we can only hardcode existing
10997   # directories.
10998   hardcode_action=unsupported
10999 fi
11000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11001 $as_echo "$hardcode_action" >&6; }
11002
11003 if test "$hardcode_action" = relink ||
11004    test "$inherit_rpath" = yes; then
11005   # Fast installation is not supported
11006   enable_fast_install=no
11007 elif test "$shlibpath_overrides_runpath" = yes ||
11008      test "$enable_shared" = no; then
11009   # Fast installation is not necessary
11010   enable_fast_install=needless
11011 fi
11012
11013
11014
11015
11016
11017
11018   if test "x$enable_dlopen" != xyes; then
11019   enable_dlopen=unknown
11020   enable_dlopen_self=unknown
11021   enable_dlopen_self_static=unknown
11022 else
11023   lt_cv_dlopen=no
11024   lt_cv_dlopen_libs=
11025
11026   case $host_os in
11027   beos*)
11028     lt_cv_dlopen="load_add_on"
11029     lt_cv_dlopen_libs=
11030     lt_cv_dlopen_self=yes
11031     ;;
11032
11033   mingw* | pw32* | cegcc*)
11034     lt_cv_dlopen="LoadLibrary"
11035     lt_cv_dlopen_libs=
11036     ;;
11037
11038   cygwin*)
11039     lt_cv_dlopen="dlopen"
11040     lt_cv_dlopen_libs=
11041     ;;
11042
11043   darwin*)
11044   # if libdl is installed we need to link against it
11045     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11046 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11047 if ${ac_cv_lib_dl_dlopen+:} false; then :
11048   $as_echo_n "(cached) " >&6
11049 else
11050   ac_check_lib_save_LIBS=$LIBS
11051 LIBS="-ldl  $LIBS"
11052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11053 /* end confdefs.h.  */
11054
11055 /* Override any GCC internal prototype to avoid an error.
11056    Use char because int might match the return type of a GCC
11057    builtin and then its argument prototype would still apply.  */
11058 #ifdef __cplusplus
11059 extern "C"
11060 #endif
11061 char dlopen ();
11062 int
11063 main ()
11064 {
11065 return dlopen ();
11066   ;
11067   return 0;
11068 }
11069 _ACEOF
11070 if ac_fn_c_try_link "$LINENO"; then :
11071   ac_cv_lib_dl_dlopen=yes
11072 else
11073   ac_cv_lib_dl_dlopen=no
11074 fi
11075 rm -f core conftest.err conftest.$ac_objext \
11076     conftest$ac_exeext conftest.$ac_ext
11077 LIBS=$ac_check_lib_save_LIBS
11078 fi
11079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11080 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11081 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11082   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11083 else
11084
11085     lt_cv_dlopen="dyld"
11086     lt_cv_dlopen_libs=
11087     lt_cv_dlopen_self=yes
11088
11089 fi
11090
11091     ;;
11092
11093   *)
11094     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11095 if test "x$ac_cv_func_shl_load" = xyes; then :
11096   lt_cv_dlopen="shl_load"
11097 else
11098   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11099 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11100 if ${ac_cv_lib_dld_shl_load+:} false; then :
11101   $as_echo_n "(cached) " >&6
11102 else
11103   ac_check_lib_save_LIBS=$LIBS
11104 LIBS="-ldld  $LIBS"
11105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11106 /* end confdefs.h.  */
11107
11108 /* Override any GCC internal prototype to avoid an error.
11109    Use char because int might match the return type of a GCC
11110    builtin and then its argument prototype would still apply.  */
11111 #ifdef __cplusplus
11112 extern "C"
11113 #endif
11114 char shl_load ();
11115 int
11116 main ()
11117 {
11118 return shl_load ();
11119   ;
11120   return 0;
11121 }
11122 _ACEOF
11123 if ac_fn_c_try_link "$LINENO"; then :
11124   ac_cv_lib_dld_shl_load=yes
11125 else
11126   ac_cv_lib_dld_shl_load=no
11127 fi
11128 rm -f core conftest.err conftest.$ac_objext \
11129     conftest$ac_exeext conftest.$ac_ext
11130 LIBS=$ac_check_lib_save_LIBS
11131 fi
11132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11133 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11134 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11135   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11136 else
11137   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11138 if test "x$ac_cv_func_dlopen" = xyes; then :
11139   lt_cv_dlopen="dlopen"
11140 else
11141   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11142 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11143 if ${ac_cv_lib_dl_dlopen+:} false; then :
11144   $as_echo_n "(cached) " >&6
11145 else
11146   ac_check_lib_save_LIBS=$LIBS
11147 LIBS="-ldl  $LIBS"
11148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11149 /* end confdefs.h.  */
11150
11151 /* Override any GCC internal prototype to avoid an error.
11152    Use char because int might match the return type of a GCC
11153    builtin and then its argument prototype would still apply.  */
11154 #ifdef __cplusplus
11155 extern "C"
11156 #endif
11157 char dlopen ();
11158 int
11159 main ()
11160 {
11161 return dlopen ();
11162   ;
11163   return 0;
11164 }
11165 _ACEOF
11166 if ac_fn_c_try_link "$LINENO"; then :
11167   ac_cv_lib_dl_dlopen=yes
11168 else
11169   ac_cv_lib_dl_dlopen=no
11170 fi
11171 rm -f core conftest.err conftest.$ac_objext \
11172     conftest$ac_exeext conftest.$ac_ext
11173 LIBS=$ac_check_lib_save_LIBS
11174 fi
11175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11176 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11177 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11178   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11179 else
11180   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11181 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11182 if ${ac_cv_lib_svld_dlopen+:} false; then :
11183   $as_echo_n "(cached) " >&6
11184 else
11185   ac_check_lib_save_LIBS=$LIBS
11186 LIBS="-lsvld  $LIBS"
11187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11188 /* end confdefs.h.  */
11189
11190 /* Override any GCC internal prototype to avoid an error.
11191    Use char because int might match the return type of a GCC
11192    builtin and then its argument prototype would still apply.  */
11193 #ifdef __cplusplus
11194 extern "C"
11195 #endif
11196 char dlopen ();
11197 int
11198 main ()
11199 {
11200 return dlopen ();
11201   ;
11202   return 0;
11203 }
11204 _ACEOF
11205 if ac_fn_c_try_link "$LINENO"; then :
11206   ac_cv_lib_svld_dlopen=yes
11207 else
11208   ac_cv_lib_svld_dlopen=no
11209 fi
11210 rm -f core conftest.err conftest.$ac_objext \
11211     conftest$ac_exeext conftest.$ac_ext
11212 LIBS=$ac_check_lib_save_LIBS
11213 fi
11214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11215 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11216 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11217   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11218 else
11219   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11220 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11221 if ${ac_cv_lib_dld_dld_link+:} false; then :
11222   $as_echo_n "(cached) " >&6
11223 else
11224   ac_check_lib_save_LIBS=$LIBS
11225 LIBS="-ldld  $LIBS"
11226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11227 /* end confdefs.h.  */
11228
11229 /* Override any GCC internal prototype to avoid an error.
11230    Use char because int might match the return type of a GCC
11231    builtin and then its argument prototype would still apply.  */
11232 #ifdef __cplusplus
11233 extern "C"
11234 #endif
11235 char dld_link ();
11236 int
11237 main ()
11238 {
11239 return dld_link ();
11240   ;
11241   return 0;
11242 }
11243 _ACEOF
11244 if ac_fn_c_try_link "$LINENO"; then :
11245   ac_cv_lib_dld_dld_link=yes
11246 else
11247   ac_cv_lib_dld_dld_link=no
11248 fi
11249 rm -f core conftest.err conftest.$ac_objext \
11250     conftest$ac_exeext conftest.$ac_ext
11251 LIBS=$ac_check_lib_save_LIBS
11252 fi
11253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11254 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11255 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11256   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11257 fi
11258
11259
11260 fi
11261
11262
11263 fi
11264
11265
11266 fi
11267
11268
11269 fi
11270
11271
11272 fi
11273
11274     ;;
11275   esac
11276
11277   if test "x$lt_cv_dlopen" != xno; then
11278     enable_dlopen=yes
11279   else
11280     enable_dlopen=no
11281   fi
11282
11283   case $lt_cv_dlopen in
11284   dlopen)
11285     save_CPPFLAGS="$CPPFLAGS"
11286     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11287
11288     save_LDFLAGS="$LDFLAGS"
11289     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11290
11291     save_LIBS="$LIBS"
11292     LIBS="$lt_cv_dlopen_libs $LIBS"
11293
11294     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11295 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11296 if ${lt_cv_dlopen_self+:} false; then :
11297   $as_echo_n "(cached) " >&6
11298 else
11299           if test "$cross_compiling" = yes; then :
11300   lt_cv_dlopen_self=cross
11301 else
11302   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11303   lt_status=$lt_dlunknown
11304   cat > conftest.$ac_ext <<_LT_EOF
11305 #line $LINENO "configure"
11306 #include "confdefs.h"
11307
11308 #if HAVE_DLFCN_H
11309 #include <dlfcn.h>
11310 #endif
11311
11312 #include <stdio.h>
11313
11314 #ifdef RTLD_GLOBAL
11315 #  define LT_DLGLOBAL           RTLD_GLOBAL
11316 #else
11317 #  ifdef DL_GLOBAL
11318 #    define LT_DLGLOBAL         DL_GLOBAL
11319 #  else
11320 #    define LT_DLGLOBAL         0
11321 #  endif
11322 #endif
11323
11324 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11325    find out it does not work in some platform. */
11326 #ifndef LT_DLLAZY_OR_NOW
11327 #  ifdef RTLD_LAZY
11328 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11329 #  else
11330 #    ifdef DL_LAZY
11331 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11332 #    else
11333 #      ifdef RTLD_NOW
11334 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11335 #      else
11336 #        ifdef DL_NOW
11337 #          define LT_DLLAZY_OR_NOW      DL_NOW
11338 #        else
11339 #          define LT_DLLAZY_OR_NOW      0
11340 #        endif
11341 #      endif
11342 #    endif
11343 #  endif
11344 #endif
11345
11346 /* When -fvisbility=hidden is used, assume the code has been annotated
11347    correspondingly for the symbols needed.  */
11348 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11349 int fnord () __attribute__((visibility("default")));
11350 #endif
11351
11352 int fnord () { return 42; }
11353 int main ()
11354 {
11355   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11356   int status = $lt_dlunknown;
11357
11358   if (self)
11359     {
11360       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11361       else
11362         {
11363           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11364           else puts (dlerror ());
11365         }
11366       /* dlclose (self); */
11367     }
11368   else
11369     puts (dlerror ());
11370
11371   return status;
11372 }
11373 _LT_EOF
11374   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11375   (eval $ac_link) 2>&5
11376   ac_status=$?
11377   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11378   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11379     (./conftest; exit; ) >&5 2>/dev/null
11380     lt_status=$?
11381     case x$lt_status in
11382       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11383       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11384       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11385     esac
11386   else :
11387     # compilation failed
11388     lt_cv_dlopen_self=no
11389   fi
11390 fi
11391 rm -fr conftest*
11392
11393
11394 fi
11395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11396 $as_echo "$lt_cv_dlopen_self" >&6; }
11397
11398     if test "x$lt_cv_dlopen_self" = xyes; then
11399       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11400       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11401 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11402 if ${lt_cv_dlopen_self_static+:} false; then :
11403   $as_echo_n "(cached) " >&6
11404 else
11405           if test "$cross_compiling" = yes; then :
11406   lt_cv_dlopen_self_static=cross
11407 else
11408   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11409   lt_status=$lt_dlunknown
11410   cat > conftest.$ac_ext <<_LT_EOF
11411 #line $LINENO "configure"
11412 #include "confdefs.h"
11413
11414 #if HAVE_DLFCN_H
11415 #include <dlfcn.h>
11416 #endif
11417
11418 #include <stdio.h>
11419
11420 #ifdef RTLD_GLOBAL
11421 #  define LT_DLGLOBAL           RTLD_GLOBAL
11422 #else
11423 #  ifdef DL_GLOBAL
11424 #    define LT_DLGLOBAL         DL_GLOBAL
11425 #  else
11426 #    define LT_DLGLOBAL         0
11427 #  endif
11428 #endif
11429
11430 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11431    find out it does not work in some platform. */
11432 #ifndef LT_DLLAZY_OR_NOW
11433 #  ifdef RTLD_LAZY
11434 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11435 #  else
11436 #    ifdef DL_LAZY
11437 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11438 #    else
11439 #      ifdef RTLD_NOW
11440 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11441 #      else
11442 #        ifdef DL_NOW
11443 #          define LT_DLLAZY_OR_NOW      DL_NOW
11444 #        else
11445 #          define LT_DLLAZY_OR_NOW      0
11446 #        endif
11447 #      endif
11448 #    endif
11449 #  endif
11450 #endif
11451
11452 /* When -fvisbility=hidden is used, assume the code has been annotated
11453    correspondingly for the symbols needed.  */
11454 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11455 int fnord () __attribute__((visibility("default")));
11456 #endif
11457
11458 int fnord () { return 42; }
11459 int main ()
11460 {
11461   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11462   int status = $lt_dlunknown;
11463
11464   if (self)
11465     {
11466       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11467       else
11468         {
11469           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11470           else puts (dlerror ());
11471         }
11472       /* dlclose (self); */
11473     }
11474   else
11475     puts (dlerror ());
11476
11477   return status;
11478 }
11479 _LT_EOF
11480   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11481   (eval $ac_link) 2>&5
11482   ac_status=$?
11483   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11484   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11485     (./conftest; exit; ) >&5 2>/dev/null
11486     lt_status=$?
11487     case x$lt_status in
11488       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11489       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11490       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11491     esac
11492   else :
11493     # compilation failed
11494     lt_cv_dlopen_self_static=no
11495   fi
11496 fi
11497 rm -fr conftest*
11498
11499
11500 fi
11501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11502 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11503     fi
11504
11505     CPPFLAGS="$save_CPPFLAGS"
11506     LDFLAGS="$save_LDFLAGS"
11507     LIBS="$save_LIBS"
11508     ;;
11509   esac
11510
11511   case $lt_cv_dlopen_self in
11512   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11513   *) enable_dlopen_self=unknown ;;
11514   esac
11515
11516   case $lt_cv_dlopen_self_static in
11517   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11518   *) enable_dlopen_self_static=unknown ;;
11519   esac
11520 fi
11521
11522
11523
11524
11525
11526
11527
11528
11529
11530
11531
11532
11533
11534
11535
11536
11537
11538 striplib=
11539 old_striplib=
11540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11541 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11542 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11543   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11544   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11545   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11546 $as_echo "yes" >&6; }
11547 else
11548 # FIXME - insert some real tests, host_os isn't really good enough
11549   case $host_os in
11550   darwin*)
11551     if test -n "$STRIP" ; then
11552       striplib="$STRIP -x"
11553       old_striplib="$STRIP -S"
11554       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11555 $as_echo "yes" >&6; }
11556     else
11557       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11558 $as_echo "no" >&6; }
11559     fi
11560     ;;
11561   *)
11562     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11563 $as_echo "no" >&6; }
11564     ;;
11565   esac
11566 fi
11567
11568
11569
11570
11571
11572
11573
11574
11575
11576
11577
11578
11579   # Report which library types will actually be built
11580   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11581 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11582   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11583 $as_echo "$can_build_shared" >&6; }
11584
11585   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11586 $as_echo_n "checking whether to build shared libraries... " >&6; }
11587   test "$can_build_shared" = "no" && enable_shared=no
11588
11589   # On AIX, shared libraries and static libraries use the same namespace, and
11590   # are all built from PIC.
11591   case $host_os in
11592   aix3*)
11593     test "$enable_shared" = yes && enable_static=no
11594     if test -n "$RANLIB"; then
11595       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11596       postinstall_cmds='$RANLIB $lib'
11597     fi
11598     ;;
11599
11600   aix[4-9]*)
11601     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11602       test "$enable_shared" = yes && enable_static=no
11603     fi
11604     ;;
11605   esac
11606   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11607 $as_echo "$enable_shared" >&6; }
11608
11609   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11610 $as_echo_n "checking whether to build static libraries... " >&6; }
11611   # Make sure either enable_shared or enable_static is yes.
11612   test "$enable_shared" = yes || enable_static=yes
11613   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11614 $as_echo "$enable_static" >&6; }
11615
11616
11617
11618
11619 fi
11620 ac_ext=c
11621 ac_cpp='$CPP $CPPFLAGS'
11622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11625
11626 CC="$lt_save_CC"
11627
11628
11629
11630
11631
11632
11633
11634
11635
11636
11637
11638
11639
11640
11641
11642         ac_config_commands="$ac_config_commands libtool"
11643
11644
11645
11646
11647 # Only expand once:
11648
11649
11650
11651 #gtk-doc
11652
11653
11654
11655
11656
11657
11658
11659 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11660         if test -n "$ac_tool_prefix"; then
11661   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11662 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11664 $as_echo_n "checking for $ac_word... " >&6; }
11665 if ${ac_cv_path_PKG_CONFIG+:} false; then :
11666   $as_echo_n "(cached) " >&6
11667 else
11668   case $PKG_CONFIG in
11669   [\\/]* | ?:[\\/]*)
11670   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11671   ;;
11672   *)
11673   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11674 for as_dir in $PATH
11675 do
11676   IFS=$as_save_IFS
11677   test -z "$as_dir" && as_dir=.
11678     for ac_exec_ext in '' $ac_executable_extensions; do
11679   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11680     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11681     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11682     break 2
11683   fi
11684 done
11685   done
11686 IFS=$as_save_IFS
11687
11688   ;;
11689 esac
11690 fi
11691 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11692 if test -n "$PKG_CONFIG"; then
11693   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11694 $as_echo "$PKG_CONFIG" >&6; }
11695 else
11696   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11697 $as_echo "no" >&6; }
11698 fi
11699
11700
11701 fi
11702 if test -z "$ac_cv_path_PKG_CONFIG"; then
11703   ac_pt_PKG_CONFIG=$PKG_CONFIG
11704   # Extract the first word of "pkg-config", so it can be a program name with args.
11705 set dummy pkg-config; ac_word=$2
11706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11707 $as_echo_n "checking for $ac_word... " >&6; }
11708 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
11709   $as_echo_n "(cached) " >&6
11710 else
11711   case $ac_pt_PKG_CONFIG in
11712   [\\/]* | ?:[\\/]*)
11713   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11714   ;;
11715   *)
11716   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11717 for as_dir in $PATH
11718 do
11719   IFS=$as_save_IFS
11720   test -z "$as_dir" && as_dir=.
11721     for ac_exec_ext in '' $ac_executable_extensions; do
11722   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11723     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11724     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11725     break 2
11726   fi
11727 done
11728   done
11729 IFS=$as_save_IFS
11730
11731   ;;
11732 esac
11733 fi
11734 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11735 if test -n "$ac_pt_PKG_CONFIG"; then
11736   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11737 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
11738 else
11739   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11740 $as_echo "no" >&6; }
11741 fi
11742
11743   if test "x$ac_pt_PKG_CONFIG" = x; then
11744     PKG_CONFIG=""
11745   else
11746     case $cross_compiling:$ac_tool_warned in
11747 yes:)
11748 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11749 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11750 ac_tool_warned=yes ;;
11751 esac
11752     PKG_CONFIG=$ac_pt_PKG_CONFIG
11753   fi
11754 else
11755   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11756 fi
11757
11758 fi
11759 if test -n "$PKG_CONFIG"; then
11760         _pkg_min_version=0.9.0
11761         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11762 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11763         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11764                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11765 $as_echo "yes" >&6; }
11766         else
11767                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11768 $as_echo "no" >&6; }
11769                 PKG_CONFIG=""
11770         fi
11771 fi
11772
11773
11774
11775   gtk_doc_requires="gtk-doc >= 1.18"
11776   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk-doc" >&5
11777 $as_echo_n "checking for gtk-doc... " >&6; }
11778   if test -n "$PKG_CONFIG" && \
11779     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_doc_requires\""; } >&5
11780   ($PKG_CONFIG --exists --print-errors "$gtk_doc_requires") 2>&5
11781   ac_status=$?
11782   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11783   test $ac_status = 0; }; then
11784   have_gtk_doc=yes
11785 else
11786   have_gtk_doc=no
11787 fi
11788   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_gtk_doc" >&5
11789 $as_echo "$have_gtk_doc" >&6; }
11790
11791   if test "$have_gtk_doc" = "no"; then
11792       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
11793   You will not be able to create source packages with 'make dist'
11794   because $gtk_doc_requires is not found." >&5
11795 $as_echo "$as_me: WARNING:
11796   You will not be able to create source packages with 'make dist'
11797   because $gtk_doc_requires is not found." >&2;}
11798   fi
11799
11800             # Extract the first word of "gtkdoc-check", so it can be a program name with args.
11801 set dummy gtkdoc-check; ac_word=$2
11802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11803 $as_echo_n "checking for $ac_word... " >&6; }
11804 if ${ac_cv_prog_GTKDOC_CHECK+:} false; then :
11805   $as_echo_n "(cached) " >&6
11806 else
11807   if test -n "$GTKDOC_CHECK"; then
11808   ac_cv_prog_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test.
11809 else
11810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11811 for as_dir in $PATH
11812 do
11813   IFS=$as_save_IFS
11814   test -z "$as_dir" && as_dir=.
11815     for ac_exec_ext in '' $ac_executable_extensions; do
11816   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11817     ac_cv_prog_GTKDOC_CHECK="gtkdoc-check.test"
11818     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11819     break 2
11820   fi
11821 done
11822   done
11823 IFS=$as_save_IFS
11824
11825 fi
11826 fi
11827 GTKDOC_CHECK=$ac_cv_prog_GTKDOC_CHECK
11828 if test -n "$GTKDOC_CHECK"; then
11829   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
11830 $as_echo "$GTKDOC_CHECK" >&6; }
11831 else
11832   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11833 $as_echo "no" >&6; }
11834 fi
11835
11836
11837   # Extract the first word of "gtkdoc-check", so it can be a program name with args.
11838 set dummy gtkdoc-check; ac_word=$2
11839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11840 $as_echo_n "checking for $ac_word... " >&6; }
11841 if ${ac_cv_path_GTKDOC_CHECK_PATH+:} false; then :
11842   $as_echo_n "(cached) " >&6
11843 else
11844   case $GTKDOC_CHECK_PATH in
11845   [\\/]* | ?:[\\/]*)
11846   ac_cv_path_GTKDOC_CHECK_PATH="$GTKDOC_CHECK_PATH" # Let the user override the test with a path.
11847   ;;
11848   *)
11849   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11850 for as_dir in $PATH
11851 do
11852   IFS=$as_save_IFS
11853   test -z "$as_dir" && as_dir=.
11854     for ac_exec_ext in '' $ac_executable_extensions; do
11855   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11856     ac_cv_path_GTKDOC_CHECK_PATH="$as_dir/$ac_word$ac_exec_ext"
11857     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11858     break 2
11859   fi
11860 done
11861   done
11862 IFS=$as_save_IFS
11863
11864   ;;
11865 esac
11866 fi
11867 GTKDOC_CHECK_PATH=$ac_cv_path_GTKDOC_CHECK_PATH
11868 if test -n "$GTKDOC_CHECK_PATH"; then
11869   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK_PATH" >&5
11870 $as_echo "$GTKDOC_CHECK_PATH" >&6; }
11871 else
11872   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11873 $as_echo "no" >&6; }
11874 fi
11875
11876
11877   for ac_prog in gtkdoc-rebase
11878 do
11879   # Extract the first word of "$ac_prog", so it can be a program name with args.
11880 set dummy $ac_prog; ac_word=$2
11881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11882 $as_echo_n "checking for $ac_word... " >&6; }
11883 if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
11884   $as_echo_n "(cached) " >&6
11885 else
11886   case $GTKDOC_REBASE in
11887   [\\/]* | ?:[\\/]*)
11888   ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
11889   ;;
11890   *)
11891   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11892 for as_dir in $PATH
11893 do
11894   IFS=$as_save_IFS
11895   test -z "$as_dir" && as_dir=.
11896     for ac_exec_ext in '' $ac_executable_extensions; do
11897   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11898     ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
11899     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11900     break 2
11901   fi
11902 done
11903   done
11904 IFS=$as_save_IFS
11905
11906   ;;
11907 esac
11908 fi
11909 GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
11910 if test -n "$GTKDOC_REBASE"; then
11911   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
11912 $as_echo "$GTKDOC_REBASE" >&6; }
11913 else
11914   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11915 $as_echo "no" >&6; }
11916 fi
11917
11918
11919   test -n "$GTKDOC_REBASE" && break
11920 done
11921 test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
11922
11923   # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
11924 set dummy gtkdoc-mkpdf; ac_word=$2
11925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11926 $as_echo_n "checking for $ac_word... " >&6; }
11927 if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
11928   $as_echo_n "(cached) " >&6
11929 else
11930   case $GTKDOC_MKPDF in
11931   [\\/]* | ?:[\\/]*)
11932   ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
11933   ;;
11934   *)
11935   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11936 for as_dir in $PATH
11937 do
11938   IFS=$as_save_IFS
11939   test -z "$as_dir" && as_dir=.
11940     for ac_exec_ext in '' $ac_executable_extensions; do
11941   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11942     ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
11943     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11944     break 2
11945   fi
11946 done
11947   done
11948 IFS=$as_save_IFS
11949
11950   ;;
11951 esac
11952 fi
11953 GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
11954 if test -n "$GTKDOC_MKPDF"; then
11955   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
11956 $as_echo "$GTKDOC_MKPDF" >&6; }
11957 else
11958   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11959 $as_echo "no" >&6; }
11960 fi
11961
11962
11963
11964
11965 # Check whether --with-html-dir was given.
11966 if test "${with_html_dir+set}" = set; then :
11967   withval=$with_html_dir;
11968 else
11969   with_html_dir='${datadir}/gtk-doc/html'
11970 fi
11971
11972   HTML_DIR="$with_html_dir"
11973
11974
11975     # Check whether --enable-gtk-doc was given.
11976 if test "${enable_gtk_doc+set}" = set; then :
11977   enableval=$enable_gtk_doc;
11978 else
11979   enable_gtk_doc=no
11980 fi
11981
11982
11983   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
11984 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
11985   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
11986 $as_echo "$enable_gtk_doc" >&6; }
11987
11988   if test "x$enable_gtk_doc" = "xyes" && test "$have_gtk_doc" = "no"; then
11989     as_fn_error $? "
11990   You must have $gtk_doc_requires installed to build documentation for
11991   $PACKAGE_NAME. Please install gtk-doc or disable building the
11992   documentation by adding '--disable-gtk-doc' to '$0'." "$LINENO" 5
11993   fi
11994
11995     if test "x$PACKAGE_NAME" != "xglib"; then
11996
11997 pkg_failed=no
11998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
11999 $as_echo_n "checking for GTKDOC_DEPS... " >&6; }
12000
12001 if test -n "$GTKDOC_DEPS_CFLAGS"; then
12002     pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
12003  elif test -n "$PKG_CONFIG"; then
12004     if test -n "$PKG_CONFIG" && \
12005     { { $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
12006   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
12007   ac_status=$?
12008   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12009   test $ac_status = 0; }; then
12010   pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
12011                       test "x$?" != "x0" && pkg_failed=yes
12012 else
12013   pkg_failed=yes
12014 fi
12015  else
12016     pkg_failed=untried
12017 fi
12018 if test -n "$GTKDOC_DEPS_LIBS"; then
12019     pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
12020  elif test -n "$PKG_CONFIG"; then
12021     if test -n "$PKG_CONFIG" && \
12022     { { $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
12023   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
12024   ac_status=$?
12025   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12026   test $ac_status = 0; }; then
12027   pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
12028                       test "x$?" != "x0" && pkg_failed=yes
12029 else
12030   pkg_failed=yes
12031 fi
12032  else
12033     pkg_failed=untried
12034 fi
12035
12036
12037
12038 if test $pkg_failed = yes; then
12039         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12040 $as_echo "no" >&6; }
12041
12042 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12043         _pkg_short_errors_supported=yes
12044 else
12045         _pkg_short_errors_supported=no
12046 fi
12047         if test $_pkg_short_errors_supported = yes; then
12048                 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`
12049         else
12050                 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>&1`
12051         fi
12052         # Put the nasty error message in config.log where it belongs
12053         echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
12054
12055         :
12056 elif test $pkg_failed = untried; then
12057         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12058 $as_echo "no" >&6; }
12059         :
12060 else
12061         GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
12062         GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
12063         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12064 $as_echo "yes" >&6; }
12065
12066 fi
12067   fi
12068
12069     # Check whether --enable-gtk-doc-html was given.
12070 if test "${enable_gtk_doc_html+set}" = set; then :
12071   enableval=$enable_gtk_doc_html;
12072 else
12073   enable_gtk_doc_html=yes
12074 fi
12075
12076     # Check whether --enable-gtk-doc-pdf was given.
12077 if test "${enable_gtk_doc_pdf+set}" = set; then :
12078   enableval=$enable_gtk_doc_pdf;
12079 else
12080   enable_gtk_doc_pdf=no
12081 fi
12082
12083
12084   if test -z "$GTKDOC_MKPDF"; then
12085     enable_gtk_doc_pdf=no
12086   fi
12087
12088   if test -z "$AM_DEFAULT_VERBOSITY"; then
12089     AM_DEFAULT_VERBOSITY=1
12090   fi
12091
12092
12093    if test x$have_gtk_doc = xyes; then
12094   HAVE_GTK_DOC_TRUE=
12095   HAVE_GTK_DOC_FALSE='#'
12096 else
12097   HAVE_GTK_DOC_TRUE='#'
12098   HAVE_GTK_DOC_FALSE=
12099 fi
12100
12101    if test x$enable_gtk_doc = xyes; then
12102   ENABLE_GTK_DOC_TRUE=
12103   ENABLE_GTK_DOC_FALSE='#'
12104 else
12105   ENABLE_GTK_DOC_TRUE='#'
12106   ENABLE_GTK_DOC_FALSE=
12107 fi
12108
12109    if test x$enable_gtk_doc_html = xyes; then
12110   GTK_DOC_BUILD_HTML_TRUE=
12111   GTK_DOC_BUILD_HTML_FALSE='#'
12112 else
12113   GTK_DOC_BUILD_HTML_TRUE='#'
12114   GTK_DOC_BUILD_HTML_FALSE=
12115 fi
12116
12117    if test x$enable_gtk_doc_pdf = xyes; then
12118   GTK_DOC_BUILD_PDF_TRUE=
12119   GTK_DOC_BUILD_PDF_FALSE='#'
12120 else
12121   GTK_DOC_BUILD_PDF_TRUE='#'
12122   GTK_DOC_BUILD_PDF_FALSE=
12123 fi
12124
12125    if test -n "$LIBTOOL"; then
12126   GTK_DOC_USE_LIBTOOL_TRUE=
12127   GTK_DOC_USE_LIBTOOL_FALSE='#'
12128 else
12129   GTK_DOC_USE_LIBTOOL_TRUE='#'
12130   GTK_DOC_USE_LIBTOOL_FALSE=
12131 fi
12132
12133    if test -n "$GTKDOC_REBASE"; then
12134   GTK_DOC_USE_REBASE_TRUE=
12135   GTK_DOC_USE_REBASE_FALSE='#'
12136 else
12137   GTK_DOC_USE_REBASE_TRUE='#'
12138   GTK_DOC_USE_REBASE_FALSE=
12139 fi
12140
12141
12142
12143 # Checks for programs.
12144 ac_ext=c
12145 ac_cpp='$CPP $CPPFLAGS'
12146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12149 if test -n "$ac_tool_prefix"; then
12150   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12151 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12153 $as_echo_n "checking for $ac_word... " >&6; }
12154 if ${ac_cv_prog_CC+:} false; then :
12155   $as_echo_n "(cached) " >&6
12156 else
12157   if test -n "$CC"; then
12158   ac_cv_prog_CC="$CC" # Let the user override the test.
12159 else
12160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12161 for as_dir in $PATH
12162 do
12163   IFS=$as_save_IFS
12164   test -z "$as_dir" && as_dir=.
12165     for ac_exec_ext in '' $ac_executable_extensions; do
12166   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12167     ac_cv_prog_CC="${ac_tool_prefix}gcc"
12168     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12169     break 2
12170   fi
12171 done
12172   done
12173 IFS=$as_save_IFS
12174
12175 fi
12176 fi
12177 CC=$ac_cv_prog_CC
12178 if test -n "$CC"; then
12179   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12180 $as_echo "$CC" >&6; }
12181 else
12182   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12183 $as_echo "no" >&6; }
12184 fi
12185
12186
12187 fi
12188 if test -z "$ac_cv_prog_CC"; then
12189   ac_ct_CC=$CC
12190   # Extract the first word of "gcc", so it can be a program name with args.
12191 set dummy gcc; ac_word=$2
12192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12193 $as_echo_n "checking for $ac_word... " >&6; }
12194 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12195   $as_echo_n "(cached) " >&6
12196 else
12197   if test -n "$ac_ct_CC"; then
12198   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12199 else
12200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12201 for as_dir in $PATH
12202 do
12203   IFS=$as_save_IFS
12204   test -z "$as_dir" && as_dir=.
12205     for ac_exec_ext in '' $ac_executable_extensions; do
12206   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12207     ac_cv_prog_ac_ct_CC="gcc"
12208     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12209     break 2
12210   fi
12211 done
12212   done
12213 IFS=$as_save_IFS
12214
12215 fi
12216 fi
12217 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12218 if test -n "$ac_ct_CC"; then
12219   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12220 $as_echo "$ac_ct_CC" >&6; }
12221 else
12222   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12223 $as_echo "no" >&6; }
12224 fi
12225
12226   if test "x$ac_ct_CC" = x; then
12227     CC=""
12228   else
12229     case $cross_compiling:$ac_tool_warned in
12230 yes:)
12231 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12232 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12233 ac_tool_warned=yes ;;
12234 esac
12235     CC=$ac_ct_CC
12236   fi
12237 else
12238   CC="$ac_cv_prog_CC"
12239 fi
12240
12241 if test -z "$CC"; then
12242           if test -n "$ac_tool_prefix"; then
12243     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12244 set dummy ${ac_tool_prefix}cc; ac_word=$2
12245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12246 $as_echo_n "checking for $ac_word... " >&6; }
12247 if ${ac_cv_prog_CC+:} false; then :
12248   $as_echo_n "(cached) " >&6
12249 else
12250   if test -n "$CC"; then
12251   ac_cv_prog_CC="$CC" # Let the user override the test.
12252 else
12253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12254 for as_dir in $PATH
12255 do
12256   IFS=$as_save_IFS
12257   test -z "$as_dir" && as_dir=.
12258     for ac_exec_ext in '' $ac_executable_extensions; do
12259   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12260     ac_cv_prog_CC="${ac_tool_prefix}cc"
12261     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12262     break 2
12263   fi
12264 done
12265   done
12266 IFS=$as_save_IFS
12267
12268 fi
12269 fi
12270 CC=$ac_cv_prog_CC
12271 if test -n "$CC"; then
12272   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12273 $as_echo "$CC" >&6; }
12274 else
12275   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12276 $as_echo "no" >&6; }
12277 fi
12278
12279
12280   fi
12281 fi
12282 if test -z "$CC"; then
12283   # Extract the first word of "cc", so it can be a program name with args.
12284 set dummy cc; ac_word=$2
12285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12286 $as_echo_n "checking for $ac_word... " >&6; }
12287 if ${ac_cv_prog_CC+:} false; then :
12288   $as_echo_n "(cached) " >&6
12289 else
12290   if test -n "$CC"; then
12291   ac_cv_prog_CC="$CC" # Let the user override the test.
12292 else
12293   ac_prog_rejected=no
12294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12295 for as_dir in $PATH
12296 do
12297   IFS=$as_save_IFS
12298   test -z "$as_dir" && as_dir=.
12299     for ac_exec_ext in '' $ac_executable_extensions; do
12300   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12301     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12302        ac_prog_rejected=yes
12303        continue
12304      fi
12305     ac_cv_prog_CC="cc"
12306     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12307     break 2
12308   fi
12309 done
12310   done
12311 IFS=$as_save_IFS
12312
12313 if test $ac_prog_rejected = yes; then
12314   # We found a bogon in the path, so make sure we never use it.
12315   set dummy $ac_cv_prog_CC
12316   shift
12317   if test $# != 0; then
12318     # We chose a different compiler from the bogus one.
12319     # However, it has the same basename, so the bogon will be chosen
12320     # first if we set CC to just the basename; use the full file name.
12321     shift
12322     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12323   fi
12324 fi
12325 fi
12326 fi
12327 CC=$ac_cv_prog_CC
12328 if test -n "$CC"; then
12329   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12330 $as_echo "$CC" >&6; }
12331 else
12332   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12333 $as_echo "no" >&6; }
12334 fi
12335
12336
12337 fi
12338 if test -z "$CC"; then
12339   if test -n "$ac_tool_prefix"; then
12340   for ac_prog in cl.exe
12341   do
12342     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12343 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12345 $as_echo_n "checking for $ac_word... " >&6; }
12346 if ${ac_cv_prog_CC+:} false; then :
12347   $as_echo_n "(cached) " >&6
12348 else
12349   if test -n "$CC"; then
12350   ac_cv_prog_CC="$CC" # Let the user override the test.
12351 else
12352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12353 for as_dir in $PATH
12354 do
12355   IFS=$as_save_IFS
12356   test -z "$as_dir" && as_dir=.
12357     for ac_exec_ext in '' $ac_executable_extensions; do
12358   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12359     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12360     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12361     break 2
12362   fi
12363 done
12364   done
12365 IFS=$as_save_IFS
12366
12367 fi
12368 fi
12369 CC=$ac_cv_prog_CC
12370 if test -n "$CC"; then
12371   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12372 $as_echo "$CC" >&6; }
12373 else
12374   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12375 $as_echo "no" >&6; }
12376 fi
12377
12378
12379     test -n "$CC" && break
12380   done
12381 fi
12382 if test -z "$CC"; then
12383   ac_ct_CC=$CC
12384   for ac_prog in cl.exe
12385 do
12386   # Extract the first word of "$ac_prog", so it can be a program name with args.
12387 set dummy $ac_prog; ac_word=$2
12388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12389 $as_echo_n "checking for $ac_word... " >&6; }
12390 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12391   $as_echo_n "(cached) " >&6
12392 else
12393   if test -n "$ac_ct_CC"; then
12394   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12395 else
12396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12397 for as_dir in $PATH
12398 do
12399   IFS=$as_save_IFS
12400   test -z "$as_dir" && as_dir=.
12401     for ac_exec_ext in '' $ac_executable_extensions; do
12402   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12403     ac_cv_prog_ac_ct_CC="$ac_prog"
12404     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12405     break 2
12406   fi
12407 done
12408   done
12409 IFS=$as_save_IFS
12410
12411 fi
12412 fi
12413 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12414 if test -n "$ac_ct_CC"; then
12415   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12416 $as_echo "$ac_ct_CC" >&6; }
12417 else
12418   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12419 $as_echo "no" >&6; }
12420 fi
12421
12422
12423   test -n "$ac_ct_CC" && break
12424 done
12425
12426   if test "x$ac_ct_CC" = x; then
12427     CC=""
12428   else
12429     case $cross_compiling:$ac_tool_warned in
12430 yes:)
12431 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12432 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12433 ac_tool_warned=yes ;;
12434 esac
12435     CC=$ac_ct_CC
12436   fi
12437 fi
12438
12439 fi
12440
12441
12442 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12443 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12444 as_fn_error $? "no acceptable C compiler found in \$PATH
12445 See \`config.log' for more details" "$LINENO" 5; }
12446
12447 # Provide some information about the compiler.
12448 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12449 set X $ac_compile
12450 ac_compiler=$2
12451 for ac_option in --version -v -V -qversion; do
12452   { { ac_try="$ac_compiler $ac_option >&5"
12453 case "(($ac_try" in
12454   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12455   *) ac_try_echo=$ac_try;;
12456 esac
12457 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12458 $as_echo "$ac_try_echo"; } >&5
12459   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12460   ac_status=$?
12461   if test -s conftest.err; then
12462     sed '10a\
12463 ... rest of stderr output deleted ...
12464          10q' conftest.err >conftest.er1
12465     cat conftest.er1 >&5
12466   fi
12467   rm -f conftest.er1 conftest.err
12468   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12469   test $ac_status = 0; }
12470 done
12471
12472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12473 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12474 if ${ac_cv_c_compiler_gnu+:} false; then :
12475   $as_echo_n "(cached) " >&6
12476 else
12477   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12478 /* end confdefs.h.  */
12479
12480 int
12481 main ()
12482 {
12483 #ifndef __GNUC__
12484        choke me
12485 #endif
12486
12487   ;
12488   return 0;
12489 }
12490 _ACEOF
12491 if ac_fn_c_try_compile "$LINENO"; then :
12492   ac_compiler_gnu=yes
12493 else
12494   ac_compiler_gnu=no
12495 fi
12496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12497 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12498
12499 fi
12500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12501 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12502 if test $ac_compiler_gnu = yes; then
12503   GCC=yes
12504 else
12505   GCC=
12506 fi
12507 ac_test_CFLAGS=${CFLAGS+set}
12508 ac_save_CFLAGS=$CFLAGS
12509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12510 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12511 if ${ac_cv_prog_cc_g+:} false; then :
12512   $as_echo_n "(cached) " >&6
12513 else
12514   ac_save_c_werror_flag=$ac_c_werror_flag
12515    ac_c_werror_flag=yes
12516    ac_cv_prog_cc_g=no
12517    CFLAGS="-g"
12518    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12519 /* end confdefs.h.  */
12520
12521 int
12522 main ()
12523 {
12524
12525   ;
12526   return 0;
12527 }
12528 _ACEOF
12529 if ac_fn_c_try_compile "$LINENO"; then :
12530   ac_cv_prog_cc_g=yes
12531 else
12532   CFLAGS=""
12533       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12534 /* end confdefs.h.  */
12535
12536 int
12537 main ()
12538 {
12539
12540   ;
12541   return 0;
12542 }
12543 _ACEOF
12544 if ac_fn_c_try_compile "$LINENO"; then :
12545
12546 else
12547   ac_c_werror_flag=$ac_save_c_werror_flag
12548          CFLAGS="-g"
12549          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12550 /* end confdefs.h.  */
12551
12552 int
12553 main ()
12554 {
12555
12556   ;
12557   return 0;
12558 }
12559 _ACEOF
12560 if ac_fn_c_try_compile "$LINENO"; then :
12561   ac_cv_prog_cc_g=yes
12562 fi
12563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12564 fi
12565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12566 fi
12567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12568    ac_c_werror_flag=$ac_save_c_werror_flag
12569 fi
12570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12571 $as_echo "$ac_cv_prog_cc_g" >&6; }
12572 if test "$ac_test_CFLAGS" = set; then
12573   CFLAGS=$ac_save_CFLAGS
12574 elif test $ac_cv_prog_cc_g = yes; then
12575   if test "$GCC" = yes; then
12576     CFLAGS="-g -O2"
12577   else
12578     CFLAGS="-g"
12579   fi
12580 else
12581   if test "$GCC" = yes; then
12582     CFLAGS="-O2"
12583   else
12584     CFLAGS=
12585   fi
12586 fi
12587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12588 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12589 if ${ac_cv_prog_cc_c89+:} false; then :
12590   $as_echo_n "(cached) " >&6
12591 else
12592   ac_cv_prog_cc_c89=no
12593 ac_save_CC=$CC
12594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12595 /* end confdefs.h.  */
12596 #include <stdarg.h>
12597 #include <stdio.h>
12598 struct stat;
12599 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
12600 struct buf { int x; };
12601 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12602 static char *e (p, i)
12603      char **p;
12604      int i;
12605 {
12606   return p[i];
12607 }
12608 static char *f (char * (*g) (char **, int), char **p, ...)
12609 {
12610   char *s;
12611   va_list v;
12612   va_start (v,p);
12613   s = g (p, va_arg (v,int));
12614   va_end (v);
12615   return s;
12616 }
12617
12618 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
12619    function prototypes and stuff, but not '\xHH' hex character constants.
12620    These don't provoke an error unfortunately, instead are silently treated
12621    as 'x'.  The following induces an error, until -std is added to get
12622    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
12623    array size at least.  It's necessary to write '\x00'==0 to get something
12624    that's true only with -std.  */
12625 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12626
12627 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12628    inside strings and character constants.  */
12629 #define FOO(x) 'x'
12630 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12631
12632 int test (int i, double x);
12633 struct s1 {int (*f) (int a);};
12634 struct s2 {int (*f) (double a);};
12635 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12636 int argc;
12637 char **argv;
12638 int
12639 main ()
12640 {
12641 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
12642   ;
12643   return 0;
12644 }
12645 _ACEOF
12646 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12647         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12648 do
12649   CC="$ac_save_CC $ac_arg"
12650   if ac_fn_c_try_compile "$LINENO"; then :
12651   ac_cv_prog_cc_c89=$ac_arg
12652 fi
12653 rm -f core conftest.err conftest.$ac_objext
12654   test "x$ac_cv_prog_cc_c89" != "xno" && break
12655 done
12656 rm -f conftest.$ac_ext
12657 CC=$ac_save_CC
12658
12659 fi
12660 # AC_CACHE_VAL
12661 case "x$ac_cv_prog_cc_c89" in
12662   x)
12663     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12664 $as_echo "none needed" >&6; } ;;
12665   xno)
12666     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12667 $as_echo "unsupported" >&6; } ;;
12668   *)
12669     CC="$CC $ac_cv_prog_cc_c89"
12670     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12671 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12672 esac
12673 if test "x$ac_cv_prog_cc_c89" != xno; then :
12674
12675 fi
12676
12677 ac_ext=c
12678 ac_cpp='$CPP $CPPFLAGS'
12679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12682
12683 ac_ext=c
12684 ac_cpp='$CPP $CPPFLAGS'
12685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
12689 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
12690 if ${am_cv_prog_cc_c_o+:} false; then :
12691   $as_echo_n "(cached) " >&6
12692 else
12693   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12694 /* end confdefs.h.  */
12695
12696 int
12697 main ()
12698 {
12699
12700   ;
12701   return 0;
12702 }
12703 _ACEOF
12704   # Make sure it works both with $CC and with simple cc.
12705   # Following AC_PROG_CC_C_O, we do the test twice because some
12706   # compilers refuse to overwrite an existing .o file with -o,
12707   # though they will create one.
12708   am_cv_prog_cc_c_o=yes
12709   for am_i in 1 2; do
12710     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
12711    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
12712    ac_status=$?
12713    echo "$as_me:$LINENO: \$? = $ac_status" >&5
12714    (exit $ac_status); } \
12715          && test -f conftest2.$ac_objext; then
12716       : OK
12717     else
12718       am_cv_prog_cc_c_o=no
12719       break
12720     fi
12721   done
12722   rm -f core conftest*
12723   unset am_i
12724 fi
12725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
12726 $as_echo "$am_cv_prog_cc_c_o" >&6; }
12727 if test "$am_cv_prog_cc_c_o" != yes; then
12728    # Losing compiler, so override with the script.
12729    # FIXME: It is wrong to rewrite CC.
12730    # But if we don't then we get into trouble of one sort or another.
12731    # A longer-term fix would be to have automake use am__CC in this case,
12732    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
12733    CC="$am_aux_dir/compile $CC"
12734 fi
12735 ac_ext=c
12736 ac_cpp='$CPP $CPPFLAGS'
12737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12740
12741
12742 depcc="$CC"   am_compiler_list=
12743
12744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12745 $as_echo_n "checking dependency style of $depcc... " >&6; }
12746 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
12747   $as_echo_n "(cached) " >&6
12748 else
12749   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12750   # We make a subdir and do the tests there.  Otherwise we can end up
12751   # making bogus files that we don't know about and never remove.  For
12752   # instance it was reported that on HP-UX the gcc test will end up
12753   # making a dummy file named 'D' -- because '-MD' means "put the output
12754   # in D".
12755   rm -rf conftest.dir
12756   mkdir conftest.dir
12757   # Copy depcomp to subdir because otherwise we won't find it if we're
12758   # using a relative directory.
12759   cp "$am_depcomp" conftest.dir
12760   cd conftest.dir
12761   # We will build objects and dependencies in a subdirectory because
12762   # it helps to detect inapplicable dependency modes.  For instance
12763   # both Tru64's cc and ICC support -MD to output dependencies as a
12764   # side effect of compilation, but ICC will put the dependencies in
12765   # the current directory while Tru64 will put them in the object
12766   # directory.
12767   mkdir sub
12768
12769   am_cv_CC_dependencies_compiler_type=none
12770   if test "$am_compiler_list" = ""; then
12771      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12772   fi
12773   am__universal=false
12774   case " $depcc " in #(
12775      *\ -arch\ *\ -arch\ *) am__universal=true ;;
12776      esac
12777
12778   for depmode in $am_compiler_list; do
12779     # Setup a source with many dependencies, because some compilers
12780     # like to wrap large dependency lists on column 80 (with \), and
12781     # we should not choose a depcomp mode which is confused by this.
12782     #
12783     # We need to recreate these files for each test, as the compiler may
12784     # overwrite some of them when testing with obscure command lines.
12785     # This happens at least with the AIX C compiler.
12786     : > sub/conftest.c
12787     for i in 1 2 3 4 5 6; do
12788       echo '#include "conftst'$i'.h"' >> sub/conftest.c
12789       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
12790       # Solaris 10 /bin/sh.
12791       echo '/* dummy */' > sub/conftst$i.h
12792     done
12793     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12794
12795     # We check with '-c' and '-o' for the sake of the "dashmstdout"
12796     # mode.  It turns out that the SunPro C++ compiler does not properly
12797     # handle '-M -o', and we need to detect this.  Also, some Intel
12798     # versions had trouble with output in subdirs.
12799     am__obj=sub/conftest.${OBJEXT-o}
12800     am__minus_obj="-o $am__obj"
12801     case $depmode in
12802     gcc)
12803       # This depmode causes a compiler race in universal mode.
12804       test "$am__universal" = false || continue
12805       ;;
12806     nosideeffect)
12807       # After this tag, mechanisms are not by side-effect, so they'll
12808       # only be used when explicitly requested.
12809       if test "x$enable_dependency_tracking" = xyes; then
12810         continue
12811       else
12812         break
12813       fi
12814       ;;
12815     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
12816       # This compiler won't grok '-c -o', but also, the minuso test has
12817       # not run yet.  These depmodes are late enough in the game, and
12818       # so weak that their functioning should not be impacted.
12819       am__obj=conftest.${OBJEXT-o}
12820       am__minus_obj=
12821       ;;
12822     none) break ;;
12823     esac
12824     if depmode=$depmode \
12825        source=sub/conftest.c object=$am__obj \
12826        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12827        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12828          >/dev/null 2>conftest.err &&
12829        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12830        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12831        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12832        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12833       # icc doesn't choke on unknown options, it will just issue warnings
12834       # or remarks (even with -Werror).  So we grep stderr for any message
12835       # that says an option was ignored or not supported.
12836       # When given -MP, icc 7.0 and 7.1 complain thusly:
12837       #   icc: Command line warning: ignoring option '-M'; no argument required
12838       # The diagnosis changed in icc 8.0:
12839       #   icc: Command line remark: option '-MP' not supported
12840       if (grep 'ignoring option' conftest.err ||
12841           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12842         am_cv_CC_dependencies_compiler_type=$depmode
12843         break
12844       fi
12845     fi
12846   done
12847
12848   cd ..
12849   rm -rf conftest.dir
12850 else
12851   am_cv_CC_dependencies_compiler_type=none
12852 fi
12853
12854 fi
12855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12856 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12857 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12858
12859  if
12860   test "x$enable_dependency_tracking" != xno \
12861   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
12862   am__fastdepCC_TRUE=
12863   am__fastdepCC_FALSE='#'
12864 else
12865   am__fastdepCC_TRUE='#'
12866   am__fastdepCC_FALSE=
12867 fi
12868
12869
12870 # Extract the first word of "glib-mkenums", so it can be a program name with args.
12871 set dummy glib-mkenums; ac_word=$2
12872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12873 $as_echo_n "checking for $ac_word... " >&6; }
12874 if ${ac_cv_path_GLIB_MKENUMS+:} false; then :
12875   $as_echo_n "(cached) " >&6
12876 else
12877   case $GLIB_MKENUMS in
12878   [\\/]* | ?:[\\/]*)
12879   ac_cv_path_GLIB_MKENUMS="$GLIB_MKENUMS" # Let the user override the test with a path.
12880   ;;
12881   *)
12882   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12883 for as_dir in $PATH
12884 do
12885   IFS=$as_save_IFS
12886   test -z "$as_dir" && as_dir=.
12887     for ac_exec_ext in '' $ac_executable_extensions; do
12888   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12889     ac_cv_path_GLIB_MKENUMS="$as_dir/$ac_word$ac_exec_ext"
12890     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12891     break 2
12892   fi
12893 done
12894   done
12895 IFS=$as_save_IFS
12896
12897   test -z "$ac_cv_path_GLIB_MKENUMS" && ac_cv_path_GLIB_MKENUMS="$PATH"
12898   ;;
12899 esac
12900 fi
12901 GLIB_MKENUMS=$ac_cv_path_GLIB_MKENUMS
12902 if test -n "$GLIB_MKENUMS"; then
12903   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_MKENUMS" >&5
12904 $as_echo "$GLIB_MKENUMS" >&6; }
12905 else
12906   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12907 $as_echo "no" >&6; }
12908 fi
12909
12910
12911
12912 # Checks for libraries.
12913
12914 pkg_failed=no
12915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
12916 $as_echo_n "checking for GLIB... " >&6; }
12917
12918 if test -n "$GLIB_CFLAGS"; then
12919     pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
12920  elif test -n "$PKG_CONFIG"; then
12921     if test -n "$PKG_CONFIG" && \
12922     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.30\""; } >&5
12923   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.30") 2>&5
12924   ac_status=$?
12925   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12926   test $ac_status = 0; }; then
12927   pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.30" 2>/dev/null`
12928                       test "x$?" != "x0" && pkg_failed=yes
12929 else
12930   pkg_failed=yes
12931 fi
12932  else
12933     pkg_failed=untried
12934 fi
12935 if test -n "$GLIB_LIBS"; then
12936     pkg_cv_GLIB_LIBS="$GLIB_LIBS"
12937  elif test -n "$PKG_CONFIG"; then
12938     if test -n "$PKG_CONFIG" && \
12939     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.30\""; } >&5
12940   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.30") 2>&5
12941   ac_status=$?
12942   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12943   test $ac_status = 0; }; then
12944   pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.30" 2>/dev/null`
12945                       test "x$?" != "x0" && pkg_failed=yes
12946 else
12947   pkg_failed=yes
12948 fi
12949  else
12950     pkg_failed=untried
12951 fi
12952
12953
12954
12955 if test $pkg_failed = yes; then
12956         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12957 $as_echo "no" >&6; }
12958
12959 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12960         _pkg_short_errors_supported=yes
12961 else
12962         _pkg_short_errors_supported=no
12963 fi
12964         if test $_pkg_short_errors_supported = yes; then
12965                 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.30" 2>&1`
12966         else
12967                 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.30" 2>&1`
12968         fi
12969         # Put the nasty error message in config.log where it belongs
12970         echo "$GLIB_PKG_ERRORS" >&5
12971
12972         as_fn_error $? "Package requirements (glib-2.0 >= 2.30) were not met:
12973
12974 $GLIB_PKG_ERRORS
12975
12976 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12977 installed software in a non-standard prefix.
12978
12979 Alternatively, you may set the environment variables GLIB_CFLAGS
12980 and GLIB_LIBS to avoid the need to call pkg-config.
12981 See the pkg-config man page for more details." "$LINENO" 5
12982 elif test $pkg_failed = untried; then
12983         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12984 $as_echo "no" >&6; }
12985         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12986 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12987 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12988 is in your PATH or set the PKG_CONFIG environment variable to the full
12989 path to pkg-config.
12990
12991 Alternatively, you may set the environment variables GLIB_CFLAGS
12992 and GLIB_LIBS to avoid the need to call pkg-config.
12993 See the pkg-config man page for more details.
12994
12995 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12996 See \`config.log' for more details" "$LINENO" 5; }
12997 else
12998         GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
12999         GLIB_LIBS=$pkg_cv_GLIB_LIBS
13000         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13001 $as_echo "yes" >&6; }
13002
13003 fi
13004
13005
13006
13007
13008 pkg_failed=no
13009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO" >&5
13010 $as_echo_n "checking for GIO... " >&6; }
13011
13012 if test -n "$GIO_CFLAGS"; then
13013     pkg_cv_GIO_CFLAGS="$GIO_CFLAGS"
13014  elif test -n "$PKG_CONFIG"; then
13015     if test -n "$PKG_CONFIG" && \
13016     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 gio-unix-2.0\""; } >&5
13017   ($PKG_CONFIG --exists --print-errors "gio-2.0 gio-unix-2.0") 2>&5
13018   ac_status=$?
13019   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13020   test $ac_status = 0; }; then
13021   pkg_cv_GIO_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 gio-unix-2.0" 2>/dev/null`
13022                       test "x$?" != "x0" && pkg_failed=yes
13023 else
13024   pkg_failed=yes
13025 fi
13026  else
13027     pkg_failed=untried
13028 fi
13029 if test -n "$GIO_LIBS"; then
13030     pkg_cv_GIO_LIBS="$GIO_LIBS"
13031  elif test -n "$PKG_CONFIG"; then
13032     if test -n "$PKG_CONFIG" && \
13033     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 gio-unix-2.0\""; } >&5
13034   ($PKG_CONFIG --exists --print-errors "gio-2.0 gio-unix-2.0") 2>&5
13035   ac_status=$?
13036   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13037   test $ac_status = 0; }; then
13038   pkg_cv_GIO_LIBS=`$PKG_CONFIG --libs "gio-2.0 gio-unix-2.0" 2>/dev/null`
13039                       test "x$?" != "x0" && pkg_failed=yes
13040 else
13041   pkg_failed=yes
13042 fi
13043  else
13044     pkg_failed=untried
13045 fi
13046
13047
13048
13049 if test $pkg_failed = yes; then
13050         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13051 $as_echo "no" >&6; }
13052
13053 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13054         _pkg_short_errors_supported=yes
13055 else
13056         _pkg_short_errors_supported=no
13057 fi
13058         if test $_pkg_short_errors_supported = yes; then
13059                 GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-2.0 gio-unix-2.0" 2>&1`
13060         else
13061                 GIO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0 gio-unix-2.0" 2>&1`
13062         fi
13063         # Put the nasty error message in config.log where it belongs
13064         echo "$GIO_PKG_ERRORS" >&5
13065
13066         as_fn_error $? "Package requirements (gio-2.0 gio-unix-2.0) were not met:
13067
13068 $GIO_PKG_ERRORS
13069
13070 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13071 installed software in a non-standard prefix.
13072
13073 Alternatively, you may set the environment variables GIO_CFLAGS
13074 and GIO_LIBS to avoid the need to call pkg-config.
13075 See the pkg-config man page for more details." "$LINENO" 5
13076 elif test $pkg_failed = untried; then
13077         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13078 $as_echo "no" >&6; }
13079         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13080 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13081 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13082 is in your PATH or set the PKG_CONFIG environment variable to the full
13083 path to pkg-config.
13084
13085 Alternatively, you may set the environment variables GIO_CFLAGS
13086 and GIO_LIBS to avoid the need to call pkg-config.
13087 See the pkg-config man page for more details.
13088
13089 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13090 See \`config.log' for more details" "$LINENO" 5; }
13091 else
13092         GIO_CFLAGS=$pkg_cv_GIO_CFLAGS
13093         GIO_LIBS=$pkg_cv_GIO_LIBS
13094         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13095 $as_echo "yes" >&6; }
13096
13097 fi
13098
13099
13100
13101
13102 pkg_failed=no
13103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GMODULE" >&5
13104 $as_echo_n "checking for GMODULE... " >&6; }
13105
13106 if test -n "$GMODULE_CFLAGS"; then
13107     pkg_cv_GMODULE_CFLAGS="$GMODULE_CFLAGS"
13108  elif test -n "$PKG_CONFIG"; then
13109     if test -n "$PKG_CONFIG" && \
13110     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0\""; } >&5
13111   ($PKG_CONFIG --exists --print-errors "gmodule-2.0") 2>&5
13112   ac_status=$?
13113   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13114   test $ac_status = 0; }; then
13115   pkg_cv_GMODULE_CFLAGS=`$PKG_CONFIG --cflags "gmodule-2.0" 2>/dev/null`
13116                       test "x$?" != "x0" && pkg_failed=yes
13117 else
13118   pkg_failed=yes
13119 fi
13120  else
13121     pkg_failed=untried
13122 fi
13123 if test -n "$GMODULE_LIBS"; then
13124     pkg_cv_GMODULE_LIBS="$GMODULE_LIBS"
13125  elif test -n "$PKG_CONFIG"; then
13126     if test -n "$PKG_CONFIG" && \
13127     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0\""; } >&5
13128   ($PKG_CONFIG --exists --print-errors "gmodule-2.0") 2>&5
13129   ac_status=$?
13130   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13131   test $ac_status = 0; }; then
13132   pkg_cv_GMODULE_LIBS=`$PKG_CONFIG --libs "gmodule-2.0" 2>/dev/null`
13133                       test "x$?" != "x0" && pkg_failed=yes
13134 else
13135   pkg_failed=yes
13136 fi
13137  else
13138     pkg_failed=untried
13139 fi
13140
13141
13142
13143 if test $pkg_failed = yes; then
13144         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13145 $as_echo "no" >&6; }
13146
13147 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13148         _pkg_short_errors_supported=yes
13149 else
13150         _pkg_short_errors_supported=no
13151 fi
13152         if test $_pkg_short_errors_supported = yes; then
13153                 GMODULE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gmodule-2.0" 2>&1`
13154         else
13155                 GMODULE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gmodule-2.0" 2>&1`
13156         fi
13157         # Put the nasty error message in config.log where it belongs
13158         echo "$GMODULE_PKG_ERRORS" >&5
13159
13160         as_fn_error $? "Package requirements (gmodule-2.0) were not met:
13161
13162 $GMODULE_PKG_ERRORS
13163
13164 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13165 installed software in a non-standard prefix.
13166
13167 Alternatively, you may set the environment variables GMODULE_CFLAGS
13168 and GMODULE_LIBS to avoid the need to call pkg-config.
13169 See the pkg-config man page for more details." "$LINENO" 5
13170 elif test $pkg_failed = untried; then
13171         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13172 $as_echo "no" >&6; }
13173         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13174 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13175 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13176 is in your PATH or set the PKG_CONFIG environment variable to the full
13177 path to pkg-config.
13178
13179 Alternatively, you may set the environment variables GMODULE_CFLAGS
13180 and GMODULE_LIBS to avoid the need to call pkg-config.
13181 See the pkg-config man page for more details.
13182
13183 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13184 See \`config.log' for more details" "$LINENO" 5; }
13185 else
13186         GMODULE_CFLAGS=$pkg_cv_GMODULE_CFLAGS
13187         GMODULE_LIBS=$pkg_cv_GMODULE_LIBS
13188         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13189 $as_echo "yes" >&6; }
13190
13191 fi
13192
13193
13194
13195 # Check for libtlm-nfc
13196
13197 pkg_failed=no
13198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBTLM_NFC" >&5
13199 $as_echo_n "checking for LIBTLM_NFC... " >&6; }
13200
13201 if test -n "$LIBTLM_NFC_CFLAGS"; then
13202     pkg_cv_LIBTLM_NFC_CFLAGS="$LIBTLM_NFC_CFLAGS"
13203  elif test -n "$PKG_CONFIG"; then
13204     if test -n "$PKG_CONFIG" && \
13205     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libtlm-nfc\""; } >&5
13206   ($PKG_CONFIG --exists --print-errors "libtlm-nfc") 2>&5
13207   ac_status=$?
13208   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13209   test $ac_status = 0; }; then
13210   pkg_cv_LIBTLM_NFC_CFLAGS=`$PKG_CONFIG --cflags "libtlm-nfc" 2>/dev/null`
13211                       test "x$?" != "x0" && pkg_failed=yes
13212 else
13213   pkg_failed=yes
13214 fi
13215  else
13216     pkg_failed=untried
13217 fi
13218 if test -n "$LIBTLM_NFC_LIBS"; then
13219     pkg_cv_LIBTLM_NFC_LIBS="$LIBTLM_NFC_LIBS"
13220  elif test -n "$PKG_CONFIG"; then
13221     if test -n "$PKG_CONFIG" && \
13222     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libtlm-nfc\""; } >&5
13223   ($PKG_CONFIG --exists --print-errors "libtlm-nfc") 2>&5
13224   ac_status=$?
13225   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13226   test $ac_status = 0; }; then
13227   pkg_cv_LIBTLM_NFC_LIBS=`$PKG_CONFIG --libs "libtlm-nfc" 2>/dev/null`
13228                       test "x$?" != "x0" && pkg_failed=yes
13229 else
13230   pkg_failed=yes
13231 fi
13232  else
13233     pkg_failed=untried
13234 fi
13235
13236
13237
13238 if test $pkg_failed = yes; then
13239         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13240 $as_echo "no" >&6; }
13241
13242 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13243         _pkg_short_errors_supported=yes
13244 else
13245         _pkg_short_errors_supported=no
13246 fi
13247         if test $_pkg_short_errors_supported = yes; then
13248                 LIBTLM_NFC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libtlm-nfc" 2>&1`
13249         else
13250                 LIBTLM_NFC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libtlm-nfc" 2>&1`
13251         fi
13252         # Put the nasty error message in config.log where it belongs
13253         echo "$LIBTLM_NFC_PKG_ERRORS" >&5
13254
13255         have_libtlm_nfc=no
13256 elif test $pkg_failed = untried; then
13257         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13258 $as_echo "no" >&6; }
13259         have_libtlm_nfc=no
13260 else
13261         LIBTLM_NFC_CFLAGS=$pkg_cv_LIBTLM_NFC_CFLAGS
13262         LIBTLM_NFC_LIBS=$pkg_cv_LIBTLM_NFC_LIBS
13263         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13264 $as_echo "yes" >&6; }
13265         have_libtlm_nfc=yes
13266 fi
13267
13268
13269  if test x$have_libtlm_nfc = xyes; then
13270   HAVE_LIBTLM_NFC_TRUE=
13271   HAVE_LIBTLM_NFC_FALSE='#'
13272 else
13273   HAVE_LIBTLM_NFC_TRUE='#'
13274   HAVE_LIBTLM_NFC_FALSE=
13275 fi
13276
13277
13278 for ac_header in security/pam_appl.h
13279 do :
13280   ac_fn_c_check_header_mongrel "$LINENO" "security/pam_appl.h" "ac_cv_header_security_pam_appl_h" "$ac_includes_default"
13281 if test "x$ac_cv_header_security_pam_appl_h" = xyes; then :
13282   cat >>confdefs.h <<_ACEOF
13283 #define HAVE_SECURITY_PAM_APPL_H 1
13284 _ACEOF
13285
13286 else
13287   as_fn_error $? "\"pam-devel is required\"" "$LINENO" 5
13288 fi
13289
13290 done
13291
13292 for ac_header in security/pam_misc.h
13293 do :
13294   ac_fn_c_check_header_mongrel "$LINENO" "security/pam_misc.h" "ac_cv_header_security_pam_misc_h" "$ac_includes_default"
13295 if test "x$ac_cv_header_security_pam_misc_h" = xyes; then :
13296   cat >>confdefs.h <<_ACEOF
13297 #define HAVE_SECURITY_PAM_MISC_H 1
13298 _ACEOF
13299
13300 else
13301   as_fn_error $? "\"pam-misc is required\"" "$LINENO" 5
13302 fi
13303
13304 done
13305
13306
13307 TLM_CFLAGS="$GLIB_CFLAGS $GIO_CFLAGS $GMODULE_CFLAGS -D_POSIX_C_SOURCE=\"200809L\" -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -Wall -Werror"
13308 TLM_LIBS="$GLIB_LIBS $GIO_LIBS $GMODULE_LIBS"
13309
13310
13311
13312 # Enable debug
13313 # Check whether --enable-debug was given.
13314 if test "${enable_debug+set}" = set; then :
13315   enableval=$enable_debug; enable_debug=$enable_debug
13316 else
13317   enable_debug="no"
13318 fi
13319
13320 if test "x$enable_debug" = "xyes" ; then
13321
13322 $as_echo "#define ENABLE_DEBUG 1" >>confdefs.h
13323
13324     # Check whether --enable-tests was given.
13325 if test "${enable_tests+set}" = set; then :
13326   enableval=$enable_tests; enable_tests=$enable_tests
13327 else
13328   enable_tests="no"
13329 fi
13330
13331     if test "x$enable_tests" = "xyes" ; then
13332
13333 $as_echo "#define ENABLE_TESTS 1" >>confdefs.h
13334
13335
13336 pkg_failed=no
13337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5
13338 $as_echo_n "checking for CHECK... " >&6; }
13339
13340 if test -n "$CHECK_CFLAGS"; then
13341     pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS"
13342  elif test -n "$PKG_CONFIG"; then
13343     if test -n "$PKG_CONFIG" && \
13344     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.4\""; } >&5
13345   ($PKG_CONFIG --exists --print-errors "check >= 0.9.4") 2>&5
13346   ac_status=$?
13347   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13348   test $ac_status = 0; }; then
13349   pkg_cv_CHECK_CFLAGS=`$PKG_CONFIG --cflags "check >= 0.9.4" 2>/dev/null`
13350                       test "x$?" != "x0" && pkg_failed=yes
13351 else
13352   pkg_failed=yes
13353 fi
13354  else
13355     pkg_failed=untried
13356 fi
13357 if test -n "$CHECK_LIBS"; then
13358     pkg_cv_CHECK_LIBS="$CHECK_LIBS"
13359  elif test -n "$PKG_CONFIG"; then
13360     if test -n "$PKG_CONFIG" && \
13361     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.4\""; } >&5
13362   ($PKG_CONFIG --exists --print-errors "check >= 0.9.4") 2>&5
13363   ac_status=$?
13364   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13365   test $ac_status = 0; }; then
13366   pkg_cv_CHECK_LIBS=`$PKG_CONFIG --libs "check >= 0.9.4" 2>/dev/null`
13367                       test "x$?" != "x0" && pkg_failed=yes
13368 else
13369   pkg_failed=yes
13370 fi
13371  else
13372     pkg_failed=untried
13373 fi
13374
13375
13376
13377 if test $pkg_failed = yes; then
13378         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13379 $as_echo "no" >&6; }
13380
13381 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13382         _pkg_short_errors_supported=yes
13383 else
13384         _pkg_short_errors_supported=no
13385 fi
13386         if test $_pkg_short_errors_supported = yes; then
13387                 CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "check >= 0.9.4" 2>&1`
13388         else
13389                 CHECK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "check >= 0.9.4" 2>&1`
13390         fi
13391         # Put the nasty error message in config.log where it belongs
13392         echo "$CHECK_PKG_ERRORS" >&5
13393
13394         as_fn_error $? "Package requirements (check >= 0.9.4) were not met:
13395
13396 $CHECK_PKG_ERRORS
13397
13398 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13399 installed software in a non-standard prefix.
13400
13401 Alternatively, you may set the environment variables CHECK_CFLAGS
13402 and CHECK_LIBS to avoid the need to call pkg-config.
13403 See the pkg-config man page for more details." "$LINENO" 5
13404 elif test $pkg_failed = untried; then
13405         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13406 $as_echo "no" >&6; }
13407         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13408 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13409 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13410 is in your PATH or set the PKG_CONFIG environment variable to the full
13411 path to pkg-config.
13412
13413 Alternatively, you may set the environment variables CHECK_CFLAGS
13414 and CHECK_LIBS to avoid the need to call pkg-config.
13415 See the pkg-config man page for more details.
13416
13417 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13418 See \`config.log' for more details" "$LINENO" 5; }
13419 else
13420         CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS
13421         CHECK_LIBS=$pkg_cv_CHECK_LIBS
13422         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13423 $as_echo "yes" >&6; }
13424
13425 fi
13426     fi
13427 else
13428     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Tests can't be enabled without debug features\"" >&5
13429 $as_echo "$as_me: WARNING: \"Tests can't be enabled without debug features\"" >&2;}
13430     enable_tests=no
13431 fi
13432
13433
13434  if test "x$enable_tests" = "xyes"; then
13435   ENABLE_TESTS_TRUE=
13436   ENABLE_TESTS_FALSE='#'
13437 else
13438   ENABLE_TESTS_TRUE='#'
13439   ENABLE_TESTS_FALSE=
13440 fi
13441
13442
13443 # Enable examples
13444 # Check whether --enable-examples was given.
13445 if test "${enable_examples+set}" = set; then :
13446   enableval=$enable_examples; enable_examples=$enable_examples
13447 else
13448   enable_examples="no"
13449 fi
13450
13451  if test x$enable_examples = xyes; then
13452   ENABLE_EXAMPLES_TRUE=
13453   ENABLE_EXAMPLES_FALSE='#'
13454 else
13455   ENABLE_EXAMPLES_TRUE='#'
13456   ENABLE_EXAMPLES_FALSE=
13457 fi
13458
13459
13460 if test "x$enable_examples" = "xyes" ; then
13461
13462 pkg_failed=no
13463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY" >&5
13464 $as_echo_n "checking for ELEMENTARY... " >&6; }
13465
13466 if test -n "$ELEMENTARY_CFLAGS"; then
13467     pkg_cv_ELEMENTARY_CFLAGS="$ELEMENTARY_CFLAGS"
13468  elif test -n "$PKG_CONFIG"; then
13469     if test -n "$PKG_CONFIG" && \
13470     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"elementary\""; } >&5
13471   ($PKG_CONFIG --exists --print-errors "elementary") 2>&5
13472   ac_status=$?
13473   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13474   test $ac_status = 0; }; then
13475   pkg_cv_ELEMENTARY_CFLAGS=`$PKG_CONFIG --cflags "elementary" 2>/dev/null`
13476                       test "x$?" != "x0" && pkg_failed=yes
13477 else
13478   pkg_failed=yes
13479 fi
13480  else
13481     pkg_failed=untried
13482 fi
13483 if test -n "$ELEMENTARY_LIBS"; then
13484     pkg_cv_ELEMENTARY_LIBS="$ELEMENTARY_LIBS"
13485  elif test -n "$PKG_CONFIG"; then
13486     if test -n "$PKG_CONFIG" && \
13487     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"elementary\""; } >&5
13488   ($PKG_CONFIG --exists --print-errors "elementary") 2>&5
13489   ac_status=$?
13490   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13491   test $ac_status = 0; }; then
13492   pkg_cv_ELEMENTARY_LIBS=`$PKG_CONFIG --libs "elementary" 2>/dev/null`
13493                       test "x$?" != "x0" && pkg_failed=yes
13494 else
13495   pkg_failed=yes
13496 fi
13497  else
13498     pkg_failed=untried
13499 fi
13500
13501
13502
13503 if test $pkg_failed = yes; then
13504         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13505 $as_echo "no" >&6; }
13506
13507 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13508         _pkg_short_errors_supported=yes
13509 else
13510         _pkg_short_errors_supported=no
13511 fi
13512         if test $_pkg_short_errors_supported = yes; then
13513                 ELEMENTARY_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "elementary" 2>&1`
13514         else
13515                 ELEMENTARY_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "elementary" 2>&1`
13516         fi
13517         # Put the nasty error message in config.log where it belongs
13518         echo "$ELEMENTARY_PKG_ERRORS" >&5
13519
13520         as_fn_error $? "Package requirements (elementary) were not met:
13521
13522 $ELEMENTARY_PKG_ERRORS
13523
13524 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13525 installed software in a non-standard prefix.
13526
13527 Alternatively, you may set the environment variables ELEMENTARY_CFLAGS
13528 and ELEMENTARY_LIBS to avoid the need to call pkg-config.
13529 See the pkg-config man page for more details." "$LINENO" 5
13530 elif test $pkg_failed = untried; then
13531         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13532 $as_echo "no" >&6; }
13533         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13534 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13535 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13536 is in your PATH or set the PKG_CONFIG environment variable to the full
13537 path to pkg-config.
13538
13539 Alternatively, you may set the environment variables ELEMENTARY_CFLAGS
13540 and ELEMENTARY_LIBS to avoid the need to call pkg-config.
13541 See the pkg-config man page for more details.
13542
13543 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13544 See \`config.log' for more details" "$LINENO" 5; }
13545 else
13546         ELEMENTARY_CFLAGS=$pkg_cv_ELEMENTARY_CFLAGS
13547         ELEMENTARY_LIBS=$pkg_cv_ELEMENTARY_LIBS
13548         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13549 $as_echo "yes" >&6; }
13550
13551 fi
13552
13553
13554 fi
13555
13556 # Define socket path
13557 # Check whether --enable-sockets-path was given.
13558 if test "${enable_sockets_path+set}" = set; then :
13559   enableval=$enable_sockets_path; enable_sockets_path=$enableval
13560 else
13561   enable_sockets_path="/var/run/tlm"
13562 fi
13563
13564
13565 cat >>confdefs.h <<_ACEOF
13566 #define TLM_DBUS_SOCKET_PATH "$enable_sockets_path"
13567 _ACEOF
13568
13569
13570 cat >>confdefs.h <<_ACEOF
13571 #define TLM_DBUS_ROOT_SOCKET_ADDRESS "unix:path=$enable_sockets_path/dbus-sock"
13572 _ACEOF
13573
13574
13575 # Enable gum
13576
13577 pkg_failed=no
13578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGUM" >&5
13579 $as_echo_n "checking for LIBGUM... " >&6; }
13580
13581 if test -n "$LIBGUM_CFLAGS"; then
13582     pkg_cv_LIBGUM_CFLAGS="$LIBGUM_CFLAGS"
13583  elif test -n "$PKG_CONFIG"; then
13584     if test -n "$PKG_CONFIG" && \
13585     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgum\""; } >&5
13586   ($PKG_CONFIG --exists --print-errors "libgum") 2>&5
13587   ac_status=$?
13588   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13589   test $ac_status = 0; }; then
13590   pkg_cv_LIBGUM_CFLAGS=`$PKG_CONFIG --cflags "libgum" 2>/dev/null`
13591                       test "x$?" != "x0" && pkg_failed=yes
13592 else
13593   pkg_failed=yes
13594 fi
13595  else
13596     pkg_failed=untried
13597 fi
13598 if test -n "$LIBGUM_LIBS"; then
13599     pkg_cv_LIBGUM_LIBS="$LIBGUM_LIBS"
13600  elif test -n "$PKG_CONFIG"; then
13601     if test -n "$PKG_CONFIG" && \
13602     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgum\""; } >&5
13603   ($PKG_CONFIG --exists --print-errors "libgum") 2>&5
13604   ac_status=$?
13605   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13606   test $ac_status = 0; }; then
13607   pkg_cv_LIBGUM_LIBS=`$PKG_CONFIG --libs "libgum" 2>/dev/null`
13608                       test "x$?" != "x0" && pkg_failed=yes
13609 else
13610   pkg_failed=yes
13611 fi
13612  else
13613     pkg_failed=untried
13614 fi
13615
13616
13617
13618 if test $pkg_failed = yes; then
13619         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13620 $as_echo "no" >&6; }
13621
13622 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13623         _pkg_short_errors_supported=yes
13624 else
13625         _pkg_short_errors_supported=no
13626 fi
13627         if test $_pkg_short_errors_supported = yes; then
13628                 LIBGUM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libgum" 2>&1`
13629         else
13630                 LIBGUM_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libgum" 2>&1`
13631         fi
13632         # Put the nasty error message in config.log where it belongs
13633         echo "$LIBGUM_PKG_ERRORS" >&5
13634
13635         have_libgum=no
13636 elif test $pkg_failed = untried; then
13637         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13638 $as_echo "no" >&6; }
13639         have_libgum=no
13640 else
13641         LIBGUM_CFLAGS=$pkg_cv_LIBGUM_CFLAGS
13642         LIBGUM_LIBS=$pkg_cv_LIBGUM_LIBS
13643         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13644 $as_echo "yes" >&6; }
13645         have_libgum=yes
13646 fi
13647 # Check whether --enable-gum was given.
13648 if test "${enable_gum+set}" = set; then :
13649   enableval=$enable_gum;
13650 else
13651   enable_gum=$have_libgum
13652 fi
13653
13654 if test "x$enable_gum" = "xyes" && test "x$have_libgum" = "xno" ; then
13655     as_fn_error $? "\"libgum is required.\"" "$LINENO" 5
13656 fi
13657
13658
13659  if test x$have_libgum = xyes; then
13660   HAVE_LIBGUM_TRUE=
13661   HAVE_LIBGUM_FALSE='#'
13662 else
13663   HAVE_LIBGUM_TRUE='#'
13664   HAVE_LIBGUM_FALSE=
13665 fi
13666
13667
13668 if test "x$enable_gum" = "xyes" ; then
13669     ACCOUNT_PLUGIN_NAME=gumd
13670
13671 else
13672     ACCOUNT_PLUGIN_NAME=default
13673
13674 fi
13675
13676 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/sessiond/Makefile src/utils/Makefile 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"
13677
13678
13679 cat >confcache <<\_ACEOF
13680 # This file is a shell script that caches the results of configure
13681 # tests run on this system so they can be shared between configure
13682 # scripts and configure runs, see configure's option --config-cache.
13683 # It is not useful on other systems.  If it contains results you don't
13684 # want to keep, you may remove or edit it.
13685 #
13686 # config.status only pays attention to the cache file if you give it
13687 # the --recheck option to rerun configure.
13688 #
13689 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13690 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13691 # following values.
13692
13693 _ACEOF
13694
13695 # The following way of writing the cache mishandles newlines in values,
13696 # but we know of no workaround that is simple, portable, and efficient.
13697 # So, we kill variables containing newlines.
13698 # Ultrix sh set writes to stderr and can't be redirected directly,
13699 # and sets the high bit in the cache file unless we assign to the vars.
13700 (
13701   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13702     eval ac_val=\$$ac_var
13703     case $ac_val in #(
13704     *${as_nl}*)
13705       case $ac_var in #(
13706       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13707 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13708       esac
13709       case $ac_var in #(
13710       _ | IFS | as_nl) ;; #(
13711       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13712       *) { eval $ac_var=; unset $ac_var;} ;;
13713       esac ;;
13714     esac
13715   done
13716
13717   (set) 2>&1 |
13718     case $as_nl`(ac_space=' '; set) 2>&1` in #(
13719     *${as_nl}ac_space=\ *)
13720       # `set' does not quote correctly, so add quotes: double-quote
13721       # substitution turns \\\\ into \\, and sed turns \\ into \.
13722       sed -n \
13723         "s/'/'\\\\''/g;
13724           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13725       ;; #(
13726     *)
13727       # `set' quotes correctly as required by POSIX, so do not add quotes.
13728       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13729       ;;
13730     esac |
13731     sort
13732 ) |
13733   sed '
13734      /^ac_cv_env_/b end
13735      t clear
13736      :clear
13737      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13738      t end
13739      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13740      :end' >>confcache
13741 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13742   if test -w "$cache_file"; then
13743     if test "x$cache_file" != "x/dev/null"; then
13744       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13745 $as_echo "$as_me: updating cache $cache_file" >&6;}
13746       if test ! -f "$cache_file" || test -h "$cache_file"; then
13747         cat confcache >"$cache_file"
13748       else
13749         case $cache_file in #(
13750         */* | ?:*)
13751           mv -f confcache "$cache_file"$$ &&
13752           mv -f "$cache_file"$$ "$cache_file" ;; #(
13753         *)
13754           mv -f confcache "$cache_file" ;;
13755         esac
13756       fi
13757     fi
13758   else
13759     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13760 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13761   fi
13762 fi
13763 rm -f confcache
13764
13765 test "x$prefix" = xNONE && prefix=$ac_default_prefix
13766 # Let make expand exec_prefix.
13767 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13768
13769 DEFS=-DHAVE_CONFIG_H
13770
13771 ac_libobjs=
13772 ac_ltlibobjs=
13773 U=
13774 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13775   # 1. Remove the extension, and $U if already installed.
13776   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13777   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13778   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
13779   #    will be set to the directory where LIBOBJS objects are built.
13780   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13781   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13782 done
13783 LIBOBJS=$ac_libobjs
13784
13785 LTLIBOBJS=$ac_ltlibobjs
13786
13787
13788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
13789 $as_echo_n "checking that generated files are newer than configure... " >&6; }
13790    if test -n "$am_sleep_pid"; then
13791      # Hide warnings about reused PIDs.
13792      wait $am_sleep_pid 2>/dev/null
13793    fi
13794    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
13795 $as_echo "done" >&6; }
13796  if test -n "$EXEEXT"; then
13797   am__EXEEXT_TRUE=
13798   am__EXEEXT_FALSE='#'
13799 else
13800   am__EXEEXT_TRUE='#'
13801   am__EXEEXT_FALSE=
13802 fi
13803
13804 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13805   as_fn_error $? "conditional \"AMDEP\" was never defined.
13806 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13807 fi
13808 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13809   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13810 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13811 fi
13812 if test -z "${HAVE_GTK_DOC_TRUE}" && test -z "${HAVE_GTK_DOC_FALSE}"; then
13813   as_fn_error $? "conditional \"HAVE_GTK_DOC\" was never defined.
13814 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13815 fi
13816 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
13817   as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
13818 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13819 fi
13820 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
13821   as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
13822 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13823 fi
13824 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
13825   as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
13826 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13827 fi
13828 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
13829   as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
13830 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13831 fi
13832 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
13833   as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
13834 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13835 fi
13836 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13837   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13838 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13839 fi
13840 if test -z "${HAVE_LIBTLM_NFC_TRUE}" && test -z "${HAVE_LIBTLM_NFC_FALSE}"; then
13841   as_fn_error $? "conditional \"HAVE_LIBTLM_NFC\" was never defined.
13842 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13843 fi
13844 if test -z "${ENABLE_TESTS_TRUE}" && test -z "${ENABLE_TESTS_FALSE}"; then
13845   as_fn_error $? "conditional \"ENABLE_TESTS\" was never defined.
13846 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13847 fi
13848 if test -z "${ENABLE_EXAMPLES_TRUE}" && test -z "${ENABLE_EXAMPLES_FALSE}"; then
13849   as_fn_error $? "conditional \"ENABLE_EXAMPLES\" was never defined.
13850 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13851 fi
13852 if test -z "${HAVE_LIBGUM_TRUE}" && test -z "${HAVE_LIBGUM_FALSE}"; then
13853   as_fn_error $? "conditional \"HAVE_LIBGUM\" was never defined.
13854 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13855 fi
13856
13857 : "${CONFIG_STATUS=./config.status}"
13858 ac_write_fail=0
13859 ac_clean_files_save=$ac_clean_files
13860 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13861 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13862 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13863 as_write_fail=0
13864 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13865 #! $SHELL
13866 # Generated by $as_me.
13867 # Run this file to recreate the current configuration.
13868 # Compiler output produced by configure, useful for debugging
13869 # configure, is in config.log if it exists.
13870
13871 debug=false
13872 ac_cs_recheck=false
13873 ac_cs_silent=false
13874
13875 SHELL=\${CONFIG_SHELL-$SHELL}
13876 export SHELL
13877 _ASEOF
13878 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13879 ## -------------------- ##
13880 ## M4sh Initialization. ##
13881 ## -------------------- ##
13882
13883 # Be more Bourne compatible
13884 DUALCASE=1; export DUALCASE # for MKS sh
13885 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13886   emulate sh
13887   NULLCMD=:
13888   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13889   # is contrary to our usage.  Disable this feature.
13890   alias -g '${1+"$@"}'='"$@"'
13891   setopt NO_GLOB_SUBST
13892 else
13893   case `(set -o) 2>/dev/null` in #(
13894   *posix*) :
13895     set -o posix ;; #(
13896   *) :
13897      ;;
13898 esac
13899 fi
13900
13901
13902 as_nl='
13903 '
13904 export as_nl
13905 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13906 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13907 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13908 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13909 # Prefer a ksh shell builtin over an external printf program on Solaris,
13910 # but without wasting forks for bash or zsh.
13911 if test -z "$BASH_VERSION$ZSH_VERSION" \
13912     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13913   as_echo='print -r --'
13914   as_echo_n='print -rn --'
13915 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13916   as_echo='printf %s\n'
13917   as_echo_n='printf %s'
13918 else
13919   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13920     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13921     as_echo_n='/usr/ucb/echo -n'
13922   else
13923     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13924     as_echo_n_body='eval
13925       arg=$1;
13926       case $arg in #(
13927       *"$as_nl"*)
13928         expr "X$arg" : "X\\(.*\\)$as_nl";
13929         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13930       esac;
13931       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13932     '
13933     export as_echo_n_body
13934     as_echo_n='sh -c $as_echo_n_body as_echo'
13935   fi
13936   export as_echo_body
13937   as_echo='sh -c $as_echo_body as_echo'
13938 fi
13939
13940 # The user is always right.
13941 if test "${PATH_SEPARATOR+set}" != set; then
13942   PATH_SEPARATOR=:
13943   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13944     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13945       PATH_SEPARATOR=';'
13946   }
13947 fi
13948
13949
13950 # IFS
13951 # We need space, tab and new line, in precisely that order.  Quoting is
13952 # there to prevent editors from complaining about space-tab.
13953 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13954 # splitting by setting IFS to empty value.)
13955 IFS=" ""        $as_nl"
13956
13957 # Find who we are.  Look in the path if we contain no directory separator.
13958 as_myself=
13959 case $0 in #((
13960   *[\\/]* ) as_myself=$0 ;;
13961   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13962 for as_dir in $PATH
13963 do
13964   IFS=$as_save_IFS
13965   test -z "$as_dir" && as_dir=.
13966     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13967   done
13968 IFS=$as_save_IFS
13969
13970      ;;
13971 esac
13972 # We did not find ourselves, most probably we were run as `sh COMMAND'
13973 # in which case we are not to be found in the path.
13974 if test "x$as_myself" = x; then
13975   as_myself=$0
13976 fi
13977 if test ! -f "$as_myself"; then
13978   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13979   exit 1
13980 fi
13981
13982 # Unset variables that we do not need and which cause bugs (e.g. in
13983 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
13984 # suppresses any "Segmentation fault" message there.  '((' could
13985 # trigger a bug in pdksh 5.2.14.
13986 for as_var in BASH_ENV ENV MAIL MAILPATH
13987 do eval test x\${$as_var+set} = xset \
13988   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13989 done
13990 PS1='$ '
13991 PS2='> '
13992 PS4='+ '
13993
13994 # NLS nuisances.
13995 LC_ALL=C
13996 export LC_ALL
13997 LANGUAGE=C
13998 export LANGUAGE
13999
14000 # CDPATH.
14001 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14002
14003
14004 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14005 # ----------------------------------------
14006 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14007 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14008 # script with STATUS, using 1 if that was 0.
14009 as_fn_error ()
14010 {
14011   as_status=$1; test $as_status -eq 0 && as_status=1
14012   if test "$4"; then
14013     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14014     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14015   fi
14016   $as_echo "$as_me: error: $2" >&2
14017   as_fn_exit $as_status
14018 } # as_fn_error
14019
14020
14021 # as_fn_set_status STATUS
14022 # -----------------------
14023 # Set $? to STATUS, without forking.
14024 as_fn_set_status ()
14025 {
14026   return $1
14027 } # as_fn_set_status
14028
14029 # as_fn_exit STATUS
14030 # -----------------
14031 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14032 as_fn_exit ()
14033 {
14034   set +e
14035   as_fn_set_status $1
14036   exit $1
14037 } # as_fn_exit
14038
14039 # as_fn_unset VAR
14040 # ---------------
14041 # Portably unset VAR.
14042 as_fn_unset ()
14043 {
14044   { eval $1=; unset $1;}
14045 }
14046 as_unset=as_fn_unset
14047 # as_fn_append VAR VALUE
14048 # ----------------------
14049 # Append the text in VALUE to the end of the definition contained in VAR. Take
14050 # advantage of any shell optimizations that allow amortized linear growth over
14051 # repeated appends, instead of the typical quadratic growth present in naive
14052 # implementations.
14053 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
14054   eval 'as_fn_append ()
14055   {
14056     eval $1+=\$2
14057   }'
14058 else
14059   as_fn_append ()
14060   {
14061     eval $1=\$$1\$2
14062   }
14063 fi # as_fn_append
14064
14065 # as_fn_arith ARG...
14066 # ------------------
14067 # Perform arithmetic evaluation on the ARGs, and store the result in the
14068 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14069 # must be portable across $(()) and expr.
14070 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
14071   eval 'as_fn_arith ()
14072   {
14073     as_val=$(( $* ))
14074   }'
14075 else
14076   as_fn_arith ()
14077   {
14078     as_val=`expr "$@" || test $? -eq 1`
14079   }
14080 fi # as_fn_arith
14081
14082
14083 if expr a : '\(a\)' >/dev/null 2>&1 &&
14084    test "X`expr 00001 : '.*\(...\)'`" = X001; then
14085   as_expr=expr
14086 else
14087   as_expr=false
14088 fi
14089
14090 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14091   as_basename=basename
14092 else
14093   as_basename=false
14094 fi
14095
14096 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14097   as_dirname=dirname
14098 else
14099   as_dirname=false
14100 fi
14101
14102 as_me=`$as_basename -- "$0" ||
14103 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14104          X"$0" : 'X\(//\)$' \| \
14105          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14106 $as_echo X/"$0" |
14107     sed '/^.*\/\([^/][^/]*\)\/*$/{
14108             s//\1/
14109             q
14110           }
14111           /^X\/\(\/\/\)$/{
14112             s//\1/
14113             q
14114           }
14115           /^X\/\(\/\).*/{
14116             s//\1/
14117             q
14118           }
14119           s/.*/./; q'`
14120
14121 # Avoid depending upon Character Ranges.
14122 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14123 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14124 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14125 as_cr_digits='0123456789'
14126 as_cr_alnum=$as_cr_Letters$as_cr_digits
14127
14128 ECHO_C= ECHO_N= ECHO_T=
14129 case `echo -n x` in #(((((
14130 -n*)
14131   case `echo 'xy\c'` in
14132   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
14133   xy)  ECHO_C='\c';;
14134   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
14135        ECHO_T=' ';;
14136   esac;;
14137 *)
14138   ECHO_N='-n';;
14139 esac
14140
14141 rm -f conf$$ conf$$.exe conf$$.file
14142 if test -d conf$$.dir; then
14143   rm -f conf$$.dir/conf$$.file
14144 else
14145   rm -f conf$$.dir
14146   mkdir conf$$.dir 2>/dev/null
14147 fi
14148 if (echo >conf$$.file) 2>/dev/null; then
14149   if ln -s conf$$.file conf$$ 2>/dev/null; then
14150     as_ln_s='ln -s'
14151     # ... but there are two gotchas:
14152     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14153     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14154     # In both cases, we have to default to `cp -pR'.
14155     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14156       as_ln_s='cp -pR'
14157   elif ln conf$$.file conf$$ 2>/dev/null; then
14158     as_ln_s=ln
14159   else
14160     as_ln_s='cp -pR'
14161   fi
14162 else
14163   as_ln_s='cp -pR'
14164 fi
14165 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14166 rmdir conf$$.dir 2>/dev/null
14167
14168
14169 # as_fn_mkdir_p
14170 # -------------
14171 # Create "$as_dir" as a directory, including parents if necessary.
14172 as_fn_mkdir_p ()
14173 {
14174
14175   case $as_dir in #(
14176   -*) as_dir=./$as_dir;;
14177   esac
14178   test -d "$as_dir" || eval $as_mkdir_p || {
14179     as_dirs=
14180     while :; do
14181       case $as_dir in #(
14182       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14183       *) as_qdir=$as_dir;;
14184       esac
14185       as_dirs="'$as_qdir' $as_dirs"
14186       as_dir=`$as_dirname -- "$as_dir" ||
14187 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14188          X"$as_dir" : 'X\(//\)[^/]' \| \
14189          X"$as_dir" : 'X\(//\)$' \| \
14190          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14191 $as_echo X"$as_dir" |
14192     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14193             s//\1/
14194             q
14195           }
14196           /^X\(\/\/\)[^/].*/{
14197             s//\1/
14198             q
14199           }
14200           /^X\(\/\/\)$/{
14201             s//\1/
14202             q
14203           }
14204           /^X\(\/\).*/{
14205             s//\1/
14206             q
14207           }
14208           s/.*/./; q'`
14209       test -d "$as_dir" && break
14210     done
14211     test -z "$as_dirs" || eval "mkdir $as_dirs"
14212   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
14213
14214
14215 } # as_fn_mkdir_p
14216 if mkdir -p . 2>/dev/null; then
14217   as_mkdir_p='mkdir -p "$as_dir"'
14218 else
14219   test -d ./-p && rmdir ./-p
14220   as_mkdir_p=false
14221 fi
14222
14223
14224 # as_fn_executable_p FILE
14225 # -----------------------
14226 # Test if FILE is an executable regular file.
14227 as_fn_executable_p ()
14228 {
14229   test -f "$1" && test -x "$1"
14230 } # as_fn_executable_p
14231 as_test_x='test -x'
14232 as_executable_p=as_fn_executable_p
14233
14234 # Sed expression to map a string onto a valid CPP name.
14235 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14236
14237 # Sed expression to map a string onto a valid variable name.
14238 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14239
14240
14241 exec 6>&1
14242 ## ----------------------------------- ##
14243 ## Main body of $CONFIG_STATUS script. ##
14244 ## ----------------------------------- ##
14245 _ASEOF
14246 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14247
14248 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14249 # Save the log message, to keep $0 and so on meaningful, and to
14250 # report actual input values of CONFIG_FILES etc. instead of their
14251 # values after options handling.
14252 ac_log="
14253 This file was extended by tlm $as_me 1.0.3, which was
14254 generated by GNU Autoconf 2.69.  Invocation command line was
14255
14256   CONFIG_FILES    = $CONFIG_FILES
14257   CONFIG_HEADERS  = $CONFIG_HEADERS
14258   CONFIG_LINKS    = $CONFIG_LINKS
14259   CONFIG_COMMANDS = $CONFIG_COMMANDS
14260   $ $0 $@
14261
14262 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14263 "
14264
14265 _ACEOF
14266
14267 case $ac_config_files in *"
14268 "*) set x $ac_config_files; shift; ac_config_files=$*;;
14269 esac
14270
14271 case $ac_config_headers in *"
14272 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
14273 esac
14274
14275
14276 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14277 # Files that config.status was made for.
14278 config_files="$ac_config_files"
14279 config_headers="$ac_config_headers"
14280 config_commands="$ac_config_commands"
14281
14282 _ACEOF
14283
14284 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14285 ac_cs_usage="\
14286 \`$as_me' instantiates files and other configuration actions
14287 from templates according to the current configuration.  Unless the files
14288 and actions are specified as TAGs, all are instantiated by default.
14289
14290 Usage: $0 [OPTION]... [TAG]...
14291
14292   -h, --help       print this help, then exit
14293   -V, --version    print version number and configuration settings, then exit
14294       --config     print configuration, then exit
14295   -q, --quiet, --silent
14296                    do not print progress messages
14297   -d, --debug      don't remove temporary files
14298       --recheck    update $as_me by reconfiguring in the same conditions
14299       --file=FILE[:TEMPLATE]
14300                    instantiate the configuration file FILE
14301       --header=FILE[:TEMPLATE]
14302                    instantiate the configuration header FILE
14303
14304 Configuration files:
14305 $config_files
14306
14307 Configuration headers:
14308 $config_headers
14309
14310 Configuration commands:
14311 $config_commands
14312
14313 Report bugs to the package provider."
14314
14315 _ACEOF
14316 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14317 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14318 ac_cs_version="\\
14319 tlm config.status 1.0.3
14320 configured by $0, generated by GNU Autoconf 2.69,
14321   with options \\"\$ac_cs_config\\"
14322
14323 Copyright (C) 2012 Free Software Foundation, Inc.
14324 This config.status script is free software; the Free Software Foundation
14325 gives unlimited permission to copy, distribute and modify it."
14326
14327 ac_pwd='$ac_pwd'
14328 srcdir='$srcdir'
14329 INSTALL='$INSTALL'
14330 MKDIR_P='$MKDIR_P'
14331 AWK='$AWK'
14332 test -n "\$AWK" || AWK=awk
14333 _ACEOF
14334
14335 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14336 # The default lists apply if the user does not specify any file.
14337 ac_need_defaults=:
14338 while test $# != 0
14339 do
14340   case $1 in
14341   --*=?*)
14342     ac_option=`expr "X$1" : 'X\([^=]*\)='`
14343     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14344     ac_shift=:
14345     ;;
14346   --*=)
14347     ac_option=`expr "X$1" : 'X\([^=]*\)='`
14348     ac_optarg=
14349     ac_shift=:
14350     ;;
14351   *)
14352     ac_option=$1
14353     ac_optarg=$2
14354     ac_shift=shift
14355     ;;
14356   esac
14357
14358   case $ac_option in
14359   # Handling of the options.
14360   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14361     ac_cs_recheck=: ;;
14362   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14363     $as_echo "$ac_cs_version"; exit ;;
14364   --config | --confi | --conf | --con | --co | --c )
14365     $as_echo "$ac_cs_config"; exit ;;
14366   --debug | --debu | --deb | --de | --d | -d )
14367     debug=: ;;
14368   --file | --fil | --fi | --f )
14369     $ac_shift
14370     case $ac_optarg in
14371     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14372     '') as_fn_error $? "missing file argument" ;;
14373     esac
14374     as_fn_append CONFIG_FILES " '$ac_optarg'"
14375     ac_need_defaults=false;;
14376   --header | --heade | --head | --hea )
14377     $ac_shift
14378     case $ac_optarg in
14379     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14380     esac
14381     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
14382     ac_need_defaults=false;;
14383   --he | --h)
14384     # Conflict between --help and --header
14385     as_fn_error $? "ambiguous option: \`$1'
14386 Try \`$0 --help' for more information.";;
14387   --help | --hel | -h )
14388     $as_echo "$ac_cs_usage"; exit ;;
14389   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14390   | -silent | --silent | --silen | --sile | --sil | --si | --s)
14391     ac_cs_silent=: ;;
14392
14393   # This is an error.
14394   -*) as_fn_error $? "unrecognized option: \`$1'
14395 Try \`$0 --help' for more information." ;;
14396
14397   *) as_fn_append ac_config_targets " $1"
14398      ac_need_defaults=false ;;
14399
14400   esac
14401   shift
14402 done
14403
14404 ac_configure_extra_args=
14405
14406 if $ac_cs_silent; then
14407   exec 6>/dev/null
14408   ac_configure_extra_args="$ac_configure_extra_args --silent"
14409 fi
14410
14411 _ACEOF
14412 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14413 if \$ac_cs_recheck; then
14414   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14415   shift
14416   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14417   CONFIG_SHELL='$SHELL'
14418   export CONFIG_SHELL
14419   exec "\$@"
14420 fi
14421
14422 _ACEOF
14423 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14424 exec 5>>config.log
14425 {
14426   echo
14427   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14428 ## Running $as_me. ##
14429 _ASBOX
14430   $as_echo "$ac_log"
14431 } >&5
14432
14433 _ACEOF
14434 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14435 #
14436 # INIT-COMMANDS
14437 #
14438 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14439
14440
14441 # The HP-UX ksh and POSIX shell print the target directory to stdout
14442 # if CDPATH is set.
14443 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14444
14445 sed_quote_subst='$sed_quote_subst'
14446 double_quote_subst='$double_quote_subst'
14447 delay_variable_subst='$delay_variable_subst'
14448 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14449 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14450 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14451 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14452 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14453 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14454 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14455 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14456 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
14457 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14458 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14459 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14460 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14461 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14462 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14463 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14464 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14465 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14466 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14467 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14468 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14469 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14470 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14471 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14472 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14473 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14474 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14475 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14476 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14477 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
14478 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
14479 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14480 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14481 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14482 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14483 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14484 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
14485 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
14486 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
14487 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
14488 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14489 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14490 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
14491 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14492 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14493 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14494 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14495 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14496 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14497 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14498 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14499 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14500 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14501 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14502 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14503 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14504 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"`'
14505 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14506 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14507 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14508 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14509 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14510 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14511 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14512 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14513 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14514 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14515 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14516 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14517 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14518 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14519 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14520 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14521 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14522 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14523 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14524 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14525 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14526 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14527 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14528 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14529 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14530 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14531 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14532 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14533 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14534 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14535 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14536 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14537 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14538 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14539 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14540 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14541 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14542 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14543 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14544 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14545 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14546 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14547 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14548 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14549 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14550 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14551 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14552 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14553 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14554 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14555 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14556 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14557 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14558 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14559 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14560 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14561 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14562 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14563 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14564 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14565 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14566 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14567 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14568 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14569 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14570 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14571 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
14572 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14573 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14574 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14575 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14576 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14577 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14578
14579 LTCC='$LTCC'
14580 LTCFLAGS='$LTCFLAGS'
14581 compiler='$compiler_DEFAULT'
14582
14583 # A function that is used when there is no print builtin or printf.
14584 func_fallback_echo ()
14585 {
14586   eval 'cat <<_LTECHO_EOF
14587 \$1
14588 _LTECHO_EOF'
14589 }
14590
14591 # Quote evaled strings.
14592 for var in SHELL \
14593 ECHO \
14594 PATH_SEPARATOR \
14595 SED \
14596 GREP \
14597 EGREP \
14598 FGREP \
14599 LD \
14600 NM \
14601 LN_S \
14602 lt_SP2NL \
14603 lt_NL2SP \
14604 reload_flag \
14605 OBJDUMP \
14606 deplibs_check_method \
14607 file_magic_cmd \
14608 file_magic_glob \
14609 want_nocaseglob \
14610 DLLTOOL \
14611 sharedlib_from_linklib_cmd \
14612 AR \
14613 AR_FLAGS \
14614 archiver_list_spec \
14615 STRIP \
14616 RANLIB \
14617 CC \
14618 CFLAGS \
14619 compiler \
14620 lt_cv_sys_global_symbol_pipe \
14621 lt_cv_sys_global_symbol_to_cdecl \
14622 lt_cv_sys_global_symbol_to_c_name_address \
14623 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14624 nm_file_list_spec \
14625 lt_prog_compiler_no_builtin_flag \
14626 lt_prog_compiler_pic \
14627 lt_prog_compiler_wl \
14628 lt_prog_compiler_static \
14629 lt_cv_prog_compiler_c_o \
14630 need_locks \
14631 MANIFEST_TOOL \
14632 DSYMUTIL \
14633 NMEDIT \
14634 LIPO \
14635 OTOOL \
14636 OTOOL64 \
14637 shrext_cmds \
14638 export_dynamic_flag_spec \
14639 whole_archive_flag_spec \
14640 compiler_needs_object \
14641 with_gnu_ld \
14642 allow_undefined_flag \
14643 no_undefined_flag \
14644 hardcode_libdir_flag_spec \
14645 hardcode_libdir_separator \
14646 exclude_expsyms \
14647 include_expsyms \
14648 file_list_spec \
14649 variables_saved_for_relink \
14650 libname_spec \
14651 library_names_spec \
14652 soname_spec \
14653 install_override_mode \
14654 finish_eval \
14655 old_striplib \
14656 striplib; do
14657     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14658     *[\\\\\\\`\\"\\\$]*)
14659       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14660       ;;
14661     *)
14662       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14663       ;;
14664     esac
14665 done
14666
14667 # Double-quote double-evaled strings.
14668 for var in reload_cmds \
14669 old_postinstall_cmds \
14670 old_postuninstall_cmds \
14671 old_archive_cmds \
14672 extract_expsyms_cmds \
14673 old_archive_from_new_cmds \
14674 old_archive_from_expsyms_cmds \
14675 archive_cmds \
14676 archive_expsym_cmds \
14677 module_cmds \
14678 module_expsym_cmds \
14679 export_symbols_cmds \
14680 prelink_cmds \
14681 postlink_cmds \
14682 postinstall_cmds \
14683 postuninstall_cmds \
14684 finish_cmds \
14685 sys_lib_search_path_spec \
14686 sys_lib_dlsearch_path_spec; do
14687     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14688     *[\\\\\\\`\\"\\\$]*)
14689       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14690       ;;
14691     *)
14692       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14693       ;;
14694     esac
14695 done
14696
14697 ac_aux_dir='$ac_aux_dir'
14698 xsi_shell='$xsi_shell'
14699 lt_shell_append='$lt_shell_append'
14700
14701 # See if we are running on zsh, and set the options which allow our
14702 # commands through without removal of \ escapes INIT.
14703 if test -n "\${ZSH_VERSION+set}" ; then
14704    setopt NO_GLOB_SUBST
14705 fi
14706
14707
14708     PACKAGE='$PACKAGE'
14709     VERSION='$VERSION'
14710     TIMESTAMP='$TIMESTAMP'
14711     RM='$RM'
14712     ofile='$ofile'
14713
14714
14715
14716
14717 _ACEOF
14718
14719 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14720
14721 # Handling of arguments.
14722 for ac_config_target in $ac_config_targets
14723 do
14724   case $ac_config_target in
14725     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
14726     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14727     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14728     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14729     "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
14730     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
14731     "src/common/Makefile") CONFIG_FILES="$CONFIG_FILES src/common/Makefile" ;;
14732     "src/common/dbus/Makefile") CONFIG_FILES="$CONFIG_FILES src/common/dbus/Makefile" ;;
14733     "src/daemon/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/Makefile" ;;
14734     "src/daemon/dbus/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/dbus/Makefile" ;;
14735     "src/daemon/tlm.pc") CONFIG_FILES="$CONFIG_FILES src/daemon/tlm.pc" ;;
14736     "src/sessiond/Makefile") CONFIG_FILES="$CONFIG_FILES src/sessiond/Makefile" ;;
14737     "src/utils/Makefile") CONFIG_FILES="$CONFIG_FILES src/utils/Makefile" ;;
14738     "src/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/Makefile" ;;
14739     "src/plugins/default/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/default/Makefile" ;;
14740     "src/plugins/gumd/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/gumd/Makefile" ;;
14741     "src/plugins/nfc/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/nfc/Makefile" ;;
14742     "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
14743     "data/tlm.conf") CONFIG_FILES="$CONFIG_FILES data/tlm.conf" ;;
14744     "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
14745     "tests/config/Makefile") CONFIG_FILES="$CONFIG_FILES tests/config/Makefile" ;;
14746     "tests/daemon/Makefile") CONFIG_FILES="$CONFIG_FILES tests/daemon/Makefile" ;;
14747     "tests/tlm-test.conf") CONFIG_FILES="$CONFIG_FILES tests/tlm-test.conf" ;;
14748     "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
14749
14750   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14751   esac
14752 done
14753
14754
14755 # If the user did not use the arguments to specify the items to instantiate,
14756 # then the envvar interface is used.  Set only those that are not.
14757 # We use the long form for the default assignment because of an extremely
14758 # bizarre bug on SunOS 4.1.3.
14759 if $ac_need_defaults; then
14760   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14761   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14762   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14763 fi
14764
14765 # Have a temporary directory for convenience.  Make it in the build tree
14766 # simply because there is no reason against having it here, and in addition,
14767 # creating and moving files from /tmp can sometimes cause problems.
14768 # Hook for its removal unless debugging.
14769 # Note that there is a small window in which the directory will not be cleaned:
14770 # after its creation but before its name has been assigned to `$tmp'.
14771 $debug ||
14772 {
14773   tmp= ac_tmp=
14774   trap 'exit_status=$?
14775   : "${ac_tmp:=$tmp}"
14776   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14777 ' 0
14778   trap 'as_fn_exit 1' 1 2 13 15
14779 }
14780 # Create a (secure) tmp directory for tmp files.
14781
14782 {
14783   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14784   test -d "$tmp"
14785 }  ||
14786 {
14787   tmp=./conf$$-$RANDOM
14788   (umask 077 && mkdir "$tmp")
14789 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
14790 ac_tmp=$tmp
14791
14792 # Set up the scripts for CONFIG_FILES section.
14793 # No need to generate them if there are no CONFIG_FILES.
14794 # This happens for instance with `./config.status config.h'.
14795 if test -n "$CONFIG_FILES"; then
14796
14797
14798 ac_cr=`echo X | tr X '\015'`
14799 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14800 # But we know of no other shell where ac_cr would be empty at this
14801 # point, so we can use a bashism as a fallback.
14802 if test "x$ac_cr" = x; then
14803   eval ac_cr=\$\'\\r\'
14804 fi
14805 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14806 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14807   ac_cs_awk_cr='\\r'
14808 else
14809   ac_cs_awk_cr=$ac_cr
14810 fi
14811
14812 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14813 _ACEOF
14814
14815
14816 {
14817   echo "cat >conf$$subs.awk <<_ACEOF" &&
14818   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14819   echo "_ACEOF"
14820 } >conf$$subs.sh ||
14821   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14822 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14823 ac_delim='%!_!# '
14824 for ac_last_try in false false false false false :; do
14825   . ./conf$$subs.sh ||
14826     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14827
14828   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14829   if test $ac_delim_n = $ac_delim_num; then
14830     break
14831   elif $ac_last_try; then
14832     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14833   else
14834     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14835   fi
14836 done
14837 rm -f conf$$subs.sh
14838
14839 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14840 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
14841 _ACEOF
14842 sed -n '
14843 h
14844 s/^/S["/; s/!.*/"]=/
14845 p
14846 g
14847 s/^[^!]*!//
14848 :repl
14849 t repl
14850 s/'"$ac_delim"'$//
14851 t delim
14852 :nl
14853 h
14854 s/\(.\{148\}\)..*/\1/
14855 t more1
14856 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14857 p
14858 n
14859 b repl
14860 :more1
14861 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14862 p
14863 g
14864 s/.\{148\}//
14865 t nl
14866 :delim
14867 h
14868 s/\(.\{148\}\)..*/\1/
14869 t more2
14870 s/["\\]/\\&/g; s/^/"/; s/$/"/
14871 p
14872 b
14873 :more2
14874 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14875 p
14876 g
14877 s/.\{148\}//
14878 t delim
14879 ' <conf$$subs.awk | sed '
14880 /^[^""]/{
14881   N
14882   s/\n//
14883 }
14884 ' >>$CONFIG_STATUS || ac_write_fail=1
14885 rm -f conf$$subs.awk
14886 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14887 _ACAWK
14888 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
14889   for (key in S) S_is_set[key] = 1
14890   FS = "\a"
14891
14892 }
14893 {
14894   line = $ 0
14895   nfields = split(line, field, "@")
14896   substed = 0
14897   len = length(field[1])
14898   for (i = 2; i < nfields; i++) {
14899     key = field[i]
14900     keylen = length(key)
14901     if (S_is_set[key]) {
14902       value = S[key]
14903       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14904       len += length(value) + length(field[++i])
14905       substed = 1
14906     } else
14907       len += 1 + keylen
14908   }
14909
14910   print line
14911 }
14912
14913 _ACAWK
14914 _ACEOF
14915 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14916 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14917   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14918 else
14919   cat
14920 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
14921   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14922 _ACEOF
14923
14924 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14925 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14926 # trailing colons and then remove the whole line if VPATH becomes empty
14927 # (actually we leave an empty line to preserve line numbers).
14928 if test "x$srcdir" = x.; then
14929   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
14930 h
14931 s///
14932 s/^/:/
14933 s/[      ]*$/:/
14934 s/:\$(srcdir):/:/g
14935 s/:\${srcdir}:/:/g
14936 s/:@srcdir@:/:/g
14937 s/^:*//
14938 s/:*$//
14939 x
14940 s/\(=[   ]*\).*/\1/
14941 G
14942 s/\n//
14943 s/^[^=]*=[       ]*$//
14944 }'
14945 fi
14946
14947 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14948 fi # test -n "$CONFIG_FILES"
14949
14950 # Set up the scripts for CONFIG_HEADERS section.
14951 # No need to generate them if there are no CONFIG_HEADERS.
14952 # This happens for instance with `./config.status Makefile'.
14953 if test -n "$CONFIG_HEADERS"; then
14954 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
14955 BEGIN {
14956 _ACEOF
14957
14958 # Transform confdefs.h into an awk script `defines.awk', embedded as
14959 # here-document in config.status, that substitutes the proper values into
14960 # config.h.in to produce config.h.
14961
14962 # Create a delimiter string that does not exist in confdefs.h, to ease
14963 # handling of long lines.
14964 ac_delim='%!_!# '
14965 for ac_last_try in false false :; do
14966   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
14967   if test -z "$ac_tt"; then
14968     break
14969   elif $ac_last_try; then
14970     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14971   else
14972     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14973   fi
14974 done
14975
14976 # For the awk script, D is an array of macro values keyed by name,
14977 # likewise P contains macro parameters if any.  Preserve backslash
14978 # newline sequences.
14979
14980 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14981 sed -n '
14982 s/.\{148\}/&'"$ac_delim"'/g
14983 t rset
14984 :rset
14985 s/^[     ]*#[    ]*define[       ][      ]*/ /
14986 t def
14987 d
14988 :def
14989 s/\\$//
14990 t bsnl
14991 s/["\\]/\\&/g
14992 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
14993 D["\1"]=" \3"/p
14994 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
14995 d
14996 :bsnl
14997 s/["\\]/\\&/g
14998 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
14999 D["\1"]=" \3\\\\\\n"\\/p
15000 t cont
15001 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
15002 t cont
15003 d
15004 :cont
15005 n
15006 s/.\{148\}/&'"$ac_delim"'/g
15007 t clear
15008 :clear
15009 s/\\$//
15010 t bsnlc
15011 s/["\\]/\\&/g; s/^/"/; s/$/"/p
15012 d
15013 :bsnlc
15014 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
15015 b cont
15016 ' <confdefs.h | sed '
15017 s/'"$ac_delim"'/"\\\
15018 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15019
15020 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15021   for (key in D) D_is_set[key] = 1
15022   FS = "\a"
15023 }
15024 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15025   line = \$ 0
15026   split(line, arg, " ")
15027   if (arg[1] == "#") {
15028     defundef = arg[2]
15029     mac1 = arg[3]
15030   } else {
15031     defundef = substr(arg[1], 2)
15032     mac1 = arg[2]
15033   }
15034   split(mac1, mac2, "(") #)
15035   macro = mac2[1]
15036   prefix = substr(line, 1, index(line, defundef) - 1)
15037   if (D_is_set[macro]) {
15038     # Preserve the white space surrounding the "#".
15039     print prefix "define", macro P[macro] D[macro]
15040     next
15041   } else {
15042     # Replace #undef with comments.  This is necessary, for example,
15043     # in the case of _POSIX_SOURCE, which is predefined and required
15044     # on some systems where configure will not decide to define it.
15045     if (defundef == "undef") {
15046       print "/*", prefix defundef, macro, "*/"
15047       next
15048     }
15049   }
15050 }
15051 { print }
15052 _ACAWK
15053 _ACEOF
15054 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15055   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
15056 fi # test -n "$CONFIG_HEADERS"
15057
15058
15059 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
15060 shift
15061 for ac_tag
15062 do
15063   case $ac_tag in
15064   :[FHLC]) ac_mode=$ac_tag; continue;;
15065   esac
15066   case $ac_mode$ac_tag in
15067   :[FHL]*:*);;
15068   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
15069   :[FH]-) ac_tag=-:-;;
15070   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15071   esac
15072   ac_save_IFS=$IFS
15073   IFS=:
15074   set x $ac_tag
15075   IFS=$ac_save_IFS
15076   shift
15077   ac_file=$1
15078   shift
15079
15080   case $ac_mode in
15081   :L) ac_source=$1;;
15082   :[FH])
15083     ac_file_inputs=
15084     for ac_f
15085     do
15086       case $ac_f in
15087       -) ac_f="$ac_tmp/stdin";;
15088       *) # Look for the file first in the build tree, then in the source tree
15089          # (if the path is not absolute).  The absolute path cannot be DOS-style,
15090          # because $ac_f cannot contain `:'.
15091          test -f "$ac_f" ||
15092            case $ac_f in
15093            [\\/$]*) false;;
15094            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15095            esac ||
15096            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15097       esac
15098       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15099       as_fn_append ac_file_inputs " '$ac_f'"
15100     done
15101
15102     # Let's still pretend it is `configure' which instantiates (i.e., don't
15103     # use $as_me), people would be surprised to read:
15104     #    /* config.h.  Generated by config.status.  */
15105     configure_input='Generated from '`
15106           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15107         `' by configure.'
15108     if test x"$ac_file" != x-; then
15109       configure_input="$ac_file.  $configure_input"
15110       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15111 $as_echo "$as_me: creating $ac_file" >&6;}
15112     fi
15113     # Neutralize special characters interpreted by sed in replacement strings.
15114     case $configure_input in #(
15115     *\&* | *\|* | *\\* )
15116        ac_sed_conf_input=`$as_echo "$configure_input" |
15117        sed 's/[\\\\&|]/\\\\&/g'`;; #(
15118     *) ac_sed_conf_input=$configure_input;;
15119     esac
15120
15121     case $ac_tag in
15122     *:-:* | *:-) cat >"$ac_tmp/stdin" \
15123       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
15124     esac
15125     ;;
15126   esac
15127
15128   ac_dir=`$as_dirname -- "$ac_file" ||
15129 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15130          X"$ac_file" : 'X\(//\)[^/]' \| \
15131          X"$ac_file" : 'X\(//\)$' \| \
15132          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15133 $as_echo X"$ac_file" |
15134     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15135             s//\1/
15136             q
15137           }
15138           /^X\(\/\/\)[^/].*/{
15139             s//\1/
15140             q
15141           }
15142           /^X\(\/\/\)$/{
15143             s//\1/
15144             q
15145           }
15146           /^X\(\/\).*/{
15147             s//\1/
15148             q
15149           }
15150           s/.*/./; q'`
15151   as_dir="$ac_dir"; as_fn_mkdir_p
15152   ac_builddir=.
15153
15154 case "$ac_dir" in
15155 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15156 *)
15157   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15158   # A ".." for each directory in $ac_dir_suffix.
15159   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15160   case $ac_top_builddir_sub in
15161   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15162   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15163   esac ;;
15164 esac
15165 ac_abs_top_builddir=$ac_pwd
15166 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15167 # for backward compatibility:
15168 ac_top_builddir=$ac_top_build_prefix
15169
15170 case $srcdir in
15171   .)  # We are building in place.
15172     ac_srcdir=.
15173     ac_top_srcdir=$ac_top_builddir_sub
15174     ac_abs_top_srcdir=$ac_pwd ;;
15175   [\\/]* | ?:[\\/]* )  # Absolute name.
15176     ac_srcdir=$srcdir$ac_dir_suffix;
15177     ac_top_srcdir=$srcdir
15178     ac_abs_top_srcdir=$srcdir ;;
15179   *) # Relative name.
15180     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15181     ac_top_srcdir=$ac_top_build_prefix$srcdir
15182     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15183 esac
15184 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15185
15186
15187   case $ac_mode in
15188   :F)
15189   #
15190   # CONFIG_FILE
15191   #
15192
15193   case $INSTALL in
15194   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15195   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15196   esac
15197   ac_MKDIR_P=$MKDIR_P
15198   case $MKDIR_P in
15199   [\\/$]* | ?:[\\/]* ) ;;
15200   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
15201   esac
15202 _ACEOF
15203
15204 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15205 # If the template does not know about datarootdir, expand it.
15206 # FIXME: This hack should be removed a few years after 2.60.
15207 ac_datarootdir_hack=; ac_datarootdir_seen=
15208 ac_sed_dataroot='
15209 /datarootdir/ {
15210   p
15211   q
15212 }
15213 /@datadir@/p
15214 /@docdir@/p
15215 /@infodir@/p
15216 /@localedir@/p
15217 /@mandir@/p'
15218 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15219 *datarootdir*) ac_datarootdir_seen=yes;;
15220 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15221   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15222 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15223 _ACEOF
15224 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15225   ac_datarootdir_hack='
15226   s&@datadir@&$datadir&g
15227   s&@docdir@&$docdir&g
15228   s&@infodir@&$infodir&g
15229   s&@localedir@&$localedir&g
15230   s&@mandir@&$mandir&g
15231   s&\\\${datarootdir}&$datarootdir&g' ;;
15232 esac
15233 _ACEOF
15234
15235 # Neutralize VPATH when `$srcdir' = `.'.
15236 # Shell code in configure.ac might set extrasub.
15237 # FIXME: do we really want to maintain this feature?
15238 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15239 ac_sed_extra="$ac_vpsub
15240 $extrasub
15241 _ACEOF
15242 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15243 :t
15244 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15245 s|@configure_input@|$ac_sed_conf_input|;t t
15246 s&@top_builddir@&$ac_top_builddir_sub&;t t
15247 s&@top_build_prefix@&$ac_top_build_prefix&;t t
15248 s&@srcdir@&$ac_srcdir&;t t
15249 s&@abs_srcdir@&$ac_abs_srcdir&;t t
15250 s&@top_srcdir@&$ac_top_srcdir&;t t
15251 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
15252 s&@builddir@&$ac_builddir&;t t
15253 s&@abs_builddir@&$ac_abs_builddir&;t t
15254 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
15255 s&@INSTALL@&$ac_INSTALL&;t t
15256 s&@MKDIR_P@&$ac_MKDIR_P&;t t
15257 $ac_datarootdir_hack
15258 "
15259 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
15260   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15261
15262 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15263   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
15264   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
15265       "$ac_tmp/out"`; test -z "$ac_out"; } &&
15266   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15267 which seems to be undefined.  Please make sure it is defined" >&5
15268 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15269 which seems to be undefined.  Please make sure it is defined" >&2;}
15270
15271   rm -f "$ac_tmp/stdin"
15272   case $ac_file in
15273   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15274   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15275   esac \
15276   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15277  ;;
15278   :H)
15279   #
15280   # CONFIG_HEADER
15281   #
15282   if test x"$ac_file" != x-; then
15283     {
15284       $as_echo "/* $configure_input  */" \
15285       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15286     } >"$ac_tmp/config.h" \
15287       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15288     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15289       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15290 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15291     else
15292       rm -f "$ac_file"
15293       mv "$ac_tmp/config.h" "$ac_file" \
15294         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15295     fi
15296   else
15297     $as_echo "/* $configure_input  */" \
15298       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15299       || as_fn_error $? "could not create -" "$LINENO" 5
15300   fi
15301 # Compute "$ac_file"'s index in $config_headers.
15302 _am_arg="$ac_file"
15303 _am_stamp_count=1
15304 for _am_header in $config_headers :; do
15305   case $_am_header in
15306     $_am_arg | $_am_arg:* )
15307       break ;;
15308     * )
15309       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
15310   esac
15311 done
15312 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15313 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15314          X"$_am_arg" : 'X\(//\)[^/]' \| \
15315          X"$_am_arg" : 'X\(//\)$' \| \
15316          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15317 $as_echo X"$_am_arg" |
15318     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15319             s//\1/
15320             q
15321           }
15322           /^X\(\/\/\)[^/].*/{
15323             s//\1/
15324             q
15325           }
15326           /^X\(\/\/\)$/{
15327             s//\1/
15328             q
15329           }
15330           /^X\(\/\).*/{
15331             s//\1/
15332             q
15333           }
15334           s/.*/./; q'`/stamp-h$_am_stamp_count
15335  ;;
15336
15337   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15338 $as_echo "$as_me: executing $ac_file commands" >&6;}
15339  ;;
15340   esac
15341
15342
15343   case $ac_file$ac_mode in
15344     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
15345   # Older Autoconf quotes --file arguments for eval, but not when files
15346   # are listed without --file.  Let's play safe and only enable the eval
15347   # if we detect the quoting.
15348   case $CONFIG_FILES in
15349   *\'*) eval set x "$CONFIG_FILES" ;;
15350   *)   set x $CONFIG_FILES ;;
15351   esac
15352   shift
15353   for mf
15354   do
15355     # Strip MF so we end up with the name of the file.
15356     mf=`echo "$mf" | sed -e 's/:.*$//'`
15357     # Check whether this is an Automake generated Makefile or not.
15358     # We used to match only the files named 'Makefile.in', but
15359     # some people rename them; so instead we look at the file content.
15360     # Grep'ing the first line is not enough: some people post-process
15361     # each Makefile.in and add a new line on top of each file to say so.
15362     # Grep'ing the whole file is not good either: AIX grep has a line
15363     # limit of 2048, but all sed's we know have understand at least 4000.
15364     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
15365       dirpart=`$as_dirname -- "$mf" ||
15366 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15367          X"$mf" : 'X\(//\)[^/]' \| \
15368          X"$mf" : 'X\(//\)$' \| \
15369          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15370 $as_echo X"$mf" |
15371     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15372             s//\1/
15373             q
15374           }
15375           /^X\(\/\/\)[^/].*/{
15376             s//\1/
15377             q
15378           }
15379           /^X\(\/\/\)$/{
15380             s//\1/
15381             q
15382           }
15383           /^X\(\/\).*/{
15384             s//\1/
15385             q
15386           }
15387           s/.*/./; q'`
15388     else
15389       continue
15390     fi
15391     # Extract the definition of DEPDIR, am__include, and am__quote
15392     # from the Makefile without running 'make'.
15393     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
15394     test -z "$DEPDIR" && continue
15395     am__include=`sed -n 's/^am__include = //p' < "$mf"`
15396     test -z "$am__include" && continue
15397     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15398     # Find all dependency output files, they are included files with
15399     # $(DEPDIR) in their names.  We invoke sed twice because it is the
15400     # simplest approach to changing $(DEPDIR) to its actual value in the
15401     # expansion.
15402     for file in `sed -n "
15403       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15404          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
15405       # Make sure the directory exists.
15406       test -f "$dirpart/$file" && continue
15407       fdir=`$as_dirname -- "$file" ||
15408 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15409          X"$file" : 'X\(//\)[^/]' \| \
15410          X"$file" : 'X\(//\)$' \| \
15411          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15412 $as_echo X"$file" |
15413     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15414             s//\1/
15415             q
15416           }
15417           /^X\(\/\/\)[^/].*/{
15418             s//\1/
15419             q
15420           }
15421           /^X\(\/\/\)$/{
15422             s//\1/
15423             q
15424           }
15425           /^X\(\/\).*/{
15426             s//\1/
15427             q
15428           }
15429           s/.*/./; q'`
15430       as_dir=$dirpart/$fdir; as_fn_mkdir_p
15431       # echo "creating $dirpart/$file"
15432       echo '# dummy' > "$dirpart/$file"
15433     done
15434   done
15435 }
15436  ;;
15437     "libtool":C)
15438
15439     # See if we are running on zsh, and set the options which allow our
15440     # commands through without removal of \ escapes.
15441     if test -n "${ZSH_VERSION+set}" ; then
15442       setopt NO_GLOB_SUBST
15443     fi
15444
15445     cfgfile="${ofile}T"
15446     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15447     $RM "$cfgfile"
15448
15449     cat <<_LT_EOF >> "$cfgfile"
15450 #! $SHELL
15451
15452 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15453 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15454 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15455 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15456 #
15457 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15458 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
15459 #                 Foundation, Inc.
15460 #   Written by Gordon Matzigkeit, 1996
15461 #
15462 #   This file is part of GNU Libtool.
15463 #
15464 # GNU Libtool is free software; you can redistribute it and/or
15465 # modify it under the terms of the GNU General Public License as
15466 # published by the Free Software Foundation; either version 2 of
15467 # the License, or (at your option) any later version.
15468 #
15469 # As a special exception to the GNU General Public License,
15470 # if you distribute this file as part of a program or library that
15471 # is built using GNU Libtool, you may include this file under the
15472 # same distribution terms that you use for the rest of that program.
15473 #
15474 # GNU Libtool is distributed in the hope that it will be useful,
15475 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15476 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15477 # GNU General Public License for more details.
15478 #
15479 # You should have received a copy of the GNU General Public License
15480 # along with GNU Libtool; see the file COPYING.  If not, a copy
15481 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15482 # obtained by writing to the Free Software Foundation, Inc.,
15483 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15484
15485
15486 # The names of the tagged configurations supported by this script.
15487 available_tags=""
15488
15489 # ### BEGIN LIBTOOL CONFIG
15490
15491 # Which release of libtool.m4 was used?
15492 macro_version=$macro_version
15493 macro_revision=$macro_revision
15494
15495 # Whether or not to build static libraries.
15496 build_old_libs=$enable_static
15497
15498 # Whether or not to build shared libraries.
15499 build_libtool_libs=$enable_shared
15500
15501 # What type of objects to build.
15502 pic_mode=$pic_mode
15503
15504 # Whether or not to optimize for fast installation.
15505 fast_install=$enable_fast_install
15506
15507 # Shell to use when invoking shell scripts.
15508 SHELL=$lt_SHELL
15509
15510 # An echo program that protects backslashes.
15511 ECHO=$lt_ECHO
15512
15513 # The PATH separator for the build system.
15514 PATH_SEPARATOR=$lt_PATH_SEPARATOR
15515
15516 # The host system.
15517 host_alias=$host_alias
15518 host=$host
15519 host_os=$host_os
15520
15521 # The build system.
15522 build_alias=$build_alias
15523 build=$build
15524 build_os=$build_os
15525
15526 # A sed program that does not truncate output.
15527 SED=$lt_SED
15528
15529 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15530 Xsed="\$SED -e 1s/^X//"
15531
15532 # A grep program that handles long lines.
15533 GREP=$lt_GREP
15534
15535 # An ERE matcher.
15536 EGREP=$lt_EGREP
15537
15538 # A literal string matcher.
15539 FGREP=$lt_FGREP
15540
15541 # A BSD- or MS-compatible name lister.
15542 NM=$lt_NM
15543
15544 # Whether we need soft or hard links.
15545 LN_S=$lt_LN_S
15546
15547 # What is the maximum length of a command?
15548 max_cmd_len=$max_cmd_len
15549
15550 # Object file suffix (normally "o").
15551 objext=$ac_objext
15552
15553 # Executable file suffix (normally "").
15554 exeext=$exeext
15555
15556 # whether the shell understands "unset".
15557 lt_unset=$lt_unset
15558
15559 # turn spaces into newlines.
15560 SP2NL=$lt_lt_SP2NL
15561
15562 # turn newlines into spaces.
15563 NL2SP=$lt_lt_NL2SP
15564
15565 # convert \$build file names to \$host format.
15566 to_host_file_cmd=$lt_cv_to_host_file_cmd
15567
15568 # convert \$build files to toolchain format.
15569 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
15570
15571 # An object symbol dumper.
15572 OBJDUMP=$lt_OBJDUMP
15573
15574 # Method to check whether dependent libraries are shared objects.
15575 deplibs_check_method=$lt_deplibs_check_method
15576
15577 # Command to use when deplibs_check_method = "file_magic".
15578 file_magic_cmd=$lt_file_magic_cmd
15579
15580 # How to find potential files when deplibs_check_method = "file_magic".
15581 file_magic_glob=$lt_file_magic_glob
15582
15583 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
15584 want_nocaseglob=$lt_want_nocaseglob
15585
15586 # DLL creation program.
15587 DLLTOOL=$lt_DLLTOOL
15588
15589 # Command to associate shared and link libraries.
15590 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
15591
15592 # The archiver.
15593 AR=$lt_AR
15594
15595 # Flags to create an archive.
15596 AR_FLAGS=$lt_AR_FLAGS
15597
15598 # How to feed a file listing to the archiver.
15599 archiver_list_spec=$lt_archiver_list_spec
15600
15601 # A symbol stripping program.
15602 STRIP=$lt_STRIP
15603
15604 # Commands used to install an old-style archive.
15605 RANLIB=$lt_RANLIB
15606 old_postinstall_cmds=$lt_old_postinstall_cmds
15607 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15608
15609 # Whether to use a lock for old archive extraction.
15610 lock_old_archive_extraction=$lock_old_archive_extraction
15611
15612 # A C compiler.
15613 LTCC=$lt_CC
15614
15615 # LTCC compiler flags.
15616 LTCFLAGS=$lt_CFLAGS
15617
15618 # Take the output of nm and produce a listing of raw symbols and C names.
15619 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15620
15621 # Transform the output of nm in a proper C declaration.
15622 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15623
15624 # Transform the output of nm in a C name address pair.
15625 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15626
15627 # Transform the output of nm in a C name address pair when lib prefix is needed.
15628 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15629
15630 # Specify filename containing input files for \$NM.
15631 nm_file_list_spec=$lt_nm_file_list_spec
15632
15633 # The root where to search for dependent libraries,and in which our libraries should be installed.
15634 lt_sysroot=$lt_sysroot
15635
15636 # The name of the directory that contains temporary libtool files.
15637 objdir=$objdir
15638
15639 # Used to examine libraries when file_magic_cmd begins with "file".
15640 MAGIC_CMD=$MAGIC_CMD
15641
15642 # Must we lock files when doing compilation?
15643 need_locks=$lt_need_locks
15644
15645 # Manifest tool.
15646 MANIFEST_TOOL=$lt_MANIFEST_TOOL
15647
15648 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15649 DSYMUTIL=$lt_DSYMUTIL
15650
15651 # Tool to change global to local symbols on Mac OS X.
15652 NMEDIT=$lt_NMEDIT
15653
15654 # Tool to manipulate fat objects and archives on Mac OS X.
15655 LIPO=$lt_LIPO
15656
15657 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15658 OTOOL=$lt_OTOOL
15659
15660 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15661 OTOOL64=$lt_OTOOL64
15662
15663 # Old archive suffix (normally "a").
15664 libext=$libext
15665
15666 # Shared library suffix (normally ".so").
15667 shrext_cmds=$lt_shrext_cmds
15668
15669 # The commands to extract the exported symbol list from a shared archive.
15670 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15671
15672 # Variables whose values should be saved in libtool wrapper scripts and
15673 # restored at link time.
15674 variables_saved_for_relink=$lt_variables_saved_for_relink
15675
15676 # Do we need the "lib" prefix for modules?
15677 need_lib_prefix=$need_lib_prefix
15678
15679 # Do we need a version for libraries?
15680 need_version=$need_version
15681
15682 # Library versioning type.
15683 version_type=$version_type
15684
15685 # Shared library runtime path variable.
15686 runpath_var=$runpath_var
15687
15688 # Shared library path variable.
15689 shlibpath_var=$shlibpath_var
15690
15691 # Is shlibpath searched before the hard-coded library search path?
15692 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15693
15694 # Format of library name prefix.
15695 libname_spec=$lt_libname_spec
15696
15697 # List of archive names.  First name is the real one, the rest are links.
15698 # The last name is the one that the linker finds with -lNAME
15699 library_names_spec=$lt_library_names_spec
15700
15701 # The coded name of the library, if different from the real name.
15702 soname_spec=$lt_soname_spec
15703
15704 # Permission mode override for installation of shared libraries.
15705 install_override_mode=$lt_install_override_mode
15706
15707 # Command to use after installation of a shared archive.
15708 postinstall_cmds=$lt_postinstall_cmds
15709
15710 # Command to use after uninstallation of a shared archive.
15711 postuninstall_cmds=$lt_postuninstall_cmds
15712
15713 # Commands used to finish a libtool library installation in a directory.
15714 finish_cmds=$lt_finish_cmds
15715
15716 # As "finish_cmds", except a single script fragment to be evaled but
15717 # not shown.
15718 finish_eval=$lt_finish_eval
15719
15720 # Whether we should hardcode library paths into libraries.
15721 hardcode_into_libs=$hardcode_into_libs
15722
15723 # Compile-time system search path for libraries.
15724 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15725
15726 # Run-time system search path for libraries.
15727 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15728
15729 # Whether dlopen is supported.
15730 dlopen_support=$enable_dlopen
15731
15732 # Whether dlopen of programs is supported.
15733 dlopen_self=$enable_dlopen_self
15734
15735 # Whether dlopen of statically linked programs is supported.
15736 dlopen_self_static=$enable_dlopen_self_static
15737
15738 # Commands to strip libraries.
15739 old_striplib=$lt_old_striplib
15740 striplib=$lt_striplib
15741
15742
15743 # The linker used to build libraries.
15744 LD=$lt_LD
15745
15746 # How to create reloadable object files.
15747 reload_flag=$lt_reload_flag
15748 reload_cmds=$lt_reload_cmds
15749
15750 # Commands used to build an old-style archive.
15751 old_archive_cmds=$lt_old_archive_cmds
15752
15753 # A language specific compiler.
15754 CC=$lt_compiler
15755
15756 # Is the compiler the GNU compiler?
15757 with_gcc=$GCC
15758
15759 # Compiler flag to turn off builtin functions.
15760 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15761
15762 # Additional compiler flags for building library objects.
15763 pic_flag=$lt_lt_prog_compiler_pic
15764
15765 # How to pass a linker flag through the compiler.
15766 wl=$lt_lt_prog_compiler_wl
15767
15768 # Compiler flag to prevent dynamic linking.
15769 link_static_flag=$lt_lt_prog_compiler_static
15770
15771 # Does compiler simultaneously support -c and -o options?
15772 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15773
15774 # Whether or not to add -lc for building shared libraries.
15775 build_libtool_need_lc=$archive_cmds_need_lc
15776
15777 # Whether or not to disallow shared libs when runtime libs are static.
15778 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15779
15780 # Compiler flag to allow reflexive dlopens.
15781 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15782
15783 # Compiler flag to generate shared objects directly from archives.
15784 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15785
15786 # Whether the compiler copes with passing no objects directly.
15787 compiler_needs_object=$lt_compiler_needs_object
15788
15789 # Create an old-style archive from a shared archive.
15790 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15791
15792 # Create a temporary old-style archive to link instead of a shared archive.
15793 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15794
15795 # Commands used to build a shared archive.
15796 archive_cmds=$lt_archive_cmds
15797 archive_expsym_cmds=$lt_archive_expsym_cmds
15798
15799 # Commands used to build a loadable module if different from building
15800 # a shared archive.
15801 module_cmds=$lt_module_cmds
15802 module_expsym_cmds=$lt_module_expsym_cmds
15803
15804 # Whether we are building with GNU ld or not.
15805 with_gnu_ld=$lt_with_gnu_ld
15806
15807 # Flag that allows shared libraries with undefined symbols to be built.
15808 allow_undefined_flag=$lt_allow_undefined_flag
15809
15810 # Flag that enforces no undefined symbols.
15811 no_undefined_flag=$lt_no_undefined_flag
15812
15813 # Flag to hardcode \$libdir into a binary during linking.
15814 # This must work even if \$libdir does not exist
15815 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15816
15817 # Whether we need a single "-rpath" flag with a separated argument.
15818 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15819
15820 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15821 # DIR into the resulting binary.
15822 hardcode_direct=$hardcode_direct
15823
15824 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15825 # DIR into the resulting binary and the resulting library dependency is
15826 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15827 # library is relocated.
15828 hardcode_direct_absolute=$hardcode_direct_absolute
15829
15830 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15831 # into the resulting binary.
15832 hardcode_minus_L=$hardcode_minus_L
15833
15834 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15835 # into the resulting binary.
15836 hardcode_shlibpath_var=$hardcode_shlibpath_var
15837
15838 # Set to "yes" if building a shared library automatically hardcodes DIR
15839 # into the library and all subsequent libraries and executables linked
15840 # against it.
15841 hardcode_automatic=$hardcode_automatic
15842
15843 # Set to yes if linker adds runtime paths of dependent libraries
15844 # to runtime path list.
15845 inherit_rpath=$inherit_rpath
15846
15847 # Whether libtool must link a program against all its dependency libraries.
15848 link_all_deplibs=$link_all_deplibs
15849
15850 # Set to "yes" if exported symbols are required.
15851 always_export_symbols=$always_export_symbols
15852
15853 # The commands to list exported symbols.
15854 export_symbols_cmds=$lt_export_symbols_cmds
15855
15856 # Symbols that should not be listed in the preloaded symbols.
15857 exclude_expsyms=$lt_exclude_expsyms
15858
15859 # Symbols that must always be exported.
15860 include_expsyms=$lt_include_expsyms
15861
15862 # Commands necessary for linking programs (against libraries) with templates.
15863 prelink_cmds=$lt_prelink_cmds
15864
15865 # Commands necessary for finishing linking programs.
15866 postlink_cmds=$lt_postlink_cmds
15867
15868 # Specify filename containing input files.
15869 file_list_spec=$lt_file_list_spec
15870
15871 # How to hardcode a shared library path into an executable.
15872 hardcode_action=$hardcode_action
15873
15874 # ### END LIBTOOL CONFIG
15875
15876 _LT_EOF
15877
15878   case $host_os in
15879   aix3*)
15880     cat <<\_LT_EOF >> "$cfgfile"
15881 # AIX sometimes has problems with the GCC collect2 program.  For some
15882 # reason, if we set the COLLECT_NAMES environment variable, the problems
15883 # vanish in a puff of smoke.
15884 if test "X${COLLECT_NAMES+set}" != Xset; then
15885   COLLECT_NAMES=
15886   export COLLECT_NAMES
15887 fi
15888 _LT_EOF
15889     ;;
15890   esac
15891
15892
15893 ltmain="$ac_aux_dir/ltmain.sh"
15894
15895
15896   # We use sed instead of cat because bash on DJGPP gets confused if
15897   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
15898   # text mode, it properly converts lines to CR/LF.  This bash problem
15899   # is reportedly fixed, but why not run on old versions too?
15900   sed '$q' "$ltmain" >> "$cfgfile" \
15901      || (rm -f "$cfgfile"; exit 1)
15902
15903   if test x"$xsi_shell" = xyes; then
15904   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
15905 func_dirname ()\
15906 {\
15907 \    case ${1} in\
15908 \      */*) func_dirname_result="${1%/*}${2}" ;;\
15909 \      *  ) func_dirname_result="${3}" ;;\
15910 \    esac\
15911 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
15912   && mv -f "$cfgfile.tmp" "$cfgfile" \
15913     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15914 test 0 -eq $? || _lt_function_replace_fail=:
15915
15916
15917   sed -e '/^func_basename ()$/,/^} # func_basename /c\
15918 func_basename ()\
15919 {\
15920 \    func_basename_result="${1##*/}"\
15921 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
15922   && mv -f "$cfgfile.tmp" "$cfgfile" \
15923     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15924 test 0 -eq $? || _lt_function_replace_fail=:
15925
15926
15927   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
15928 func_dirname_and_basename ()\
15929 {\
15930 \    case ${1} in\
15931 \      */*) func_dirname_result="${1%/*}${2}" ;;\
15932 \      *  ) func_dirname_result="${3}" ;;\
15933 \    esac\
15934 \    func_basename_result="${1##*/}"\
15935 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
15936   && mv -f "$cfgfile.tmp" "$cfgfile" \
15937     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15938 test 0 -eq $? || _lt_function_replace_fail=:
15939
15940
15941   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
15942 func_stripname ()\
15943 {\
15944 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
15945 \    # positional parameters, so assign one to ordinary parameter first.\
15946 \    func_stripname_result=${3}\
15947 \    func_stripname_result=${func_stripname_result#"${1}"}\
15948 \    func_stripname_result=${func_stripname_result%"${2}"}\
15949 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
15950   && mv -f "$cfgfile.tmp" "$cfgfile" \
15951     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15952 test 0 -eq $? || _lt_function_replace_fail=:
15953
15954
15955   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
15956 func_split_long_opt ()\
15957 {\
15958 \    func_split_long_opt_name=${1%%=*}\
15959 \    func_split_long_opt_arg=${1#*=}\
15960 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
15961   && mv -f "$cfgfile.tmp" "$cfgfile" \
15962     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15963 test 0 -eq $? || _lt_function_replace_fail=:
15964
15965
15966   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
15967 func_split_short_opt ()\
15968 {\
15969 \    func_split_short_opt_arg=${1#??}\
15970 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
15971 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
15972   && mv -f "$cfgfile.tmp" "$cfgfile" \
15973     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15974 test 0 -eq $? || _lt_function_replace_fail=:
15975
15976
15977   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
15978 func_lo2o ()\
15979 {\
15980 \    case ${1} in\
15981 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
15982 \      *)    func_lo2o_result=${1} ;;\
15983 \    esac\
15984 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
15985   && mv -f "$cfgfile.tmp" "$cfgfile" \
15986     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15987 test 0 -eq $? || _lt_function_replace_fail=:
15988
15989
15990   sed -e '/^func_xform ()$/,/^} # func_xform /c\
15991 func_xform ()\
15992 {\
15993     func_xform_result=${1%.*}.lo\
15994 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
15995   && mv -f "$cfgfile.tmp" "$cfgfile" \
15996     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15997 test 0 -eq $? || _lt_function_replace_fail=:
15998
15999
16000   sed -e '/^func_arith ()$/,/^} # func_arith /c\
16001 func_arith ()\
16002 {\
16003     func_arith_result=$(( $* ))\
16004 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
16005   && mv -f "$cfgfile.tmp" "$cfgfile" \
16006     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16007 test 0 -eq $? || _lt_function_replace_fail=:
16008
16009
16010   sed -e '/^func_len ()$/,/^} # func_len /c\
16011 func_len ()\
16012 {\
16013     func_len_result=${#1}\
16014 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
16015   && mv -f "$cfgfile.tmp" "$cfgfile" \
16016     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16017 test 0 -eq $? || _lt_function_replace_fail=:
16018
16019 fi
16020
16021 if test x"$lt_shell_append" = xyes; then
16022   sed -e '/^func_append ()$/,/^} # func_append /c\
16023 func_append ()\
16024 {\
16025     eval "${1}+=\\${2}"\
16026 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
16027   && mv -f "$cfgfile.tmp" "$cfgfile" \
16028     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16029 test 0 -eq $? || _lt_function_replace_fail=:
16030
16031
16032   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
16033 func_append_quoted ()\
16034 {\
16035 \    func_quote_for_eval "${2}"\
16036 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
16037 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
16038   && mv -f "$cfgfile.tmp" "$cfgfile" \
16039     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16040 test 0 -eq $? || _lt_function_replace_fail=:
16041
16042
16043   # Save a `func_append' function call where possible by direct use of '+='
16044   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
16045     && mv -f "$cfgfile.tmp" "$cfgfile" \
16046       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16047   test 0 -eq $? || _lt_function_replace_fail=:
16048 else
16049   # Save a `func_append' function call even when '+=' is not available
16050   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
16051     && mv -f "$cfgfile.tmp" "$cfgfile" \
16052       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16053   test 0 -eq $? || _lt_function_replace_fail=:
16054 fi
16055
16056 if test x"$_lt_function_replace_fail" = x":"; then
16057   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
16058 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
16059 fi
16060
16061
16062    mv -f "$cfgfile" "$ofile" ||
16063     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16064   chmod +x "$ofile"
16065
16066  ;;
16067
16068   esac
16069 done # for ac_tag
16070
16071
16072 as_fn_exit 0
16073 _ACEOF
16074 ac_clean_files=$ac_clean_files_save
16075
16076 test $ac_write_fail = 0 ||
16077   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16078
16079
16080 # configure is writing to config.log, and then calls config.status.
16081 # config.status does its own redirection, appending to config.log.
16082 # Unfortunately, on DOS this fails, as config.log is still kept open
16083 # by configure, so config.status won't be able to write to it; its
16084 # output is simply discarded.  So we exec the FD to /dev/null,
16085 # effectively closing config.log, so it can be properly (re)opened and
16086 # appended to by config.status.  When coming back to configure, we
16087 # need to make the FD available again.
16088 if test "$no_create" != yes; then
16089   ac_cs_success=:
16090   ac_config_status_args=
16091   test "$silent" = yes &&
16092     ac_config_status_args="$ac_config_status_args --quiet"
16093   exec 5>/dev/null
16094   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
16095   exec 5>>config.log
16096   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16097   # would make configure fail if this is the last instruction.
16098   $ac_cs_success || as_fn_exit 1
16099 fi
16100 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16101   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16102 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16103 fi
16104
16105
16106 echo ""
16107 echo "Enabled debug features : "$enable_debug
16108 echo "Building tests         : "$enable_tests
16109 echo "Enabled Gumd           : "$enable_gum $have_libgum
16110 echo "Enabled NFC            : "$have_libtlm_nfc
16111 echo "Enabled examples       : "$enable_examples
16112 echo ""