Fix double free
[platform/upstream/buxton.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for buxton 5.
4 #
5 # Report bugs to <william.douglas@intel.com>.
6 #
7 #
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 #
10 #
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
16
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20   emulate sh
21   NULLCMD=:
22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23   # is contrary to our usage.  Disable this feature.
24   alias -g '${1+"$@"}'='"$@"'
25   setopt NO_GLOB_SUBST
26 else
27   case `(set -o) 2>/dev/null` in #(
28   *posix*) :
29     set -o posix ;; #(
30   *) :
31      ;;
32 esac
33 fi
34
35
36 as_nl='
37 '
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47   as_echo='print -r --'
48   as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50   as_echo='printf %s\n'
51   as_echo_n='printf %s'
52 else
53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55     as_echo_n='/usr/ucb/echo -n'
56   else
57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58     as_echo_n_body='eval
59       arg=$1;
60       case $arg in #(
61       *"$as_nl"*)
62         expr "X$arg" : "X\\(.*\\)$as_nl";
63         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64       esac;
65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66     '
67     export as_echo_n_body
68     as_echo_n='sh -c $as_echo_n_body as_echo'
69   fi
70   export as_echo_body
71   as_echo='sh -c $as_echo_body as_echo'
72 fi
73
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76   PATH_SEPARATOR=:
77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79       PATH_SEPARATOR=';'
80   }
81 fi
82
83
84 # IFS
85 # We need space, tab and new line, in precisely that order.  Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" ""        $as_nl"
90
91 # Find who we are.  Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94   *[\\/]* ) as_myself=$0 ;;
95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
97 do
98   IFS=$as_save_IFS
99   test -z "$as_dir" && as_dir=.
100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101   done
102 IFS=$as_save_IFS
103
104      ;;
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109   as_myself=$0
110 fi
111 if test ! -f "$as_myself"; then
112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113   exit 1
114 fi
115
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there.  '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
127
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
133
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137 # Use a proper internal environment variable to ensure we don't fall
138   # into an infinite loop, continuously re-executing ourselves.
139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140     _as_can_reexec=no; export _as_can_reexec;
141     # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149   *v*x* | *x*v* ) as_opts=-vx ;;
150   *v* ) as_opts=-v ;;
151   *x* ) as_opts=-x ;;
152   * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
159   fi
160   # We don't want this to propagate to other subprocesses.
161           { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164   emulate sh
165   NULLCMD=:
166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167   # is contrary to our usage.  Disable this feature.
168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
169   setopt NO_GLOB_SUBST
170 else
171   case \`(set -o) 2>/dev/null\` in #(
172   *posix*) :
173     set -o posix ;; #(
174   *) :
175      ;;
176 esac
177 fi
178 "
179   as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
184
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192 else
193   exitcode=1; echo positional parameters were not saved.
194 fi
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201
202   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206     PATH=/empty FPATH=/empty; export PATH FPATH
207     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209 test \$(( 1 + 1 )) = 2 || exit 1"
210   if (eval "$as_required") 2>/dev/null; then :
211   as_have_required=yes
212 else
213   as_have_required=no
214 fi
215   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
216
217 else
218   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
219 as_found=false
220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221 do
222   IFS=$as_save_IFS
223   test -z "$as_dir" && as_dir=.
224   as_found=:
225   case $as_dir in #(
226          /*)
227            for as_base in sh bash ksh sh5; do
228              # Try only shells that exist, to save several forks.
229              as_shell=$as_dir/$as_base
230              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232   CONFIG_SHELL=$as_shell as_have_required=yes
233                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
234   break 2
235 fi
236 fi
237            done;;
238        esac
239   as_found=false
240 done
241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243   CONFIG_SHELL=$SHELL as_have_required=yes
244 fi; }
245 IFS=$as_save_IFS
246
247
248       if test "x$CONFIG_SHELL" != x; then :
249   export CONFIG_SHELL
250              # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
254 BASH_ENV=/dev/null
255 ENV=/dev/null
256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
257 case $- in # ((((
258   *v*x* | *x*v* ) as_opts=-vx ;;
259   *v* ) as_opts=-v ;;
260   *x* ) as_opts=-x ;;
261   * ) as_opts= ;;
262 esac
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
267 exit 255
268 fi
269
270     if test x$as_have_required = xno; then :
271   $as_echo "$0: This script requires a shell more modern than all"
272   $as_echo "$0: the shells that I found on your system."
273   if test x${ZSH_VERSION+set} = xset ; then
274     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
276   else
277     $as_echo "$0: Please tell bug-autoconf@gnu.org and
278 $0: william.douglas@intel.com about your system, including
279 $0: any error possibly output before this message. Then
280 $0: install a modern shell, or manually run the script
281 $0: under such a shell if you do have one."
282   fi
283   exit 1
284 fi
285 fi
286 fi
287 SHELL=${CONFIG_SHELL-/bin/sh}
288 export SHELL
289 # Unset more variables known to interfere with behavior of common tools.
290 CLICOLOR_FORCE= GREP_OPTIONS=
291 unset CLICOLOR_FORCE GREP_OPTIONS
292
293 ## --------------------- ##
294 ## M4sh Shell Functions. ##
295 ## --------------------- ##
296 # as_fn_unset VAR
297 # ---------------
298 # Portably unset VAR.
299 as_fn_unset ()
300 {
301   { eval $1=; unset $1;}
302 }
303 as_unset=as_fn_unset
304
305 # as_fn_set_status STATUS
306 # -----------------------
307 # Set $? to STATUS, without forking.
308 as_fn_set_status ()
309 {
310   return $1
311 } # as_fn_set_status
312
313 # as_fn_exit STATUS
314 # -----------------
315 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
316 as_fn_exit ()
317 {
318   set +e
319   as_fn_set_status $1
320   exit $1
321 } # as_fn_exit
322
323 # as_fn_mkdir_p
324 # -------------
325 # Create "$as_dir" as a directory, including parents if necessary.
326 as_fn_mkdir_p ()
327 {
328
329   case $as_dir in #(
330   -*) as_dir=./$as_dir;;
331   esac
332   test -d "$as_dir" || eval $as_mkdir_p || {
333     as_dirs=
334     while :; do
335       case $as_dir in #(
336       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
337       *) as_qdir=$as_dir;;
338       esac
339       as_dirs="'$as_qdir' $as_dirs"
340       as_dir=`$as_dirname -- "$as_dir" ||
341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342          X"$as_dir" : 'X\(//\)[^/]' \| \
343          X"$as_dir" : 'X\(//\)$' \| \
344          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345 $as_echo X"$as_dir" |
346     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
347             s//\1/
348             q
349           }
350           /^X\(\/\/\)[^/].*/{
351             s//\1/
352             q
353           }
354           /^X\(\/\/\)$/{
355             s//\1/
356             q
357           }
358           /^X\(\/\).*/{
359             s//\1/
360             q
361           }
362           s/.*/./; q'`
363       test -d "$as_dir" && break
364     done
365     test -z "$as_dirs" || eval "mkdir $as_dirs"
366   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
367
368
369 } # as_fn_mkdir_p
370
371 # as_fn_executable_p FILE
372 # -----------------------
373 # Test if FILE is an executable regular file.
374 as_fn_executable_p ()
375 {
376   test -f "$1" && test -x "$1"
377 } # as_fn_executable_p
378 # as_fn_append VAR VALUE
379 # ----------------------
380 # Append the text in VALUE to the end of the definition contained in VAR. Take
381 # advantage of any shell optimizations that allow amortized linear growth over
382 # repeated appends, instead of the typical quadratic growth present in naive
383 # implementations.
384 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
385   eval 'as_fn_append ()
386   {
387     eval $1+=\$2
388   }'
389 else
390   as_fn_append ()
391   {
392     eval $1=\$$1\$2
393   }
394 fi # as_fn_append
395
396 # as_fn_arith ARG...
397 # ------------------
398 # Perform arithmetic evaluation on the ARGs, and store the result in the
399 # global $as_val. Take advantage of shells that can avoid forks. The arguments
400 # must be portable across $(()) and expr.
401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
402   eval 'as_fn_arith ()
403   {
404     as_val=$(( $* ))
405   }'
406 else
407   as_fn_arith ()
408   {
409     as_val=`expr "$@" || test $? -eq 1`
410   }
411 fi # as_fn_arith
412
413
414 # as_fn_error STATUS ERROR [LINENO LOG_FD]
415 # ----------------------------------------
416 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418 # script with STATUS, using 1 if that was 0.
419 as_fn_error ()
420 {
421   as_status=$1; test $as_status -eq 0 && as_status=1
422   if test "$4"; then
423     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
424     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
425   fi
426   $as_echo "$as_me: error: $2" >&2
427   as_fn_exit $as_status
428 } # as_fn_error
429
430 if expr a : '\(a\)' >/dev/null 2>&1 &&
431    test "X`expr 00001 : '.*\(...\)'`" = X001; then
432   as_expr=expr
433 else
434   as_expr=false
435 fi
436
437 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
438   as_basename=basename
439 else
440   as_basename=false
441 fi
442
443 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
444   as_dirname=dirname
445 else
446   as_dirname=false
447 fi
448
449 as_me=`$as_basename -- "$0" ||
450 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451          X"$0" : 'X\(//\)$' \| \
452          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
453 $as_echo X/"$0" |
454     sed '/^.*\/\([^/][^/]*\)\/*$/{
455             s//\1/
456             q
457           }
458           /^X\/\(\/\/\)$/{
459             s//\1/
460             q
461           }
462           /^X\/\(\/\).*/{
463             s//\1/
464             q
465           }
466           s/.*/./; q'`
467
468 # Avoid depending upon Character Ranges.
469 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
470 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
472 as_cr_digits='0123456789'
473 as_cr_alnum=$as_cr_Letters$as_cr_digits
474
475
476   as_lineno_1=$LINENO as_lineno_1a=$LINENO
477   as_lineno_2=$LINENO as_lineno_2a=$LINENO
478   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
480   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
481   sed -n '
482     p
483     /[$]LINENO/=
484   ' <$as_myself |
485     sed '
486       s/[$]LINENO.*/&-/
487       t lineno
488       b
489       :lineno
490       N
491       :loop
492       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493       t loop
494       s/-\n.*//
495     ' >$as_me.lineno &&
496   chmod +x "$as_me.lineno" ||
497     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
498
499   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500   # already done that, so ensure we don't try to do so again and fall
501   # in an infinite loop.  This has already happened in practice.
502   _as_can_reexec=no; export _as_can_reexec
503   # Don't try to exec as it changes $[0], causing all sort of problems
504   # (the dirname of $[0] is not the place where we might find the
505   # original and so on.  Autoconf is especially sensitive to this).
506   . "./$as_me.lineno"
507   # Exit status is that of the last command.
508   exit
509 }
510
511 ECHO_C= ECHO_N= ECHO_T=
512 case `echo -n x` in #(((((
513 -n*)
514   case `echo 'xy\c'` in
515   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
516   xy)  ECHO_C='\c';;
517   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
518        ECHO_T=' ';;
519   esac;;
520 *)
521   ECHO_N='-n';;
522 esac
523
524 rm -f conf$$ conf$$.exe conf$$.file
525 if test -d conf$$.dir; then
526   rm -f conf$$.dir/conf$$.file
527 else
528   rm -f conf$$.dir
529   mkdir conf$$.dir 2>/dev/null
530 fi
531 if (echo >conf$$.file) 2>/dev/null; then
532   if ln -s conf$$.file conf$$ 2>/dev/null; then
533     as_ln_s='ln -s'
534     # ... but there are two gotchas:
535     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537     # In both cases, we have to default to `cp -pR'.
538     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
539       as_ln_s='cp -pR'
540   elif ln conf$$.file conf$$ 2>/dev/null; then
541     as_ln_s=ln
542   else
543     as_ln_s='cp -pR'
544   fi
545 else
546   as_ln_s='cp -pR'
547 fi
548 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
549 rmdir conf$$.dir 2>/dev/null
550
551 if mkdir -p . 2>/dev/null; then
552   as_mkdir_p='mkdir -p "$as_dir"'
553 else
554   test -d ./-p && rmdir ./-p
555   as_mkdir_p=false
556 fi
557
558 as_test_x='test -x'
559 as_executable_p=as_fn_executable_p
560
561 # Sed expression to map a string onto a valid CPP name.
562 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
563
564 # Sed expression to map a string onto a valid variable name.
565 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
566
567 SHELL=${CONFIG_SHELL-/bin/sh}
568
569
570 test -n "$DJDIR" || exec 7<&0 </dev/null
571 exec 6>&1
572
573 # Name of the host.
574 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575 # so uname gets run too.
576 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
577
578 #
579 # Initializations.
580 #
581 ac_default_prefix=/usr/local
582 ac_clean_files=
583 ac_config_libobj_dir=.
584 LIBOBJS=
585 cross_compiling=no
586 subdirs=
587 MFLAGS=
588 MAKEFLAGS=
589
590 # Identity of this package.
591 PACKAGE_NAME='buxton'
592 PACKAGE_TARNAME='buxton'
593 PACKAGE_VERSION='5'
594 PACKAGE_STRING='buxton 5'
595 PACKAGE_BUGREPORT='william.douglas@intel.com'
596 PACKAGE_URL='https://github.com/sofar/buxton'
597
598 ac_unique_file="src/core/main.c"
599 ac_default_prefix=/usr/local
600 # Factoring default headers for most tests.
601 ac_includes_default="\
602 #include <stdio.h>
603 #ifdef HAVE_SYS_TYPES_H
604 # include <sys/types.h>
605 #endif
606 #ifdef HAVE_SYS_STAT_H
607 # include <sys/stat.h>
608 #endif
609 #ifdef STDC_HEADERS
610 # include <stdlib.h>
611 # include <stddef.h>
612 #else
613 # ifdef HAVE_STDLIB_H
614 #  include <stdlib.h>
615 # endif
616 #endif
617 #ifdef HAVE_STRING_H
618 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
619 #  include <memory.h>
620 # endif
621 # include <string.h>
622 #endif
623 #ifdef HAVE_STRINGS_H
624 # include <strings.h>
625 #endif
626 #ifdef HAVE_INTTYPES_H
627 # include <inttypes.h>
628 #endif
629 #ifdef HAVE_STDINT_H
630 # include <stdint.h>
631 #endif
632 #ifdef HAVE_UNISTD_H
633 # include <unistd.h>
634 #endif"
635
636 ac_subst_vars='am__EXEEXT_FALSE
637 am__EXEEXT_TRUE
638 LTLIBOBJS
639 GTK3_LIBS
640 GTK3_CFLAGS
641 BUILD_GTK_DEMO_FALSE
642 BUILD_GTK_DEMO_TRUE
643 BUILD_DEMOS_FALSE
644 BUILD_DEMOS_TRUE
645 COVERAGE_FALSE
646 COVERAGE_TRUE
647 lcov_found
648 MANPAGE_FALSE
649 MANPAGE_TRUE
650 DEBUG_FALSE
651 DEBUG_TRUE
652 SMACK_LOAD_FILE
653 BUXTON_SOCKET
654 DB_PATH
655 CONFPATH
656 MODULEDIR
657 USE_LOCAL_INIPARSER_FALSE
658 USE_LOCAL_INIPARSER_TRUE
659 INIPARSER_LIBS
660 INIPARSER_CFLAGS
661 BUXTON_USERNAME
662 SYSTEMD_FALSE
663 SYSTEMD_TRUE
664 SYSTEMD_SYSTEMUNITDIR
665 ALLOCA
666 SYSTEMD_LIBS
667 SYSTEMD_CFLAGS
668 CHECK_LIBS
669 CHECK_CFLAGS
670 PKG_CONFIG_LIBDIR
671 PKG_CONFIG_PATH
672 PKG_CONFIG
673 POW_LIB
674 LIBOBJS
675 CPP
676 OTOOL64
677 OTOOL
678 LIPO
679 NMEDIT
680 DSYMUTIL
681 MANIFEST_TOOL
682 RANLIB
683 ac_ct_AR
684 AR
685 DLLTOOL
686 OBJDUMP
687 LN_S
688 NM
689 ac_ct_DUMPBIN
690 DUMPBIN
691 LD
692 FGREP
693 EGREP
694 GREP
695 SED
696 am__fastdepCC_FALSE
697 am__fastdepCC_TRUE
698 CCDEPMODE
699 am__nodep
700 AMDEPBACKSLASH
701 AMDEP_FALSE
702 AMDEP_TRUE
703 am__quote
704 am__include
705 DEPDIR
706 OBJEXT
707 EXEEXT
708 ac_ct_CC
709 CPPFLAGS
710 LDFLAGS
711 CFLAGS
712 CC
713 host_os
714 host_vendor
715 host_cpu
716 host
717 build_os
718 build_vendor
719 build_cpu
720 build
721 LIBTOOL
722 AM_BACKSLASH
723 AM_DEFAULT_VERBOSITY
724 AM_DEFAULT_V
725 AM_V
726 am__untar
727 am__tar
728 AMTAR
729 am__leading_dot
730 SET_MAKE
731 AWK
732 mkdir_p
733 MKDIR_P
734 INSTALL_STRIP_PROGRAM
735 STRIP
736 install_sh
737 MAKEINFO
738 AUTOHEADER
739 AUTOMAKE
740 AUTOCONF
741 ACLOCAL
742 VERSION
743 PACKAGE
744 CYGPATH_W
745 am__isrc
746 INSTALL_DATA
747 INSTALL_SCRIPT
748 INSTALL_PROGRAM
749 target_alias
750 host_alias
751 build_alias
752 LIBS
753 ECHO_T
754 ECHO_N
755 ECHO_C
756 DEFS
757 mandir
758 localedir
759 libdir
760 psdir
761 pdfdir
762 dvidir
763 htmldir
764 infodir
765 docdir
766 oldincludedir
767 includedir
768 localstatedir
769 sharedstatedir
770 sysconfdir
771 datadir
772 datarootdir
773 libexecdir
774 sbindir
775 bindir
776 program_transform_name
777 prefix
778 exec_prefix
779 PACKAGE_URL
780 PACKAGE_BUGREPORT
781 PACKAGE_STRING
782 PACKAGE_VERSION
783 PACKAGE_TARNAME
784 PACKAGE_NAME
785 PATH_SEPARATOR
786 SHELL'
787 ac_subst_files=''
788 ac_user_opts='
789 enable_option_checking
790 enable_silent_rules
791 enable_static
792 enable_shared
793 with_pic
794 enable_fast_install
795 enable_dependency_tracking
796 with_gnu_ld
797 with_sysroot
798 enable_libtool_lock
799 with_systemdsystemunitdir
800 with_user
801 with_local_iniparser
802 with_module_dir
803 with_config_path
804 with_db_path
805 with_socket_path
806 with_smack_load_file
807 enable_debug
808 enable_manpages
809 enable_coverage
810 enable_demos
811 enable_gtk_demo
812 '
813       ac_precious_vars='build_alias
814 host_alias
815 target_alias
816 CC
817 CFLAGS
818 LDFLAGS
819 LIBS
820 CPPFLAGS
821 CPP
822 PKG_CONFIG
823 PKG_CONFIG_PATH
824 PKG_CONFIG_LIBDIR
825 CHECK_CFLAGS
826 CHECK_LIBS
827 SYSTEMD_CFLAGS
828 SYSTEMD_LIBS
829 INIPARSER_CFLAGS
830 INIPARSER_LIBS
831 GTK3_CFLAGS
832 GTK3_LIBS'
833
834
835 # Initialize some variables set by options.
836 ac_init_help=
837 ac_init_version=false
838 ac_unrecognized_opts=
839 ac_unrecognized_sep=
840 # The variables have the same names as the options, with
841 # dashes changed to underlines.
842 cache_file=/dev/null
843 exec_prefix=NONE
844 no_create=
845 no_recursion=
846 prefix=NONE
847 program_prefix=NONE
848 program_suffix=NONE
849 program_transform_name=s,x,x,
850 silent=
851 site=
852 srcdir=
853 verbose=
854 x_includes=NONE
855 x_libraries=NONE
856
857 # Installation directory options.
858 # These are left unexpanded so users can "make install exec_prefix=/foo"
859 # and all the variables that are supposed to be based on exec_prefix
860 # by default will actually change.
861 # Use braces instead of parens because sh, perl, etc. also accept them.
862 # (The list follows the same order as the GNU Coding Standards.)
863 bindir='${exec_prefix}/bin'
864 sbindir='${exec_prefix}/sbin'
865 libexecdir='${exec_prefix}/libexec'
866 datarootdir='${prefix}/share'
867 datadir='${datarootdir}'
868 sysconfdir='${prefix}/etc'
869 sharedstatedir='${prefix}/com'
870 localstatedir='${prefix}/var'
871 includedir='${prefix}/include'
872 oldincludedir='/usr/include'
873 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
874 infodir='${datarootdir}/info'
875 htmldir='${docdir}'
876 dvidir='${docdir}'
877 pdfdir='${docdir}'
878 psdir='${docdir}'
879 libdir='${exec_prefix}/lib'
880 localedir='${datarootdir}/locale'
881 mandir='${datarootdir}/man'
882
883 ac_prev=
884 ac_dashdash=
885 for ac_option
886 do
887   # If the previous option needs an argument, assign it.
888   if test -n "$ac_prev"; then
889     eval $ac_prev=\$ac_option
890     ac_prev=
891     continue
892   fi
893
894   case $ac_option in
895   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
896   *=)   ac_optarg= ;;
897   *)    ac_optarg=yes ;;
898   esac
899
900   # Accept the important Cygnus configure options, so we can diagnose typos.
901
902   case $ac_dashdash$ac_option in
903   --)
904     ac_dashdash=yes ;;
905
906   -bindir | --bindir | --bindi | --bind | --bin | --bi)
907     ac_prev=bindir ;;
908   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
909     bindir=$ac_optarg ;;
910
911   -build | --build | --buil | --bui | --bu)
912     ac_prev=build_alias ;;
913   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
914     build_alias=$ac_optarg ;;
915
916   -cache-file | --cache-file | --cache-fil | --cache-fi \
917   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
918     ac_prev=cache_file ;;
919   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
920   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
921     cache_file=$ac_optarg ;;
922
923   --config-cache | -C)
924     cache_file=config.cache ;;
925
926   -datadir | --datadir | --datadi | --datad)
927     ac_prev=datadir ;;
928   -datadir=* | --datadir=* | --datadi=* | --datad=*)
929     datadir=$ac_optarg ;;
930
931   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
932   | --dataroo | --dataro | --datar)
933     ac_prev=datarootdir ;;
934   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
935   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
936     datarootdir=$ac_optarg ;;
937
938   -disable-* | --disable-*)
939     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
940     # Reject names that are not valid shell variable names.
941     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
942       as_fn_error $? "invalid feature name: $ac_useropt"
943     ac_useropt_orig=$ac_useropt
944     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
945     case $ac_user_opts in
946       *"
947 "enable_$ac_useropt"
948 "*) ;;
949       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
950          ac_unrecognized_sep=', ';;
951     esac
952     eval enable_$ac_useropt=no ;;
953
954   -docdir | --docdir | --docdi | --doc | --do)
955     ac_prev=docdir ;;
956   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
957     docdir=$ac_optarg ;;
958
959   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
960     ac_prev=dvidir ;;
961   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
962     dvidir=$ac_optarg ;;
963
964   -enable-* | --enable-*)
965     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
966     # Reject names that are not valid shell variable names.
967     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
968       as_fn_error $? "invalid feature name: $ac_useropt"
969     ac_useropt_orig=$ac_useropt
970     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
971     case $ac_user_opts in
972       *"
973 "enable_$ac_useropt"
974 "*) ;;
975       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
976          ac_unrecognized_sep=', ';;
977     esac
978     eval enable_$ac_useropt=\$ac_optarg ;;
979
980   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
981   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
982   | --exec | --exe | --ex)
983     ac_prev=exec_prefix ;;
984   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
985   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
986   | --exec=* | --exe=* | --ex=*)
987     exec_prefix=$ac_optarg ;;
988
989   -gas | --gas | --ga | --g)
990     # Obsolete; use --with-gas.
991     with_gas=yes ;;
992
993   -help | --help | --hel | --he | -h)
994     ac_init_help=long ;;
995   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
996     ac_init_help=recursive ;;
997   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
998     ac_init_help=short ;;
999
1000   -host | --host | --hos | --ho)
1001     ac_prev=host_alias ;;
1002   -host=* | --host=* | --hos=* | --ho=*)
1003     host_alias=$ac_optarg ;;
1004
1005   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1006     ac_prev=htmldir ;;
1007   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1008   | --ht=*)
1009     htmldir=$ac_optarg ;;
1010
1011   -includedir | --includedir | --includedi | --included | --include \
1012   | --includ | --inclu | --incl | --inc)
1013     ac_prev=includedir ;;
1014   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1015   | --includ=* | --inclu=* | --incl=* | --inc=*)
1016     includedir=$ac_optarg ;;
1017
1018   -infodir | --infodir | --infodi | --infod | --info | --inf)
1019     ac_prev=infodir ;;
1020   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1021     infodir=$ac_optarg ;;
1022
1023   -libdir | --libdir | --libdi | --libd)
1024     ac_prev=libdir ;;
1025   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1026     libdir=$ac_optarg ;;
1027
1028   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1029   | --libexe | --libex | --libe)
1030     ac_prev=libexecdir ;;
1031   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1032   | --libexe=* | --libex=* | --libe=*)
1033     libexecdir=$ac_optarg ;;
1034
1035   -localedir | --localedir | --localedi | --localed | --locale)
1036     ac_prev=localedir ;;
1037   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1038     localedir=$ac_optarg ;;
1039
1040   -localstatedir | --localstatedir | --localstatedi | --localstated \
1041   | --localstate | --localstat | --localsta | --localst | --locals)
1042     ac_prev=localstatedir ;;
1043   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1044   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1045     localstatedir=$ac_optarg ;;
1046
1047   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1048     ac_prev=mandir ;;
1049   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1050     mandir=$ac_optarg ;;
1051
1052   -nfp | --nfp | --nf)
1053     # Obsolete; use --without-fp.
1054     with_fp=no ;;
1055
1056   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1057   | --no-cr | --no-c | -n)
1058     no_create=yes ;;
1059
1060   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1061   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1062     no_recursion=yes ;;
1063
1064   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1065   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1066   | --oldin | --oldi | --old | --ol | --o)
1067     ac_prev=oldincludedir ;;
1068   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1069   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1070   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1071     oldincludedir=$ac_optarg ;;
1072
1073   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1074     ac_prev=prefix ;;
1075   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1076     prefix=$ac_optarg ;;
1077
1078   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1079   | --program-pre | --program-pr | --program-p)
1080     ac_prev=program_prefix ;;
1081   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1082   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1083     program_prefix=$ac_optarg ;;
1084
1085   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1086   | --program-suf | --program-su | --program-s)
1087     ac_prev=program_suffix ;;
1088   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1089   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1090     program_suffix=$ac_optarg ;;
1091
1092   -program-transform-name | --program-transform-name \
1093   | --program-transform-nam | --program-transform-na \
1094   | --program-transform-n | --program-transform- \
1095   | --program-transform | --program-transfor \
1096   | --program-transfo | --program-transf \
1097   | --program-trans | --program-tran \
1098   | --progr-tra | --program-tr | --program-t)
1099     ac_prev=program_transform_name ;;
1100   -program-transform-name=* | --program-transform-name=* \
1101   | --program-transform-nam=* | --program-transform-na=* \
1102   | --program-transform-n=* | --program-transform-=* \
1103   | --program-transform=* | --program-transfor=* \
1104   | --program-transfo=* | --program-transf=* \
1105   | --program-trans=* | --program-tran=* \
1106   | --progr-tra=* | --program-tr=* | --program-t=*)
1107     program_transform_name=$ac_optarg ;;
1108
1109   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1110     ac_prev=pdfdir ;;
1111   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1112     pdfdir=$ac_optarg ;;
1113
1114   -psdir | --psdir | --psdi | --psd | --ps)
1115     ac_prev=psdir ;;
1116   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1117     psdir=$ac_optarg ;;
1118
1119   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1120   | -silent | --silent | --silen | --sile | --sil)
1121     silent=yes ;;
1122
1123   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1124     ac_prev=sbindir ;;
1125   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1126   | --sbi=* | --sb=*)
1127     sbindir=$ac_optarg ;;
1128
1129   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1130   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1131   | --sharedst | --shareds | --shared | --share | --shar \
1132   | --sha | --sh)
1133     ac_prev=sharedstatedir ;;
1134   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1135   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1136   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1137   | --sha=* | --sh=*)
1138     sharedstatedir=$ac_optarg ;;
1139
1140   -site | --site | --sit)
1141     ac_prev=site ;;
1142   -site=* | --site=* | --sit=*)
1143     site=$ac_optarg ;;
1144
1145   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1146     ac_prev=srcdir ;;
1147   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1148     srcdir=$ac_optarg ;;
1149
1150   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1151   | --syscon | --sysco | --sysc | --sys | --sy)
1152     ac_prev=sysconfdir ;;
1153   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1154   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1155     sysconfdir=$ac_optarg ;;
1156
1157   -target | --target | --targe | --targ | --tar | --ta | --t)
1158     ac_prev=target_alias ;;
1159   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1160     target_alias=$ac_optarg ;;
1161
1162   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1163     verbose=yes ;;
1164
1165   -version | --version | --versio | --versi | --vers | -V)
1166     ac_init_version=: ;;
1167
1168   -with-* | --with-*)
1169     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1170     # Reject names that are not valid shell variable names.
1171     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1172       as_fn_error $? "invalid package name: $ac_useropt"
1173     ac_useropt_orig=$ac_useropt
1174     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1175     case $ac_user_opts in
1176       *"
1177 "with_$ac_useropt"
1178 "*) ;;
1179       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1180          ac_unrecognized_sep=', ';;
1181     esac
1182     eval with_$ac_useropt=\$ac_optarg ;;
1183
1184   -without-* | --without-*)
1185     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1186     # Reject names that are not valid shell variable names.
1187     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1188       as_fn_error $? "invalid package name: $ac_useropt"
1189     ac_useropt_orig=$ac_useropt
1190     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1191     case $ac_user_opts in
1192       *"
1193 "with_$ac_useropt"
1194 "*) ;;
1195       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1196          ac_unrecognized_sep=', ';;
1197     esac
1198     eval with_$ac_useropt=no ;;
1199
1200   --x)
1201     # Obsolete; use --with-x.
1202     with_x=yes ;;
1203
1204   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1205   | --x-incl | --x-inc | --x-in | --x-i)
1206     ac_prev=x_includes ;;
1207   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1208   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1209     x_includes=$ac_optarg ;;
1210
1211   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1212   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1213     ac_prev=x_libraries ;;
1214   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1215   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1216     x_libraries=$ac_optarg ;;
1217
1218   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1219 Try \`$0 --help' for more information"
1220     ;;
1221
1222   *=*)
1223     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1224     # Reject names that are not valid shell variable names.
1225     case $ac_envvar in #(
1226       '' | [0-9]* | *[!_$as_cr_alnum]* )
1227       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1228     esac
1229     eval $ac_envvar=\$ac_optarg
1230     export $ac_envvar ;;
1231
1232   *)
1233     # FIXME: should be removed in autoconf 3.0.
1234     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1235     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1236       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1237     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1238     ;;
1239
1240   esac
1241 done
1242
1243 if test -n "$ac_prev"; then
1244   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1245   as_fn_error $? "missing argument to $ac_option"
1246 fi
1247
1248 if test -n "$ac_unrecognized_opts"; then
1249   case $enable_option_checking in
1250     no) ;;
1251     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1252     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1253   esac
1254 fi
1255
1256 # Check all directory arguments for consistency.
1257 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1258                 datadir sysconfdir sharedstatedir localstatedir includedir \
1259                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1260                 libdir localedir mandir
1261 do
1262   eval ac_val=\$$ac_var
1263   # Remove trailing slashes.
1264   case $ac_val in
1265     */ )
1266       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1267       eval $ac_var=\$ac_val;;
1268   esac
1269   # Be sure to have absolute directory names.
1270   case $ac_val in
1271     [\\/$]* | ?:[\\/]* )  continue;;
1272     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1273   esac
1274   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1275 done
1276
1277 # There might be people who depend on the old broken behavior: `$host'
1278 # used to hold the argument of --host etc.
1279 # FIXME: To remove some day.
1280 build=$build_alias
1281 host=$host_alias
1282 target=$target_alias
1283
1284 # FIXME: To remove some day.
1285 if test "x$host_alias" != x; then
1286   if test "x$build_alias" = x; then
1287     cross_compiling=maybe
1288   elif test "x$build_alias" != "x$host_alias"; then
1289     cross_compiling=yes
1290   fi
1291 fi
1292
1293 ac_tool_prefix=
1294 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1295
1296 test "$silent" = yes && exec 6>/dev/null
1297
1298
1299 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1300 ac_ls_di=`ls -di .` &&
1301 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1302   as_fn_error $? "working directory cannot be determined"
1303 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1304   as_fn_error $? "pwd does not report name of working directory"
1305
1306
1307 # Find the source files, if location was not specified.
1308 if test -z "$srcdir"; then
1309   ac_srcdir_defaulted=yes
1310   # Try the directory containing this script, then the parent directory.
1311   ac_confdir=`$as_dirname -- "$as_myself" ||
1312 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1313          X"$as_myself" : 'X\(//\)[^/]' \| \
1314          X"$as_myself" : 'X\(//\)$' \| \
1315          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1316 $as_echo X"$as_myself" |
1317     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1318             s//\1/
1319             q
1320           }
1321           /^X\(\/\/\)[^/].*/{
1322             s//\1/
1323             q
1324           }
1325           /^X\(\/\/\)$/{
1326             s//\1/
1327             q
1328           }
1329           /^X\(\/\).*/{
1330             s//\1/
1331             q
1332           }
1333           s/.*/./; q'`
1334   srcdir=$ac_confdir
1335   if test ! -r "$srcdir/$ac_unique_file"; then
1336     srcdir=..
1337   fi
1338 else
1339   ac_srcdir_defaulted=no
1340 fi
1341 if test ! -r "$srcdir/$ac_unique_file"; then
1342   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1343   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1344 fi
1345 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1346 ac_abs_confdir=`(
1347         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1348         pwd)`
1349 # When building in place, set srcdir=.
1350 if test "$ac_abs_confdir" = "$ac_pwd"; then
1351   srcdir=.
1352 fi
1353 # Remove unnecessary trailing slashes from srcdir.
1354 # Double slashes in file names in object file debugging info
1355 # mess up M-x gdb in Emacs.
1356 case $srcdir in
1357 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1358 esac
1359 for ac_var in $ac_precious_vars; do
1360   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1361   eval ac_env_${ac_var}_value=\$${ac_var}
1362   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1363   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1364 done
1365
1366 #
1367 # Report the --help message.
1368 #
1369 if test "$ac_init_help" = "long"; then
1370   # Omit some internal or obsolete options to make the list less imposing.
1371   # This message is too long to be a string in the A/UX 3.1 sh.
1372   cat <<_ACEOF
1373 \`configure' configures buxton 5 to adapt to many kinds of systems.
1374
1375 Usage: $0 [OPTION]... [VAR=VALUE]...
1376
1377 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1378 VAR=VALUE.  See below for descriptions of some of the useful variables.
1379
1380 Defaults for the options are specified in brackets.
1381
1382 Configuration:
1383   -h, --help              display this help and exit
1384       --help=short        display options specific to this package
1385       --help=recursive    display the short help of all the included packages
1386   -V, --version           display version information and exit
1387   -q, --quiet, --silent   do not print \`checking ...' messages
1388       --cache-file=FILE   cache test results in FILE [disabled]
1389   -C, --config-cache      alias for \`--cache-file=config.cache'
1390   -n, --no-create         do not create output files
1391       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1392
1393 Installation directories:
1394   --prefix=PREFIX         install architecture-independent files in PREFIX
1395                           [$ac_default_prefix]
1396   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1397                           [PREFIX]
1398
1399 By default, \`make install' will install all the files in
1400 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1401 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1402 for instance \`--prefix=\$HOME'.
1403
1404 For better control, use the options below.
1405
1406 Fine tuning of the installation directories:
1407   --bindir=DIR            user executables [EPREFIX/bin]
1408   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1409   --libexecdir=DIR        program executables [EPREFIX/libexec]
1410   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1411   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1412   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1413   --libdir=DIR            object code libraries [EPREFIX/lib]
1414   --includedir=DIR        C header files [PREFIX/include]
1415   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1416   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1417   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1418   --infodir=DIR           info documentation [DATAROOTDIR/info]
1419   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1420   --mandir=DIR            man documentation [DATAROOTDIR/man]
1421   --docdir=DIR            documentation root [DATAROOTDIR/doc/buxton]
1422   --htmldir=DIR           html documentation [DOCDIR]
1423   --dvidir=DIR            dvi documentation [DOCDIR]
1424   --pdfdir=DIR            pdf documentation [DOCDIR]
1425   --psdir=DIR             ps documentation [DOCDIR]
1426 _ACEOF
1427
1428   cat <<\_ACEOF
1429
1430 Program names:
1431   --program-prefix=PREFIX            prepend PREFIX to installed program names
1432   --program-suffix=SUFFIX            append SUFFIX to installed program names
1433   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1434
1435 System types:
1436   --build=BUILD     configure for building on BUILD [guessed]
1437   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1438 _ACEOF
1439 fi
1440
1441 if test -n "$ac_init_help"; then
1442   case $ac_init_help in
1443      short | recursive ) echo "Configuration of buxton 5:";;
1444    esac
1445   cat <<\_ACEOF
1446
1447 Optional Features:
1448   --disable-option-checking  ignore unrecognized --enable/--with options
1449   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1450   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1451   --enable-silent-rules   less verbose build output (undo: "make V=1")
1452   --disable-silent-rules  verbose build output (undo: "make V=0")
1453   --enable-static[=PKGS]  build static libraries [default=no]
1454   --enable-shared[=PKGS]  build shared libraries [default=yes]
1455   --enable-fast-install[=PKGS]
1456                           optimize for fast installation [default=yes]
1457   --enable-dependency-tracking
1458                           do not reject slow dependency extractors
1459   --disable-dependency-tracking
1460                           speeds up one-time build
1461   --disable-libtool-lock  avoid locking (might break parallel builds)
1462   --enable-debug          enable debug mode [default=no]
1463   --enable-manpages       enable man pages [default=yes]
1464   --enable-coverage       enable test coverage
1465   --enable-demos          enable demos [default=no]
1466   --enable-gtk-demo       enable demos [default=no]
1467
1468 Optional Packages:
1469   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1470   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1471   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1472                           both]
1473   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1474   --with-sysroot=DIR Search for dependent libraries within DIR
1475                         (or the compiler's sysroot if not specified).
1476   --with-systemdsystemunitdir=DIR
1477                           path to systemd system service directory
1478   --with-user=USER        user to run buxton as
1479   --with-local-iniparserdefault=yes
1480                           Use built-in iniparser for config parsing
1481   --with-module-dir=MODULEDIR
1482                           path to buxton modules
1483   --with-config-path=CONFPATH
1484                           path to buxton configuration file
1485   --with-db-path=DBPATH   path to buxton db files
1486   --with-socket-path=SOCKETPATH
1487                           path to buxton socket file
1488   --with-smack-load-file=SMACKLOADFILE
1489                           path to smack load2 file
1490
1491 Some influential environment variables:
1492   CC          C compiler command
1493   CFLAGS      C compiler flags
1494   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1495               nonstandard directory <lib dir>
1496   LIBS        libraries to pass to the linker, e.g. -l<library>
1497   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1498               you have headers in a nonstandard directory <include dir>
1499   CPP         C preprocessor
1500   PKG_CONFIG  path to pkg-config utility
1501   PKG_CONFIG_PATH
1502               directories to add to pkg-config's search path
1503   PKG_CONFIG_LIBDIR
1504               path overriding pkg-config's built-in search path
1505   CHECK_CFLAGS
1506               C compiler flags for CHECK, overriding pkg-config
1507   CHECK_LIBS  linker flags for CHECK, overriding pkg-config
1508   SYSTEMD_CFLAGS
1509               C compiler flags for SYSTEMD, overriding pkg-config
1510   SYSTEMD_LIBS
1511               linker flags for SYSTEMD, overriding pkg-config
1512   INIPARSER_CFLAGS
1513               C compiler flags for INIPARSER, overriding pkg-config
1514   INIPARSER_LIBS
1515               linker flags for INIPARSER, overriding pkg-config
1516   GTK3_CFLAGS C compiler flags for GTK3, overriding pkg-config
1517   GTK3_LIBS   linker flags for GTK3, overriding pkg-config
1518
1519 Use these variables to override the choices made by `configure' or to help
1520 it to find libraries and programs with nonstandard names/locations.
1521
1522 Report bugs to <william.douglas@intel.com>.
1523 buxton home page: <https://github.com/sofar/buxton>.
1524 _ACEOF
1525 ac_status=$?
1526 fi
1527
1528 if test "$ac_init_help" = "recursive"; then
1529   # If there are subdirs, report their specific --help.
1530   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1531     test -d "$ac_dir" ||
1532       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1533       continue
1534     ac_builddir=.
1535
1536 case "$ac_dir" in
1537 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1538 *)
1539   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1540   # A ".." for each directory in $ac_dir_suffix.
1541   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1542   case $ac_top_builddir_sub in
1543   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1544   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1545   esac ;;
1546 esac
1547 ac_abs_top_builddir=$ac_pwd
1548 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1549 # for backward compatibility:
1550 ac_top_builddir=$ac_top_build_prefix
1551
1552 case $srcdir in
1553   .)  # We are building in place.
1554     ac_srcdir=.
1555     ac_top_srcdir=$ac_top_builddir_sub
1556     ac_abs_top_srcdir=$ac_pwd ;;
1557   [\\/]* | ?:[\\/]* )  # Absolute name.
1558     ac_srcdir=$srcdir$ac_dir_suffix;
1559     ac_top_srcdir=$srcdir
1560     ac_abs_top_srcdir=$srcdir ;;
1561   *) # Relative name.
1562     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1563     ac_top_srcdir=$ac_top_build_prefix$srcdir
1564     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1565 esac
1566 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1567
1568     cd "$ac_dir" || { ac_status=$?; continue; }
1569     # Check for guested configure.
1570     if test -f "$ac_srcdir/configure.gnu"; then
1571       echo &&
1572       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1573     elif test -f "$ac_srcdir/configure"; then
1574       echo &&
1575       $SHELL "$ac_srcdir/configure" --help=recursive
1576     else
1577       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1578     fi || ac_status=$?
1579     cd "$ac_pwd" || { ac_status=$?; break; }
1580   done
1581 fi
1582
1583 test -n "$ac_init_help" && exit $ac_status
1584 if $ac_init_version; then
1585   cat <<\_ACEOF
1586 buxton configure 5
1587 generated by GNU Autoconf 2.69
1588
1589 Copyright (C) 2012 Free Software Foundation, Inc.
1590 This configure script is free software; the Free Software Foundation
1591 gives unlimited permission to copy, distribute and modify it.
1592 _ACEOF
1593   exit
1594 fi
1595
1596 ## ------------------------ ##
1597 ## Autoconf initialization. ##
1598 ## ------------------------ ##
1599
1600 # ac_fn_c_try_compile LINENO
1601 # --------------------------
1602 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1603 ac_fn_c_try_compile ()
1604 {
1605   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1606   rm -f conftest.$ac_objext
1607   if { { ac_try="$ac_compile"
1608 case "(($ac_try" in
1609   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1610   *) ac_try_echo=$ac_try;;
1611 esac
1612 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1613 $as_echo "$ac_try_echo"; } >&5
1614   (eval "$ac_compile") 2>conftest.err
1615   ac_status=$?
1616   if test -s conftest.err; then
1617     grep -v '^ *+' conftest.err >conftest.er1
1618     cat conftest.er1 >&5
1619     mv -f conftest.er1 conftest.err
1620   fi
1621   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1622   test $ac_status = 0; } && {
1623          test -z "$ac_c_werror_flag" ||
1624          test ! -s conftest.err
1625        } && test -s conftest.$ac_objext; then :
1626   ac_retval=0
1627 else
1628   $as_echo "$as_me: failed program was:" >&5
1629 sed 's/^/| /' conftest.$ac_ext >&5
1630
1631         ac_retval=1
1632 fi
1633   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1634   as_fn_set_status $ac_retval
1635
1636 } # ac_fn_c_try_compile
1637
1638 # ac_fn_c_try_link LINENO
1639 # -----------------------
1640 # Try to link conftest.$ac_ext, and return whether this succeeded.
1641 ac_fn_c_try_link ()
1642 {
1643   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1644   rm -f conftest.$ac_objext conftest$ac_exeext
1645   if { { ac_try="$ac_link"
1646 case "(($ac_try" in
1647   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1648   *) ac_try_echo=$ac_try;;
1649 esac
1650 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1651 $as_echo "$ac_try_echo"; } >&5
1652   (eval "$ac_link") 2>conftest.err
1653   ac_status=$?
1654   if test -s conftest.err; then
1655     grep -v '^ *+' conftest.err >conftest.er1
1656     cat conftest.er1 >&5
1657     mv -f conftest.er1 conftest.err
1658   fi
1659   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1660   test $ac_status = 0; } && {
1661          test -z "$ac_c_werror_flag" ||
1662          test ! -s conftest.err
1663        } && test -s conftest$ac_exeext && {
1664          test "$cross_compiling" = yes ||
1665          test -x conftest$ac_exeext
1666        }; then :
1667   ac_retval=0
1668 else
1669   $as_echo "$as_me: failed program was:" >&5
1670 sed 's/^/| /' conftest.$ac_ext >&5
1671
1672         ac_retval=1
1673 fi
1674   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1675   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1676   # interfere with the next link command; also delete a directory that is
1677   # left behind by Apple's compiler.  We do this before executing the actions.
1678   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1679   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1680   as_fn_set_status $ac_retval
1681
1682 } # ac_fn_c_try_link
1683
1684 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1685 # -------------------------------------------------------
1686 # Tests whether HEADER exists and can be compiled using the include files in
1687 # INCLUDES, setting the cache variable VAR accordingly.
1688 ac_fn_c_check_header_compile ()
1689 {
1690   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1691   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1692 $as_echo_n "checking for $2... " >&6; }
1693 if eval \${$3+:} false; then :
1694   $as_echo_n "(cached) " >&6
1695 else
1696   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1697 /* end confdefs.h.  */
1698 $4
1699 #include <$2>
1700 _ACEOF
1701 if ac_fn_c_try_compile "$LINENO"; then :
1702   eval "$3=yes"
1703 else
1704   eval "$3=no"
1705 fi
1706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1707 fi
1708 eval ac_res=\$$3
1709                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1710 $as_echo "$ac_res" >&6; }
1711   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1712
1713 } # ac_fn_c_check_header_compile
1714
1715 # ac_fn_c_try_cpp LINENO
1716 # ----------------------
1717 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1718 ac_fn_c_try_cpp ()
1719 {
1720   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1721   if { { ac_try="$ac_cpp conftest.$ac_ext"
1722 case "(($ac_try" in
1723   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1724   *) ac_try_echo=$ac_try;;
1725 esac
1726 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1727 $as_echo "$ac_try_echo"; } >&5
1728   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1729   ac_status=$?
1730   if test -s conftest.err; then
1731     grep -v '^ *+' conftest.err >conftest.er1
1732     cat conftest.er1 >&5
1733     mv -f conftest.er1 conftest.err
1734   fi
1735   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1736   test $ac_status = 0; } > conftest.i && {
1737          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1738          test ! -s conftest.err
1739        }; then :
1740   ac_retval=0
1741 else
1742   $as_echo "$as_me: failed program was:" >&5
1743 sed 's/^/| /' conftest.$ac_ext >&5
1744
1745     ac_retval=1
1746 fi
1747   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1748   as_fn_set_status $ac_retval
1749
1750 } # ac_fn_c_try_cpp
1751
1752 # ac_fn_c_try_run LINENO
1753 # ----------------------
1754 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1755 # that executables *can* be run.
1756 ac_fn_c_try_run ()
1757 {
1758   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1759   if { { ac_try="$ac_link"
1760 case "(($ac_try" in
1761   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1762   *) ac_try_echo=$ac_try;;
1763 esac
1764 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1765 $as_echo "$ac_try_echo"; } >&5
1766   (eval "$ac_link") 2>&5
1767   ac_status=$?
1768   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1769   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1770   { { case "(($ac_try" in
1771   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1772   *) ac_try_echo=$ac_try;;
1773 esac
1774 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1775 $as_echo "$ac_try_echo"; } >&5
1776   (eval "$ac_try") 2>&5
1777   ac_status=$?
1778   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1779   test $ac_status = 0; }; }; then :
1780   ac_retval=0
1781 else
1782   $as_echo "$as_me: program exited with status $ac_status" >&5
1783        $as_echo "$as_me: failed program was:" >&5
1784 sed 's/^/| /' conftest.$ac_ext >&5
1785
1786        ac_retval=$ac_status
1787 fi
1788   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1789   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1790   as_fn_set_status $ac_retval
1791
1792 } # ac_fn_c_try_run
1793
1794 # ac_fn_c_check_func LINENO FUNC VAR
1795 # ----------------------------------
1796 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1797 ac_fn_c_check_func ()
1798 {
1799   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1800   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1801 $as_echo_n "checking for $2... " >&6; }
1802 if eval \${$3+:} false; then :
1803   $as_echo_n "(cached) " >&6
1804 else
1805   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1806 /* end confdefs.h.  */
1807 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1808    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1809 #define $2 innocuous_$2
1810
1811 /* System header to define __stub macros and hopefully few prototypes,
1812     which can conflict with char $2 (); below.
1813     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1814     <limits.h> exists even on freestanding compilers.  */
1815
1816 #ifdef __STDC__
1817 # include <limits.h>
1818 #else
1819 # include <assert.h>
1820 #endif
1821
1822 #undef $2
1823
1824 /* Override any GCC internal prototype to avoid an error.
1825    Use char because int might match the return type of a GCC
1826    builtin and then its argument prototype would still apply.  */
1827 #ifdef __cplusplus
1828 extern "C"
1829 #endif
1830 char $2 ();
1831 /* The GNU C library defines this for functions which it implements
1832     to always fail with ENOSYS.  Some functions are actually named
1833     something starting with __ and the normal name is an alias.  */
1834 #if defined __stub_$2 || defined __stub___$2
1835 choke me
1836 #endif
1837
1838 int
1839 main ()
1840 {
1841 return $2 ();
1842   ;
1843   return 0;
1844 }
1845 _ACEOF
1846 if ac_fn_c_try_link "$LINENO"; then :
1847   eval "$3=yes"
1848 else
1849   eval "$3=no"
1850 fi
1851 rm -f core conftest.err conftest.$ac_objext \
1852     conftest$ac_exeext conftest.$ac_ext
1853 fi
1854 eval ac_res=\$$3
1855                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1856 $as_echo "$ac_res" >&6; }
1857   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1858
1859 } # ac_fn_c_check_func
1860
1861 # ac_fn_c_find_intX_t LINENO BITS VAR
1862 # -----------------------------------
1863 # Finds a signed integer type with width BITS, setting cache variable VAR
1864 # accordingly.
1865 ac_fn_c_find_intX_t ()
1866 {
1867   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1868   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
1869 $as_echo_n "checking for int$2_t... " >&6; }
1870 if eval \${$3+:} false; then :
1871   $as_echo_n "(cached) " >&6
1872 else
1873   eval "$3=no"
1874      # Order is important - never check a type that is potentially smaller
1875      # than half of the expected target width.
1876      for ac_type in int$2_t 'int' 'long int' \
1877          'long long int' 'short int' 'signed char'; do
1878        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1879 /* end confdefs.h.  */
1880 $ac_includes_default
1881              enum { N = $2 / 2 - 1 };
1882 int
1883 main ()
1884 {
1885 static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
1886 test_array [0] = 0;
1887 return test_array [0];
1888
1889   ;
1890   return 0;
1891 }
1892 _ACEOF
1893 if ac_fn_c_try_compile "$LINENO"; then :
1894   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1895 /* end confdefs.h.  */
1896 $ac_includes_default
1897                 enum { N = $2 / 2 - 1 };
1898 int
1899 main ()
1900 {
1901 static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
1902                  < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
1903 test_array [0] = 0;
1904 return test_array [0];
1905
1906   ;
1907   return 0;
1908 }
1909 _ACEOF
1910 if ac_fn_c_try_compile "$LINENO"; then :
1911
1912 else
1913   case $ac_type in #(
1914   int$2_t) :
1915     eval "$3=yes" ;; #(
1916   *) :
1917     eval "$3=\$ac_type" ;;
1918 esac
1919 fi
1920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1921 fi
1922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1923        if eval test \"x\$"$3"\" = x"no"; then :
1924
1925 else
1926   break
1927 fi
1928      done
1929 fi
1930 eval ac_res=\$$3
1931                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1932 $as_echo "$ac_res" >&6; }
1933   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1934
1935 } # ac_fn_c_find_intX_t
1936
1937 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1938 # -------------------------------------------
1939 # Tests whether TYPE exists after having included INCLUDES, setting cache
1940 # variable VAR accordingly.
1941 ac_fn_c_check_type ()
1942 {
1943   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1944   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1945 $as_echo_n "checking for $2... " >&6; }
1946 if eval \${$3+:} false; then :
1947   $as_echo_n "(cached) " >&6
1948 else
1949   eval "$3=no"
1950   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1951 /* end confdefs.h.  */
1952 $4
1953 int
1954 main ()
1955 {
1956 if (sizeof ($2))
1957          return 0;
1958   ;
1959   return 0;
1960 }
1961 _ACEOF
1962 if ac_fn_c_try_compile "$LINENO"; then :
1963   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1964 /* end confdefs.h.  */
1965 $4
1966 int
1967 main ()
1968 {
1969 if (sizeof (($2)))
1970             return 0;
1971   ;
1972   return 0;
1973 }
1974 _ACEOF
1975 if ac_fn_c_try_compile "$LINENO"; then :
1976
1977 else
1978   eval "$3=yes"
1979 fi
1980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1981 fi
1982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1983 fi
1984 eval ac_res=\$$3
1985                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1986 $as_echo "$ac_res" >&6; }
1987   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1988
1989 } # ac_fn_c_check_type
1990
1991 # ac_fn_c_find_uintX_t LINENO BITS VAR
1992 # ------------------------------------
1993 # Finds an unsigned integer type with width BITS, setting cache variable VAR
1994 # accordingly.
1995 ac_fn_c_find_uintX_t ()
1996 {
1997   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1998   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
1999 $as_echo_n "checking for uint$2_t... " >&6; }
2000 if eval \${$3+:} false; then :
2001   $as_echo_n "(cached) " >&6
2002 else
2003   eval "$3=no"
2004      # Order is important - never check a type that is potentially smaller
2005      # than half of the expected target width.
2006      for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
2007          'unsigned long long int' 'unsigned short int' 'unsigned char'; do
2008        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2009 /* end confdefs.h.  */
2010 $ac_includes_default
2011 int
2012 main ()
2013 {
2014 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
2015 test_array [0] = 0;
2016 return test_array [0];
2017
2018   ;
2019   return 0;
2020 }
2021 _ACEOF
2022 if ac_fn_c_try_compile "$LINENO"; then :
2023   case $ac_type in #(
2024   uint$2_t) :
2025     eval "$3=yes" ;; #(
2026   *) :
2027     eval "$3=\$ac_type" ;;
2028 esac
2029 fi
2030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2031        if eval test \"x\$"$3"\" = x"no"; then :
2032
2033 else
2034   break
2035 fi
2036      done
2037 fi
2038 eval ac_res=\$$3
2039                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2040 $as_echo "$ac_res" >&6; }
2041   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2042
2043 } # ac_fn_c_find_uintX_t
2044
2045 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2046 # -------------------------------------------------------
2047 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2048 # the include files in INCLUDES and setting the cache variable VAR
2049 # accordingly.
2050 ac_fn_c_check_header_mongrel ()
2051 {
2052   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2053   if eval \${$3+:} false; then :
2054   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2055 $as_echo_n "checking for $2... " >&6; }
2056 if eval \${$3+:} false; then :
2057   $as_echo_n "(cached) " >&6
2058 fi
2059 eval ac_res=\$$3
2060                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2061 $as_echo "$ac_res" >&6; }
2062 else
2063   # Is the header compilable?
2064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2065 $as_echo_n "checking $2 usability... " >&6; }
2066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2067 /* end confdefs.h.  */
2068 $4
2069 #include <$2>
2070 _ACEOF
2071 if ac_fn_c_try_compile "$LINENO"; then :
2072   ac_header_compiler=yes
2073 else
2074   ac_header_compiler=no
2075 fi
2076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2078 $as_echo "$ac_header_compiler" >&6; }
2079
2080 # Is the header present?
2081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2082 $as_echo_n "checking $2 presence... " >&6; }
2083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2084 /* end confdefs.h.  */
2085 #include <$2>
2086 _ACEOF
2087 if ac_fn_c_try_cpp "$LINENO"; then :
2088   ac_header_preproc=yes
2089 else
2090   ac_header_preproc=no
2091 fi
2092 rm -f conftest.err conftest.i conftest.$ac_ext
2093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2094 $as_echo "$ac_header_preproc" >&6; }
2095
2096 # So?  What about this header?
2097 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2098   yes:no: )
2099     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2100 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2101     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2102 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2103     ;;
2104   no:yes:* )
2105     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2106 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2107     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2108 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2109     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2110 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2111     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2112 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2113     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2114 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2115 ( $as_echo "## ---------------------------------------- ##
2116 ## Report this to william.douglas@intel.com ##
2117 ## ---------------------------------------- ##"
2118      ) | sed "s/^/$as_me: WARNING:     /" >&2
2119     ;;
2120 esac
2121   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2122 $as_echo_n "checking for $2... " >&6; }
2123 if eval \${$3+:} false; then :
2124   $as_echo_n "(cached) " >&6
2125 else
2126   eval "$3=\$ac_header_compiler"
2127 fi
2128 eval ac_res=\$$3
2129                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2130 $as_echo "$ac_res" >&6; }
2131 fi
2132   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2133
2134 } # ac_fn_c_check_header_mongrel
2135 cat >config.log <<_ACEOF
2136 This file contains any messages produced by compilers while
2137 running configure, to aid debugging if configure makes a mistake.
2138
2139 It was created by buxton $as_me 5, which was
2140 generated by GNU Autoconf 2.69.  Invocation command line was
2141
2142   $ $0 $@
2143
2144 _ACEOF
2145 exec 5>>config.log
2146 {
2147 cat <<_ASUNAME
2148 ## --------- ##
2149 ## Platform. ##
2150 ## --------- ##
2151
2152 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2153 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2154 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2155 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2156 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2157
2158 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2159 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2160
2161 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2162 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2163 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2164 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2165 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2166 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2167 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2168
2169 _ASUNAME
2170
2171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2172 for as_dir in $PATH
2173 do
2174   IFS=$as_save_IFS
2175   test -z "$as_dir" && as_dir=.
2176     $as_echo "PATH: $as_dir"
2177   done
2178 IFS=$as_save_IFS
2179
2180 } >&5
2181
2182 cat >&5 <<_ACEOF
2183
2184
2185 ## ----------- ##
2186 ## Core tests. ##
2187 ## ----------- ##
2188
2189 _ACEOF
2190
2191
2192 # Keep a trace of the command line.
2193 # Strip out --no-create and --no-recursion so they do not pile up.
2194 # Strip out --silent because we don't want to record it for future runs.
2195 # Also quote any args containing shell meta-characters.
2196 # Make two passes to allow for proper duplicate-argument suppression.
2197 ac_configure_args=
2198 ac_configure_args0=
2199 ac_configure_args1=
2200 ac_must_keep_next=false
2201 for ac_pass in 1 2
2202 do
2203   for ac_arg
2204   do
2205     case $ac_arg in
2206     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2207     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2208     | -silent | --silent | --silen | --sile | --sil)
2209       continue ;;
2210     *\'*)
2211       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2212     esac
2213     case $ac_pass in
2214     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2215     2)
2216       as_fn_append ac_configure_args1 " '$ac_arg'"
2217       if test $ac_must_keep_next = true; then
2218         ac_must_keep_next=false # Got value, back to normal.
2219       else
2220         case $ac_arg in
2221           *=* | --config-cache | -C | -disable-* | --disable-* \
2222           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2223           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2224           | -with-* | --with-* | -without-* | --without-* | --x)
2225             case "$ac_configure_args0 " in
2226               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2227             esac
2228             ;;
2229           -* ) ac_must_keep_next=true ;;
2230         esac
2231       fi
2232       as_fn_append ac_configure_args " '$ac_arg'"
2233       ;;
2234     esac
2235   done
2236 done
2237 { ac_configure_args0=; unset ac_configure_args0;}
2238 { ac_configure_args1=; unset ac_configure_args1;}
2239
2240 # When interrupted or exit'd, cleanup temporary files, and complete
2241 # config.log.  We remove comments because anyway the quotes in there
2242 # would cause problems or look ugly.
2243 # WARNING: Use '\'' to represent an apostrophe within the trap.
2244 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2245 trap 'exit_status=$?
2246   # Save into config.log some information that might help in debugging.
2247   {
2248     echo
2249
2250     $as_echo "## ---------------- ##
2251 ## Cache variables. ##
2252 ## ---------------- ##"
2253     echo
2254     # The following way of writing the cache mishandles newlines in values,
2255 (
2256   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2257     eval ac_val=\$$ac_var
2258     case $ac_val in #(
2259     *${as_nl}*)
2260       case $ac_var in #(
2261       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2262 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2263       esac
2264       case $ac_var in #(
2265       _ | IFS | as_nl) ;; #(
2266       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2267       *) { eval $ac_var=; unset $ac_var;} ;;
2268       esac ;;
2269     esac
2270   done
2271   (set) 2>&1 |
2272     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2273     *${as_nl}ac_space=\ *)
2274       sed -n \
2275         "s/'\''/'\''\\\\'\'''\''/g;
2276           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2277       ;; #(
2278     *)
2279       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2280       ;;
2281     esac |
2282     sort
2283 )
2284     echo
2285
2286     $as_echo "## ----------------- ##
2287 ## Output variables. ##
2288 ## ----------------- ##"
2289     echo
2290     for ac_var in $ac_subst_vars
2291     do
2292       eval ac_val=\$$ac_var
2293       case $ac_val in
2294       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2295       esac
2296       $as_echo "$ac_var='\''$ac_val'\''"
2297     done | sort
2298     echo
2299
2300     if test -n "$ac_subst_files"; then
2301       $as_echo "## ------------------- ##
2302 ## File substitutions. ##
2303 ## ------------------- ##"
2304       echo
2305       for ac_var in $ac_subst_files
2306       do
2307         eval ac_val=\$$ac_var
2308         case $ac_val in
2309         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2310         esac
2311         $as_echo "$ac_var='\''$ac_val'\''"
2312       done | sort
2313       echo
2314     fi
2315
2316     if test -s confdefs.h; then
2317       $as_echo "## ----------- ##
2318 ## confdefs.h. ##
2319 ## ----------- ##"
2320       echo
2321       cat confdefs.h
2322       echo
2323     fi
2324     test "$ac_signal" != 0 &&
2325       $as_echo "$as_me: caught signal $ac_signal"
2326     $as_echo "$as_me: exit $exit_status"
2327   } >&5
2328   rm -f core *.core core.conftest.* &&
2329     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2330     exit $exit_status
2331 ' 0
2332 for ac_signal in 1 2 13 15; do
2333   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2334 done
2335 ac_signal=0
2336
2337 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2338 rm -f -r conftest* confdefs.h
2339
2340 $as_echo "/* confdefs.h */" > confdefs.h
2341
2342 # Predefined preprocessor variables.
2343
2344 cat >>confdefs.h <<_ACEOF
2345 #define PACKAGE_NAME "$PACKAGE_NAME"
2346 _ACEOF
2347
2348 cat >>confdefs.h <<_ACEOF
2349 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2350 _ACEOF
2351
2352 cat >>confdefs.h <<_ACEOF
2353 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2354 _ACEOF
2355
2356 cat >>confdefs.h <<_ACEOF
2357 #define PACKAGE_STRING "$PACKAGE_STRING"
2358 _ACEOF
2359
2360 cat >>confdefs.h <<_ACEOF
2361 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2362 _ACEOF
2363
2364 cat >>confdefs.h <<_ACEOF
2365 #define PACKAGE_URL "$PACKAGE_URL"
2366 _ACEOF
2367
2368
2369 # Let the site file select an alternate cache file if it wants to.
2370 # Prefer an explicitly selected file to automatically selected ones.
2371 ac_site_file1=NONE
2372 ac_site_file2=NONE
2373 if test -n "$CONFIG_SITE"; then
2374   # We do not want a PATH search for config.site.
2375   case $CONFIG_SITE in #((
2376     -*)  ac_site_file1=./$CONFIG_SITE;;
2377     */*) ac_site_file1=$CONFIG_SITE;;
2378     *)   ac_site_file1=./$CONFIG_SITE;;
2379   esac
2380 elif test "x$prefix" != xNONE; then
2381   ac_site_file1=$prefix/share/config.site
2382   ac_site_file2=$prefix/etc/config.site
2383 else
2384   ac_site_file1=$ac_default_prefix/share/config.site
2385   ac_site_file2=$ac_default_prefix/etc/config.site
2386 fi
2387 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2388 do
2389   test "x$ac_site_file" = xNONE && continue
2390   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2391     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2392 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2393     sed 's/^/| /' "$ac_site_file" >&5
2394     . "$ac_site_file" \
2395       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2396 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2397 as_fn_error $? "failed to load site script $ac_site_file
2398 See \`config.log' for more details" "$LINENO" 5; }
2399   fi
2400 done
2401
2402 if test -r "$cache_file"; then
2403   # Some versions of bash will fail to source /dev/null (special files
2404   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2405   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2406     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2407 $as_echo "$as_me: loading cache $cache_file" >&6;}
2408     case $cache_file in
2409       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2410       *)                      . "./$cache_file";;
2411     esac
2412   fi
2413 else
2414   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2415 $as_echo "$as_me: creating cache $cache_file" >&6;}
2416   >$cache_file
2417 fi
2418
2419 # Check that the precious variables saved in the cache have kept the same
2420 # value.
2421 ac_cache_corrupted=false
2422 for ac_var in $ac_precious_vars; do
2423   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2424   eval ac_new_set=\$ac_env_${ac_var}_set
2425   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2426   eval ac_new_val=\$ac_env_${ac_var}_value
2427   case $ac_old_set,$ac_new_set in
2428     set,)
2429       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2430 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2431       ac_cache_corrupted=: ;;
2432     ,set)
2433       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2434 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2435       ac_cache_corrupted=: ;;
2436     ,);;
2437     *)
2438       if test "x$ac_old_val" != "x$ac_new_val"; then
2439         # differences in whitespace do not lead to failure.
2440         ac_old_val_w=`echo x $ac_old_val`
2441         ac_new_val_w=`echo x $ac_new_val`
2442         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2443           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2444 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2445           ac_cache_corrupted=:
2446         else
2447           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2448 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2449           eval $ac_var=\$ac_old_val
2450         fi
2451         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2452 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2453         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2454 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2455       fi;;
2456   esac
2457   # Pass precious variables to config.status.
2458   if test "$ac_new_set" = set; then
2459     case $ac_new_val in
2460     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2461     *) ac_arg=$ac_var=$ac_new_val ;;
2462     esac
2463     case " $ac_configure_args " in
2464       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2465       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2466     esac
2467   fi
2468 done
2469 if $ac_cache_corrupted; then
2470   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2471 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2472   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2473 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2474   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2475 fi
2476 ## -------------------- ##
2477 ## Main body of script. ##
2478 ## -------------------- ##
2479
2480 ac_ext=c
2481 ac_cpp='$CPP $CPPFLAGS'
2482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2485
2486
2487 am__api_version='1.14'
2488
2489 ac_aux_dir=
2490 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2491   if test -f "$ac_dir/install-sh"; then
2492     ac_aux_dir=$ac_dir
2493     ac_install_sh="$ac_aux_dir/install-sh -c"
2494     break
2495   elif test -f "$ac_dir/install.sh"; then
2496     ac_aux_dir=$ac_dir
2497     ac_install_sh="$ac_aux_dir/install.sh -c"
2498     break
2499   elif test -f "$ac_dir/shtool"; then
2500     ac_aux_dir=$ac_dir
2501     ac_install_sh="$ac_aux_dir/shtool install -c"
2502     break
2503   fi
2504 done
2505 if test -z "$ac_aux_dir"; then
2506   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2507 fi
2508
2509 # These three variables are undocumented and unsupported,
2510 # and are intended to be withdrawn in a future Autoconf release.
2511 # They can cause serious problems if a builder's source tree is in a directory
2512 # whose full name contains unusual characters.
2513 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2514 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2515 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2516
2517
2518 # Find a good install program.  We prefer a C program (faster),
2519 # so one script is as good as another.  But avoid the broken or
2520 # incompatible versions:
2521 # SysV /etc/install, /usr/sbin/install
2522 # SunOS /usr/etc/install
2523 # IRIX /sbin/install
2524 # AIX /bin/install
2525 # AmigaOS /C/install, which installs bootblocks on floppy discs
2526 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2527 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2528 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2529 # OS/2's system install, which has a completely different semantic
2530 # ./install, which can be erroneously created by make from ./install.sh.
2531 # Reject install programs that cannot install multiple files.
2532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2533 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2534 if test -z "$INSTALL"; then
2535 if ${ac_cv_path_install+:} false; then :
2536   $as_echo_n "(cached) " >&6
2537 else
2538   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2539 for as_dir in $PATH
2540 do
2541   IFS=$as_save_IFS
2542   test -z "$as_dir" && as_dir=.
2543     # Account for people who put trailing slashes in PATH elements.
2544 case $as_dir/ in #((
2545   ./ | .// | /[cC]/* | \
2546   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2547   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2548   /usr/ucb/* ) ;;
2549   *)
2550     # OSF1 and SCO ODT 3.0 have their own names for install.
2551     # Don't use installbsd from OSF since it installs stuff as root
2552     # by default.
2553     for ac_prog in ginstall scoinst install; do
2554       for ac_exec_ext in '' $ac_executable_extensions; do
2555         if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2556           if test $ac_prog = install &&
2557             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2558             # AIX install.  It has an incompatible calling convention.
2559             :
2560           elif test $ac_prog = install &&
2561             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2562             # program-specific install script used by HP pwplus--don't use.
2563             :
2564           else
2565             rm -rf conftest.one conftest.two conftest.dir
2566             echo one > conftest.one
2567             echo two > conftest.two
2568             mkdir conftest.dir
2569             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2570               test -s conftest.one && test -s conftest.two &&
2571               test -s conftest.dir/conftest.one &&
2572               test -s conftest.dir/conftest.two
2573             then
2574               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2575               break 3
2576             fi
2577           fi
2578         fi
2579       done
2580     done
2581     ;;
2582 esac
2583
2584   done
2585 IFS=$as_save_IFS
2586
2587 rm -rf conftest.one conftest.two conftest.dir
2588
2589 fi
2590   if test "${ac_cv_path_install+set}" = set; then
2591     INSTALL=$ac_cv_path_install
2592   else
2593     # As a last resort, use the slow shell script.  Don't cache a
2594     # value for INSTALL within a source directory, because that will
2595     # break other packages using the cache if that directory is
2596     # removed, or if the value is a relative name.
2597     INSTALL=$ac_install_sh
2598   fi
2599 fi
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2601 $as_echo "$INSTALL" >&6; }
2602
2603 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2604 # It thinks the first close brace ends the variable substitution.
2605 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2606
2607 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2608
2609 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2610
2611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2612 $as_echo_n "checking whether build environment is sane... " >&6; }
2613 # Reject unsafe characters in $srcdir or the absolute working directory
2614 # name.  Accept space and tab only in the latter.
2615 am_lf='
2616 '
2617 case `pwd` in
2618   *[\\\"\#\$\&\'\`$am_lf]*)
2619     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2620 esac
2621 case $srcdir in
2622   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2623     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2624 esac
2625
2626 # Do 'set' in a subshell so we don't clobber the current shell's
2627 # arguments.  Must try -L first in case configure is actually a
2628 # symlink; some systems play weird games with the mod time of symlinks
2629 # (eg FreeBSD returns the mod time of the symlink's containing
2630 # directory).
2631 if (
2632    am_has_slept=no
2633    for am_try in 1 2; do
2634      echo "timestamp, slept: $am_has_slept" > conftest.file
2635      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2636      if test "$*" = "X"; then
2637         # -L didn't work.
2638         set X `ls -t "$srcdir/configure" conftest.file`
2639      fi
2640      if test "$*" != "X $srcdir/configure conftest.file" \
2641         && test "$*" != "X conftest.file $srcdir/configure"; then
2642
2643         # If neither matched, then we have a broken ls.  This can happen
2644         # if, for instance, CONFIG_SHELL is bash and it inherits a
2645         # broken ls alias from the environment.  This has actually
2646         # happened.  Such a system could not be considered "sane".
2647         as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2648   alias in your environment" "$LINENO" 5
2649      fi
2650      if test "$2" = conftest.file || test $am_try -eq 2; then
2651        break
2652      fi
2653      # Just in case.
2654      sleep 1
2655      am_has_slept=yes
2656    done
2657    test "$2" = conftest.file
2658    )
2659 then
2660    # Ok.
2661    :
2662 else
2663    as_fn_error $? "newly created file is older than distributed files!
2664 Check your system clock" "$LINENO" 5
2665 fi
2666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2667 $as_echo "yes" >&6; }
2668 # If we didn't sleep, we still need to ensure time stamps of config.status and
2669 # generated files are strictly newer.
2670 am_sleep_pid=
2671 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2672   ( sleep 1 ) &
2673   am_sleep_pid=$!
2674 fi
2675
2676 rm -f conftest.file
2677
2678 test "$program_prefix" != NONE &&
2679   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2680 # Use a double $ so make ignores it.
2681 test "$program_suffix" != NONE &&
2682   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2683 # Double any \ or $.
2684 # By default was `s,x,x', remove it if useless.
2685 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2686 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2687
2688 # expand $ac_aux_dir to an absolute path
2689 am_aux_dir=`cd $ac_aux_dir && pwd`
2690
2691 if test x"${MISSING+set}" != xset; then
2692   case $am_aux_dir in
2693   *\ * | *\     *)
2694     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2695   *)
2696     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2697   esac
2698 fi
2699 # Use eval to expand $SHELL
2700 if eval "$MISSING --is-lightweight"; then
2701   am_missing_run="$MISSING "
2702 else
2703   am_missing_run=
2704   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2705 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2706 fi
2707
2708 if test x"${install_sh}" != xset; then
2709   case $am_aux_dir in
2710   *\ * | *\     *)
2711     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2712   *)
2713     install_sh="\${SHELL} $am_aux_dir/install-sh"
2714   esac
2715 fi
2716
2717 # Installed binaries are usually stripped using 'strip' when the user
2718 # run "make install-strip".  However 'strip' might not be the right
2719 # tool to use in cross-compilation environments, therefore Automake
2720 # will honor the 'STRIP' environment variable to overrule this program.
2721 if test "$cross_compiling" != no; then
2722   if test -n "$ac_tool_prefix"; then
2723   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2724 set dummy ${ac_tool_prefix}strip; ac_word=$2
2725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2726 $as_echo_n "checking for $ac_word... " >&6; }
2727 if ${ac_cv_prog_STRIP+:} false; then :
2728   $as_echo_n "(cached) " >&6
2729 else
2730   if test -n "$STRIP"; then
2731   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2732 else
2733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2734 for as_dir in $PATH
2735 do
2736   IFS=$as_save_IFS
2737   test -z "$as_dir" && as_dir=.
2738     for ac_exec_ext in '' $ac_executable_extensions; do
2739   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2740     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2741     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2742     break 2
2743   fi
2744 done
2745   done
2746 IFS=$as_save_IFS
2747
2748 fi
2749 fi
2750 STRIP=$ac_cv_prog_STRIP
2751 if test -n "$STRIP"; then
2752   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2753 $as_echo "$STRIP" >&6; }
2754 else
2755   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2756 $as_echo "no" >&6; }
2757 fi
2758
2759
2760 fi
2761 if test -z "$ac_cv_prog_STRIP"; then
2762   ac_ct_STRIP=$STRIP
2763   # Extract the first word of "strip", so it can be a program name with args.
2764 set dummy strip; ac_word=$2
2765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2766 $as_echo_n "checking for $ac_word... " >&6; }
2767 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2768   $as_echo_n "(cached) " >&6
2769 else
2770   if test -n "$ac_ct_STRIP"; then
2771   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2772 else
2773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2774 for as_dir in $PATH
2775 do
2776   IFS=$as_save_IFS
2777   test -z "$as_dir" && as_dir=.
2778     for ac_exec_ext in '' $ac_executable_extensions; do
2779   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2780     ac_cv_prog_ac_ct_STRIP="strip"
2781     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2782     break 2
2783   fi
2784 done
2785   done
2786 IFS=$as_save_IFS
2787
2788 fi
2789 fi
2790 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2791 if test -n "$ac_ct_STRIP"; then
2792   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2793 $as_echo "$ac_ct_STRIP" >&6; }
2794 else
2795   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2796 $as_echo "no" >&6; }
2797 fi
2798
2799   if test "x$ac_ct_STRIP" = x; then
2800     STRIP=":"
2801   else
2802     case $cross_compiling:$ac_tool_warned in
2803 yes:)
2804 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2805 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2806 ac_tool_warned=yes ;;
2807 esac
2808     STRIP=$ac_ct_STRIP
2809   fi
2810 else
2811   STRIP="$ac_cv_prog_STRIP"
2812 fi
2813
2814 fi
2815 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2816
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2818 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2819 if test -z "$MKDIR_P"; then
2820   if ${ac_cv_path_mkdir+:} false; then :
2821   $as_echo_n "(cached) " >&6
2822 else
2823   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2824 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2825 do
2826   IFS=$as_save_IFS
2827   test -z "$as_dir" && as_dir=.
2828     for ac_prog in mkdir gmkdir; do
2829          for ac_exec_ext in '' $ac_executable_extensions; do
2830            as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2831            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2832              'mkdir (GNU coreutils) '* | \
2833              'mkdir (coreutils) '* | \
2834              'mkdir (fileutils) '4.1*)
2835                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2836                break 3;;
2837            esac
2838          done
2839        done
2840   done
2841 IFS=$as_save_IFS
2842
2843 fi
2844
2845   test -d ./--version && rmdir ./--version
2846   if test "${ac_cv_path_mkdir+set}" = set; then
2847     MKDIR_P="$ac_cv_path_mkdir -p"
2848   else
2849     # As a last resort, use the slow shell script.  Don't cache a
2850     # value for MKDIR_P within a source directory, because that will
2851     # break other packages using the cache if that directory is
2852     # removed, or if the value is a relative name.
2853     MKDIR_P="$ac_install_sh -d"
2854   fi
2855 fi
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2857 $as_echo "$MKDIR_P" >&6; }
2858
2859 for ac_prog in gawk mawk nawk awk
2860 do
2861   # Extract the first word of "$ac_prog", so it can be a program name with args.
2862 set dummy $ac_prog; ac_word=$2
2863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2864 $as_echo_n "checking for $ac_word... " >&6; }
2865 if ${ac_cv_prog_AWK+:} false; then :
2866   $as_echo_n "(cached) " >&6
2867 else
2868   if test -n "$AWK"; then
2869   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2870 else
2871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2872 for as_dir in $PATH
2873 do
2874   IFS=$as_save_IFS
2875   test -z "$as_dir" && as_dir=.
2876     for ac_exec_ext in '' $ac_executable_extensions; do
2877   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2878     ac_cv_prog_AWK="$ac_prog"
2879     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2880     break 2
2881   fi
2882 done
2883   done
2884 IFS=$as_save_IFS
2885
2886 fi
2887 fi
2888 AWK=$ac_cv_prog_AWK
2889 if test -n "$AWK"; then
2890   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2891 $as_echo "$AWK" >&6; }
2892 else
2893   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2894 $as_echo "no" >&6; }
2895 fi
2896
2897
2898   test -n "$AWK" && break
2899 done
2900
2901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2902 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2903 set x ${MAKE-make}
2904 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2905 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2906   $as_echo_n "(cached) " >&6
2907 else
2908   cat >conftest.make <<\_ACEOF
2909 SHELL = /bin/sh
2910 all:
2911         @echo '@@@%%%=$(MAKE)=@@@%%%'
2912 _ACEOF
2913 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2914 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2915   *@@@%%%=?*=@@@%%%*)
2916     eval ac_cv_prog_make_${ac_make}_set=yes;;
2917   *)
2918     eval ac_cv_prog_make_${ac_make}_set=no;;
2919 esac
2920 rm -f conftest.make
2921 fi
2922 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2923   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2924 $as_echo "yes" >&6; }
2925   SET_MAKE=
2926 else
2927   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2928 $as_echo "no" >&6; }
2929   SET_MAKE="MAKE=${MAKE-make}"
2930 fi
2931
2932 rm -rf .tst 2>/dev/null
2933 mkdir .tst 2>/dev/null
2934 if test -d .tst; then
2935   am__leading_dot=.
2936 else
2937   am__leading_dot=_
2938 fi
2939 rmdir .tst 2>/dev/null
2940
2941 # Check whether --enable-silent-rules was given.
2942 if test "${enable_silent_rules+set}" = set; then :
2943   enableval=$enable_silent_rules;
2944 fi
2945
2946 case $enable_silent_rules in # (((
2947   yes) AM_DEFAULT_VERBOSITY=0;;
2948    no) AM_DEFAULT_VERBOSITY=1;;
2949     *) AM_DEFAULT_VERBOSITY=1;;
2950 esac
2951 am_make=${MAKE-make}
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2953 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2954 if ${am_cv_make_support_nested_variables+:} false; then :
2955   $as_echo_n "(cached) " >&6
2956 else
2957   if $as_echo 'TRUE=$(BAR$(V))
2958 BAR0=false
2959 BAR1=true
2960 V=1
2961 am__doit:
2962         @$(TRUE)
2963 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2964   am_cv_make_support_nested_variables=yes
2965 else
2966   am_cv_make_support_nested_variables=no
2967 fi
2968 fi
2969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2970 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2971 if test $am_cv_make_support_nested_variables = yes; then
2972     AM_V='$(V)'
2973   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2974 else
2975   AM_V=$AM_DEFAULT_VERBOSITY
2976   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2977 fi
2978 AM_BACKSLASH='\'
2979
2980 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2981   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2982   # is not polluted with repeated "-I."
2983   am__isrc=' -I$(srcdir)'
2984   # test to see if srcdir already configured
2985   if test -f $srcdir/config.status; then
2986     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2987   fi
2988 fi
2989
2990 # test whether we have cygpath
2991 if test -z "$CYGPATH_W"; then
2992   if (cygpath --version) >/dev/null 2>/dev/null; then
2993     CYGPATH_W='cygpath -w'
2994   else
2995     CYGPATH_W=echo
2996   fi
2997 fi
2998
2999
3000 # Define the identity of the package.
3001  PACKAGE='buxton'
3002  VERSION='5'
3003
3004
3005 cat >>confdefs.h <<_ACEOF
3006 #define PACKAGE "$PACKAGE"
3007 _ACEOF
3008
3009
3010 cat >>confdefs.h <<_ACEOF
3011 #define VERSION "$VERSION"
3012 _ACEOF
3013
3014 # Some tools Automake needs.
3015
3016 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3017
3018
3019 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3020
3021
3022 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3023
3024
3025 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3026
3027
3028 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3029
3030 # For better backward compatibility.  To be removed once Automake 1.9.x
3031 # dies out for good.  For more background, see:
3032 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3033 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3034 mkdir_p='$(MKDIR_P)'
3035
3036 # We need awk for the "check" target.  The system "awk" is bad on
3037 # some platforms.
3038 # Always define AMTAR for backward compatibility.  Yes, it's still used
3039 # in the wild :-(  We should find a proper way to deprecate it ...
3040 AMTAR='$${TAR-tar}'
3041
3042
3043 # We'll loop over all known methods to create a tar archive until one works.
3044 _am_tools='gnutar  pax cpio none'
3045
3046 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3047
3048
3049
3050
3051
3052
3053 # POSIX will say in a future version that running "rm -f" with no argument
3054 # is OK; and we want to be able to make that assumption in our Makefile
3055 # recipes.  So use an aggressive probe to check that the usage we want is
3056 # actually supported "in the wild" to an acceptable degree.
3057 # See automake bug#10828.
3058 # To make any issue more visible, cause the running configure to be aborted
3059 # by default if the 'rm' program in use doesn't match our expectations; the
3060 # user can still override this though.
3061 if rm -f && rm -fr && rm -rf; then : OK; else
3062   cat >&2 <<'END'
3063 Oops!
3064
3065 Your 'rm' program seems unable to run without file operands specified
3066 on the command line, even when the '-f' option is present.  This is contrary
3067 to the behaviour of most rm programs out there, and not conforming with
3068 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3069
3070 Please tell bug-automake@gnu.org about your system, including the value
3071 of your $PATH and any error possibly output before this message.  This
3072 can help us improve future automake versions.
3073
3074 END
3075   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3076     echo 'Configuration will proceed anyway, since you have set the' >&2
3077     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3078     echo >&2
3079   else
3080     cat >&2 <<'END'
3081 Aborting the configuration process, to ensure you take notice of the issue.
3082
3083 You can download and install GNU coreutils to get an 'rm' implementation
3084 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3085
3086 If you want to complete the configuration process using your problematic
3087 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3088 to "yes", and re-run configure.
3089
3090 END
3091     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3092   fi
3093 fi
3094
3095 ac_config_files="$ac_config_files Makefile"
3096
3097
3098 ac_config_headers="$ac_config_headers config.h"
3099
3100
3101
3102
3103 case `pwd` in
3104   *\ * | *\     *)
3105     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3106 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3107 esac
3108
3109
3110
3111 macro_version='2.4.2'
3112 macro_revision='1.3337'
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126 ltmain="$ac_aux_dir/ltmain.sh"
3127
3128 # Make sure we can run config.sub.
3129 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3130   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3131
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3133 $as_echo_n "checking build system type... " >&6; }
3134 if ${ac_cv_build+:} false; then :
3135   $as_echo_n "(cached) " >&6
3136 else
3137   ac_build_alias=$build_alias
3138 test "x$ac_build_alias" = x &&
3139   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3140 test "x$ac_build_alias" = x &&
3141   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3142 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3143   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3144
3145 fi
3146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3147 $as_echo "$ac_cv_build" >&6; }
3148 case $ac_cv_build in
3149 *-*-*) ;;
3150 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3151 esac
3152 build=$ac_cv_build
3153 ac_save_IFS=$IFS; IFS='-'
3154 set x $ac_cv_build
3155 shift
3156 build_cpu=$1
3157 build_vendor=$2
3158 shift; shift
3159 # Remember, the first character of IFS is used to create $*,
3160 # except with old shells:
3161 build_os=$*
3162 IFS=$ac_save_IFS
3163 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3164
3165
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3167 $as_echo_n "checking host system type... " >&6; }
3168 if ${ac_cv_host+:} false; then :
3169   $as_echo_n "(cached) " >&6
3170 else
3171   if test "x$host_alias" = x; then
3172   ac_cv_host=$ac_cv_build
3173 else
3174   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3175     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3176 fi
3177
3178 fi
3179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3180 $as_echo "$ac_cv_host" >&6; }
3181 case $ac_cv_host in
3182 *-*-*) ;;
3183 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3184 esac
3185 host=$ac_cv_host
3186 ac_save_IFS=$IFS; IFS='-'
3187 set x $ac_cv_host
3188 shift
3189 host_cpu=$1
3190 host_vendor=$2
3191 shift; shift
3192 # Remember, the first character of IFS is used to create $*,
3193 # except with old shells:
3194 host_os=$*
3195 IFS=$ac_save_IFS
3196 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3197
3198
3199 # Backslashify metacharacters that are still active within
3200 # double-quoted strings.
3201 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3202
3203 # Same as above, but do not quote variable references.
3204 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3205
3206 # Sed substitution to delay expansion of an escaped shell variable in a
3207 # double_quote_subst'ed string.
3208 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3209
3210 # Sed substitution to delay expansion of an escaped single quote.
3211 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3212
3213 # Sed substitution to avoid accidental globbing in evaled expressions
3214 no_glob_subst='s/\*/\\\*/g'
3215
3216 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3217 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3218 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3219
3220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3221 $as_echo_n "checking how to print strings... " >&6; }
3222 # Test print first, because it will be a builtin if present.
3223 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3224    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3225   ECHO='print -r --'
3226 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3227   ECHO='printf %s\n'
3228 else
3229   # Use this function as a fallback that always works.
3230   func_fallback_echo ()
3231   {
3232     eval 'cat <<_LTECHO_EOF
3233 $1
3234 _LTECHO_EOF'
3235   }
3236   ECHO='func_fallback_echo'
3237 fi
3238
3239 # func_echo_all arg...
3240 # Invoke $ECHO with all args, space-separated.
3241 func_echo_all ()
3242 {
3243     $ECHO ""
3244 }
3245
3246 case "$ECHO" in
3247   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3248 $as_echo "printf" >&6; } ;;
3249   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3250 $as_echo "print -r" >&6; } ;;
3251   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3252 $as_echo "cat" >&6; } ;;
3253 esac
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268 DEPDIR="${am__leading_dot}deps"
3269
3270 ac_config_commands="$ac_config_commands depfiles"
3271
3272
3273 am_make=${MAKE-make}
3274 cat > confinc << 'END'
3275 am__doit:
3276         @echo this is the am__doit target
3277 .PHONY: am__doit
3278 END
3279 # If we don't find an include directive, just comment out the code.
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3281 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3282 am__include="#"
3283 am__quote=
3284 _am_result=none
3285 # First try GNU make style include.
3286 echo "include confinc" > confmf
3287 # Ignore all kinds of additional output from 'make'.
3288 case `$am_make -s -f confmf 2> /dev/null` in #(
3289 *the\ am__doit\ target*)
3290   am__include=include
3291   am__quote=
3292   _am_result=GNU
3293   ;;
3294 esac
3295 # Now try BSD make style include.
3296 if test "$am__include" = "#"; then
3297    echo '.include "confinc"' > confmf
3298    case `$am_make -s -f confmf 2> /dev/null` in #(
3299    *the\ am__doit\ target*)
3300      am__include=.include
3301      am__quote="\""
3302      _am_result=BSD
3303      ;;
3304    esac
3305 fi
3306
3307
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3309 $as_echo "$_am_result" >&6; }
3310 rm -f confinc confmf
3311
3312 # Check whether --enable-dependency-tracking was given.
3313 if test "${enable_dependency_tracking+set}" = set; then :
3314   enableval=$enable_dependency_tracking;
3315 fi
3316
3317 if test "x$enable_dependency_tracking" != xno; then
3318   am_depcomp="$ac_aux_dir/depcomp"
3319   AMDEPBACKSLASH='\'
3320   am__nodep='_no'
3321 fi
3322  if test "x$enable_dependency_tracking" != xno; then
3323   AMDEP_TRUE=
3324   AMDEP_FALSE='#'
3325 else
3326   AMDEP_TRUE='#'
3327   AMDEP_FALSE=
3328 fi
3329
3330
3331 ac_ext=c
3332 ac_cpp='$CPP $CPPFLAGS'
3333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3336 if test -n "$ac_tool_prefix"; then
3337   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3338 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3340 $as_echo_n "checking for $ac_word... " >&6; }
3341 if ${ac_cv_prog_CC+:} false; then :
3342   $as_echo_n "(cached) " >&6
3343 else
3344   if test -n "$CC"; then
3345   ac_cv_prog_CC="$CC" # Let the user override the test.
3346 else
3347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3348 for as_dir in $PATH
3349 do
3350   IFS=$as_save_IFS
3351   test -z "$as_dir" && as_dir=.
3352     for ac_exec_ext in '' $ac_executable_extensions; do
3353   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3354     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3355     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3356     break 2
3357   fi
3358 done
3359   done
3360 IFS=$as_save_IFS
3361
3362 fi
3363 fi
3364 CC=$ac_cv_prog_CC
3365 if test -n "$CC"; then
3366   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3367 $as_echo "$CC" >&6; }
3368 else
3369   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3370 $as_echo "no" >&6; }
3371 fi
3372
3373
3374 fi
3375 if test -z "$ac_cv_prog_CC"; then
3376   ac_ct_CC=$CC
3377   # Extract the first word of "gcc", so it can be a program name with args.
3378 set dummy gcc; ac_word=$2
3379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3380 $as_echo_n "checking for $ac_word... " >&6; }
3381 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3382   $as_echo_n "(cached) " >&6
3383 else
3384   if test -n "$ac_ct_CC"; then
3385   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3386 else
3387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3388 for as_dir in $PATH
3389 do
3390   IFS=$as_save_IFS
3391   test -z "$as_dir" && as_dir=.
3392     for ac_exec_ext in '' $ac_executable_extensions; do
3393   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3394     ac_cv_prog_ac_ct_CC="gcc"
3395     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3396     break 2
3397   fi
3398 done
3399   done
3400 IFS=$as_save_IFS
3401
3402 fi
3403 fi
3404 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3405 if test -n "$ac_ct_CC"; then
3406   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3407 $as_echo "$ac_ct_CC" >&6; }
3408 else
3409   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3410 $as_echo "no" >&6; }
3411 fi
3412
3413   if test "x$ac_ct_CC" = x; then
3414     CC=""
3415   else
3416     case $cross_compiling:$ac_tool_warned in
3417 yes:)
3418 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3419 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3420 ac_tool_warned=yes ;;
3421 esac
3422     CC=$ac_ct_CC
3423   fi
3424 else
3425   CC="$ac_cv_prog_CC"
3426 fi
3427
3428 if test -z "$CC"; then
3429           if test -n "$ac_tool_prefix"; then
3430     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3431 set dummy ${ac_tool_prefix}cc; ac_word=$2
3432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3433 $as_echo_n "checking for $ac_word... " >&6; }
3434 if ${ac_cv_prog_CC+:} false; then :
3435   $as_echo_n "(cached) " >&6
3436 else
3437   if test -n "$CC"; then
3438   ac_cv_prog_CC="$CC" # Let the user override the test.
3439 else
3440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3441 for as_dir in $PATH
3442 do
3443   IFS=$as_save_IFS
3444   test -z "$as_dir" && as_dir=.
3445     for ac_exec_ext in '' $ac_executable_extensions; do
3446   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3447     ac_cv_prog_CC="${ac_tool_prefix}cc"
3448     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3449     break 2
3450   fi
3451 done
3452   done
3453 IFS=$as_save_IFS
3454
3455 fi
3456 fi
3457 CC=$ac_cv_prog_CC
3458 if test -n "$CC"; then
3459   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3460 $as_echo "$CC" >&6; }
3461 else
3462   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3463 $as_echo "no" >&6; }
3464 fi
3465
3466
3467   fi
3468 fi
3469 if test -z "$CC"; then
3470   # Extract the first word of "cc", so it can be a program name with args.
3471 set dummy cc; ac_word=$2
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3473 $as_echo_n "checking for $ac_word... " >&6; }
3474 if ${ac_cv_prog_CC+:} false; then :
3475   $as_echo_n "(cached) " >&6
3476 else
3477   if test -n "$CC"; then
3478   ac_cv_prog_CC="$CC" # Let the user override the test.
3479 else
3480   ac_prog_rejected=no
3481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3482 for as_dir in $PATH
3483 do
3484   IFS=$as_save_IFS
3485   test -z "$as_dir" && as_dir=.
3486     for ac_exec_ext in '' $ac_executable_extensions; do
3487   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3488     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3489        ac_prog_rejected=yes
3490        continue
3491      fi
3492     ac_cv_prog_CC="cc"
3493     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3494     break 2
3495   fi
3496 done
3497   done
3498 IFS=$as_save_IFS
3499
3500 if test $ac_prog_rejected = yes; then
3501   # We found a bogon in the path, so make sure we never use it.
3502   set dummy $ac_cv_prog_CC
3503   shift
3504   if test $# != 0; then
3505     # We chose a different compiler from the bogus one.
3506     # However, it has the same basename, so the bogon will be chosen
3507     # first if we set CC to just the basename; use the full file name.
3508     shift
3509     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3510   fi
3511 fi
3512 fi
3513 fi
3514 CC=$ac_cv_prog_CC
3515 if test -n "$CC"; then
3516   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3517 $as_echo "$CC" >&6; }
3518 else
3519   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3520 $as_echo "no" >&6; }
3521 fi
3522
3523
3524 fi
3525 if test -z "$CC"; then
3526   if test -n "$ac_tool_prefix"; then
3527   for ac_prog in cl.exe
3528   do
3529     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3530 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3532 $as_echo_n "checking for $ac_word... " >&6; }
3533 if ${ac_cv_prog_CC+:} false; then :
3534   $as_echo_n "(cached) " >&6
3535 else
3536   if test -n "$CC"; then
3537   ac_cv_prog_CC="$CC" # Let the user override the test.
3538 else
3539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3540 for as_dir in $PATH
3541 do
3542   IFS=$as_save_IFS
3543   test -z "$as_dir" && as_dir=.
3544     for ac_exec_ext in '' $ac_executable_extensions; do
3545   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3546     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3547     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3548     break 2
3549   fi
3550 done
3551   done
3552 IFS=$as_save_IFS
3553
3554 fi
3555 fi
3556 CC=$ac_cv_prog_CC
3557 if test -n "$CC"; then
3558   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3559 $as_echo "$CC" >&6; }
3560 else
3561   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3562 $as_echo "no" >&6; }
3563 fi
3564
3565
3566     test -n "$CC" && break
3567   done
3568 fi
3569 if test -z "$CC"; then
3570   ac_ct_CC=$CC
3571   for ac_prog in cl.exe
3572 do
3573   # Extract the first word of "$ac_prog", so it can be a program name with args.
3574 set dummy $ac_prog; ac_word=$2
3575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3576 $as_echo_n "checking for $ac_word... " >&6; }
3577 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3578   $as_echo_n "(cached) " >&6
3579 else
3580   if test -n "$ac_ct_CC"; then
3581   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3582 else
3583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3584 for as_dir in $PATH
3585 do
3586   IFS=$as_save_IFS
3587   test -z "$as_dir" && as_dir=.
3588     for ac_exec_ext in '' $ac_executable_extensions; do
3589   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3590     ac_cv_prog_ac_ct_CC="$ac_prog"
3591     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3592     break 2
3593   fi
3594 done
3595   done
3596 IFS=$as_save_IFS
3597
3598 fi
3599 fi
3600 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3601 if test -n "$ac_ct_CC"; then
3602   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3603 $as_echo "$ac_ct_CC" >&6; }
3604 else
3605   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3606 $as_echo "no" >&6; }
3607 fi
3608
3609
3610   test -n "$ac_ct_CC" && break
3611 done
3612
3613   if test "x$ac_ct_CC" = x; then
3614     CC=""
3615   else
3616     case $cross_compiling:$ac_tool_warned in
3617 yes:)
3618 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3619 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3620 ac_tool_warned=yes ;;
3621 esac
3622     CC=$ac_ct_CC
3623   fi
3624 fi
3625
3626 fi
3627
3628
3629 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3630 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3631 as_fn_error $? "no acceptable C compiler found in \$PATH
3632 See \`config.log' for more details" "$LINENO" 5; }
3633
3634 # Provide some information about the compiler.
3635 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3636 set X $ac_compile
3637 ac_compiler=$2
3638 for ac_option in --version -v -V -qversion; do
3639   { { ac_try="$ac_compiler $ac_option >&5"
3640 case "(($ac_try" in
3641   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3642   *) ac_try_echo=$ac_try;;
3643 esac
3644 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3645 $as_echo "$ac_try_echo"; } >&5
3646   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3647   ac_status=$?
3648   if test -s conftest.err; then
3649     sed '10a\
3650 ... rest of stderr output deleted ...
3651          10q' conftest.err >conftest.er1
3652     cat conftest.er1 >&5
3653   fi
3654   rm -f conftest.er1 conftest.err
3655   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3656   test $ac_status = 0; }
3657 done
3658
3659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3660 /* end confdefs.h.  */
3661
3662 int
3663 main ()
3664 {
3665
3666   ;
3667   return 0;
3668 }
3669 _ACEOF
3670 ac_clean_files_save=$ac_clean_files
3671 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3672 # Try to create an executable without -o first, disregard a.out.
3673 # It will help us diagnose broken compilers, and finding out an intuition
3674 # of exeext.
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3676 $as_echo_n "checking whether the C compiler works... " >&6; }
3677 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3678
3679 # The possible output files:
3680 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3681
3682 ac_rmfiles=
3683 for ac_file in $ac_files
3684 do
3685   case $ac_file in
3686     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3687     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3688   esac
3689 done
3690 rm -f $ac_rmfiles
3691
3692 if { { ac_try="$ac_link_default"
3693 case "(($ac_try" in
3694   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3695   *) ac_try_echo=$ac_try;;
3696 esac
3697 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3698 $as_echo "$ac_try_echo"; } >&5
3699   (eval "$ac_link_default") 2>&5
3700   ac_status=$?
3701   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3702   test $ac_status = 0; }; then :
3703   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3704 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3705 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3706 # so that the user can short-circuit this test for compilers unknown to
3707 # Autoconf.
3708 for ac_file in $ac_files ''
3709 do
3710   test -f "$ac_file" || continue
3711   case $ac_file in
3712     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3713         ;;
3714     [ab].out )
3715         # We found the default executable, but exeext='' is most
3716         # certainly right.
3717         break;;
3718     *.* )
3719         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3720         then :; else
3721            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3722         fi
3723         # We set ac_cv_exeext here because the later test for it is not
3724         # safe: cross compilers may not add the suffix if given an `-o'
3725         # argument, so we may need to know it at that point already.
3726         # Even if this section looks crufty: it has the advantage of
3727         # actually working.
3728         break;;
3729     * )
3730         break;;
3731   esac
3732 done
3733 test "$ac_cv_exeext" = no && ac_cv_exeext=
3734
3735 else
3736   ac_file=''
3737 fi
3738 if test -z "$ac_file"; then :
3739   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3740 $as_echo "no" >&6; }
3741 $as_echo "$as_me: failed program was:" >&5
3742 sed 's/^/| /' conftest.$ac_ext >&5
3743
3744 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3745 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3746 as_fn_error 77 "C compiler cannot create executables
3747 See \`config.log' for more details" "$LINENO" 5; }
3748 else
3749   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3750 $as_echo "yes" >&6; }
3751 fi
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3753 $as_echo_n "checking for C compiler default output file name... " >&6; }
3754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3755 $as_echo "$ac_file" >&6; }
3756 ac_exeext=$ac_cv_exeext
3757
3758 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3759 ac_clean_files=$ac_clean_files_save
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3761 $as_echo_n "checking for suffix of executables... " >&6; }
3762 if { { ac_try="$ac_link"
3763 case "(($ac_try" in
3764   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3765   *) ac_try_echo=$ac_try;;
3766 esac
3767 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3768 $as_echo "$ac_try_echo"; } >&5
3769   (eval "$ac_link") 2>&5
3770   ac_status=$?
3771   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3772   test $ac_status = 0; }; then :
3773   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3774 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3775 # work properly (i.e., refer to `conftest.exe'), while it won't with
3776 # `rm'.
3777 for ac_file in conftest.exe conftest conftest.*; do
3778   test -f "$ac_file" || continue
3779   case $ac_file in
3780     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3781     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3782           break;;
3783     * ) break;;
3784   esac
3785 done
3786 else
3787   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3788 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3789 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3790 See \`config.log' for more details" "$LINENO" 5; }
3791 fi
3792 rm -f conftest conftest$ac_cv_exeext
3793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3794 $as_echo "$ac_cv_exeext" >&6; }
3795
3796 rm -f conftest.$ac_ext
3797 EXEEXT=$ac_cv_exeext
3798 ac_exeext=$EXEEXT
3799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3800 /* end confdefs.h.  */
3801 #include <stdio.h>
3802 int
3803 main ()
3804 {
3805 FILE *f = fopen ("conftest.out", "w");
3806  return ferror (f) || fclose (f) != 0;
3807
3808   ;
3809   return 0;
3810 }
3811 _ACEOF
3812 ac_clean_files="$ac_clean_files conftest.out"
3813 # Check that the compiler produces executables we can run.  If not, either
3814 # the compiler is broken, or we cross compile.
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3816 $as_echo_n "checking whether we are cross compiling... " >&6; }
3817 if test "$cross_compiling" != yes; then
3818   { { ac_try="$ac_link"
3819 case "(($ac_try" in
3820   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3821   *) ac_try_echo=$ac_try;;
3822 esac
3823 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3824 $as_echo "$ac_try_echo"; } >&5
3825   (eval "$ac_link") 2>&5
3826   ac_status=$?
3827   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3828   test $ac_status = 0; }
3829   if { ac_try='./conftest$ac_cv_exeext'
3830   { { case "(($ac_try" in
3831   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3832   *) ac_try_echo=$ac_try;;
3833 esac
3834 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3835 $as_echo "$ac_try_echo"; } >&5
3836   (eval "$ac_try") 2>&5
3837   ac_status=$?
3838   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3839   test $ac_status = 0; }; }; then
3840     cross_compiling=no
3841   else
3842     if test "$cross_compiling" = maybe; then
3843         cross_compiling=yes
3844     else
3845         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3846 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3847 as_fn_error $? "cannot run C compiled programs.
3848 If you meant to cross compile, use \`--host'.
3849 See \`config.log' for more details" "$LINENO" 5; }
3850     fi
3851   fi
3852 fi
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3854 $as_echo "$cross_compiling" >&6; }
3855
3856 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3857 ac_clean_files=$ac_clean_files_save
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3859 $as_echo_n "checking for suffix of object files... " >&6; }
3860 if ${ac_cv_objext+:} false; then :
3861   $as_echo_n "(cached) " >&6
3862 else
3863   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3864 /* end confdefs.h.  */
3865
3866 int
3867 main ()
3868 {
3869
3870   ;
3871   return 0;
3872 }
3873 _ACEOF
3874 rm -f conftest.o conftest.obj
3875 if { { ac_try="$ac_compile"
3876 case "(($ac_try" in
3877   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3878   *) ac_try_echo=$ac_try;;
3879 esac
3880 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3881 $as_echo "$ac_try_echo"; } >&5
3882   (eval "$ac_compile") 2>&5
3883   ac_status=$?
3884   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3885   test $ac_status = 0; }; then :
3886   for ac_file in conftest.o conftest.obj conftest.*; do
3887   test -f "$ac_file" || continue;
3888   case $ac_file in
3889     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3890     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3891        break;;
3892   esac
3893 done
3894 else
3895   $as_echo "$as_me: failed program was:" >&5
3896 sed 's/^/| /' conftest.$ac_ext >&5
3897
3898 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3899 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3900 as_fn_error $? "cannot compute suffix of object files: cannot compile
3901 See \`config.log' for more details" "$LINENO" 5; }
3902 fi
3903 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3904 fi
3905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3906 $as_echo "$ac_cv_objext" >&6; }
3907 OBJEXT=$ac_cv_objext
3908 ac_objext=$OBJEXT
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3910 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3911 if ${ac_cv_c_compiler_gnu+:} false; then :
3912   $as_echo_n "(cached) " >&6
3913 else
3914   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3915 /* end confdefs.h.  */
3916
3917 int
3918 main ()
3919 {
3920 #ifndef __GNUC__
3921        choke me
3922 #endif
3923
3924   ;
3925   return 0;
3926 }
3927 _ACEOF
3928 if ac_fn_c_try_compile "$LINENO"; then :
3929   ac_compiler_gnu=yes
3930 else
3931   ac_compiler_gnu=no
3932 fi
3933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3934 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3935
3936 fi
3937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3938 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3939 if test $ac_compiler_gnu = yes; then
3940   GCC=yes
3941 else
3942   GCC=
3943 fi
3944 ac_test_CFLAGS=${CFLAGS+set}
3945 ac_save_CFLAGS=$CFLAGS
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3947 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3948 if ${ac_cv_prog_cc_g+:} false; then :
3949   $as_echo_n "(cached) " >&6
3950 else
3951   ac_save_c_werror_flag=$ac_c_werror_flag
3952    ac_c_werror_flag=yes
3953    ac_cv_prog_cc_g=no
3954    CFLAGS="-g"
3955    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3956 /* end confdefs.h.  */
3957
3958 int
3959 main ()
3960 {
3961
3962   ;
3963   return 0;
3964 }
3965 _ACEOF
3966 if ac_fn_c_try_compile "$LINENO"; then :
3967   ac_cv_prog_cc_g=yes
3968 else
3969   CFLAGS=""
3970       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3971 /* end confdefs.h.  */
3972
3973 int
3974 main ()
3975 {
3976
3977   ;
3978   return 0;
3979 }
3980 _ACEOF
3981 if ac_fn_c_try_compile "$LINENO"; then :
3982
3983 else
3984   ac_c_werror_flag=$ac_save_c_werror_flag
3985          CFLAGS="-g"
3986          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3987 /* end confdefs.h.  */
3988
3989 int
3990 main ()
3991 {
3992
3993   ;
3994   return 0;
3995 }
3996 _ACEOF
3997 if ac_fn_c_try_compile "$LINENO"; then :
3998   ac_cv_prog_cc_g=yes
3999 fi
4000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4001 fi
4002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4003 fi
4004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4005    ac_c_werror_flag=$ac_save_c_werror_flag
4006 fi
4007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4008 $as_echo "$ac_cv_prog_cc_g" >&6; }
4009 if test "$ac_test_CFLAGS" = set; then
4010   CFLAGS=$ac_save_CFLAGS
4011 elif test $ac_cv_prog_cc_g = yes; then
4012   if test "$GCC" = yes; then
4013     CFLAGS="-g -O2"
4014   else
4015     CFLAGS="-g"
4016   fi
4017 else
4018   if test "$GCC" = yes; then
4019     CFLAGS="-O2"
4020   else
4021     CFLAGS=
4022   fi
4023 fi
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4025 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4026 if ${ac_cv_prog_cc_c89+:} false; then :
4027   $as_echo_n "(cached) " >&6
4028 else
4029   ac_cv_prog_cc_c89=no
4030 ac_save_CC=$CC
4031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4032 /* end confdefs.h.  */
4033 #include <stdarg.h>
4034 #include <stdio.h>
4035 struct stat;
4036 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4037 struct buf { int x; };
4038 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4039 static char *e (p, i)
4040      char **p;
4041      int i;
4042 {
4043   return p[i];
4044 }
4045 static char *f (char * (*g) (char **, int), char **p, ...)
4046 {
4047   char *s;
4048   va_list v;
4049   va_start (v,p);
4050   s = g (p, va_arg (v,int));
4051   va_end (v);
4052   return s;
4053 }
4054
4055 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4056    function prototypes and stuff, but not '\xHH' hex character constants.
4057    These don't provoke an error unfortunately, instead are silently treated
4058    as 'x'.  The following induces an error, until -std is added to get
4059    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4060    array size at least.  It's necessary to write '\x00'==0 to get something
4061    that's true only with -std.  */
4062 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4063
4064 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4065    inside strings and character constants.  */
4066 #define FOO(x) 'x'
4067 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4068
4069 int test (int i, double x);
4070 struct s1 {int (*f) (int a);};
4071 struct s2 {int (*f) (double a);};
4072 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4073 int argc;
4074 char **argv;
4075 int
4076 main ()
4077 {
4078 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4079   ;
4080   return 0;
4081 }
4082 _ACEOF
4083 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4084         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4085 do
4086   CC="$ac_save_CC $ac_arg"
4087   if ac_fn_c_try_compile "$LINENO"; then :
4088   ac_cv_prog_cc_c89=$ac_arg
4089 fi
4090 rm -f core conftest.err conftest.$ac_objext
4091   test "x$ac_cv_prog_cc_c89" != "xno" && break
4092 done
4093 rm -f conftest.$ac_ext
4094 CC=$ac_save_CC
4095
4096 fi
4097 # AC_CACHE_VAL
4098 case "x$ac_cv_prog_cc_c89" in
4099   x)
4100     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4101 $as_echo "none needed" >&6; } ;;
4102   xno)
4103     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4104 $as_echo "unsupported" >&6; } ;;
4105   *)
4106     CC="$CC $ac_cv_prog_cc_c89"
4107     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4108 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4109 esac
4110 if test "x$ac_cv_prog_cc_c89" != xno; then :
4111
4112 fi
4113
4114 ac_ext=c
4115 ac_cpp='$CPP $CPPFLAGS'
4116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4119
4120 ac_ext=c
4121 ac_cpp='$CPP $CPPFLAGS'
4122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4126 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4127 if ${am_cv_prog_cc_c_o+:} false; then :
4128   $as_echo_n "(cached) " >&6
4129 else
4130   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4131 /* end confdefs.h.  */
4132
4133 int
4134 main ()
4135 {
4136
4137   ;
4138   return 0;
4139 }
4140 _ACEOF
4141   # Make sure it works both with $CC and with simple cc.
4142   # Following AC_PROG_CC_C_O, we do the test twice because some
4143   # compilers refuse to overwrite an existing .o file with -o,
4144   # though they will create one.
4145   am_cv_prog_cc_c_o=yes
4146   for am_i in 1 2; do
4147     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4148    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4149    ac_status=$?
4150    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4151    (exit $ac_status); } \
4152          && test -f conftest2.$ac_objext; then
4153       : OK
4154     else
4155       am_cv_prog_cc_c_o=no
4156       break
4157     fi
4158   done
4159   rm -f core conftest*
4160   unset am_i
4161 fi
4162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4163 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4164 if test "$am_cv_prog_cc_c_o" != yes; then
4165    # Losing compiler, so override with the script.
4166    # FIXME: It is wrong to rewrite CC.
4167    # But if we don't then we get into trouble of one sort or another.
4168    # A longer-term fix would be to have automake use am__CC in this case,
4169    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4170    CC="$am_aux_dir/compile $CC"
4171 fi
4172 ac_ext=c
4173 ac_cpp='$CPP $CPPFLAGS'
4174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4177
4178
4179 depcc="$CC"   am_compiler_list=
4180
4181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4182 $as_echo_n "checking dependency style of $depcc... " >&6; }
4183 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4184   $as_echo_n "(cached) " >&6
4185 else
4186   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4187   # We make a subdir and do the tests there.  Otherwise we can end up
4188   # making bogus files that we don't know about and never remove.  For
4189   # instance it was reported that on HP-UX the gcc test will end up
4190   # making a dummy file named 'D' -- because '-MD' means "put the output
4191   # in D".
4192   rm -rf conftest.dir
4193   mkdir conftest.dir
4194   # Copy depcomp to subdir because otherwise we won't find it if we're
4195   # using a relative directory.
4196   cp "$am_depcomp" conftest.dir
4197   cd conftest.dir
4198   # We will build objects and dependencies in a subdirectory because
4199   # it helps to detect inapplicable dependency modes.  For instance
4200   # both Tru64's cc and ICC support -MD to output dependencies as a
4201   # side effect of compilation, but ICC will put the dependencies in
4202   # the current directory while Tru64 will put them in the object
4203   # directory.
4204   mkdir sub
4205
4206   am_cv_CC_dependencies_compiler_type=none
4207   if test "$am_compiler_list" = ""; then
4208      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4209   fi
4210   am__universal=false
4211   case " $depcc " in #(
4212      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4213      esac
4214
4215   for depmode in $am_compiler_list; do
4216     # Setup a source with many dependencies, because some compilers
4217     # like to wrap large dependency lists on column 80 (with \), and
4218     # we should not choose a depcomp mode which is confused by this.
4219     #
4220     # We need to recreate these files for each test, as the compiler may
4221     # overwrite some of them when testing with obscure command lines.
4222     # This happens at least with the AIX C compiler.
4223     : > sub/conftest.c
4224     for i in 1 2 3 4 5 6; do
4225       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4226       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4227       # Solaris 10 /bin/sh.
4228       echo '/* dummy */' > sub/conftst$i.h
4229     done
4230     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4231
4232     # We check with '-c' and '-o' for the sake of the "dashmstdout"
4233     # mode.  It turns out that the SunPro C++ compiler does not properly
4234     # handle '-M -o', and we need to detect this.  Also, some Intel
4235     # versions had trouble with output in subdirs.
4236     am__obj=sub/conftest.${OBJEXT-o}
4237     am__minus_obj="-o $am__obj"
4238     case $depmode in
4239     gcc)
4240       # This depmode causes a compiler race in universal mode.
4241       test "$am__universal" = false || continue
4242       ;;
4243     nosideeffect)
4244       # After this tag, mechanisms are not by side-effect, so they'll
4245       # only be used when explicitly requested.
4246       if test "x$enable_dependency_tracking" = xyes; then
4247         continue
4248       else
4249         break
4250       fi
4251       ;;
4252     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4253       # This compiler won't grok '-c -o', but also, the minuso test has
4254       # not run yet.  These depmodes are late enough in the game, and
4255       # so weak that their functioning should not be impacted.
4256       am__obj=conftest.${OBJEXT-o}
4257       am__minus_obj=
4258       ;;
4259     none) break ;;
4260     esac
4261     if depmode=$depmode \
4262        source=sub/conftest.c object=$am__obj \
4263        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4264        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4265          >/dev/null 2>conftest.err &&
4266        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4267        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4268        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4269        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4270       # icc doesn't choke on unknown options, it will just issue warnings
4271       # or remarks (even with -Werror).  So we grep stderr for any message
4272       # that says an option was ignored or not supported.
4273       # When given -MP, icc 7.0 and 7.1 complain thusly:
4274       #   icc: Command line warning: ignoring option '-M'; no argument required
4275       # The diagnosis changed in icc 8.0:
4276       #   icc: Command line remark: option '-MP' not supported
4277       if (grep 'ignoring option' conftest.err ||
4278           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4279         am_cv_CC_dependencies_compiler_type=$depmode
4280         break
4281       fi
4282     fi
4283   done
4284
4285   cd ..
4286   rm -rf conftest.dir
4287 else
4288   am_cv_CC_dependencies_compiler_type=none
4289 fi
4290
4291 fi
4292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4293 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4294 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4295
4296  if
4297   test "x$enable_dependency_tracking" != xno \
4298   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4299   am__fastdepCC_TRUE=
4300   am__fastdepCC_FALSE='#'
4301 else
4302   am__fastdepCC_TRUE='#'
4303   am__fastdepCC_FALSE=
4304 fi
4305
4306
4307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4308 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4309 if ${ac_cv_path_SED+:} false; then :
4310   $as_echo_n "(cached) " >&6
4311 else
4312             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4313      for ac_i in 1 2 3 4 5 6 7; do
4314        ac_script="$ac_script$as_nl$ac_script"
4315      done
4316      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4317      { ac_script=; unset ac_script;}
4318      if test -z "$SED"; then
4319   ac_path_SED_found=false
4320   # Loop through the user's path and test for each of PROGNAME-LIST
4321   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4322 for as_dir in $PATH
4323 do
4324   IFS=$as_save_IFS
4325   test -z "$as_dir" && as_dir=.
4326     for ac_prog in sed gsed; do
4327     for ac_exec_ext in '' $ac_executable_extensions; do
4328       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4329       as_fn_executable_p "$ac_path_SED" || continue
4330 # Check for GNU ac_path_SED and select it if it is found.
4331   # Check for GNU $ac_path_SED
4332 case `"$ac_path_SED" --version 2>&1` in
4333 *GNU*)
4334   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4335 *)
4336   ac_count=0
4337   $as_echo_n 0123456789 >"conftest.in"
4338   while :
4339   do
4340     cat "conftest.in" "conftest.in" >"conftest.tmp"
4341     mv "conftest.tmp" "conftest.in"
4342     cp "conftest.in" "conftest.nl"
4343     $as_echo '' >> "conftest.nl"
4344     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4345     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4346     as_fn_arith $ac_count + 1 && ac_count=$as_val
4347     if test $ac_count -gt ${ac_path_SED_max-0}; then
4348       # Best one so far, save it but keep looking for a better one
4349       ac_cv_path_SED="$ac_path_SED"
4350       ac_path_SED_max=$ac_count
4351     fi
4352     # 10*(2^10) chars as input seems more than enough
4353     test $ac_count -gt 10 && break
4354   done
4355   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4356 esac
4357
4358       $ac_path_SED_found && break 3
4359     done
4360   done
4361   done
4362 IFS=$as_save_IFS
4363   if test -z "$ac_cv_path_SED"; then
4364     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4365   fi
4366 else
4367   ac_cv_path_SED=$SED
4368 fi
4369
4370 fi
4371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4372 $as_echo "$ac_cv_path_SED" >&6; }
4373  SED="$ac_cv_path_SED"
4374   rm -f conftest.sed
4375
4376 test -z "$SED" && SED=sed
4377 Xsed="$SED -e 1s/^X//"
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4390 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4391 if ${ac_cv_path_GREP+:} false; then :
4392   $as_echo_n "(cached) " >&6
4393 else
4394   if test -z "$GREP"; then
4395   ac_path_GREP_found=false
4396   # Loop through the user's path and test for each of PROGNAME-LIST
4397   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4398 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4399 do
4400   IFS=$as_save_IFS
4401   test -z "$as_dir" && as_dir=.
4402     for ac_prog in grep ggrep; do
4403     for ac_exec_ext in '' $ac_executable_extensions; do
4404       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4405       as_fn_executable_p "$ac_path_GREP" || continue
4406 # Check for GNU ac_path_GREP and select it if it is found.
4407   # Check for GNU $ac_path_GREP
4408 case `"$ac_path_GREP" --version 2>&1` in
4409 *GNU*)
4410   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4411 *)
4412   ac_count=0
4413   $as_echo_n 0123456789 >"conftest.in"
4414   while :
4415   do
4416     cat "conftest.in" "conftest.in" >"conftest.tmp"
4417     mv "conftest.tmp" "conftest.in"
4418     cp "conftest.in" "conftest.nl"
4419     $as_echo 'GREP' >> "conftest.nl"
4420     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4421     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4422     as_fn_arith $ac_count + 1 && ac_count=$as_val
4423     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4424       # Best one so far, save it but keep looking for a better one
4425       ac_cv_path_GREP="$ac_path_GREP"
4426       ac_path_GREP_max=$ac_count
4427     fi
4428     # 10*(2^10) chars as input seems more than enough
4429     test $ac_count -gt 10 && break
4430   done
4431   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4432 esac
4433
4434       $ac_path_GREP_found && break 3
4435     done
4436   done
4437   done
4438 IFS=$as_save_IFS
4439   if test -z "$ac_cv_path_GREP"; then
4440     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4441   fi
4442 else
4443   ac_cv_path_GREP=$GREP
4444 fi
4445
4446 fi
4447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4448 $as_echo "$ac_cv_path_GREP" >&6; }
4449  GREP="$ac_cv_path_GREP"
4450
4451
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4453 $as_echo_n "checking for egrep... " >&6; }
4454 if ${ac_cv_path_EGREP+:} false; then :
4455   $as_echo_n "(cached) " >&6
4456 else
4457   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4458    then ac_cv_path_EGREP="$GREP -E"
4459    else
4460      if test -z "$EGREP"; then
4461   ac_path_EGREP_found=false
4462   # Loop through the user's path and test for each of PROGNAME-LIST
4463   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4464 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4465 do
4466   IFS=$as_save_IFS
4467   test -z "$as_dir" && as_dir=.
4468     for ac_prog in egrep; do
4469     for ac_exec_ext in '' $ac_executable_extensions; do
4470       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4471       as_fn_executable_p "$ac_path_EGREP" || continue
4472 # Check for GNU ac_path_EGREP and select it if it is found.
4473   # Check for GNU $ac_path_EGREP
4474 case `"$ac_path_EGREP" --version 2>&1` in
4475 *GNU*)
4476   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4477 *)
4478   ac_count=0
4479   $as_echo_n 0123456789 >"conftest.in"
4480   while :
4481   do
4482     cat "conftest.in" "conftest.in" >"conftest.tmp"
4483     mv "conftest.tmp" "conftest.in"
4484     cp "conftest.in" "conftest.nl"
4485     $as_echo 'EGREP' >> "conftest.nl"
4486     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4487     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4488     as_fn_arith $ac_count + 1 && ac_count=$as_val
4489     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4490       # Best one so far, save it but keep looking for a better one
4491       ac_cv_path_EGREP="$ac_path_EGREP"
4492       ac_path_EGREP_max=$ac_count
4493     fi
4494     # 10*(2^10) chars as input seems more than enough
4495     test $ac_count -gt 10 && break
4496   done
4497   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4498 esac
4499
4500       $ac_path_EGREP_found && break 3
4501     done
4502   done
4503   done
4504 IFS=$as_save_IFS
4505   if test -z "$ac_cv_path_EGREP"; then
4506     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4507   fi
4508 else
4509   ac_cv_path_EGREP=$EGREP
4510 fi
4511
4512    fi
4513 fi
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4515 $as_echo "$ac_cv_path_EGREP" >&6; }
4516  EGREP="$ac_cv_path_EGREP"
4517
4518
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4520 $as_echo_n "checking for fgrep... " >&6; }
4521 if ${ac_cv_path_FGREP+:} false; then :
4522   $as_echo_n "(cached) " >&6
4523 else
4524   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4525    then ac_cv_path_FGREP="$GREP -F"
4526    else
4527      if test -z "$FGREP"; then
4528   ac_path_FGREP_found=false
4529   # Loop through the user's path and test for each of PROGNAME-LIST
4530   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4531 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4532 do
4533   IFS=$as_save_IFS
4534   test -z "$as_dir" && as_dir=.
4535     for ac_prog in fgrep; do
4536     for ac_exec_ext in '' $ac_executable_extensions; do
4537       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4538       as_fn_executable_p "$ac_path_FGREP" || continue
4539 # Check for GNU ac_path_FGREP and select it if it is found.
4540   # Check for GNU $ac_path_FGREP
4541 case `"$ac_path_FGREP" --version 2>&1` in
4542 *GNU*)
4543   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4544 *)
4545   ac_count=0
4546   $as_echo_n 0123456789 >"conftest.in"
4547   while :
4548   do
4549     cat "conftest.in" "conftest.in" >"conftest.tmp"
4550     mv "conftest.tmp" "conftest.in"
4551     cp "conftest.in" "conftest.nl"
4552     $as_echo 'FGREP' >> "conftest.nl"
4553     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4554     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4555     as_fn_arith $ac_count + 1 && ac_count=$as_val
4556     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4557       # Best one so far, save it but keep looking for a better one
4558       ac_cv_path_FGREP="$ac_path_FGREP"
4559       ac_path_FGREP_max=$ac_count
4560     fi
4561     # 10*(2^10) chars as input seems more than enough
4562     test $ac_count -gt 10 && break
4563   done
4564   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4565 esac
4566
4567       $ac_path_FGREP_found && break 3
4568     done
4569   done
4570   done
4571 IFS=$as_save_IFS
4572   if test -z "$ac_cv_path_FGREP"; then
4573     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4574   fi
4575 else
4576   ac_cv_path_FGREP=$FGREP
4577 fi
4578
4579    fi
4580 fi
4581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4582 $as_echo "$ac_cv_path_FGREP" >&6; }
4583  FGREP="$ac_cv_path_FGREP"
4584
4585
4586 test -z "$GREP" && GREP=grep
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606 # Check whether --with-gnu-ld was given.
4607 if test "${with_gnu_ld+set}" = set; then :
4608   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4609 else
4610   with_gnu_ld=no
4611 fi
4612
4613 ac_prog=ld
4614 if test "$GCC" = yes; then
4615   # Check if gcc -print-prog-name=ld gives a path.
4616   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4617 $as_echo_n "checking for ld used by $CC... " >&6; }
4618   case $host in
4619   *-*-mingw*)
4620     # gcc leaves a trailing carriage return which upsets mingw
4621     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4622   *)
4623     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4624   esac
4625   case $ac_prog in
4626     # Accept absolute paths.
4627     [\\/]* | ?:[\\/]*)
4628       re_direlt='/[^/][^/]*/\.\./'
4629       # Canonicalize the pathname of ld
4630       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4631       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4632         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4633       done
4634       test -z "$LD" && LD="$ac_prog"
4635       ;;
4636   "")
4637     # If it fails, then pretend we aren't using GCC.
4638     ac_prog=ld
4639     ;;
4640   *)
4641     # If it is relative, then search for the first ld in PATH.
4642     with_gnu_ld=unknown
4643     ;;
4644   esac
4645 elif test "$with_gnu_ld" = yes; then
4646   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4647 $as_echo_n "checking for GNU ld... " >&6; }
4648 else
4649   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4650 $as_echo_n "checking for non-GNU ld... " >&6; }
4651 fi
4652 if ${lt_cv_path_LD+:} false; then :
4653   $as_echo_n "(cached) " >&6
4654 else
4655   if test -z "$LD"; then
4656   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4657   for ac_dir in $PATH; do
4658     IFS="$lt_save_ifs"
4659     test -z "$ac_dir" && ac_dir=.
4660     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4661       lt_cv_path_LD="$ac_dir/$ac_prog"
4662       # Check to see if the program is GNU ld.  I'd rather use --version,
4663       # but apparently some variants of GNU ld only accept -v.
4664       # Break only if it was the GNU/non-GNU ld that we prefer.
4665       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4666       *GNU* | *'with BFD'*)
4667         test "$with_gnu_ld" != no && break
4668         ;;
4669       *)
4670         test "$with_gnu_ld" != yes && break
4671         ;;
4672       esac
4673     fi
4674   done
4675   IFS="$lt_save_ifs"
4676 else
4677   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4678 fi
4679 fi
4680
4681 LD="$lt_cv_path_LD"
4682 if test -n "$LD"; then
4683   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4684 $as_echo "$LD" >&6; }
4685 else
4686   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4687 $as_echo "no" >&6; }
4688 fi
4689 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4691 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4692 if ${lt_cv_prog_gnu_ld+:} false; then :
4693   $as_echo_n "(cached) " >&6
4694 else
4695   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4696 case `$LD -v 2>&1 </dev/null` in
4697 *GNU* | *'with BFD'*)
4698   lt_cv_prog_gnu_ld=yes
4699   ;;
4700 *)
4701   lt_cv_prog_gnu_ld=no
4702   ;;
4703 esac
4704 fi
4705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4706 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4707 with_gnu_ld=$lt_cv_prog_gnu_ld
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4718 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4719 if ${lt_cv_path_NM+:} false; then :
4720   $as_echo_n "(cached) " >&6
4721 else
4722   if test -n "$NM"; then
4723   # Let the user override the test.
4724   lt_cv_path_NM="$NM"
4725 else
4726   lt_nm_to_check="${ac_tool_prefix}nm"
4727   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4728     lt_nm_to_check="$lt_nm_to_check nm"
4729   fi
4730   for lt_tmp_nm in $lt_nm_to_check; do
4731     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4732     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4733       IFS="$lt_save_ifs"
4734       test -z "$ac_dir" && ac_dir=.
4735       tmp_nm="$ac_dir/$lt_tmp_nm"
4736       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4737         # Check to see if the nm accepts a BSD-compat flag.
4738         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4739         #   nm: unknown option "B" ignored
4740         # Tru64's nm complains that /dev/null is an invalid object file
4741         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4742         */dev/null* | *'Invalid file or object type'*)
4743           lt_cv_path_NM="$tmp_nm -B"
4744           break
4745           ;;
4746         *)
4747           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4748           */dev/null*)
4749             lt_cv_path_NM="$tmp_nm -p"
4750             break
4751             ;;
4752           *)
4753             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4754             continue # so that we can try to find one that supports BSD flags
4755             ;;
4756           esac
4757           ;;
4758         esac
4759       fi
4760     done
4761     IFS="$lt_save_ifs"
4762   done
4763   : ${lt_cv_path_NM=no}
4764 fi
4765 fi
4766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4767 $as_echo "$lt_cv_path_NM" >&6; }
4768 if test "$lt_cv_path_NM" != "no"; then
4769   NM="$lt_cv_path_NM"
4770 else
4771   # Didn't find any BSD compatible name lister, look for dumpbin.
4772   if test -n "$DUMPBIN"; then :
4773     # Let the user override the test.
4774   else
4775     if test -n "$ac_tool_prefix"; then
4776   for ac_prog in dumpbin "link -dump"
4777   do
4778     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4779 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4781 $as_echo_n "checking for $ac_word... " >&6; }
4782 if ${ac_cv_prog_DUMPBIN+:} false; then :
4783   $as_echo_n "(cached) " >&6
4784 else
4785   if test -n "$DUMPBIN"; then
4786   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4787 else
4788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4789 for as_dir in $PATH
4790 do
4791   IFS=$as_save_IFS
4792   test -z "$as_dir" && as_dir=.
4793     for ac_exec_ext in '' $ac_executable_extensions; do
4794   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4795     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4796     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4797     break 2
4798   fi
4799 done
4800   done
4801 IFS=$as_save_IFS
4802
4803 fi
4804 fi
4805 DUMPBIN=$ac_cv_prog_DUMPBIN
4806 if test -n "$DUMPBIN"; then
4807   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4808 $as_echo "$DUMPBIN" >&6; }
4809 else
4810   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4811 $as_echo "no" >&6; }
4812 fi
4813
4814
4815     test -n "$DUMPBIN" && break
4816   done
4817 fi
4818 if test -z "$DUMPBIN"; then
4819   ac_ct_DUMPBIN=$DUMPBIN
4820   for ac_prog in dumpbin "link -dump"
4821 do
4822   # Extract the first word of "$ac_prog", so it can be a program name with args.
4823 set dummy $ac_prog; ac_word=$2
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4825 $as_echo_n "checking for $ac_word... " >&6; }
4826 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4827   $as_echo_n "(cached) " >&6
4828 else
4829   if test -n "$ac_ct_DUMPBIN"; then
4830   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4831 else
4832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4833 for as_dir in $PATH
4834 do
4835   IFS=$as_save_IFS
4836   test -z "$as_dir" && as_dir=.
4837     for ac_exec_ext in '' $ac_executable_extensions; do
4838   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4839     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4840     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4841     break 2
4842   fi
4843 done
4844   done
4845 IFS=$as_save_IFS
4846
4847 fi
4848 fi
4849 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4850 if test -n "$ac_ct_DUMPBIN"; then
4851   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4852 $as_echo "$ac_ct_DUMPBIN" >&6; }
4853 else
4854   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4855 $as_echo "no" >&6; }
4856 fi
4857
4858
4859   test -n "$ac_ct_DUMPBIN" && break
4860 done
4861
4862   if test "x$ac_ct_DUMPBIN" = x; then
4863     DUMPBIN=":"
4864   else
4865     case $cross_compiling:$ac_tool_warned in
4866 yes:)
4867 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4868 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4869 ac_tool_warned=yes ;;
4870 esac
4871     DUMPBIN=$ac_ct_DUMPBIN
4872   fi
4873 fi
4874
4875     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4876     *COFF*)
4877       DUMPBIN="$DUMPBIN -symbols"
4878       ;;
4879     *)
4880       DUMPBIN=:
4881       ;;
4882     esac
4883   fi
4884
4885   if test "$DUMPBIN" != ":"; then
4886     NM="$DUMPBIN"
4887   fi
4888 fi
4889 test -z "$NM" && NM=nm
4890
4891
4892
4893
4894
4895
4896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4897 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4898 if ${lt_cv_nm_interface+:} false; then :
4899   $as_echo_n "(cached) " >&6
4900 else
4901   lt_cv_nm_interface="BSD nm"
4902   echo "int some_variable = 0;" > conftest.$ac_ext
4903   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4904   (eval "$ac_compile" 2>conftest.err)
4905   cat conftest.err >&5
4906   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4907   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4908   cat conftest.err >&5
4909   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4910   cat conftest.out >&5
4911   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4912     lt_cv_nm_interface="MS dumpbin"
4913   fi
4914   rm -f conftest*
4915 fi
4916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4917 $as_echo "$lt_cv_nm_interface" >&6; }
4918
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4920 $as_echo_n "checking whether ln -s works... " >&6; }
4921 LN_S=$as_ln_s
4922 if test "$LN_S" = "ln -s"; then
4923   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4924 $as_echo "yes" >&6; }
4925 else
4926   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4927 $as_echo "no, using $LN_S" >&6; }
4928 fi
4929
4930 # find the maximum length of command line arguments
4931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4932 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4933 if ${lt_cv_sys_max_cmd_len+:} false; then :
4934   $as_echo_n "(cached) " >&6
4935 else
4936     i=0
4937   teststring="ABCD"
4938
4939   case $build_os in
4940   msdosdjgpp*)
4941     # On DJGPP, this test can blow up pretty badly due to problems in libc
4942     # (any single argument exceeding 2000 bytes causes a buffer overrun
4943     # during glob expansion).  Even if it were fixed, the result of this
4944     # check would be larger than it should be.
4945     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4946     ;;
4947
4948   gnu*)
4949     # Under GNU Hurd, this test is not required because there is
4950     # no limit to the length of command line arguments.
4951     # Libtool will interpret -1 as no limit whatsoever
4952     lt_cv_sys_max_cmd_len=-1;
4953     ;;
4954
4955   cygwin* | mingw* | cegcc*)
4956     # On Win9x/ME, this test blows up -- it succeeds, but takes
4957     # about 5 minutes as the teststring grows exponentially.
4958     # Worse, since 9x/ME are not pre-emptively multitasking,
4959     # you end up with a "frozen" computer, even though with patience
4960     # the test eventually succeeds (with a max line length of 256k).
4961     # Instead, let's just punt: use the minimum linelength reported by
4962     # all of the supported platforms: 8192 (on NT/2K/XP).
4963     lt_cv_sys_max_cmd_len=8192;
4964     ;;
4965
4966   mint*)
4967     # On MiNT this can take a long time and run out of memory.
4968     lt_cv_sys_max_cmd_len=8192;
4969     ;;
4970
4971   amigaos*)
4972     # On AmigaOS with pdksh, this test takes hours, literally.
4973     # So we just punt and use a minimum line length of 8192.
4974     lt_cv_sys_max_cmd_len=8192;
4975     ;;
4976
4977   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4978     # This has been around since 386BSD, at least.  Likely further.
4979     if test -x /sbin/sysctl; then
4980       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4981     elif test -x /usr/sbin/sysctl; then
4982       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4983     else
4984       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
4985     fi
4986     # And add a safety zone
4987     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4988     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4989     ;;
4990
4991   interix*)
4992     # We know the value 262144 and hardcode it with a safety zone (like BSD)
4993     lt_cv_sys_max_cmd_len=196608
4994     ;;
4995
4996   os2*)
4997     # The test takes a long time on OS/2.
4998     lt_cv_sys_max_cmd_len=8192
4999     ;;
5000
5001   osf*)
5002     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5003     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5004     # nice to cause kernel panics so lets avoid the loop below.
5005     # First set a reasonable default.
5006     lt_cv_sys_max_cmd_len=16384
5007     #
5008     if test -x /sbin/sysconfig; then
5009       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5010         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5011       esac
5012     fi
5013     ;;
5014   sco3.2v5*)
5015     lt_cv_sys_max_cmd_len=102400
5016     ;;
5017   sysv5* | sco5v6* | sysv4.2uw2*)
5018     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5019     if test -n "$kargmax"; then
5020       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5021     else
5022       lt_cv_sys_max_cmd_len=32768
5023     fi
5024     ;;
5025   *)
5026     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5027     if test -n "$lt_cv_sys_max_cmd_len"; then
5028       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5029       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5030     else
5031       # Make teststring a little bigger before we do anything with it.
5032       # a 1K string should be a reasonable start.
5033       for i in 1 2 3 4 5 6 7 8 ; do
5034         teststring=$teststring$teststring
5035       done
5036       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5037       # If test is not a shell built-in, we'll probably end up computing a
5038       # maximum length that is only half of the actual maximum length, but
5039       # we can't tell.
5040       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5041                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5042               test $i != 17 # 1/2 MB should be enough
5043       do
5044         i=`expr $i + 1`
5045         teststring=$teststring$teststring
5046       done
5047       # Only check the string length outside the loop.
5048       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5049       teststring=
5050       # Add a significant safety factor because C++ compilers can tack on
5051       # massive amounts of additional arguments before passing them to the
5052       # linker.  It appears as though 1/2 is a usable value.
5053       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5054     fi
5055     ;;
5056   esac
5057
5058 fi
5059
5060 if test -n $lt_cv_sys_max_cmd_len ; then
5061   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5062 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5063 else
5064   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5065 $as_echo "none" >&6; }
5066 fi
5067 max_cmd_len=$lt_cv_sys_max_cmd_len
5068
5069
5070
5071
5072
5073
5074 : ${CP="cp -f"}
5075 : ${MV="mv -f"}
5076 : ${RM="rm -f"}
5077
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5079 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5080 # Try some XSI features
5081 xsi_shell=no
5082 ( _lt_dummy="a/b/c"
5083   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5084       = c,a/b,b/c, \
5085     && eval 'test $(( 1 + 1 )) -eq 2 \
5086     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5087   && xsi_shell=yes
5088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5089 $as_echo "$xsi_shell" >&6; }
5090
5091
5092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5093 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5094 lt_shell_append=no
5095 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5096     >/dev/null 2>&1 \
5097   && lt_shell_append=yes
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5099 $as_echo "$lt_shell_append" >&6; }
5100
5101
5102 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5103   lt_unset=unset
5104 else
5105   lt_unset=false
5106 fi
5107
5108
5109
5110
5111
5112 # test EBCDIC or ASCII
5113 case `echo X|tr X '\101'` in
5114  A) # ASCII based system
5115     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5116   lt_SP2NL='tr \040 \012'
5117   lt_NL2SP='tr \015\012 \040\040'
5118   ;;
5119  *) # EBCDIC based system
5120   lt_SP2NL='tr \100 \n'
5121   lt_NL2SP='tr \r\n \100\100'
5122   ;;
5123 esac
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5134 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5135 if ${lt_cv_to_host_file_cmd+:} false; then :
5136   $as_echo_n "(cached) " >&6
5137 else
5138   case $host in
5139   *-*-mingw* )
5140     case $build in
5141       *-*-mingw* ) # actually msys
5142         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5143         ;;
5144       *-*-cygwin* )
5145         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5146         ;;
5147       * ) # otherwise, assume *nix
5148         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5149         ;;
5150     esac
5151     ;;
5152   *-*-cygwin* )
5153     case $build in
5154       *-*-mingw* ) # actually msys
5155         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5156         ;;
5157       *-*-cygwin* )
5158         lt_cv_to_host_file_cmd=func_convert_file_noop
5159         ;;
5160       * ) # otherwise, assume *nix
5161         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5162         ;;
5163     esac
5164     ;;
5165   * ) # unhandled hosts (and "normal" native builds)
5166     lt_cv_to_host_file_cmd=func_convert_file_noop
5167     ;;
5168 esac
5169
5170 fi
5171
5172 to_host_file_cmd=$lt_cv_to_host_file_cmd
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5174 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5175
5176
5177
5178
5179
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5181 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5182 if ${lt_cv_to_tool_file_cmd+:} false; then :
5183   $as_echo_n "(cached) " >&6
5184 else
5185   #assume ordinary cross tools, or native build.
5186 lt_cv_to_tool_file_cmd=func_convert_file_noop
5187 case $host in
5188   *-*-mingw* )
5189     case $build in
5190       *-*-mingw* ) # actually msys
5191         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5192         ;;
5193     esac
5194     ;;
5195 esac
5196
5197 fi
5198
5199 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5201 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5202
5203
5204
5205
5206
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5208 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5209 if ${lt_cv_ld_reload_flag+:} false; then :
5210   $as_echo_n "(cached) " >&6
5211 else
5212   lt_cv_ld_reload_flag='-r'
5213 fi
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5215 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5216 reload_flag=$lt_cv_ld_reload_flag
5217 case $reload_flag in
5218 "" | " "*) ;;
5219 *) reload_flag=" $reload_flag" ;;
5220 esac
5221 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5222 case $host_os in
5223   cygwin* | mingw* | pw32* | cegcc*)
5224     if test "$GCC" != yes; then
5225       reload_cmds=false
5226     fi
5227     ;;
5228   darwin*)
5229     if test "$GCC" = yes; then
5230       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5231     else
5232       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5233     fi
5234     ;;
5235 esac
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245 if test -n "$ac_tool_prefix"; then
5246   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5247 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5249 $as_echo_n "checking for $ac_word... " >&6; }
5250 if ${ac_cv_prog_OBJDUMP+:} false; then :
5251   $as_echo_n "(cached) " >&6
5252 else
5253   if test -n "$OBJDUMP"; then
5254   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5255 else
5256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5257 for as_dir in $PATH
5258 do
5259   IFS=$as_save_IFS
5260   test -z "$as_dir" && as_dir=.
5261     for ac_exec_ext in '' $ac_executable_extensions; do
5262   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5263     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5264     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5265     break 2
5266   fi
5267 done
5268   done
5269 IFS=$as_save_IFS
5270
5271 fi
5272 fi
5273 OBJDUMP=$ac_cv_prog_OBJDUMP
5274 if test -n "$OBJDUMP"; then
5275   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5276 $as_echo "$OBJDUMP" >&6; }
5277 else
5278   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5279 $as_echo "no" >&6; }
5280 fi
5281
5282
5283 fi
5284 if test -z "$ac_cv_prog_OBJDUMP"; then
5285   ac_ct_OBJDUMP=$OBJDUMP
5286   # Extract the first word of "objdump", so it can be a program name with args.
5287 set dummy objdump; ac_word=$2
5288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5289 $as_echo_n "checking for $ac_word... " >&6; }
5290 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5291   $as_echo_n "(cached) " >&6
5292 else
5293   if test -n "$ac_ct_OBJDUMP"; then
5294   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5295 else
5296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5297 for as_dir in $PATH
5298 do
5299   IFS=$as_save_IFS
5300   test -z "$as_dir" && as_dir=.
5301     for ac_exec_ext in '' $ac_executable_extensions; do
5302   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5303     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5304     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5305     break 2
5306   fi
5307 done
5308   done
5309 IFS=$as_save_IFS
5310
5311 fi
5312 fi
5313 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5314 if test -n "$ac_ct_OBJDUMP"; then
5315   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5316 $as_echo "$ac_ct_OBJDUMP" >&6; }
5317 else
5318   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5319 $as_echo "no" >&6; }
5320 fi
5321
5322   if test "x$ac_ct_OBJDUMP" = x; then
5323     OBJDUMP="false"
5324   else
5325     case $cross_compiling:$ac_tool_warned in
5326 yes:)
5327 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5328 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5329 ac_tool_warned=yes ;;
5330 esac
5331     OBJDUMP=$ac_ct_OBJDUMP
5332   fi
5333 else
5334   OBJDUMP="$ac_cv_prog_OBJDUMP"
5335 fi
5336
5337 test -z "$OBJDUMP" && OBJDUMP=objdump
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5348 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5349 if ${lt_cv_deplibs_check_method+:} false; then :
5350   $as_echo_n "(cached) " >&6
5351 else
5352   lt_cv_file_magic_cmd='$MAGIC_CMD'
5353 lt_cv_file_magic_test_file=
5354 lt_cv_deplibs_check_method='unknown'
5355 # Need to set the preceding variable on all platforms that support
5356 # interlibrary dependencies.
5357 # 'none' -- dependencies not supported.
5358 # `unknown' -- same as none, but documents that we really don't know.
5359 # 'pass_all' -- all dependencies passed with no checks.
5360 # 'test_compile' -- check by making test program.
5361 # 'file_magic [[regex]]' -- check by looking for files in library path
5362 # which responds to the $file_magic_cmd with a given extended regex.
5363 # If you have `file' or equivalent on your system and you're not sure
5364 # whether `pass_all' will *always* work, you probably want this one.
5365
5366 case $host_os in
5367 aix[4-9]*)
5368   lt_cv_deplibs_check_method=pass_all
5369   ;;
5370
5371 beos*)
5372   lt_cv_deplibs_check_method=pass_all
5373   ;;
5374
5375 bsdi[45]*)
5376   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5377   lt_cv_file_magic_cmd='/usr/bin/file -L'
5378   lt_cv_file_magic_test_file=/shlib/libc.so
5379   ;;
5380
5381 cygwin*)
5382   # func_win32_libid is a shell function defined in ltmain.sh
5383   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5384   lt_cv_file_magic_cmd='func_win32_libid'
5385   ;;
5386
5387 mingw* | pw32*)
5388   # Base MSYS/MinGW do not provide the 'file' command needed by
5389   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5390   # unless we find 'file', for example because we are cross-compiling.
5391   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5392   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5393     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5394     lt_cv_file_magic_cmd='func_win32_libid'
5395   else
5396     # Keep this pattern in sync with the one in func_win32_libid.
5397     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5398     lt_cv_file_magic_cmd='$OBJDUMP -f'
5399   fi
5400   ;;
5401
5402 cegcc*)
5403   # use the weaker test based on 'objdump'. See mingw*.
5404   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5405   lt_cv_file_magic_cmd='$OBJDUMP -f'
5406   ;;
5407
5408 darwin* | rhapsody*)
5409   lt_cv_deplibs_check_method=pass_all
5410   ;;
5411
5412 freebsd* | dragonfly*)
5413   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5414     case $host_cpu in
5415     i*86 )
5416       # Not sure whether the presence of OpenBSD here was a mistake.
5417       # Let's accept both of them until this is cleared up.
5418       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5419       lt_cv_file_magic_cmd=/usr/bin/file
5420       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5421       ;;
5422     esac
5423   else
5424     lt_cv_deplibs_check_method=pass_all
5425   fi
5426   ;;
5427
5428 gnu*)
5429   lt_cv_deplibs_check_method=pass_all
5430   ;;
5431
5432 haiku*)
5433   lt_cv_deplibs_check_method=pass_all
5434   ;;
5435
5436 hpux10.20* | hpux11*)
5437   lt_cv_file_magic_cmd=/usr/bin/file
5438   case $host_cpu in
5439   ia64*)
5440     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5441     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5442     ;;
5443   hppa*64*)
5444     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]'
5445     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5446     ;;
5447   *)
5448     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5449     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5450     ;;
5451   esac
5452   ;;
5453
5454 interix[3-9]*)
5455   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5456   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5457   ;;
5458
5459 irix5* | irix6* | nonstopux*)
5460   case $LD in
5461   *-32|*"-32 ") libmagic=32-bit;;
5462   *-n32|*"-n32 ") libmagic=N32;;
5463   *-64|*"-64 ") libmagic=64-bit;;
5464   *) libmagic=never-match;;
5465   esac
5466   lt_cv_deplibs_check_method=pass_all
5467   ;;
5468
5469 # This must be glibc/ELF.
5470 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5471   lt_cv_deplibs_check_method=pass_all
5472   ;;
5473
5474 netbsd*)
5475   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5476     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5477   else
5478     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5479   fi
5480   ;;
5481
5482 newos6*)
5483   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5484   lt_cv_file_magic_cmd=/usr/bin/file
5485   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5486   ;;
5487
5488 *nto* | *qnx*)
5489   lt_cv_deplibs_check_method=pass_all
5490   ;;
5491
5492 openbsd*)
5493   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5494     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5495   else
5496     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5497   fi
5498   ;;
5499
5500 osf3* | osf4* | osf5*)
5501   lt_cv_deplibs_check_method=pass_all
5502   ;;
5503
5504 rdos*)
5505   lt_cv_deplibs_check_method=pass_all
5506   ;;
5507
5508 solaris*)
5509   lt_cv_deplibs_check_method=pass_all
5510   ;;
5511
5512 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5513   lt_cv_deplibs_check_method=pass_all
5514   ;;
5515
5516 sysv4 | sysv4.3*)
5517   case $host_vendor in
5518   motorola)
5519     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]'
5520     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5521     ;;
5522   ncr)
5523     lt_cv_deplibs_check_method=pass_all
5524     ;;
5525   sequent)
5526     lt_cv_file_magic_cmd='/bin/file'
5527     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5528     ;;
5529   sni)
5530     lt_cv_file_magic_cmd='/bin/file'
5531     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5532     lt_cv_file_magic_test_file=/lib/libc.so
5533     ;;
5534   siemens)
5535     lt_cv_deplibs_check_method=pass_all
5536     ;;
5537   pc)
5538     lt_cv_deplibs_check_method=pass_all
5539     ;;
5540   esac
5541   ;;
5542
5543 tpf*)
5544   lt_cv_deplibs_check_method=pass_all
5545   ;;
5546 esac
5547
5548 fi
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5550 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5551
5552 file_magic_glob=
5553 want_nocaseglob=no
5554 if test "$build" = "$host"; then
5555   case $host_os in
5556   mingw* | pw32*)
5557     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5558       want_nocaseglob=yes
5559     else
5560       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5561     fi
5562     ;;
5563   esac
5564 fi
5565
5566 file_magic_cmd=$lt_cv_file_magic_cmd
5567 deplibs_check_method=$lt_cv_deplibs_check_method
5568 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591 if test -n "$ac_tool_prefix"; then
5592   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5593 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5595 $as_echo_n "checking for $ac_word... " >&6; }
5596 if ${ac_cv_prog_DLLTOOL+:} false; then :
5597   $as_echo_n "(cached) " >&6
5598 else
5599   if test -n "$DLLTOOL"; then
5600   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5601 else
5602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5603 for as_dir in $PATH
5604 do
5605   IFS=$as_save_IFS
5606   test -z "$as_dir" && as_dir=.
5607     for ac_exec_ext in '' $ac_executable_extensions; do
5608   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5609     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5610     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5611     break 2
5612   fi
5613 done
5614   done
5615 IFS=$as_save_IFS
5616
5617 fi
5618 fi
5619 DLLTOOL=$ac_cv_prog_DLLTOOL
5620 if test -n "$DLLTOOL"; then
5621   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5622 $as_echo "$DLLTOOL" >&6; }
5623 else
5624   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5625 $as_echo "no" >&6; }
5626 fi
5627
5628
5629 fi
5630 if test -z "$ac_cv_prog_DLLTOOL"; then
5631   ac_ct_DLLTOOL=$DLLTOOL
5632   # Extract the first word of "dlltool", so it can be a program name with args.
5633 set dummy dlltool; ac_word=$2
5634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5635 $as_echo_n "checking for $ac_word... " >&6; }
5636 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5637   $as_echo_n "(cached) " >&6
5638 else
5639   if test -n "$ac_ct_DLLTOOL"; then
5640   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5641 else
5642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5643 for as_dir in $PATH
5644 do
5645   IFS=$as_save_IFS
5646   test -z "$as_dir" && as_dir=.
5647     for ac_exec_ext in '' $ac_executable_extensions; do
5648   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5649     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5650     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5651     break 2
5652   fi
5653 done
5654   done
5655 IFS=$as_save_IFS
5656
5657 fi
5658 fi
5659 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5660 if test -n "$ac_ct_DLLTOOL"; then
5661   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5662 $as_echo "$ac_ct_DLLTOOL" >&6; }
5663 else
5664   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5665 $as_echo "no" >&6; }
5666 fi
5667
5668   if test "x$ac_ct_DLLTOOL" = x; then
5669     DLLTOOL="false"
5670   else
5671     case $cross_compiling:$ac_tool_warned in
5672 yes:)
5673 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5674 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5675 ac_tool_warned=yes ;;
5676 esac
5677     DLLTOOL=$ac_ct_DLLTOOL
5678   fi
5679 else
5680   DLLTOOL="$ac_cv_prog_DLLTOOL"
5681 fi
5682
5683 test -z "$DLLTOOL" && DLLTOOL=dlltool
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5695 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5696 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5697   $as_echo_n "(cached) " >&6
5698 else
5699   lt_cv_sharedlib_from_linklib_cmd='unknown'
5700
5701 case $host_os in
5702 cygwin* | mingw* | pw32* | cegcc*)
5703   # two different shell functions defined in ltmain.sh
5704   # decide which to use based on capabilities of $DLLTOOL
5705   case `$DLLTOOL --help 2>&1` in
5706   *--identify-strict*)
5707     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5708     ;;
5709   *)
5710     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5711     ;;
5712   esac
5713   ;;
5714 *)
5715   # fallback: assume linklib IS sharedlib
5716   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5717   ;;
5718 esac
5719
5720 fi
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5722 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5723 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5724 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5725
5726
5727
5728
5729
5730
5731
5732
5733 if test -n "$ac_tool_prefix"; then
5734   for ac_prog in ar
5735   do
5736     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5737 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5739 $as_echo_n "checking for $ac_word... " >&6; }
5740 if ${ac_cv_prog_AR+:} false; then :
5741   $as_echo_n "(cached) " >&6
5742 else
5743   if test -n "$AR"; then
5744   ac_cv_prog_AR="$AR" # Let the user override the test.
5745 else
5746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5747 for as_dir in $PATH
5748 do
5749   IFS=$as_save_IFS
5750   test -z "$as_dir" && as_dir=.
5751     for ac_exec_ext in '' $ac_executable_extensions; do
5752   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5753     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5754     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5755     break 2
5756   fi
5757 done
5758   done
5759 IFS=$as_save_IFS
5760
5761 fi
5762 fi
5763 AR=$ac_cv_prog_AR
5764 if test -n "$AR"; then
5765   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5766 $as_echo "$AR" >&6; }
5767 else
5768   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5769 $as_echo "no" >&6; }
5770 fi
5771
5772
5773     test -n "$AR" && break
5774   done
5775 fi
5776 if test -z "$AR"; then
5777   ac_ct_AR=$AR
5778   for ac_prog in ar
5779 do
5780   # Extract the first word of "$ac_prog", so it can be a program name with args.
5781 set dummy $ac_prog; ac_word=$2
5782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5783 $as_echo_n "checking for $ac_word... " >&6; }
5784 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5785   $as_echo_n "(cached) " >&6
5786 else
5787   if test -n "$ac_ct_AR"; then
5788   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5789 else
5790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5791 for as_dir in $PATH
5792 do
5793   IFS=$as_save_IFS
5794   test -z "$as_dir" && as_dir=.
5795     for ac_exec_ext in '' $ac_executable_extensions; do
5796   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5797     ac_cv_prog_ac_ct_AR="$ac_prog"
5798     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5799     break 2
5800   fi
5801 done
5802   done
5803 IFS=$as_save_IFS
5804
5805 fi
5806 fi
5807 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5808 if test -n "$ac_ct_AR"; then
5809   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5810 $as_echo "$ac_ct_AR" >&6; }
5811 else
5812   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5813 $as_echo "no" >&6; }
5814 fi
5815
5816
5817   test -n "$ac_ct_AR" && break
5818 done
5819
5820   if test "x$ac_ct_AR" = x; then
5821     AR="false"
5822   else
5823     case $cross_compiling:$ac_tool_warned in
5824 yes:)
5825 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5826 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5827 ac_tool_warned=yes ;;
5828 esac
5829     AR=$ac_ct_AR
5830   fi
5831 fi
5832
5833 : ${AR=ar}
5834 : ${AR_FLAGS=cru}
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5847 $as_echo_n "checking for archiver @FILE support... " >&6; }
5848 if ${lt_cv_ar_at_file+:} false; then :
5849   $as_echo_n "(cached) " >&6
5850 else
5851   lt_cv_ar_at_file=no
5852    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5853 /* end confdefs.h.  */
5854
5855 int
5856 main ()
5857 {
5858
5859   ;
5860   return 0;
5861 }
5862 _ACEOF
5863 if ac_fn_c_try_compile "$LINENO"; then :
5864   echo conftest.$ac_objext > conftest.lst
5865       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5866       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5867   (eval $lt_ar_try) 2>&5
5868   ac_status=$?
5869   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5870   test $ac_status = 0; }
5871       if test "$ac_status" -eq 0; then
5872         # Ensure the archiver fails upon bogus file names.
5873         rm -f conftest.$ac_objext libconftest.a
5874         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5875   (eval $lt_ar_try) 2>&5
5876   ac_status=$?
5877   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5878   test $ac_status = 0; }
5879         if test "$ac_status" -ne 0; then
5880           lt_cv_ar_at_file=@
5881         fi
5882       fi
5883       rm -f conftest.* libconftest.a
5884
5885 fi
5886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5887
5888 fi
5889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5890 $as_echo "$lt_cv_ar_at_file" >&6; }
5891
5892 if test "x$lt_cv_ar_at_file" = xno; then
5893   archiver_list_spec=
5894 else
5895   archiver_list_spec=$lt_cv_ar_at_file
5896 fi
5897
5898
5899
5900
5901
5902
5903
5904 if test -n "$ac_tool_prefix"; then
5905   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5906 set dummy ${ac_tool_prefix}strip; ac_word=$2
5907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5908 $as_echo_n "checking for $ac_word... " >&6; }
5909 if ${ac_cv_prog_STRIP+:} false; then :
5910   $as_echo_n "(cached) " >&6
5911 else
5912   if test -n "$STRIP"; then
5913   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5914 else
5915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5916 for as_dir in $PATH
5917 do
5918   IFS=$as_save_IFS
5919   test -z "$as_dir" && as_dir=.
5920     for ac_exec_ext in '' $ac_executable_extensions; do
5921   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5922     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5923     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5924     break 2
5925   fi
5926 done
5927   done
5928 IFS=$as_save_IFS
5929
5930 fi
5931 fi
5932 STRIP=$ac_cv_prog_STRIP
5933 if test -n "$STRIP"; then
5934   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5935 $as_echo "$STRIP" >&6; }
5936 else
5937   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5938 $as_echo "no" >&6; }
5939 fi
5940
5941
5942 fi
5943 if test -z "$ac_cv_prog_STRIP"; then
5944   ac_ct_STRIP=$STRIP
5945   # Extract the first word of "strip", so it can be a program name with args.
5946 set dummy strip; ac_word=$2
5947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5948 $as_echo_n "checking for $ac_word... " >&6; }
5949 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5950   $as_echo_n "(cached) " >&6
5951 else
5952   if test -n "$ac_ct_STRIP"; then
5953   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5954 else
5955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5956 for as_dir in $PATH
5957 do
5958   IFS=$as_save_IFS
5959   test -z "$as_dir" && as_dir=.
5960     for ac_exec_ext in '' $ac_executable_extensions; do
5961   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5962     ac_cv_prog_ac_ct_STRIP="strip"
5963     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5964     break 2
5965   fi
5966 done
5967   done
5968 IFS=$as_save_IFS
5969
5970 fi
5971 fi
5972 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5973 if test -n "$ac_ct_STRIP"; then
5974   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5975 $as_echo "$ac_ct_STRIP" >&6; }
5976 else
5977   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5978 $as_echo "no" >&6; }
5979 fi
5980
5981   if test "x$ac_ct_STRIP" = x; then
5982     STRIP=":"
5983   else
5984     case $cross_compiling:$ac_tool_warned in
5985 yes:)
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5987 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5988 ac_tool_warned=yes ;;
5989 esac
5990     STRIP=$ac_ct_STRIP
5991   fi
5992 else
5993   STRIP="$ac_cv_prog_STRIP"
5994 fi
5995
5996 test -z "$STRIP" && STRIP=:
5997
5998
5999
6000
6001
6002
6003 if test -n "$ac_tool_prefix"; then
6004   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6005 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6007 $as_echo_n "checking for $ac_word... " >&6; }
6008 if ${ac_cv_prog_RANLIB+:} false; then :
6009   $as_echo_n "(cached) " >&6
6010 else
6011   if test -n "$RANLIB"; then
6012   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6013 else
6014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6015 for as_dir in $PATH
6016 do
6017   IFS=$as_save_IFS
6018   test -z "$as_dir" && as_dir=.
6019     for ac_exec_ext in '' $ac_executable_extensions; do
6020   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6021     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6022     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6023     break 2
6024   fi
6025 done
6026   done
6027 IFS=$as_save_IFS
6028
6029 fi
6030 fi
6031 RANLIB=$ac_cv_prog_RANLIB
6032 if test -n "$RANLIB"; then
6033   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6034 $as_echo "$RANLIB" >&6; }
6035 else
6036   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6037 $as_echo "no" >&6; }
6038 fi
6039
6040
6041 fi
6042 if test -z "$ac_cv_prog_RANLIB"; then
6043   ac_ct_RANLIB=$RANLIB
6044   # Extract the first word of "ranlib", so it can be a program name with args.
6045 set dummy ranlib; ac_word=$2
6046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6047 $as_echo_n "checking for $ac_word... " >&6; }
6048 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6049   $as_echo_n "(cached) " >&6
6050 else
6051   if test -n "$ac_ct_RANLIB"; then
6052   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6053 else
6054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6055 for as_dir in $PATH
6056 do
6057   IFS=$as_save_IFS
6058   test -z "$as_dir" && as_dir=.
6059     for ac_exec_ext in '' $ac_executable_extensions; do
6060   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6061     ac_cv_prog_ac_ct_RANLIB="ranlib"
6062     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6063     break 2
6064   fi
6065 done
6066   done
6067 IFS=$as_save_IFS
6068
6069 fi
6070 fi
6071 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6072 if test -n "$ac_ct_RANLIB"; then
6073   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6074 $as_echo "$ac_ct_RANLIB" >&6; }
6075 else
6076   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6077 $as_echo "no" >&6; }
6078 fi
6079
6080   if test "x$ac_ct_RANLIB" = x; then
6081     RANLIB=":"
6082   else
6083     case $cross_compiling:$ac_tool_warned in
6084 yes:)
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6086 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6087 ac_tool_warned=yes ;;
6088 esac
6089     RANLIB=$ac_ct_RANLIB
6090   fi
6091 else
6092   RANLIB="$ac_cv_prog_RANLIB"
6093 fi
6094
6095 test -z "$RANLIB" && RANLIB=:
6096
6097
6098
6099
6100
6101
6102 # Determine commands to create old-style static archives.
6103 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6104 old_postinstall_cmds='chmod 644 $oldlib'
6105 old_postuninstall_cmds=
6106
6107 if test -n "$RANLIB"; then
6108   case $host_os in
6109   openbsd*)
6110     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6111     ;;
6112   *)
6113     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6114     ;;
6115   esac
6116   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6117 fi
6118
6119 case $host_os in
6120   darwin*)
6121     lock_old_archive_extraction=yes ;;
6122   *)
6123     lock_old_archive_extraction=no ;;
6124 esac
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164 # If no C compiler was specified, use CC.
6165 LTCC=${LTCC-"$CC"}
6166
6167 # If no C compiler flags were specified, use CFLAGS.
6168 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6169
6170 # Allow CC to be a program name with arguments.
6171 compiler=$CC
6172
6173
6174 # Check for command to grab the raw symbol name followed by C symbol from nm.
6175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6176 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6177 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6178   $as_echo_n "(cached) " >&6
6179 else
6180
6181 # These are sane defaults that work on at least a few old systems.
6182 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6183
6184 # Character class describing NM global symbol codes.
6185 symcode='[BCDEGRST]'
6186
6187 # Regexp to match symbols that can be accessed directly from C.
6188 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6189
6190 # Define system-specific variables.
6191 case $host_os in
6192 aix*)
6193   symcode='[BCDT]'
6194   ;;
6195 cygwin* | mingw* | pw32* | cegcc*)
6196   symcode='[ABCDGISTW]'
6197   ;;
6198 hpux*)
6199   if test "$host_cpu" = ia64; then
6200     symcode='[ABCDEGRST]'
6201   fi
6202   ;;
6203 irix* | nonstopux*)
6204   symcode='[BCDEGRST]'
6205   ;;
6206 osf*)
6207   symcode='[BCDEGQRST]'
6208   ;;
6209 solaris*)
6210   symcode='[BDRT]'
6211   ;;
6212 sco3.2v5*)
6213   symcode='[DT]'
6214   ;;
6215 sysv4.2uw2*)
6216   symcode='[DT]'
6217   ;;
6218 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6219   symcode='[ABDT]'
6220   ;;
6221 sysv4)
6222   symcode='[DFNSTU]'
6223   ;;
6224 esac
6225
6226 # If we're using GNU nm, then use its standard symbol codes.
6227 case `$NM -V 2>&1` in
6228 *GNU* | *'with BFD'*)
6229   symcode='[ABCDGIRSTW]' ;;
6230 esac
6231
6232 # Transform an extracted symbol line into a proper C declaration.
6233 # Some systems (esp. on ia64) link data and code symbols differently,
6234 # so use this general approach.
6235 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6236
6237 # Transform an extracted symbol line into symbol name and symbol address
6238 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6239 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'"
6240
6241 # Handle CRLF in mingw tool chain
6242 opt_cr=
6243 case $build_os in
6244 mingw*)
6245   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6246   ;;
6247 esac
6248
6249 # Try without a prefix underscore, then with it.
6250 for ac_symprfx in "" "_"; do
6251
6252   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6253   symxfrm="\\1 $ac_symprfx\\2 \\2"
6254
6255   # Write the raw and C identifiers.
6256   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6257     # Fake it for dumpbin and say T for any non-static function
6258     # and D for any global variable.
6259     # Also find C++ and __fastcall symbols from MSVC++,
6260     # which start with @ or ?.
6261     lt_cv_sys_global_symbol_pipe="$AWK '"\
6262 "     {last_section=section; section=\$ 3};"\
6263 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6264 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6265 "     \$ 0!~/External *\|/{next};"\
6266 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6267 "     {if(hide[section]) next};"\
6268 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6269 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6270 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6271 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6272 "     ' prfx=^$ac_symprfx"
6273   else
6274     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6275   fi
6276   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6277
6278   # Check to see that the pipe works correctly.
6279   pipe_works=no
6280
6281   rm -f conftest*
6282   cat > conftest.$ac_ext <<_LT_EOF
6283 #ifdef __cplusplus
6284 extern "C" {
6285 #endif
6286 char nm_test_var;
6287 void nm_test_func(void);
6288 void nm_test_func(void){}
6289 #ifdef __cplusplus
6290 }
6291 #endif
6292 int main(){nm_test_var='a';nm_test_func();return(0);}
6293 _LT_EOF
6294
6295   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6296   (eval $ac_compile) 2>&5
6297   ac_status=$?
6298   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6299   test $ac_status = 0; }; then
6300     # Now try to grab the symbols.
6301     nlist=conftest.nm
6302     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6303   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6304   ac_status=$?
6305   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6306   test $ac_status = 0; } && test -s "$nlist"; then
6307       # Try sorting and uniquifying the output.
6308       if sort "$nlist" | uniq > "$nlist"T; then
6309         mv -f "$nlist"T "$nlist"
6310       else
6311         rm -f "$nlist"T
6312       fi
6313
6314       # Make sure that we snagged all the symbols we need.
6315       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6316         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6317           cat <<_LT_EOF > conftest.$ac_ext
6318 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6319 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6320 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6321    relocations are performed -- see ld's documentation on pseudo-relocs.  */
6322 # define LT_DLSYM_CONST
6323 #elif defined(__osf__)
6324 /* This system does not cope well with relocations in const data.  */
6325 # define LT_DLSYM_CONST
6326 #else
6327 # define LT_DLSYM_CONST const
6328 #endif
6329
6330 #ifdef __cplusplus
6331 extern "C" {
6332 #endif
6333
6334 _LT_EOF
6335           # Now generate the symbol file.
6336           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6337
6338           cat <<_LT_EOF >> conftest.$ac_ext
6339
6340 /* The mapping between symbol names and symbols.  */
6341 LT_DLSYM_CONST struct {
6342   const char *name;
6343   void       *address;
6344 }
6345 lt__PROGRAM__LTX_preloaded_symbols[] =
6346 {
6347   { "@PROGRAM@", (void *) 0 },
6348 _LT_EOF
6349           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6350           cat <<\_LT_EOF >> conftest.$ac_ext
6351   {0, (void *) 0}
6352 };
6353
6354 /* This works around a problem in FreeBSD linker */
6355 #ifdef FREEBSD_WORKAROUND
6356 static const void *lt_preloaded_setup() {
6357   return lt__PROGRAM__LTX_preloaded_symbols;
6358 }
6359 #endif
6360
6361 #ifdef __cplusplus
6362 }
6363 #endif
6364 _LT_EOF
6365           # Now try linking the two files.
6366           mv conftest.$ac_objext conftstm.$ac_objext
6367           lt_globsym_save_LIBS=$LIBS
6368           lt_globsym_save_CFLAGS=$CFLAGS
6369           LIBS="conftstm.$ac_objext"
6370           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6371           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6372   (eval $ac_link) 2>&5
6373   ac_status=$?
6374   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6375   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6376             pipe_works=yes
6377           fi
6378           LIBS=$lt_globsym_save_LIBS
6379           CFLAGS=$lt_globsym_save_CFLAGS
6380         else
6381           echo "cannot find nm_test_func in $nlist" >&5
6382         fi
6383       else
6384         echo "cannot find nm_test_var in $nlist" >&5
6385       fi
6386     else
6387       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6388     fi
6389   else
6390     echo "$progname: failed program was:" >&5
6391     cat conftest.$ac_ext >&5
6392   fi
6393   rm -rf conftest* conftst*
6394
6395   # Do not use the global_symbol_pipe unless it works.
6396   if test "$pipe_works" = yes; then
6397     break
6398   else
6399     lt_cv_sys_global_symbol_pipe=
6400   fi
6401 done
6402
6403 fi
6404
6405 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6406   lt_cv_sys_global_symbol_to_cdecl=
6407 fi
6408 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6409   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6410 $as_echo "failed" >&6; }
6411 else
6412   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6413 $as_echo "ok" >&6; }
6414 fi
6415
6416 # Response file support.
6417 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6418   nm_file_list_spec='@'
6419 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6420   nm_file_list_spec='@'
6421 fi
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6450 $as_echo_n "checking for sysroot... " >&6; }
6451
6452 # Check whether --with-sysroot was given.
6453 if test "${with_sysroot+set}" = set; then :
6454   withval=$with_sysroot;
6455 else
6456   with_sysroot=no
6457 fi
6458
6459
6460 lt_sysroot=
6461 case ${with_sysroot} in #(
6462  yes)
6463    if test "$GCC" = yes; then
6464      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6465    fi
6466    ;; #(
6467  /*)
6468    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6469    ;; #(
6470  no|'')
6471    ;; #(
6472  *)
6473    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6474 $as_echo "${with_sysroot}" >&6; }
6475    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6476    ;;
6477 esac
6478
6479  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6480 $as_echo "${lt_sysroot:-no}" >&6; }
6481
6482
6483
6484
6485
6486 # Check whether --enable-libtool-lock was given.
6487 if test "${enable_libtool_lock+set}" = set; then :
6488   enableval=$enable_libtool_lock;
6489 fi
6490
6491 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6492
6493 # Some flags need to be propagated to the compiler or linker for good
6494 # libtool support.
6495 case $host in
6496 ia64-*-hpux*)
6497   # Find out which ABI we are using.
6498   echo 'int i;' > conftest.$ac_ext
6499   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6500   (eval $ac_compile) 2>&5
6501   ac_status=$?
6502   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6503   test $ac_status = 0; }; then
6504     case `/usr/bin/file conftest.$ac_objext` in
6505       *ELF-32*)
6506         HPUX_IA64_MODE="32"
6507         ;;
6508       *ELF-64*)
6509         HPUX_IA64_MODE="64"
6510         ;;
6511     esac
6512   fi
6513   rm -rf conftest*
6514   ;;
6515 *-*-irix6*)
6516   # Find out which ABI we are using.
6517   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6518   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6519   (eval $ac_compile) 2>&5
6520   ac_status=$?
6521   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6522   test $ac_status = 0; }; then
6523     if test "$lt_cv_prog_gnu_ld" = yes; then
6524       case `/usr/bin/file conftest.$ac_objext` in
6525         *32-bit*)
6526           LD="${LD-ld} -melf32bsmip"
6527           ;;
6528         *N32*)
6529           LD="${LD-ld} -melf32bmipn32"
6530           ;;
6531         *64-bit*)
6532           LD="${LD-ld} -melf64bmip"
6533         ;;
6534       esac
6535     else
6536       case `/usr/bin/file conftest.$ac_objext` in
6537         *32-bit*)
6538           LD="${LD-ld} -32"
6539           ;;
6540         *N32*)
6541           LD="${LD-ld} -n32"
6542           ;;
6543         *64-bit*)
6544           LD="${LD-ld} -64"
6545           ;;
6546       esac
6547     fi
6548   fi
6549   rm -rf conftest*
6550   ;;
6551
6552 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6553 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6554   # Find out which ABI we are using.
6555   echo 'int i;' > conftest.$ac_ext
6556   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6557   (eval $ac_compile) 2>&5
6558   ac_status=$?
6559   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6560   test $ac_status = 0; }; then
6561     case `/usr/bin/file conftest.o` in
6562       *32-bit*)
6563         case $host in
6564           x86_64-*kfreebsd*-gnu)
6565             LD="${LD-ld} -m elf_i386_fbsd"
6566             ;;
6567           x86_64-*linux*)
6568             LD="${LD-ld} -m elf_i386"
6569             ;;
6570           ppc64-*linux*|powerpc64-*linux*)
6571             LD="${LD-ld} -m elf32ppclinux"
6572             ;;
6573           s390x-*linux*)
6574             LD="${LD-ld} -m elf_s390"
6575             ;;
6576           sparc64-*linux*)
6577             LD="${LD-ld} -m elf32_sparc"
6578             ;;
6579         esac
6580         ;;
6581       *64-bit*)
6582         case $host in
6583           x86_64-*kfreebsd*-gnu)
6584             LD="${LD-ld} -m elf_x86_64_fbsd"
6585             ;;
6586           x86_64-*linux*)
6587             LD="${LD-ld} -m elf_x86_64"
6588             ;;
6589           ppc*-*linux*|powerpc*-*linux*)
6590             LD="${LD-ld} -m elf64ppc"
6591             ;;
6592           s390*-*linux*|s390*-*tpf*)
6593             LD="${LD-ld} -m elf64_s390"
6594             ;;
6595           sparc*-*linux*)
6596             LD="${LD-ld} -m elf64_sparc"
6597             ;;
6598         esac
6599         ;;
6600     esac
6601   fi
6602   rm -rf conftest*
6603   ;;
6604
6605 *-*-sco3.2v5*)
6606   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6607   SAVE_CFLAGS="$CFLAGS"
6608   CFLAGS="$CFLAGS -belf"
6609   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6610 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6611 if ${lt_cv_cc_needs_belf+:} false; then :
6612   $as_echo_n "(cached) " >&6
6613 else
6614   ac_ext=c
6615 ac_cpp='$CPP $CPPFLAGS'
6616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6619
6620      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6621 /* end confdefs.h.  */
6622
6623 int
6624 main ()
6625 {
6626
6627   ;
6628   return 0;
6629 }
6630 _ACEOF
6631 if ac_fn_c_try_link "$LINENO"; then :
6632   lt_cv_cc_needs_belf=yes
6633 else
6634   lt_cv_cc_needs_belf=no
6635 fi
6636 rm -f core conftest.err conftest.$ac_objext \
6637     conftest$ac_exeext conftest.$ac_ext
6638      ac_ext=c
6639 ac_cpp='$CPP $CPPFLAGS'
6640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6643
6644 fi
6645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6646 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6647   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6648     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6649     CFLAGS="$SAVE_CFLAGS"
6650   fi
6651   ;;
6652 *-*solaris*)
6653   # Find out which ABI we are using.
6654   echo 'int i;' > conftest.$ac_ext
6655   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6656   (eval $ac_compile) 2>&5
6657   ac_status=$?
6658   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6659   test $ac_status = 0; }; then
6660     case `/usr/bin/file conftest.o` in
6661     *64-bit*)
6662       case $lt_cv_prog_gnu_ld in
6663       yes*)
6664         case $host in
6665         i?86-*-solaris*)
6666           LD="${LD-ld} -m elf_x86_64"
6667           ;;
6668         sparc*-*-solaris*)
6669           LD="${LD-ld} -m elf64_sparc"
6670           ;;
6671         esac
6672         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6673         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6674           LD="${LD-ld}_sol2"
6675         fi
6676         ;;
6677       *)
6678         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6679           LD="${LD-ld} -64"
6680         fi
6681         ;;
6682       esac
6683       ;;
6684     esac
6685   fi
6686   rm -rf conftest*
6687   ;;
6688 esac
6689
6690 need_locks="$enable_libtool_lock"
6691
6692 if test -n "$ac_tool_prefix"; then
6693   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6694 set dummy ${ac_tool_prefix}mt; ac_word=$2
6695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6696 $as_echo_n "checking for $ac_word... " >&6; }
6697 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6698   $as_echo_n "(cached) " >&6
6699 else
6700   if test -n "$MANIFEST_TOOL"; then
6701   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6702 else
6703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6704 for as_dir in $PATH
6705 do
6706   IFS=$as_save_IFS
6707   test -z "$as_dir" && as_dir=.
6708     for ac_exec_ext in '' $ac_executable_extensions; do
6709   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6710     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6711     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6712     break 2
6713   fi
6714 done
6715   done
6716 IFS=$as_save_IFS
6717
6718 fi
6719 fi
6720 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6721 if test -n "$MANIFEST_TOOL"; then
6722   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6723 $as_echo "$MANIFEST_TOOL" >&6; }
6724 else
6725   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6726 $as_echo "no" >&6; }
6727 fi
6728
6729
6730 fi
6731 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6732   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6733   # Extract the first word of "mt", so it can be a program name with args.
6734 set dummy mt; ac_word=$2
6735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6736 $as_echo_n "checking for $ac_word... " >&6; }
6737 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6738   $as_echo_n "(cached) " >&6
6739 else
6740   if test -n "$ac_ct_MANIFEST_TOOL"; then
6741   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6742 else
6743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6744 for as_dir in $PATH
6745 do
6746   IFS=$as_save_IFS
6747   test -z "$as_dir" && as_dir=.
6748     for ac_exec_ext in '' $ac_executable_extensions; do
6749   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6750     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6751     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6752     break 2
6753   fi
6754 done
6755   done
6756 IFS=$as_save_IFS
6757
6758 fi
6759 fi
6760 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6761 if test -n "$ac_ct_MANIFEST_TOOL"; then
6762   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6763 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6764 else
6765   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6766 $as_echo "no" >&6; }
6767 fi
6768
6769   if test "x$ac_ct_MANIFEST_TOOL" = x; then
6770     MANIFEST_TOOL=":"
6771   else
6772     case $cross_compiling:$ac_tool_warned in
6773 yes:)
6774 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6775 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6776 ac_tool_warned=yes ;;
6777 esac
6778     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6779   fi
6780 else
6781   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6782 fi
6783
6784 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6786 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6787 if ${lt_cv_path_mainfest_tool+:} false; then :
6788   $as_echo_n "(cached) " >&6
6789 else
6790   lt_cv_path_mainfest_tool=no
6791   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6792   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6793   cat conftest.err >&5
6794   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6795     lt_cv_path_mainfest_tool=yes
6796   fi
6797   rm -f conftest*
6798 fi
6799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6800 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6801 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6802   MANIFEST_TOOL=:
6803 fi
6804
6805
6806
6807
6808
6809
6810   case $host_os in
6811     rhapsody* | darwin*)
6812     if test -n "$ac_tool_prefix"; then
6813   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6814 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6816 $as_echo_n "checking for $ac_word... " >&6; }
6817 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6818   $as_echo_n "(cached) " >&6
6819 else
6820   if test -n "$DSYMUTIL"; then
6821   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6822 else
6823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6824 for as_dir in $PATH
6825 do
6826   IFS=$as_save_IFS
6827   test -z "$as_dir" && as_dir=.
6828     for ac_exec_ext in '' $ac_executable_extensions; do
6829   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6830     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6831     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6832     break 2
6833   fi
6834 done
6835   done
6836 IFS=$as_save_IFS
6837
6838 fi
6839 fi
6840 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6841 if test -n "$DSYMUTIL"; then
6842   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6843 $as_echo "$DSYMUTIL" >&6; }
6844 else
6845   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6846 $as_echo "no" >&6; }
6847 fi
6848
6849
6850 fi
6851 if test -z "$ac_cv_prog_DSYMUTIL"; then
6852   ac_ct_DSYMUTIL=$DSYMUTIL
6853   # Extract the first word of "dsymutil", so it can be a program name with args.
6854 set dummy dsymutil; ac_word=$2
6855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6856 $as_echo_n "checking for $ac_word... " >&6; }
6857 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6858   $as_echo_n "(cached) " >&6
6859 else
6860   if test -n "$ac_ct_DSYMUTIL"; then
6861   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6862 else
6863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6864 for as_dir in $PATH
6865 do
6866   IFS=$as_save_IFS
6867   test -z "$as_dir" && as_dir=.
6868     for ac_exec_ext in '' $ac_executable_extensions; do
6869   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6870     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6871     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6872     break 2
6873   fi
6874 done
6875   done
6876 IFS=$as_save_IFS
6877
6878 fi
6879 fi
6880 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6881 if test -n "$ac_ct_DSYMUTIL"; then
6882   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6883 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6884 else
6885   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6886 $as_echo "no" >&6; }
6887 fi
6888
6889   if test "x$ac_ct_DSYMUTIL" = x; then
6890     DSYMUTIL=":"
6891   else
6892     case $cross_compiling:$ac_tool_warned in
6893 yes:)
6894 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6895 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6896 ac_tool_warned=yes ;;
6897 esac
6898     DSYMUTIL=$ac_ct_DSYMUTIL
6899   fi
6900 else
6901   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6902 fi
6903
6904     if test -n "$ac_tool_prefix"; then
6905   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6906 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6908 $as_echo_n "checking for $ac_word... " >&6; }
6909 if ${ac_cv_prog_NMEDIT+:} false; then :
6910   $as_echo_n "(cached) " >&6
6911 else
6912   if test -n "$NMEDIT"; then
6913   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6914 else
6915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6916 for as_dir in $PATH
6917 do
6918   IFS=$as_save_IFS
6919   test -z "$as_dir" && as_dir=.
6920     for ac_exec_ext in '' $ac_executable_extensions; do
6921   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6922     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6923     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6924     break 2
6925   fi
6926 done
6927   done
6928 IFS=$as_save_IFS
6929
6930 fi
6931 fi
6932 NMEDIT=$ac_cv_prog_NMEDIT
6933 if test -n "$NMEDIT"; then
6934   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6935 $as_echo "$NMEDIT" >&6; }
6936 else
6937   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6938 $as_echo "no" >&6; }
6939 fi
6940
6941
6942 fi
6943 if test -z "$ac_cv_prog_NMEDIT"; then
6944   ac_ct_NMEDIT=$NMEDIT
6945   # Extract the first word of "nmedit", so it can be a program name with args.
6946 set dummy nmedit; ac_word=$2
6947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6948 $as_echo_n "checking for $ac_word... " >&6; }
6949 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6950   $as_echo_n "(cached) " >&6
6951 else
6952   if test -n "$ac_ct_NMEDIT"; then
6953   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6954 else
6955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6956 for as_dir in $PATH
6957 do
6958   IFS=$as_save_IFS
6959   test -z "$as_dir" && as_dir=.
6960     for ac_exec_ext in '' $ac_executable_extensions; do
6961   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6962     ac_cv_prog_ac_ct_NMEDIT="nmedit"
6963     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6964     break 2
6965   fi
6966 done
6967   done
6968 IFS=$as_save_IFS
6969
6970 fi
6971 fi
6972 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6973 if test -n "$ac_ct_NMEDIT"; then
6974   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6975 $as_echo "$ac_ct_NMEDIT" >&6; }
6976 else
6977   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6978 $as_echo "no" >&6; }
6979 fi
6980
6981   if test "x$ac_ct_NMEDIT" = x; then
6982     NMEDIT=":"
6983   else
6984     case $cross_compiling:$ac_tool_warned in
6985 yes:)
6986 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6987 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6988 ac_tool_warned=yes ;;
6989 esac
6990     NMEDIT=$ac_ct_NMEDIT
6991   fi
6992 else
6993   NMEDIT="$ac_cv_prog_NMEDIT"
6994 fi
6995
6996     if test -n "$ac_tool_prefix"; then
6997   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6998 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7000 $as_echo_n "checking for $ac_word... " >&6; }
7001 if ${ac_cv_prog_LIPO+:} false; then :
7002   $as_echo_n "(cached) " >&6
7003 else
7004   if test -n "$LIPO"; then
7005   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7006 else
7007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7008 for as_dir in $PATH
7009 do
7010   IFS=$as_save_IFS
7011   test -z "$as_dir" && as_dir=.
7012     for ac_exec_ext in '' $ac_executable_extensions; do
7013   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7014     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7015     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7016     break 2
7017   fi
7018 done
7019   done
7020 IFS=$as_save_IFS
7021
7022 fi
7023 fi
7024 LIPO=$ac_cv_prog_LIPO
7025 if test -n "$LIPO"; then
7026   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7027 $as_echo "$LIPO" >&6; }
7028 else
7029   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7030 $as_echo "no" >&6; }
7031 fi
7032
7033
7034 fi
7035 if test -z "$ac_cv_prog_LIPO"; then
7036   ac_ct_LIPO=$LIPO
7037   # Extract the first word of "lipo", so it can be a program name with args.
7038 set dummy lipo; ac_word=$2
7039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7040 $as_echo_n "checking for $ac_word... " >&6; }
7041 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7042   $as_echo_n "(cached) " >&6
7043 else
7044   if test -n "$ac_ct_LIPO"; then
7045   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7046 else
7047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7048 for as_dir in $PATH
7049 do
7050   IFS=$as_save_IFS
7051   test -z "$as_dir" && as_dir=.
7052     for ac_exec_ext in '' $ac_executable_extensions; do
7053   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7054     ac_cv_prog_ac_ct_LIPO="lipo"
7055     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7056     break 2
7057   fi
7058 done
7059   done
7060 IFS=$as_save_IFS
7061
7062 fi
7063 fi
7064 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7065 if test -n "$ac_ct_LIPO"; then
7066   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7067 $as_echo "$ac_ct_LIPO" >&6; }
7068 else
7069   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7070 $as_echo "no" >&6; }
7071 fi
7072
7073   if test "x$ac_ct_LIPO" = x; then
7074     LIPO=":"
7075   else
7076     case $cross_compiling:$ac_tool_warned in
7077 yes:)
7078 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7079 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7080 ac_tool_warned=yes ;;
7081 esac
7082     LIPO=$ac_ct_LIPO
7083   fi
7084 else
7085   LIPO="$ac_cv_prog_LIPO"
7086 fi
7087
7088     if test -n "$ac_tool_prefix"; then
7089   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7090 set dummy ${ac_tool_prefix}otool; ac_word=$2
7091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7092 $as_echo_n "checking for $ac_word... " >&6; }
7093 if ${ac_cv_prog_OTOOL+:} false; then :
7094   $as_echo_n "(cached) " >&6
7095 else
7096   if test -n "$OTOOL"; then
7097   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7098 else
7099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7100 for as_dir in $PATH
7101 do
7102   IFS=$as_save_IFS
7103   test -z "$as_dir" && as_dir=.
7104     for ac_exec_ext in '' $ac_executable_extensions; do
7105   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7106     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7107     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7108     break 2
7109   fi
7110 done
7111   done
7112 IFS=$as_save_IFS
7113
7114 fi
7115 fi
7116 OTOOL=$ac_cv_prog_OTOOL
7117 if test -n "$OTOOL"; then
7118   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7119 $as_echo "$OTOOL" >&6; }
7120 else
7121   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7122 $as_echo "no" >&6; }
7123 fi
7124
7125
7126 fi
7127 if test -z "$ac_cv_prog_OTOOL"; then
7128   ac_ct_OTOOL=$OTOOL
7129   # Extract the first word of "otool", so it can be a program name with args.
7130 set dummy otool; ac_word=$2
7131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7132 $as_echo_n "checking for $ac_word... " >&6; }
7133 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7134   $as_echo_n "(cached) " >&6
7135 else
7136   if test -n "$ac_ct_OTOOL"; then
7137   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7138 else
7139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7140 for as_dir in $PATH
7141 do
7142   IFS=$as_save_IFS
7143   test -z "$as_dir" && as_dir=.
7144     for ac_exec_ext in '' $ac_executable_extensions; do
7145   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7146     ac_cv_prog_ac_ct_OTOOL="otool"
7147     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7148     break 2
7149   fi
7150 done
7151   done
7152 IFS=$as_save_IFS
7153
7154 fi
7155 fi
7156 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7157 if test -n "$ac_ct_OTOOL"; then
7158   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7159 $as_echo "$ac_ct_OTOOL" >&6; }
7160 else
7161   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7162 $as_echo "no" >&6; }
7163 fi
7164
7165   if test "x$ac_ct_OTOOL" = x; then
7166     OTOOL=":"
7167   else
7168     case $cross_compiling:$ac_tool_warned in
7169 yes:)
7170 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7171 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7172 ac_tool_warned=yes ;;
7173 esac
7174     OTOOL=$ac_ct_OTOOL
7175   fi
7176 else
7177   OTOOL="$ac_cv_prog_OTOOL"
7178 fi
7179
7180     if test -n "$ac_tool_prefix"; then
7181   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7182 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7184 $as_echo_n "checking for $ac_word... " >&6; }
7185 if ${ac_cv_prog_OTOOL64+:} false; then :
7186   $as_echo_n "(cached) " >&6
7187 else
7188   if test -n "$OTOOL64"; then
7189   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7190 else
7191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7192 for as_dir in $PATH
7193 do
7194   IFS=$as_save_IFS
7195   test -z "$as_dir" && as_dir=.
7196     for ac_exec_ext in '' $ac_executable_extensions; do
7197   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7198     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7199     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7200     break 2
7201   fi
7202 done
7203   done
7204 IFS=$as_save_IFS
7205
7206 fi
7207 fi
7208 OTOOL64=$ac_cv_prog_OTOOL64
7209 if test -n "$OTOOL64"; then
7210   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7211 $as_echo "$OTOOL64" >&6; }
7212 else
7213   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7214 $as_echo "no" >&6; }
7215 fi
7216
7217
7218 fi
7219 if test -z "$ac_cv_prog_OTOOL64"; then
7220   ac_ct_OTOOL64=$OTOOL64
7221   # Extract the first word of "otool64", so it can be a program name with args.
7222 set dummy otool64; ac_word=$2
7223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7224 $as_echo_n "checking for $ac_word... " >&6; }
7225 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7226   $as_echo_n "(cached) " >&6
7227 else
7228   if test -n "$ac_ct_OTOOL64"; then
7229   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7230 else
7231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7232 for as_dir in $PATH
7233 do
7234   IFS=$as_save_IFS
7235   test -z "$as_dir" && as_dir=.
7236     for ac_exec_ext in '' $ac_executable_extensions; do
7237   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7238     ac_cv_prog_ac_ct_OTOOL64="otool64"
7239     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7240     break 2
7241   fi
7242 done
7243   done
7244 IFS=$as_save_IFS
7245
7246 fi
7247 fi
7248 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7249 if test -n "$ac_ct_OTOOL64"; then
7250   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7251 $as_echo "$ac_ct_OTOOL64" >&6; }
7252 else
7253   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7254 $as_echo "no" >&6; }
7255 fi
7256
7257   if test "x$ac_ct_OTOOL64" = x; then
7258     OTOOL64=":"
7259   else
7260     case $cross_compiling:$ac_tool_warned in
7261 yes:)
7262 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7263 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7264 ac_tool_warned=yes ;;
7265 esac
7266     OTOOL64=$ac_ct_OTOOL64
7267   fi
7268 else
7269   OTOOL64="$ac_cv_prog_OTOOL64"
7270 fi
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7299 $as_echo_n "checking for -single_module linker flag... " >&6; }
7300 if ${lt_cv_apple_cc_single_mod+:} false; then :
7301   $as_echo_n "(cached) " >&6
7302 else
7303   lt_cv_apple_cc_single_mod=no
7304       if test -z "${LT_MULTI_MODULE}"; then
7305         # By default we will add the -single_module flag. You can override
7306         # by either setting the environment variable LT_MULTI_MODULE
7307         # non-empty at configure time, or by adding -multi_module to the
7308         # link flags.
7309         rm -rf libconftest.dylib*
7310         echo "int foo(void){return 1;}" > conftest.c
7311         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7312 -dynamiclib -Wl,-single_module conftest.c" >&5
7313         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7314           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7315         _lt_result=$?
7316         # If there is a non-empty error log, and "single_module"
7317         # appears in it, assume the flag caused a linker warning
7318         if test -s conftest.err && $GREP single_module conftest.err; then
7319           cat conftest.err >&5
7320         # Otherwise, if the output was created with a 0 exit code from
7321         # the compiler, it worked.
7322         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7323           lt_cv_apple_cc_single_mod=yes
7324         else
7325           cat conftest.err >&5
7326         fi
7327         rm -rf libconftest.dylib*
7328         rm -f conftest.*
7329       fi
7330 fi
7331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7332 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7333
7334     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7335 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7336 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7337   $as_echo_n "(cached) " >&6
7338 else
7339   lt_cv_ld_exported_symbols_list=no
7340       save_LDFLAGS=$LDFLAGS
7341       echo "_main" > conftest.sym
7342       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7343       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7344 /* end confdefs.h.  */
7345
7346 int
7347 main ()
7348 {
7349
7350   ;
7351   return 0;
7352 }
7353 _ACEOF
7354 if ac_fn_c_try_link "$LINENO"; then :
7355   lt_cv_ld_exported_symbols_list=yes
7356 else
7357   lt_cv_ld_exported_symbols_list=no
7358 fi
7359 rm -f core conftest.err conftest.$ac_objext \
7360     conftest$ac_exeext conftest.$ac_ext
7361         LDFLAGS="$save_LDFLAGS"
7362
7363 fi
7364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7365 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7366
7367     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7368 $as_echo_n "checking for -force_load linker flag... " >&6; }
7369 if ${lt_cv_ld_force_load+:} false; then :
7370   $as_echo_n "(cached) " >&6
7371 else
7372   lt_cv_ld_force_load=no
7373       cat > conftest.c << _LT_EOF
7374 int forced_loaded() { return 2;}
7375 _LT_EOF
7376       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7377       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7378       echo "$AR cru libconftest.a conftest.o" >&5
7379       $AR cru libconftest.a conftest.o 2>&5
7380       echo "$RANLIB libconftest.a" >&5
7381       $RANLIB libconftest.a 2>&5
7382       cat > conftest.c << _LT_EOF
7383 int main() { return 0;}
7384 _LT_EOF
7385       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7386       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7387       _lt_result=$?
7388       if test -s conftest.err && $GREP force_load conftest.err; then
7389         cat conftest.err >&5
7390       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7391         lt_cv_ld_force_load=yes
7392       else
7393         cat conftest.err >&5
7394       fi
7395         rm -f conftest.err libconftest.a conftest conftest.c
7396         rm -rf conftest.dSYM
7397
7398 fi
7399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7400 $as_echo "$lt_cv_ld_force_load" >&6; }
7401     case $host_os in
7402     rhapsody* | darwin1.[012])
7403       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7404     darwin1.*)
7405       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7406     darwin*) # darwin 5.x on
7407       # if running on 10.5 or later, the deployment target defaults
7408       # to the OS version, if on x86, and 10.4, the deployment
7409       # target defaults to 10.4. Don't you love it?
7410       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7411         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7412           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7413         10.[012]*)
7414           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7415         10.*)
7416           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7417       esac
7418     ;;
7419   esac
7420     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7421       _lt_dar_single_mod='$single_module'
7422     fi
7423     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7424       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7425     else
7426       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7427     fi
7428     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7429       _lt_dsymutil='~$DSYMUTIL $lib || :'
7430     else
7431       _lt_dsymutil=
7432     fi
7433     ;;
7434   esac
7435
7436 ac_ext=c
7437 ac_cpp='$CPP $CPPFLAGS'
7438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7442 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7443 # On Suns, sometimes $CPP names a directory.
7444 if test -n "$CPP" && test -d "$CPP"; then
7445   CPP=
7446 fi
7447 if test -z "$CPP"; then
7448   if ${ac_cv_prog_CPP+:} false; then :
7449   $as_echo_n "(cached) " >&6
7450 else
7451       # Double quotes because CPP needs to be expanded
7452     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7453     do
7454       ac_preproc_ok=false
7455 for ac_c_preproc_warn_flag in '' yes
7456 do
7457   # Use a header file that comes with gcc, so configuring glibc
7458   # with a fresh cross-compiler works.
7459   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7460   # <limits.h> exists even on freestanding compilers.
7461   # On the NeXT, cc -E runs the code through the compiler's parser,
7462   # not just through cpp. "Syntax error" is here to catch this case.
7463   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7464 /* end confdefs.h.  */
7465 #ifdef __STDC__
7466 # include <limits.h>
7467 #else
7468 # include <assert.h>
7469 #endif
7470                      Syntax error
7471 _ACEOF
7472 if ac_fn_c_try_cpp "$LINENO"; then :
7473
7474 else
7475   # Broken: fails on valid input.
7476 continue
7477 fi
7478 rm -f conftest.err conftest.i conftest.$ac_ext
7479
7480   # OK, works on sane cases.  Now check whether nonexistent headers
7481   # can be detected and how.
7482   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7483 /* end confdefs.h.  */
7484 #include <ac_nonexistent.h>
7485 _ACEOF
7486 if ac_fn_c_try_cpp "$LINENO"; then :
7487   # Broken: success on invalid input.
7488 continue
7489 else
7490   # Passes both tests.
7491 ac_preproc_ok=:
7492 break
7493 fi
7494 rm -f conftest.err conftest.i conftest.$ac_ext
7495
7496 done
7497 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7498 rm -f conftest.i conftest.err conftest.$ac_ext
7499 if $ac_preproc_ok; then :
7500   break
7501 fi
7502
7503     done
7504     ac_cv_prog_CPP=$CPP
7505
7506 fi
7507   CPP=$ac_cv_prog_CPP
7508 else
7509   ac_cv_prog_CPP=$CPP
7510 fi
7511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7512 $as_echo "$CPP" >&6; }
7513 ac_preproc_ok=false
7514 for ac_c_preproc_warn_flag in '' yes
7515 do
7516   # Use a header file that comes with gcc, so configuring glibc
7517   # with a fresh cross-compiler works.
7518   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7519   # <limits.h> exists even on freestanding compilers.
7520   # On the NeXT, cc -E runs the code through the compiler's parser,
7521   # not just through cpp. "Syntax error" is here to catch this case.
7522   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7523 /* end confdefs.h.  */
7524 #ifdef __STDC__
7525 # include <limits.h>
7526 #else
7527 # include <assert.h>
7528 #endif
7529                      Syntax error
7530 _ACEOF
7531 if ac_fn_c_try_cpp "$LINENO"; then :
7532
7533 else
7534   # Broken: fails on valid input.
7535 continue
7536 fi
7537 rm -f conftest.err conftest.i conftest.$ac_ext
7538
7539   # OK, works on sane cases.  Now check whether nonexistent headers
7540   # can be detected and how.
7541   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7542 /* end confdefs.h.  */
7543 #include <ac_nonexistent.h>
7544 _ACEOF
7545 if ac_fn_c_try_cpp "$LINENO"; then :
7546   # Broken: success on invalid input.
7547 continue
7548 else
7549   # Passes both tests.
7550 ac_preproc_ok=:
7551 break
7552 fi
7553 rm -f conftest.err conftest.i conftest.$ac_ext
7554
7555 done
7556 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7557 rm -f conftest.i conftest.err conftest.$ac_ext
7558 if $ac_preproc_ok; then :
7559
7560 else
7561   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7562 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7563 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7564 See \`config.log' for more details" "$LINENO" 5; }
7565 fi
7566
7567 ac_ext=c
7568 ac_cpp='$CPP $CPPFLAGS'
7569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7572
7573
7574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7575 $as_echo_n "checking for ANSI C header files... " >&6; }
7576 if ${ac_cv_header_stdc+:} false; then :
7577   $as_echo_n "(cached) " >&6
7578 else
7579   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7580 /* end confdefs.h.  */
7581 #include <stdlib.h>
7582 #include <stdarg.h>
7583 #include <string.h>
7584 #include <float.h>
7585
7586 int
7587 main ()
7588 {
7589
7590   ;
7591   return 0;
7592 }
7593 _ACEOF
7594 if ac_fn_c_try_compile "$LINENO"; then :
7595   ac_cv_header_stdc=yes
7596 else
7597   ac_cv_header_stdc=no
7598 fi
7599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7600
7601 if test $ac_cv_header_stdc = yes; then
7602   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7603   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7604 /* end confdefs.h.  */
7605 #include <string.h>
7606
7607 _ACEOF
7608 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7609   $EGREP "memchr" >/dev/null 2>&1; then :
7610
7611 else
7612   ac_cv_header_stdc=no
7613 fi
7614 rm -f conftest*
7615
7616 fi
7617
7618 if test $ac_cv_header_stdc = yes; then
7619   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7620   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7621 /* end confdefs.h.  */
7622 #include <stdlib.h>
7623
7624 _ACEOF
7625 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7626   $EGREP "free" >/dev/null 2>&1; then :
7627
7628 else
7629   ac_cv_header_stdc=no
7630 fi
7631 rm -f conftest*
7632
7633 fi
7634
7635 if test $ac_cv_header_stdc = yes; then
7636   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7637   if test "$cross_compiling" = yes; then :
7638   :
7639 else
7640   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7641 /* end confdefs.h.  */
7642 #include <ctype.h>
7643 #include <stdlib.h>
7644 #if ((' ' & 0x0FF) == 0x020)
7645 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7646 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7647 #else
7648 # define ISLOWER(c) \
7649                    (('a' <= (c) && (c) <= 'i') \
7650                      || ('j' <= (c) && (c) <= 'r') \
7651                      || ('s' <= (c) && (c) <= 'z'))
7652 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7653 #endif
7654
7655 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7656 int
7657 main ()
7658 {
7659   int i;
7660   for (i = 0; i < 256; i++)
7661     if (XOR (islower (i), ISLOWER (i))
7662         || toupper (i) != TOUPPER (i))
7663       return 2;
7664   return 0;
7665 }
7666 _ACEOF
7667 if ac_fn_c_try_run "$LINENO"; then :
7668
7669 else
7670   ac_cv_header_stdc=no
7671 fi
7672 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7673   conftest.$ac_objext conftest.beam conftest.$ac_ext
7674 fi
7675
7676 fi
7677 fi
7678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7679 $as_echo "$ac_cv_header_stdc" >&6; }
7680 if test $ac_cv_header_stdc = yes; then
7681
7682 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7683
7684 fi
7685
7686 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7687 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7688                   inttypes.h stdint.h unistd.h
7689 do :
7690   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7691 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7692 "
7693 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7694   cat >>confdefs.h <<_ACEOF
7695 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7696 _ACEOF
7697
7698 fi
7699
7700 done
7701
7702
7703 for ac_header in dlfcn.h
7704 do :
7705   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7706 "
7707 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7708   cat >>confdefs.h <<_ACEOF
7709 #define HAVE_DLFCN_H 1
7710 _ACEOF
7711
7712 fi
7713
7714 done
7715
7716
7717
7718
7719
7720 # Set options
7721 # Check whether --enable-static was given.
7722 if test "${enable_static+set}" = set; then :
7723   enableval=$enable_static; p=${PACKAGE-default}
7724     case $enableval in
7725     yes) enable_static=yes ;;
7726     no) enable_static=no ;;
7727     *)
7728      enable_static=no
7729       # Look at the argument we got.  We use all the common list separators.
7730       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7731       for pkg in $enableval; do
7732         IFS="$lt_save_ifs"
7733         if test "X$pkg" = "X$p"; then
7734           enable_static=yes
7735         fi
7736       done
7737       IFS="$lt_save_ifs"
7738       ;;
7739     esac
7740 else
7741   enable_static=no
7742 fi
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753         enable_dlopen=no
7754
7755
7756   enable_win32_dll=no
7757
7758
7759             # Check whether --enable-shared was given.
7760 if test "${enable_shared+set}" = set; then :
7761   enableval=$enable_shared; p=${PACKAGE-default}
7762     case $enableval in
7763     yes) enable_shared=yes ;;
7764     no) enable_shared=no ;;
7765     *)
7766       enable_shared=no
7767       # Look at the argument we got.  We use all the common list separators.
7768       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7769       for pkg in $enableval; do
7770         IFS="$lt_save_ifs"
7771         if test "X$pkg" = "X$p"; then
7772           enable_shared=yes
7773         fi
7774       done
7775       IFS="$lt_save_ifs"
7776       ;;
7777     esac
7778 else
7779   enable_shared=yes
7780 fi
7781
7782
7783
7784
7785
7786
7787
7788
7789
7790
7791
7792 # Check whether --with-pic was given.
7793 if test "${with_pic+set}" = set; then :
7794   withval=$with_pic; lt_p=${PACKAGE-default}
7795     case $withval in
7796     yes|no) pic_mode=$withval ;;
7797     *)
7798       pic_mode=default
7799       # Look at the argument we got.  We use all the common list separators.
7800       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7801       for lt_pkg in $withval; do
7802         IFS="$lt_save_ifs"
7803         if test "X$lt_pkg" = "X$lt_p"; then
7804           pic_mode=yes
7805         fi
7806       done
7807       IFS="$lt_save_ifs"
7808       ;;
7809     esac
7810 else
7811   pic_mode=default
7812 fi
7813
7814
7815 test -z "$pic_mode" && pic_mode=default
7816
7817
7818
7819
7820
7821
7822
7823   # Check whether --enable-fast-install was given.
7824 if test "${enable_fast_install+set}" = set; then :
7825   enableval=$enable_fast_install; p=${PACKAGE-default}
7826     case $enableval in
7827     yes) enable_fast_install=yes ;;
7828     no) enable_fast_install=no ;;
7829     *)
7830       enable_fast_install=no
7831       # Look at the argument we got.  We use all the common list separators.
7832       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7833       for pkg in $enableval; do
7834         IFS="$lt_save_ifs"
7835         if test "X$pkg" = "X$p"; then
7836           enable_fast_install=yes
7837         fi
7838       done
7839       IFS="$lt_save_ifs"
7840       ;;
7841     esac
7842 else
7843   enable_fast_install=yes
7844 fi
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856 # This can be used to rebuild libtool when needed
7857 LIBTOOL_DEPS="$ltmain"
7858
7859 # Always use our own libtool.
7860 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891 test -z "$LN_S" && LN_S="ln -s"
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906 if test -n "${ZSH_VERSION+set}" ; then
7907    setopt NO_GLOB_SUBST
7908 fi
7909
7910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7911 $as_echo_n "checking for objdir... " >&6; }
7912 if ${lt_cv_objdir+:} false; then :
7913   $as_echo_n "(cached) " >&6
7914 else
7915   rm -f .libs 2>/dev/null
7916 mkdir .libs 2>/dev/null
7917 if test -d .libs; then
7918   lt_cv_objdir=.libs
7919 else
7920   # MS-DOS does not allow filenames that begin with a dot.
7921   lt_cv_objdir=_libs
7922 fi
7923 rmdir .libs 2>/dev/null
7924 fi
7925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7926 $as_echo "$lt_cv_objdir" >&6; }
7927 objdir=$lt_cv_objdir
7928
7929
7930
7931
7932
7933 cat >>confdefs.h <<_ACEOF
7934 #define LT_OBJDIR "$lt_cv_objdir/"
7935 _ACEOF
7936
7937
7938
7939
7940 case $host_os in
7941 aix3*)
7942   # AIX sometimes has problems with the GCC collect2 program.  For some
7943   # reason, if we set the COLLECT_NAMES environment variable, the problems
7944   # vanish in a puff of smoke.
7945   if test "X${COLLECT_NAMES+set}" != Xset; then
7946     COLLECT_NAMES=
7947     export COLLECT_NAMES
7948   fi
7949   ;;
7950 esac
7951
7952 # Global variables:
7953 ofile=libtool
7954 can_build_shared=yes
7955
7956 # All known linkers require a `.a' archive for static linking (except MSVC,
7957 # which needs '.lib').
7958 libext=a
7959
7960 with_gnu_ld="$lt_cv_prog_gnu_ld"
7961
7962 old_CC="$CC"
7963 old_CFLAGS="$CFLAGS"
7964
7965 # Set sane defaults for various variables
7966 test -z "$CC" && CC=cc
7967 test -z "$LTCC" && LTCC=$CC
7968 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7969 test -z "$LD" && LD=ld
7970 test -z "$ac_objext" && ac_objext=o
7971
7972 for cc_temp in $compiler""; do
7973   case $cc_temp in
7974     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7975     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7976     \-*) ;;
7977     *) break;;
7978   esac
7979 done
7980 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7981
7982
7983 # Only perform the check for file, if the check method requires it
7984 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7985 case $deplibs_check_method in
7986 file_magic*)
7987   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7988     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7989 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7990 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7991   $as_echo_n "(cached) " >&6
7992 else
7993   case $MAGIC_CMD in
7994 [\\/*] |  ?:[\\/]*)
7995   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7996   ;;
7997 *)
7998   lt_save_MAGIC_CMD="$MAGIC_CMD"
7999   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8000   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8001   for ac_dir in $ac_dummy; do
8002     IFS="$lt_save_ifs"
8003     test -z "$ac_dir" && ac_dir=.
8004     if test -f $ac_dir/${ac_tool_prefix}file; then
8005       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8006       if test -n "$file_magic_test_file"; then
8007         case $deplibs_check_method in
8008         "file_magic "*)
8009           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8010           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8011           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8012             $EGREP "$file_magic_regex" > /dev/null; then
8013             :
8014           else
8015             cat <<_LT_EOF 1>&2
8016
8017 *** Warning: the command libtool uses to detect shared libraries,
8018 *** $file_magic_cmd, produces output that libtool cannot recognize.
8019 *** The result is that libtool may fail to recognize shared libraries
8020 *** as such.  This will affect the creation of libtool libraries that
8021 *** depend on shared libraries, but programs linked with such libtool
8022 *** libraries will work regardless of this problem.  Nevertheless, you
8023 *** may want to report the problem to your system manager and/or to
8024 *** bug-libtool@gnu.org
8025
8026 _LT_EOF
8027           fi ;;
8028         esac
8029       fi
8030       break
8031     fi
8032   done
8033   IFS="$lt_save_ifs"
8034   MAGIC_CMD="$lt_save_MAGIC_CMD"
8035   ;;
8036 esac
8037 fi
8038
8039 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8040 if test -n "$MAGIC_CMD"; then
8041   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8042 $as_echo "$MAGIC_CMD" >&6; }
8043 else
8044   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8045 $as_echo "no" >&6; }
8046 fi
8047
8048
8049
8050
8051
8052 if test -z "$lt_cv_path_MAGIC_CMD"; then
8053   if test -n "$ac_tool_prefix"; then
8054     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8055 $as_echo_n "checking for file... " >&6; }
8056 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8057   $as_echo_n "(cached) " >&6
8058 else
8059   case $MAGIC_CMD in
8060 [\\/*] |  ?:[\\/]*)
8061   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8062   ;;
8063 *)
8064   lt_save_MAGIC_CMD="$MAGIC_CMD"
8065   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8066   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8067   for ac_dir in $ac_dummy; do
8068     IFS="$lt_save_ifs"
8069     test -z "$ac_dir" && ac_dir=.
8070     if test -f $ac_dir/file; then
8071       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8072       if test -n "$file_magic_test_file"; then
8073         case $deplibs_check_method in
8074         "file_magic "*)
8075           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8076           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8077           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8078             $EGREP "$file_magic_regex" > /dev/null; then
8079             :
8080           else
8081             cat <<_LT_EOF 1>&2
8082
8083 *** Warning: the command libtool uses to detect shared libraries,
8084 *** $file_magic_cmd, produces output that libtool cannot recognize.
8085 *** The result is that libtool may fail to recognize shared libraries
8086 *** as such.  This will affect the creation of libtool libraries that
8087 *** depend on shared libraries, but programs linked with such libtool
8088 *** libraries will work regardless of this problem.  Nevertheless, you
8089 *** may want to report the problem to your system manager and/or to
8090 *** bug-libtool@gnu.org
8091
8092 _LT_EOF
8093           fi ;;
8094         esac
8095       fi
8096       break
8097     fi
8098   done
8099   IFS="$lt_save_ifs"
8100   MAGIC_CMD="$lt_save_MAGIC_CMD"
8101   ;;
8102 esac
8103 fi
8104
8105 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8106 if test -n "$MAGIC_CMD"; then
8107   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8108 $as_echo "$MAGIC_CMD" >&6; }
8109 else
8110   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8111 $as_echo "no" >&6; }
8112 fi
8113
8114
8115   else
8116     MAGIC_CMD=:
8117   fi
8118 fi
8119
8120   fi
8121   ;;
8122 esac
8123
8124 # Use C for the default configuration in the libtool script
8125
8126 lt_save_CC="$CC"
8127 ac_ext=c
8128 ac_cpp='$CPP $CPPFLAGS'
8129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8132
8133
8134 # Source file extension for C test sources.
8135 ac_ext=c
8136
8137 # Object file extension for compiled C test sources.
8138 objext=o
8139 objext=$objext
8140
8141 # Code to be used in simple compile tests
8142 lt_simple_compile_test_code="int some_variable = 0;"
8143
8144 # Code to be used in simple link tests
8145 lt_simple_link_test_code='int main(){return(0);}'
8146
8147
8148
8149
8150
8151
8152
8153 # If no C compiler was specified, use CC.
8154 LTCC=${LTCC-"$CC"}
8155
8156 # If no C compiler flags were specified, use CFLAGS.
8157 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8158
8159 # Allow CC to be a program name with arguments.
8160 compiler=$CC
8161
8162 # Save the default compiler, since it gets overwritten when the other
8163 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8164 compiler_DEFAULT=$CC
8165
8166 # save warnings/boilerplate of simple test code
8167 ac_outfile=conftest.$ac_objext
8168 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8169 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8170 _lt_compiler_boilerplate=`cat conftest.err`
8171 $RM conftest*
8172
8173 ac_outfile=conftest.$ac_objext
8174 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8175 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8176 _lt_linker_boilerplate=`cat conftest.err`
8177 $RM -r conftest*
8178
8179
8180 ## CAVEAT EMPTOR:
8181 ## There is no encapsulation within the following macros, do not change
8182 ## the running order or otherwise move them around unless you know exactly
8183 ## what you are doing...
8184 if test -n "$compiler"; then
8185
8186 lt_prog_compiler_no_builtin_flag=
8187
8188 if test "$GCC" = yes; then
8189   case $cc_basename in
8190   nvcc*)
8191     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8192   *)
8193     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8194   esac
8195
8196   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8197 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8198 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8199   $as_echo_n "(cached) " >&6
8200 else
8201   lt_cv_prog_compiler_rtti_exceptions=no
8202    ac_outfile=conftest.$ac_objext
8203    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8204    lt_compiler_flag="-fno-rtti -fno-exceptions"
8205    # Insert the option either (1) after the last *FLAGS variable, or
8206    # (2) before a word containing "conftest.", or (3) at the end.
8207    # Note that $ac_compile itself does not contain backslashes and begins
8208    # with a dollar sign (not a hyphen), so the echo should work correctly.
8209    # The option is referenced via a variable to avoid confusing sed.
8210    lt_compile=`echo "$ac_compile" | $SED \
8211    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8212    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8213    -e 's:$: $lt_compiler_flag:'`
8214    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8215    (eval "$lt_compile" 2>conftest.err)
8216    ac_status=$?
8217    cat conftest.err >&5
8218    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8219    if (exit $ac_status) && test -s "$ac_outfile"; then
8220      # The compiler can only warn and ignore the option if not recognized
8221      # So say no if there are warnings other than the usual output.
8222      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8223      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8224      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8225        lt_cv_prog_compiler_rtti_exceptions=yes
8226      fi
8227    fi
8228    $RM conftest*
8229
8230 fi
8231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8232 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8233
8234 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8235     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8236 else
8237     :
8238 fi
8239
8240 fi
8241
8242
8243
8244
8245
8246
8247   lt_prog_compiler_wl=
8248 lt_prog_compiler_pic=
8249 lt_prog_compiler_static=
8250
8251
8252   if test "$GCC" = yes; then
8253     lt_prog_compiler_wl='-Wl,'
8254     lt_prog_compiler_static='-static'
8255
8256     case $host_os in
8257       aix*)
8258       # All AIX code is PIC.
8259       if test "$host_cpu" = ia64; then
8260         # AIX 5 now supports IA64 processor
8261         lt_prog_compiler_static='-Bstatic'
8262       fi
8263       ;;
8264
8265     amigaos*)
8266       case $host_cpu in
8267       powerpc)
8268             # see comment about AmigaOS4 .so support
8269             lt_prog_compiler_pic='-fPIC'
8270         ;;
8271       m68k)
8272             # FIXME: we need at least 68020 code to build shared libraries, but
8273             # adding the `-m68020' flag to GCC prevents building anything better,
8274             # like `-m68040'.
8275             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8276         ;;
8277       esac
8278       ;;
8279
8280     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8281       # PIC is the default for these OSes.
8282       ;;
8283
8284     mingw* | cygwin* | pw32* | os2* | cegcc*)
8285       # This hack is so that the source file can tell whether it is being
8286       # built for inclusion in a dll (and should export symbols for example).
8287       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8288       # (--disable-auto-import) libraries
8289       lt_prog_compiler_pic='-DDLL_EXPORT'
8290       ;;
8291
8292     darwin* | rhapsody*)
8293       # PIC is the default on this platform
8294       # Common symbols not allowed in MH_DYLIB files
8295       lt_prog_compiler_pic='-fno-common'
8296       ;;
8297
8298     haiku*)
8299       # PIC is the default for Haiku.
8300       # The "-static" flag exists, but is broken.
8301       lt_prog_compiler_static=
8302       ;;
8303
8304     hpux*)
8305       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8306       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8307       # sets the default TLS model and affects inlining.
8308       case $host_cpu in
8309       hppa*64*)
8310         # +Z the default
8311         ;;
8312       *)
8313         lt_prog_compiler_pic='-fPIC'
8314         ;;
8315       esac
8316       ;;
8317
8318     interix[3-9]*)
8319       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8320       # Instead, we relocate shared libraries at runtime.
8321       ;;
8322
8323     msdosdjgpp*)
8324       # Just because we use GCC doesn't mean we suddenly get shared libraries
8325       # on systems that don't support them.
8326       lt_prog_compiler_can_build_shared=no
8327       enable_shared=no
8328       ;;
8329
8330     *nto* | *qnx*)
8331       # QNX uses GNU C++, but need to define -shared option too, otherwise
8332       # it will coredump.
8333       lt_prog_compiler_pic='-fPIC -shared'
8334       ;;
8335
8336     sysv4*MP*)
8337       if test -d /usr/nec; then
8338         lt_prog_compiler_pic=-Kconform_pic
8339       fi
8340       ;;
8341
8342     *)
8343       lt_prog_compiler_pic='-fPIC'
8344       ;;
8345     esac
8346
8347     case $cc_basename in
8348     nvcc*) # Cuda Compiler Driver 2.2
8349       lt_prog_compiler_wl='-Xlinker '
8350       if test -n "$lt_prog_compiler_pic"; then
8351         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8352       fi
8353       ;;
8354     esac
8355   else
8356     # PORTME Check for flag to pass linker flags through the system compiler.
8357     case $host_os in
8358     aix*)
8359       lt_prog_compiler_wl='-Wl,'
8360       if test "$host_cpu" = ia64; then
8361         # AIX 5 now supports IA64 processor
8362         lt_prog_compiler_static='-Bstatic'
8363       else
8364         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8365       fi
8366       ;;
8367
8368     mingw* | cygwin* | pw32* | os2* | cegcc*)
8369       # This hack is so that the source file can tell whether it is being
8370       # built for inclusion in a dll (and should export symbols for example).
8371       lt_prog_compiler_pic='-DDLL_EXPORT'
8372       ;;
8373
8374     hpux9* | hpux10* | hpux11*)
8375       lt_prog_compiler_wl='-Wl,'
8376       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8377       # not for PA HP-UX.
8378       case $host_cpu in
8379       hppa*64*|ia64*)
8380         # +Z the default
8381         ;;
8382       *)
8383         lt_prog_compiler_pic='+Z'
8384         ;;
8385       esac
8386       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8387       lt_prog_compiler_static='${wl}-a ${wl}archive'
8388       ;;
8389
8390     irix5* | irix6* | nonstopux*)
8391       lt_prog_compiler_wl='-Wl,'
8392       # PIC (with -KPIC) is the default.
8393       lt_prog_compiler_static='-non_shared'
8394       ;;
8395
8396     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8397       case $cc_basename in
8398       # old Intel for x86_64 which still supported -KPIC.
8399       ecc*)
8400         lt_prog_compiler_wl='-Wl,'
8401         lt_prog_compiler_pic='-KPIC'
8402         lt_prog_compiler_static='-static'
8403         ;;
8404       # icc used to be incompatible with GCC.
8405       # ICC 10 doesn't accept -KPIC any more.
8406       icc* | ifort*)
8407         lt_prog_compiler_wl='-Wl,'
8408         lt_prog_compiler_pic='-fPIC'
8409         lt_prog_compiler_static='-static'
8410         ;;
8411       # Lahey Fortran 8.1.
8412       lf95*)
8413         lt_prog_compiler_wl='-Wl,'
8414         lt_prog_compiler_pic='--shared'
8415         lt_prog_compiler_static='--static'
8416         ;;
8417       nagfor*)
8418         # NAG Fortran compiler
8419         lt_prog_compiler_wl='-Wl,-Wl,,'
8420         lt_prog_compiler_pic='-PIC'
8421         lt_prog_compiler_static='-Bstatic'
8422         ;;
8423       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8424         # Portland Group compilers (*not* the Pentium gcc compiler,
8425         # which looks to be a dead project)
8426         lt_prog_compiler_wl='-Wl,'
8427         lt_prog_compiler_pic='-fpic'
8428         lt_prog_compiler_static='-Bstatic'
8429         ;;
8430       ccc*)
8431         lt_prog_compiler_wl='-Wl,'
8432         # All Alpha code is PIC.
8433         lt_prog_compiler_static='-non_shared'
8434         ;;
8435       xl* | bgxl* | bgf* | mpixl*)
8436         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8437         lt_prog_compiler_wl='-Wl,'
8438         lt_prog_compiler_pic='-qpic'
8439         lt_prog_compiler_static='-qstaticlink'
8440         ;;
8441       *)
8442         case `$CC -V 2>&1 | sed 5q` in
8443         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8444           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8445           lt_prog_compiler_pic='-KPIC'
8446           lt_prog_compiler_static='-Bstatic'
8447           lt_prog_compiler_wl=''
8448           ;;
8449         *Sun\ F* | *Sun*Fortran*)
8450           lt_prog_compiler_pic='-KPIC'
8451           lt_prog_compiler_static='-Bstatic'
8452           lt_prog_compiler_wl='-Qoption ld '
8453           ;;
8454         *Sun\ C*)
8455           # Sun C 5.9
8456           lt_prog_compiler_pic='-KPIC'
8457           lt_prog_compiler_static='-Bstatic'
8458           lt_prog_compiler_wl='-Wl,'
8459           ;;
8460         *Intel*\ [CF]*Compiler*)
8461           lt_prog_compiler_wl='-Wl,'
8462           lt_prog_compiler_pic='-fPIC'
8463           lt_prog_compiler_static='-static'
8464           ;;
8465         *Portland\ Group*)
8466           lt_prog_compiler_wl='-Wl,'
8467           lt_prog_compiler_pic='-fpic'
8468           lt_prog_compiler_static='-Bstatic'
8469           ;;
8470         esac
8471         ;;
8472       esac
8473       ;;
8474
8475     newsos6)
8476       lt_prog_compiler_pic='-KPIC'
8477       lt_prog_compiler_static='-Bstatic'
8478       ;;
8479
8480     *nto* | *qnx*)
8481       # QNX uses GNU C++, but need to define -shared option too, otherwise
8482       # it will coredump.
8483       lt_prog_compiler_pic='-fPIC -shared'
8484       ;;
8485
8486     osf3* | osf4* | osf5*)
8487       lt_prog_compiler_wl='-Wl,'
8488       # All OSF/1 code is PIC.
8489       lt_prog_compiler_static='-non_shared'
8490       ;;
8491
8492     rdos*)
8493       lt_prog_compiler_static='-non_shared'
8494       ;;
8495
8496     solaris*)
8497       lt_prog_compiler_pic='-KPIC'
8498       lt_prog_compiler_static='-Bstatic'
8499       case $cc_basename in
8500       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8501         lt_prog_compiler_wl='-Qoption ld ';;
8502       *)
8503         lt_prog_compiler_wl='-Wl,';;
8504       esac
8505       ;;
8506
8507     sunos4*)
8508       lt_prog_compiler_wl='-Qoption ld '
8509       lt_prog_compiler_pic='-PIC'
8510       lt_prog_compiler_static='-Bstatic'
8511       ;;
8512
8513     sysv4 | sysv4.2uw2* | sysv4.3*)
8514       lt_prog_compiler_wl='-Wl,'
8515       lt_prog_compiler_pic='-KPIC'
8516       lt_prog_compiler_static='-Bstatic'
8517       ;;
8518
8519     sysv4*MP*)
8520       if test -d /usr/nec ;then
8521         lt_prog_compiler_pic='-Kconform_pic'
8522         lt_prog_compiler_static='-Bstatic'
8523       fi
8524       ;;
8525
8526     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8527       lt_prog_compiler_wl='-Wl,'
8528       lt_prog_compiler_pic='-KPIC'
8529       lt_prog_compiler_static='-Bstatic'
8530       ;;
8531
8532     unicos*)
8533       lt_prog_compiler_wl='-Wl,'
8534       lt_prog_compiler_can_build_shared=no
8535       ;;
8536
8537     uts4*)
8538       lt_prog_compiler_pic='-pic'
8539       lt_prog_compiler_static='-Bstatic'
8540       ;;
8541
8542     *)
8543       lt_prog_compiler_can_build_shared=no
8544       ;;
8545     esac
8546   fi
8547
8548 case $host_os in
8549   # For platforms which do not support PIC, -DPIC is meaningless:
8550   *djgpp*)
8551     lt_prog_compiler_pic=
8552     ;;
8553   *)
8554     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8555     ;;
8556 esac
8557
8558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8559 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8560 if ${lt_cv_prog_compiler_pic+:} false; then :
8561   $as_echo_n "(cached) " >&6
8562 else
8563   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8564 fi
8565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8566 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8567 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8568
8569 #
8570 # Check to make sure the PIC flag actually works.
8571 #
8572 if test -n "$lt_prog_compiler_pic"; then
8573   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8574 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8575 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8576   $as_echo_n "(cached) " >&6
8577 else
8578   lt_cv_prog_compiler_pic_works=no
8579    ac_outfile=conftest.$ac_objext
8580    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8581    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8582    # Insert the option either (1) after the last *FLAGS variable, or
8583    # (2) before a word containing "conftest.", or (3) at the end.
8584    # Note that $ac_compile itself does not contain backslashes and begins
8585    # with a dollar sign (not a hyphen), so the echo should work correctly.
8586    # The option is referenced via a variable to avoid confusing sed.
8587    lt_compile=`echo "$ac_compile" | $SED \
8588    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8589    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8590    -e 's:$: $lt_compiler_flag:'`
8591    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8592    (eval "$lt_compile" 2>conftest.err)
8593    ac_status=$?
8594    cat conftest.err >&5
8595    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8596    if (exit $ac_status) && test -s "$ac_outfile"; then
8597      # The compiler can only warn and ignore the option if not recognized
8598      # So say no if there are warnings other than the usual output.
8599      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8600      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8601      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8602        lt_cv_prog_compiler_pic_works=yes
8603      fi
8604    fi
8605    $RM conftest*
8606
8607 fi
8608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8609 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8610
8611 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8612     case $lt_prog_compiler_pic in
8613      "" | " "*) ;;
8614      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8615      esac
8616 else
8617     lt_prog_compiler_pic=
8618      lt_prog_compiler_can_build_shared=no
8619 fi
8620
8621 fi
8622
8623
8624
8625
8626
8627
8628
8629
8630
8631
8632
8633 #
8634 # Check to make sure the static flag actually works.
8635 #
8636 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8638 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8639 if ${lt_cv_prog_compiler_static_works+:} false; then :
8640   $as_echo_n "(cached) " >&6
8641 else
8642   lt_cv_prog_compiler_static_works=no
8643    save_LDFLAGS="$LDFLAGS"
8644    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8645    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8646    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8647      # The linker can only warn and ignore the option if not recognized
8648      # So say no if there are warnings
8649      if test -s conftest.err; then
8650        # Append any errors to the config.log.
8651        cat conftest.err 1>&5
8652        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8653        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8654        if diff conftest.exp conftest.er2 >/dev/null; then
8655          lt_cv_prog_compiler_static_works=yes
8656        fi
8657      else
8658        lt_cv_prog_compiler_static_works=yes
8659      fi
8660    fi
8661    $RM -r conftest*
8662    LDFLAGS="$save_LDFLAGS"
8663
8664 fi
8665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8666 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8667
8668 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8669     :
8670 else
8671     lt_prog_compiler_static=
8672 fi
8673
8674
8675
8676
8677
8678
8679
8680   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8681 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8682 if ${lt_cv_prog_compiler_c_o+:} false; then :
8683   $as_echo_n "(cached) " >&6
8684 else
8685   lt_cv_prog_compiler_c_o=no
8686    $RM -r conftest 2>/dev/null
8687    mkdir conftest
8688    cd conftest
8689    mkdir out
8690    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8691
8692    lt_compiler_flag="-o out/conftest2.$ac_objext"
8693    # Insert the option either (1) after the last *FLAGS variable, or
8694    # (2) before a word containing "conftest.", or (3) at the end.
8695    # Note that $ac_compile itself does not contain backslashes and begins
8696    # with a dollar sign (not a hyphen), so the echo should work correctly.
8697    lt_compile=`echo "$ac_compile" | $SED \
8698    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8699    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8700    -e 's:$: $lt_compiler_flag:'`
8701    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8702    (eval "$lt_compile" 2>out/conftest.err)
8703    ac_status=$?
8704    cat out/conftest.err >&5
8705    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8706    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8707    then
8708      # The compiler can only warn and ignore the option if not recognized
8709      # So say no if there are warnings
8710      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8711      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8712      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8713        lt_cv_prog_compiler_c_o=yes
8714      fi
8715    fi
8716    chmod u+w . 2>&5
8717    $RM conftest*
8718    # SGI C++ compiler will create directory out/ii_files/ for
8719    # template instantiation
8720    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8721    $RM out/* && rmdir out
8722    cd ..
8723    $RM -r conftest
8724    $RM conftest*
8725
8726 fi
8727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8728 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8729
8730
8731
8732
8733
8734
8735   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8736 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8737 if ${lt_cv_prog_compiler_c_o+:} false; then :
8738   $as_echo_n "(cached) " >&6
8739 else
8740   lt_cv_prog_compiler_c_o=no
8741    $RM -r conftest 2>/dev/null
8742    mkdir conftest
8743    cd conftest
8744    mkdir out
8745    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8746
8747    lt_compiler_flag="-o out/conftest2.$ac_objext"
8748    # Insert the option either (1) after the last *FLAGS variable, or
8749    # (2) before a word containing "conftest.", or (3) at the end.
8750    # Note that $ac_compile itself does not contain backslashes and begins
8751    # with a dollar sign (not a hyphen), so the echo should work correctly.
8752    lt_compile=`echo "$ac_compile" | $SED \
8753    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8754    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8755    -e 's:$: $lt_compiler_flag:'`
8756    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8757    (eval "$lt_compile" 2>out/conftest.err)
8758    ac_status=$?
8759    cat out/conftest.err >&5
8760    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8761    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8762    then
8763      # The compiler can only warn and ignore the option if not recognized
8764      # So say no if there are warnings
8765      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8766      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8767      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8768        lt_cv_prog_compiler_c_o=yes
8769      fi
8770    fi
8771    chmod u+w . 2>&5
8772    $RM conftest*
8773    # SGI C++ compiler will create directory out/ii_files/ for
8774    # template instantiation
8775    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8776    $RM out/* && rmdir out
8777    cd ..
8778    $RM -r conftest
8779    $RM conftest*
8780
8781 fi
8782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8783 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8784
8785
8786
8787
8788 hard_links="nottested"
8789 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8790   # do not overwrite the value of need_locks provided by the user
8791   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8792 $as_echo_n "checking if we can lock with hard links... " >&6; }
8793   hard_links=yes
8794   $RM conftest*
8795   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8796   touch conftest.a
8797   ln conftest.a conftest.b 2>&5 || hard_links=no
8798   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8799   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8800 $as_echo "$hard_links" >&6; }
8801   if test "$hard_links" = no; then
8802     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8803 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8804     need_locks=warn
8805   fi
8806 else
8807   need_locks=no
8808 fi
8809
8810
8811
8812
8813
8814
8815   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8816 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8817
8818   runpath_var=
8819   allow_undefined_flag=
8820   always_export_symbols=no
8821   archive_cmds=
8822   archive_expsym_cmds=
8823   compiler_needs_object=no
8824   enable_shared_with_static_runtimes=no
8825   export_dynamic_flag_spec=
8826   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8827   hardcode_automatic=no
8828   hardcode_direct=no
8829   hardcode_direct_absolute=no
8830   hardcode_libdir_flag_spec=
8831   hardcode_libdir_separator=
8832   hardcode_minus_L=no
8833   hardcode_shlibpath_var=unsupported
8834   inherit_rpath=no
8835   link_all_deplibs=unknown
8836   module_cmds=
8837   module_expsym_cmds=
8838   old_archive_from_new_cmds=
8839   old_archive_from_expsyms_cmds=
8840   thread_safe_flag_spec=
8841   whole_archive_flag_spec=
8842   # include_expsyms should be a list of space-separated symbols to be *always*
8843   # included in the symbol list
8844   include_expsyms=
8845   # exclude_expsyms can be an extended regexp of symbols to exclude
8846   # it will be wrapped by ` (' and `)$', so one must not match beginning or
8847   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8848   # as well as any symbol that contains `d'.
8849   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8850   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8851   # platforms (ab)use it in PIC code, but their linkers get confused if
8852   # the symbol is explicitly referenced.  Since portable code cannot
8853   # rely on this symbol name, it's probably fine to never include it in
8854   # preloaded symbol tables.
8855   # Exclude shared library initialization/finalization symbols.
8856   extract_expsyms_cmds=
8857
8858   case $host_os in
8859   cygwin* | mingw* | pw32* | cegcc*)
8860     # FIXME: the MSVC++ port hasn't been tested in a loooong time
8861     # When not using gcc, we currently assume that we are using
8862     # Microsoft Visual C++.
8863     if test "$GCC" != yes; then
8864       with_gnu_ld=no
8865     fi
8866     ;;
8867   interix*)
8868     # we just hope/assume this is gcc and not c89 (= MSVC++)
8869     with_gnu_ld=yes
8870     ;;
8871   openbsd*)
8872     with_gnu_ld=no
8873     ;;
8874   esac
8875
8876   ld_shlibs=yes
8877
8878   # On some targets, GNU ld is compatible enough with the native linker
8879   # that we're better off using the native interface for both.
8880   lt_use_gnu_ld_interface=no
8881   if test "$with_gnu_ld" = yes; then
8882     case $host_os in
8883       aix*)
8884         # The AIX port of GNU ld has always aspired to compatibility
8885         # with the native linker.  However, as the warning in the GNU ld
8886         # block says, versions before 2.19.5* couldn't really create working
8887         # shared libraries, regardless of the interface used.
8888         case `$LD -v 2>&1` in
8889           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8890           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8891           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8892           *)
8893             lt_use_gnu_ld_interface=yes
8894             ;;
8895         esac
8896         ;;
8897       *)
8898         lt_use_gnu_ld_interface=yes
8899         ;;
8900     esac
8901   fi
8902
8903   if test "$lt_use_gnu_ld_interface" = yes; then
8904     # If archive_cmds runs LD, not CC, wlarc should be empty
8905     wlarc='${wl}'
8906
8907     # Set some defaults for GNU ld with shared library support. These
8908     # are reset later if shared libraries are not supported. Putting them
8909     # here allows them to be overridden if necessary.
8910     runpath_var=LD_RUN_PATH
8911     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8912     export_dynamic_flag_spec='${wl}--export-dynamic'
8913     # ancient GNU ld didn't support --whole-archive et. al.
8914     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8915       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8916     else
8917       whole_archive_flag_spec=
8918     fi
8919     supports_anon_versioning=no
8920     case `$LD -v 2>&1` in
8921       *GNU\ gold*) supports_anon_versioning=yes ;;
8922       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8923       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8924       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8925       *\ 2.11.*) ;; # other 2.11 versions
8926       *) supports_anon_versioning=yes ;;
8927     esac
8928
8929     # See if GNU ld supports shared libraries.
8930     case $host_os in
8931     aix[3-9]*)
8932       # On AIX/PPC, the GNU linker is very broken
8933       if test "$host_cpu" != ia64; then
8934         ld_shlibs=no
8935         cat <<_LT_EOF 1>&2
8936
8937 *** Warning: the GNU linker, at least up to release 2.19, is reported
8938 *** to be unable to reliably create shared libraries on AIX.
8939 *** Therefore, libtool is disabling shared libraries support.  If you
8940 *** really care for shared libraries, you may want to install binutils
8941 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8942 *** You will then need to restart the configuration process.
8943
8944 _LT_EOF
8945       fi
8946       ;;
8947
8948     amigaos*)
8949       case $host_cpu in
8950       powerpc)
8951             # see comment about AmigaOS4 .so support
8952             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8953             archive_expsym_cmds=''
8954         ;;
8955       m68k)
8956             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)'
8957             hardcode_libdir_flag_spec='-L$libdir'
8958             hardcode_minus_L=yes
8959         ;;
8960       esac
8961       ;;
8962
8963     beos*)
8964       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8965         allow_undefined_flag=unsupported
8966         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8967         # support --undefined.  This deserves some investigation.  FIXME
8968         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8969       else
8970         ld_shlibs=no
8971       fi
8972       ;;
8973
8974     cygwin* | mingw* | pw32* | cegcc*)
8975       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8976       # as there is no search path for DLLs.
8977       hardcode_libdir_flag_spec='-L$libdir'
8978       export_dynamic_flag_spec='${wl}--export-all-symbols'
8979       allow_undefined_flag=unsupported
8980       always_export_symbols=no
8981       enable_shared_with_static_runtimes=yes
8982       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'
8983       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8984
8985       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8986         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8987         # If the export-symbols file already is a .def file (1st line
8988         # is EXPORTS), use it as is; otherwise, prepend...
8989         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8990           cp $export_symbols $output_objdir/$soname.def;
8991         else
8992           echo EXPORTS > $output_objdir/$soname.def;
8993           cat $export_symbols >> $output_objdir/$soname.def;
8994         fi~
8995         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8996       else
8997         ld_shlibs=no
8998       fi
8999       ;;
9000
9001     haiku*)
9002       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9003       link_all_deplibs=yes
9004       ;;
9005
9006     interix[3-9]*)
9007       hardcode_direct=no
9008       hardcode_shlibpath_var=no
9009       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9010       export_dynamic_flag_spec='${wl}-E'
9011       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9012       # Instead, shared libraries are loaded at an image base (0x10000000 by
9013       # default) and relocated if they conflict, which is a slow very memory
9014       # consuming and fragmenting process.  To avoid this, we pick a random,
9015       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9016       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9017       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9018       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'
9019       ;;
9020
9021     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9022       tmp_diet=no
9023       if test "$host_os" = linux-dietlibc; then
9024         case $cc_basename in
9025           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9026         esac
9027       fi
9028       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9029          && test "$tmp_diet" = no
9030       then
9031         tmp_addflag=' $pic_flag'
9032         tmp_sharedflag='-shared'
9033         case $cc_basename,$host_cpu in
9034         pgcc*)                          # Portland Group C compiler
9035           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'
9036           tmp_addflag=' $pic_flag'
9037           ;;
9038         pgf77* | pgf90* | pgf95* | pgfortran*)
9039                                         # Portland Group f77 and f90 compilers
9040           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'
9041           tmp_addflag=' $pic_flag -Mnomain' ;;
9042         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9043           tmp_addflag=' -i_dynamic' ;;
9044         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9045           tmp_addflag=' -i_dynamic -nofor_main' ;;
9046         ifc* | ifort*)                  # Intel Fortran compiler
9047           tmp_addflag=' -nofor_main' ;;
9048         lf95*)                          # Lahey Fortran 8.1
9049           whole_archive_flag_spec=
9050           tmp_sharedflag='--shared' ;;
9051         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9052           tmp_sharedflag='-qmkshrobj'
9053           tmp_addflag= ;;
9054         nvcc*)  # Cuda Compiler Driver 2.2
9055           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'
9056           compiler_needs_object=yes
9057           ;;
9058         esac
9059         case `$CC -V 2>&1 | sed 5q` in
9060         *Sun\ C*)                       # Sun C 5.9
9061           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'
9062           compiler_needs_object=yes
9063           tmp_sharedflag='-G' ;;
9064         *Sun\ F*)                       # Sun Fortran 8.3
9065           tmp_sharedflag='-G' ;;
9066         esac
9067         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9068
9069         if test "x$supports_anon_versioning" = xyes; then
9070           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9071             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9072             echo "local: *; };" >> $output_objdir/$libname.ver~
9073             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9074         fi
9075
9076         case $cc_basename in
9077         xlf* | bgf* | bgxlf* | mpixlf*)
9078           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9079           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9080           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9081           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9082           if test "x$supports_anon_versioning" = xyes; then
9083             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9084               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9085               echo "local: *; };" >> $output_objdir/$libname.ver~
9086               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9087           fi
9088           ;;
9089         esac
9090       else
9091         ld_shlibs=no
9092       fi
9093       ;;
9094
9095     netbsd*)
9096       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9097         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9098         wlarc=
9099       else
9100         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9101         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9102       fi
9103       ;;
9104
9105     solaris*)
9106       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9107         ld_shlibs=no
9108         cat <<_LT_EOF 1>&2
9109
9110 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9111 *** create shared libraries on Solaris systems.  Therefore, libtool
9112 *** is disabling shared libraries support.  We urge you to upgrade GNU
9113 *** binutils to release 2.9.1 or newer.  Another option is to modify
9114 *** your PATH or compiler configuration so that the native linker is
9115 *** used, and then restart.
9116
9117 _LT_EOF
9118       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9119         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9120         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9121       else
9122         ld_shlibs=no
9123       fi
9124       ;;
9125
9126     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9127       case `$LD -v 2>&1` in
9128         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9129         ld_shlibs=no
9130         cat <<_LT_EOF 1>&2
9131
9132 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9133 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9134 *** is disabling shared libraries support.  We urge you to upgrade GNU
9135 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9136 *** your PATH or compiler configuration so that the native linker is
9137 *** used, and then restart.
9138
9139 _LT_EOF
9140         ;;
9141         *)
9142           # For security reasons, it is highly recommended that you always
9143           # use absolute paths for naming shared libraries, and exclude the
9144           # DT_RUNPATH tag from executables and libraries.  But doing so
9145           # requires that you compile everything twice, which is a pain.
9146           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9147             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9148             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9149             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9150           else
9151             ld_shlibs=no
9152           fi
9153         ;;
9154       esac
9155       ;;
9156
9157     sunos4*)
9158       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9159       wlarc=
9160       hardcode_direct=yes
9161       hardcode_shlibpath_var=no
9162       ;;
9163
9164     *)
9165       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9166         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9167         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9168       else
9169         ld_shlibs=no
9170       fi
9171       ;;
9172     esac
9173
9174     if test "$ld_shlibs" = no; then
9175       runpath_var=
9176       hardcode_libdir_flag_spec=
9177       export_dynamic_flag_spec=
9178       whole_archive_flag_spec=
9179     fi
9180   else
9181     # PORTME fill in a description of your system's linker (not GNU ld)
9182     case $host_os in
9183     aix3*)
9184       allow_undefined_flag=unsupported
9185       always_export_symbols=yes
9186       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'
9187       # Note: this linker hardcodes the directories in LIBPATH if there
9188       # are no directories specified by -L.
9189       hardcode_minus_L=yes
9190       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9191         # Neither direct hardcoding nor static linking is supported with a
9192         # broken collect2.
9193         hardcode_direct=unsupported
9194       fi
9195       ;;
9196
9197     aix[4-9]*)
9198       if test "$host_cpu" = ia64; then
9199         # On IA64, the linker does run time linking by default, so we don't
9200         # have to do anything special.
9201         aix_use_runtimelinking=no
9202         exp_sym_flag='-Bexport'
9203         no_entry_flag=""
9204       else
9205         # If we're using GNU nm, then we don't want the "-C" option.
9206         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9207         # Also, AIX nm treats weak defined symbols like other global
9208         # defined symbols, whereas GNU nm marks them as "W".
9209         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9210           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'
9211         else
9212           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'
9213         fi
9214         aix_use_runtimelinking=no
9215
9216         # Test if we are trying to use run time linking or normal
9217         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9218         # need to do runtime linking.
9219         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9220           for ld_flag in $LDFLAGS; do
9221           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9222             aix_use_runtimelinking=yes
9223             break
9224           fi
9225           done
9226           ;;
9227         esac
9228
9229         exp_sym_flag='-bexport'
9230         no_entry_flag='-bnoentry'
9231       fi
9232
9233       # When large executables or shared objects are built, AIX ld can
9234       # have problems creating the table of contents.  If linking a library
9235       # or program results in "error TOC overflow" add -mminimal-toc to
9236       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9237       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9238
9239       archive_cmds=''
9240       hardcode_direct=yes
9241       hardcode_direct_absolute=yes
9242       hardcode_libdir_separator=':'
9243       link_all_deplibs=yes
9244       file_list_spec='${wl}-f,'
9245
9246       if test "$GCC" = yes; then
9247         case $host_os in aix4.[012]|aix4.[012].*)
9248         # We only want to do this on AIX 4.2 and lower, the check
9249         # below for broken collect2 doesn't work under 4.3+
9250           collect2name=`${CC} -print-prog-name=collect2`
9251           if test -f "$collect2name" &&
9252            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9253           then
9254           # We have reworked collect2
9255           :
9256           else
9257           # We have old collect2
9258           hardcode_direct=unsupported
9259           # It fails to find uninstalled libraries when the uninstalled
9260           # path is not listed in the libpath.  Setting hardcode_minus_L
9261           # to unsupported forces relinking
9262           hardcode_minus_L=yes
9263           hardcode_libdir_flag_spec='-L$libdir'
9264           hardcode_libdir_separator=
9265           fi
9266           ;;
9267         esac
9268         shared_flag='-shared'
9269         if test "$aix_use_runtimelinking" = yes; then
9270           shared_flag="$shared_flag "'${wl}-G'
9271         fi
9272       else
9273         # not using gcc
9274         if test "$host_cpu" = ia64; then
9275         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9276         # chokes on -Wl,-G. The following line is correct:
9277           shared_flag='-G'
9278         else
9279           if test "$aix_use_runtimelinking" = yes; then
9280             shared_flag='${wl}-G'
9281           else
9282             shared_flag='${wl}-bM:SRE'
9283           fi
9284         fi
9285       fi
9286
9287       export_dynamic_flag_spec='${wl}-bexpall'
9288       # It seems that -bexpall does not export symbols beginning with
9289       # underscore (_), so it is better to generate a list of symbols to export.
9290       always_export_symbols=yes
9291       if test "$aix_use_runtimelinking" = yes; then
9292         # Warning - without using the other runtime loading flags (-brtl),
9293         # -berok will link without error, but may produce a broken library.
9294         allow_undefined_flag='-berok'
9295         # Determine the default libpath from the value encoded in an
9296         # empty executable.
9297         if test "${lt_cv_aix_libpath+set}" = set; then
9298   aix_libpath=$lt_cv_aix_libpath
9299 else
9300   if ${lt_cv_aix_libpath_+:} false; then :
9301   $as_echo_n "(cached) " >&6
9302 else
9303   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9304 /* end confdefs.h.  */
9305
9306 int
9307 main ()
9308 {
9309
9310   ;
9311   return 0;
9312 }
9313 _ACEOF
9314 if ac_fn_c_try_link "$LINENO"; then :
9315
9316   lt_aix_libpath_sed='
9317       /Import File Strings/,/^$/ {
9318           /^0/ {
9319               s/^0  *\([^ ]*\) *$/\1/
9320               p
9321           }
9322       }'
9323   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9324   # Check for a 64-bit object if we didn't find anything.
9325   if test -z "$lt_cv_aix_libpath_"; then
9326     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9327   fi
9328 fi
9329 rm -f core conftest.err conftest.$ac_objext \
9330     conftest$ac_exeext conftest.$ac_ext
9331   if test -z "$lt_cv_aix_libpath_"; then
9332     lt_cv_aix_libpath_="/usr/lib:/lib"
9333   fi
9334
9335 fi
9336
9337   aix_libpath=$lt_cv_aix_libpath_
9338 fi
9339
9340         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9341         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"
9342       else
9343         if test "$host_cpu" = ia64; then
9344           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9345           allow_undefined_flag="-z nodefs"
9346           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"
9347         else
9348          # Determine the default libpath from the value encoded in an
9349          # empty executable.
9350          if test "${lt_cv_aix_libpath+set}" = set; then
9351   aix_libpath=$lt_cv_aix_libpath
9352 else
9353   if ${lt_cv_aix_libpath_+:} false; then :
9354   $as_echo_n "(cached) " >&6
9355 else
9356   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9357 /* end confdefs.h.  */
9358
9359 int
9360 main ()
9361 {
9362
9363   ;
9364   return 0;
9365 }
9366 _ACEOF
9367 if ac_fn_c_try_link "$LINENO"; then :
9368
9369   lt_aix_libpath_sed='
9370       /Import File Strings/,/^$/ {
9371           /^0/ {
9372               s/^0  *\([^ ]*\) *$/\1/
9373               p
9374           }
9375       }'
9376   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9377   # Check for a 64-bit object if we didn't find anything.
9378   if test -z "$lt_cv_aix_libpath_"; then
9379     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9380   fi
9381 fi
9382 rm -f core conftest.err conftest.$ac_objext \
9383     conftest$ac_exeext conftest.$ac_ext
9384   if test -z "$lt_cv_aix_libpath_"; then
9385     lt_cv_aix_libpath_="/usr/lib:/lib"
9386   fi
9387
9388 fi
9389
9390   aix_libpath=$lt_cv_aix_libpath_
9391 fi
9392
9393          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9394           # Warning - without using the other run time loading flags,
9395           # -berok will link without error, but may produce a broken library.
9396           no_undefined_flag=' ${wl}-bernotok'
9397           allow_undefined_flag=' ${wl}-berok'
9398           if test "$with_gnu_ld" = yes; then
9399             # We only use this code for GNU lds that support --whole-archive.
9400             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9401           else
9402             # Exported symbols can be pulled into shared objects from archives
9403             whole_archive_flag_spec='$convenience'
9404           fi
9405           archive_cmds_need_lc=yes
9406           # This is similar to how AIX traditionally builds its shared libraries.
9407           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'
9408         fi
9409       fi
9410       ;;
9411
9412     amigaos*)
9413       case $host_cpu in
9414       powerpc)
9415             # see comment about AmigaOS4 .so support
9416             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9417             archive_expsym_cmds=''
9418         ;;
9419       m68k)
9420             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)'
9421             hardcode_libdir_flag_spec='-L$libdir'
9422             hardcode_minus_L=yes
9423         ;;
9424       esac
9425       ;;
9426
9427     bsdi[45]*)
9428       export_dynamic_flag_spec=-rdynamic
9429       ;;
9430
9431     cygwin* | mingw* | pw32* | cegcc*)
9432       # When not using gcc, we currently assume that we are using
9433       # Microsoft Visual C++.
9434       # hardcode_libdir_flag_spec is actually meaningless, as there is
9435       # no search path for DLLs.
9436       case $cc_basename in
9437       cl*)
9438         # Native MSVC
9439         hardcode_libdir_flag_spec=' '
9440         allow_undefined_flag=unsupported
9441         always_export_symbols=yes
9442         file_list_spec='@'
9443         # Tell ltmain to make .lib files, not .a files.
9444         libext=lib
9445         # Tell ltmain to make .dll files, not .so files.
9446         shrext_cmds=".dll"
9447         # FIXME: Setting linknames here is a bad hack.
9448         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9449         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9450             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9451           else
9452             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9453           fi~
9454           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9455           linknames='
9456         # The linker will not automatically build a static lib if we build a DLL.
9457         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9458         enable_shared_with_static_runtimes=yes
9459         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9460         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9461         # Don't use ranlib
9462         old_postinstall_cmds='chmod 644 $oldlib'
9463         postlink_cmds='lt_outputfile="@OUTPUT@"~
9464           lt_tool_outputfile="@TOOL_OUTPUT@"~
9465           case $lt_outputfile in
9466             *.exe|*.EXE) ;;
9467             *)
9468               lt_outputfile="$lt_outputfile.exe"
9469               lt_tool_outputfile="$lt_tool_outputfile.exe"
9470               ;;
9471           esac~
9472           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9473             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9474             $RM "$lt_outputfile.manifest";
9475           fi'
9476         ;;
9477       *)
9478         # Assume MSVC wrapper
9479         hardcode_libdir_flag_spec=' '
9480         allow_undefined_flag=unsupported
9481         # Tell ltmain to make .lib files, not .a files.
9482         libext=lib
9483         # Tell ltmain to make .dll files, not .so files.
9484         shrext_cmds=".dll"
9485         # FIXME: Setting linknames here is a bad hack.
9486         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9487         # The linker will automatically build a .lib file if we build a DLL.
9488         old_archive_from_new_cmds='true'
9489         # FIXME: Should let the user specify the lib program.
9490         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9491         enable_shared_with_static_runtimes=yes
9492         ;;
9493       esac
9494       ;;
9495
9496     darwin* | rhapsody*)
9497
9498
9499   archive_cmds_need_lc=no
9500   hardcode_direct=no
9501   hardcode_automatic=yes
9502   hardcode_shlibpath_var=unsupported
9503   if test "$lt_cv_ld_force_load" = "yes"; then
9504     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\"`'
9505
9506   else
9507     whole_archive_flag_spec=''
9508   fi
9509   link_all_deplibs=yes
9510   allow_undefined_flag="$_lt_dar_allow_undefined"
9511   case $cc_basename in
9512      ifort*) _lt_dar_can_shared=yes ;;
9513      *) _lt_dar_can_shared=$GCC ;;
9514   esac
9515   if test "$_lt_dar_can_shared" = "yes"; then
9516     output_verbose_link_cmd=func_echo_all
9517     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9518     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9519     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}"
9520     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}"
9521
9522   else
9523   ld_shlibs=no
9524   fi
9525
9526       ;;
9527
9528     dgux*)
9529       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9530       hardcode_libdir_flag_spec='-L$libdir'
9531       hardcode_shlibpath_var=no
9532       ;;
9533
9534     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9535     # support.  Future versions do this automatically, but an explicit c++rt0.o
9536     # does not break anything, and helps significantly (at the cost of a little
9537     # extra space).
9538     freebsd2.2*)
9539       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9540       hardcode_libdir_flag_spec='-R$libdir'
9541       hardcode_direct=yes
9542       hardcode_shlibpath_var=no
9543       ;;
9544
9545     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9546     freebsd2.*)
9547       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9548       hardcode_direct=yes
9549       hardcode_minus_L=yes
9550       hardcode_shlibpath_var=no
9551       ;;
9552
9553     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9554     freebsd* | dragonfly*)
9555       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9556       hardcode_libdir_flag_spec='-R$libdir'
9557       hardcode_direct=yes
9558       hardcode_shlibpath_var=no
9559       ;;
9560
9561     hpux9*)
9562       if test "$GCC" = yes; then
9563         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'
9564       else
9565         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'
9566       fi
9567       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9568       hardcode_libdir_separator=:
9569       hardcode_direct=yes
9570
9571       # hardcode_minus_L: Not really in the search PATH,
9572       # but as the default location of the library.
9573       hardcode_minus_L=yes
9574       export_dynamic_flag_spec='${wl}-E'
9575       ;;
9576
9577     hpux10*)
9578       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9579         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9580       else
9581         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9582       fi
9583       if test "$with_gnu_ld" = no; then
9584         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9585         hardcode_libdir_separator=:
9586         hardcode_direct=yes
9587         hardcode_direct_absolute=yes
9588         export_dynamic_flag_spec='${wl}-E'
9589         # hardcode_minus_L: Not really in the search PATH,
9590         # but as the default location of the library.
9591         hardcode_minus_L=yes
9592       fi
9593       ;;
9594
9595     hpux11*)
9596       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9597         case $host_cpu in
9598         hppa*64*)
9599           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9600           ;;
9601         ia64*)
9602           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9603           ;;
9604         *)
9605           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9606           ;;
9607         esac
9608       else
9609         case $host_cpu in
9610         hppa*64*)
9611           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9612           ;;
9613         ia64*)
9614           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9615           ;;
9616         *)
9617
9618           # Older versions of the 11.00 compiler do not understand -b yet
9619           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9620           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9621 $as_echo_n "checking if $CC understands -b... " >&6; }
9622 if ${lt_cv_prog_compiler__b+:} false; then :
9623   $as_echo_n "(cached) " >&6
9624 else
9625   lt_cv_prog_compiler__b=no
9626    save_LDFLAGS="$LDFLAGS"
9627    LDFLAGS="$LDFLAGS -b"
9628    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9629    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9630      # The linker can only warn and ignore the option if not recognized
9631      # So say no if there are warnings
9632      if test -s conftest.err; then
9633        # Append any errors to the config.log.
9634        cat conftest.err 1>&5
9635        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9636        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9637        if diff conftest.exp conftest.er2 >/dev/null; then
9638          lt_cv_prog_compiler__b=yes
9639        fi
9640      else
9641        lt_cv_prog_compiler__b=yes
9642      fi
9643    fi
9644    $RM -r conftest*
9645    LDFLAGS="$save_LDFLAGS"
9646
9647 fi
9648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9649 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9650
9651 if test x"$lt_cv_prog_compiler__b" = xyes; then
9652     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9653 else
9654     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9655 fi
9656
9657           ;;
9658         esac
9659       fi
9660       if test "$with_gnu_ld" = no; then
9661         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9662         hardcode_libdir_separator=:
9663
9664         case $host_cpu in
9665         hppa*64*|ia64*)
9666           hardcode_direct=no
9667           hardcode_shlibpath_var=no
9668           ;;
9669         *)
9670           hardcode_direct=yes
9671           hardcode_direct_absolute=yes
9672           export_dynamic_flag_spec='${wl}-E'
9673
9674           # hardcode_minus_L: Not really in the search PATH,
9675           # but as the default location of the library.
9676           hardcode_minus_L=yes
9677           ;;
9678         esac
9679       fi
9680       ;;
9681
9682     irix5* | irix6* | nonstopux*)
9683       if test "$GCC" = yes; then
9684         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'
9685         # Try to use the -exported_symbol ld option, if it does not
9686         # work, assume that -exports_file does not work either and
9687         # implicitly export all symbols.
9688         # This should be the same for all languages, so no per-tag cache variable.
9689         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9690 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9691 if ${lt_cv_irix_exported_symbol+:} false; then :
9692   $as_echo_n "(cached) " >&6
9693 else
9694   save_LDFLAGS="$LDFLAGS"
9695            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9696            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9697 /* end confdefs.h.  */
9698 int foo (void) { return 0; }
9699 _ACEOF
9700 if ac_fn_c_try_link "$LINENO"; then :
9701   lt_cv_irix_exported_symbol=yes
9702 else
9703   lt_cv_irix_exported_symbol=no
9704 fi
9705 rm -f core conftest.err conftest.$ac_objext \
9706     conftest$ac_exeext conftest.$ac_ext
9707            LDFLAGS="$save_LDFLAGS"
9708 fi
9709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9710 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9711         if test "$lt_cv_irix_exported_symbol" = yes; then
9712           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'
9713         fi
9714       else
9715         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'
9716         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'
9717       fi
9718       archive_cmds_need_lc='no'
9719       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9720       hardcode_libdir_separator=:
9721       inherit_rpath=yes
9722       link_all_deplibs=yes
9723       ;;
9724
9725     netbsd*)
9726       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9727         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9728       else
9729         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9730       fi
9731       hardcode_libdir_flag_spec='-R$libdir'
9732       hardcode_direct=yes
9733       hardcode_shlibpath_var=no
9734       ;;
9735
9736     newsos6)
9737       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9738       hardcode_direct=yes
9739       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9740       hardcode_libdir_separator=:
9741       hardcode_shlibpath_var=no
9742       ;;
9743
9744     *nto* | *qnx*)
9745       ;;
9746
9747     openbsd*)
9748       if test -f /usr/libexec/ld.so; then
9749         hardcode_direct=yes
9750         hardcode_shlibpath_var=no
9751         hardcode_direct_absolute=yes
9752         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9753           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9754           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9755           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9756           export_dynamic_flag_spec='${wl}-E'
9757         else
9758           case $host_os in
9759            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9760              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9761              hardcode_libdir_flag_spec='-R$libdir'
9762              ;;
9763            *)
9764              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9765              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9766              ;;
9767           esac
9768         fi
9769       else
9770         ld_shlibs=no
9771       fi
9772       ;;
9773
9774     os2*)
9775       hardcode_libdir_flag_spec='-L$libdir'
9776       hardcode_minus_L=yes
9777       allow_undefined_flag=unsupported
9778       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'
9779       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9780       ;;
9781
9782     osf3*)
9783       if test "$GCC" = yes; then
9784         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9785         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'
9786       else
9787         allow_undefined_flag=' -expect_unresolved \*'
9788         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'
9789       fi
9790       archive_cmds_need_lc='no'
9791       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9792       hardcode_libdir_separator=:
9793       ;;
9794
9795     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9796       if test "$GCC" = yes; then
9797         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9798         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'
9799         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9800       else
9801         allow_undefined_flag=' -expect_unresolved \*'
9802         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'
9803         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~
9804         $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'
9805
9806         # Both c and cxx compiler support -rpath directly
9807         hardcode_libdir_flag_spec='-rpath $libdir'
9808       fi
9809       archive_cmds_need_lc='no'
9810       hardcode_libdir_separator=:
9811       ;;
9812
9813     solaris*)
9814       no_undefined_flag=' -z defs'
9815       if test "$GCC" = yes; then
9816         wlarc='${wl}'
9817         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9818         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9819           $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'
9820       else
9821         case `$CC -V 2>&1` in
9822         *"Compilers 5.0"*)
9823           wlarc=''
9824           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9825           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9826           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9827           ;;
9828         *)
9829           wlarc='${wl}'
9830           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9831           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9832           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9833           ;;
9834         esac
9835       fi
9836       hardcode_libdir_flag_spec='-R$libdir'
9837       hardcode_shlibpath_var=no
9838       case $host_os in
9839       solaris2.[0-5] | solaris2.[0-5].*) ;;
9840       *)
9841         # The compiler driver will combine and reorder linker options,
9842         # but understands `-z linker_flag'.  GCC discards it without `$wl',
9843         # but is careful enough not to reorder.
9844         # Supported since Solaris 2.6 (maybe 2.5.1?)
9845         if test "$GCC" = yes; then
9846           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9847         else
9848           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9849         fi
9850         ;;
9851       esac
9852       link_all_deplibs=yes
9853       ;;
9854
9855     sunos4*)
9856       if test "x$host_vendor" = xsequent; then
9857         # Use $CC to link under sequent, because it throws in some extra .o
9858         # files that make .init and .fini sections work.
9859         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9860       else
9861         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9862       fi
9863       hardcode_libdir_flag_spec='-L$libdir'
9864       hardcode_direct=yes
9865       hardcode_minus_L=yes
9866       hardcode_shlibpath_var=no
9867       ;;
9868
9869     sysv4)
9870       case $host_vendor in
9871         sni)
9872           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9873           hardcode_direct=yes # is this really true???
9874         ;;
9875         siemens)
9876           ## LD is ld it makes a PLAMLIB
9877           ## CC just makes a GrossModule.
9878           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9879           reload_cmds='$CC -r -o $output$reload_objs'
9880           hardcode_direct=no
9881         ;;
9882         motorola)
9883           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9884           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9885         ;;
9886       esac
9887       runpath_var='LD_RUN_PATH'
9888       hardcode_shlibpath_var=no
9889       ;;
9890
9891     sysv4.3*)
9892       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9893       hardcode_shlibpath_var=no
9894       export_dynamic_flag_spec='-Bexport'
9895       ;;
9896
9897     sysv4*MP*)
9898       if test -d /usr/nec; then
9899         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9900         hardcode_shlibpath_var=no
9901         runpath_var=LD_RUN_PATH
9902         hardcode_runpath_var=yes
9903         ld_shlibs=yes
9904       fi
9905       ;;
9906
9907     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9908       no_undefined_flag='${wl}-z,text'
9909       archive_cmds_need_lc=no
9910       hardcode_shlibpath_var=no
9911       runpath_var='LD_RUN_PATH'
9912
9913       if test "$GCC" = yes; then
9914         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9915         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9916       else
9917         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9918         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9919       fi
9920       ;;
9921
9922     sysv5* | sco3.2v5* | sco5v6*)
9923       # Note: We can NOT use -z defs as we might desire, because we do not
9924       # link with -lc, and that would cause any symbols used from libc to
9925       # always be unresolved, which means just about no library would
9926       # ever link correctly.  If we're not using GNU ld we use -z text
9927       # though, which does catch some bad symbols but isn't as heavy-handed
9928       # as -z defs.
9929       no_undefined_flag='${wl}-z,text'
9930       allow_undefined_flag='${wl}-z,nodefs'
9931       archive_cmds_need_lc=no
9932       hardcode_shlibpath_var=no
9933       hardcode_libdir_flag_spec='${wl}-R,$libdir'
9934       hardcode_libdir_separator=':'
9935       link_all_deplibs=yes
9936       export_dynamic_flag_spec='${wl}-Bexport'
9937       runpath_var='LD_RUN_PATH'
9938
9939       if test "$GCC" = yes; then
9940         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9941         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9942       else
9943         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9944         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9945       fi
9946       ;;
9947
9948     uts4*)
9949       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9950       hardcode_libdir_flag_spec='-L$libdir'
9951       hardcode_shlibpath_var=no
9952       ;;
9953
9954     *)
9955       ld_shlibs=no
9956       ;;
9957     esac
9958
9959     if test x$host_vendor = xsni; then
9960       case $host in
9961       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9962         export_dynamic_flag_spec='${wl}-Blargedynsym'
9963         ;;
9964       esac
9965     fi
9966   fi
9967
9968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9969 $as_echo "$ld_shlibs" >&6; }
9970 test "$ld_shlibs" = no && can_build_shared=no
9971
9972 with_gnu_ld=$with_gnu_ld
9973
9974
9975
9976
9977
9978
9979
9980
9981
9982
9983
9984
9985
9986
9987
9988 #
9989 # Do we need to explicitly link libc?
9990 #
9991 case "x$archive_cmds_need_lc" in
9992 x|xyes)
9993   # Assume -lc should be added
9994   archive_cmds_need_lc=yes
9995
9996   if test "$enable_shared" = yes && test "$GCC" = yes; then
9997     case $archive_cmds in
9998     *'~'*)
9999       # FIXME: we may have to deal with multi-command sequences.
10000       ;;
10001     '$CC '*)
10002       # Test whether the compiler implicitly links with -lc since on some
10003       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10004       # to ld, don't add -lc before -lgcc.
10005       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10006 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10007 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10008   $as_echo_n "(cached) " >&6
10009 else
10010   $RM conftest*
10011         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10012
10013         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10014   (eval $ac_compile) 2>&5
10015   ac_status=$?
10016   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10017   test $ac_status = 0; } 2>conftest.err; then
10018           soname=conftest
10019           lib=conftest
10020           libobjs=conftest.$ac_objext
10021           deplibs=
10022           wl=$lt_prog_compiler_wl
10023           pic_flag=$lt_prog_compiler_pic
10024           compiler_flags=-v
10025           linker_flags=-v
10026           verstring=
10027           output_objdir=.
10028           libname=conftest
10029           lt_save_allow_undefined_flag=$allow_undefined_flag
10030           allow_undefined_flag=
10031           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10032   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10033   ac_status=$?
10034   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10035   test $ac_status = 0; }
10036           then
10037             lt_cv_archive_cmds_need_lc=no
10038           else
10039             lt_cv_archive_cmds_need_lc=yes
10040           fi
10041           allow_undefined_flag=$lt_save_allow_undefined_flag
10042         else
10043           cat conftest.err 1>&5
10044         fi
10045         $RM conftest*
10046
10047 fi
10048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10049 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10050       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10051       ;;
10052     esac
10053   fi
10054   ;;
10055 esac
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10209 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10210
10211 if test "$GCC" = yes; then
10212   case $host_os in
10213     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10214     *) lt_awk_arg="/^libraries:/" ;;
10215   esac
10216   case $host_os in
10217     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10218     *) lt_sed_strip_eq="s,=/,/,g" ;;
10219   esac
10220   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10221   case $lt_search_path_spec in
10222   *\;*)
10223     # if the path contains ";" then we assume it to be the separator
10224     # otherwise default to the standard path separator (i.e. ":") - it is
10225     # assumed that no part of a normal pathname contains ";" but that should
10226     # okay in the real world where ";" in dirpaths is itself problematic.
10227     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10228     ;;
10229   *)
10230     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10231     ;;
10232   esac
10233   # Ok, now we have the path, separated by spaces, we can step through it
10234   # and add multilib dir if necessary.
10235   lt_tmp_lt_search_path_spec=
10236   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10237   for lt_sys_path in $lt_search_path_spec; do
10238     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10239       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10240     else
10241       test -d "$lt_sys_path" && \
10242         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10243     fi
10244   done
10245   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10246 BEGIN {RS=" "; FS="/|\n";} {
10247   lt_foo="";
10248   lt_count=0;
10249   for (lt_i = NF; lt_i > 0; lt_i--) {
10250     if ($lt_i != "" && $lt_i != ".") {
10251       if ($lt_i == "..") {
10252         lt_count++;
10253       } else {
10254         if (lt_count == 0) {
10255           lt_foo="/" $lt_i lt_foo;
10256         } else {
10257           lt_count--;
10258         }
10259       }
10260     }
10261   }
10262   if (lt_foo != "") { lt_freq[lt_foo]++; }
10263   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10264 }'`
10265   # AWK program above erroneously prepends '/' to C:/dos/paths
10266   # for these hosts.
10267   case $host_os in
10268     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10269       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10270   esac
10271   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10272 else
10273   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10274 fi
10275 library_names_spec=
10276 libname_spec='lib$name'
10277 soname_spec=
10278 shrext_cmds=".so"
10279 postinstall_cmds=
10280 postuninstall_cmds=
10281 finish_cmds=
10282 finish_eval=
10283 shlibpath_var=
10284 shlibpath_overrides_runpath=unknown
10285 version_type=none
10286 dynamic_linker="$host_os ld.so"
10287 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10288 need_lib_prefix=unknown
10289 hardcode_into_libs=no
10290
10291 # when you set need_version to no, make sure it does not cause -set_version
10292 # flags to be left without arguments
10293 need_version=unknown
10294
10295 case $host_os in
10296 aix3*)
10297   version_type=linux # correct to gnu/linux during the next big refactor
10298   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10299   shlibpath_var=LIBPATH
10300
10301   # AIX 3 has no versioning support, so we append a major version to the name.
10302   soname_spec='${libname}${release}${shared_ext}$major'
10303   ;;
10304
10305 aix[4-9]*)
10306   version_type=linux # correct to gnu/linux during the next big refactor
10307   need_lib_prefix=no
10308   need_version=no
10309   hardcode_into_libs=yes
10310   if test "$host_cpu" = ia64; then
10311     # AIX 5 supports IA64
10312     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10313     shlibpath_var=LD_LIBRARY_PATH
10314   else
10315     # With GCC up to 2.95.x, collect2 would create an import file
10316     # for dependence libraries.  The import file would start with
10317     # the line `#! .'.  This would cause the generated library to
10318     # depend on `.', always an invalid library.  This was fixed in
10319     # development snapshots of GCC prior to 3.0.
10320     case $host_os in
10321       aix4 | aix4.[01] | aix4.[01].*)
10322       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10323            echo ' yes '
10324            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10325         :
10326       else
10327         can_build_shared=no
10328       fi
10329       ;;
10330     esac
10331     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10332     # soname into executable. Probably we can add versioning support to
10333     # collect2, so additional links can be useful in future.
10334     if test "$aix_use_runtimelinking" = yes; then
10335       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10336       # instead of lib<name>.a to let people know that these are not
10337       # typical AIX shared libraries.
10338       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10339     else
10340       # We preserve .a as extension for shared libraries through AIX4.2
10341       # and later when we are not doing run time linking.
10342       library_names_spec='${libname}${release}.a $libname.a'
10343       soname_spec='${libname}${release}${shared_ext}$major'
10344     fi
10345     shlibpath_var=LIBPATH
10346   fi
10347   ;;
10348
10349 amigaos*)
10350   case $host_cpu in
10351   powerpc)
10352     # Since July 2007 AmigaOS4 officially supports .so libraries.
10353     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10354     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10355     ;;
10356   m68k)
10357     library_names_spec='$libname.ixlibrary $libname.a'
10358     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10359     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'
10360     ;;
10361   esac
10362   ;;
10363
10364 beos*)
10365   library_names_spec='${libname}${shared_ext}'
10366   dynamic_linker="$host_os ld.so"
10367   shlibpath_var=LIBRARY_PATH
10368   ;;
10369
10370 bsdi[45]*)
10371   version_type=linux # correct to gnu/linux during the next big refactor
10372   need_version=no
10373   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10374   soname_spec='${libname}${release}${shared_ext}$major'
10375   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10376   shlibpath_var=LD_LIBRARY_PATH
10377   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10378   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10379   # the default ld.so.conf also contains /usr/contrib/lib and
10380   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10381   # libtool to hard-code these into programs
10382   ;;
10383
10384 cygwin* | mingw* | pw32* | cegcc*)
10385   version_type=windows
10386   shrext_cmds=".dll"
10387   need_version=no
10388   need_lib_prefix=no
10389
10390   case $GCC,$cc_basename in
10391   yes,*)
10392     # gcc
10393     library_names_spec='$libname.dll.a'
10394     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10395     postinstall_cmds='base_file=`basename \${file}`~
10396       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10397       dldir=$destdir/`dirname \$dlpath`~
10398       test -d \$dldir || mkdir -p \$dldir~
10399       $install_prog $dir/$dlname \$dldir/$dlname~
10400       chmod a+x \$dldir/$dlname~
10401       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10402         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10403       fi'
10404     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10405       dlpath=$dir/\$dldll~
10406        $RM \$dlpath'
10407     shlibpath_overrides_runpath=yes
10408
10409     case $host_os in
10410     cygwin*)
10411       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10412       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10413
10414       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10415       ;;
10416     mingw* | cegcc*)
10417       # MinGW DLLs use traditional 'lib' prefix
10418       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10419       ;;
10420     pw32*)
10421       # pw32 DLLs use 'pw' prefix rather than 'lib'
10422       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10423       ;;
10424     esac
10425     dynamic_linker='Win32 ld.exe'
10426     ;;
10427
10428   *,cl*)
10429     # Native MSVC
10430     libname_spec='$name'
10431     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10432     library_names_spec='${libname}.dll.lib'
10433
10434     case $build_os in
10435     mingw*)
10436       sys_lib_search_path_spec=
10437       lt_save_ifs=$IFS
10438       IFS=';'
10439       for lt_path in $LIB
10440       do
10441         IFS=$lt_save_ifs
10442         # Let DOS variable expansion print the short 8.3 style file name.
10443         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10444         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10445       done
10446       IFS=$lt_save_ifs
10447       # Convert to MSYS style.
10448       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10449       ;;
10450     cygwin*)
10451       # Convert to unix form, then to dos form, then back to unix form
10452       # but this time dos style (no spaces!) so that the unix form looks
10453       # like /cygdrive/c/PROGRA~1:/cygdr...
10454       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10455       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10456       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10457       ;;
10458     *)
10459       sys_lib_search_path_spec="$LIB"
10460       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10461         # It is most probably a Windows format PATH.
10462         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10463       else
10464         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10465       fi
10466       # FIXME: find the short name or the path components, as spaces are
10467       # common. (e.g. "Program Files" -> "PROGRA~1")
10468       ;;
10469     esac
10470
10471     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10472     postinstall_cmds='base_file=`basename \${file}`~
10473       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10474       dldir=$destdir/`dirname \$dlpath`~
10475       test -d \$dldir || mkdir -p \$dldir~
10476       $install_prog $dir/$dlname \$dldir/$dlname'
10477     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10478       dlpath=$dir/\$dldll~
10479        $RM \$dlpath'
10480     shlibpath_overrides_runpath=yes
10481     dynamic_linker='Win32 link.exe'
10482     ;;
10483
10484   *)
10485     # Assume MSVC wrapper
10486     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10487     dynamic_linker='Win32 ld.exe'
10488     ;;
10489   esac
10490   # FIXME: first we should search . and the directory the executable is in
10491   shlibpath_var=PATH
10492   ;;
10493
10494 darwin* | rhapsody*)
10495   dynamic_linker="$host_os dyld"
10496   version_type=darwin
10497   need_lib_prefix=no
10498   need_version=no
10499   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10500   soname_spec='${libname}${release}${major}$shared_ext'
10501   shlibpath_overrides_runpath=yes
10502   shlibpath_var=DYLD_LIBRARY_PATH
10503   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10504
10505   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10506   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10507   ;;
10508
10509 dgux*)
10510   version_type=linux # correct to gnu/linux during the next big refactor
10511   need_lib_prefix=no
10512   need_version=no
10513   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10514   soname_spec='${libname}${release}${shared_ext}$major'
10515   shlibpath_var=LD_LIBRARY_PATH
10516   ;;
10517
10518 freebsd* | dragonfly*)
10519   # DragonFly does not have aout.  When/if they implement a new
10520   # versioning mechanism, adjust this.
10521   if test -x /usr/bin/objformat; then
10522     objformat=`/usr/bin/objformat`
10523   else
10524     case $host_os in
10525     freebsd[23].*) objformat=aout ;;
10526     *) objformat=elf ;;
10527     esac
10528   fi
10529   version_type=freebsd-$objformat
10530   case $version_type in
10531     freebsd-elf*)
10532       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10533       need_version=no
10534       need_lib_prefix=no
10535       ;;
10536     freebsd-*)
10537       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10538       need_version=yes
10539       ;;
10540   esac
10541   shlibpath_var=LD_LIBRARY_PATH
10542   case $host_os in
10543   freebsd2.*)
10544     shlibpath_overrides_runpath=yes
10545     ;;
10546   freebsd3.[01]* | freebsdelf3.[01]*)
10547     shlibpath_overrides_runpath=yes
10548     hardcode_into_libs=yes
10549     ;;
10550   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10551   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10552     shlibpath_overrides_runpath=no
10553     hardcode_into_libs=yes
10554     ;;
10555   *) # from 4.6 on, and DragonFly
10556     shlibpath_overrides_runpath=yes
10557     hardcode_into_libs=yes
10558     ;;
10559   esac
10560   ;;
10561
10562 gnu*)
10563   version_type=linux # correct to gnu/linux during the next big refactor
10564   need_lib_prefix=no
10565   need_version=no
10566   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10567   soname_spec='${libname}${release}${shared_ext}$major'
10568   shlibpath_var=LD_LIBRARY_PATH
10569   shlibpath_overrides_runpath=no
10570   hardcode_into_libs=yes
10571   ;;
10572
10573 haiku*)
10574   version_type=linux # correct to gnu/linux during the next big refactor
10575   need_lib_prefix=no
10576   need_version=no
10577   dynamic_linker="$host_os runtime_loader"
10578   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10579   soname_spec='${libname}${release}${shared_ext}$major'
10580   shlibpath_var=LIBRARY_PATH
10581   shlibpath_overrides_runpath=yes
10582   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10583   hardcode_into_libs=yes
10584   ;;
10585
10586 hpux9* | hpux10* | hpux11*)
10587   # Give a soname corresponding to the major version so that dld.sl refuses to
10588   # link against other versions.
10589   version_type=sunos
10590   need_lib_prefix=no
10591   need_version=no
10592   case $host_cpu in
10593   ia64*)
10594     shrext_cmds='.so'
10595     hardcode_into_libs=yes
10596     dynamic_linker="$host_os dld.so"
10597     shlibpath_var=LD_LIBRARY_PATH
10598     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10599     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10600     soname_spec='${libname}${release}${shared_ext}$major'
10601     if test "X$HPUX_IA64_MODE" = X32; then
10602       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10603     else
10604       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10605     fi
10606     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10607     ;;
10608   hppa*64*)
10609     shrext_cmds='.sl'
10610     hardcode_into_libs=yes
10611     dynamic_linker="$host_os dld.sl"
10612     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10613     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10614     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10615     soname_spec='${libname}${release}${shared_ext}$major'
10616     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10617     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10618     ;;
10619   *)
10620     shrext_cmds='.sl'
10621     dynamic_linker="$host_os dld.sl"
10622     shlibpath_var=SHLIB_PATH
10623     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10624     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10625     soname_spec='${libname}${release}${shared_ext}$major'
10626     ;;
10627   esac
10628   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10629   postinstall_cmds='chmod 555 $lib'
10630   # or fails outright, so override atomically:
10631   install_override_mode=555
10632   ;;
10633
10634 interix[3-9]*)
10635   version_type=linux # correct to gnu/linux during the next big refactor
10636   need_lib_prefix=no
10637   need_version=no
10638   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10639   soname_spec='${libname}${release}${shared_ext}$major'
10640   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10641   shlibpath_var=LD_LIBRARY_PATH
10642   shlibpath_overrides_runpath=no
10643   hardcode_into_libs=yes
10644   ;;
10645
10646 irix5* | irix6* | nonstopux*)
10647   case $host_os in
10648     nonstopux*) version_type=nonstopux ;;
10649     *)
10650         if test "$lt_cv_prog_gnu_ld" = yes; then
10651                 version_type=linux # correct to gnu/linux during the next big refactor
10652         else
10653                 version_type=irix
10654         fi ;;
10655   esac
10656   need_lib_prefix=no
10657   need_version=no
10658   soname_spec='${libname}${release}${shared_ext}$major'
10659   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10660   case $host_os in
10661   irix5* | nonstopux*)
10662     libsuff= shlibsuff=
10663     ;;
10664   *)
10665     case $LD in # libtool.m4 will add one of these switches to LD
10666     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10667       libsuff= shlibsuff= libmagic=32-bit;;
10668     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10669       libsuff=32 shlibsuff=N32 libmagic=N32;;
10670     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10671       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10672     *) libsuff= shlibsuff= libmagic=never-match;;
10673     esac
10674     ;;
10675   esac
10676   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10677   shlibpath_overrides_runpath=no
10678   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10679   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10680   hardcode_into_libs=yes
10681   ;;
10682
10683 # No shared lib support for Linux oldld, aout, or coff.
10684 linux*oldld* | linux*aout* | linux*coff*)
10685   dynamic_linker=no
10686   ;;
10687
10688 # This must be glibc/ELF.
10689 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10690   version_type=linux # correct to gnu/linux during the next big refactor
10691   need_lib_prefix=no
10692   need_version=no
10693   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10694   soname_spec='${libname}${release}${shared_ext}$major'
10695   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10696   shlibpath_var=LD_LIBRARY_PATH
10697   shlibpath_overrides_runpath=no
10698
10699   # Some binutils ld are patched to set DT_RUNPATH
10700   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10701   $as_echo_n "(cached) " >&6
10702 else
10703   lt_cv_shlibpath_overrides_runpath=no
10704     save_LDFLAGS=$LDFLAGS
10705     save_libdir=$libdir
10706     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10707          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10708     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10709 /* end confdefs.h.  */
10710
10711 int
10712 main ()
10713 {
10714
10715   ;
10716   return 0;
10717 }
10718 _ACEOF
10719 if ac_fn_c_try_link "$LINENO"; then :
10720   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10721   lt_cv_shlibpath_overrides_runpath=yes
10722 fi
10723 fi
10724 rm -f core conftest.err conftest.$ac_objext \
10725     conftest$ac_exeext conftest.$ac_ext
10726     LDFLAGS=$save_LDFLAGS
10727     libdir=$save_libdir
10728
10729 fi
10730
10731   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10732
10733   # This implies no fast_install, which is unacceptable.
10734   # Some rework will be needed to allow for fast_install
10735   # before this can be enabled.
10736   hardcode_into_libs=yes
10737
10738   # Append ld.so.conf contents to the search path
10739   if test -f /etc/ld.so.conf; then
10740     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' ' '`
10741     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10742   fi
10743
10744   # We used to test for /lib/ld.so.1 and disable shared libraries on
10745   # powerpc, because MkLinux only supported shared libraries with the
10746   # GNU dynamic linker.  Since this was broken with cross compilers,
10747   # most powerpc-linux boxes support dynamic linking these days and
10748   # people can always --disable-shared, the test was removed, and we
10749   # assume the GNU/Linux dynamic linker is in use.
10750   dynamic_linker='GNU/Linux ld.so'
10751   ;;
10752
10753 netbsd*)
10754   version_type=sunos
10755   need_lib_prefix=no
10756   need_version=no
10757   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10758     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10759     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10760     dynamic_linker='NetBSD (a.out) ld.so'
10761   else
10762     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10763     soname_spec='${libname}${release}${shared_ext}$major'
10764     dynamic_linker='NetBSD ld.elf_so'
10765   fi
10766   shlibpath_var=LD_LIBRARY_PATH
10767   shlibpath_overrides_runpath=yes
10768   hardcode_into_libs=yes
10769   ;;
10770
10771 newsos6)
10772   version_type=linux # correct to gnu/linux during the next big refactor
10773   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10774   shlibpath_var=LD_LIBRARY_PATH
10775   shlibpath_overrides_runpath=yes
10776   ;;
10777
10778 *nto* | *qnx*)
10779   version_type=qnx
10780   need_lib_prefix=no
10781   need_version=no
10782   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10783   soname_spec='${libname}${release}${shared_ext}$major'
10784   shlibpath_var=LD_LIBRARY_PATH
10785   shlibpath_overrides_runpath=no
10786   hardcode_into_libs=yes
10787   dynamic_linker='ldqnx.so'
10788   ;;
10789
10790 openbsd*)
10791   version_type=sunos
10792   sys_lib_dlsearch_path_spec="/usr/lib"
10793   need_lib_prefix=no
10794   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10795   case $host_os in
10796     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10797     *)                          need_version=no  ;;
10798   esac
10799   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10800   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10801   shlibpath_var=LD_LIBRARY_PATH
10802   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10803     case $host_os in
10804       openbsd2.[89] | openbsd2.[89].*)
10805         shlibpath_overrides_runpath=no
10806         ;;
10807       *)
10808         shlibpath_overrides_runpath=yes
10809         ;;
10810       esac
10811   else
10812     shlibpath_overrides_runpath=yes
10813   fi
10814   ;;
10815
10816 os2*)
10817   libname_spec='$name'
10818   shrext_cmds=".dll"
10819   need_lib_prefix=no
10820   library_names_spec='$libname${shared_ext} $libname.a'
10821   dynamic_linker='OS/2 ld.exe'
10822   shlibpath_var=LIBPATH
10823   ;;
10824
10825 osf3* | osf4* | osf5*)
10826   version_type=osf
10827   need_lib_prefix=no
10828   need_version=no
10829   soname_spec='${libname}${release}${shared_ext}$major'
10830   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10831   shlibpath_var=LD_LIBRARY_PATH
10832   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10833   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10834   ;;
10835
10836 rdos*)
10837   dynamic_linker=no
10838   ;;
10839
10840 solaris*)
10841   version_type=linux # correct to gnu/linux during the next big refactor
10842   need_lib_prefix=no
10843   need_version=no
10844   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10845   soname_spec='${libname}${release}${shared_ext}$major'
10846   shlibpath_var=LD_LIBRARY_PATH
10847   shlibpath_overrides_runpath=yes
10848   hardcode_into_libs=yes
10849   # ldd complains unless libraries are executable
10850   postinstall_cmds='chmod +x $lib'
10851   ;;
10852
10853 sunos4*)
10854   version_type=sunos
10855   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10856   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10857   shlibpath_var=LD_LIBRARY_PATH
10858   shlibpath_overrides_runpath=yes
10859   if test "$with_gnu_ld" = yes; then
10860     need_lib_prefix=no
10861   fi
10862   need_version=yes
10863   ;;
10864
10865 sysv4 | sysv4.3*)
10866   version_type=linux # correct to gnu/linux during the next big refactor
10867   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10868   soname_spec='${libname}${release}${shared_ext}$major'
10869   shlibpath_var=LD_LIBRARY_PATH
10870   case $host_vendor in
10871     sni)
10872       shlibpath_overrides_runpath=no
10873       need_lib_prefix=no
10874       runpath_var=LD_RUN_PATH
10875       ;;
10876     siemens)
10877       need_lib_prefix=no
10878       ;;
10879     motorola)
10880       need_lib_prefix=no
10881       need_version=no
10882       shlibpath_overrides_runpath=no
10883       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10884       ;;
10885   esac
10886   ;;
10887
10888 sysv4*MP*)
10889   if test -d /usr/nec ;then
10890     version_type=linux # correct to gnu/linux during the next big refactor
10891     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10892     soname_spec='$libname${shared_ext}.$major'
10893     shlibpath_var=LD_LIBRARY_PATH
10894   fi
10895   ;;
10896
10897 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10898   version_type=freebsd-elf
10899   need_lib_prefix=no
10900   need_version=no
10901   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10902   soname_spec='${libname}${release}${shared_ext}$major'
10903   shlibpath_var=LD_LIBRARY_PATH
10904   shlibpath_overrides_runpath=yes
10905   hardcode_into_libs=yes
10906   if test "$with_gnu_ld" = yes; then
10907     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10908   else
10909     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10910     case $host_os in
10911       sco3.2v5*)
10912         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10913         ;;
10914     esac
10915   fi
10916   sys_lib_dlsearch_path_spec='/usr/lib'
10917   ;;
10918
10919 tpf*)
10920   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10921   version_type=linux # correct to gnu/linux during the next big refactor
10922   need_lib_prefix=no
10923   need_version=no
10924   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10925   shlibpath_var=LD_LIBRARY_PATH
10926   shlibpath_overrides_runpath=no
10927   hardcode_into_libs=yes
10928   ;;
10929
10930 uts4*)
10931   version_type=linux # correct to gnu/linux during the next big refactor
10932   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10933   soname_spec='${libname}${release}${shared_ext}$major'
10934   shlibpath_var=LD_LIBRARY_PATH
10935   ;;
10936
10937 *)
10938   dynamic_linker=no
10939   ;;
10940 esac
10941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10942 $as_echo "$dynamic_linker" >&6; }
10943 test "$dynamic_linker" = no && can_build_shared=no
10944
10945 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10946 if test "$GCC" = yes; then
10947   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10948 fi
10949
10950 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10951   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10952 fi
10953 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10954   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10955 fi
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11049 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11050 hardcode_action=
11051 if test -n "$hardcode_libdir_flag_spec" ||
11052    test -n "$runpath_var" ||
11053    test "X$hardcode_automatic" = "Xyes" ; then
11054
11055   # We can hardcode non-existent directories.
11056   if test "$hardcode_direct" != no &&
11057      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11058      # have to relink, otherwise we might link with an installed library
11059      # when we should be linking with a yet-to-be-installed one
11060      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11061      test "$hardcode_minus_L" != no; then
11062     # Linking always hardcodes the temporary library directory.
11063     hardcode_action=relink
11064   else
11065     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11066     hardcode_action=immediate
11067   fi
11068 else
11069   # We cannot hardcode anything, or else we can only hardcode existing
11070   # directories.
11071   hardcode_action=unsupported
11072 fi
11073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11074 $as_echo "$hardcode_action" >&6; }
11075
11076 if test "$hardcode_action" = relink ||
11077    test "$inherit_rpath" = yes; then
11078   # Fast installation is not supported
11079   enable_fast_install=no
11080 elif test "$shlibpath_overrides_runpath" = yes ||
11081      test "$enable_shared" = no; then
11082   # Fast installation is not necessary
11083   enable_fast_install=needless
11084 fi
11085
11086
11087
11088
11089
11090
11091   if test "x$enable_dlopen" != xyes; then
11092   enable_dlopen=unknown
11093   enable_dlopen_self=unknown
11094   enable_dlopen_self_static=unknown
11095 else
11096   lt_cv_dlopen=no
11097   lt_cv_dlopen_libs=
11098
11099   case $host_os in
11100   beos*)
11101     lt_cv_dlopen="load_add_on"
11102     lt_cv_dlopen_libs=
11103     lt_cv_dlopen_self=yes
11104     ;;
11105
11106   mingw* | pw32* | cegcc*)
11107     lt_cv_dlopen="LoadLibrary"
11108     lt_cv_dlopen_libs=
11109     ;;
11110
11111   cygwin*)
11112     lt_cv_dlopen="dlopen"
11113     lt_cv_dlopen_libs=
11114     ;;
11115
11116   darwin*)
11117   # if libdl is installed we need to link against it
11118     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11119 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11120 if ${ac_cv_lib_dl_dlopen+:} false; then :
11121   $as_echo_n "(cached) " >&6
11122 else
11123   ac_check_lib_save_LIBS=$LIBS
11124 LIBS="-ldl  $LIBS"
11125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11126 /* end confdefs.h.  */
11127
11128 /* Override any GCC internal prototype to avoid an error.
11129    Use char because int might match the return type of a GCC
11130    builtin and then its argument prototype would still apply.  */
11131 #ifdef __cplusplus
11132 extern "C"
11133 #endif
11134 char dlopen ();
11135 int
11136 main ()
11137 {
11138 return dlopen ();
11139   ;
11140   return 0;
11141 }
11142 _ACEOF
11143 if ac_fn_c_try_link "$LINENO"; then :
11144   ac_cv_lib_dl_dlopen=yes
11145 else
11146   ac_cv_lib_dl_dlopen=no
11147 fi
11148 rm -f core conftest.err conftest.$ac_objext \
11149     conftest$ac_exeext conftest.$ac_ext
11150 LIBS=$ac_check_lib_save_LIBS
11151 fi
11152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11153 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11154 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11155   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11156 else
11157
11158     lt_cv_dlopen="dyld"
11159     lt_cv_dlopen_libs=
11160     lt_cv_dlopen_self=yes
11161
11162 fi
11163
11164     ;;
11165
11166   *)
11167     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11168 if test "x$ac_cv_func_shl_load" = xyes; then :
11169   lt_cv_dlopen="shl_load"
11170 else
11171   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11172 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11173 if ${ac_cv_lib_dld_shl_load+:} false; then :
11174   $as_echo_n "(cached) " >&6
11175 else
11176   ac_check_lib_save_LIBS=$LIBS
11177 LIBS="-ldld  $LIBS"
11178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11179 /* end confdefs.h.  */
11180
11181 /* Override any GCC internal prototype to avoid an error.
11182    Use char because int might match the return type of a GCC
11183    builtin and then its argument prototype would still apply.  */
11184 #ifdef __cplusplus
11185 extern "C"
11186 #endif
11187 char shl_load ();
11188 int
11189 main ()
11190 {
11191 return shl_load ();
11192   ;
11193   return 0;
11194 }
11195 _ACEOF
11196 if ac_fn_c_try_link "$LINENO"; then :
11197   ac_cv_lib_dld_shl_load=yes
11198 else
11199   ac_cv_lib_dld_shl_load=no
11200 fi
11201 rm -f core conftest.err conftest.$ac_objext \
11202     conftest$ac_exeext conftest.$ac_ext
11203 LIBS=$ac_check_lib_save_LIBS
11204 fi
11205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11206 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11207 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11208   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11209 else
11210   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11211 if test "x$ac_cv_func_dlopen" = xyes; then :
11212   lt_cv_dlopen="dlopen"
11213 else
11214   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11215 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11216 if ${ac_cv_lib_dl_dlopen+:} false; then :
11217   $as_echo_n "(cached) " >&6
11218 else
11219   ac_check_lib_save_LIBS=$LIBS
11220 LIBS="-ldl  $LIBS"
11221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11222 /* end confdefs.h.  */
11223
11224 /* Override any GCC internal prototype to avoid an error.
11225    Use char because int might match the return type of a GCC
11226    builtin and then its argument prototype would still apply.  */
11227 #ifdef __cplusplus
11228 extern "C"
11229 #endif
11230 char dlopen ();
11231 int
11232 main ()
11233 {
11234 return dlopen ();
11235   ;
11236   return 0;
11237 }
11238 _ACEOF
11239 if ac_fn_c_try_link "$LINENO"; then :
11240   ac_cv_lib_dl_dlopen=yes
11241 else
11242   ac_cv_lib_dl_dlopen=no
11243 fi
11244 rm -f core conftest.err conftest.$ac_objext \
11245     conftest$ac_exeext conftest.$ac_ext
11246 LIBS=$ac_check_lib_save_LIBS
11247 fi
11248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11249 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11250 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11251   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11252 else
11253   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11254 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11255 if ${ac_cv_lib_svld_dlopen+:} false; then :
11256   $as_echo_n "(cached) " >&6
11257 else
11258   ac_check_lib_save_LIBS=$LIBS
11259 LIBS="-lsvld  $LIBS"
11260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11261 /* end confdefs.h.  */
11262
11263 /* Override any GCC internal prototype to avoid an error.
11264    Use char because int might match the return type of a GCC
11265    builtin and then its argument prototype would still apply.  */
11266 #ifdef __cplusplus
11267 extern "C"
11268 #endif
11269 char dlopen ();
11270 int
11271 main ()
11272 {
11273 return dlopen ();
11274   ;
11275   return 0;
11276 }
11277 _ACEOF
11278 if ac_fn_c_try_link "$LINENO"; then :
11279   ac_cv_lib_svld_dlopen=yes
11280 else
11281   ac_cv_lib_svld_dlopen=no
11282 fi
11283 rm -f core conftest.err conftest.$ac_objext \
11284     conftest$ac_exeext conftest.$ac_ext
11285 LIBS=$ac_check_lib_save_LIBS
11286 fi
11287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11288 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11289 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11290   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11291 else
11292   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11293 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11294 if ${ac_cv_lib_dld_dld_link+:} false; then :
11295   $as_echo_n "(cached) " >&6
11296 else
11297   ac_check_lib_save_LIBS=$LIBS
11298 LIBS="-ldld  $LIBS"
11299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11300 /* end confdefs.h.  */
11301
11302 /* Override any GCC internal prototype to avoid an error.
11303    Use char because int might match the return type of a GCC
11304    builtin and then its argument prototype would still apply.  */
11305 #ifdef __cplusplus
11306 extern "C"
11307 #endif
11308 char dld_link ();
11309 int
11310 main ()
11311 {
11312 return dld_link ();
11313   ;
11314   return 0;
11315 }
11316 _ACEOF
11317 if ac_fn_c_try_link "$LINENO"; then :
11318   ac_cv_lib_dld_dld_link=yes
11319 else
11320   ac_cv_lib_dld_dld_link=no
11321 fi
11322 rm -f core conftest.err conftest.$ac_objext \
11323     conftest$ac_exeext conftest.$ac_ext
11324 LIBS=$ac_check_lib_save_LIBS
11325 fi
11326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11327 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11328 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11329   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11330 fi
11331
11332
11333 fi
11334
11335
11336 fi
11337
11338
11339 fi
11340
11341
11342 fi
11343
11344
11345 fi
11346
11347     ;;
11348   esac
11349
11350   if test "x$lt_cv_dlopen" != xno; then
11351     enable_dlopen=yes
11352   else
11353     enable_dlopen=no
11354   fi
11355
11356   case $lt_cv_dlopen in
11357   dlopen)
11358     save_CPPFLAGS="$CPPFLAGS"
11359     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11360
11361     save_LDFLAGS="$LDFLAGS"
11362     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11363
11364     save_LIBS="$LIBS"
11365     LIBS="$lt_cv_dlopen_libs $LIBS"
11366
11367     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11368 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11369 if ${lt_cv_dlopen_self+:} false; then :
11370   $as_echo_n "(cached) " >&6
11371 else
11372           if test "$cross_compiling" = yes; then :
11373   lt_cv_dlopen_self=cross
11374 else
11375   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11376   lt_status=$lt_dlunknown
11377   cat > conftest.$ac_ext <<_LT_EOF
11378 #line $LINENO "configure"
11379 #include "confdefs.h"
11380
11381 #if HAVE_DLFCN_H
11382 #include <dlfcn.h>
11383 #endif
11384
11385 #include <stdio.h>
11386
11387 #ifdef RTLD_GLOBAL
11388 #  define LT_DLGLOBAL           RTLD_GLOBAL
11389 #else
11390 #  ifdef DL_GLOBAL
11391 #    define LT_DLGLOBAL         DL_GLOBAL
11392 #  else
11393 #    define LT_DLGLOBAL         0
11394 #  endif
11395 #endif
11396
11397 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11398    find out it does not work in some platform. */
11399 #ifndef LT_DLLAZY_OR_NOW
11400 #  ifdef RTLD_LAZY
11401 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11402 #  else
11403 #    ifdef DL_LAZY
11404 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11405 #    else
11406 #      ifdef RTLD_NOW
11407 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11408 #      else
11409 #        ifdef DL_NOW
11410 #          define LT_DLLAZY_OR_NOW      DL_NOW
11411 #        else
11412 #          define LT_DLLAZY_OR_NOW      0
11413 #        endif
11414 #      endif
11415 #    endif
11416 #  endif
11417 #endif
11418
11419 /* When -fvisbility=hidden is used, assume the code has been annotated
11420    correspondingly for the symbols needed.  */
11421 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11422 int fnord () __attribute__((visibility("default")));
11423 #endif
11424
11425 int fnord () { return 42; }
11426 int main ()
11427 {
11428   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11429   int status = $lt_dlunknown;
11430
11431   if (self)
11432     {
11433       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11434       else
11435         {
11436           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11437           else puts (dlerror ());
11438         }
11439       /* dlclose (self); */
11440     }
11441   else
11442     puts (dlerror ());
11443
11444   return status;
11445 }
11446 _LT_EOF
11447   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11448   (eval $ac_link) 2>&5
11449   ac_status=$?
11450   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11451   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11452     (./conftest; exit; ) >&5 2>/dev/null
11453     lt_status=$?
11454     case x$lt_status in
11455       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11456       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11457       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11458     esac
11459   else :
11460     # compilation failed
11461     lt_cv_dlopen_self=no
11462   fi
11463 fi
11464 rm -fr conftest*
11465
11466
11467 fi
11468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11469 $as_echo "$lt_cv_dlopen_self" >&6; }
11470
11471     if test "x$lt_cv_dlopen_self" = xyes; then
11472       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11473       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11474 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11475 if ${lt_cv_dlopen_self_static+:} false; then :
11476   $as_echo_n "(cached) " >&6
11477 else
11478           if test "$cross_compiling" = yes; then :
11479   lt_cv_dlopen_self_static=cross
11480 else
11481   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11482   lt_status=$lt_dlunknown
11483   cat > conftest.$ac_ext <<_LT_EOF
11484 #line $LINENO "configure"
11485 #include "confdefs.h"
11486
11487 #if HAVE_DLFCN_H
11488 #include <dlfcn.h>
11489 #endif
11490
11491 #include <stdio.h>
11492
11493 #ifdef RTLD_GLOBAL
11494 #  define LT_DLGLOBAL           RTLD_GLOBAL
11495 #else
11496 #  ifdef DL_GLOBAL
11497 #    define LT_DLGLOBAL         DL_GLOBAL
11498 #  else
11499 #    define LT_DLGLOBAL         0
11500 #  endif
11501 #endif
11502
11503 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11504    find out it does not work in some platform. */
11505 #ifndef LT_DLLAZY_OR_NOW
11506 #  ifdef RTLD_LAZY
11507 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11508 #  else
11509 #    ifdef DL_LAZY
11510 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11511 #    else
11512 #      ifdef RTLD_NOW
11513 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11514 #      else
11515 #        ifdef DL_NOW
11516 #          define LT_DLLAZY_OR_NOW      DL_NOW
11517 #        else
11518 #          define LT_DLLAZY_OR_NOW      0
11519 #        endif
11520 #      endif
11521 #    endif
11522 #  endif
11523 #endif
11524
11525 /* When -fvisbility=hidden is used, assume the code has been annotated
11526    correspondingly for the symbols needed.  */
11527 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11528 int fnord () __attribute__((visibility("default")));
11529 #endif
11530
11531 int fnord () { return 42; }
11532 int main ()
11533 {
11534   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11535   int status = $lt_dlunknown;
11536
11537   if (self)
11538     {
11539       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11540       else
11541         {
11542           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11543           else puts (dlerror ());
11544         }
11545       /* dlclose (self); */
11546     }
11547   else
11548     puts (dlerror ());
11549
11550   return status;
11551 }
11552 _LT_EOF
11553   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11554   (eval $ac_link) 2>&5
11555   ac_status=$?
11556   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11557   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11558     (./conftest; exit; ) >&5 2>/dev/null
11559     lt_status=$?
11560     case x$lt_status in
11561       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11562       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11563       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11564     esac
11565   else :
11566     # compilation failed
11567     lt_cv_dlopen_self_static=no
11568   fi
11569 fi
11570 rm -fr conftest*
11571
11572
11573 fi
11574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11575 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11576     fi
11577
11578     CPPFLAGS="$save_CPPFLAGS"
11579     LDFLAGS="$save_LDFLAGS"
11580     LIBS="$save_LIBS"
11581     ;;
11582   esac
11583
11584   case $lt_cv_dlopen_self in
11585   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11586   *) enable_dlopen_self=unknown ;;
11587   esac
11588
11589   case $lt_cv_dlopen_self_static in
11590   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11591   *) enable_dlopen_self_static=unknown ;;
11592   esac
11593 fi
11594
11595
11596
11597
11598
11599
11600
11601
11602
11603
11604
11605
11606
11607
11608
11609
11610
11611 striplib=
11612 old_striplib=
11613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11614 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11615 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11616   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11617   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11618   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11619 $as_echo "yes" >&6; }
11620 else
11621 # FIXME - insert some real tests, host_os isn't really good enough
11622   case $host_os in
11623   darwin*)
11624     if test -n "$STRIP" ; then
11625       striplib="$STRIP -x"
11626       old_striplib="$STRIP -S"
11627       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11628 $as_echo "yes" >&6; }
11629     else
11630       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11631 $as_echo "no" >&6; }
11632     fi
11633     ;;
11634   *)
11635     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11636 $as_echo "no" >&6; }
11637     ;;
11638   esac
11639 fi
11640
11641
11642
11643
11644
11645
11646
11647
11648
11649
11650
11651
11652   # Report which library types will actually be built
11653   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11654 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11655   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11656 $as_echo "$can_build_shared" >&6; }
11657
11658   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11659 $as_echo_n "checking whether to build shared libraries... " >&6; }
11660   test "$can_build_shared" = "no" && enable_shared=no
11661
11662   # On AIX, shared libraries and static libraries use the same namespace, and
11663   # are all built from PIC.
11664   case $host_os in
11665   aix3*)
11666     test "$enable_shared" = yes && enable_static=no
11667     if test -n "$RANLIB"; then
11668       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11669       postinstall_cmds='$RANLIB $lib'
11670     fi
11671     ;;
11672
11673   aix[4-9]*)
11674     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11675       test "$enable_shared" = yes && enable_static=no
11676     fi
11677     ;;
11678   esac
11679   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11680 $as_echo "$enable_shared" >&6; }
11681
11682   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11683 $as_echo_n "checking whether to build static libraries... " >&6; }
11684   # Make sure either enable_shared or enable_static is yes.
11685   test "$enable_shared" = yes || enable_static=yes
11686   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11687 $as_echo "$enable_static" >&6; }
11688
11689
11690
11691
11692 fi
11693 ac_ext=c
11694 ac_cpp='$CPP $CPPFLAGS'
11695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11698
11699 CC="$lt_save_CC"
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715         ac_config_commands="$ac_config_commands libtool"
11716
11717
11718
11719
11720 # Only expand once:
11721
11722
11723
11724 # Checks for programs.
11725 ac_ext=c
11726 ac_cpp='$CPP $CPPFLAGS'
11727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11730 if test -n "$ac_tool_prefix"; then
11731   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11732 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11734 $as_echo_n "checking for $ac_word... " >&6; }
11735 if ${ac_cv_prog_CC+:} false; then :
11736   $as_echo_n "(cached) " >&6
11737 else
11738   if test -n "$CC"; then
11739   ac_cv_prog_CC="$CC" # Let the user override the test.
11740 else
11741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11742 for as_dir in $PATH
11743 do
11744   IFS=$as_save_IFS
11745   test -z "$as_dir" && as_dir=.
11746     for ac_exec_ext in '' $ac_executable_extensions; do
11747   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11748     ac_cv_prog_CC="${ac_tool_prefix}gcc"
11749     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11750     break 2
11751   fi
11752 done
11753   done
11754 IFS=$as_save_IFS
11755
11756 fi
11757 fi
11758 CC=$ac_cv_prog_CC
11759 if test -n "$CC"; then
11760   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11761 $as_echo "$CC" >&6; }
11762 else
11763   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11764 $as_echo "no" >&6; }
11765 fi
11766
11767
11768 fi
11769 if test -z "$ac_cv_prog_CC"; then
11770   ac_ct_CC=$CC
11771   # Extract the first word of "gcc", so it can be a program name with args.
11772 set dummy gcc; ac_word=$2
11773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11774 $as_echo_n "checking for $ac_word... " >&6; }
11775 if ${ac_cv_prog_ac_ct_CC+:} false; then :
11776   $as_echo_n "(cached) " >&6
11777 else
11778   if test -n "$ac_ct_CC"; then
11779   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11780 else
11781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11782 for as_dir in $PATH
11783 do
11784   IFS=$as_save_IFS
11785   test -z "$as_dir" && as_dir=.
11786     for ac_exec_ext in '' $ac_executable_extensions; do
11787   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11788     ac_cv_prog_ac_ct_CC="gcc"
11789     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11790     break 2
11791   fi
11792 done
11793   done
11794 IFS=$as_save_IFS
11795
11796 fi
11797 fi
11798 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11799 if test -n "$ac_ct_CC"; then
11800   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11801 $as_echo "$ac_ct_CC" >&6; }
11802 else
11803   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11804 $as_echo "no" >&6; }
11805 fi
11806
11807   if test "x$ac_ct_CC" = x; then
11808     CC=""
11809   else
11810     case $cross_compiling:$ac_tool_warned in
11811 yes:)
11812 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11813 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11814 ac_tool_warned=yes ;;
11815 esac
11816     CC=$ac_ct_CC
11817   fi
11818 else
11819   CC="$ac_cv_prog_CC"
11820 fi
11821
11822 if test -z "$CC"; then
11823           if test -n "$ac_tool_prefix"; then
11824     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11825 set dummy ${ac_tool_prefix}cc; ac_word=$2
11826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11827 $as_echo_n "checking for $ac_word... " >&6; }
11828 if ${ac_cv_prog_CC+:} false; then :
11829   $as_echo_n "(cached) " >&6
11830 else
11831   if test -n "$CC"; then
11832   ac_cv_prog_CC="$CC" # Let the user override the test.
11833 else
11834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11835 for as_dir in $PATH
11836 do
11837   IFS=$as_save_IFS
11838   test -z "$as_dir" && as_dir=.
11839     for ac_exec_ext in '' $ac_executable_extensions; do
11840   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11841     ac_cv_prog_CC="${ac_tool_prefix}cc"
11842     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11843     break 2
11844   fi
11845 done
11846   done
11847 IFS=$as_save_IFS
11848
11849 fi
11850 fi
11851 CC=$ac_cv_prog_CC
11852 if test -n "$CC"; then
11853   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11854 $as_echo "$CC" >&6; }
11855 else
11856   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11857 $as_echo "no" >&6; }
11858 fi
11859
11860
11861   fi
11862 fi
11863 if test -z "$CC"; then
11864   # Extract the first word of "cc", so it can be a program name with args.
11865 set dummy cc; ac_word=$2
11866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11867 $as_echo_n "checking for $ac_word... " >&6; }
11868 if ${ac_cv_prog_CC+:} false; then :
11869   $as_echo_n "(cached) " >&6
11870 else
11871   if test -n "$CC"; then
11872   ac_cv_prog_CC="$CC" # Let the user override the test.
11873 else
11874   ac_prog_rejected=no
11875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11876 for as_dir in $PATH
11877 do
11878   IFS=$as_save_IFS
11879   test -z "$as_dir" && as_dir=.
11880     for ac_exec_ext in '' $ac_executable_extensions; do
11881   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11882     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11883        ac_prog_rejected=yes
11884        continue
11885      fi
11886     ac_cv_prog_CC="cc"
11887     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11888     break 2
11889   fi
11890 done
11891   done
11892 IFS=$as_save_IFS
11893
11894 if test $ac_prog_rejected = yes; then
11895   # We found a bogon in the path, so make sure we never use it.
11896   set dummy $ac_cv_prog_CC
11897   shift
11898   if test $# != 0; then
11899     # We chose a different compiler from the bogus one.
11900     # However, it has the same basename, so the bogon will be chosen
11901     # first if we set CC to just the basename; use the full file name.
11902     shift
11903     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
11904   fi
11905 fi
11906 fi
11907 fi
11908 CC=$ac_cv_prog_CC
11909 if test -n "$CC"; then
11910   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11911 $as_echo "$CC" >&6; }
11912 else
11913   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11914 $as_echo "no" >&6; }
11915 fi
11916
11917
11918 fi
11919 if test -z "$CC"; then
11920   if test -n "$ac_tool_prefix"; then
11921   for ac_prog in cl.exe
11922   do
11923     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11924 set dummy $ac_tool_prefix$ac_prog; 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_prog_CC+:} false; then :
11928   $as_echo_n "(cached) " >&6
11929 else
11930   if test -n "$CC"; then
11931   ac_cv_prog_CC="$CC" # Let the user override the test.
11932 else
11933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11934 for as_dir in $PATH
11935 do
11936   IFS=$as_save_IFS
11937   test -z "$as_dir" && as_dir=.
11938     for ac_exec_ext in '' $ac_executable_extensions; do
11939   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11940     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11941     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11942     break 2
11943   fi
11944 done
11945   done
11946 IFS=$as_save_IFS
11947
11948 fi
11949 fi
11950 CC=$ac_cv_prog_CC
11951 if test -n "$CC"; then
11952   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11953 $as_echo "$CC" >&6; }
11954 else
11955   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11956 $as_echo "no" >&6; }
11957 fi
11958
11959
11960     test -n "$CC" && break
11961   done
11962 fi
11963 if test -z "$CC"; then
11964   ac_ct_CC=$CC
11965   for ac_prog in cl.exe
11966 do
11967   # Extract the first word of "$ac_prog", so it can be a program name with args.
11968 set dummy $ac_prog; ac_word=$2
11969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11970 $as_echo_n "checking for $ac_word... " >&6; }
11971 if ${ac_cv_prog_ac_ct_CC+:} false; then :
11972   $as_echo_n "(cached) " >&6
11973 else
11974   if test -n "$ac_ct_CC"; then
11975   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11976 else
11977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11978 for as_dir in $PATH
11979 do
11980   IFS=$as_save_IFS
11981   test -z "$as_dir" && as_dir=.
11982     for ac_exec_ext in '' $ac_executable_extensions; do
11983   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11984     ac_cv_prog_ac_ct_CC="$ac_prog"
11985     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11986     break 2
11987   fi
11988 done
11989   done
11990 IFS=$as_save_IFS
11991
11992 fi
11993 fi
11994 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11995 if test -n "$ac_ct_CC"; then
11996   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11997 $as_echo "$ac_ct_CC" >&6; }
11998 else
11999   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12000 $as_echo "no" >&6; }
12001 fi
12002
12003
12004   test -n "$ac_ct_CC" && break
12005 done
12006
12007   if test "x$ac_ct_CC" = x; then
12008     CC=""
12009   else
12010     case $cross_compiling:$ac_tool_warned in
12011 yes:)
12012 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12013 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12014 ac_tool_warned=yes ;;
12015 esac
12016     CC=$ac_ct_CC
12017   fi
12018 fi
12019
12020 fi
12021
12022
12023 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12024 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12025 as_fn_error $? "no acceptable C compiler found in \$PATH
12026 See \`config.log' for more details" "$LINENO" 5; }
12027
12028 # Provide some information about the compiler.
12029 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12030 set X $ac_compile
12031 ac_compiler=$2
12032 for ac_option in --version -v -V -qversion; do
12033   { { ac_try="$ac_compiler $ac_option >&5"
12034 case "(($ac_try" in
12035   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12036   *) ac_try_echo=$ac_try;;
12037 esac
12038 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12039 $as_echo "$ac_try_echo"; } >&5
12040   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12041   ac_status=$?
12042   if test -s conftest.err; then
12043     sed '10a\
12044 ... rest of stderr output deleted ...
12045          10q' conftest.err >conftest.er1
12046     cat conftest.er1 >&5
12047   fi
12048   rm -f conftest.er1 conftest.err
12049   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12050   test $ac_status = 0; }
12051 done
12052
12053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12054 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12055 if ${ac_cv_c_compiler_gnu+:} false; then :
12056   $as_echo_n "(cached) " >&6
12057 else
12058   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12059 /* end confdefs.h.  */
12060
12061 int
12062 main ()
12063 {
12064 #ifndef __GNUC__
12065        choke me
12066 #endif
12067
12068   ;
12069   return 0;
12070 }
12071 _ACEOF
12072 if ac_fn_c_try_compile "$LINENO"; then :
12073   ac_compiler_gnu=yes
12074 else
12075   ac_compiler_gnu=no
12076 fi
12077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12078 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12079
12080 fi
12081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12082 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12083 if test $ac_compiler_gnu = yes; then
12084   GCC=yes
12085 else
12086   GCC=
12087 fi
12088 ac_test_CFLAGS=${CFLAGS+set}
12089 ac_save_CFLAGS=$CFLAGS
12090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12091 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12092 if ${ac_cv_prog_cc_g+:} false; then :
12093   $as_echo_n "(cached) " >&6
12094 else
12095   ac_save_c_werror_flag=$ac_c_werror_flag
12096    ac_c_werror_flag=yes
12097    ac_cv_prog_cc_g=no
12098    CFLAGS="-g"
12099    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12100 /* end confdefs.h.  */
12101
12102 int
12103 main ()
12104 {
12105
12106   ;
12107   return 0;
12108 }
12109 _ACEOF
12110 if ac_fn_c_try_compile "$LINENO"; then :
12111   ac_cv_prog_cc_g=yes
12112 else
12113   CFLAGS=""
12114       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12115 /* end confdefs.h.  */
12116
12117 int
12118 main ()
12119 {
12120
12121   ;
12122   return 0;
12123 }
12124 _ACEOF
12125 if ac_fn_c_try_compile "$LINENO"; then :
12126
12127 else
12128   ac_c_werror_flag=$ac_save_c_werror_flag
12129          CFLAGS="-g"
12130          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12131 /* end confdefs.h.  */
12132
12133 int
12134 main ()
12135 {
12136
12137   ;
12138   return 0;
12139 }
12140 _ACEOF
12141 if ac_fn_c_try_compile "$LINENO"; then :
12142   ac_cv_prog_cc_g=yes
12143 fi
12144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12145 fi
12146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12147 fi
12148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12149    ac_c_werror_flag=$ac_save_c_werror_flag
12150 fi
12151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12152 $as_echo "$ac_cv_prog_cc_g" >&6; }
12153 if test "$ac_test_CFLAGS" = set; then
12154   CFLAGS=$ac_save_CFLAGS
12155 elif test $ac_cv_prog_cc_g = yes; then
12156   if test "$GCC" = yes; then
12157     CFLAGS="-g -O2"
12158   else
12159     CFLAGS="-g"
12160   fi
12161 else
12162   if test "$GCC" = yes; then
12163     CFLAGS="-O2"
12164   else
12165     CFLAGS=
12166   fi
12167 fi
12168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12169 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12170 if ${ac_cv_prog_cc_c89+:} false; then :
12171   $as_echo_n "(cached) " >&6
12172 else
12173   ac_cv_prog_cc_c89=no
12174 ac_save_CC=$CC
12175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12176 /* end confdefs.h.  */
12177 #include <stdarg.h>
12178 #include <stdio.h>
12179 struct stat;
12180 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
12181 struct buf { int x; };
12182 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12183 static char *e (p, i)
12184      char **p;
12185      int i;
12186 {
12187   return p[i];
12188 }
12189 static char *f (char * (*g) (char **, int), char **p, ...)
12190 {
12191   char *s;
12192   va_list v;
12193   va_start (v,p);
12194   s = g (p, va_arg (v,int));
12195   va_end (v);
12196   return s;
12197 }
12198
12199 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
12200    function prototypes and stuff, but not '\xHH' hex character constants.
12201    These don't provoke an error unfortunately, instead are silently treated
12202    as 'x'.  The following induces an error, until -std is added to get
12203    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
12204    array size at least.  It's necessary to write '\x00'==0 to get something
12205    that's true only with -std.  */
12206 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12207
12208 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12209    inside strings and character constants.  */
12210 #define FOO(x) 'x'
12211 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12212
12213 int test (int i, double x);
12214 struct s1 {int (*f) (int a);};
12215 struct s2 {int (*f) (double a);};
12216 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12217 int argc;
12218 char **argv;
12219 int
12220 main ()
12221 {
12222 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
12223   ;
12224   return 0;
12225 }
12226 _ACEOF
12227 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12228         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12229 do
12230   CC="$ac_save_CC $ac_arg"
12231   if ac_fn_c_try_compile "$LINENO"; then :
12232   ac_cv_prog_cc_c89=$ac_arg
12233 fi
12234 rm -f core conftest.err conftest.$ac_objext
12235   test "x$ac_cv_prog_cc_c89" != "xno" && break
12236 done
12237 rm -f conftest.$ac_ext
12238 CC=$ac_save_CC
12239
12240 fi
12241 # AC_CACHE_VAL
12242 case "x$ac_cv_prog_cc_c89" in
12243   x)
12244     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12245 $as_echo "none needed" >&6; } ;;
12246   xno)
12247     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12248 $as_echo "unsupported" >&6; } ;;
12249   *)
12250     CC="$CC $ac_cv_prog_cc_c89"
12251     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12252 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12253 esac
12254 if test "x$ac_cv_prog_cc_c89" != xno; then :
12255
12256 fi
12257
12258 ac_ext=c
12259 ac_cpp='$CPP $CPPFLAGS'
12260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12263
12264 ac_ext=c
12265 ac_cpp='$CPP $CPPFLAGS'
12266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
12270 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
12271 if ${am_cv_prog_cc_c_o+:} false; then :
12272   $as_echo_n "(cached) " >&6
12273 else
12274   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12275 /* end confdefs.h.  */
12276
12277 int
12278 main ()
12279 {
12280
12281   ;
12282   return 0;
12283 }
12284 _ACEOF
12285   # Make sure it works both with $CC and with simple cc.
12286   # Following AC_PROG_CC_C_O, we do the test twice because some
12287   # compilers refuse to overwrite an existing .o file with -o,
12288   # though they will create one.
12289   am_cv_prog_cc_c_o=yes
12290   for am_i in 1 2; do
12291     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
12292    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
12293    ac_status=$?
12294    echo "$as_me:$LINENO: \$? = $ac_status" >&5
12295    (exit $ac_status); } \
12296          && test -f conftest2.$ac_objext; then
12297       : OK
12298     else
12299       am_cv_prog_cc_c_o=no
12300       break
12301     fi
12302   done
12303   rm -f core conftest*
12304   unset am_i
12305 fi
12306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
12307 $as_echo "$am_cv_prog_cc_c_o" >&6; }
12308 if test "$am_cv_prog_cc_c_o" != yes; then
12309    # Losing compiler, so override with the script.
12310    # FIXME: It is wrong to rewrite CC.
12311    # But if we don't then we get into trouble of one sort or another.
12312    # A longer-term fix would be to have automake use am__CC in this case,
12313    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
12314    CC="$am_aux_dir/compile $CC"
12315 fi
12316 ac_ext=c
12317 ac_cpp='$CPP $CPPFLAGS'
12318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12321
12322
12323 depcc="$CC"   am_compiler_list=
12324
12325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12326 $as_echo_n "checking dependency style of $depcc... " >&6; }
12327 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
12328   $as_echo_n "(cached) " >&6
12329 else
12330   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12331   # We make a subdir and do the tests there.  Otherwise we can end up
12332   # making bogus files that we don't know about and never remove.  For
12333   # instance it was reported that on HP-UX the gcc test will end up
12334   # making a dummy file named 'D' -- because '-MD' means "put the output
12335   # in D".
12336   rm -rf conftest.dir
12337   mkdir conftest.dir
12338   # Copy depcomp to subdir because otherwise we won't find it if we're
12339   # using a relative directory.
12340   cp "$am_depcomp" conftest.dir
12341   cd conftest.dir
12342   # We will build objects and dependencies in a subdirectory because
12343   # it helps to detect inapplicable dependency modes.  For instance
12344   # both Tru64's cc and ICC support -MD to output dependencies as a
12345   # side effect of compilation, but ICC will put the dependencies in
12346   # the current directory while Tru64 will put them in the object
12347   # directory.
12348   mkdir sub
12349
12350   am_cv_CC_dependencies_compiler_type=none
12351   if test "$am_compiler_list" = ""; then
12352      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12353   fi
12354   am__universal=false
12355   case " $depcc " in #(
12356      *\ -arch\ *\ -arch\ *) am__universal=true ;;
12357      esac
12358
12359   for depmode in $am_compiler_list; do
12360     # Setup a source with many dependencies, because some compilers
12361     # like to wrap large dependency lists on column 80 (with \), and
12362     # we should not choose a depcomp mode which is confused by this.
12363     #
12364     # We need to recreate these files for each test, as the compiler may
12365     # overwrite some of them when testing with obscure command lines.
12366     # This happens at least with the AIX C compiler.
12367     : > sub/conftest.c
12368     for i in 1 2 3 4 5 6; do
12369       echo '#include "conftst'$i'.h"' >> sub/conftest.c
12370       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
12371       # Solaris 10 /bin/sh.
12372       echo '/* dummy */' > sub/conftst$i.h
12373     done
12374     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12375
12376     # We check with '-c' and '-o' for the sake of the "dashmstdout"
12377     # mode.  It turns out that the SunPro C++ compiler does not properly
12378     # handle '-M -o', and we need to detect this.  Also, some Intel
12379     # versions had trouble with output in subdirs.
12380     am__obj=sub/conftest.${OBJEXT-o}
12381     am__minus_obj="-o $am__obj"
12382     case $depmode in
12383     gcc)
12384       # This depmode causes a compiler race in universal mode.
12385       test "$am__universal" = false || continue
12386       ;;
12387     nosideeffect)
12388       # After this tag, mechanisms are not by side-effect, so they'll
12389       # only be used when explicitly requested.
12390       if test "x$enable_dependency_tracking" = xyes; then
12391         continue
12392       else
12393         break
12394       fi
12395       ;;
12396     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
12397       # This compiler won't grok '-c -o', but also, the minuso test has
12398       # not run yet.  These depmodes are late enough in the game, and
12399       # so weak that their functioning should not be impacted.
12400       am__obj=conftest.${OBJEXT-o}
12401       am__minus_obj=
12402       ;;
12403     none) break ;;
12404     esac
12405     if depmode=$depmode \
12406        source=sub/conftest.c object=$am__obj \
12407        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12408        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12409          >/dev/null 2>conftest.err &&
12410        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12411        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12412        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12413        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12414       # icc doesn't choke on unknown options, it will just issue warnings
12415       # or remarks (even with -Werror).  So we grep stderr for any message
12416       # that says an option was ignored or not supported.
12417       # When given -MP, icc 7.0 and 7.1 complain thusly:
12418       #   icc: Command line warning: ignoring option '-M'; no argument required
12419       # The diagnosis changed in icc 8.0:
12420       #   icc: Command line remark: option '-MP' not supported
12421       if (grep 'ignoring option' conftest.err ||
12422           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12423         am_cv_CC_dependencies_compiler_type=$depmode
12424         break
12425       fi
12426     fi
12427   done
12428
12429   cd ..
12430   rm -rf conftest.dir
12431 else
12432   am_cv_CC_dependencies_compiler_type=none
12433 fi
12434
12435 fi
12436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12437 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12438 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12439
12440  if
12441   test "x$enable_dependency_tracking" != xno \
12442   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
12443   am__fastdepCC_TRUE=
12444   am__fastdepCC_FALSE='#'
12445 else
12446   am__fastdepCC_TRUE='#'
12447   am__fastdepCC_FALSE=
12448 fi
12449
12450
12451
12452
12453
12454
12455 # Checks for libraries.
12456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12457 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12458 if ${ac_cv_lib_dl_dlopen+:} false; then :
12459   $as_echo_n "(cached) " >&6
12460 else
12461   ac_check_lib_save_LIBS=$LIBS
12462 LIBS="-ldl  $LIBS"
12463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12464 /* end confdefs.h.  */
12465
12466 /* Override any GCC internal prototype to avoid an error.
12467    Use char because int might match the return type of a GCC
12468    builtin and then its argument prototype would still apply.  */
12469 #ifdef __cplusplus
12470 extern "C"
12471 #endif
12472 char dlopen ();
12473 int
12474 main ()
12475 {
12476 return dlopen ();
12477   ;
12478   return 0;
12479 }
12480 _ACEOF
12481 if ac_fn_c_try_link "$LINENO"; then :
12482   ac_cv_lib_dl_dlopen=yes
12483 else
12484   ac_cv_lib_dl_dlopen=no
12485 fi
12486 rm -f core conftest.err conftest.$ac_objext \
12487     conftest$ac_exeext conftest.$ac_ext
12488 LIBS=$ac_check_lib_save_LIBS
12489 fi
12490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12491 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12492 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12493   cat >>confdefs.h <<_ACEOF
12494 #define HAVE_LIBDL 1
12495 _ACEOF
12496
12497   LIBS="-ldl $LIBS"
12498
12499 fi
12500
12501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdbm_open in -lgdbm" >&5
12502 $as_echo_n "checking for gdbm_open in -lgdbm... " >&6; }
12503 if ${ac_cv_lib_gdbm_gdbm_open+:} false; then :
12504   $as_echo_n "(cached) " >&6
12505 else
12506   ac_check_lib_save_LIBS=$LIBS
12507 LIBS="-lgdbm  $LIBS"
12508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12509 /* end confdefs.h.  */
12510
12511 /* Override any GCC internal prototype to avoid an error.
12512    Use char because int might match the return type of a GCC
12513    builtin and then its argument prototype would still apply.  */
12514 #ifdef __cplusplus
12515 extern "C"
12516 #endif
12517 char gdbm_open ();
12518 int
12519 main ()
12520 {
12521 return gdbm_open ();
12522   ;
12523   return 0;
12524 }
12525 _ACEOF
12526 if ac_fn_c_try_link "$LINENO"; then :
12527   ac_cv_lib_gdbm_gdbm_open=yes
12528 else
12529   ac_cv_lib_gdbm_gdbm_open=no
12530 fi
12531 rm -f core conftest.err conftest.$ac_objext \
12532     conftest$ac_exeext conftest.$ac_ext
12533 LIBS=$ac_check_lib_save_LIBS
12534 fi
12535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gdbm_gdbm_open" >&5
12536 $as_echo "$ac_cv_lib_gdbm_gdbm_open" >&6; }
12537 if test "x$ac_cv_lib_gdbm_gdbm_open" = xyes; then :
12538   cat >>confdefs.h <<_ACEOF
12539 #define HAVE_LIBGDBM 1
12540 _ACEOF
12541
12542   LIBS="-lgdbm $LIBS"
12543
12544 fi
12545
12546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
12547 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
12548 if ${ac_cv_lib_rt_clock_gettime+:} false; then :
12549   $as_echo_n "(cached) " >&6
12550 else
12551   ac_check_lib_save_LIBS=$LIBS
12552 LIBS="-lrt  $LIBS"
12553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12554 /* end confdefs.h.  */
12555
12556 /* Override any GCC internal prototype to avoid an error.
12557    Use char because int might match the return type of a GCC
12558    builtin and then its argument prototype would still apply.  */
12559 #ifdef __cplusplus
12560 extern "C"
12561 #endif
12562 char clock_gettime ();
12563 int
12564 main ()
12565 {
12566 return clock_gettime ();
12567   ;
12568   return 0;
12569 }
12570 _ACEOF
12571 if ac_fn_c_try_link "$LINENO"; then :
12572   ac_cv_lib_rt_clock_gettime=yes
12573 else
12574   ac_cv_lib_rt_clock_gettime=no
12575 fi
12576 rm -f core conftest.err conftest.$ac_objext \
12577     conftest$ac_exeext conftest.$ac_ext
12578 LIBS=$ac_check_lib_save_LIBS
12579 fi
12580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
12581 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
12582 if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then :
12583   cat >>confdefs.h <<_ACEOF
12584 #define HAVE_LIBRT 1
12585 _ACEOF
12586
12587   LIBS="-lrt $LIBS"
12588
12589 fi
12590
12591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5
12592 $as_echo_n "checking for sqrt in -lm... " >&6; }
12593 if ${ac_cv_lib_m_sqrt+:} false; then :
12594   $as_echo_n "(cached) " >&6
12595 else
12596   ac_check_lib_save_LIBS=$LIBS
12597 LIBS="-lm  $LIBS"
12598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12599 /* end confdefs.h.  */
12600
12601 /* Override any GCC internal prototype to avoid an error.
12602    Use char because int might match the return type of a GCC
12603    builtin and then its argument prototype would still apply.  */
12604 #ifdef __cplusplus
12605 extern "C"
12606 #endif
12607 char sqrt ();
12608 int
12609 main ()
12610 {
12611 return sqrt ();
12612   ;
12613   return 0;
12614 }
12615 _ACEOF
12616 if ac_fn_c_try_link "$LINENO"; then :
12617   ac_cv_lib_m_sqrt=yes
12618 else
12619   ac_cv_lib_m_sqrt=no
12620 fi
12621 rm -f core conftest.err conftest.$ac_objext \
12622     conftest$ac_exeext conftest.$ac_ext
12623 LIBS=$ac_check_lib_save_LIBS
12624 fi
12625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5
12626 $as_echo "$ac_cv_lib_m_sqrt" >&6; }
12627 if test "x$ac_cv_lib_m_sqrt" = xyes; then :
12628   cat >>confdefs.h <<_ACEOF
12629 #define HAVE_LIBM 1
12630 _ACEOF
12631
12632   LIBS="-lm $LIBS"
12633
12634 fi
12635
12636
12637 # Checks for typedefs, structures, and compiler characteristics.
12638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
12639 $as_echo_n "checking for inline... " >&6; }
12640 if ${ac_cv_c_inline+:} false; then :
12641   $as_echo_n "(cached) " >&6
12642 else
12643   ac_cv_c_inline=no
12644 for ac_kw in inline __inline__ __inline; do
12645   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12646 /* end confdefs.h.  */
12647 #ifndef __cplusplus
12648 typedef int foo_t;
12649 static $ac_kw foo_t static_foo () {return 0; }
12650 $ac_kw foo_t foo () {return 0; }
12651 #endif
12652
12653 _ACEOF
12654 if ac_fn_c_try_compile "$LINENO"; then :
12655   ac_cv_c_inline=$ac_kw
12656 fi
12657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12658   test "$ac_cv_c_inline" != no && break
12659 done
12660
12661 fi
12662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
12663 $as_echo "$ac_cv_c_inline" >&6; }
12664
12665 case $ac_cv_c_inline in
12666   inline | yes) ;;
12667   *)
12668     case $ac_cv_c_inline in
12669       no) ac_val=;;
12670       *) ac_val=$ac_cv_c_inline;;
12671     esac
12672     cat >>confdefs.h <<_ACEOF
12673 #ifndef __cplusplus
12674 #define inline $ac_val
12675 #endif
12676 _ACEOF
12677     ;;
12678 esac
12679
12680 ac_fn_c_find_intX_t "$LINENO" "32" "ac_cv_c_int32_t"
12681 case $ac_cv_c_int32_t in #(
12682   no|yes) ;; #(
12683   *)
12684
12685 cat >>confdefs.h <<_ACEOF
12686 #define int32_t $ac_cv_c_int32_t
12687 _ACEOF
12688 ;;
12689 esac
12690
12691 ac_fn_c_find_intX_t "$LINENO" "64" "ac_cv_c_int64_t"
12692 case $ac_cv_c_int64_t in #(
12693   no|yes) ;; #(
12694   *)
12695
12696 cat >>confdefs.h <<_ACEOF
12697 #define int64_t $ac_cv_c_int64_t
12698 _ACEOF
12699 ;;
12700 esac
12701
12702 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
12703 if test "x$ac_cv_type_pid_t" = xyes; then :
12704
12705 else
12706
12707 cat >>confdefs.h <<_ACEOF
12708 #define pid_t int
12709 _ACEOF
12710
12711 fi
12712
12713 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
12714 if test "x$ac_cv_type_size_t" = xyes; then :
12715
12716 else
12717
12718 cat >>confdefs.h <<_ACEOF
12719 #define size_t unsigned int
12720 _ACEOF
12721
12722 fi
12723
12724 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
12725 if test "x$ac_cv_type_ssize_t" = xyes; then :
12726
12727 else
12728
12729 cat >>confdefs.h <<_ACEOF
12730 #define ssize_t int
12731 _ACEOF
12732
12733 fi
12734
12735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
12736 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
12737 if ${ac_cv_type_uid_t+:} false; then :
12738   $as_echo_n "(cached) " >&6
12739 else
12740   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12741 /* end confdefs.h.  */
12742 #include <sys/types.h>
12743
12744 _ACEOF
12745 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12746   $EGREP "uid_t" >/dev/null 2>&1; then :
12747   ac_cv_type_uid_t=yes
12748 else
12749   ac_cv_type_uid_t=no
12750 fi
12751 rm -f conftest*
12752
12753 fi
12754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
12755 $as_echo "$ac_cv_type_uid_t" >&6; }
12756 if test $ac_cv_type_uid_t = no; then
12757
12758 $as_echo "#define uid_t int" >>confdefs.h
12759
12760
12761 $as_echo "#define gid_t int" >>confdefs.h
12762
12763 fi
12764
12765 ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t"
12766 case $ac_cv_c_uint16_t in #(
12767   no|yes) ;; #(
12768   *)
12769
12770
12771 cat >>confdefs.h <<_ACEOF
12772 #define uint16_t $ac_cv_c_uint16_t
12773 _ACEOF
12774 ;;
12775   esac
12776
12777 ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
12778 case $ac_cv_c_uint32_t in #(
12779   no|yes) ;; #(
12780   *)
12781
12782 $as_echo "#define _UINT32_T 1" >>confdefs.h
12783
12784
12785 cat >>confdefs.h <<_ACEOF
12786 #define uint32_t $ac_cv_c_uint32_t
12787 _ACEOF
12788 ;;
12789   esac
12790
12791 ac_fn_c_find_uintX_t "$LINENO" "64" "ac_cv_c_uint64_t"
12792 case $ac_cv_c_uint64_t in #(
12793   no|yes) ;; #(
12794   *)
12795
12796 $as_echo "#define _UINT64_T 1" >>confdefs.h
12797
12798
12799 cat >>confdefs.h <<_ACEOF
12800 #define uint64_t $ac_cv_c_uint64_t
12801 _ACEOF
12802 ;;
12803   esac
12804
12805 ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
12806 case $ac_cv_c_uint8_t in #(
12807   no|yes) ;; #(
12808   *)
12809
12810 $as_echo "#define _UINT8_T 1" >>confdefs.h
12811
12812
12813 cat >>confdefs.h <<_ACEOF
12814 #define uint8_t $ac_cv_c_uint8_t
12815 _ACEOF
12816 ;;
12817   esac
12818
12819
12820 # Checks for library functions.
12821 for ac_header in vfork.h
12822 do :
12823   ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
12824 if test "x$ac_cv_header_vfork_h" = xyes; then :
12825   cat >>confdefs.h <<_ACEOF
12826 #define HAVE_VFORK_H 1
12827 _ACEOF
12828
12829 fi
12830
12831 done
12832
12833 for ac_func in fork vfork
12834 do :
12835   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12836 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12837 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12838   cat >>confdefs.h <<_ACEOF
12839 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12840 _ACEOF
12841
12842 fi
12843 done
12844
12845 if test "x$ac_cv_func_fork" = xyes; then
12846   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
12847 $as_echo_n "checking for working fork... " >&6; }
12848 if ${ac_cv_func_fork_works+:} false; then :
12849   $as_echo_n "(cached) " >&6
12850 else
12851   if test "$cross_compiling" = yes; then :
12852   ac_cv_func_fork_works=cross
12853 else
12854   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12855 /* end confdefs.h.  */
12856 $ac_includes_default
12857 int
12858 main ()
12859 {
12860
12861           /* By Ruediger Kuhlmann. */
12862           return fork () < 0;
12863
12864   ;
12865   return 0;
12866 }
12867 _ACEOF
12868 if ac_fn_c_try_run "$LINENO"; then :
12869   ac_cv_func_fork_works=yes
12870 else
12871   ac_cv_func_fork_works=no
12872 fi
12873 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12874   conftest.$ac_objext conftest.beam conftest.$ac_ext
12875 fi
12876
12877 fi
12878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
12879 $as_echo "$ac_cv_func_fork_works" >&6; }
12880
12881 else
12882   ac_cv_func_fork_works=$ac_cv_func_fork
12883 fi
12884 if test "x$ac_cv_func_fork_works" = xcross; then
12885   case $host in
12886     *-*-amigaos* | *-*-msdosdjgpp*)
12887       # Override, as these systems have only a dummy fork() stub
12888       ac_cv_func_fork_works=no
12889       ;;
12890     *)
12891       ac_cv_func_fork_works=yes
12892       ;;
12893   esac
12894   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
12895 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
12896 fi
12897 ac_cv_func_vfork_works=$ac_cv_func_vfork
12898 if test "x$ac_cv_func_vfork" = xyes; then
12899   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
12900 $as_echo_n "checking for working vfork... " >&6; }
12901 if ${ac_cv_func_vfork_works+:} false; then :
12902   $as_echo_n "(cached) " >&6
12903 else
12904   if test "$cross_compiling" = yes; then :
12905   ac_cv_func_vfork_works=cross
12906 else
12907   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12908 /* end confdefs.h.  */
12909 /* Thanks to Paul Eggert for this test.  */
12910 $ac_includes_default
12911 #include <sys/wait.h>
12912 #ifdef HAVE_VFORK_H
12913 # include <vfork.h>
12914 #endif
12915 /* On some sparc systems, changes by the child to local and incoming
12916    argument registers are propagated back to the parent.  The compiler
12917    is told about this with #include <vfork.h>, but some compilers
12918    (e.g. gcc -O) don't grok <vfork.h>.  Test for this by using a
12919    static variable whose address is put into a register that is
12920    clobbered by the vfork.  */
12921 static void
12922 #ifdef __cplusplus
12923 sparc_address_test (int arg)
12924 # else
12925 sparc_address_test (arg) int arg;
12926 #endif
12927 {
12928   static pid_t child;
12929   if (!child) {
12930     child = vfork ();
12931     if (child < 0) {
12932       perror ("vfork");
12933       _exit(2);
12934     }
12935     if (!child) {
12936       arg = getpid();
12937       write(-1, "", 0);
12938       _exit (arg);
12939     }
12940   }
12941 }
12942
12943 int
12944 main ()
12945 {
12946   pid_t parent = getpid ();
12947   pid_t child;
12948
12949   sparc_address_test (0);
12950
12951   child = vfork ();
12952
12953   if (child == 0) {
12954     /* Here is another test for sparc vfork register problems.  This
12955        test uses lots of local variables, at least as many local
12956        variables as main has allocated so far including compiler
12957        temporaries.  4 locals are enough for gcc 1.40.3 on a Solaris
12958        4.1.3 sparc, but we use 8 to be safe.  A buggy compiler should
12959        reuse the register of parent for one of the local variables,
12960        since it will think that parent can't possibly be used any more
12961        in this routine.  Assigning to the local variable will thus
12962        munge parent in the parent process.  */
12963     pid_t
12964       p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
12965       p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
12966     /* Convince the compiler that p..p7 are live; otherwise, it might
12967        use the same hardware register for all 8 local variables.  */
12968     if (p != p1 || p != p2 || p != p3 || p != p4
12969         || p != p5 || p != p6 || p != p7)
12970       _exit(1);
12971
12972     /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
12973        from child file descriptors.  If the child closes a descriptor
12974        before it execs or exits, this munges the parent's descriptor
12975        as well.  Test for this by closing stdout in the child.  */
12976     _exit(close(fileno(stdout)) != 0);
12977   } else {
12978     int status;
12979     struct stat st;
12980
12981     while (wait(&status) != child)
12982       ;
12983     return (
12984          /* Was there some problem with vforking?  */
12985          child < 0
12986
12987          /* Did the child fail?  (This shouldn't happen.)  */
12988          || status
12989
12990          /* Did the vfork/compiler bug occur?  */
12991          || parent != getpid()
12992
12993          /* Did the file descriptor bug occur?  */
12994          || fstat(fileno(stdout), &st) != 0
12995          );
12996   }
12997 }
12998 _ACEOF
12999 if ac_fn_c_try_run "$LINENO"; then :
13000   ac_cv_func_vfork_works=yes
13001 else
13002   ac_cv_func_vfork_works=no
13003 fi
13004 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13005   conftest.$ac_objext conftest.beam conftest.$ac_ext
13006 fi
13007
13008 fi
13009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
13010 $as_echo "$ac_cv_func_vfork_works" >&6; }
13011
13012 fi;
13013 if test "x$ac_cv_func_fork_works" = xcross; then
13014   ac_cv_func_vfork_works=$ac_cv_func_vfork
13015   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
13016 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
13017 fi
13018
13019 if test "x$ac_cv_func_vfork_works" = xyes; then
13020
13021 $as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h
13022
13023 else
13024
13025 $as_echo "#define vfork fork" >>confdefs.h
13026
13027 fi
13028 if test "x$ac_cv_func_fork_works" = xyes; then
13029
13030 $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
13031
13032 fi
13033
13034 for ac_header in stdlib.h
13035 do :
13036   ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
13037 if test "x$ac_cv_header_stdlib_h" = xyes; then :
13038   cat >>confdefs.h <<_ACEOF
13039 #define HAVE_STDLIB_H 1
13040 _ACEOF
13041
13042 fi
13043
13044 done
13045
13046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
13047 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
13048 if ${ac_cv_func_malloc_0_nonnull+:} false; then :
13049   $as_echo_n "(cached) " >&6
13050 else
13051   if test "$cross_compiling" = yes; then :
13052   ac_cv_func_malloc_0_nonnull=no
13053 else
13054   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13055 /* end confdefs.h.  */
13056 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
13057 # include <stdlib.h>
13058 #else
13059 char *malloc ();
13060 #endif
13061
13062 int
13063 main ()
13064 {
13065 return ! malloc (0);
13066   ;
13067   return 0;
13068 }
13069 _ACEOF
13070 if ac_fn_c_try_run "$LINENO"; then :
13071   ac_cv_func_malloc_0_nonnull=yes
13072 else
13073   ac_cv_func_malloc_0_nonnull=no
13074 fi
13075 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13076   conftest.$ac_objext conftest.beam conftest.$ac_ext
13077 fi
13078
13079 fi
13080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
13081 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
13082 if test $ac_cv_func_malloc_0_nonnull = yes; then :
13083
13084 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
13085
13086 else
13087   $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
13088
13089    case " $LIBOBJS " in
13090   *" malloc.$ac_objext "* ) ;;
13091   *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
13092  ;;
13093 esac
13094
13095
13096 $as_echo "#define malloc rpl_malloc" >>confdefs.h
13097
13098 fi
13099
13100
13101 for ac_header in stdlib.h
13102 do :
13103   ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
13104 if test "x$ac_cv_header_stdlib_h" = xyes; then :
13105   cat >>confdefs.h <<_ACEOF
13106 #define HAVE_STDLIB_H 1
13107 _ACEOF
13108
13109 fi
13110
13111 done
13112
13113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
13114 $as_echo_n "checking for GNU libc compatible realloc... " >&6; }
13115 if ${ac_cv_func_realloc_0_nonnull+:} false; then :
13116   $as_echo_n "(cached) " >&6
13117 else
13118   if test "$cross_compiling" = yes; then :
13119   ac_cv_func_realloc_0_nonnull=no
13120 else
13121   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13122 /* end confdefs.h.  */
13123 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
13124 # include <stdlib.h>
13125 #else
13126 char *realloc ();
13127 #endif
13128
13129 int
13130 main ()
13131 {
13132 return ! realloc (0, 0);
13133   ;
13134   return 0;
13135 }
13136 _ACEOF
13137 if ac_fn_c_try_run "$LINENO"; then :
13138   ac_cv_func_realloc_0_nonnull=yes
13139 else
13140   ac_cv_func_realloc_0_nonnull=no
13141 fi
13142 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13143   conftest.$ac_objext conftest.beam conftest.$ac_ext
13144 fi
13145
13146 fi
13147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
13148 $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
13149 if test $ac_cv_func_realloc_0_nonnull = yes; then :
13150
13151 $as_echo "#define HAVE_REALLOC 1" >>confdefs.h
13152
13153 else
13154   $as_echo "#define HAVE_REALLOC 0" >>confdefs.h
13155
13156    case " $LIBOBJS " in
13157   *" realloc.$ac_objext "* ) ;;
13158   *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
13159  ;;
13160 esac
13161
13162
13163 $as_echo "#define realloc rpl_realloc" >>confdefs.h
13164
13165 fi
13166
13167
13168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strtod" >&5
13169 $as_echo_n "checking for working strtod... " >&6; }
13170 if ${ac_cv_func_strtod+:} false; then :
13171   $as_echo_n "(cached) " >&6
13172 else
13173   if test "$cross_compiling" = yes; then :
13174   ac_cv_func_strtod=no
13175 else
13176   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13177 /* end confdefs.h.  */
13178
13179 $ac_includes_default
13180 #ifndef strtod
13181 double strtod ();
13182 #endif
13183 int
13184 main()
13185 {
13186   {
13187     /* Some versions of Linux strtod mis-parse strings with leading '+'.  */
13188     char *string = " +69";
13189     char *term;
13190     double value;
13191     value = strtod (string, &term);
13192     if (value != 69 || term != (string + 4))
13193       return 1;
13194   }
13195
13196   {
13197     /* Under Solaris 2.4, strtod returns the wrong value for the
13198        terminating character under some conditions.  */
13199     char *string = "NaN";
13200     char *term;
13201     strtod (string, &term);
13202     if (term != string && *(term - 1) == 0)
13203       return 1;
13204   }
13205   return 0;
13206 }
13207
13208 _ACEOF
13209 if ac_fn_c_try_run "$LINENO"; then :
13210   ac_cv_func_strtod=yes
13211 else
13212   ac_cv_func_strtod=no
13213 fi
13214 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13215   conftest.$ac_objext conftest.beam conftest.$ac_ext
13216 fi
13217
13218 fi
13219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strtod" >&5
13220 $as_echo "$ac_cv_func_strtod" >&6; }
13221 if test $ac_cv_func_strtod = no; then
13222   case " $LIBOBJS " in
13223   *" strtod.$ac_objext "* ) ;;
13224   *) LIBOBJS="$LIBOBJS strtod.$ac_objext"
13225  ;;
13226 esac
13227
13228 ac_fn_c_check_func "$LINENO" "pow" "ac_cv_func_pow"
13229 if test "x$ac_cv_func_pow" = xyes; then :
13230
13231 fi
13232
13233 if test $ac_cv_func_pow = no; then
13234   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
13235 $as_echo_n "checking for pow in -lm... " >&6; }
13236 if ${ac_cv_lib_m_pow+:} false; then :
13237   $as_echo_n "(cached) " >&6
13238 else
13239   ac_check_lib_save_LIBS=$LIBS
13240 LIBS="-lm  $LIBS"
13241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13242 /* end confdefs.h.  */
13243
13244 /* Override any GCC internal prototype to avoid an error.
13245    Use char because int might match the return type of a GCC
13246    builtin and then its argument prototype would still apply.  */
13247 #ifdef __cplusplus
13248 extern "C"
13249 #endif
13250 char pow ();
13251 int
13252 main ()
13253 {
13254 return pow ();
13255   ;
13256   return 0;
13257 }
13258 _ACEOF
13259 if ac_fn_c_try_link "$LINENO"; then :
13260   ac_cv_lib_m_pow=yes
13261 else
13262   ac_cv_lib_m_pow=no
13263 fi
13264 rm -f core conftest.err conftest.$ac_objext \
13265     conftest$ac_exeext conftest.$ac_ext
13266 LIBS=$ac_check_lib_save_LIBS
13267 fi
13268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
13269 $as_echo "$ac_cv_lib_m_pow" >&6; }
13270 if test "x$ac_cv_lib_m_pow" = xyes; then :
13271   POW_LIB=-lm
13272 else
13273   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find library containing definition of pow" >&5
13274 $as_echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;}
13275 fi
13276
13277 fi
13278
13279 fi
13280
13281 for ac_func in atexit
13282 do :
13283   ac_fn_c_check_func "$LINENO" "atexit" "ac_cv_func_atexit"
13284 if test "x$ac_cv_func_atexit" = xyes; then :
13285   cat >>confdefs.h <<_ACEOF
13286 #define HAVE_ATEXIT 1
13287 _ACEOF
13288
13289 fi
13290 done
13291
13292 for ac_func in memmove
13293 do :
13294   ac_fn_c_check_func "$LINENO" "memmove" "ac_cv_func_memmove"
13295 if test "x$ac_cv_func_memmove" = xyes; then :
13296   cat >>confdefs.h <<_ACEOF
13297 #define HAVE_MEMMOVE 1
13298 _ACEOF
13299
13300 fi
13301 done
13302
13303 for ac_func in memset
13304 do :
13305   ac_fn_c_check_func "$LINENO" "memset" "ac_cv_func_memset"
13306 if test "x$ac_cv_func_memset" = xyes; then :
13307   cat >>confdefs.h <<_ACEOF
13308 #define HAVE_MEMSET 1
13309 _ACEOF
13310
13311 fi
13312 done
13313
13314 for ac_func in socket
13315 do :
13316   ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket"
13317 if test "x$ac_cv_func_socket" = xyes; then :
13318   cat >>confdefs.h <<_ACEOF
13319 #define HAVE_SOCKET 1
13320 _ACEOF
13321
13322 fi
13323 done
13324
13325 for ac_func in strchr
13326 do :
13327   ac_fn_c_check_func "$LINENO" "strchr" "ac_cv_func_strchr"
13328 if test "x$ac_cv_func_strchr" = xyes; then :
13329   cat >>confdefs.h <<_ACEOF
13330 #define HAVE_STRCHR 1
13331 _ACEOF
13332
13333 fi
13334 done
13335
13336 for ac_func in strdup
13337 do :
13338   ac_fn_c_check_func "$LINENO" "strdup" "ac_cv_func_strdup"
13339 if test "x$ac_cv_func_strdup" = xyes; then :
13340   cat >>confdefs.h <<_ACEOF
13341 #define HAVE_STRDUP 1
13342 _ACEOF
13343
13344 fi
13345 done
13346
13347 for ac_func in strndup
13348 do :
13349   ac_fn_c_check_func "$LINENO" "strndup" "ac_cv_func_strndup"
13350 if test "x$ac_cv_func_strndup" = xyes; then :
13351   cat >>confdefs.h <<_ACEOF
13352 #define HAVE_STRNDUP 1
13353 _ACEOF
13354
13355 fi
13356 done
13357
13358 for ac_func in strtol
13359 do :
13360   ac_fn_c_check_func "$LINENO" "strtol" "ac_cv_func_strtol"
13361 if test "x$ac_cv_func_strtol" = xyes; then :
13362   cat >>confdefs.h <<_ACEOF
13363 #define HAVE_STRTOL 1
13364 _ACEOF
13365
13366 fi
13367 done
13368
13369 for ac_func in __secure_getenv secure_getenv
13370 do :
13371   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13372 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13373 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13374   cat >>confdefs.h <<_ACEOF
13375 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13376 _ACEOF
13377
13378 fi
13379 done
13380
13381
13382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether preprocessor supports #pragma once" >&5
13383 $as_echo_n "checking whether preprocessor supports #pragma once... " >&6; }
13384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13385 /* end confdefs.h.  */
13386 #pragma once
13387 int
13388 main ()
13389 {
13390
13391   ;
13392   return 0;
13393 }
13394 _ACEOF
13395 if ac_fn_c_try_cpp "$LINENO"; then :
13396
13397                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13398 $as_echo "yes" >&6; }
13399
13400 $as_echo "#define HAVE_PRAGMA_ONCE 1" >>confdefs.h
13401
13402
13403 else
13404   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13405 $as_echo "no" >&6; }
13406 fi
13407 rm -f conftest.err conftest.i conftest.$ac_ext
13408
13409
13410
13411
13412
13413
13414 # PkgConfig tests
13415
13416
13417
13418
13419
13420
13421
13422 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13423         if test -n "$ac_tool_prefix"; then
13424   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13425 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
13426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13427 $as_echo_n "checking for $ac_word... " >&6; }
13428 if ${ac_cv_path_PKG_CONFIG+:} false; then :
13429   $as_echo_n "(cached) " >&6
13430 else
13431   case $PKG_CONFIG in
13432   [\\/]* | ?:[\\/]*)
13433   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13434   ;;
13435   *)
13436   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13437 for as_dir in $PATH
13438 do
13439   IFS=$as_save_IFS
13440   test -z "$as_dir" && as_dir=.
13441     for ac_exec_ext in '' $ac_executable_extensions; do
13442   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13443     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13444     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13445     break 2
13446   fi
13447 done
13448   done
13449 IFS=$as_save_IFS
13450
13451   ;;
13452 esac
13453 fi
13454 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13455 if test -n "$PKG_CONFIG"; then
13456   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13457 $as_echo "$PKG_CONFIG" >&6; }
13458 else
13459   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13460 $as_echo "no" >&6; }
13461 fi
13462
13463
13464 fi
13465 if test -z "$ac_cv_path_PKG_CONFIG"; then
13466   ac_pt_PKG_CONFIG=$PKG_CONFIG
13467   # Extract the first word of "pkg-config", so it can be a program name with args.
13468 set dummy pkg-config; ac_word=$2
13469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13470 $as_echo_n "checking for $ac_word... " >&6; }
13471 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
13472   $as_echo_n "(cached) " >&6
13473 else
13474   case $ac_pt_PKG_CONFIG in
13475   [\\/]* | ?:[\\/]*)
13476   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
13477   ;;
13478   *)
13479   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13480 for as_dir in $PATH
13481 do
13482   IFS=$as_save_IFS
13483   test -z "$as_dir" && as_dir=.
13484     for ac_exec_ext in '' $ac_executable_extensions; do
13485   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13486     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13487     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13488     break 2
13489   fi
13490 done
13491   done
13492 IFS=$as_save_IFS
13493
13494   ;;
13495 esac
13496 fi
13497 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
13498 if test -n "$ac_pt_PKG_CONFIG"; then
13499   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
13500 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
13501 else
13502   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13503 $as_echo "no" >&6; }
13504 fi
13505
13506   if test "x$ac_pt_PKG_CONFIG" = x; then
13507     PKG_CONFIG=""
13508   else
13509     case $cross_compiling:$ac_tool_warned in
13510 yes:)
13511 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13512 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13513 ac_tool_warned=yes ;;
13514 esac
13515     PKG_CONFIG=$ac_pt_PKG_CONFIG
13516   fi
13517 else
13518   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
13519 fi
13520
13521 fi
13522 if test -n "$PKG_CONFIG"; then
13523         _pkg_min_version=0.9.0
13524         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
13525 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
13526         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
13527                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13528 $as_echo "yes" >&6; }
13529         else
13530                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13531 $as_echo "no" >&6; }
13532                 PKG_CONFIG=""
13533         fi
13534 fi
13535
13536 pkg_failed=no
13537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5
13538 $as_echo_n "checking for CHECK... " >&6; }
13539
13540 if test -n "$CHECK_CFLAGS"; then
13541     pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS"
13542  elif test -n "$PKG_CONFIG"; then
13543     if test -n "$PKG_CONFIG" && \
13544     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check\""; } >&5
13545   ($PKG_CONFIG --exists --print-errors "check") 2>&5
13546   ac_status=$?
13547   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13548   test $ac_status = 0; }; then
13549   pkg_cv_CHECK_CFLAGS=`$PKG_CONFIG --cflags "check" 2>/dev/null`
13550                       test "x$?" != "x0" && pkg_failed=yes
13551 else
13552   pkg_failed=yes
13553 fi
13554  else
13555     pkg_failed=untried
13556 fi
13557 if test -n "$CHECK_LIBS"; then
13558     pkg_cv_CHECK_LIBS="$CHECK_LIBS"
13559  elif test -n "$PKG_CONFIG"; then
13560     if test -n "$PKG_CONFIG" && \
13561     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check\""; } >&5
13562   ($PKG_CONFIG --exists --print-errors "check") 2>&5
13563   ac_status=$?
13564   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13565   test $ac_status = 0; }; then
13566   pkg_cv_CHECK_LIBS=`$PKG_CONFIG --libs "check" 2>/dev/null`
13567                       test "x$?" != "x0" && pkg_failed=yes
13568 else
13569   pkg_failed=yes
13570 fi
13571  else
13572     pkg_failed=untried
13573 fi
13574
13575
13576
13577 if test $pkg_failed = yes; then
13578         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13579 $as_echo "no" >&6; }
13580
13581 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13582         _pkg_short_errors_supported=yes
13583 else
13584         _pkg_short_errors_supported=no
13585 fi
13586         if test $_pkg_short_errors_supported = yes; then
13587                 CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "check" 2>&1`
13588         else
13589                 CHECK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "check" 2>&1`
13590         fi
13591         # Put the nasty error message in config.log where it belongs
13592         echo "$CHECK_PKG_ERRORS" >&5
13593
13594         as_fn_error $? "Package requirements (check) were not met:
13595
13596 $CHECK_PKG_ERRORS
13597
13598 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13599 installed software in a non-standard prefix.
13600
13601 Alternatively, you may set the environment variables CHECK_CFLAGS
13602 and CHECK_LIBS to avoid the need to call pkg-config.
13603 See the pkg-config man page for more details." "$LINENO" 5
13604 elif test $pkg_failed = untried; then
13605         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13606 $as_echo "no" >&6; }
13607         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13608 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13609 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13610 is in your PATH or set the PKG_CONFIG environment variable to the full
13611 path to pkg-config.
13612
13613 Alternatively, you may set the environment variables CHECK_CFLAGS
13614 and CHECK_LIBS to avoid the need to call pkg-config.
13615 See the pkg-config man page for more details.
13616
13617 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13618 See \`config.log' for more details" "$LINENO" 5; }
13619 else
13620         CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS
13621         CHECK_LIBS=$pkg_cv_CHECK_LIBS
13622         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13623 $as_echo "yes" >&6; }
13624
13625 fi
13626
13627 pkg_failed=no
13628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SYSTEMD" >&5
13629 $as_echo_n "checking for SYSTEMD... " >&6; }
13630
13631 if test -n "$SYSTEMD_CFLAGS"; then
13632     pkg_cv_SYSTEMD_CFLAGS="$SYSTEMD_CFLAGS"
13633  elif test -n "$PKG_CONFIG"; then
13634     if test -n "$PKG_CONFIG" && \
13635     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-daemon\""; } >&5
13636   ($PKG_CONFIG --exists --print-errors "libsystemd-daemon") 2>&5
13637   ac_status=$?
13638   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13639   test $ac_status = 0; }; then
13640   pkg_cv_SYSTEMD_CFLAGS=`$PKG_CONFIG --cflags "libsystemd-daemon" 2>/dev/null`
13641                       test "x$?" != "x0" && pkg_failed=yes
13642 else
13643   pkg_failed=yes
13644 fi
13645  else
13646     pkg_failed=untried
13647 fi
13648 if test -n "$SYSTEMD_LIBS"; then
13649     pkg_cv_SYSTEMD_LIBS="$SYSTEMD_LIBS"
13650  elif test -n "$PKG_CONFIG"; then
13651     if test -n "$PKG_CONFIG" && \
13652     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-daemon\""; } >&5
13653   ($PKG_CONFIG --exists --print-errors "libsystemd-daemon") 2>&5
13654   ac_status=$?
13655   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13656   test $ac_status = 0; }; then
13657   pkg_cv_SYSTEMD_LIBS=`$PKG_CONFIG --libs "libsystemd-daemon" 2>/dev/null`
13658                       test "x$?" != "x0" && pkg_failed=yes
13659 else
13660   pkg_failed=yes
13661 fi
13662  else
13663     pkg_failed=untried
13664 fi
13665
13666
13667
13668 if test $pkg_failed = yes; then
13669         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13670 $as_echo "no" >&6; }
13671
13672 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13673         _pkg_short_errors_supported=yes
13674 else
13675         _pkg_short_errors_supported=no
13676 fi
13677         if test $_pkg_short_errors_supported = yes; then
13678                 SYSTEMD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsystemd-daemon" 2>&1`
13679         else
13680                 SYSTEMD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsystemd-daemon" 2>&1`
13681         fi
13682         # Put the nasty error message in config.log where it belongs
13683         echo "$SYSTEMD_PKG_ERRORS" >&5
13684
13685         as_fn_error $? "Package requirements (libsystemd-daemon) were not met:
13686
13687 $SYSTEMD_PKG_ERRORS
13688
13689 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13690 installed software in a non-standard prefix.
13691
13692 Alternatively, you may set the environment variables SYSTEMD_CFLAGS
13693 and SYSTEMD_LIBS to avoid the need to call pkg-config.
13694 See the pkg-config man page for more details." "$LINENO" 5
13695 elif test $pkg_failed = untried; then
13696         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13697 $as_echo "no" >&6; }
13698         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13699 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13700 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13701 is in your PATH or set the PKG_CONFIG environment variable to the full
13702 path to pkg-config.
13703
13704 Alternatively, you may set the environment variables SYSTEMD_CFLAGS
13705 and SYSTEMD_LIBS to avoid the need to call pkg-config.
13706 See the pkg-config man page for more details.
13707
13708 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13709 See \`config.log' for more details" "$LINENO" 5; }
13710 else
13711         SYSTEMD_CFLAGS=$pkg_cv_SYSTEMD_CFLAGS
13712         SYSTEMD_LIBS=$pkg_cv_SYSTEMD_LIBS
13713         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13714 $as_echo "yes" >&6; }
13715
13716 fi
13717
13718 # Checks for header files.
13719 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
13720 # for constant arguments.  Useless!
13721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
13722 $as_echo_n "checking for working alloca.h... " >&6; }
13723 if ${ac_cv_working_alloca_h+:} false; then :
13724   $as_echo_n "(cached) " >&6
13725 else
13726   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13727 /* end confdefs.h.  */
13728 #include <alloca.h>
13729 int
13730 main ()
13731 {
13732 char *p = (char *) alloca (2 * sizeof (int));
13733                           if (p) return 0;
13734   ;
13735   return 0;
13736 }
13737 _ACEOF
13738 if ac_fn_c_try_link "$LINENO"; then :
13739   ac_cv_working_alloca_h=yes
13740 else
13741   ac_cv_working_alloca_h=no
13742 fi
13743 rm -f core conftest.err conftest.$ac_objext \
13744     conftest$ac_exeext conftest.$ac_ext
13745 fi
13746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
13747 $as_echo "$ac_cv_working_alloca_h" >&6; }
13748 if test $ac_cv_working_alloca_h = yes; then
13749
13750 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
13751
13752 fi
13753
13754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
13755 $as_echo_n "checking for alloca... " >&6; }
13756 if ${ac_cv_func_alloca_works+:} false; then :
13757   $as_echo_n "(cached) " >&6
13758 else
13759   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13760 /* end confdefs.h.  */
13761 #ifdef __GNUC__
13762 # define alloca __builtin_alloca
13763 #else
13764 # ifdef _MSC_VER
13765 #  include <malloc.h>
13766 #  define alloca _alloca
13767 # else
13768 #  ifdef HAVE_ALLOCA_H
13769 #   include <alloca.h>
13770 #  else
13771 #   ifdef _AIX
13772  #pragma alloca
13773 #   else
13774 #    ifndef alloca /* predefined by HP cc +Olibcalls */
13775 void *alloca (size_t);
13776 #    endif
13777 #   endif
13778 #  endif
13779 # endif
13780 #endif
13781
13782 int
13783 main ()
13784 {
13785 char *p = (char *) alloca (1);
13786                                     if (p) return 0;
13787   ;
13788   return 0;
13789 }
13790 _ACEOF
13791 if ac_fn_c_try_link "$LINENO"; then :
13792   ac_cv_func_alloca_works=yes
13793 else
13794   ac_cv_func_alloca_works=no
13795 fi
13796 rm -f core conftest.err conftest.$ac_objext \
13797     conftest$ac_exeext conftest.$ac_ext
13798 fi
13799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
13800 $as_echo "$ac_cv_func_alloca_works" >&6; }
13801
13802 if test $ac_cv_func_alloca_works = yes; then
13803
13804 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
13805
13806 else
13807   # The SVR3 libPW and SVR4 libucb both contain incompatible functions
13808 # that cause trouble.  Some versions do not even contain alloca or
13809 # contain a buggy version.  If you still want to use their alloca,
13810 # use ar to extract alloca.o from them instead of compiling alloca.c.
13811
13812 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
13813
13814 $as_echo "#define C_ALLOCA 1" >>confdefs.h
13815
13816
13817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
13818 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
13819 if ${ac_cv_os_cray+:} false; then :
13820   $as_echo_n "(cached) " >&6
13821 else
13822   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13823 /* end confdefs.h.  */
13824 #if defined CRAY && ! defined CRAY2
13825 webecray
13826 #else
13827 wenotbecray
13828 #endif
13829
13830 _ACEOF
13831 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13832   $EGREP "webecray" >/dev/null 2>&1; then :
13833   ac_cv_os_cray=yes
13834 else
13835   ac_cv_os_cray=no
13836 fi
13837 rm -f conftest*
13838
13839 fi
13840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
13841 $as_echo "$ac_cv_os_cray" >&6; }
13842 if test $ac_cv_os_cray = yes; then
13843   for ac_func in _getb67 GETB67 getb67; do
13844     as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13845 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13846 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13847
13848 cat >>confdefs.h <<_ACEOF
13849 #define CRAY_STACKSEG_END $ac_func
13850 _ACEOF
13851
13852     break
13853 fi
13854
13855   done
13856 fi
13857
13858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
13859 $as_echo_n "checking stack direction for C alloca... " >&6; }
13860 if ${ac_cv_c_stack_direction+:} false; then :
13861   $as_echo_n "(cached) " >&6
13862 else
13863   if test "$cross_compiling" = yes; then :
13864   ac_cv_c_stack_direction=0
13865 else
13866   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13867 /* end confdefs.h.  */
13868 $ac_includes_default
13869 int
13870 find_stack_direction (int *addr, int depth)
13871 {
13872   int dir, dummy = 0;
13873   if (! addr)
13874     addr = &dummy;
13875   *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
13876   dir = depth ? find_stack_direction (addr, depth - 1) : 0;
13877   return dir + dummy;
13878 }
13879
13880 int
13881 main (int argc, char **argv)
13882 {
13883   return find_stack_direction (0, argc + !argv + 20) < 0;
13884 }
13885 _ACEOF
13886 if ac_fn_c_try_run "$LINENO"; then :
13887   ac_cv_c_stack_direction=1
13888 else
13889   ac_cv_c_stack_direction=-1
13890 fi
13891 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13892   conftest.$ac_objext conftest.beam conftest.$ac_ext
13893 fi
13894
13895 fi
13896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
13897 $as_echo "$ac_cv_c_stack_direction" >&6; }
13898 cat >>confdefs.h <<_ACEOF
13899 #define STACK_DIRECTION $ac_cv_c_stack_direction
13900 _ACEOF
13901
13902
13903 fi
13904
13905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
13906 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
13907 if ${ac_cv_header_stdbool_h+:} false; then :
13908   $as_echo_n "(cached) " >&6
13909 else
13910   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13911 /* end confdefs.h.  */
13912
13913              #include <stdbool.h>
13914              #ifndef bool
13915               "error: bool is not defined"
13916              #endif
13917              #ifndef false
13918               "error: false is not defined"
13919              #endif
13920              #if false
13921               "error: false is not 0"
13922              #endif
13923              #ifndef true
13924               "error: true is not defined"
13925              #endif
13926              #if true != 1
13927               "error: true is not 1"
13928              #endif
13929              #ifndef __bool_true_false_are_defined
13930               "error: __bool_true_false_are_defined is not defined"
13931              #endif
13932
13933              struct s { _Bool s: 1; _Bool t; } s;
13934
13935              char a[true == 1 ? 1 : -1];
13936              char b[false == 0 ? 1 : -1];
13937              char c[__bool_true_false_are_defined == 1 ? 1 : -1];
13938              char d[(bool) 0.5 == true ? 1 : -1];
13939              /* See body of main program for 'e'.  */
13940              char f[(_Bool) 0.0 == false ? 1 : -1];
13941              char g[true];
13942              char h[sizeof (_Bool)];
13943              char i[sizeof s.t];
13944              enum { j = false, k = true, l = false * true, m = true * 256 };
13945              /* The following fails for
13946                 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
13947              _Bool n[m];
13948              char o[sizeof n == m * sizeof n[0] ? 1 : -1];
13949              char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
13950              /* Catch a bug in an HP-UX C compiler.  See
13951                 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
13952                 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
13953               */
13954              _Bool q = true;
13955              _Bool *pq = &q;
13956
13957 int
13958 main ()
13959 {
13960
13961              bool e = &s;
13962              *pq |= q;
13963              *pq |= ! q;
13964              /* Refer to every declared value, to avoid compiler optimizations.  */
13965              return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
13966                      + !m + !n + !o + !p + !q + !pq);
13967
13968   ;
13969   return 0;
13970 }
13971 _ACEOF
13972 if ac_fn_c_try_compile "$LINENO"; then :
13973   ac_cv_header_stdbool_h=yes
13974 else
13975   ac_cv_header_stdbool_h=no
13976 fi
13977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13978 fi
13979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
13980 $as_echo "$ac_cv_header_stdbool_h" >&6; }
13981    ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
13982 if test "x$ac_cv_type__Bool" = xyes; then :
13983
13984 cat >>confdefs.h <<_ACEOF
13985 #define HAVE__BOOL 1
13986 _ACEOF
13987
13988
13989 fi
13990
13991
13992 if test $ac_cv_header_stdbool_h = yes; then
13993
13994 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
13995
13996 fi
13997
13998 for ac_header in attr/xattr.h
13999 do :
14000   ac_fn_c_check_header_mongrel "$LINENO" "attr/xattr.h" "ac_cv_header_attr_xattr_h" "$ac_includes_default"
14001 if test "x$ac_cv_header_attr_xattr_h" = xyes; then :
14002   cat >>confdefs.h <<_ACEOF
14003 #define HAVE_ATTR_XATTR_H 1
14004 _ACEOF
14005
14006 else
14007   as_fn_error $? "Unable to find xattr headers" "$LINENO" 5
14008 fi
14009
14010 done
14011
14012 for ac_header in fcntl.h
14013 do :
14014   ac_fn_c_check_header_mongrel "$LINENO" "fcntl.h" "ac_cv_header_fcntl_h" "$ac_includes_default"
14015 if test "x$ac_cv_header_fcntl_h" = xyes; then :
14016   cat >>confdefs.h <<_ACEOF
14017 #define HAVE_FCNTL_H 1
14018 _ACEOF
14019
14020 fi
14021
14022 done
14023
14024 for ac_header in gdbm.h
14025 do :
14026   ac_fn_c_check_header_mongrel "$LINENO" "gdbm.h" "ac_cv_header_gdbm_h" "$ac_includes_default"
14027 if test "x$ac_cv_header_gdbm_h" = xyes; then :
14028   cat >>confdefs.h <<_ACEOF
14029 #define HAVE_GDBM_H 1
14030 _ACEOF
14031
14032 else
14033   as_fn_error $? "Unable to find gdbm headers" "$LINENO" 5
14034 fi
14035
14036 done
14037
14038 for ac_header in inttypes.h
14039 do :
14040   ac_fn_c_check_header_mongrel "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
14041 if test "x$ac_cv_header_inttypes_h" = xyes; then :
14042   cat >>confdefs.h <<_ACEOF
14043 #define HAVE_INTTYPES_H 1
14044 _ACEOF
14045
14046 fi
14047
14048 done
14049
14050 for ac_header in limits.h
14051 do :
14052   ac_fn_c_check_header_mongrel "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default"
14053 if test "x$ac_cv_header_limits_h" = xyes; then :
14054   cat >>confdefs.h <<_ACEOF
14055 #define HAVE_LIMITS_H 1
14056 _ACEOF
14057
14058 fi
14059
14060 done
14061
14062 for ac_header in locale.h
14063 do :
14064   ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
14065 if test "x$ac_cv_header_locale_h" = xyes; then :
14066   cat >>confdefs.h <<_ACEOF
14067 #define HAVE_LOCALE_H 1
14068 _ACEOF
14069
14070 fi
14071
14072 done
14073
14074 for ac_header in malloc.h
14075 do :
14076   ac_fn_c_check_header_mongrel "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "$ac_includes_default"
14077 if test "x$ac_cv_header_malloc_h" = xyes; then :
14078   cat >>confdefs.h <<_ACEOF
14079 #define HAVE_MALLOC_H 1
14080 _ACEOF
14081
14082 fi
14083
14084 done
14085
14086 for ac_header in stddef.h
14087 do :
14088   ac_fn_c_check_header_mongrel "$LINENO" "stddef.h" "ac_cv_header_stddef_h" "$ac_includes_default"
14089 if test "x$ac_cv_header_stddef_h" = xyes; then :
14090   cat >>confdefs.h <<_ACEOF
14091 #define HAVE_STDDEF_H 1
14092 _ACEOF
14093
14094 fi
14095
14096 done
14097
14098 for ac_header in stdint.h
14099 do :
14100   ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
14101 if test "x$ac_cv_header_stdint_h" = xyes; then :
14102   cat >>confdefs.h <<_ACEOF
14103 #define HAVE_STDINT_H 1
14104 _ACEOF
14105
14106 fi
14107
14108 done
14109
14110 for ac_header in stdlib.h
14111 do :
14112   ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
14113 if test "x$ac_cv_header_stdlib_h" = xyes; then :
14114   cat >>confdefs.h <<_ACEOF
14115 #define HAVE_STDLIB_H 1
14116 _ACEOF
14117
14118 fi
14119
14120 done
14121
14122 for ac_header in string.h
14123 do :
14124   ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
14125 if test "x$ac_cv_header_string_h" = xyes; then :
14126   cat >>confdefs.h <<_ACEOF
14127 #define HAVE_STRING_H 1
14128 _ACEOF
14129
14130 fi
14131
14132 done
14133
14134 for ac_header in time.h
14135 do :
14136   ac_fn_c_check_header_mongrel "$LINENO" "time.h" "ac_cv_header_time_h" "$ac_includes_default"
14137 if test "x$ac_cv_header_time_h" = xyes; then :
14138   cat >>confdefs.h <<_ACEOF
14139 #define HAVE_TIME_H 1
14140 _ACEOF
14141
14142 fi
14143
14144 done
14145
14146 for ac_header in math.h
14147 do :
14148   ac_fn_c_check_header_mongrel "$LINENO" "math.h" "ac_cv_header_math_h" "$ac_includes_default"
14149 if test "x$ac_cv_header_math_h" = xyes; then :
14150   cat >>confdefs.h <<_ACEOF
14151 #define HAVE_MATH_H 1
14152 _ACEOF
14153
14154 fi
14155
14156 done
14157
14158 for ac_header in pthread.h
14159 do :
14160   ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
14161 if test "x$ac_cv_header_pthread_h" = xyes; then :
14162   cat >>confdefs.h <<_ACEOF
14163 #define HAVE_PTHREAD_H 1
14164 _ACEOF
14165
14166 fi
14167
14168 done
14169
14170 for ac_header in sys/param.h
14171 do :
14172   ac_fn_c_check_header_mongrel "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
14173 if test "x$ac_cv_header_sys_param_h" = xyes; then :
14174   cat >>confdefs.h <<_ACEOF
14175 #define HAVE_SYS_PARAM_H 1
14176 _ACEOF
14177
14178 fi
14179
14180 done
14181
14182 for ac_header in sys/signalfd.h
14183 do :
14184   ac_fn_c_check_header_mongrel "$LINENO" "sys/signalfd.h" "ac_cv_header_sys_signalfd_h" "$ac_includes_default"
14185 if test "x$ac_cv_header_sys_signalfd_h" = xyes; then :
14186   cat >>confdefs.h <<_ACEOF
14187 #define HAVE_SYS_SIGNALFD_H 1
14188 _ACEOF
14189
14190 fi
14191
14192 done
14193
14194 for ac_header in sys/socket.h
14195 do :
14196   ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default"
14197 if test "x$ac_cv_header_sys_socket_h" = xyes; then :
14198   cat >>confdefs.h <<_ACEOF
14199 #define HAVE_SYS_SOCKET_H 1
14200 _ACEOF
14201
14202 fi
14203
14204 done
14205
14206 for ac_header in sys/stat.h
14207 do :
14208   ac_fn_c_check_header_mongrel "$LINENO" "sys/stat.h" "ac_cv_header_sys_stat_h" "$ac_includes_default"
14209 if test "x$ac_cv_header_sys_stat_h" = xyes; then :
14210   cat >>confdefs.h <<_ACEOF
14211 #define HAVE_SYS_STAT_H 1
14212 _ACEOF
14213
14214 fi
14215
14216 done
14217
14218 for ac_header in sys/time.h
14219 do :
14220   ac_fn_c_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
14221 if test "x$ac_cv_header_sys_time_h" = xyes; then :
14222   cat >>confdefs.h <<_ACEOF
14223 #define HAVE_SYS_TIME_H 1
14224 _ACEOF
14225
14226 fi
14227
14228 done
14229
14230 for ac_header in unistd.h
14231 do :
14232   ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
14233 if test "x$ac_cv_header_unistd_h" = xyes; then :
14234   cat >>confdefs.h <<_ACEOF
14235 #define HAVE_UNISTD_H 1
14236 _ACEOF
14237
14238 fi
14239
14240 done
14241
14242 for ac_header in linux/inotify.h
14243 do :
14244   ac_fn_c_check_header_mongrel "$LINENO" "linux/inotify.h" "ac_cv_header_linux_inotify_h" "$ac_includes_default"
14245 if test "x$ac_cv_header_linux_inotify_h" = xyes; then :
14246   cat >>confdefs.h <<_ACEOF
14247 #define HAVE_LINUX_INOTIFY_H 1
14248 _ACEOF
14249
14250 fi
14251
14252 done
14253
14254 ac_fn_c_check_func "$LINENO" "inotify_init" "ac_cv_func_inotify_init"
14255 if test "x$ac_cv_func_inotify_init" = xyes; then :
14256
14257 fi
14258
14259
14260 # Options
14261
14262 # Check whether --with-systemdsystemunitdir was given.
14263 if test "${with_systemdsystemunitdir+set}" = set; then :
14264   withval=$with_systemdsystemunitdir; path_systemdsystemunit=${withval}
14265 else
14266   path_systemdsystemunit="`$PKG_CONFIG --variable=systemdsystemunitdir systemd`"
14267 fi
14268
14269 SYSTEMD_SYSTEMUNITDIR="${path_systemdsystemunit}"
14270
14271  if test -n "${path_systemdsystemunit}"; then
14272   SYSTEMD_TRUE=
14273   SYSTEMD_FALSE='#'
14274 else
14275   SYSTEMD_TRUE='#'
14276   SYSTEMD_FALSE=
14277 fi
14278
14279
14280
14281 # Check whether --with-user was given.
14282 if test "${with_user+set}" = set; then :
14283   withval=$with_user; username=${withval}
14284 else
14285   username="buxton"
14286 fi
14287
14288 BUXTON_USERNAME="${username}"
14289
14290
14291 INIPARSER_CFLAGS="-I${srcdir}/src/shared/"
14292
14293 # Check whether --with-local-iniparser was given.
14294 if test "${with_local_iniparser+set}" = set; then :
14295   withval=$with_local_iniparser; use_local_iniparser="true"
14296 else
14297
14298 pkg_failed=no
14299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for INIPARSER" >&5
14300 $as_echo_n "checking for INIPARSER... " >&6; }
14301
14302 if test -n "$INIPARSER_CFLAGS"; then
14303     pkg_cv_INIPARSER_CFLAGS="$INIPARSER_CFLAGS"
14304  elif test -n "$PKG_CONFIG"; then
14305     if test -n "$PKG_CONFIG" && \
14306     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"iniparser >= 3.1\""; } >&5
14307   ($PKG_CONFIG --exists --print-errors "iniparser >= 3.1") 2>&5
14308   ac_status=$?
14309   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14310   test $ac_status = 0; }; then
14311   pkg_cv_INIPARSER_CFLAGS=`$PKG_CONFIG --cflags "iniparser >= 3.1" 2>/dev/null`
14312                       test "x$?" != "x0" && pkg_failed=yes
14313 else
14314   pkg_failed=yes
14315 fi
14316  else
14317     pkg_failed=untried
14318 fi
14319 if test -n "$INIPARSER_LIBS"; then
14320     pkg_cv_INIPARSER_LIBS="$INIPARSER_LIBS"
14321  elif test -n "$PKG_CONFIG"; then
14322     if test -n "$PKG_CONFIG" && \
14323     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"iniparser >= 3.1\""; } >&5
14324   ($PKG_CONFIG --exists --print-errors "iniparser >= 3.1") 2>&5
14325   ac_status=$?
14326   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14327   test $ac_status = 0; }; then
14328   pkg_cv_INIPARSER_LIBS=`$PKG_CONFIG --libs "iniparser >= 3.1" 2>/dev/null`
14329                       test "x$?" != "x0" && pkg_failed=yes
14330 else
14331   pkg_failed=yes
14332 fi
14333  else
14334     pkg_failed=untried
14335 fi
14336
14337
14338
14339 if test $pkg_failed = yes; then
14340         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14341 $as_echo "no" >&6; }
14342
14343 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14344         _pkg_short_errors_supported=yes
14345 else
14346         _pkg_short_errors_supported=no
14347 fi
14348         if test $_pkg_short_errors_supported = yes; then
14349                 INIPARSER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "iniparser >= 3.1" 2>&1`
14350         else
14351                 INIPARSER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "iniparser >= 3.1" 2>&1`
14352         fi
14353         # Put the nasty error message in config.log where it belongs
14354         echo "$INIPARSER_PKG_ERRORS" >&5
14355
14356         use_local_iniparser="true";
14357 elif test $pkg_failed = untried; then
14358         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14359 $as_echo "no" >&6; }
14360         use_local_iniparser="true";
14361 else
14362         INIPARSER_CFLAGS=$pkg_cv_INIPARSER_CFLAGS
14363         INIPARSER_LIBS=$pkg_cv_INIPARSER_LIBS
14364         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14365 $as_echo "yes" >&6; }
14366         use_local_iniparser="false"
14367 fi
14368 fi
14369
14370  if test x$use_local_iniparser = x"true"; then
14371   USE_LOCAL_INIPARSER_TRUE=
14372   USE_LOCAL_INIPARSER_FALSE='#'
14373 else
14374   USE_LOCAL_INIPARSER_TRUE='#'
14375   USE_LOCAL_INIPARSER_FALSE=
14376 fi
14377
14378
14379
14380 # Check whether --with-module-dir was given.
14381 if test "${with_module_dir+set}" = set; then :
14382   withval=$with_module_dir; moduledir=${withval}
14383 else
14384   moduledir="${libdir}/buxton"
14385 fi
14386
14387 MODULEDIR="${moduledir}"
14388
14389
14390
14391 # Check whether --with-config-path was given.
14392 if test "${with_config_path+set}" = set; then :
14393   withval=$with_config_path; confpath=${withval}
14394 else
14395   confpath="${sysconfdir}/buxton.conf"
14396 fi
14397
14398 CONFPATH="${confpath}"
14399
14400
14401
14402 # Check whether --with-db-path was given.
14403 if test "${with_db_path+set}" = set; then :
14404   withval=$with_db_path; dbpath=${withval}
14405 else
14406   dbpath="${localstatedir}/lib/buxton"
14407 fi
14408
14409 DB_PATH="${dbpath}"
14410
14411
14412
14413 # Check whether --with-socket-path was given.
14414 if test "${with_socket_path+set}" = set; then :
14415   withval=$with_socket_path; socketpath=${withval}
14416 else
14417   socketpath="/run/buxton-0"
14418 fi
14419
14420 BUXTON_SOCKET="${socketpath}"
14421
14422
14423
14424 # Check whether --with-smack-load-file was given.
14425 if test "${with_smack_load_file+set}" = set; then :
14426   withval=$with_smack_load_file; smack_load_file=${withval}
14427 else
14428   smack_load_file="/sys/fs/smackfs/load2"
14429 fi
14430
14431 SMACK_LOAD_FILE="${smack_load_file}"
14432
14433
14434 # Check whether --enable-debug was given.
14435 if test "${enable_debug+set}" = set; then :
14436   enableval=$enable_debug;
14437 else
14438   enable_debug=no
14439 fi
14440
14441 if test "x$enable_debug" = "xyes"; then :
14442
14443 $as_echo "#define DEBUG 1" >>confdefs.h
14444
14445 else
14446
14447 $as_echo "#define NDEBUG 1" >>confdefs.h
14448
14449 fi
14450  if test x$enable_debug = x"yes"; then
14451   DEBUG_TRUE=
14452   DEBUG_FALSE='#'
14453 else
14454   DEBUG_TRUE='#'
14455   DEBUG_FALSE=
14456 fi
14457
14458
14459 # Check whether --enable-manpages was given.
14460 if test "${enable_manpages+set}" = set; then :
14461   enableval=$enable_manpages;
14462 else
14463   enable_manpages=yes
14464 fi
14465
14466 if test "x$enable_manpages" = "xyes"; then :
14467
14468 $as_echo "#define MANPAGE 1" >>confdefs.h
14469
14470 else
14471
14472 $as_echo "#define NMANPAGE 1" >>confdefs.h
14473
14474 fi
14475  if test x$enable_manpages = x"yes"; then
14476   MANPAGE_TRUE=
14477   MANPAGE_FALSE='#'
14478 else
14479   MANPAGE_TRUE='#'
14480   MANPAGE_FALSE=
14481 fi
14482
14483
14484 have_coverage=no
14485 # Check whether --enable-coverage was given.
14486 if test "${enable_coverage+set}" = set; then :
14487   enableval=$enable_coverage;
14488 fi
14489
14490 if test "x$enable_coverage" = "xyes" ; then
14491         # Extract the first word of "lcov", so it can be a program name with args.
14492 set dummy lcov; ac_word=$2
14493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14494 $as_echo_n "checking for $ac_word... " >&6; }
14495 if ${ac_cv_prog_lcov_found+:} false; then :
14496   $as_echo_n "(cached) " >&6
14497 else
14498   if test -n "$lcov_found"; then
14499   ac_cv_prog_lcov_found="$lcov_found" # Let the user override the test.
14500 else
14501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14502 for as_dir in $PATH
14503 do
14504   IFS=$as_save_IFS
14505   test -z "$as_dir" && as_dir=.
14506     for ac_exec_ext in '' $ac_executable_extensions; do
14507   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14508     ac_cv_prog_lcov_found="yes"
14509     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14510     break 2
14511   fi
14512 done
14513   done
14514 IFS=$as_save_IFS
14515
14516   test -z "$ac_cv_prog_lcov_found" && ac_cv_prog_lcov_found="no"
14517 fi
14518 fi
14519 lcov_found=$ac_cv_prog_lcov_found
14520 if test -n "$lcov_found"; then
14521   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lcov_found" >&5
14522 $as_echo "$lcov_found" >&6; }
14523 else
14524   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14525 $as_echo "no" >&6; }
14526 fi
14527
14528
14529         if test "x$lcov_found" = xno ; then
14530                 as_fn_error $? "*** lcov support requested but the program was not found" "$LINENO" 5
14531         else
14532                 lcov_version_major="`lcov --version | cut -d ' ' -f 4 | cut -d '.' -f 1`"
14533                 lcov_version_minor="`lcov --version | cut -d ' ' -f 4 | cut -d '.' -f 2`"
14534                 if test "$lcov_version_major" -eq 1 -a "$lcov_version_minor" -lt 10; then
14535                         as_fn_error $? "*** lcov version is too old. 1.10 required" "$LINENO" 5
14536                 else
14537                         have_coverage=yes
14538
14539 $as_echo "#define COVERAGE 1" >>confdefs.h
14540
14541                 fi
14542         fi
14543 fi
14544  if test "$have_coverage" = "yes"; then
14545   COVERAGE_TRUE=
14546   COVERAGE_FALSE='#'
14547 else
14548   COVERAGE_TRUE='#'
14549   COVERAGE_FALSE=
14550 fi
14551
14552
14553 # Check whether --enable-demos was given.
14554 if test "${enable_demos+set}" = set; then :
14555   enableval=$enable_demos;
14556 else
14557   enable_demos=no
14558 fi
14559
14560 if test "x$enable_demos" = "xyes"; then :
14561
14562 $as_echo "#define DEMOS 1" >>confdefs.h
14563
14564 fi
14565  if test x$enable_demos = x"yes"; then
14566   BUILD_DEMOS_TRUE=
14567   BUILD_DEMOS_FALSE='#'
14568 else
14569   BUILD_DEMOS_TRUE='#'
14570   BUILD_DEMOS_FALSE=
14571 fi
14572
14573
14574 # GTK3 demo
14575 # Check whether --enable-gtk-demo was given.
14576 if test "${enable_gtk_demo+set}" = set; then :
14577   enableval=$enable_gtk_demo;
14578 else
14579   enable_gtk_demo=no
14580 fi
14581
14582 if test "x$enable_gtk_demo" = "xyes"; then :
14583
14584 $as_echo "#define DEMOS 1" >>confdefs.h
14585
14586 fi
14587  if test x$enable_gtk_demo = x"yes"; then
14588   BUILD_GTK_DEMO_TRUE=
14589   BUILD_GTK_DEMO_FALSE='#'
14590 else
14591   BUILD_GTK_DEMO_TRUE='#'
14592   BUILD_GTK_DEMO_FALSE=
14593 fi
14594
14595
14596 if test "x$enable_gtk_demo" = "xyes"; then
14597         # Require GTK3 for client demonstration
14598
14599 pkg_failed=no
14600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK3" >&5
14601 $as_echo_n "checking for GTK3... " >&6; }
14602
14603 if test -n "$GTK3_CFLAGS"; then
14604     pkg_cv_GTK3_CFLAGS="$GTK3_CFLAGS"
14605  elif test -n "$PKG_CONFIG"; then
14606     if test -n "$PKG_CONFIG" && \
14607     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= 3.10\""; } >&5
14608   ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= 3.10") 2>&5
14609   ac_status=$?
14610   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14611   test $ac_status = 0; }; then
14612   pkg_cv_GTK3_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0 >= 3.10" 2>/dev/null`
14613                       test "x$?" != "x0" && pkg_failed=yes
14614 else
14615   pkg_failed=yes
14616 fi
14617  else
14618     pkg_failed=untried
14619 fi
14620 if test -n "$GTK3_LIBS"; then
14621     pkg_cv_GTK3_LIBS="$GTK3_LIBS"
14622  elif test -n "$PKG_CONFIG"; then
14623     if test -n "$PKG_CONFIG" && \
14624     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= 3.10\""; } >&5
14625   ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= 3.10") 2>&5
14626   ac_status=$?
14627   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14628   test $ac_status = 0; }; then
14629   pkg_cv_GTK3_LIBS=`$PKG_CONFIG --libs "gtk+-3.0 >= 3.10" 2>/dev/null`
14630                       test "x$?" != "x0" && pkg_failed=yes
14631 else
14632   pkg_failed=yes
14633 fi
14634  else
14635     pkg_failed=untried
14636 fi
14637
14638
14639
14640 if test $pkg_failed = yes; then
14641         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14642 $as_echo "no" >&6; }
14643
14644 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14645         _pkg_short_errors_supported=yes
14646 else
14647         _pkg_short_errors_supported=no
14648 fi
14649         if test $_pkg_short_errors_supported = yes; then
14650                 GTK3_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-3.0 >= 3.10" 2>&1`
14651         else
14652                 GTK3_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-3.0 >= 3.10" 2>&1`
14653         fi
14654         # Put the nasty error message in config.log where it belongs
14655         echo "$GTK3_PKG_ERRORS" >&5
14656
14657         as_fn_error $? "Package requirements (gtk+-3.0 >= 3.10) were not met:
14658
14659 $GTK3_PKG_ERRORS
14660
14661 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14662 installed software in a non-standard prefix.
14663
14664 Alternatively, you may set the environment variables GTK3_CFLAGS
14665 and GTK3_LIBS to avoid the need to call pkg-config.
14666 See the pkg-config man page for more details." "$LINENO" 5
14667 elif test $pkg_failed = untried; then
14668         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14669 $as_echo "no" >&6; }
14670         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14671 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14672 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
14673 is in your PATH or set the PKG_CONFIG environment variable to the full
14674 path to pkg-config.
14675
14676 Alternatively, you may set the environment variables GTK3_CFLAGS
14677 and GTK3_LIBS to avoid the need to call pkg-config.
14678 See the pkg-config man page for more details.
14679
14680 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14681 See \`config.log' for more details" "$LINENO" 5; }
14682 else
14683         GTK3_CFLAGS=$pkg_cv_GTK3_CFLAGS
14684         GTK3_LIBS=$pkg_cv_GTK3_LIBS
14685         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14686 $as_echo "yes" >&6; }
14687
14688 fi
14689 fi
14690
14691 ac_config_commands="$ac_config_commands mkdir"
14692
14693 ac_config_files="$ac_config_files data/buxton.service data/buxton.socket data/buxton.pc data/buxtonsimple.pc test/test-pass.ini test/test-fail.ini test/test.conf"
14694
14695 cat >confcache <<\_ACEOF
14696 # This file is a shell script that caches the results of configure
14697 # tests run on this system so they can be shared between configure
14698 # scripts and configure runs, see configure's option --config-cache.
14699 # It is not useful on other systems.  If it contains results you don't
14700 # want to keep, you may remove or edit it.
14701 #
14702 # config.status only pays attention to the cache file if you give it
14703 # the --recheck option to rerun configure.
14704 #
14705 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14706 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14707 # following values.
14708
14709 _ACEOF
14710
14711 # The following way of writing the cache mishandles newlines in values,
14712 # but we know of no workaround that is simple, portable, and efficient.
14713 # So, we kill variables containing newlines.
14714 # Ultrix sh set writes to stderr and can't be redirected directly,
14715 # and sets the high bit in the cache file unless we assign to the vars.
14716 (
14717   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14718     eval ac_val=\$$ac_var
14719     case $ac_val in #(
14720     *${as_nl}*)
14721       case $ac_var in #(
14722       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14723 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14724       esac
14725       case $ac_var in #(
14726       _ | IFS | as_nl) ;; #(
14727       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14728       *) { eval $ac_var=; unset $ac_var;} ;;
14729       esac ;;
14730     esac
14731   done
14732
14733   (set) 2>&1 |
14734     case $as_nl`(ac_space=' '; set) 2>&1` in #(
14735     *${as_nl}ac_space=\ *)
14736       # `set' does not quote correctly, so add quotes: double-quote
14737       # substitution turns \\\\ into \\, and sed turns \\ into \.
14738       sed -n \
14739         "s/'/'\\\\''/g;
14740           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14741       ;; #(
14742     *)
14743       # `set' quotes correctly as required by POSIX, so do not add quotes.
14744       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14745       ;;
14746     esac |
14747     sort
14748 ) |
14749   sed '
14750      /^ac_cv_env_/b end
14751      t clear
14752      :clear
14753      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14754      t end
14755      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14756      :end' >>confcache
14757 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14758   if test -w "$cache_file"; then
14759     if test "x$cache_file" != "x/dev/null"; then
14760       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14761 $as_echo "$as_me: updating cache $cache_file" >&6;}
14762       if test ! -f "$cache_file" || test -h "$cache_file"; then
14763         cat confcache >"$cache_file"
14764       else
14765         case $cache_file in #(
14766         */* | ?:*)
14767           mv -f confcache "$cache_file"$$ &&
14768           mv -f "$cache_file"$$ "$cache_file" ;; #(
14769         *)
14770           mv -f confcache "$cache_file" ;;
14771         esac
14772       fi
14773     fi
14774   else
14775     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14776 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14777   fi
14778 fi
14779 rm -f confcache
14780
14781 test "x$prefix" = xNONE && prefix=$ac_default_prefix
14782 # Let make expand exec_prefix.
14783 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14784
14785 DEFS=-DHAVE_CONFIG_H
14786
14787 ac_libobjs=
14788 ac_ltlibobjs=
14789 U=
14790 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14791   # 1. Remove the extension, and $U if already installed.
14792   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14793   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14794   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
14795   #    will be set to the directory where LIBOBJS objects are built.
14796   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14797   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14798 done
14799 LIBOBJS=$ac_libobjs
14800
14801 LTLIBOBJS=$ac_ltlibobjs
14802
14803
14804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
14805 $as_echo_n "checking that generated files are newer than configure... " >&6; }
14806    if test -n "$am_sleep_pid"; then
14807      # Hide warnings about reused PIDs.
14808      wait $am_sleep_pid 2>/dev/null
14809    fi
14810    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
14811 $as_echo "done" >&6; }
14812  if test -n "$EXEEXT"; then
14813   am__EXEEXT_TRUE=
14814   am__EXEEXT_FALSE='#'
14815 else
14816   am__EXEEXT_TRUE='#'
14817   am__EXEEXT_FALSE=
14818 fi
14819
14820 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14821   as_fn_error $? "conditional \"AMDEP\" was never defined.
14822 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14823 fi
14824 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14825   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14826 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14827 fi
14828 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14829   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14830 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14831 fi
14832 if test -z "${SYSTEMD_TRUE}" && test -z "${SYSTEMD_FALSE}"; then
14833   as_fn_error $? "conditional \"SYSTEMD\" was never defined.
14834 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14835 fi
14836 if test -z "${USE_LOCAL_INIPARSER_TRUE}" && test -z "${USE_LOCAL_INIPARSER_FALSE}"; then
14837   as_fn_error $? "conditional \"USE_LOCAL_INIPARSER\" was never defined.
14838 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14839 fi
14840 if test -z "${DEBUG_TRUE}" && test -z "${DEBUG_FALSE}"; then
14841   as_fn_error $? "conditional \"DEBUG\" was never defined.
14842 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14843 fi
14844 if test -z "${MANPAGE_TRUE}" && test -z "${MANPAGE_FALSE}"; then
14845   as_fn_error $? "conditional \"MANPAGE\" was never defined.
14846 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14847 fi
14848 if test -z "${COVERAGE_TRUE}" && test -z "${COVERAGE_FALSE}"; then
14849   as_fn_error $? "conditional \"COVERAGE\" was never defined.
14850 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14851 fi
14852 if test -z "${BUILD_DEMOS_TRUE}" && test -z "${BUILD_DEMOS_FALSE}"; then
14853   as_fn_error $? "conditional \"BUILD_DEMOS\" was never defined.
14854 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14855 fi
14856 if test -z "${BUILD_GTK_DEMO_TRUE}" && test -z "${BUILD_GTK_DEMO_FALSE}"; then
14857   as_fn_error $? "conditional \"BUILD_GTK_DEMO\" was never defined.
14858 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14859 fi
14860
14861 : "${CONFIG_STATUS=./config.status}"
14862 ac_write_fail=0
14863 ac_clean_files_save=$ac_clean_files
14864 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14865 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14866 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14867 as_write_fail=0
14868 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14869 #! $SHELL
14870 # Generated by $as_me.
14871 # Run this file to recreate the current configuration.
14872 # Compiler output produced by configure, useful for debugging
14873 # configure, is in config.log if it exists.
14874
14875 debug=false
14876 ac_cs_recheck=false
14877 ac_cs_silent=false
14878
14879 SHELL=\${CONFIG_SHELL-$SHELL}
14880 export SHELL
14881 _ASEOF
14882 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14883 ## -------------------- ##
14884 ## M4sh Initialization. ##
14885 ## -------------------- ##
14886
14887 # Be more Bourne compatible
14888 DUALCASE=1; export DUALCASE # for MKS sh
14889 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14890   emulate sh
14891   NULLCMD=:
14892   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14893   # is contrary to our usage.  Disable this feature.
14894   alias -g '${1+"$@"}'='"$@"'
14895   setopt NO_GLOB_SUBST
14896 else
14897   case `(set -o) 2>/dev/null` in #(
14898   *posix*) :
14899     set -o posix ;; #(
14900   *) :
14901      ;;
14902 esac
14903 fi
14904
14905
14906 as_nl='
14907 '
14908 export as_nl
14909 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14910 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14911 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14912 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14913 # Prefer a ksh shell builtin over an external printf program on Solaris,
14914 # but without wasting forks for bash or zsh.
14915 if test -z "$BASH_VERSION$ZSH_VERSION" \
14916     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14917   as_echo='print -r --'
14918   as_echo_n='print -rn --'
14919 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14920   as_echo='printf %s\n'
14921   as_echo_n='printf %s'
14922 else
14923   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14924     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
14925     as_echo_n='/usr/ucb/echo -n'
14926   else
14927     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14928     as_echo_n_body='eval
14929       arg=$1;
14930       case $arg in #(
14931       *"$as_nl"*)
14932         expr "X$arg" : "X\\(.*\\)$as_nl";
14933         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14934       esac;
14935       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14936     '
14937     export as_echo_n_body
14938     as_echo_n='sh -c $as_echo_n_body as_echo'
14939   fi
14940   export as_echo_body
14941   as_echo='sh -c $as_echo_body as_echo'
14942 fi
14943
14944 # The user is always right.
14945 if test "${PATH_SEPARATOR+set}" != set; then
14946   PATH_SEPARATOR=:
14947   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14948     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14949       PATH_SEPARATOR=';'
14950   }
14951 fi
14952
14953
14954 # IFS
14955 # We need space, tab and new line, in precisely that order.  Quoting is
14956 # there to prevent editors from complaining about space-tab.
14957 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14958 # splitting by setting IFS to empty value.)
14959 IFS=" ""        $as_nl"
14960
14961 # Find who we are.  Look in the path if we contain no directory separator.
14962 as_myself=
14963 case $0 in #((
14964   *[\\/]* ) as_myself=$0 ;;
14965   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14966 for as_dir in $PATH
14967 do
14968   IFS=$as_save_IFS
14969   test -z "$as_dir" && as_dir=.
14970     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14971   done
14972 IFS=$as_save_IFS
14973
14974      ;;
14975 esac
14976 # We did not find ourselves, most probably we were run as `sh COMMAND'
14977 # in which case we are not to be found in the path.
14978 if test "x$as_myself" = x; then
14979   as_myself=$0
14980 fi
14981 if test ! -f "$as_myself"; then
14982   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14983   exit 1
14984 fi
14985
14986 # Unset variables that we do not need and which cause bugs (e.g. in
14987 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
14988 # suppresses any "Segmentation fault" message there.  '((' could
14989 # trigger a bug in pdksh 5.2.14.
14990 for as_var in BASH_ENV ENV MAIL MAILPATH
14991 do eval test x\${$as_var+set} = xset \
14992   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14993 done
14994 PS1='$ '
14995 PS2='> '
14996 PS4='+ '
14997
14998 # NLS nuisances.
14999 LC_ALL=C
15000 export LC_ALL
15001 LANGUAGE=C
15002 export LANGUAGE
15003
15004 # CDPATH.
15005 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15006
15007
15008 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15009 # ----------------------------------------
15010 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15011 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15012 # script with STATUS, using 1 if that was 0.
15013 as_fn_error ()
15014 {
15015   as_status=$1; test $as_status -eq 0 && as_status=1
15016   if test "$4"; then
15017     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15018     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15019   fi
15020   $as_echo "$as_me: error: $2" >&2
15021   as_fn_exit $as_status
15022 } # as_fn_error
15023
15024
15025 # as_fn_set_status STATUS
15026 # -----------------------
15027 # Set $? to STATUS, without forking.
15028 as_fn_set_status ()
15029 {
15030   return $1
15031 } # as_fn_set_status
15032
15033 # as_fn_exit STATUS
15034 # -----------------
15035 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15036 as_fn_exit ()
15037 {
15038   set +e
15039   as_fn_set_status $1
15040   exit $1
15041 } # as_fn_exit
15042
15043 # as_fn_unset VAR
15044 # ---------------
15045 # Portably unset VAR.
15046 as_fn_unset ()
15047 {
15048   { eval $1=; unset $1;}
15049 }
15050 as_unset=as_fn_unset
15051 # as_fn_append VAR VALUE
15052 # ----------------------
15053 # Append the text in VALUE to the end of the definition contained in VAR. Take
15054 # advantage of any shell optimizations that allow amortized linear growth over
15055 # repeated appends, instead of the typical quadratic growth present in naive
15056 # implementations.
15057 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15058   eval 'as_fn_append ()
15059   {
15060     eval $1+=\$2
15061   }'
15062 else
15063   as_fn_append ()
15064   {
15065     eval $1=\$$1\$2
15066   }
15067 fi # as_fn_append
15068
15069 # as_fn_arith ARG...
15070 # ------------------
15071 # Perform arithmetic evaluation on the ARGs, and store the result in the
15072 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15073 # must be portable across $(()) and expr.
15074 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15075   eval 'as_fn_arith ()
15076   {
15077     as_val=$(( $* ))
15078   }'
15079 else
15080   as_fn_arith ()
15081   {
15082     as_val=`expr "$@" || test $? -eq 1`
15083   }
15084 fi # as_fn_arith
15085
15086
15087 if expr a : '\(a\)' >/dev/null 2>&1 &&
15088    test "X`expr 00001 : '.*\(...\)'`" = X001; then
15089   as_expr=expr
15090 else
15091   as_expr=false
15092 fi
15093
15094 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15095   as_basename=basename
15096 else
15097   as_basename=false
15098 fi
15099
15100 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15101   as_dirname=dirname
15102 else
15103   as_dirname=false
15104 fi
15105
15106 as_me=`$as_basename -- "$0" ||
15107 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15108          X"$0" : 'X\(//\)$' \| \
15109          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15110 $as_echo X/"$0" |
15111     sed '/^.*\/\([^/][^/]*\)\/*$/{
15112             s//\1/
15113             q
15114           }
15115           /^X\/\(\/\/\)$/{
15116             s//\1/
15117             q
15118           }
15119           /^X\/\(\/\).*/{
15120             s//\1/
15121             q
15122           }
15123           s/.*/./; q'`
15124
15125 # Avoid depending upon Character Ranges.
15126 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15127 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15128 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15129 as_cr_digits='0123456789'
15130 as_cr_alnum=$as_cr_Letters$as_cr_digits
15131
15132 ECHO_C= ECHO_N= ECHO_T=
15133 case `echo -n x` in #(((((
15134 -n*)
15135   case `echo 'xy\c'` in
15136   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
15137   xy)  ECHO_C='\c';;
15138   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
15139        ECHO_T=' ';;
15140   esac;;
15141 *)
15142   ECHO_N='-n';;
15143 esac
15144
15145 rm -f conf$$ conf$$.exe conf$$.file
15146 if test -d conf$$.dir; then
15147   rm -f conf$$.dir/conf$$.file
15148 else
15149   rm -f conf$$.dir
15150   mkdir conf$$.dir 2>/dev/null
15151 fi
15152 if (echo >conf$$.file) 2>/dev/null; then
15153   if ln -s conf$$.file conf$$ 2>/dev/null; then
15154     as_ln_s='ln -s'
15155     # ... but there are two gotchas:
15156     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15157     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15158     # In both cases, we have to default to `cp -pR'.
15159     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15160       as_ln_s='cp -pR'
15161   elif ln conf$$.file conf$$ 2>/dev/null; then
15162     as_ln_s=ln
15163   else
15164     as_ln_s='cp -pR'
15165   fi
15166 else
15167   as_ln_s='cp -pR'
15168 fi
15169 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15170 rmdir conf$$.dir 2>/dev/null
15171
15172
15173 # as_fn_mkdir_p
15174 # -------------
15175 # Create "$as_dir" as a directory, including parents if necessary.
15176 as_fn_mkdir_p ()
15177 {
15178
15179   case $as_dir in #(
15180   -*) as_dir=./$as_dir;;
15181   esac
15182   test -d "$as_dir" || eval $as_mkdir_p || {
15183     as_dirs=
15184     while :; do
15185       case $as_dir in #(
15186       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15187       *) as_qdir=$as_dir;;
15188       esac
15189       as_dirs="'$as_qdir' $as_dirs"
15190       as_dir=`$as_dirname -- "$as_dir" ||
15191 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15192          X"$as_dir" : 'X\(//\)[^/]' \| \
15193          X"$as_dir" : 'X\(//\)$' \| \
15194          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15195 $as_echo X"$as_dir" |
15196     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15197             s//\1/
15198             q
15199           }
15200           /^X\(\/\/\)[^/].*/{
15201             s//\1/
15202             q
15203           }
15204           /^X\(\/\/\)$/{
15205             s//\1/
15206             q
15207           }
15208           /^X\(\/\).*/{
15209             s//\1/
15210             q
15211           }
15212           s/.*/./; q'`
15213       test -d "$as_dir" && break
15214     done
15215     test -z "$as_dirs" || eval "mkdir $as_dirs"
15216   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15217
15218
15219 } # as_fn_mkdir_p
15220 if mkdir -p . 2>/dev/null; then
15221   as_mkdir_p='mkdir -p "$as_dir"'
15222 else
15223   test -d ./-p && rmdir ./-p
15224   as_mkdir_p=false
15225 fi
15226
15227
15228 # as_fn_executable_p FILE
15229 # -----------------------
15230 # Test if FILE is an executable regular file.
15231 as_fn_executable_p ()
15232 {
15233   test -f "$1" && test -x "$1"
15234 } # as_fn_executable_p
15235 as_test_x='test -x'
15236 as_executable_p=as_fn_executable_p
15237
15238 # Sed expression to map a string onto a valid CPP name.
15239 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15240
15241 # Sed expression to map a string onto a valid variable name.
15242 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15243
15244
15245 exec 6>&1
15246 ## ----------------------------------- ##
15247 ## Main body of $CONFIG_STATUS script. ##
15248 ## ----------------------------------- ##
15249 _ASEOF
15250 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15251
15252 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15253 # Save the log message, to keep $0 and so on meaningful, and to
15254 # report actual input values of CONFIG_FILES etc. instead of their
15255 # values after options handling.
15256 ac_log="
15257 This file was extended by buxton $as_me 5, which was
15258 generated by GNU Autoconf 2.69.  Invocation command line was
15259
15260   CONFIG_FILES    = $CONFIG_FILES
15261   CONFIG_HEADERS  = $CONFIG_HEADERS
15262   CONFIG_LINKS    = $CONFIG_LINKS
15263   CONFIG_COMMANDS = $CONFIG_COMMANDS
15264   $ $0 $@
15265
15266 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15267 "
15268
15269 _ACEOF
15270
15271 case $ac_config_files in *"
15272 "*) set x $ac_config_files; shift; ac_config_files=$*;;
15273 esac
15274
15275 case $ac_config_headers in *"
15276 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15277 esac
15278
15279
15280 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15281 # Files that config.status was made for.
15282 config_files="$ac_config_files"
15283 config_headers="$ac_config_headers"
15284 config_commands="$ac_config_commands"
15285
15286 _ACEOF
15287
15288 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15289 ac_cs_usage="\
15290 \`$as_me' instantiates files and other configuration actions
15291 from templates according to the current configuration.  Unless the files
15292 and actions are specified as TAGs, all are instantiated by default.
15293
15294 Usage: $0 [OPTION]... [TAG]...
15295
15296   -h, --help       print this help, then exit
15297   -V, --version    print version number and configuration settings, then exit
15298       --config     print configuration, then exit
15299   -q, --quiet, --silent
15300                    do not print progress messages
15301   -d, --debug      don't remove temporary files
15302       --recheck    update $as_me by reconfiguring in the same conditions
15303       --file=FILE[:TEMPLATE]
15304                    instantiate the configuration file FILE
15305       --header=FILE[:TEMPLATE]
15306                    instantiate the configuration header FILE
15307
15308 Configuration files:
15309 $config_files
15310
15311 Configuration headers:
15312 $config_headers
15313
15314 Configuration commands:
15315 $config_commands
15316
15317 Report bugs to <william.douglas@intel.com>.
15318 buxton home page: <https://github.com/sofar/buxton>."
15319
15320 _ACEOF
15321 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15322 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15323 ac_cs_version="\\
15324 buxton config.status 5
15325 configured by $0, generated by GNU Autoconf 2.69,
15326   with options \\"\$ac_cs_config\\"
15327
15328 Copyright (C) 2012 Free Software Foundation, Inc.
15329 This config.status script is free software; the Free Software Foundation
15330 gives unlimited permission to copy, distribute and modify it."
15331
15332 ac_pwd='$ac_pwd'
15333 srcdir='$srcdir'
15334 INSTALL='$INSTALL'
15335 MKDIR_P='$MKDIR_P'
15336 AWK='$AWK'
15337 test -n "\$AWK" || AWK=awk
15338 _ACEOF
15339
15340 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15341 # The default lists apply if the user does not specify any file.
15342 ac_need_defaults=:
15343 while test $# != 0
15344 do
15345   case $1 in
15346   --*=?*)
15347     ac_option=`expr "X$1" : 'X\([^=]*\)='`
15348     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15349     ac_shift=:
15350     ;;
15351   --*=)
15352     ac_option=`expr "X$1" : 'X\([^=]*\)='`
15353     ac_optarg=
15354     ac_shift=:
15355     ;;
15356   *)
15357     ac_option=$1
15358     ac_optarg=$2
15359     ac_shift=shift
15360     ;;
15361   esac
15362
15363   case $ac_option in
15364   # Handling of the options.
15365   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15366     ac_cs_recheck=: ;;
15367   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15368     $as_echo "$ac_cs_version"; exit ;;
15369   --config | --confi | --conf | --con | --co | --c )
15370     $as_echo "$ac_cs_config"; exit ;;
15371   --debug | --debu | --deb | --de | --d | -d )
15372     debug=: ;;
15373   --file | --fil | --fi | --f )
15374     $ac_shift
15375     case $ac_optarg in
15376     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15377     '') as_fn_error $? "missing file argument" ;;
15378     esac
15379     as_fn_append CONFIG_FILES " '$ac_optarg'"
15380     ac_need_defaults=false;;
15381   --header | --heade | --head | --hea )
15382     $ac_shift
15383     case $ac_optarg in
15384     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15385     esac
15386     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15387     ac_need_defaults=false;;
15388   --he | --h)
15389     # Conflict between --help and --header
15390     as_fn_error $? "ambiguous option: \`$1'
15391 Try \`$0 --help' for more information.";;
15392   --help | --hel | -h )
15393     $as_echo "$ac_cs_usage"; exit ;;
15394   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15395   | -silent | --silent | --silen | --sile | --sil | --si | --s)
15396     ac_cs_silent=: ;;
15397
15398   # This is an error.
15399   -*) as_fn_error $? "unrecognized option: \`$1'
15400 Try \`$0 --help' for more information." ;;
15401
15402   *) as_fn_append ac_config_targets " $1"
15403      ac_need_defaults=false ;;
15404
15405   esac
15406   shift
15407 done
15408
15409 ac_configure_extra_args=
15410
15411 if $ac_cs_silent; then
15412   exec 6>/dev/null
15413   ac_configure_extra_args="$ac_configure_extra_args --silent"
15414 fi
15415
15416 _ACEOF
15417 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15418 if \$ac_cs_recheck; then
15419   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15420   shift
15421   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15422   CONFIG_SHELL='$SHELL'
15423   export CONFIG_SHELL
15424   exec "\$@"
15425 fi
15426
15427 _ACEOF
15428 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15429 exec 5>>config.log
15430 {
15431   echo
15432   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15433 ## Running $as_me. ##
15434 _ASBOX
15435   $as_echo "$ac_log"
15436 } >&5
15437
15438 _ACEOF
15439 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15440 #
15441 # INIT-COMMANDS
15442 #
15443 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15444
15445
15446 # The HP-UX ksh and POSIX shell print the target directory to stdout
15447 # if CDPATH is set.
15448 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15449
15450 sed_quote_subst='$sed_quote_subst'
15451 double_quote_subst='$double_quote_subst'
15452 delay_variable_subst='$delay_variable_subst'
15453 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15454 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15455 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15456 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15457 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15458 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15459 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15460 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15461 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15462 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15463 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15464 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15465 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15466 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15467 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15468 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15469 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15470 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15471 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15472 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15473 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15474 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15475 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15476 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15477 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15478 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15479 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15480 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15481 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15482 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15483 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15484 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15485 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15486 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15487 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15488 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15489 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15490 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15491 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15492 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15493 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15494 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15495 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15496 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15497 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15498 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15499 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15500 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15501 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15502 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15503 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15504 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15505 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15506 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15507 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15508 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15509 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"`'
15510 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15511 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15512 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15513 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15514 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15515 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15516 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15517 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15518 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15519 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15520 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15521 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15522 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15523 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15524 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15525 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15526 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15527 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15528 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15529 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15530 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15531 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15532 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15533 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15534 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15535 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15536 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15537 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15538 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15539 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15540 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15541 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15542 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15543 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15544 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15545 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15546 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15547 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15548 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15549 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15550 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15551 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15552 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15553 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15554 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15555 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15556 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15557 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15558 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15559 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15560 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15561 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15562 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15563 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15564 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15565 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15566 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15567 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15568 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15569 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15570 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15571 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15572 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15573 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15574 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15575 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15576 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15577 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15578 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15579 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15580 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15581 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15582 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15583
15584 LTCC='$LTCC'
15585 LTCFLAGS='$LTCFLAGS'
15586 compiler='$compiler_DEFAULT'
15587
15588 # A function that is used when there is no print builtin or printf.
15589 func_fallback_echo ()
15590 {
15591   eval 'cat <<_LTECHO_EOF
15592 \$1
15593 _LTECHO_EOF'
15594 }
15595
15596 # Quote evaled strings.
15597 for var in SHELL \
15598 ECHO \
15599 PATH_SEPARATOR \
15600 SED \
15601 GREP \
15602 EGREP \
15603 FGREP \
15604 LD \
15605 NM \
15606 LN_S \
15607 lt_SP2NL \
15608 lt_NL2SP \
15609 reload_flag \
15610 OBJDUMP \
15611 deplibs_check_method \
15612 file_magic_cmd \
15613 file_magic_glob \
15614 want_nocaseglob \
15615 DLLTOOL \
15616 sharedlib_from_linklib_cmd \
15617 AR \
15618 AR_FLAGS \
15619 archiver_list_spec \
15620 STRIP \
15621 RANLIB \
15622 CC \
15623 CFLAGS \
15624 compiler \
15625 lt_cv_sys_global_symbol_pipe \
15626 lt_cv_sys_global_symbol_to_cdecl \
15627 lt_cv_sys_global_symbol_to_c_name_address \
15628 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15629 nm_file_list_spec \
15630 lt_prog_compiler_no_builtin_flag \
15631 lt_prog_compiler_pic \
15632 lt_prog_compiler_wl \
15633 lt_prog_compiler_static \
15634 lt_cv_prog_compiler_c_o \
15635 need_locks \
15636 MANIFEST_TOOL \
15637 DSYMUTIL \
15638 NMEDIT \
15639 LIPO \
15640 OTOOL \
15641 OTOOL64 \
15642 shrext_cmds \
15643 export_dynamic_flag_spec \
15644 whole_archive_flag_spec \
15645 compiler_needs_object \
15646 with_gnu_ld \
15647 allow_undefined_flag \
15648 no_undefined_flag \
15649 hardcode_libdir_flag_spec \
15650 hardcode_libdir_separator \
15651 exclude_expsyms \
15652 include_expsyms \
15653 file_list_spec \
15654 variables_saved_for_relink \
15655 libname_spec \
15656 library_names_spec \
15657 soname_spec \
15658 install_override_mode \
15659 finish_eval \
15660 old_striplib \
15661 striplib; do
15662     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15663     *[\\\\\\\`\\"\\\$]*)
15664       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15665       ;;
15666     *)
15667       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15668       ;;
15669     esac
15670 done
15671
15672 # Double-quote double-evaled strings.
15673 for var in reload_cmds \
15674 old_postinstall_cmds \
15675 old_postuninstall_cmds \
15676 old_archive_cmds \
15677 extract_expsyms_cmds \
15678 old_archive_from_new_cmds \
15679 old_archive_from_expsyms_cmds \
15680 archive_cmds \
15681 archive_expsym_cmds \
15682 module_cmds \
15683 module_expsym_cmds \
15684 export_symbols_cmds \
15685 prelink_cmds \
15686 postlink_cmds \
15687 postinstall_cmds \
15688 postuninstall_cmds \
15689 finish_cmds \
15690 sys_lib_search_path_spec \
15691 sys_lib_dlsearch_path_spec; do
15692     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15693     *[\\\\\\\`\\"\\\$]*)
15694       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15695       ;;
15696     *)
15697       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15698       ;;
15699     esac
15700 done
15701
15702 ac_aux_dir='$ac_aux_dir'
15703 xsi_shell='$xsi_shell'
15704 lt_shell_append='$lt_shell_append'
15705
15706 # See if we are running on zsh, and set the options which allow our
15707 # commands through without removal of \ escapes INIT.
15708 if test -n "\${ZSH_VERSION+set}" ; then
15709    setopt NO_GLOB_SUBST
15710 fi
15711
15712
15713     PACKAGE='$PACKAGE'
15714     VERSION='$VERSION'
15715     TIMESTAMP='$TIMESTAMP'
15716     RM='$RM'
15717     ofile='$ofile'
15718
15719
15720
15721
15722 _ACEOF
15723
15724 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15725
15726 # Handling of arguments.
15727 for ac_config_target in $ac_config_targets
15728 do
15729   case $ac_config_target in
15730     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15731     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
15732     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15733     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15734     "mkdir") CONFIG_COMMANDS="$CONFIG_COMMANDS mkdir" ;;
15735     "data/buxton.service") CONFIG_FILES="$CONFIG_FILES data/buxton.service" ;;
15736     "data/buxton.socket") CONFIG_FILES="$CONFIG_FILES data/buxton.socket" ;;
15737     "data/buxton.pc") CONFIG_FILES="$CONFIG_FILES data/buxton.pc" ;;
15738     "data/buxtonsimple.pc") CONFIG_FILES="$CONFIG_FILES data/buxtonsimple.pc" ;;
15739     "test/test-pass.ini") CONFIG_FILES="$CONFIG_FILES test/test-pass.ini" ;;
15740     "test/test-fail.ini") CONFIG_FILES="$CONFIG_FILES test/test-fail.ini" ;;
15741     "test/test.conf") CONFIG_FILES="$CONFIG_FILES test/test.conf" ;;
15742
15743   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15744   esac
15745 done
15746
15747
15748 # If the user did not use the arguments to specify the items to instantiate,
15749 # then the envvar interface is used.  Set only those that are not.
15750 # We use the long form for the default assignment because of an extremely
15751 # bizarre bug on SunOS 4.1.3.
15752 if $ac_need_defaults; then
15753   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15754   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15755   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15756 fi
15757
15758 # Have a temporary directory for convenience.  Make it in the build tree
15759 # simply because there is no reason against having it here, and in addition,
15760 # creating and moving files from /tmp can sometimes cause problems.
15761 # Hook for its removal unless debugging.
15762 # Note that there is a small window in which the directory will not be cleaned:
15763 # after its creation but before its name has been assigned to `$tmp'.
15764 $debug ||
15765 {
15766   tmp= ac_tmp=
15767   trap 'exit_status=$?
15768   : "${ac_tmp:=$tmp}"
15769   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15770 ' 0
15771   trap 'as_fn_exit 1' 1 2 13 15
15772 }
15773 # Create a (secure) tmp directory for tmp files.
15774
15775 {
15776   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15777   test -d "$tmp"
15778 }  ||
15779 {
15780   tmp=./conf$$-$RANDOM
15781   (umask 077 && mkdir "$tmp")
15782 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15783 ac_tmp=$tmp
15784
15785 # Set up the scripts for CONFIG_FILES section.
15786 # No need to generate them if there are no CONFIG_FILES.
15787 # This happens for instance with `./config.status config.h'.
15788 if test -n "$CONFIG_FILES"; then
15789
15790
15791 ac_cr=`echo X | tr X '\015'`
15792 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15793 # But we know of no other shell where ac_cr would be empty at this
15794 # point, so we can use a bashism as a fallback.
15795 if test "x$ac_cr" = x; then
15796   eval ac_cr=\$\'\\r\'
15797 fi
15798 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15799 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15800   ac_cs_awk_cr='\\r'
15801 else
15802   ac_cs_awk_cr=$ac_cr
15803 fi
15804
15805 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15806 _ACEOF
15807
15808
15809 {
15810   echo "cat >conf$$subs.awk <<_ACEOF" &&
15811   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15812   echo "_ACEOF"
15813 } >conf$$subs.sh ||
15814   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15815 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15816 ac_delim='%!_!# '
15817 for ac_last_try in false false false false false :; do
15818   . ./conf$$subs.sh ||
15819     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15820
15821   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15822   if test $ac_delim_n = $ac_delim_num; then
15823     break
15824   elif $ac_last_try; then
15825     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15826   else
15827     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15828   fi
15829 done
15830 rm -f conf$$subs.sh
15831
15832 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15833 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15834 _ACEOF
15835 sed -n '
15836 h
15837 s/^/S["/; s/!.*/"]=/
15838 p
15839 g
15840 s/^[^!]*!//
15841 :repl
15842 t repl
15843 s/'"$ac_delim"'$//
15844 t delim
15845 :nl
15846 h
15847 s/\(.\{148\}\)..*/\1/
15848 t more1
15849 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15850 p
15851 n
15852 b repl
15853 :more1
15854 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15855 p
15856 g
15857 s/.\{148\}//
15858 t nl
15859 :delim
15860 h
15861 s/\(.\{148\}\)..*/\1/
15862 t more2
15863 s/["\\]/\\&/g; s/^/"/; s/$/"/
15864 p
15865 b
15866 :more2
15867 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15868 p
15869 g
15870 s/.\{148\}//
15871 t delim
15872 ' <conf$$subs.awk | sed '
15873 /^[^""]/{
15874   N
15875   s/\n//
15876 }
15877 ' >>$CONFIG_STATUS || ac_write_fail=1
15878 rm -f conf$$subs.awk
15879 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15880 _ACAWK
15881 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15882   for (key in S) S_is_set[key] = 1
15883   FS = "\a"
15884
15885 }
15886 {
15887   line = $ 0
15888   nfields = split(line, field, "@")
15889   substed = 0
15890   len = length(field[1])
15891   for (i = 2; i < nfields; i++) {
15892     key = field[i]
15893     keylen = length(key)
15894     if (S_is_set[key]) {
15895       value = S[key]
15896       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15897       len += length(value) + length(field[++i])
15898       substed = 1
15899     } else
15900       len += 1 + keylen
15901   }
15902
15903   print line
15904 }
15905
15906 _ACAWK
15907 _ACEOF
15908 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15909 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15910   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15911 else
15912   cat
15913 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15914   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15915 _ACEOF
15916
15917 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15918 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15919 # trailing colons and then remove the whole line if VPATH becomes empty
15920 # (actually we leave an empty line to preserve line numbers).
15921 if test "x$srcdir" = x.; then
15922   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
15923 h
15924 s///
15925 s/^/:/
15926 s/[      ]*$/:/
15927 s/:\$(srcdir):/:/g
15928 s/:\${srcdir}:/:/g
15929 s/:@srcdir@:/:/g
15930 s/^:*//
15931 s/:*$//
15932 x
15933 s/\(=[   ]*\).*/\1/
15934 G
15935 s/\n//
15936 s/^[^=]*=[       ]*$//
15937 }'
15938 fi
15939
15940 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15941 fi # test -n "$CONFIG_FILES"
15942
15943 # Set up the scripts for CONFIG_HEADERS section.
15944 # No need to generate them if there are no CONFIG_HEADERS.
15945 # This happens for instance with `./config.status Makefile'.
15946 if test -n "$CONFIG_HEADERS"; then
15947 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15948 BEGIN {
15949 _ACEOF
15950
15951 # Transform confdefs.h into an awk script `defines.awk', embedded as
15952 # here-document in config.status, that substitutes the proper values into
15953 # config.h.in to produce config.h.
15954
15955 # Create a delimiter string that does not exist in confdefs.h, to ease
15956 # handling of long lines.
15957 ac_delim='%!_!# '
15958 for ac_last_try in false false :; do
15959   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
15960   if test -z "$ac_tt"; then
15961     break
15962   elif $ac_last_try; then
15963     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15964   else
15965     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15966   fi
15967 done
15968
15969 # For the awk script, D is an array of macro values keyed by name,
15970 # likewise P contains macro parameters if any.  Preserve backslash
15971 # newline sequences.
15972
15973 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15974 sed -n '
15975 s/.\{148\}/&'"$ac_delim"'/g
15976 t rset
15977 :rset
15978 s/^[     ]*#[    ]*define[       ][      ]*/ /
15979 t def
15980 d
15981 :def
15982 s/\\$//
15983 t bsnl
15984 s/["\\]/\\&/g
15985 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
15986 D["\1"]=" \3"/p
15987 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
15988 d
15989 :bsnl
15990 s/["\\]/\\&/g
15991 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
15992 D["\1"]=" \3\\\\\\n"\\/p
15993 t cont
15994 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
15995 t cont
15996 d
15997 :cont
15998 n
15999 s/.\{148\}/&'"$ac_delim"'/g
16000 t clear
16001 :clear
16002 s/\\$//
16003 t bsnlc
16004 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16005 d
16006 :bsnlc
16007 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16008 b cont
16009 ' <confdefs.h | sed '
16010 s/'"$ac_delim"'/"\\\
16011 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16012
16013 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16014   for (key in D) D_is_set[key] = 1
16015   FS = "\a"
16016 }
16017 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16018   line = \$ 0
16019   split(line, arg, " ")
16020   if (arg[1] == "#") {
16021     defundef = arg[2]
16022     mac1 = arg[3]
16023   } else {
16024     defundef = substr(arg[1], 2)
16025     mac1 = arg[2]
16026   }
16027   split(mac1, mac2, "(") #)
16028   macro = mac2[1]
16029   prefix = substr(line, 1, index(line, defundef) - 1)
16030   if (D_is_set[macro]) {
16031     # Preserve the white space surrounding the "#".
16032     print prefix "define", macro P[macro] D[macro]
16033     next
16034   } else {
16035     # Replace #undef with comments.  This is necessary, for example,
16036     # in the case of _POSIX_SOURCE, which is predefined and required
16037     # on some systems where configure will not decide to define it.
16038     if (defundef == "undef") {
16039       print "/*", prefix defundef, macro, "*/"
16040       next
16041     }
16042   }
16043 }
16044 { print }
16045 _ACAWK
16046 _ACEOF
16047 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16048   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16049 fi # test -n "$CONFIG_HEADERS"
16050
16051
16052 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
16053 shift
16054 for ac_tag
16055 do
16056   case $ac_tag in
16057   :[FHLC]) ac_mode=$ac_tag; continue;;
16058   esac
16059   case $ac_mode$ac_tag in
16060   :[FHL]*:*);;
16061   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16062   :[FH]-) ac_tag=-:-;;
16063   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16064   esac
16065   ac_save_IFS=$IFS
16066   IFS=:
16067   set x $ac_tag
16068   IFS=$ac_save_IFS
16069   shift
16070   ac_file=$1
16071   shift
16072
16073   case $ac_mode in
16074   :L) ac_source=$1;;
16075   :[FH])
16076     ac_file_inputs=
16077     for ac_f
16078     do
16079       case $ac_f in
16080       -) ac_f="$ac_tmp/stdin";;
16081       *) # Look for the file first in the build tree, then in the source tree
16082          # (if the path is not absolute).  The absolute path cannot be DOS-style,
16083          # because $ac_f cannot contain `:'.
16084          test -f "$ac_f" ||
16085            case $ac_f in
16086            [\\/$]*) false;;
16087            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16088            esac ||
16089            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16090       esac
16091       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16092       as_fn_append ac_file_inputs " '$ac_f'"
16093     done
16094
16095     # Let's still pretend it is `configure' which instantiates (i.e., don't
16096     # use $as_me), people would be surprised to read:
16097     #    /* config.h.  Generated by config.status.  */
16098     configure_input='Generated from '`
16099           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16100         `' by configure.'
16101     if test x"$ac_file" != x-; then
16102       configure_input="$ac_file.  $configure_input"
16103       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16104 $as_echo "$as_me: creating $ac_file" >&6;}
16105     fi
16106     # Neutralize special characters interpreted by sed in replacement strings.
16107     case $configure_input in #(
16108     *\&* | *\|* | *\\* )
16109        ac_sed_conf_input=`$as_echo "$configure_input" |
16110        sed 's/[\\\\&|]/\\\\&/g'`;; #(
16111     *) ac_sed_conf_input=$configure_input;;
16112     esac
16113
16114     case $ac_tag in
16115     *:-:* | *:-) cat >"$ac_tmp/stdin" \
16116       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16117     esac
16118     ;;
16119   esac
16120
16121   ac_dir=`$as_dirname -- "$ac_file" ||
16122 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16123          X"$ac_file" : 'X\(//\)[^/]' \| \
16124          X"$ac_file" : 'X\(//\)$' \| \
16125          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16126 $as_echo X"$ac_file" |
16127     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16128             s//\1/
16129             q
16130           }
16131           /^X\(\/\/\)[^/].*/{
16132             s//\1/
16133             q
16134           }
16135           /^X\(\/\/\)$/{
16136             s//\1/
16137             q
16138           }
16139           /^X\(\/\).*/{
16140             s//\1/
16141             q
16142           }
16143           s/.*/./; q'`
16144   as_dir="$ac_dir"; as_fn_mkdir_p
16145   ac_builddir=.
16146
16147 case "$ac_dir" in
16148 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16149 *)
16150   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16151   # A ".." for each directory in $ac_dir_suffix.
16152   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16153   case $ac_top_builddir_sub in
16154   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16155   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16156   esac ;;
16157 esac
16158 ac_abs_top_builddir=$ac_pwd
16159 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16160 # for backward compatibility:
16161 ac_top_builddir=$ac_top_build_prefix
16162
16163 case $srcdir in
16164   .)  # We are building in place.
16165     ac_srcdir=.
16166     ac_top_srcdir=$ac_top_builddir_sub
16167     ac_abs_top_srcdir=$ac_pwd ;;
16168   [\\/]* | ?:[\\/]* )  # Absolute name.
16169     ac_srcdir=$srcdir$ac_dir_suffix;
16170     ac_top_srcdir=$srcdir
16171     ac_abs_top_srcdir=$srcdir ;;
16172   *) # Relative name.
16173     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16174     ac_top_srcdir=$ac_top_build_prefix$srcdir
16175     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16176 esac
16177 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16178
16179
16180   case $ac_mode in
16181   :F)
16182   #
16183   # CONFIG_FILE
16184   #
16185
16186   case $INSTALL in
16187   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16188   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16189   esac
16190   ac_MKDIR_P=$MKDIR_P
16191   case $MKDIR_P in
16192   [\\/$]* | ?:[\\/]* ) ;;
16193   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16194   esac
16195 _ACEOF
16196
16197 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16198 # If the template does not know about datarootdir, expand it.
16199 # FIXME: This hack should be removed a few years after 2.60.
16200 ac_datarootdir_hack=; ac_datarootdir_seen=
16201 ac_sed_dataroot='
16202 /datarootdir/ {
16203   p
16204   q
16205 }
16206 /@datadir@/p
16207 /@docdir@/p
16208 /@infodir@/p
16209 /@localedir@/p
16210 /@mandir@/p'
16211 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16212 *datarootdir*) ac_datarootdir_seen=yes;;
16213 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16214   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16215 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16216 _ACEOF
16217 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16218   ac_datarootdir_hack='
16219   s&@datadir@&$datadir&g
16220   s&@docdir@&$docdir&g
16221   s&@infodir@&$infodir&g
16222   s&@localedir@&$localedir&g
16223   s&@mandir@&$mandir&g
16224   s&\\\${datarootdir}&$datarootdir&g' ;;
16225 esac
16226 _ACEOF
16227
16228 # Neutralize VPATH when `$srcdir' = `.'.
16229 # Shell code in configure.ac might set extrasub.
16230 # FIXME: do we really want to maintain this feature?
16231 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16232 ac_sed_extra="$ac_vpsub
16233 $extrasub
16234 _ACEOF
16235 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16236 :t
16237 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16238 s|@configure_input@|$ac_sed_conf_input|;t t
16239 s&@top_builddir@&$ac_top_builddir_sub&;t t
16240 s&@top_build_prefix@&$ac_top_build_prefix&;t t
16241 s&@srcdir@&$ac_srcdir&;t t
16242 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16243 s&@top_srcdir@&$ac_top_srcdir&;t t
16244 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16245 s&@builddir@&$ac_builddir&;t t
16246 s&@abs_builddir@&$ac_abs_builddir&;t t
16247 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16248 s&@INSTALL@&$ac_INSTALL&;t t
16249 s&@MKDIR_P@&$ac_MKDIR_P&;t t
16250 $ac_datarootdir_hack
16251 "
16252 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16253   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16254
16255 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16256   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16257   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
16258       "$ac_tmp/out"`; test -z "$ac_out"; } &&
16259   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16260 which seems to be undefined.  Please make sure it is defined" >&5
16261 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16262 which seems to be undefined.  Please make sure it is defined" >&2;}
16263
16264   rm -f "$ac_tmp/stdin"
16265   case $ac_file in
16266   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16267   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16268   esac \
16269   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16270  ;;
16271   :H)
16272   #
16273   # CONFIG_HEADER
16274   #
16275   if test x"$ac_file" != x-; then
16276     {
16277       $as_echo "/* $configure_input  */" \
16278       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16279     } >"$ac_tmp/config.h" \
16280       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16281     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16282       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16283 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16284     else
16285       rm -f "$ac_file"
16286       mv "$ac_tmp/config.h" "$ac_file" \
16287         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16288     fi
16289   else
16290     $as_echo "/* $configure_input  */" \
16291       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16292       || as_fn_error $? "could not create -" "$LINENO" 5
16293   fi
16294 # Compute "$ac_file"'s index in $config_headers.
16295 _am_arg="$ac_file"
16296 _am_stamp_count=1
16297 for _am_header in $config_headers :; do
16298   case $_am_header in
16299     $_am_arg | $_am_arg:* )
16300       break ;;
16301     * )
16302       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16303   esac
16304 done
16305 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16306 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16307          X"$_am_arg" : 'X\(//\)[^/]' \| \
16308          X"$_am_arg" : 'X\(//\)$' \| \
16309          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16310 $as_echo X"$_am_arg" |
16311     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16312             s//\1/
16313             q
16314           }
16315           /^X\(\/\/\)[^/].*/{
16316             s//\1/
16317             q
16318           }
16319           /^X\(\/\/\)$/{
16320             s//\1/
16321             q
16322           }
16323           /^X\(\/\).*/{
16324             s//\1/
16325             q
16326           }
16327           s/.*/./; q'`/stamp-h$_am_stamp_count
16328  ;;
16329
16330   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16331 $as_echo "$as_me: executing $ac_file commands" >&6;}
16332  ;;
16333   esac
16334
16335
16336   case $ac_file$ac_mode in
16337     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16338   # Older Autoconf quotes --file arguments for eval, but not when files
16339   # are listed without --file.  Let's play safe and only enable the eval
16340   # if we detect the quoting.
16341   case $CONFIG_FILES in
16342   *\'*) eval set x "$CONFIG_FILES" ;;
16343   *)   set x $CONFIG_FILES ;;
16344   esac
16345   shift
16346   for mf
16347   do
16348     # Strip MF so we end up with the name of the file.
16349     mf=`echo "$mf" | sed -e 's/:.*$//'`
16350     # Check whether this is an Automake generated Makefile or not.
16351     # We used to match only the files named 'Makefile.in', but
16352     # some people rename them; so instead we look at the file content.
16353     # Grep'ing the first line is not enough: some people post-process
16354     # each Makefile.in and add a new line on top of each file to say so.
16355     # Grep'ing the whole file is not good either: AIX grep has a line
16356     # limit of 2048, but all sed's we know have understand at least 4000.
16357     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16358       dirpart=`$as_dirname -- "$mf" ||
16359 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16360          X"$mf" : 'X\(//\)[^/]' \| \
16361          X"$mf" : 'X\(//\)$' \| \
16362          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16363 $as_echo X"$mf" |
16364     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16365             s//\1/
16366             q
16367           }
16368           /^X\(\/\/\)[^/].*/{
16369             s//\1/
16370             q
16371           }
16372           /^X\(\/\/\)$/{
16373             s//\1/
16374             q
16375           }
16376           /^X\(\/\).*/{
16377             s//\1/
16378             q
16379           }
16380           s/.*/./; q'`
16381     else
16382       continue
16383     fi
16384     # Extract the definition of DEPDIR, am__include, and am__quote
16385     # from the Makefile without running 'make'.
16386     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16387     test -z "$DEPDIR" && continue
16388     am__include=`sed -n 's/^am__include = //p' < "$mf"`
16389     test -z "$am__include" && continue
16390     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16391     # Find all dependency output files, they are included files with
16392     # $(DEPDIR) in their names.  We invoke sed twice because it is the
16393     # simplest approach to changing $(DEPDIR) to its actual value in the
16394     # expansion.
16395     for file in `sed -n "
16396       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16397          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
16398       # Make sure the directory exists.
16399       test -f "$dirpart/$file" && continue
16400       fdir=`$as_dirname -- "$file" ||
16401 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16402          X"$file" : 'X\(//\)[^/]' \| \
16403          X"$file" : 'X\(//\)$' \| \
16404          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16405 $as_echo X"$file" |
16406     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16407             s//\1/
16408             q
16409           }
16410           /^X\(\/\/\)[^/].*/{
16411             s//\1/
16412             q
16413           }
16414           /^X\(\/\/\)$/{
16415             s//\1/
16416             q
16417           }
16418           /^X\(\/\).*/{
16419             s//\1/
16420             q
16421           }
16422           s/.*/./; q'`
16423       as_dir=$dirpart/$fdir; as_fn_mkdir_p
16424       # echo "creating $dirpart/$file"
16425       echo '# dummy' > "$dirpart/$file"
16426     done
16427   done
16428 }
16429  ;;
16430     "libtool":C)
16431
16432     # See if we are running on zsh, and set the options which allow our
16433     # commands through without removal of \ escapes.
16434     if test -n "${ZSH_VERSION+set}" ; then
16435       setopt NO_GLOB_SUBST
16436     fi
16437
16438     cfgfile="${ofile}T"
16439     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16440     $RM "$cfgfile"
16441
16442     cat <<_LT_EOF >> "$cfgfile"
16443 #! $SHELL
16444
16445 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16446 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16447 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16448 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16449 #
16450 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16451 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
16452 #                 Foundation, Inc.
16453 #   Written by Gordon Matzigkeit, 1996
16454 #
16455 #   This file is part of GNU Libtool.
16456 #
16457 # GNU Libtool is free software; you can redistribute it and/or
16458 # modify it under the terms of the GNU General Public License as
16459 # published by the Free Software Foundation; either version 2 of
16460 # the License, or (at your option) any later version.
16461 #
16462 # As a special exception to the GNU General Public License,
16463 # if you distribute this file as part of a program or library that
16464 # is built using GNU Libtool, you may include this file under the
16465 # same distribution terms that you use for the rest of that program.
16466 #
16467 # GNU Libtool is distributed in the hope that it will be useful,
16468 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16469 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16470 # GNU General Public License for more details.
16471 #
16472 # You should have received a copy of the GNU General Public License
16473 # along with GNU Libtool; see the file COPYING.  If not, a copy
16474 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16475 # obtained by writing to the Free Software Foundation, Inc.,
16476 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16477
16478
16479 # The names of the tagged configurations supported by this script.
16480 available_tags=""
16481
16482 # ### BEGIN LIBTOOL CONFIG
16483
16484 # Which release of libtool.m4 was used?
16485 macro_version=$macro_version
16486 macro_revision=$macro_revision
16487
16488 # Whether or not to build static libraries.
16489 build_old_libs=$enable_static
16490
16491 # Whether or not to build shared libraries.
16492 build_libtool_libs=$enable_shared
16493
16494 # What type of objects to build.
16495 pic_mode=$pic_mode
16496
16497 # Whether or not to optimize for fast installation.
16498 fast_install=$enable_fast_install
16499
16500 # Shell to use when invoking shell scripts.
16501 SHELL=$lt_SHELL
16502
16503 # An echo program that protects backslashes.
16504 ECHO=$lt_ECHO
16505
16506 # The PATH separator for the build system.
16507 PATH_SEPARATOR=$lt_PATH_SEPARATOR
16508
16509 # The host system.
16510 host_alias=$host_alias
16511 host=$host
16512 host_os=$host_os
16513
16514 # The build system.
16515 build_alias=$build_alias
16516 build=$build
16517 build_os=$build_os
16518
16519 # A sed program that does not truncate output.
16520 SED=$lt_SED
16521
16522 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16523 Xsed="\$SED -e 1s/^X//"
16524
16525 # A grep program that handles long lines.
16526 GREP=$lt_GREP
16527
16528 # An ERE matcher.
16529 EGREP=$lt_EGREP
16530
16531 # A literal string matcher.
16532 FGREP=$lt_FGREP
16533
16534 # A BSD- or MS-compatible name lister.
16535 NM=$lt_NM
16536
16537 # Whether we need soft or hard links.
16538 LN_S=$lt_LN_S
16539
16540 # What is the maximum length of a command?
16541 max_cmd_len=$max_cmd_len
16542
16543 # Object file suffix (normally "o").
16544 objext=$ac_objext
16545
16546 # Executable file suffix (normally "").
16547 exeext=$exeext
16548
16549 # whether the shell understands "unset".
16550 lt_unset=$lt_unset
16551
16552 # turn spaces into newlines.
16553 SP2NL=$lt_lt_SP2NL
16554
16555 # turn newlines into spaces.
16556 NL2SP=$lt_lt_NL2SP
16557
16558 # convert \$build file names to \$host format.
16559 to_host_file_cmd=$lt_cv_to_host_file_cmd
16560
16561 # convert \$build files to toolchain format.
16562 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16563
16564 # An object symbol dumper.
16565 OBJDUMP=$lt_OBJDUMP
16566
16567 # Method to check whether dependent libraries are shared objects.
16568 deplibs_check_method=$lt_deplibs_check_method
16569
16570 # Command to use when deplibs_check_method = "file_magic".
16571 file_magic_cmd=$lt_file_magic_cmd
16572
16573 # How to find potential files when deplibs_check_method = "file_magic".
16574 file_magic_glob=$lt_file_magic_glob
16575
16576 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16577 want_nocaseglob=$lt_want_nocaseglob
16578
16579 # DLL creation program.
16580 DLLTOOL=$lt_DLLTOOL
16581
16582 # Command to associate shared and link libraries.
16583 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16584
16585 # The archiver.
16586 AR=$lt_AR
16587
16588 # Flags to create an archive.
16589 AR_FLAGS=$lt_AR_FLAGS
16590
16591 # How to feed a file listing to the archiver.
16592 archiver_list_spec=$lt_archiver_list_spec
16593
16594 # A symbol stripping program.
16595 STRIP=$lt_STRIP
16596
16597 # Commands used to install an old-style archive.
16598 RANLIB=$lt_RANLIB
16599 old_postinstall_cmds=$lt_old_postinstall_cmds
16600 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16601
16602 # Whether to use a lock for old archive extraction.
16603 lock_old_archive_extraction=$lock_old_archive_extraction
16604
16605 # A C compiler.
16606 LTCC=$lt_CC
16607
16608 # LTCC compiler flags.
16609 LTCFLAGS=$lt_CFLAGS
16610
16611 # Take the output of nm and produce a listing of raw symbols and C names.
16612 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16613
16614 # Transform the output of nm in a proper C declaration.
16615 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16616
16617 # Transform the output of nm in a C name address pair.
16618 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16619
16620 # Transform the output of nm in a C name address pair when lib prefix is needed.
16621 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16622
16623 # Specify filename containing input files for \$NM.
16624 nm_file_list_spec=$lt_nm_file_list_spec
16625
16626 # The root where to search for dependent libraries,and in which our libraries should be installed.
16627 lt_sysroot=$lt_sysroot
16628
16629 # The name of the directory that contains temporary libtool files.
16630 objdir=$objdir
16631
16632 # Used to examine libraries when file_magic_cmd begins with "file".
16633 MAGIC_CMD=$MAGIC_CMD
16634
16635 # Must we lock files when doing compilation?
16636 need_locks=$lt_need_locks
16637
16638 # Manifest tool.
16639 MANIFEST_TOOL=$lt_MANIFEST_TOOL
16640
16641 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16642 DSYMUTIL=$lt_DSYMUTIL
16643
16644 # Tool to change global to local symbols on Mac OS X.
16645 NMEDIT=$lt_NMEDIT
16646
16647 # Tool to manipulate fat objects and archives on Mac OS X.
16648 LIPO=$lt_LIPO
16649
16650 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16651 OTOOL=$lt_OTOOL
16652
16653 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16654 OTOOL64=$lt_OTOOL64
16655
16656 # Old archive suffix (normally "a").
16657 libext=$libext
16658
16659 # Shared library suffix (normally ".so").
16660 shrext_cmds=$lt_shrext_cmds
16661
16662 # The commands to extract the exported symbol list from a shared archive.
16663 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16664
16665 # Variables whose values should be saved in libtool wrapper scripts and
16666 # restored at link time.
16667 variables_saved_for_relink=$lt_variables_saved_for_relink
16668
16669 # Do we need the "lib" prefix for modules?
16670 need_lib_prefix=$need_lib_prefix
16671
16672 # Do we need a version for libraries?
16673 need_version=$need_version
16674
16675 # Library versioning type.
16676 version_type=$version_type
16677
16678 # Shared library runtime path variable.
16679 runpath_var=$runpath_var
16680
16681 # Shared library path variable.
16682 shlibpath_var=$shlibpath_var
16683
16684 # Is shlibpath searched before the hard-coded library search path?
16685 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16686
16687 # Format of library name prefix.
16688 libname_spec=$lt_libname_spec
16689
16690 # List of archive names.  First name is the real one, the rest are links.
16691 # The last name is the one that the linker finds with -lNAME
16692 library_names_spec=$lt_library_names_spec
16693
16694 # The coded name of the library, if different from the real name.
16695 soname_spec=$lt_soname_spec
16696
16697 # Permission mode override for installation of shared libraries.
16698 install_override_mode=$lt_install_override_mode
16699
16700 # Command to use after installation of a shared archive.
16701 postinstall_cmds=$lt_postinstall_cmds
16702
16703 # Command to use after uninstallation of a shared archive.
16704 postuninstall_cmds=$lt_postuninstall_cmds
16705
16706 # Commands used to finish a libtool library installation in a directory.
16707 finish_cmds=$lt_finish_cmds
16708
16709 # As "finish_cmds", except a single script fragment to be evaled but
16710 # not shown.
16711 finish_eval=$lt_finish_eval
16712
16713 # Whether we should hardcode library paths into libraries.
16714 hardcode_into_libs=$hardcode_into_libs
16715
16716 # Compile-time system search path for libraries.
16717 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16718
16719 # Run-time system search path for libraries.
16720 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16721
16722 # Whether dlopen is supported.
16723 dlopen_support=$enable_dlopen
16724
16725 # Whether dlopen of programs is supported.
16726 dlopen_self=$enable_dlopen_self
16727
16728 # Whether dlopen of statically linked programs is supported.
16729 dlopen_self_static=$enable_dlopen_self_static
16730
16731 # Commands to strip libraries.
16732 old_striplib=$lt_old_striplib
16733 striplib=$lt_striplib
16734
16735
16736 # The linker used to build libraries.
16737 LD=$lt_LD
16738
16739 # How to create reloadable object files.
16740 reload_flag=$lt_reload_flag
16741 reload_cmds=$lt_reload_cmds
16742
16743 # Commands used to build an old-style archive.
16744 old_archive_cmds=$lt_old_archive_cmds
16745
16746 # A language specific compiler.
16747 CC=$lt_compiler
16748
16749 # Is the compiler the GNU compiler?
16750 with_gcc=$GCC
16751
16752 # Compiler flag to turn off builtin functions.
16753 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16754
16755 # Additional compiler flags for building library objects.
16756 pic_flag=$lt_lt_prog_compiler_pic
16757
16758 # How to pass a linker flag through the compiler.
16759 wl=$lt_lt_prog_compiler_wl
16760
16761 # Compiler flag to prevent dynamic linking.
16762 link_static_flag=$lt_lt_prog_compiler_static
16763
16764 # Does compiler simultaneously support -c and -o options?
16765 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16766
16767 # Whether or not to add -lc for building shared libraries.
16768 build_libtool_need_lc=$archive_cmds_need_lc
16769
16770 # Whether or not to disallow shared libs when runtime libs are static.
16771 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16772
16773 # Compiler flag to allow reflexive dlopens.
16774 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16775
16776 # Compiler flag to generate shared objects directly from archives.
16777 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16778
16779 # Whether the compiler copes with passing no objects directly.
16780 compiler_needs_object=$lt_compiler_needs_object
16781
16782 # Create an old-style archive from a shared archive.
16783 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16784
16785 # Create a temporary old-style archive to link instead of a shared archive.
16786 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16787
16788 # Commands used to build a shared archive.
16789 archive_cmds=$lt_archive_cmds
16790 archive_expsym_cmds=$lt_archive_expsym_cmds
16791
16792 # Commands used to build a loadable module if different from building
16793 # a shared archive.
16794 module_cmds=$lt_module_cmds
16795 module_expsym_cmds=$lt_module_expsym_cmds
16796
16797 # Whether we are building with GNU ld or not.
16798 with_gnu_ld=$lt_with_gnu_ld
16799
16800 # Flag that allows shared libraries with undefined symbols to be built.
16801 allow_undefined_flag=$lt_allow_undefined_flag
16802
16803 # Flag that enforces no undefined symbols.
16804 no_undefined_flag=$lt_no_undefined_flag
16805
16806 # Flag to hardcode \$libdir into a binary during linking.
16807 # This must work even if \$libdir does not exist
16808 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16809
16810 # Whether we need a single "-rpath" flag with a separated argument.
16811 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16812
16813 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16814 # DIR into the resulting binary.
16815 hardcode_direct=$hardcode_direct
16816
16817 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16818 # DIR into the resulting binary and the resulting library dependency is
16819 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16820 # library is relocated.
16821 hardcode_direct_absolute=$hardcode_direct_absolute
16822
16823 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16824 # into the resulting binary.
16825 hardcode_minus_L=$hardcode_minus_L
16826
16827 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16828 # into the resulting binary.
16829 hardcode_shlibpath_var=$hardcode_shlibpath_var
16830
16831 # Set to "yes" if building a shared library automatically hardcodes DIR
16832 # into the library and all subsequent libraries and executables linked
16833 # against it.
16834 hardcode_automatic=$hardcode_automatic
16835
16836 # Set to yes if linker adds runtime paths of dependent libraries
16837 # to runtime path list.
16838 inherit_rpath=$inherit_rpath
16839
16840 # Whether libtool must link a program against all its dependency libraries.
16841 link_all_deplibs=$link_all_deplibs
16842
16843 # Set to "yes" if exported symbols are required.
16844 always_export_symbols=$always_export_symbols
16845
16846 # The commands to list exported symbols.
16847 export_symbols_cmds=$lt_export_symbols_cmds
16848
16849 # Symbols that should not be listed in the preloaded symbols.
16850 exclude_expsyms=$lt_exclude_expsyms
16851
16852 # Symbols that must always be exported.
16853 include_expsyms=$lt_include_expsyms
16854
16855 # Commands necessary for linking programs (against libraries) with templates.
16856 prelink_cmds=$lt_prelink_cmds
16857
16858 # Commands necessary for finishing linking programs.
16859 postlink_cmds=$lt_postlink_cmds
16860
16861 # Specify filename containing input files.
16862 file_list_spec=$lt_file_list_spec
16863
16864 # How to hardcode a shared library path into an executable.
16865 hardcode_action=$hardcode_action
16866
16867 # ### END LIBTOOL CONFIG
16868
16869 _LT_EOF
16870
16871   case $host_os in
16872   aix3*)
16873     cat <<\_LT_EOF >> "$cfgfile"
16874 # AIX sometimes has problems with the GCC collect2 program.  For some
16875 # reason, if we set the COLLECT_NAMES environment variable, the problems
16876 # vanish in a puff of smoke.
16877 if test "X${COLLECT_NAMES+set}" != Xset; then
16878   COLLECT_NAMES=
16879   export COLLECT_NAMES
16880 fi
16881 _LT_EOF
16882     ;;
16883   esac
16884
16885
16886 ltmain="$ac_aux_dir/ltmain.sh"
16887
16888
16889   # We use sed instead of cat because bash on DJGPP gets confused if
16890   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
16891   # text mode, it properly converts lines to CR/LF.  This bash problem
16892   # is reportedly fixed, but why not run on old versions too?
16893   sed '$q' "$ltmain" >> "$cfgfile" \
16894      || (rm -f "$cfgfile"; exit 1)
16895
16896   if test x"$xsi_shell" = xyes; then
16897   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
16898 func_dirname ()\
16899 {\
16900 \    case ${1} in\
16901 \      */*) func_dirname_result="${1%/*}${2}" ;;\
16902 \      *  ) func_dirname_result="${3}" ;;\
16903 \    esac\
16904 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
16905   && mv -f "$cfgfile.tmp" "$cfgfile" \
16906     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16907 test 0 -eq $? || _lt_function_replace_fail=:
16908
16909
16910   sed -e '/^func_basename ()$/,/^} # func_basename /c\
16911 func_basename ()\
16912 {\
16913 \    func_basename_result="${1##*/}"\
16914 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
16915   && mv -f "$cfgfile.tmp" "$cfgfile" \
16916     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16917 test 0 -eq $? || _lt_function_replace_fail=:
16918
16919
16920   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
16921 func_dirname_and_basename ()\
16922 {\
16923 \    case ${1} in\
16924 \      */*) func_dirname_result="${1%/*}${2}" ;;\
16925 \      *  ) func_dirname_result="${3}" ;;\
16926 \    esac\
16927 \    func_basename_result="${1##*/}"\
16928 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
16929   && mv -f "$cfgfile.tmp" "$cfgfile" \
16930     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16931 test 0 -eq $? || _lt_function_replace_fail=:
16932
16933
16934   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
16935 func_stripname ()\
16936 {\
16937 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
16938 \    # positional parameters, so assign one to ordinary parameter first.\
16939 \    func_stripname_result=${3}\
16940 \    func_stripname_result=${func_stripname_result#"${1}"}\
16941 \    func_stripname_result=${func_stripname_result%"${2}"}\
16942 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
16943   && mv -f "$cfgfile.tmp" "$cfgfile" \
16944     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16945 test 0 -eq $? || _lt_function_replace_fail=:
16946
16947
16948   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
16949 func_split_long_opt ()\
16950 {\
16951 \    func_split_long_opt_name=${1%%=*}\
16952 \    func_split_long_opt_arg=${1#*=}\
16953 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
16954   && mv -f "$cfgfile.tmp" "$cfgfile" \
16955     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16956 test 0 -eq $? || _lt_function_replace_fail=:
16957
16958
16959   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
16960 func_split_short_opt ()\
16961 {\
16962 \    func_split_short_opt_arg=${1#??}\
16963 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
16964 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
16965   && mv -f "$cfgfile.tmp" "$cfgfile" \
16966     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16967 test 0 -eq $? || _lt_function_replace_fail=:
16968
16969
16970   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
16971 func_lo2o ()\
16972 {\
16973 \    case ${1} in\
16974 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
16975 \      *)    func_lo2o_result=${1} ;;\
16976 \    esac\
16977 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
16978   && mv -f "$cfgfile.tmp" "$cfgfile" \
16979     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16980 test 0 -eq $? || _lt_function_replace_fail=:
16981
16982
16983   sed -e '/^func_xform ()$/,/^} # func_xform /c\
16984 func_xform ()\
16985 {\
16986     func_xform_result=${1%.*}.lo\
16987 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
16988   && mv -f "$cfgfile.tmp" "$cfgfile" \
16989     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16990 test 0 -eq $? || _lt_function_replace_fail=:
16991
16992
16993   sed -e '/^func_arith ()$/,/^} # func_arith /c\
16994 func_arith ()\
16995 {\
16996     func_arith_result=$(( $* ))\
16997 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
16998   && mv -f "$cfgfile.tmp" "$cfgfile" \
16999     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17000 test 0 -eq $? || _lt_function_replace_fail=:
17001
17002
17003   sed -e '/^func_len ()$/,/^} # func_len /c\
17004 func_len ()\
17005 {\
17006     func_len_result=${#1}\
17007 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17008   && mv -f "$cfgfile.tmp" "$cfgfile" \
17009     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17010 test 0 -eq $? || _lt_function_replace_fail=:
17011
17012 fi
17013
17014 if test x"$lt_shell_append" = xyes; then
17015   sed -e '/^func_append ()$/,/^} # func_append /c\
17016 func_append ()\
17017 {\
17018     eval "${1}+=\\${2}"\
17019 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17020   && mv -f "$cfgfile.tmp" "$cfgfile" \
17021     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17022 test 0 -eq $? || _lt_function_replace_fail=:
17023
17024
17025   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17026 func_append_quoted ()\
17027 {\
17028 \    func_quote_for_eval "${2}"\
17029 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17030 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17031   && mv -f "$cfgfile.tmp" "$cfgfile" \
17032     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17033 test 0 -eq $? || _lt_function_replace_fail=:
17034
17035
17036   # Save a `func_append' function call where possible by direct use of '+='
17037   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17038     && mv -f "$cfgfile.tmp" "$cfgfile" \
17039       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17040   test 0 -eq $? || _lt_function_replace_fail=:
17041 else
17042   # Save a `func_append' function call even when '+=' is not available
17043   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17044     && mv -f "$cfgfile.tmp" "$cfgfile" \
17045       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17046   test 0 -eq $? || _lt_function_replace_fail=:
17047 fi
17048
17049 if test x"$_lt_function_replace_fail" = x":"; then
17050   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17051 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17052 fi
17053
17054
17055    mv -f "$cfgfile" "$ofile" ||
17056     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17057   chmod +x "$ofile"
17058
17059  ;;
17060     "mkdir":C) $MKDIR_P test/databases ;;
17061
17062   esac
17063 done # for ac_tag
17064
17065
17066 as_fn_exit 0
17067 _ACEOF
17068 ac_clean_files=$ac_clean_files_save
17069
17070 test $ac_write_fail = 0 ||
17071   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17072
17073
17074 # configure is writing to config.log, and then calls config.status.
17075 # config.status does its own redirection, appending to config.log.
17076 # Unfortunately, on DOS this fails, as config.log is still kept open
17077 # by configure, so config.status won't be able to write to it; its
17078 # output is simply discarded.  So we exec the FD to /dev/null,
17079 # effectively closing config.log, so it can be properly (re)opened and
17080 # appended to by config.status.  When coming back to configure, we
17081 # need to make the FD available again.
17082 if test "$no_create" != yes; then
17083   ac_cs_success=:
17084   ac_config_status_args=
17085   test "$silent" = yes &&
17086     ac_config_status_args="$ac_config_status_args --quiet"
17087   exec 5>/dev/null
17088   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17089   exec 5>>config.log
17090   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17091   # would make configure fail if this is the last instruction.
17092   $ac_cs_success || as_fn_exit 1
17093 fi
17094 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17095   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17096 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17097 fi
17098
17099
17100 { $as_echo "$as_me:${as_lineno-$LINENO}: result:
17101         buxton $VERSION
17102         ========
17103
17104         prefix:                 ${prefix}
17105         libdir:                 ${libdir}
17106         sysconfdir:             ${sysconfdir}
17107         exec_prefix:            ${exec_prefix}
17108         bindir:                 ${bindir}
17109         sbindir:                ${sbindir}
17110         datarootdir:            ${datarootdir}
17111         mandir:                 ${mandir}
17112         modules:                ${MODULEDIR}
17113
17114         compiler:               ${CC}
17115         cflags:                 ${CFLAGS}
17116         ldflags:                ${LDFLAGS}
17117
17118         debug:                  ${enable_debug}
17119         demos:                  ${enable_demos}
17120         coverage:               ${have_coverage}
17121         manpages:               ${enable_manpages}
17122 " >&5
17123 $as_echo "
17124         buxton $VERSION
17125         ========
17126
17127         prefix:                 ${prefix}
17128         libdir:                 ${libdir}
17129         sysconfdir:             ${sysconfdir}
17130         exec_prefix:            ${exec_prefix}
17131         bindir:                 ${bindir}
17132         sbindir:                ${sbindir}
17133         datarootdir:            ${datarootdir}
17134         mandir:                 ${mandir}
17135         modules:                ${MODULEDIR}
17136
17137         compiler:               ${CC}
17138         cflags:                 ${CFLAGS}
17139         ldflags:                ${LDFLAGS}
17140
17141         debug:                  ${enable_debug}
17142         demos:                  ${enable_demos}
17143         coverage:               ${have_coverage}
17144         manpages:               ${enable_manpages}
17145 " >&6; }