Support SMACK permissive mode in Buxton
[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_PERMISSIVE
653 SMACK_LOAD_FILE
654 BUXTON_SOCKET
655 DB_PATH
656 CONFPATH
657 MODULEDIR
658 USE_LOCAL_INIPARSER_FALSE
659 USE_LOCAL_INIPARSER_TRUE
660 INIPARSER_LIBS
661 INIPARSER_CFLAGS
662 BUXTON_USERNAME
663 SYSTEMD_FALSE
664 SYSTEMD_TRUE
665 SYSTEMD_SYSTEMUNITDIR
666 ALLOCA
667 SYSTEMD_LIBS
668 SYSTEMD_CFLAGS
669 CHECK_LIBS
670 CHECK_CFLAGS
671 PKG_CONFIG_LIBDIR
672 PKG_CONFIG_PATH
673 PKG_CONFIG
674 POW_LIB
675 LIBOBJS
676 CPP
677 OTOOL64
678 OTOOL
679 LIPO
680 NMEDIT
681 DSYMUTIL
682 MANIFEST_TOOL
683 RANLIB
684 ac_ct_AR
685 AR
686 DLLTOOL
687 OBJDUMP
688 LN_S
689 NM
690 ac_ct_DUMPBIN
691 DUMPBIN
692 LD
693 FGREP
694 EGREP
695 GREP
696 SED
697 am__fastdepCC_FALSE
698 am__fastdepCC_TRUE
699 CCDEPMODE
700 am__nodep
701 AMDEPBACKSLASH
702 AMDEP_FALSE
703 AMDEP_TRUE
704 am__quote
705 am__include
706 DEPDIR
707 OBJEXT
708 EXEEXT
709 ac_ct_CC
710 CPPFLAGS
711 LDFLAGS
712 CFLAGS
713 CC
714 host_os
715 host_vendor
716 host_cpu
717 host
718 build_os
719 build_vendor
720 build_cpu
721 build
722 LIBTOOL
723 AM_BACKSLASH
724 AM_DEFAULT_VERBOSITY
725 AM_DEFAULT_V
726 AM_V
727 am__untar
728 am__tar
729 AMTAR
730 am__leading_dot
731 SET_MAKE
732 AWK
733 mkdir_p
734 MKDIR_P
735 INSTALL_STRIP_PROGRAM
736 STRIP
737 install_sh
738 MAKEINFO
739 AUTOHEADER
740 AUTOMAKE
741 AUTOCONF
742 ACLOCAL
743 VERSION
744 PACKAGE
745 CYGPATH_W
746 am__isrc
747 INSTALL_DATA
748 INSTALL_SCRIPT
749 INSTALL_PROGRAM
750 target_alias
751 host_alias
752 build_alias
753 LIBS
754 ECHO_T
755 ECHO_N
756 ECHO_C
757 DEFS
758 mandir
759 localedir
760 libdir
761 psdir
762 pdfdir
763 dvidir
764 htmldir
765 infodir
766 docdir
767 oldincludedir
768 includedir
769 localstatedir
770 sharedstatedir
771 sysconfdir
772 datadir
773 datarootdir
774 libexecdir
775 sbindir
776 bindir
777 program_transform_name
778 prefix
779 exec_prefix
780 PACKAGE_URL
781 PACKAGE_BUGREPORT
782 PACKAGE_STRING
783 PACKAGE_VERSION
784 PACKAGE_TARNAME
785 PACKAGE_NAME
786 PATH_SEPARATOR
787 SHELL'
788 ac_subst_files=''
789 ac_user_opts='
790 enable_option_checking
791 enable_silent_rules
792 enable_static
793 enable_shared
794 with_pic
795 enable_fast_install
796 enable_dependency_tracking
797 with_gnu_ld
798 with_sysroot
799 enable_libtool_lock
800 with_systemdsystemunitdir
801 with_user
802 with_local_iniparser
803 with_module_dir
804 with_config_path
805 with_db_path
806 with_socket_path
807 with_smack_load_file
808 with_smack_permissive
809 enable_debug
810 enable_manpages
811 enable_coverage
812 enable_demos
813 enable_gtk_demo
814 '
815       ac_precious_vars='build_alias
816 host_alias
817 target_alias
818 CC
819 CFLAGS
820 LDFLAGS
821 LIBS
822 CPPFLAGS
823 CPP
824 PKG_CONFIG
825 PKG_CONFIG_PATH
826 PKG_CONFIG_LIBDIR
827 CHECK_CFLAGS
828 CHECK_LIBS
829 SYSTEMD_CFLAGS
830 SYSTEMD_LIBS
831 INIPARSER_CFLAGS
832 INIPARSER_LIBS
833 GTK3_CFLAGS
834 GTK3_LIBS'
835
836
837 # Initialize some variables set by options.
838 ac_init_help=
839 ac_init_version=false
840 ac_unrecognized_opts=
841 ac_unrecognized_sep=
842 # The variables have the same names as the options, with
843 # dashes changed to underlines.
844 cache_file=/dev/null
845 exec_prefix=NONE
846 no_create=
847 no_recursion=
848 prefix=NONE
849 program_prefix=NONE
850 program_suffix=NONE
851 program_transform_name=s,x,x,
852 silent=
853 site=
854 srcdir=
855 verbose=
856 x_includes=NONE
857 x_libraries=NONE
858
859 # Installation directory options.
860 # These are left unexpanded so users can "make install exec_prefix=/foo"
861 # and all the variables that are supposed to be based on exec_prefix
862 # by default will actually change.
863 # Use braces instead of parens because sh, perl, etc. also accept them.
864 # (The list follows the same order as the GNU Coding Standards.)
865 bindir='${exec_prefix}/bin'
866 sbindir='${exec_prefix}/sbin'
867 libexecdir='${exec_prefix}/libexec'
868 datarootdir='${prefix}/share'
869 datadir='${datarootdir}'
870 sysconfdir='${prefix}/etc'
871 sharedstatedir='${prefix}/com'
872 localstatedir='${prefix}/var'
873 includedir='${prefix}/include'
874 oldincludedir='/usr/include'
875 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
876 infodir='${datarootdir}/info'
877 htmldir='${docdir}'
878 dvidir='${docdir}'
879 pdfdir='${docdir}'
880 psdir='${docdir}'
881 libdir='${exec_prefix}/lib'
882 localedir='${datarootdir}/locale'
883 mandir='${datarootdir}/man'
884
885 ac_prev=
886 ac_dashdash=
887 for ac_option
888 do
889   # If the previous option needs an argument, assign it.
890   if test -n "$ac_prev"; then
891     eval $ac_prev=\$ac_option
892     ac_prev=
893     continue
894   fi
895
896   case $ac_option in
897   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
898   *=)   ac_optarg= ;;
899   *)    ac_optarg=yes ;;
900   esac
901
902   # Accept the important Cygnus configure options, so we can diagnose typos.
903
904   case $ac_dashdash$ac_option in
905   --)
906     ac_dashdash=yes ;;
907
908   -bindir | --bindir | --bindi | --bind | --bin | --bi)
909     ac_prev=bindir ;;
910   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
911     bindir=$ac_optarg ;;
912
913   -build | --build | --buil | --bui | --bu)
914     ac_prev=build_alias ;;
915   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
916     build_alias=$ac_optarg ;;
917
918   -cache-file | --cache-file | --cache-fil | --cache-fi \
919   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
920     ac_prev=cache_file ;;
921   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
922   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
923     cache_file=$ac_optarg ;;
924
925   --config-cache | -C)
926     cache_file=config.cache ;;
927
928   -datadir | --datadir | --datadi | --datad)
929     ac_prev=datadir ;;
930   -datadir=* | --datadir=* | --datadi=* | --datad=*)
931     datadir=$ac_optarg ;;
932
933   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
934   | --dataroo | --dataro | --datar)
935     ac_prev=datarootdir ;;
936   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
937   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
938     datarootdir=$ac_optarg ;;
939
940   -disable-* | --disable-*)
941     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
942     # Reject names that are not valid shell variable names.
943     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
944       as_fn_error $? "invalid feature name: $ac_useropt"
945     ac_useropt_orig=$ac_useropt
946     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
947     case $ac_user_opts in
948       *"
949 "enable_$ac_useropt"
950 "*) ;;
951       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
952          ac_unrecognized_sep=', ';;
953     esac
954     eval enable_$ac_useropt=no ;;
955
956   -docdir | --docdir | --docdi | --doc | --do)
957     ac_prev=docdir ;;
958   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
959     docdir=$ac_optarg ;;
960
961   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
962     ac_prev=dvidir ;;
963   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
964     dvidir=$ac_optarg ;;
965
966   -enable-* | --enable-*)
967     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
968     # Reject names that are not valid shell variable names.
969     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
970       as_fn_error $? "invalid feature name: $ac_useropt"
971     ac_useropt_orig=$ac_useropt
972     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
973     case $ac_user_opts in
974       *"
975 "enable_$ac_useropt"
976 "*) ;;
977       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
978          ac_unrecognized_sep=', ';;
979     esac
980     eval enable_$ac_useropt=\$ac_optarg ;;
981
982   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
983   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
984   | --exec | --exe | --ex)
985     ac_prev=exec_prefix ;;
986   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
987   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
988   | --exec=* | --exe=* | --ex=*)
989     exec_prefix=$ac_optarg ;;
990
991   -gas | --gas | --ga | --g)
992     # Obsolete; use --with-gas.
993     with_gas=yes ;;
994
995   -help | --help | --hel | --he | -h)
996     ac_init_help=long ;;
997   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
998     ac_init_help=recursive ;;
999   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1000     ac_init_help=short ;;
1001
1002   -host | --host | --hos | --ho)
1003     ac_prev=host_alias ;;
1004   -host=* | --host=* | --hos=* | --ho=*)
1005     host_alias=$ac_optarg ;;
1006
1007   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1008     ac_prev=htmldir ;;
1009   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1010   | --ht=*)
1011     htmldir=$ac_optarg ;;
1012
1013   -includedir | --includedir | --includedi | --included | --include \
1014   | --includ | --inclu | --incl | --inc)
1015     ac_prev=includedir ;;
1016   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1017   | --includ=* | --inclu=* | --incl=* | --inc=*)
1018     includedir=$ac_optarg ;;
1019
1020   -infodir | --infodir | --infodi | --infod | --info | --inf)
1021     ac_prev=infodir ;;
1022   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1023     infodir=$ac_optarg ;;
1024
1025   -libdir | --libdir | --libdi | --libd)
1026     ac_prev=libdir ;;
1027   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1028     libdir=$ac_optarg ;;
1029
1030   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1031   | --libexe | --libex | --libe)
1032     ac_prev=libexecdir ;;
1033   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1034   | --libexe=* | --libex=* | --libe=*)
1035     libexecdir=$ac_optarg ;;
1036
1037   -localedir | --localedir | --localedi | --localed | --locale)
1038     ac_prev=localedir ;;
1039   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1040     localedir=$ac_optarg ;;
1041
1042   -localstatedir | --localstatedir | --localstatedi | --localstated \
1043   | --localstate | --localstat | --localsta | --localst | --locals)
1044     ac_prev=localstatedir ;;
1045   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1046   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1047     localstatedir=$ac_optarg ;;
1048
1049   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1050     ac_prev=mandir ;;
1051   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1052     mandir=$ac_optarg ;;
1053
1054   -nfp | --nfp | --nf)
1055     # Obsolete; use --without-fp.
1056     with_fp=no ;;
1057
1058   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1059   | --no-cr | --no-c | -n)
1060     no_create=yes ;;
1061
1062   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1063   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1064     no_recursion=yes ;;
1065
1066   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1067   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1068   | --oldin | --oldi | --old | --ol | --o)
1069     ac_prev=oldincludedir ;;
1070   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1071   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1072   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1073     oldincludedir=$ac_optarg ;;
1074
1075   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1076     ac_prev=prefix ;;
1077   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1078     prefix=$ac_optarg ;;
1079
1080   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1081   | --program-pre | --program-pr | --program-p)
1082     ac_prev=program_prefix ;;
1083   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1084   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1085     program_prefix=$ac_optarg ;;
1086
1087   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1088   | --program-suf | --program-su | --program-s)
1089     ac_prev=program_suffix ;;
1090   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1091   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1092     program_suffix=$ac_optarg ;;
1093
1094   -program-transform-name | --program-transform-name \
1095   | --program-transform-nam | --program-transform-na \
1096   | --program-transform-n | --program-transform- \
1097   | --program-transform | --program-transfor \
1098   | --program-transfo | --program-transf \
1099   | --program-trans | --program-tran \
1100   | --progr-tra | --program-tr | --program-t)
1101     ac_prev=program_transform_name ;;
1102   -program-transform-name=* | --program-transform-name=* \
1103   | --program-transform-nam=* | --program-transform-na=* \
1104   | --program-transform-n=* | --program-transform-=* \
1105   | --program-transform=* | --program-transfor=* \
1106   | --program-transfo=* | --program-transf=* \
1107   | --program-trans=* | --program-tran=* \
1108   | --progr-tra=* | --program-tr=* | --program-t=*)
1109     program_transform_name=$ac_optarg ;;
1110
1111   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1112     ac_prev=pdfdir ;;
1113   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1114     pdfdir=$ac_optarg ;;
1115
1116   -psdir | --psdir | --psdi | --psd | --ps)
1117     ac_prev=psdir ;;
1118   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1119     psdir=$ac_optarg ;;
1120
1121   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1122   | -silent | --silent | --silen | --sile | --sil)
1123     silent=yes ;;
1124
1125   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1126     ac_prev=sbindir ;;
1127   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1128   | --sbi=* | --sb=*)
1129     sbindir=$ac_optarg ;;
1130
1131   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1132   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1133   | --sharedst | --shareds | --shared | --share | --shar \
1134   | --sha | --sh)
1135     ac_prev=sharedstatedir ;;
1136   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1137   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1138   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1139   | --sha=* | --sh=*)
1140     sharedstatedir=$ac_optarg ;;
1141
1142   -site | --site | --sit)
1143     ac_prev=site ;;
1144   -site=* | --site=* | --sit=*)
1145     site=$ac_optarg ;;
1146
1147   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1148     ac_prev=srcdir ;;
1149   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1150     srcdir=$ac_optarg ;;
1151
1152   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1153   | --syscon | --sysco | --sysc | --sys | --sy)
1154     ac_prev=sysconfdir ;;
1155   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1156   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1157     sysconfdir=$ac_optarg ;;
1158
1159   -target | --target | --targe | --targ | --tar | --ta | --t)
1160     ac_prev=target_alias ;;
1161   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1162     target_alias=$ac_optarg ;;
1163
1164   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1165     verbose=yes ;;
1166
1167   -version | --version | --versio | --versi | --vers | -V)
1168     ac_init_version=: ;;
1169
1170   -with-* | --with-*)
1171     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1172     # Reject names that are not valid shell variable names.
1173     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1174       as_fn_error $? "invalid package name: $ac_useropt"
1175     ac_useropt_orig=$ac_useropt
1176     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1177     case $ac_user_opts in
1178       *"
1179 "with_$ac_useropt"
1180 "*) ;;
1181       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1182          ac_unrecognized_sep=', ';;
1183     esac
1184     eval with_$ac_useropt=\$ac_optarg ;;
1185
1186   -without-* | --without-*)
1187     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1188     # Reject names that are not valid shell variable names.
1189     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1190       as_fn_error $? "invalid package name: $ac_useropt"
1191     ac_useropt_orig=$ac_useropt
1192     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1193     case $ac_user_opts in
1194       *"
1195 "with_$ac_useropt"
1196 "*) ;;
1197       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1198          ac_unrecognized_sep=', ';;
1199     esac
1200     eval with_$ac_useropt=no ;;
1201
1202   --x)
1203     # Obsolete; use --with-x.
1204     with_x=yes ;;
1205
1206   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1207   | --x-incl | --x-inc | --x-in | --x-i)
1208     ac_prev=x_includes ;;
1209   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1210   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1211     x_includes=$ac_optarg ;;
1212
1213   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1214   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1215     ac_prev=x_libraries ;;
1216   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1217   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1218     x_libraries=$ac_optarg ;;
1219
1220   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1221 Try \`$0 --help' for more information"
1222     ;;
1223
1224   *=*)
1225     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1226     # Reject names that are not valid shell variable names.
1227     case $ac_envvar in #(
1228       '' | [0-9]* | *[!_$as_cr_alnum]* )
1229       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1230     esac
1231     eval $ac_envvar=\$ac_optarg
1232     export $ac_envvar ;;
1233
1234   *)
1235     # FIXME: should be removed in autoconf 3.0.
1236     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1237     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1238       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1239     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1240     ;;
1241
1242   esac
1243 done
1244
1245 if test -n "$ac_prev"; then
1246   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1247   as_fn_error $? "missing argument to $ac_option"
1248 fi
1249
1250 if test -n "$ac_unrecognized_opts"; then
1251   case $enable_option_checking in
1252     no) ;;
1253     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1254     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1255   esac
1256 fi
1257
1258 # Check all directory arguments for consistency.
1259 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1260                 datadir sysconfdir sharedstatedir localstatedir includedir \
1261                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1262                 libdir localedir mandir
1263 do
1264   eval ac_val=\$$ac_var
1265   # Remove trailing slashes.
1266   case $ac_val in
1267     */ )
1268       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1269       eval $ac_var=\$ac_val;;
1270   esac
1271   # Be sure to have absolute directory names.
1272   case $ac_val in
1273     [\\/$]* | ?:[\\/]* )  continue;;
1274     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1275   esac
1276   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1277 done
1278
1279 # There might be people who depend on the old broken behavior: `$host'
1280 # used to hold the argument of --host etc.
1281 # FIXME: To remove some day.
1282 build=$build_alias
1283 host=$host_alias
1284 target=$target_alias
1285
1286 # FIXME: To remove some day.
1287 if test "x$host_alias" != x; then
1288   if test "x$build_alias" = x; then
1289     cross_compiling=maybe
1290   elif test "x$build_alias" != "x$host_alias"; then
1291     cross_compiling=yes
1292   fi
1293 fi
1294
1295 ac_tool_prefix=
1296 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1297
1298 test "$silent" = yes && exec 6>/dev/null
1299
1300
1301 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1302 ac_ls_di=`ls -di .` &&
1303 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1304   as_fn_error $? "working directory cannot be determined"
1305 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1306   as_fn_error $? "pwd does not report name of working directory"
1307
1308
1309 # Find the source files, if location was not specified.
1310 if test -z "$srcdir"; then
1311   ac_srcdir_defaulted=yes
1312   # Try the directory containing this script, then the parent directory.
1313   ac_confdir=`$as_dirname -- "$as_myself" ||
1314 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1315          X"$as_myself" : 'X\(//\)[^/]' \| \
1316          X"$as_myself" : 'X\(//\)$' \| \
1317          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1318 $as_echo X"$as_myself" |
1319     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1320             s//\1/
1321             q
1322           }
1323           /^X\(\/\/\)[^/].*/{
1324             s//\1/
1325             q
1326           }
1327           /^X\(\/\/\)$/{
1328             s//\1/
1329             q
1330           }
1331           /^X\(\/\).*/{
1332             s//\1/
1333             q
1334           }
1335           s/.*/./; q'`
1336   srcdir=$ac_confdir
1337   if test ! -r "$srcdir/$ac_unique_file"; then
1338     srcdir=..
1339   fi
1340 else
1341   ac_srcdir_defaulted=no
1342 fi
1343 if test ! -r "$srcdir/$ac_unique_file"; then
1344   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1345   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1346 fi
1347 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1348 ac_abs_confdir=`(
1349         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1350         pwd)`
1351 # When building in place, set srcdir=.
1352 if test "$ac_abs_confdir" = "$ac_pwd"; then
1353   srcdir=.
1354 fi
1355 # Remove unnecessary trailing slashes from srcdir.
1356 # Double slashes in file names in object file debugging info
1357 # mess up M-x gdb in Emacs.
1358 case $srcdir in
1359 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1360 esac
1361 for ac_var in $ac_precious_vars; do
1362   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1363   eval ac_env_${ac_var}_value=\$${ac_var}
1364   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1365   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1366 done
1367
1368 #
1369 # Report the --help message.
1370 #
1371 if test "$ac_init_help" = "long"; then
1372   # Omit some internal or obsolete options to make the list less imposing.
1373   # This message is too long to be a string in the A/UX 3.1 sh.
1374   cat <<_ACEOF
1375 \`configure' configures buxton 5 to adapt to many kinds of systems.
1376
1377 Usage: $0 [OPTION]... [VAR=VALUE]...
1378
1379 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1380 VAR=VALUE.  See below for descriptions of some of the useful variables.
1381
1382 Defaults for the options are specified in brackets.
1383
1384 Configuration:
1385   -h, --help              display this help and exit
1386       --help=short        display options specific to this package
1387       --help=recursive    display the short help of all the included packages
1388   -V, --version           display version information and exit
1389   -q, --quiet, --silent   do not print \`checking ...' messages
1390       --cache-file=FILE   cache test results in FILE [disabled]
1391   -C, --config-cache      alias for \`--cache-file=config.cache'
1392   -n, --no-create         do not create output files
1393       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1394
1395 Installation directories:
1396   --prefix=PREFIX         install architecture-independent files in PREFIX
1397                           [$ac_default_prefix]
1398   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1399                           [PREFIX]
1400
1401 By default, \`make install' will install all the files in
1402 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1403 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1404 for instance \`--prefix=\$HOME'.
1405
1406 For better control, use the options below.
1407
1408 Fine tuning of the installation directories:
1409   --bindir=DIR            user executables [EPREFIX/bin]
1410   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1411   --libexecdir=DIR        program executables [EPREFIX/libexec]
1412   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1413   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1414   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1415   --libdir=DIR            object code libraries [EPREFIX/lib]
1416   --includedir=DIR        C header files [PREFIX/include]
1417   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1418   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1419   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1420   --infodir=DIR           info documentation [DATAROOTDIR/info]
1421   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1422   --mandir=DIR            man documentation [DATAROOTDIR/man]
1423   --docdir=DIR            documentation root [DATAROOTDIR/doc/buxton]
1424   --htmldir=DIR           html documentation [DOCDIR]
1425   --dvidir=DIR            dvi documentation [DOCDIR]
1426   --pdfdir=DIR            pdf documentation [DOCDIR]
1427   --psdir=DIR             ps documentation [DOCDIR]
1428 _ACEOF
1429
1430   cat <<\_ACEOF
1431
1432 Program names:
1433   --program-prefix=PREFIX            prepend PREFIX to installed program names
1434   --program-suffix=SUFFIX            append SUFFIX to installed program names
1435   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1436
1437 System types:
1438   --build=BUILD     configure for building on BUILD [guessed]
1439   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1440 _ACEOF
1441 fi
1442
1443 if test -n "$ac_init_help"; then
1444   case $ac_init_help in
1445      short | recursive ) echo "Configuration of buxton 5:";;
1446    esac
1447   cat <<\_ACEOF
1448
1449 Optional Features:
1450   --disable-option-checking  ignore unrecognized --enable/--with options
1451   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1452   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1453   --enable-silent-rules   less verbose build output (undo: "make V=1")
1454   --disable-silent-rules  verbose build output (undo: "make V=0")
1455   --enable-static[=PKGS]  build static libraries [default=no]
1456   --enable-shared[=PKGS]  build shared libraries [default=yes]
1457   --enable-fast-install[=PKGS]
1458                           optimize for fast installation [default=yes]
1459   --enable-dependency-tracking
1460                           do not reject slow dependency extractors
1461   --disable-dependency-tracking
1462                           speeds up one-time build
1463   --disable-libtool-lock  avoid locking (might break parallel builds)
1464   --enable-debug          enable debug mode [default=no]
1465   --enable-manpages       enable man pages [default=yes]
1466   --enable-coverage       enable test coverage
1467   --enable-demos          enable demos [default=no]
1468   --enable-gtk-demo       enable demos [default=no]
1469
1470 Optional Packages:
1471   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1472   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1473   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1474                           both]
1475   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1476   --with-sysroot=DIR Search for dependent libraries within DIR
1477                         (or the compiler's sysroot if not specified).
1478   --with-systemdsystemunitdir=DIR
1479                           path to systemd system service directory
1480   --with-user=USER        user to run buxton as
1481   --with-local-iniparserdefault=yes
1482                           Use built-in iniparser for config parsing
1483   --with-module-dir=MODULEDIR
1484                           path to buxton modules
1485   --with-config-path=CONFPATH
1486                           path to buxton configuration file
1487   --with-db-path=DBPATH   path to buxton db files
1488   --with-socket-path=SOCKETPATH
1489                           path to buxton socket file
1490   --with-smack-load-file=SMACKLOADFILE
1491                           path to smack load2 file
1492   --with-smack-permissive=SMACKPERMISSIVE
1493                           path to smack permissive file
1494
1495 Some influential environment variables:
1496   CC          C compiler command
1497   CFLAGS      C compiler flags
1498   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1499               nonstandard directory <lib dir>
1500   LIBS        libraries to pass to the linker, e.g. -l<library>
1501   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1502               you have headers in a nonstandard directory <include dir>
1503   CPP         C preprocessor
1504   PKG_CONFIG  path to pkg-config utility
1505   PKG_CONFIG_PATH
1506               directories to add to pkg-config's search path
1507   PKG_CONFIG_LIBDIR
1508               path overriding pkg-config's built-in search path
1509   CHECK_CFLAGS
1510               C compiler flags for CHECK, overriding pkg-config
1511   CHECK_LIBS  linker flags for CHECK, overriding pkg-config
1512   SYSTEMD_CFLAGS
1513               C compiler flags for SYSTEMD, overriding pkg-config
1514   SYSTEMD_LIBS
1515               linker flags for SYSTEMD, overriding pkg-config
1516   INIPARSER_CFLAGS
1517               C compiler flags for INIPARSER, overriding pkg-config
1518   INIPARSER_LIBS
1519               linker flags for INIPARSER, overriding pkg-config
1520   GTK3_CFLAGS C compiler flags for GTK3, overriding pkg-config
1521   GTK3_LIBS   linker flags for GTK3, overriding pkg-config
1522
1523 Use these variables to override the choices made by `configure' or to help
1524 it to find libraries and programs with nonstandard names/locations.
1525
1526 Report bugs to <william.douglas@intel.com>.
1527 buxton home page: <https://github.com/sofar/buxton>.
1528 _ACEOF
1529 ac_status=$?
1530 fi
1531
1532 if test "$ac_init_help" = "recursive"; then
1533   # If there are subdirs, report their specific --help.
1534   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1535     test -d "$ac_dir" ||
1536       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1537       continue
1538     ac_builddir=.
1539
1540 case "$ac_dir" in
1541 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1542 *)
1543   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1544   # A ".." for each directory in $ac_dir_suffix.
1545   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1546   case $ac_top_builddir_sub in
1547   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1548   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1549   esac ;;
1550 esac
1551 ac_abs_top_builddir=$ac_pwd
1552 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1553 # for backward compatibility:
1554 ac_top_builddir=$ac_top_build_prefix
1555
1556 case $srcdir in
1557   .)  # We are building in place.
1558     ac_srcdir=.
1559     ac_top_srcdir=$ac_top_builddir_sub
1560     ac_abs_top_srcdir=$ac_pwd ;;
1561   [\\/]* | ?:[\\/]* )  # Absolute name.
1562     ac_srcdir=$srcdir$ac_dir_suffix;
1563     ac_top_srcdir=$srcdir
1564     ac_abs_top_srcdir=$srcdir ;;
1565   *) # Relative name.
1566     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1567     ac_top_srcdir=$ac_top_build_prefix$srcdir
1568     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1569 esac
1570 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1571
1572     cd "$ac_dir" || { ac_status=$?; continue; }
1573     # Check for guested configure.
1574     if test -f "$ac_srcdir/configure.gnu"; then
1575       echo &&
1576       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1577     elif test -f "$ac_srcdir/configure"; then
1578       echo &&
1579       $SHELL "$ac_srcdir/configure" --help=recursive
1580     else
1581       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1582     fi || ac_status=$?
1583     cd "$ac_pwd" || { ac_status=$?; break; }
1584   done
1585 fi
1586
1587 test -n "$ac_init_help" && exit $ac_status
1588 if $ac_init_version; then
1589   cat <<\_ACEOF
1590 buxton configure 5
1591 generated by GNU Autoconf 2.69
1592
1593 Copyright (C) 2012 Free Software Foundation, Inc.
1594 This configure script is free software; the Free Software Foundation
1595 gives unlimited permission to copy, distribute and modify it.
1596 _ACEOF
1597   exit
1598 fi
1599
1600 ## ------------------------ ##
1601 ## Autoconf initialization. ##
1602 ## ------------------------ ##
1603
1604 # ac_fn_c_try_compile LINENO
1605 # --------------------------
1606 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1607 ac_fn_c_try_compile ()
1608 {
1609   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1610   rm -f conftest.$ac_objext
1611   if { { ac_try="$ac_compile"
1612 case "(($ac_try" in
1613   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1614   *) ac_try_echo=$ac_try;;
1615 esac
1616 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1617 $as_echo "$ac_try_echo"; } >&5
1618   (eval "$ac_compile") 2>conftest.err
1619   ac_status=$?
1620   if test -s conftest.err; then
1621     grep -v '^ *+' conftest.err >conftest.er1
1622     cat conftest.er1 >&5
1623     mv -f conftest.er1 conftest.err
1624   fi
1625   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1626   test $ac_status = 0; } && {
1627          test -z "$ac_c_werror_flag" ||
1628          test ! -s conftest.err
1629        } && test -s conftest.$ac_objext; then :
1630   ac_retval=0
1631 else
1632   $as_echo "$as_me: failed program was:" >&5
1633 sed 's/^/| /' conftest.$ac_ext >&5
1634
1635         ac_retval=1
1636 fi
1637   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1638   as_fn_set_status $ac_retval
1639
1640 } # ac_fn_c_try_compile
1641
1642 # ac_fn_c_try_link LINENO
1643 # -----------------------
1644 # Try to link conftest.$ac_ext, and return whether this succeeded.
1645 ac_fn_c_try_link ()
1646 {
1647   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1648   rm -f conftest.$ac_objext conftest$ac_exeext
1649   if { { ac_try="$ac_link"
1650 case "(($ac_try" in
1651   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1652   *) ac_try_echo=$ac_try;;
1653 esac
1654 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1655 $as_echo "$ac_try_echo"; } >&5
1656   (eval "$ac_link") 2>conftest.err
1657   ac_status=$?
1658   if test -s conftest.err; then
1659     grep -v '^ *+' conftest.err >conftest.er1
1660     cat conftest.er1 >&5
1661     mv -f conftest.er1 conftest.err
1662   fi
1663   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1664   test $ac_status = 0; } && {
1665          test -z "$ac_c_werror_flag" ||
1666          test ! -s conftest.err
1667        } && test -s conftest$ac_exeext && {
1668          test "$cross_compiling" = yes ||
1669          test -x conftest$ac_exeext
1670        }; then :
1671   ac_retval=0
1672 else
1673   $as_echo "$as_me: failed program was:" >&5
1674 sed 's/^/| /' conftest.$ac_ext >&5
1675
1676         ac_retval=1
1677 fi
1678   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1679   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1680   # interfere with the next link command; also delete a directory that is
1681   # left behind by Apple's compiler.  We do this before executing the actions.
1682   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1683   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1684   as_fn_set_status $ac_retval
1685
1686 } # ac_fn_c_try_link
1687
1688 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1689 # -------------------------------------------------------
1690 # Tests whether HEADER exists and can be compiled using the include files in
1691 # INCLUDES, setting the cache variable VAR accordingly.
1692 ac_fn_c_check_header_compile ()
1693 {
1694   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1695   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1696 $as_echo_n "checking for $2... " >&6; }
1697 if eval \${$3+:} false; then :
1698   $as_echo_n "(cached) " >&6
1699 else
1700   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1701 /* end confdefs.h.  */
1702 $4
1703 #include <$2>
1704 _ACEOF
1705 if ac_fn_c_try_compile "$LINENO"; then :
1706   eval "$3=yes"
1707 else
1708   eval "$3=no"
1709 fi
1710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1711 fi
1712 eval ac_res=\$$3
1713                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1714 $as_echo "$ac_res" >&6; }
1715   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1716
1717 } # ac_fn_c_check_header_compile
1718
1719 # ac_fn_c_try_cpp LINENO
1720 # ----------------------
1721 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1722 ac_fn_c_try_cpp ()
1723 {
1724   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1725   if { { ac_try="$ac_cpp conftest.$ac_ext"
1726 case "(($ac_try" in
1727   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1728   *) ac_try_echo=$ac_try;;
1729 esac
1730 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1731 $as_echo "$ac_try_echo"; } >&5
1732   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1733   ac_status=$?
1734   if test -s conftest.err; then
1735     grep -v '^ *+' conftest.err >conftest.er1
1736     cat conftest.er1 >&5
1737     mv -f conftest.er1 conftest.err
1738   fi
1739   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1740   test $ac_status = 0; } > conftest.i && {
1741          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1742          test ! -s conftest.err
1743        }; then :
1744   ac_retval=0
1745 else
1746   $as_echo "$as_me: failed program was:" >&5
1747 sed 's/^/| /' conftest.$ac_ext >&5
1748
1749     ac_retval=1
1750 fi
1751   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1752   as_fn_set_status $ac_retval
1753
1754 } # ac_fn_c_try_cpp
1755
1756 # ac_fn_c_try_run LINENO
1757 # ----------------------
1758 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1759 # that executables *can* be run.
1760 ac_fn_c_try_run ()
1761 {
1762   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1763   if { { ac_try="$ac_link"
1764 case "(($ac_try" in
1765   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1766   *) ac_try_echo=$ac_try;;
1767 esac
1768 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1769 $as_echo "$ac_try_echo"; } >&5
1770   (eval "$ac_link") 2>&5
1771   ac_status=$?
1772   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1773   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1774   { { case "(($ac_try" in
1775   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1776   *) ac_try_echo=$ac_try;;
1777 esac
1778 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1779 $as_echo "$ac_try_echo"; } >&5
1780   (eval "$ac_try") 2>&5
1781   ac_status=$?
1782   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1783   test $ac_status = 0; }; }; then :
1784   ac_retval=0
1785 else
1786   $as_echo "$as_me: program exited with status $ac_status" >&5
1787        $as_echo "$as_me: failed program was:" >&5
1788 sed 's/^/| /' conftest.$ac_ext >&5
1789
1790        ac_retval=$ac_status
1791 fi
1792   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1793   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1794   as_fn_set_status $ac_retval
1795
1796 } # ac_fn_c_try_run
1797
1798 # ac_fn_c_check_func LINENO FUNC VAR
1799 # ----------------------------------
1800 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1801 ac_fn_c_check_func ()
1802 {
1803   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1804   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1805 $as_echo_n "checking for $2... " >&6; }
1806 if eval \${$3+:} false; then :
1807   $as_echo_n "(cached) " >&6
1808 else
1809   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1810 /* end confdefs.h.  */
1811 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1812    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1813 #define $2 innocuous_$2
1814
1815 /* System header to define __stub macros and hopefully few prototypes,
1816     which can conflict with char $2 (); below.
1817     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1818     <limits.h> exists even on freestanding compilers.  */
1819
1820 #ifdef __STDC__
1821 # include <limits.h>
1822 #else
1823 # include <assert.h>
1824 #endif
1825
1826 #undef $2
1827
1828 /* Override any GCC internal prototype to avoid an error.
1829    Use char because int might match the return type of a GCC
1830    builtin and then its argument prototype would still apply.  */
1831 #ifdef __cplusplus
1832 extern "C"
1833 #endif
1834 char $2 ();
1835 /* The GNU C library defines this for functions which it implements
1836     to always fail with ENOSYS.  Some functions are actually named
1837     something starting with __ and the normal name is an alias.  */
1838 #if defined __stub_$2 || defined __stub___$2
1839 choke me
1840 #endif
1841
1842 int
1843 main ()
1844 {
1845 return $2 ();
1846   ;
1847   return 0;
1848 }
1849 _ACEOF
1850 if ac_fn_c_try_link "$LINENO"; then :
1851   eval "$3=yes"
1852 else
1853   eval "$3=no"
1854 fi
1855 rm -f core conftest.err conftest.$ac_objext \
1856     conftest$ac_exeext conftest.$ac_ext
1857 fi
1858 eval ac_res=\$$3
1859                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1860 $as_echo "$ac_res" >&6; }
1861   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1862
1863 } # ac_fn_c_check_func
1864
1865 # ac_fn_c_find_intX_t LINENO BITS VAR
1866 # -----------------------------------
1867 # Finds a signed integer type with width BITS, setting cache variable VAR
1868 # accordingly.
1869 ac_fn_c_find_intX_t ()
1870 {
1871   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1872   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
1873 $as_echo_n "checking for int$2_t... " >&6; }
1874 if eval \${$3+:} false; then :
1875   $as_echo_n "(cached) " >&6
1876 else
1877   eval "$3=no"
1878      # Order is important - never check a type that is potentially smaller
1879      # than half of the expected target width.
1880      for ac_type in int$2_t 'int' 'long int' \
1881          'long long int' 'short int' 'signed char'; do
1882        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1883 /* end confdefs.h.  */
1884 $ac_includes_default
1885              enum { N = $2 / 2 - 1 };
1886 int
1887 main ()
1888 {
1889 static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
1890 test_array [0] = 0;
1891 return test_array [0];
1892
1893   ;
1894   return 0;
1895 }
1896 _ACEOF
1897 if ac_fn_c_try_compile "$LINENO"; then :
1898   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1899 /* end confdefs.h.  */
1900 $ac_includes_default
1901                 enum { N = $2 / 2 - 1 };
1902 int
1903 main ()
1904 {
1905 static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
1906                  < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
1907 test_array [0] = 0;
1908 return test_array [0];
1909
1910   ;
1911   return 0;
1912 }
1913 _ACEOF
1914 if ac_fn_c_try_compile "$LINENO"; then :
1915
1916 else
1917   case $ac_type in #(
1918   int$2_t) :
1919     eval "$3=yes" ;; #(
1920   *) :
1921     eval "$3=\$ac_type" ;;
1922 esac
1923 fi
1924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1925 fi
1926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1927        if eval test \"x\$"$3"\" = x"no"; then :
1928
1929 else
1930   break
1931 fi
1932      done
1933 fi
1934 eval ac_res=\$$3
1935                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1936 $as_echo "$ac_res" >&6; }
1937   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1938
1939 } # ac_fn_c_find_intX_t
1940
1941 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1942 # -------------------------------------------
1943 # Tests whether TYPE exists after having included INCLUDES, setting cache
1944 # variable VAR accordingly.
1945 ac_fn_c_check_type ()
1946 {
1947   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1948   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1949 $as_echo_n "checking for $2... " >&6; }
1950 if eval \${$3+:} false; then :
1951   $as_echo_n "(cached) " >&6
1952 else
1953   eval "$3=no"
1954   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1955 /* end confdefs.h.  */
1956 $4
1957 int
1958 main ()
1959 {
1960 if (sizeof ($2))
1961          return 0;
1962   ;
1963   return 0;
1964 }
1965 _ACEOF
1966 if ac_fn_c_try_compile "$LINENO"; then :
1967   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1968 /* end confdefs.h.  */
1969 $4
1970 int
1971 main ()
1972 {
1973 if (sizeof (($2)))
1974             return 0;
1975   ;
1976   return 0;
1977 }
1978 _ACEOF
1979 if ac_fn_c_try_compile "$LINENO"; then :
1980
1981 else
1982   eval "$3=yes"
1983 fi
1984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1985 fi
1986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1987 fi
1988 eval ac_res=\$$3
1989                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1990 $as_echo "$ac_res" >&6; }
1991   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1992
1993 } # ac_fn_c_check_type
1994
1995 # ac_fn_c_find_uintX_t LINENO BITS VAR
1996 # ------------------------------------
1997 # Finds an unsigned integer type with width BITS, setting cache variable VAR
1998 # accordingly.
1999 ac_fn_c_find_uintX_t ()
2000 {
2001   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2002   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
2003 $as_echo_n "checking for uint$2_t... " >&6; }
2004 if eval \${$3+:} false; then :
2005   $as_echo_n "(cached) " >&6
2006 else
2007   eval "$3=no"
2008      # Order is important - never check a type that is potentially smaller
2009      # than half of the expected target width.
2010      for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
2011          'unsigned long long int' 'unsigned short int' 'unsigned char'; do
2012        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2013 /* end confdefs.h.  */
2014 $ac_includes_default
2015 int
2016 main ()
2017 {
2018 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
2019 test_array [0] = 0;
2020 return test_array [0];
2021
2022   ;
2023   return 0;
2024 }
2025 _ACEOF
2026 if ac_fn_c_try_compile "$LINENO"; then :
2027   case $ac_type in #(
2028   uint$2_t) :
2029     eval "$3=yes" ;; #(
2030   *) :
2031     eval "$3=\$ac_type" ;;
2032 esac
2033 fi
2034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2035        if eval test \"x\$"$3"\" = x"no"; then :
2036
2037 else
2038   break
2039 fi
2040      done
2041 fi
2042 eval ac_res=\$$3
2043                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2044 $as_echo "$ac_res" >&6; }
2045   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2046
2047 } # ac_fn_c_find_uintX_t
2048
2049 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2050 # -------------------------------------------------------
2051 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2052 # the include files in INCLUDES and setting the cache variable VAR
2053 # accordingly.
2054 ac_fn_c_check_header_mongrel ()
2055 {
2056   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2057   if eval \${$3+:} false; then :
2058   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2059 $as_echo_n "checking for $2... " >&6; }
2060 if eval \${$3+:} false; then :
2061   $as_echo_n "(cached) " >&6
2062 fi
2063 eval ac_res=\$$3
2064                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2065 $as_echo "$ac_res" >&6; }
2066 else
2067   # Is the header compilable?
2068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2069 $as_echo_n "checking $2 usability... " >&6; }
2070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2071 /* end confdefs.h.  */
2072 $4
2073 #include <$2>
2074 _ACEOF
2075 if ac_fn_c_try_compile "$LINENO"; then :
2076   ac_header_compiler=yes
2077 else
2078   ac_header_compiler=no
2079 fi
2080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2082 $as_echo "$ac_header_compiler" >&6; }
2083
2084 # Is the header present?
2085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2086 $as_echo_n "checking $2 presence... " >&6; }
2087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2088 /* end confdefs.h.  */
2089 #include <$2>
2090 _ACEOF
2091 if ac_fn_c_try_cpp "$LINENO"; then :
2092   ac_header_preproc=yes
2093 else
2094   ac_header_preproc=no
2095 fi
2096 rm -f conftest.err conftest.i conftest.$ac_ext
2097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2098 $as_echo "$ac_header_preproc" >&6; }
2099
2100 # So?  What about this header?
2101 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2102   yes:no: )
2103     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2104 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2105     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2106 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2107     ;;
2108   no:yes:* )
2109     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2110 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2111     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2112 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2113     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2114 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2115     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2116 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2117     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2118 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2119 ( $as_echo "## ---------------------------------------- ##
2120 ## Report this to william.douglas@intel.com ##
2121 ## ---------------------------------------- ##"
2122      ) | sed "s/^/$as_me: WARNING:     /" >&2
2123     ;;
2124 esac
2125   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2126 $as_echo_n "checking for $2... " >&6; }
2127 if eval \${$3+:} false; then :
2128   $as_echo_n "(cached) " >&6
2129 else
2130   eval "$3=\$ac_header_compiler"
2131 fi
2132 eval ac_res=\$$3
2133                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2134 $as_echo "$ac_res" >&6; }
2135 fi
2136   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2137
2138 } # ac_fn_c_check_header_mongrel
2139 cat >config.log <<_ACEOF
2140 This file contains any messages produced by compilers while
2141 running configure, to aid debugging if configure makes a mistake.
2142
2143 It was created by buxton $as_me 5, which was
2144 generated by GNU Autoconf 2.69.  Invocation command line was
2145
2146   $ $0 $@
2147
2148 _ACEOF
2149 exec 5>>config.log
2150 {
2151 cat <<_ASUNAME
2152 ## --------- ##
2153 ## Platform. ##
2154 ## --------- ##
2155
2156 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2157 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2158 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2159 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2160 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2161
2162 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2163 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2164
2165 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2166 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2167 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2168 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2169 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2170 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2171 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2172
2173 _ASUNAME
2174
2175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2176 for as_dir in $PATH
2177 do
2178   IFS=$as_save_IFS
2179   test -z "$as_dir" && as_dir=.
2180     $as_echo "PATH: $as_dir"
2181   done
2182 IFS=$as_save_IFS
2183
2184 } >&5
2185
2186 cat >&5 <<_ACEOF
2187
2188
2189 ## ----------- ##
2190 ## Core tests. ##
2191 ## ----------- ##
2192
2193 _ACEOF
2194
2195
2196 # Keep a trace of the command line.
2197 # Strip out --no-create and --no-recursion so they do not pile up.
2198 # Strip out --silent because we don't want to record it for future runs.
2199 # Also quote any args containing shell meta-characters.
2200 # Make two passes to allow for proper duplicate-argument suppression.
2201 ac_configure_args=
2202 ac_configure_args0=
2203 ac_configure_args1=
2204 ac_must_keep_next=false
2205 for ac_pass in 1 2
2206 do
2207   for ac_arg
2208   do
2209     case $ac_arg in
2210     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2211     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2212     | -silent | --silent | --silen | --sile | --sil)
2213       continue ;;
2214     *\'*)
2215       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2216     esac
2217     case $ac_pass in
2218     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2219     2)
2220       as_fn_append ac_configure_args1 " '$ac_arg'"
2221       if test $ac_must_keep_next = true; then
2222         ac_must_keep_next=false # Got value, back to normal.
2223       else
2224         case $ac_arg in
2225           *=* | --config-cache | -C | -disable-* | --disable-* \
2226           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2227           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2228           | -with-* | --with-* | -without-* | --without-* | --x)
2229             case "$ac_configure_args0 " in
2230               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2231             esac
2232             ;;
2233           -* ) ac_must_keep_next=true ;;
2234         esac
2235       fi
2236       as_fn_append ac_configure_args " '$ac_arg'"
2237       ;;
2238     esac
2239   done
2240 done
2241 { ac_configure_args0=; unset ac_configure_args0;}
2242 { ac_configure_args1=; unset ac_configure_args1;}
2243
2244 # When interrupted or exit'd, cleanup temporary files, and complete
2245 # config.log.  We remove comments because anyway the quotes in there
2246 # would cause problems or look ugly.
2247 # WARNING: Use '\'' to represent an apostrophe within the trap.
2248 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2249 trap 'exit_status=$?
2250   # Save into config.log some information that might help in debugging.
2251   {
2252     echo
2253
2254     $as_echo "## ---------------- ##
2255 ## Cache variables. ##
2256 ## ---------------- ##"
2257     echo
2258     # The following way of writing the cache mishandles newlines in values,
2259 (
2260   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2261     eval ac_val=\$$ac_var
2262     case $ac_val in #(
2263     *${as_nl}*)
2264       case $ac_var in #(
2265       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2266 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2267       esac
2268       case $ac_var in #(
2269       _ | IFS | as_nl) ;; #(
2270       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2271       *) { eval $ac_var=; unset $ac_var;} ;;
2272       esac ;;
2273     esac
2274   done
2275   (set) 2>&1 |
2276     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2277     *${as_nl}ac_space=\ *)
2278       sed -n \
2279         "s/'\''/'\''\\\\'\'''\''/g;
2280           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2281       ;; #(
2282     *)
2283       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2284       ;;
2285     esac |
2286     sort
2287 )
2288     echo
2289
2290     $as_echo "## ----------------- ##
2291 ## Output variables. ##
2292 ## ----------------- ##"
2293     echo
2294     for ac_var in $ac_subst_vars
2295     do
2296       eval ac_val=\$$ac_var
2297       case $ac_val in
2298       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2299       esac
2300       $as_echo "$ac_var='\''$ac_val'\''"
2301     done | sort
2302     echo
2303
2304     if test -n "$ac_subst_files"; then
2305       $as_echo "## ------------------- ##
2306 ## File substitutions. ##
2307 ## ------------------- ##"
2308       echo
2309       for ac_var in $ac_subst_files
2310       do
2311         eval ac_val=\$$ac_var
2312         case $ac_val in
2313         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2314         esac
2315         $as_echo "$ac_var='\''$ac_val'\''"
2316       done | sort
2317       echo
2318     fi
2319
2320     if test -s confdefs.h; then
2321       $as_echo "## ----------- ##
2322 ## confdefs.h. ##
2323 ## ----------- ##"
2324       echo
2325       cat confdefs.h
2326       echo
2327     fi
2328     test "$ac_signal" != 0 &&
2329       $as_echo "$as_me: caught signal $ac_signal"
2330     $as_echo "$as_me: exit $exit_status"
2331   } >&5
2332   rm -f core *.core core.conftest.* &&
2333     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2334     exit $exit_status
2335 ' 0
2336 for ac_signal in 1 2 13 15; do
2337   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2338 done
2339 ac_signal=0
2340
2341 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2342 rm -f -r conftest* confdefs.h
2343
2344 $as_echo "/* confdefs.h */" > confdefs.h
2345
2346 # Predefined preprocessor variables.
2347
2348 cat >>confdefs.h <<_ACEOF
2349 #define PACKAGE_NAME "$PACKAGE_NAME"
2350 _ACEOF
2351
2352 cat >>confdefs.h <<_ACEOF
2353 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2354 _ACEOF
2355
2356 cat >>confdefs.h <<_ACEOF
2357 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2358 _ACEOF
2359
2360 cat >>confdefs.h <<_ACEOF
2361 #define PACKAGE_STRING "$PACKAGE_STRING"
2362 _ACEOF
2363
2364 cat >>confdefs.h <<_ACEOF
2365 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2366 _ACEOF
2367
2368 cat >>confdefs.h <<_ACEOF
2369 #define PACKAGE_URL "$PACKAGE_URL"
2370 _ACEOF
2371
2372
2373 # Let the site file select an alternate cache file if it wants to.
2374 # Prefer an explicitly selected file to automatically selected ones.
2375 ac_site_file1=NONE
2376 ac_site_file2=NONE
2377 if test -n "$CONFIG_SITE"; then
2378   # We do not want a PATH search for config.site.
2379   case $CONFIG_SITE in #((
2380     -*)  ac_site_file1=./$CONFIG_SITE;;
2381     */*) ac_site_file1=$CONFIG_SITE;;
2382     *)   ac_site_file1=./$CONFIG_SITE;;
2383   esac
2384 elif test "x$prefix" != xNONE; then
2385   ac_site_file1=$prefix/share/config.site
2386   ac_site_file2=$prefix/etc/config.site
2387 else
2388   ac_site_file1=$ac_default_prefix/share/config.site
2389   ac_site_file2=$ac_default_prefix/etc/config.site
2390 fi
2391 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2392 do
2393   test "x$ac_site_file" = xNONE && continue
2394   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2395     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2396 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2397     sed 's/^/| /' "$ac_site_file" >&5
2398     . "$ac_site_file" \
2399       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2400 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2401 as_fn_error $? "failed to load site script $ac_site_file
2402 See \`config.log' for more details" "$LINENO" 5; }
2403   fi
2404 done
2405
2406 if test -r "$cache_file"; then
2407   # Some versions of bash will fail to source /dev/null (special files
2408   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2409   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2410     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2411 $as_echo "$as_me: loading cache $cache_file" >&6;}
2412     case $cache_file in
2413       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2414       *)                      . "./$cache_file";;
2415     esac
2416   fi
2417 else
2418   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2419 $as_echo "$as_me: creating cache $cache_file" >&6;}
2420   >$cache_file
2421 fi
2422
2423 # Check that the precious variables saved in the cache have kept the same
2424 # value.
2425 ac_cache_corrupted=false
2426 for ac_var in $ac_precious_vars; do
2427   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2428   eval ac_new_set=\$ac_env_${ac_var}_set
2429   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2430   eval ac_new_val=\$ac_env_${ac_var}_value
2431   case $ac_old_set,$ac_new_set in
2432     set,)
2433       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2434 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2435       ac_cache_corrupted=: ;;
2436     ,set)
2437       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2438 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2439       ac_cache_corrupted=: ;;
2440     ,);;
2441     *)
2442       if test "x$ac_old_val" != "x$ac_new_val"; then
2443         # differences in whitespace do not lead to failure.
2444         ac_old_val_w=`echo x $ac_old_val`
2445         ac_new_val_w=`echo x $ac_new_val`
2446         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2447           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2448 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2449           ac_cache_corrupted=:
2450         else
2451           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2452 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2453           eval $ac_var=\$ac_old_val
2454         fi
2455         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2456 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2457         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2458 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2459       fi;;
2460   esac
2461   # Pass precious variables to config.status.
2462   if test "$ac_new_set" = set; then
2463     case $ac_new_val in
2464     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2465     *) ac_arg=$ac_var=$ac_new_val ;;
2466     esac
2467     case " $ac_configure_args " in
2468       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2469       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2470     esac
2471   fi
2472 done
2473 if $ac_cache_corrupted; then
2474   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2475 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2476   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2477 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2478   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2479 fi
2480 ## -------------------- ##
2481 ## Main body of script. ##
2482 ## -------------------- ##
2483
2484 ac_ext=c
2485 ac_cpp='$CPP $CPPFLAGS'
2486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2489
2490
2491 am__api_version='1.14'
2492
2493 ac_aux_dir=
2494 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2495   if 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/install.sh"; then
2500     ac_aux_dir=$ac_dir
2501     ac_install_sh="$ac_aux_dir/install.sh -c"
2502     break
2503   elif test -f "$ac_dir/shtool"; then
2504     ac_aux_dir=$ac_dir
2505     ac_install_sh="$ac_aux_dir/shtool install -c"
2506     break
2507   fi
2508 done
2509 if test -z "$ac_aux_dir"; then
2510   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2511 fi
2512
2513 # These three variables are undocumented and unsupported,
2514 # and are intended to be withdrawn in a future Autoconf release.
2515 # They can cause serious problems if a builder's source tree is in a directory
2516 # whose full name contains unusual characters.
2517 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2518 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2519 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2520
2521
2522 # Find a good install program.  We prefer a C program (faster),
2523 # so one script is as good as another.  But avoid the broken or
2524 # incompatible versions:
2525 # SysV /etc/install, /usr/sbin/install
2526 # SunOS /usr/etc/install
2527 # IRIX /sbin/install
2528 # AIX /bin/install
2529 # AmigaOS /C/install, which installs bootblocks on floppy discs
2530 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2531 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2532 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2533 # OS/2's system install, which has a completely different semantic
2534 # ./install, which can be erroneously created by make from ./install.sh.
2535 # Reject install programs that cannot install multiple files.
2536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2537 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2538 if test -z "$INSTALL"; then
2539 if ${ac_cv_path_install+:} false; then :
2540   $as_echo_n "(cached) " >&6
2541 else
2542   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2543 for as_dir in $PATH
2544 do
2545   IFS=$as_save_IFS
2546   test -z "$as_dir" && as_dir=.
2547     # Account for people who put trailing slashes in PATH elements.
2548 case $as_dir/ in #((
2549   ./ | .// | /[cC]/* | \
2550   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2551   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2552   /usr/ucb/* ) ;;
2553   *)
2554     # OSF1 and SCO ODT 3.0 have their own names for install.
2555     # Don't use installbsd from OSF since it installs stuff as root
2556     # by default.
2557     for ac_prog in ginstall scoinst install; do
2558       for ac_exec_ext in '' $ac_executable_extensions; do
2559         if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2560           if test $ac_prog = install &&
2561             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2562             # AIX install.  It has an incompatible calling convention.
2563             :
2564           elif test $ac_prog = install &&
2565             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2566             # program-specific install script used by HP pwplus--don't use.
2567             :
2568           else
2569             rm -rf conftest.one conftest.two conftest.dir
2570             echo one > conftest.one
2571             echo two > conftest.two
2572             mkdir conftest.dir
2573             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2574               test -s conftest.one && test -s conftest.two &&
2575               test -s conftest.dir/conftest.one &&
2576               test -s conftest.dir/conftest.two
2577             then
2578               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2579               break 3
2580             fi
2581           fi
2582         fi
2583       done
2584     done
2585     ;;
2586 esac
2587
2588   done
2589 IFS=$as_save_IFS
2590
2591 rm -rf conftest.one conftest.two conftest.dir
2592
2593 fi
2594   if test "${ac_cv_path_install+set}" = set; then
2595     INSTALL=$ac_cv_path_install
2596   else
2597     # As a last resort, use the slow shell script.  Don't cache a
2598     # value for INSTALL within a source directory, because that will
2599     # break other packages using the cache if that directory is
2600     # removed, or if the value is a relative name.
2601     INSTALL=$ac_install_sh
2602   fi
2603 fi
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2605 $as_echo "$INSTALL" >&6; }
2606
2607 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2608 # It thinks the first close brace ends the variable substitution.
2609 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2610
2611 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2612
2613 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2614
2615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2616 $as_echo_n "checking whether build environment is sane... " >&6; }
2617 # Reject unsafe characters in $srcdir or the absolute working directory
2618 # name.  Accept space and tab only in the latter.
2619 am_lf='
2620 '
2621 case `pwd` in
2622   *[\\\"\#\$\&\'\`$am_lf]*)
2623     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2624 esac
2625 case $srcdir in
2626   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2627     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2628 esac
2629
2630 # Do 'set' in a subshell so we don't clobber the current shell's
2631 # arguments.  Must try -L first in case configure is actually a
2632 # symlink; some systems play weird games with the mod time of symlinks
2633 # (eg FreeBSD returns the mod time of the symlink's containing
2634 # directory).
2635 if (
2636    am_has_slept=no
2637    for am_try in 1 2; do
2638      echo "timestamp, slept: $am_has_slept" > conftest.file
2639      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2640      if test "$*" = "X"; then
2641         # -L didn't work.
2642         set X `ls -t "$srcdir/configure" conftest.file`
2643      fi
2644      if test "$*" != "X $srcdir/configure conftest.file" \
2645         && test "$*" != "X conftest.file $srcdir/configure"; then
2646
2647         # If neither matched, then we have a broken ls.  This can happen
2648         # if, for instance, CONFIG_SHELL is bash and it inherits a
2649         # broken ls alias from the environment.  This has actually
2650         # happened.  Such a system could not be considered "sane".
2651         as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2652   alias in your environment" "$LINENO" 5
2653      fi
2654      if test "$2" = conftest.file || test $am_try -eq 2; then
2655        break
2656      fi
2657      # Just in case.
2658      sleep 1
2659      am_has_slept=yes
2660    done
2661    test "$2" = conftest.file
2662    )
2663 then
2664    # Ok.
2665    :
2666 else
2667    as_fn_error $? "newly created file is older than distributed files!
2668 Check your system clock" "$LINENO" 5
2669 fi
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2671 $as_echo "yes" >&6; }
2672 # If we didn't sleep, we still need to ensure time stamps of config.status and
2673 # generated files are strictly newer.
2674 am_sleep_pid=
2675 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2676   ( sleep 1 ) &
2677   am_sleep_pid=$!
2678 fi
2679
2680 rm -f conftest.file
2681
2682 test "$program_prefix" != NONE &&
2683   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2684 # Use a double $ so make ignores it.
2685 test "$program_suffix" != NONE &&
2686   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2687 # Double any \ or $.
2688 # By default was `s,x,x', remove it if useless.
2689 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2690 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2691
2692 # expand $ac_aux_dir to an absolute path
2693 am_aux_dir=`cd $ac_aux_dir && pwd`
2694
2695 if test x"${MISSING+set}" != xset; then
2696   case $am_aux_dir in
2697   *\ * | *\     *)
2698     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2699   *)
2700     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2701   esac
2702 fi
2703 # Use eval to expand $SHELL
2704 if eval "$MISSING --is-lightweight"; then
2705   am_missing_run="$MISSING "
2706 else
2707   am_missing_run=
2708   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2709 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2710 fi
2711
2712 if test x"${install_sh}" != xset; then
2713   case $am_aux_dir in
2714   *\ * | *\     *)
2715     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2716   *)
2717     install_sh="\${SHELL} $am_aux_dir/install-sh"
2718   esac
2719 fi
2720
2721 # Installed binaries are usually stripped using 'strip' when the user
2722 # run "make install-strip".  However 'strip' might not be the right
2723 # tool to use in cross-compilation environments, therefore Automake
2724 # will honor the 'STRIP' environment variable to overrule this program.
2725 if test "$cross_compiling" != no; then
2726   if test -n "$ac_tool_prefix"; then
2727   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2728 set dummy ${ac_tool_prefix}strip; ac_word=$2
2729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2730 $as_echo_n "checking for $ac_word... " >&6; }
2731 if ${ac_cv_prog_STRIP+:} false; then :
2732   $as_echo_n "(cached) " >&6
2733 else
2734   if test -n "$STRIP"; then
2735   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2736 else
2737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2738 for as_dir in $PATH
2739 do
2740   IFS=$as_save_IFS
2741   test -z "$as_dir" && as_dir=.
2742     for ac_exec_ext in '' $ac_executable_extensions; do
2743   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2744     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2745     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2746     break 2
2747   fi
2748 done
2749   done
2750 IFS=$as_save_IFS
2751
2752 fi
2753 fi
2754 STRIP=$ac_cv_prog_STRIP
2755 if test -n "$STRIP"; then
2756   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2757 $as_echo "$STRIP" >&6; }
2758 else
2759   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2760 $as_echo "no" >&6; }
2761 fi
2762
2763
2764 fi
2765 if test -z "$ac_cv_prog_STRIP"; then
2766   ac_ct_STRIP=$STRIP
2767   # Extract the first word of "strip", so it can be a program name with args.
2768 set dummy strip; ac_word=$2
2769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2770 $as_echo_n "checking for $ac_word... " >&6; }
2771 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2772   $as_echo_n "(cached) " >&6
2773 else
2774   if test -n "$ac_ct_STRIP"; then
2775   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2776 else
2777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2778 for as_dir in $PATH
2779 do
2780   IFS=$as_save_IFS
2781   test -z "$as_dir" && as_dir=.
2782     for ac_exec_ext in '' $ac_executable_extensions; do
2783   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2784     ac_cv_prog_ac_ct_STRIP="strip"
2785     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2786     break 2
2787   fi
2788 done
2789   done
2790 IFS=$as_save_IFS
2791
2792 fi
2793 fi
2794 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2795 if test -n "$ac_ct_STRIP"; then
2796   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2797 $as_echo "$ac_ct_STRIP" >&6; }
2798 else
2799   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2800 $as_echo "no" >&6; }
2801 fi
2802
2803   if test "x$ac_ct_STRIP" = x; then
2804     STRIP=":"
2805   else
2806     case $cross_compiling:$ac_tool_warned in
2807 yes:)
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2809 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2810 ac_tool_warned=yes ;;
2811 esac
2812     STRIP=$ac_ct_STRIP
2813   fi
2814 else
2815   STRIP="$ac_cv_prog_STRIP"
2816 fi
2817
2818 fi
2819 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2820
2821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2822 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2823 if test -z "$MKDIR_P"; then
2824   if ${ac_cv_path_mkdir+:} false; then :
2825   $as_echo_n "(cached) " >&6
2826 else
2827   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2828 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2829 do
2830   IFS=$as_save_IFS
2831   test -z "$as_dir" && as_dir=.
2832     for ac_prog in mkdir gmkdir; do
2833          for ac_exec_ext in '' $ac_executable_extensions; do
2834            as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2835            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2836              'mkdir (GNU coreutils) '* | \
2837              'mkdir (coreutils) '* | \
2838              'mkdir (fileutils) '4.1*)
2839                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2840                break 3;;
2841            esac
2842          done
2843        done
2844   done
2845 IFS=$as_save_IFS
2846
2847 fi
2848
2849   test -d ./--version && rmdir ./--version
2850   if test "${ac_cv_path_mkdir+set}" = set; then
2851     MKDIR_P="$ac_cv_path_mkdir -p"
2852   else
2853     # As a last resort, use the slow shell script.  Don't cache a
2854     # value for MKDIR_P within a source directory, because that will
2855     # break other packages using the cache if that directory is
2856     # removed, or if the value is a relative name.
2857     MKDIR_P="$ac_install_sh -d"
2858   fi
2859 fi
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2861 $as_echo "$MKDIR_P" >&6; }
2862
2863 for ac_prog in gawk mawk nawk awk
2864 do
2865   # Extract the first word of "$ac_prog", so it can be a program name with args.
2866 set dummy $ac_prog; ac_word=$2
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2868 $as_echo_n "checking for $ac_word... " >&6; }
2869 if ${ac_cv_prog_AWK+:} false; then :
2870   $as_echo_n "(cached) " >&6
2871 else
2872   if test -n "$AWK"; then
2873   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2874 else
2875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2876 for as_dir in $PATH
2877 do
2878   IFS=$as_save_IFS
2879   test -z "$as_dir" && as_dir=.
2880     for ac_exec_ext in '' $ac_executable_extensions; do
2881   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2882     ac_cv_prog_AWK="$ac_prog"
2883     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2884     break 2
2885   fi
2886 done
2887   done
2888 IFS=$as_save_IFS
2889
2890 fi
2891 fi
2892 AWK=$ac_cv_prog_AWK
2893 if test -n "$AWK"; then
2894   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2895 $as_echo "$AWK" >&6; }
2896 else
2897   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2898 $as_echo "no" >&6; }
2899 fi
2900
2901
2902   test -n "$AWK" && break
2903 done
2904
2905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2906 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2907 set x ${MAKE-make}
2908 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2909 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2910   $as_echo_n "(cached) " >&6
2911 else
2912   cat >conftest.make <<\_ACEOF
2913 SHELL = /bin/sh
2914 all:
2915         @echo '@@@%%%=$(MAKE)=@@@%%%'
2916 _ACEOF
2917 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2918 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2919   *@@@%%%=?*=@@@%%%*)
2920     eval ac_cv_prog_make_${ac_make}_set=yes;;
2921   *)
2922     eval ac_cv_prog_make_${ac_make}_set=no;;
2923 esac
2924 rm -f conftest.make
2925 fi
2926 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2927   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2928 $as_echo "yes" >&6; }
2929   SET_MAKE=
2930 else
2931   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2932 $as_echo "no" >&6; }
2933   SET_MAKE="MAKE=${MAKE-make}"
2934 fi
2935
2936 rm -rf .tst 2>/dev/null
2937 mkdir .tst 2>/dev/null
2938 if test -d .tst; then
2939   am__leading_dot=.
2940 else
2941   am__leading_dot=_
2942 fi
2943 rmdir .tst 2>/dev/null
2944
2945 # Check whether --enable-silent-rules was given.
2946 if test "${enable_silent_rules+set}" = set; then :
2947   enableval=$enable_silent_rules;
2948 fi
2949
2950 case $enable_silent_rules in # (((
2951   yes) AM_DEFAULT_VERBOSITY=0;;
2952    no) AM_DEFAULT_VERBOSITY=1;;
2953     *) AM_DEFAULT_VERBOSITY=1;;
2954 esac
2955 am_make=${MAKE-make}
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2957 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2958 if ${am_cv_make_support_nested_variables+:} false; then :
2959   $as_echo_n "(cached) " >&6
2960 else
2961   if $as_echo 'TRUE=$(BAR$(V))
2962 BAR0=false
2963 BAR1=true
2964 V=1
2965 am__doit:
2966         @$(TRUE)
2967 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2968   am_cv_make_support_nested_variables=yes
2969 else
2970   am_cv_make_support_nested_variables=no
2971 fi
2972 fi
2973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2974 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2975 if test $am_cv_make_support_nested_variables = yes; then
2976     AM_V='$(V)'
2977   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2978 else
2979   AM_V=$AM_DEFAULT_VERBOSITY
2980   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2981 fi
2982 AM_BACKSLASH='\'
2983
2984 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2985   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2986   # is not polluted with repeated "-I."
2987   am__isrc=' -I$(srcdir)'
2988   # test to see if srcdir already configured
2989   if test -f $srcdir/config.status; then
2990     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2991   fi
2992 fi
2993
2994 # test whether we have cygpath
2995 if test -z "$CYGPATH_W"; then
2996   if (cygpath --version) >/dev/null 2>/dev/null; then
2997     CYGPATH_W='cygpath -w'
2998   else
2999     CYGPATH_W=echo
3000   fi
3001 fi
3002
3003
3004 # Define the identity of the package.
3005  PACKAGE='buxton'
3006  VERSION='5'
3007
3008
3009 cat >>confdefs.h <<_ACEOF
3010 #define PACKAGE "$PACKAGE"
3011 _ACEOF
3012
3013
3014 cat >>confdefs.h <<_ACEOF
3015 #define VERSION "$VERSION"
3016 _ACEOF
3017
3018 # Some tools Automake needs.
3019
3020 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3021
3022
3023 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3024
3025
3026 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3027
3028
3029 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3030
3031
3032 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3033
3034 # For better backward compatibility.  To be removed once Automake 1.9.x
3035 # dies out for good.  For more background, see:
3036 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3037 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3038 mkdir_p='$(MKDIR_P)'
3039
3040 # We need awk for the "check" target.  The system "awk" is bad on
3041 # some platforms.
3042 # Always define AMTAR for backward compatibility.  Yes, it's still used
3043 # in the wild :-(  We should find a proper way to deprecate it ...
3044 AMTAR='$${TAR-tar}'
3045
3046
3047 # We'll loop over all known methods to create a tar archive until one works.
3048 _am_tools='gnutar  pax cpio none'
3049
3050 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3051
3052
3053
3054
3055
3056
3057 # POSIX will say in a future version that running "rm -f" with no argument
3058 # is OK; and we want to be able to make that assumption in our Makefile
3059 # recipes.  So use an aggressive probe to check that the usage we want is
3060 # actually supported "in the wild" to an acceptable degree.
3061 # See automake bug#10828.
3062 # To make any issue more visible, cause the running configure to be aborted
3063 # by default if the 'rm' program in use doesn't match our expectations; the
3064 # user can still override this though.
3065 if rm -f && rm -fr && rm -rf; then : OK; else
3066   cat >&2 <<'END'
3067 Oops!
3068
3069 Your 'rm' program seems unable to run without file operands specified
3070 on the command line, even when the '-f' option is present.  This is contrary
3071 to the behaviour of most rm programs out there, and not conforming with
3072 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3073
3074 Please tell bug-automake@gnu.org about your system, including the value
3075 of your $PATH and any error possibly output before this message.  This
3076 can help us improve future automake versions.
3077
3078 END
3079   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3080     echo 'Configuration will proceed anyway, since you have set the' >&2
3081     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3082     echo >&2
3083   else
3084     cat >&2 <<'END'
3085 Aborting the configuration process, to ensure you take notice of the issue.
3086
3087 You can download and install GNU coreutils to get an 'rm' implementation
3088 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3089
3090 If you want to complete the configuration process using your problematic
3091 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3092 to "yes", and re-run configure.
3093
3094 END
3095     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3096   fi
3097 fi
3098
3099 ac_config_files="$ac_config_files Makefile"
3100
3101
3102 ac_config_headers="$ac_config_headers config.h"
3103
3104
3105
3106
3107 case `pwd` in
3108   *\ * | *\     *)
3109     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3110 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3111 esac
3112
3113
3114
3115 macro_version='2.4.2'
3116 macro_revision='1.3337'
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130 ltmain="$ac_aux_dir/ltmain.sh"
3131
3132 # Make sure we can run config.sub.
3133 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3134   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3135
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3137 $as_echo_n "checking build system type... " >&6; }
3138 if ${ac_cv_build+:} false; then :
3139   $as_echo_n "(cached) " >&6
3140 else
3141   ac_build_alias=$build_alias
3142 test "x$ac_build_alias" = x &&
3143   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3144 test "x$ac_build_alias" = x &&
3145   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3146 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3147   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3148
3149 fi
3150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3151 $as_echo "$ac_cv_build" >&6; }
3152 case $ac_cv_build in
3153 *-*-*) ;;
3154 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3155 esac
3156 build=$ac_cv_build
3157 ac_save_IFS=$IFS; IFS='-'
3158 set x $ac_cv_build
3159 shift
3160 build_cpu=$1
3161 build_vendor=$2
3162 shift; shift
3163 # Remember, the first character of IFS is used to create $*,
3164 # except with old shells:
3165 build_os=$*
3166 IFS=$ac_save_IFS
3167 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3168
3169
3170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3171 $as_echo_n "checking host system type... " >&6; }
3172 if ${ac_cv_host+:} false; then :
3173   $as_echo_n "(cached) " >&6
3174 else
3175   if test "x$host_alias" = x; then
3176   ac_cv_host=$ac_cv_build
3177 else
3178   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3179     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3180 fi
3181
3182 fi
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3184 $as_echo "$ac_cv_host" >&6; }
3185 case $ac_cv_host in
3186 *-*-*) ;;
3187 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3188 esac
3189 host=$ac_cv_host
3190 ac_save_IFS=$IFS; IFS='-'
3191 set x $ac_cv_host
3192 shift
3193 host_cpu=$1
3194 host_vendor=$2
3195 shift; shift
3196 # Remember, the first character of IFS is used to create $*,
3197 # except with old shells:
3198 host_os=$*
3199 IFS=$ac_save_IFS
3200 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3201
3202
3203 # Backslashify metacharacters that are still active within
3204 # double-quoted strings.
3205 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3206
3207 # Same as above, but do not quote variable references.
3208 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3209
3210 # Sed substitution to delay expansion of an escaped shell variable in a
3211 # double_quote_subst'ed string.
3212 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3213
3214 # Sed substitution to delay expansion of an escaped single quote.
3215 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3216
3217 # Sed substitution to avoid accidental globbing in evaled expressions
3218 no_glob_subst='s/\*/\\\*/g'
3219
3220 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3221 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3222 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3223
3224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3225 $as_echo_n "checking how to print strings... " >&6; }
3226 # Test print first, because it will be a builtin if present.
3227 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3228    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3229   ECHO='print -r --'
3230 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3231   ECHO='printf %s\n'
3232 else
3233   # Use this function as a fallback that always works.
3234   func_fallback_echo ()
3235   {
3236     eval 'cat <<_LTECHO_EOF
3237 $1
3238 _LTECHO_EOF'
3239   }
3240   ECHO='func_fallback_echo'
3241 fi
3242
3243 # func_echo_all arg...
3244 # Invoke $ECHO with all args, space-separated.
3245 func_echo_all ()
3246 {
3247     $ECHO ""
3248 }
3249
3250 case "$ECHO" in
3251   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3252 $as_echo "printf" >&6; } ;;
3253   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3254 $as_echo "print -r" >&6; } ;;
3255   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3256 $as_echo "cat" >&6; } ;;
3257 esac
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272 DEPDIR="${am__leading_dot}deps"
3273
3274 ac_config_commands="$ac_config_commands depfiles"
3275
3276
3277 am_make=${MAKE-make}
3278 cat > confinc << 'END'
3279 am__doit:
3280         @echo this is the am__doit target
3281 .PHONY: am__doit
3282 END
3283 # If we don't find an include directive, just comment out the code.
3284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3285 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3286 am__include="#"
3287 am__quote=
3288 _am_result=none
3289 # First try GNU make style include.
3290 echo "include confinc" > confmf
3291 # Ignore all kinds of additional output from 'make'.
3292 case `$am_make -s -f confmf 2> /dev/null` in #(
3293 *the\ am__doit\ target*)
3294   am__include=include
3295   am__quote=
3296   _am_result=GNU
3297   ;;
3298 esac
3299 # Now try BSD make style include.
3300 if test "$am__include" = "#"; then
3301    echo '.include "confinc"' > confmf
3302    case `$am_make -s -f confmf 2> /dev/null` in #(
3303    *the\ am__doit\ target*)
3304      am__include=.include
3305      am__quote="\""
3306      _am_result=BSD
3307      ;;
3308    esac
3309 fi
3310
3311
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3313 $as_echo "$_am_result" >&6; }
3314 rm -f confinc confmf
3315
3316 # Check whether --enable-dependency-tracking was given.
3317 if test "${enable_dependency_tracking+set}" = set; then :
3318   enableval=$enable_dependency_tracking;
3319 fi
3320
3321 if test "x$enable_dependency_tracking" != xno; then
3322   am_depcomp="$ac_aux_dir/depcomp"
3323   AMDEPBACKSLASH='\'
3324   am__nodep='_no'
3325 fi
3326  if test "x$enable_dependency_tracking" != xno; then
3327   AMDEP_TRUE=
3328   AMDEP_FALSE='#'
3329 else
3330   AMDEP_TRUE='#'
3331   AMDEP_FALSE=
3332 fi
3333
3334
3335 ac_ext=c
3336 ac_cpp='$CPP $CPPFLAGS'
3337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3340 if test -n "$ac_tool_prefix"; then
3341   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3342 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3344 $as_echo_n "checking for $ac_word... " >&6; }
3345 if ${ac_cv_prog_CC+:} false; then :
3346   $as_echo_n "(cached) " >&6
3347 else
3348   if test -n "$CC"; then
3349   ac_cv_prog_CC="$CC" # Let the user override the test.
3350 else
3351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3352 for as_dir in $PATH
3353 do
3354   IFS=$as_save_IFS
3355   test -z "$as_dir" && as_dir=.
3356     for ac_exec_ext in '' $ac_executable_extensions; do
3357   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3358     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3359     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3360     break 2
3361   fi
3362 done
3363   done
3364 IFS=$as_save_IFS
3365
3366 fi
3367 fi
3368 CC=$ac_cv_prog_CC
3369 if test -n "$CC"; then
3370   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3371 $as_echo "$CC" >&6; }
3372 else
3373   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3374 $as_echo "no" >&6; }
3375 fi
3376
3377
3378 fi
3379 if test -z "$ac_cv_prog_CC"; then
3380   ac_ct_CC=$CC
3381   # Extract the first word of "gcc", so it can be a program name with args.
3382 set dummy gcc; ac_word=$2
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3384 $as_echo_n "checking for $ac_word... " >&6; }
3385 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3386   $as_echo_n "(cached) " >&6
3387 else
3388   if test -n "$ac_ct_CC"; then
3389   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3390 else
3391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3392 for as_dir in $PATH
3393 do
3394   IFS=$as_save_IFS
3395   test -z "$as_dir" && as_dir=.
3396     for ac_exec_ext in '' $ac_executable_extensions; do
3397   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3398     ac_cv_prog_ac_ct_CC="gcc"
3399     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3400     break 2
3401   fi
3402 done
3403   done
3404 IFS=$as_save_IFS
3405
3406 fi
3407 fi
3408 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3409 if test -n "$ac_ct_CC"; then
3410   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3411 $as_echo "$ac_ct_CC" >&6; }
3412 else
3413   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3414 $as_echo "no" >&6; }
3415 fi
3416
3417   if test "x$ac_ct_CC" = x; then
3418     CC=""
3419   else
3420     case $cross_compiling:$ac_tool_warned in
3421 yes:)
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3423 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3424 ac_tool_warned=yes ;;
3425 esac
3426     CC=$ac_ct_CC
3427   fi
3428 else
3429   CC="$ac_cv_prog_CC"
3430 fi
3431
3432 if test -z "$CC"; then
3433           if test -n "$ac_tool_prefix"; then
3434     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3435 set dummy ${ac_tool_prefix}cc; ac_word=$2
3436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3437 $as_echo_n "checking for $ac_word... " >&6; }
3438 if ${ac_cv_prog_CC+:} false; then :
3439   $as_echo_n "(cached) " >&6
3440 else
3441   if test -n "$CC"; then
3442   ac_cv_prog_CC="$CC" # Let the user override the test.
3443 else
3444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3445 for as_dir in $PATH
3446 do
3447   IFS=$as_save_IFS
3448   test -z "$as_dir" && as_dir=.
3449     for ac_exec_ext in '' $ac_executable_extensions; do
3450   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3451     ac_cv_prog_CC="${ac_tool_prefix}cc"
3452     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3453     break 2
3454   fi
3455 done
3456   done
3457 IFS=$as_save_IFS
3458
3459 fi
3460 fi
3461 CC=$ac_cv_prog_CC
3462 if test -n "$CC"; then
3463   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3464 $as_echo "$CC" >&6; }
3465 else
3466   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3467 $as_echo "no" >&6; }
3468 fi
3469
3470
3471   fi
3472 fi
3473 if test -z "$CC"; then
3474   # Extract the first word of "cc", so it can be a program name with args.
3475 set dummy cc; ac_word=$2
3476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3477 $as_echo_n "checking for $ac_word... " >&6; }
3478 if ${ac_cv_prog_CC+:} false; then :
3479   $as_echo_n "(cached) " >&6
3480 else
3481   if test -n "$CC"; then
3482   ac_cv_prog_CC="$CC" # Let the user override the test.
3483 else
3484   ac_prog_rejected=no
3485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3486 for as_dir in $PATH
3487 do
3488   IFS=$as_save_IFS
3489   test -z "$as_dir" && as_dir=.
3490     for ac_exec_ext in '' $ac_executable_extensions; do
3491   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3492     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3493        ac_prog_rejected=yes
3494        continue
3495      fi
3496     ac_cv_prog_CC="cc"
3497     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3498     break 2
3499   fi
3500 done
3501   done
3502 IFS=$as_save_IFS
3503
3504 if test $ac_prog_rejected = yes; then
3505   # We found a bogon in the path, so make sure we never use it.
3506   set dummy $ac_cv_prog_CC
3507   shift
3508   if test $# != 0; then
3509     # We chose a different compiler from the bogus one.
3510     # However, it has the same basename, so the bogon will be chosen
3511     # first if we set CC to just the basename; use the full file name.
3512     shift
3513     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3514   fi
3515 fi
3516 fi
3517 fi
3518 CC=$ac_cv_prog_CC
3519 if test -n "$CC"; then
3520   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3521 $as_echo "$CC" >&6; }
3522 else
3523   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3524 $as_echo "no" >&6; }
3525 fi
3526
3527
3528 fi
3529 if test -z "$CC"; then
3530   if test -n "$ac_tool_prefix"; then
3531   for ac_prog in cl.exe
3532   do
3533     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3534 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3536 $as_echo_n "checking for $ac_word... " >&6; }
3537 if ${ac_cv_prog_CC+:} false; then :
3538   $as_echo_n "(cached) " >&6
3539 else
3540   if test -n "$CC"; then
3541   ac_cv_prog_CC="$CC" # Let the user override the test.
3542 else
3543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3544 for as_dir in $PATH
3545 do
3546   IFS=$as_save_IFS
3547   test -z "$as_dir" && as_dir=.
3548     for ac_exec_ext in '' $ac_executable_extensions; do
3549   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3550     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3551     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3552     break 2
3553   fi
3554 done
3555   done
3556 IFS=$as_save_IFS
3557
3558 fi
3559 fi
3560 CC=$ac_cv_prog_CC
3561 if test -n "$CC"; then
3562   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3563 $as_echo "$CC" >&6; }
3564 else
3565   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3566 $as_echo "no" >&6; }
3567 fi
3568
3569
3570     test -n "$CC" && break
3571   done
3572 fi
3573 if test -z "$CC"; then
3574   ac_ct_CC=$CC
3575   for ac_prog in cl.exe
3576 do
3577   # Extract the first word of "$ac_prog", so it can be a program name with args.
3578 set dummy $ac_prog; ac_word=$2
3579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3580 $as_echo_n "checking for $ac_word... " >&6; }
3581 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3582   $as_echo_n "(cached) " >&6
3583 else
3584   if test -n "$ac_ct_CC"; then
3585   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3586 else
3587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3588 for as_dir in $PATH
3589 do
3590   IFS=$as_save_IFS
3591   test -z "$as_dir" && as_dir=.
3592     for ac_exec_ext in '' $ac_executable_extensions; do
3593   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3594     ac_cv_prog_ac_ct_CC="$ac_prog"
3595     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3596     break 2
3597   fi
3598 done
3599   done
3600 IFS=$as_save_IFS
3601
3602 fi
3603 fi
3604 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3605 if test -n "$ac_ct_CC"; then
3606   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3607 $as_echo "$ac_ct_CC" >&6; }
3608 else
3609   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3610 $as_echo "no" >&6; }
3611 fi
3612
3613
3614   test -n "$ac_ct_CC" && break
3615 done
3616
3617   if test "x$ac_ct_CC" = x; then
3618     CC=""
3619   else
3620     case $cross_compiling:$ac_tool_warned in
3621 yes:)
3622 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3623 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3624 ac_tool_warned=yes ;;
3625 esac
3626     CC=$ac_ct_CC
3627   fi
3628 fi
3629
3630 fi
3631
3632
3633 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3634 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3635 as_fn_error $? "no acceptable C compiler found in \$PATH
3636 See \`config.log' for more details" "$LINENO" 5; }
3637
3638 # Provide some information about the compiler.
3639 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3640 set X $ac_compile
3641 ac_compiler=$2
3642 for ac_option in --version -v -V -qversion; do
3643   { { ac_try="$ac_compiler $ac_option >&5"
3644 case "(($ac_try" in
3645   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3646   *) ac_try_echo=$ac_try;;
3647 esac
3648 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3649 $as_echo "$ac_try_echo"; } >&5
3650   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3651   ac_status=$?
3652   if test -s conftest.err; then
3653     sed '10a\
3654 ... rest of stderr output deleted ...
3655          10q' conftest.err >conftest.er1
3656     cat conftest.er1 >&5
3657   fi
3658   rm -f conftest.er1 conftest.err
3659   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3660   test $ac_status = 0; }
3661 done
3662
3663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3664 /* end confdefs.h.  */
3665
3666 int
3667 main ()
3668 {
3669
3670   ;
3671   return 0;
3672 }
3673 _ACEOF
3674 ac_clean_files_save=$ac_clean_files
3675 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3676 # Try to create an executable without -o first, disregard a.out.
3677 # It will help us diagnose broken compilers, and finding out an intuition
3678 # of exeext.
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3680 $as_echo_n "checking whether the C compiler works... " >&6; }
3681 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3682
3683 # The possible output files:
3684 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3685
3686 ac_rmfiles=
3687 for ac_file in $ac_files
3688 do
3689   case $ac_file in
3690     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3691     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3692   esac
3693 done
3694 rm -f $ac_rmfiles
3695
3696 if { { ac_try="$ac_link_default"
3697 case "(($ac_try" in
3698   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3699   *) ac_try_echo=$ac_try;;
3700 esac
3701 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3702 $as_echo "$ac_try_echo"; } >&5
3703   (eval "$ac_link_default") 2>&5
3704   ac_status=$?
3705   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3706   test $ac_status = 0; }; then :
3707   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3708 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3709 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3710 # so that the user can short-circuit this test for compilers unknown to
3711 # Autoconf.
3712 for ac_file in $ac_files ''
3713 do
3714   test -f "$ac_file" || continue
3715   case $ac_file in
3716     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3717         ;;
3718     [ab].out )
3719         # We found the default executable, but exeext='' is most
3720         # certainly right.
3721         break;;
3722     *.* )
3723         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3724         then :; else
3725            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3726         fi
3727         # We set ac_cv_exeext here because the later test for it is not
3728         # safe: cross compilers may not add the suffix if given an `-o'
3729         # argument, so we may need to know it at that point already.
3730         # Even if this section looks crufty: it has the advantage of
3731         # actually working.
3732         break;;
3733     * )
3734         break;;
3735   esac
3736 done
3737 test "$ac_cv_exeext" = no && ac_cv_exeext=
3738
3739 else
3740   ac_file=''
3741 fi
3742 if test -z "$ac_file"; then :
3743   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3744 $as_echo "no" >&6; }
3745 $as_echo "$as_me: failed program was:" >&5
3746 sed 's/^/| /' conftest.$ac_ext >&5
3747
3748 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3749 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3750 as_fn_error 77 "C compiler cannot create executables
3751 See \`config.log' for more details" "$LINENO" 5; }
3752 else
3753   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3754 $as_echo "yes" >&6; }
3755 fi
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3757 $as_echo_n "checking for C compiler default output file name... " >&6; }
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3759 $as_echo "$ac_file" >&6; }
3760 ac_exeext=$ac_cv_exeext
3761
3762 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3763 ac_clean_files=$ac_clean_files_save
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3765 $as_echo_n "checking for suffix of executables... " >&6; }
3766 if { { ac_try="$ac_link"
3767 case "(($ac_try" in
3768   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3769   *) ac_try_echo=$ac_try;;
3770 esac
3771 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3772 $as_echo "$ac_try_echo"; } >&5
3773   (eval "$ac_link") 2>&5
3774   ac_status=$?
3775   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3776   test $ac_status = 0; }; then :
3777   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3778 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3779 # work properly (i.e., refer to `conftest.exe'), while it won't with
3780 # `rm'.
3781 for ac_file in conftest.exe conftest conftest.*; do
3782   test -f "$ac_file" || continue
3783   case $ac_file in
3784     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3785     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3786           break;;
3787     * ) break;;
3788   esac
3789 done
3790 else
3791   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3792 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3793 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3794 See \`config.log' for more details" "$LINENO" 5; }
3795 fi
3796 rm -f conftest conftest$ac_cv_exeext
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3798 $as_echo "$ac_cv_exeext" >&6; }
3799
3800 rm -f conftest.$ac_ext
3801 EXEEXT=$ac_cv_exeext
3802 ac_exeext=$EXEEXT
3803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3804 /* end confdefs.h.  */
3805 #include <stdio.h>
3806 int
3807 main ()
3808 {
3809 FILE *f = fopen ("conftest.out", "w");
3810  return ferror (f) || fclose (f) != 0;
3811
3812   ;
3813   return 0;
3814 }
3815 _ACEOF
3816 ac_clean_files="$ac_clean_files conftest.out"
3817 # Check that the compiler produces executables we can run.  If not, either
3818 # the compiler is broken, or we cross compile.
3819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3820 $as_echo_n "checking whether we are cross compiling... " >&6; }
3821 if test "$cross_compiling" != yes; then
3822   { { ac_try="$ac_link"
3823 case "(($ac_try" in
3824   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3825   *) ac_try_echo=$ac_try;;
3826 esac
3827 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3828 $as_echo "$ac_try_echo"; } >&5
3829   (eval "$ac_link") 2>&5
3830   ac_status=$?
3831   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3832   test $ac_status = 0; }
3833   if { ac_try='./conftest$ac_cv_exeext'
3834   { { case "(($ac_try" in
3835   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3836   *) ac_try_echo=$ac_try;;
3837 esac
3838 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3839 $as_echo "$ac_try_echo"; } >&5
3840   (eval "$ac_try") 2>&5
3841   ac_status=$?
3842   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3843   test $ac_status = 0; }; }; then
3844     cross_compiling=no
3845   else
3846     if test "$cross_compiling" = maybe; then
3847         cross_compiling=yes
3848     else
3849         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3850 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3851 as_fn_error $? "cannot run C compiled programs.
3852 If you meant to cross compile, use \`--host'.
3853 See \`config.log' for more details" "$LINENO" 5; }
3854     fi
3855   fi
3856 fi
3857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3858 $as_echo "$cross_compiling" >&6; }
3859
3860 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3861 ac_clean_files=$ac_clean_files_save
3862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3863 $as_echo_n "checking for suffix of object files... " >&6; }
3864 if ${ac_cv_objext+:} false; then :
3865   $as_echo_n "(cached) " >&6
3866 else
3867   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3868 /* end confdefs.h.  */
3869
3870 int
3871 main ()
3872 {
3873
3874   ;
3875   return 0;
3876 }
3877 _ACEOF
3878 rm -f conftest.o conftest.obj
3879 if { { ac_try="$ac_compile"
3880 case "(($ac_try" in
3881   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3882   *) ac_try_echo=$ac_try;;
3883 esac
3884 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3885 $as_echo "$ac_try_echo"; } >&5
3886   (eval "$ac_compile") 2>&5
3887   ac_status=$?
3888   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3889   test $ac_status = 0; }; then :
3890   for ac_file in conftest.o conftest.obj conftest.*; do
3891   test -f "$ac_file" || continue;
3892   case $ac_file in
3893     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3894     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3895        break;;
3896   esac
3897 done
3898 else
3899   $as_echo "$as_me: failed program was:" >&5
3900 sed 's/^/| /' conftest.$ac_ext >&5
3901
3902 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3903 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3904 as_fn_error $? "cannot compute suffix of object files: cannot compile
3905 See \`config.log' for more details" "$LINENO" 5; }
3906 fi
3907 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3908 fi
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3910 $as_echo "$ac_cv_objext" >&6; }
3911 OBJEXT=$ac_cv_objext
3912 ac_objext=$OBJEXT
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3914 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3915 if ${ac_cv_c_compiler_gnu+:} false; then :
3916   $as_echo_n "(cached) " >&6
3917 else
3918   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3919 /* end confdefs.h.  */
3920
3921 int
3922 main ()
3923 {
3924 #ifndef __GNUC__
3925        choke me
3926 #endif
3927
3928   ;
3929   return 0;
3930 }
3931 _ACEOF
3932 if ac_fn_c_try_compile "$LINENO"; then :
3933   ac_compiler_gnu=yes
3934 else
3935   ac_compiler_gnu=no
3936 fi
3937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3938 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3939
3940 fi
3941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3942 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3943 if test $ac_compiler_gnu = yes; then
3944   GCC=yes
3945 else
3946   GCC=
3947 fi
3948 ac_test_CFLAGS=${CFLAGS+set}
3949 ac_save_CFLAGS=$CFLAGS
3950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3951 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3952 if ${ac_cv_prog_cc_g+:} false; then :
3953   $as_echo_n "(cached) " >&6
3954 else
3955   ac_save_c_werror_flag=$ac_c_werror_flag
3956    ac_c_werror_flag=yes
3957    ac_cv_prog_cc_g=no
3958    CFLAGS="-g"
3959    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3960 /* end confdefs.h.  */
3961
3962 int
3963 main ()
3964 {
3965
3966   ;
3967   return 0;
3968 }
3969 _ACEOF
3970 if ac_fn_c_try_compile "$LINENO"; then :
3971   ac_cv_prog_cc_g=yes
3972 else
3973   CFLAGS=""
3974       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3975 /* end confdefs.h.  */
3976
3977 int
3978 main ()
3979 {
3980
3981   ;
3982   return 0;
3983 }
3984 _ACEOF
3985 if ac_fn_c_try_compile "$LINENO"; then :
3986
3987 else
3988   ac_c_werror_flag=$ac_save_c_werror_flag
3989          CFLAGS="-g"
3990          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3991 /* end confdefs.h.  */
3992
3993 int
3994 main ()
3995 {
3996
3997   ;
3998   return 0;
3999 }
4000 _ACEOF
4001 if ac_fn_c_try_compile "$LINENO"; then :
4002   ac_cv_prog_cc_g=yes
4003 fi
4004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4005 fi
4006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4007 fi
4008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4009    ac_c_werror_flag=$ac_save_c_werror_flag
4010 fi
4011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4012 $as_echo "$ac_cv_prog_cc_g" >&6; }
4013 if test "$ac_test_CFLAGS" = set; then
4014   CFLAGS=$ac_save_CFLAGS
4015 elif test $ac_cv_prog_cc_g = yes; then
4016   if test "$GCC" = yes; then
4017     CFLAGS="-g -O2"
4018   else
4019     CFLAGS="-g"
4020   fi
4021 else
4022   if test "$GCC" = yes; then
4023     CFLAGS="-O2"
4024   else
4025     CFLAGS=
4026   fi
4027 fi
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4029 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4030 if ${ac_cv_prog_cc_c89+:} false; then :
4031   $as_echo_n "(cached) " >&6
4032 else
4033   ac_cv_prog_cc_c89=no
4034 ac_save_CC=$CC
4035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4036 /* end confdefs.h.  */
4037 #include <stdarg.h>
4038 #include <stdio.h>
4039 struct stat;
4040 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4041 struct buf { int x; };
4042 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4043 static char *e (p, i)
4044      char **p;
4045      int i;
4046 {
4047   return p[i];
4048 }
4049 static char *f (char * (*g) (char **, int), char **p, ...)
4050 {
4051   char *s;
4052   va_list v;
4053   va_start (v,p);
4054   s = g (p, va_arg (v,int));
4055   va_end (v);
4056   return s;
4057 }
4058
4059 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4060    function prototypes and stuff, but not '\xHH' hex character constants.
4061    These don't provoke an error unfortunately, instead are silently treated
4062    as 'x'.  The following induces an error, until -std is added to get
4063    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4064    array size at least.  It's necessary to write '\x00'==0 to get something
4065    that's true only with -std.  */
4066 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4067
4068 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4069    inside strings and character constants.  */
4070 #define FOO(x) 'x'
4071 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4072
4073 int test (int i, double x);
4074 struct s1 {int (*f) (int a);};
4075 struct s2 {int (*f) (double a);};
4076 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4077 int argc;
4078 char **argv;
4079 int
4080 main ()
4081 {
4082 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4083   ;
4084   return 0;
4085 }
4086 _ACEOF
4087 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4088         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4089 do
4090   CC="$ac_save_CC $ac_arg"
4091   if ac_fn_c_try_compile "$LINENO"; then :
4092   ac_cv_prog_cc_c89=$ac_arg
4093 fi
4094 rm -f core conftest.err conftest.$ac_objext
4095   test "x$ac_cv_prog_cc_c89" != "xno" && break
4096 done
4097 rm -f conftest.$ac_ext
4098 CC=$ac_save_CC
4099
4100 fi
4101 # AC_CACHE_VAL
4102 case "x$ac_cv_prog_cc_c89" in
4103   x)
4104     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4105 $as_echo "none needed" >&6; } ;;
4106   xno)
4107     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4108 $as_echo "unsupported" >&6; } ;;
4109   *)
4110     CC="$CC $ac_cv_prog_cc_c89"
4111     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4112 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4113 esac
4114 if test "x$ac_cv_prog_cc_c89" != xno; then :
4115
4116 fi
4117
4118 ac_ext=c
4119 ac_cpp='$CPP $CPPFLAGS'
4120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4123
4124 ac_ext=c
4125 ac_cpp='$CPP $CPPFLAGS'
4126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4130 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4131 if ${am_cv_prog_cc_c_o+:} false; then :
4132   $as_echo_n "(cached) " >&6
4133 else
4134   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4135 /* end confdefs.h.  */
4136
4137 int
4138 main ()
4139 {
4140
4141   ;
4142   return 0;
4143 }
4144 _ACEOF
4145   # Make sure it works both with $CC and with simple cc.
4146   # Following AC_PROG_CC_C_O, we do the test twice because some
4147   # compilers refuse to overwrite an existing .o file with -o,
4148   # though they will create one.
4149   am_cv_prog_cc_c_o=yes
4150   for am_i in 1 2; do
4151     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4152    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4153    ac_status=$?
4154    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4155    (exit $ac_status); } \
4156          && test -f conftest2.$ac_objext; then
4157       : OK
4158     else
4159       am_cv_prog_cc_c_o=no
4160       break
4161     fi
4162   done
4163   rm -f core conftest*
4164   unset am_i
4165 fi
4166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4167 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4168 if test "$am_cv_prog_cc_c_o" != yes; then
4169    # Losing compiler, so override with the script.
4170    # FIXME: It is wrong to rewrite CC.
4171    # But if we don't then we get into trouble of one sort or another.
4172    # A longer-term fix would be to have automake use am__CC in this case,
4173    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4174    CC="$am_aux_dir/compile $CC"
4175 fi
4176 ac_ext=c
4177 ac_cpp='$CPP $CPPFLAGS'
4178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4181
4182
4183 depcc="$CC"   am_compiler_list=
4184
4185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4186 $as_echo_n "checking dependency style of $depcc... " >&6; }
4187 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4188   $as_echo_n "(cached) " >&6
4189 else
4190   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4191   # We make a subdir and do the tests there.  Otherwise we can end up
4192   # making bogus files that we don't know about and never remove.  For
4193   # instance it was reported that on HP-UX the gcc test will end up
4194   # making a dummy file named 'D' -- because '-MD' means "put the output
4195   # in D".
4196   rm -rf conftest.dir
4197   mkdir conftest.dir
4198   # Copy depcomp to subdir because otherwise we won't find it if we're
4199   # using a relative directory.
4200   cp "$am_depcomp" conftest.dir
4201   cd conftest.dir
4202   # We will build objects and dependencies in a subdirectory because
4203   # it helps to detect inapplicable dependency modes.  For instance
4204   # both Tru64's cc and ICC support -MD to output dependencies as a
4205   # side effect of compilation, but ICC will put the dependencies in
4206   # the current directory while Tru64 will put them in the object
4207   # directory.
4208   mkdir sub
4209
4210   am_cv_CC_dependencies_compiler_type=none
4211   if test "$am_compiler_list" = ""; then
4212      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4213   fi
4214   am__universal=false
4215   case " $depcc " in #(
4216      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4217      esac
4218
4219   for depmode in $am_compiler_list; do
4220     # Setup a source with many dependencies, because some compilers
4221     # like to wrap large dependency lists on column 80 (with \), and
4222     # we should not choose a depcomp mode which is confused by this.
4223     #
4224     # We need to recreate these files for each test, as the compiler may
4225     # overwrite some of them when testing with obscure command lines.
4226     # This happens at least with the AIX C compiler.
4227     : > sub/conftest.c
4228     for i in 1 2 3 4 5 6; do
4229       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4230       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4231       # Solaris 10 /bin/sh.
4232       echo '/* dummy */' > sub/conftst$i.h
4233     done
4234     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4235
4236     # We check with '-c' and '-o' for the sake of the "dashmstdout"
4237     # mode.  It turns out that the SunPro C++ compiler does not properly
4238     # handle '-M -o', and we need to detect this.  Also, some Intel
4239     # versions had trouble with output in subdirs.
4240     am__obj=sub/conftest.${OBJEXT-o}
4241     am__minus_obj="-o $am__obj"
4242     case $depmode in
4243     gcc)
4244       # This depmode causes a compiler race in universal mode.
4245       test "$am__universal" = false || continue
4246       ;;
4247     nosideeffect)
4248       # After this tag, mechanisms are not by side-effect, so they'll
4249       # only be used when explicitly requested.
4250       if test "x$enable_dependency_tracking" = xyes; then
4251         continue
4252       else
4253         break
4254       fi
4255       ;;
4256     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4257       # This compiler won't grok '-c -o', but also, the minuso test has
4258       # not run yet.  These depmodes are late enough in the game, and
4259       # so weak that their functioning should not be impacted.
4260       am__obj=conftest.${OBJEXT-o}
4261       am__minus_obj=
4262       ;;
4263     none) break ;;
4264     esac
4265     if depmode=$depmode \
4266        source=sub/conftest.c object=$am__obj \
4267        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4268        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4269          >/dev/null 2>conftest.err &&
4270        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4271        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4272        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4273        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4274       # icc doesn't choke on unknown options, it will just issue warnings
4275       # or remarks (even with -Werror).  So we grep stderr for any message
4276       # that says an option was ignored or not supported.
4277       # When given -MP, icc 7.0 and 7.1 complain thusly:
4278       #   icc: Command line warning: ignoring option '-M'; no argument required
4279       # The diagnosis changed in icc 8.0:
4280       #   icc: Command line remark: option '-MP' not supported
4281       if (grep 'ignoring option' conftest.err ||
4282           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4283         am_cv_CC_dependencies_compiler_type=$depmode
4284         break
4285       fi
4286     fi
4287   done
4288
4289   cd ..
4290   rm -rf conftest.dir
4291 else
4292   am_cv_CC_dependencies_compiler_type=none
4293 fi
4294
4295 fi
4296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4297 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4298 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4299
4300  if
4301   test "x$enable_dependency_tracking" != xno \
4302   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4303   am__fastdepCC_TRUE=
4304   am__fastdepCC_FALSE='#'
4305 else
4306   am__fastdepCC_TRUE='#'
4307   am__fastdepCC_FALSE=
4308 fi
4309
4310
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4312 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4313 if ${ac_cv_path_SED+:} false; then :
4314   $as_echo_n "(cached) " >&6
4315 else
4316             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4317      for ac_i in 1 2 3 4 5 6 7; do
4318        ac_script="$ac_script$as_nl$ac_script"
4319      done
4320      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4321      { ac_script=; unset ac_script;}
4322      if test -z "$SED"; then
4323   ac_path_SED_found=false
4324   # Loop through the user's path and test for each of PROGNAME-LIST
4325   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4326 for as_dir in $PATH
4327 do
4328   IFS=$as_save_IFS
4329   test -z "$as_dir" && as_dir=.
4330     for ac_prog in sed gsed; do
4331     for ac_exec_ext in '' $ac_executable_extensions; do
4332       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4333       as_fn_executable_p "$ac_path_SED" || continue
4334 # Check for GNU ac_path_SED and select it if it is found.
4335   # Check for GNU $ac_path_SED
4336 case `"$ac_path_SED" --version 2>&1` in
4337 *GNU*)
4338   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4339 *)
4340   ac_count=0
4341   $as_echo_n 0123456789 >"conftest.in"
4342   while :
4343   do
4344     cat "conftest.in" "conftest.in" >"conftest.tmp"
4345     mv "conftest.tmp" "conftest.in"
4346     cp "conftest.in" "conftest.nl"
4347     $as_echo '' >> "conftest.nl"
4348     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4349     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4350     as_fn_arith $ac_count + 1 && ac_count=$as_val
4351     if test $ac_count -gt ${ac_path_SED_max-0}; then
4352       # Best one so far, save it but keep looking for a better one
4353       ac_cv_path_SED="$ac_path_SED"
4354       ac_path_SED_max=$ac_count
4355     fi
4356     # 10*(2^10) chars as input seems more than enough
4357     test $ac_count -gt 10 && break
4358   done
4359   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4360 esac
4361
4362       $ac_path_SED_found && break 3
4363     done
4364   done
4365   done
4366 IFS=$as_save_IFS
4367   if test -z "$ac_cv_path_SED"; then
4368     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4369   fi
4370 else
4371   ac_cv_path_SED=$SED
4372 fi
4373
4374 fi
4375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4376 $as_echo "$ac_cv_path_SED" >&6; }
4377  SED="$ac_cv_path_SED"
4378   rm -f conftest.sed
4379
4380 test -z "$SED" && SED=sed
4381 Xsed="$SED -e 1s/^X//"
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4394 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4395 if ${ac_cv_path_GREP+:} false; then :
4396   $as_echo_n "(cached) " >&6
4397 else
4398   if test -z "$GREP"; then
4399   ac_path_GREP_found=false
4400   # Loop through the user's path and test for each of PROGNAME-LIST
4401   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4402 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4403 do
4404   IFS=$as_save_IFS
4405   test -z "$as_dir" && as_dir=.
4406     for ac_prog in grep ggrep; do
4407     for ac_exec_ext in '' $ac_executable_extensions; do
4408       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4409       as_fn_executable_p "$ac_path_GREP" || continue
4410 # Check for GNU ac_path_GREP and select it if it is found.
4411   # Check for GNU $ac_path_GREP
4412 case `"$ac_path_GREP" --version 2>&1` in
4413 *GNU*)
4414   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4415 *)
4416   ac_count=0
4417   $as_echo_n 0123456789 >"conftest.in"
4418   while :
4419   do
4420     cat "conftest.in" "conftest.in" >"conftest.tmp"
4421     mv "conftest.tmp" "conftest.in"
4422     cp "conftest.in" "conftest.nl"
4423     $as_echo 'GREP' >> "conftest.nl"
4424     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4425     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4426     as_fn_arith $ac_count + 1 && ac_count=$as_val
4427     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4428       # Best one so far, save it but keep looking for a better one
4429       ac_cv_path_GREP="$ac_path_GREP"
4430       ac_path_GREP_max=$ac_count
4431     fi
4432     # 10*(2^10) chars as input seems more than enough
4433     test $ac_count -gt 10 && break
4434   done
4435   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4436 esac
4437
4438       $ac_path_GREP_found && break 3
4439     done
4440   done
4441   done
4442 IFS=$as_save_IFS
4443   if test -z "$ac_cv_path_GREP"; then
4444     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4445   fi
4446 else
4447   ac_cv_path_GREP=$GREP
4448 fi
4449
4450 fi
4451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4452 $as_echo "$ac_cv_path_GREP" >&6; }
4453  GREP="$ac_cv_path_GREP"
4454
4455
4456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4457 $as_echo_n "checking for egrep... " >&6; }
4458 if ${ac_cv_path_EGREP+:} false; then :
4459   $as_echo_n "(cached) " >&6
4460 else
4461   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4462    then ac_cv_path_EGREP="$GREP -E"
4463    else
4464      if test -z "$EGREP"; then
4465   ac_path_EGREP_found=false
4466   # Loop through the user's path and test for each of PROGNAME-LIST
4467   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4468 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4469 do
4470   IFS=$as_save_IFS
4471   test -z "$as_dir" && as_dir=.
4472     for ac_prog in egrep; do
4473     for ac_exec_ext in '' $ac_executable_extensions; do
4474       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4475       as_fn_executable_p "$ac_path_EGREP" || continue
4476 # Check for GNU ac_path_EGREP and select it if it is found.
4477   # Check for GNU $ac_path_EGREP
4478 case `"$ac_path_EGREP" --version 2>&1` in
4479 *GNU*)
4480   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4481 *)
4482   ac_count=0
4483   $as_echo_n 0123456789 >"conftest.in"
4484   while :
4485   do
4486     cat "conftest.in" "conftest.in" >"conftest.tmp"
4487     mv "conftest.tmp" "conftest.in"
4488     cp "conftest.in" "conftest.nl"
4489     $as_echo 'EGREP' >> "conftest.nl"
4490     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4491     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4492     as_fn_arith $ac_count + 1 && ac_count=$as_val
4493     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4494       # Best one so far, save it but keep looking for a better one
4495       ac_cv_path_EGREP="$ac_path_EGREP"
4496       ac_path_EGREP_max=$ac_count
4497     fi
4498     # 10*(2^10) chars as input seems more than enough
4499     test $ac_count -gt 10 && break
4500   done
4501   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4502 esac
4503
4504       $ac_path_EGREP_found && break 3
4505     done
4506   done
4507   done
4508 IFS=$as_save_IFS
4509   if test -z "$ac_cv_path_EGREP"; then
4510     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4511   fi
4512 else
4513   ac_cv_path_EGREP=$EGREP
4514 fi
4515
4516    fi
4517 fi
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4519 $as_echo "$ac_cv_path_EGREP" >&6; }
4520  EGREP="$ac_cv_path_EGREP"
4521
4522
4523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4524 $as_echo_n "checking for fgrep... " >&6; }
4525 if ${ac_cv_path_FGREP+:} false; then :
4526   $as_echo_n "(cached) " >&6
4527 else
4528   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4529    then ac_cv_path_FGREP="$GREP -F"
4530    else
4531      if test -z "$FGREP"; then
4532   ac_path_FGREP_found=false
4533   # Loop through the user's path and test for each of PROGNAME-LIST
4534   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4535 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4536 do
4537   IFS=$as_save_IFS
4538   test -z "$as_dir" && as_dir=.
4539     for ac_prog in fgrep; do
4540     for ac_exec_ext in '' $ac_executable_extensions; do
4541       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4542       as_fn_executable_p "$ac_path_FGREP" || continue
4543 # Check for GNU ac_path_FGREP and select it if it is found.
4544   # Check for GNU $ac_path_FGREP
4545 case `"$ac_path_FGREP" --version 2>&1` in
4546 *GNU*)
4547   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4548 *)
4549   ac_count=0
4550   $as_echo_n 0123456789 >"conftest.in"
4551   while :
4552   do
4553     cat "conftest.in" "conftest.in" >"conftest.tmp"
4554     mv "conftest.tmp" "conftest.in"
4555     cp "conftest.in" "conftest.nl"
4556     $as_echo 'FGREP' >> "conftest.nl"
4557     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4558     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4559     as_fn_arith $ac_count + 1 && ac_count=$as_val
4560     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4561       # Best one so far, save it but keep looking for a better one
4562       ac_cv_path_FGREP="$ac_path_FGREP"
4563       ac_path_FGREP_max=$ac_count
4564     fi
4565     # 10*(2^10) chars as input seems more than enough
4566     test $ac_count -gt 10 && break
4567   done
4568   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4569 esac
4570
4571       $ac_path_FGREP_found && break 3
4572     done
4573   done
4574   done
4575 IFS=$as_save_IFS
4576   if test -z "$ac_cv_path_FGREP"; then
4577     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4578   fi
4579 else
4580   ac_cv_path_FGREP=$FGREP
4581 fi
4582
4583    fi
4584 fi
4585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4586 $as_echo "$ac_cv_path_FGREP" >&6; }
4587  FGREP="$ac_cv_path_FGREP"
4588
4589
4590 test -z "$GREP" && GREP=grep
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610 # Check whether --with-gnu-ld was given.
4611 if test "${with_gnu_ld+set}" = set; then :
4612   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4613 else
4614   with_gnu_ld=no
4615 fi
4616
4617 ac_prog=ld
4618 if test "$GCC" = yes; then
4619   # Check if gcc -print-prog-name=ld gives a path.
4620   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4621 $as_echo_n "checking for ld used by $CC... " >&6; }
4622   case $host in
4623   *-*-mingw*)
4624     # gcc leaves a trailing carriage return which upsets mingw
4625     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4626   *)
4627     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4628   esac
4629   case $ac_prog in
4630     # Accept absolute paths.
4631     [\\/]* | ?:[\\/]*)
4632       re_direlt='/[^/][^/]*/\.\./'
4633       # Canonicalize the pathname of ld
4634       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4635       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4636         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4637       done
4638       test -z "$LD" && LD="$ac_prog"
4639       ;;
4640   "")
4641     # If it fails, then pretend we aren't using GCC.
4642     ac_prog=ld
4643     ;;
4644   *)
4645     # If it is relative, then search for the first ld in PATH.
4646     with_gnu_ld=unknown
4647     ;;
4648   esac
4649 elif test "$with_gnu_ld" = yes; then
4650   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4651 $as_echo_n "checking for GNU ld... " >&6; }
4652 else
4653   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4654 $as_echo_n "checking for non-GNU ld... " >&6; }
4655 fi
4656 if ${lt_cv_path_LD+:} false; then :
4657   $as_echo_n "(cached) " >&6
4658 else
4659   if test -z "$LD"; then
4660   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4661   for ac_dir in $PATH; do
4662     IFS="$lt_save_ifs"
4663     test -z "$ac_dir" && ac_dir=.
4664     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4665       lt_cv_path_LD="$ac_dir/$ac_prog"
4666       # Check to see if the program is GNU ld.  I'd rather use --version,
4667       # but apparently some variants of GNU ld only accept -v.
4668       # Break only if it was the GNU/non-GNU ld that we prefer.
4669       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4670       *GNU* | *'with BFD'*)
4671         test "$with_gnu_ld" != no && break
4672         ;;
4673       *)
4674         test "$with_gnu_ld" != yes && break
4675         ;;
4676       esac
4677     fi
4678   done
4679   IFS="$lt_save_ifs"
4680 else
4681   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4682 fi
4683 fi
4684
4685 LD="$lt_cv_path_LD"
4686 if test -n "$LD"; then
4687   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4688 $as_echo "$LD" >&6; }
4689 else
4690   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4691 $as_echo "no" >&6; }
4692 fi
4693 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4695 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4696 if ${lt_cv_prog_gnu_ld+:} false; then :
4697   $as_echo_n "(cached) " >&6
4698 else
4699   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4700 case `$LD -v 2>&1 </dev/null` in
4701 *GNU* | *'with BFD'*)
4702   lt_cv_prog_gnu_ld=yes
4703   ;;
4704 *)
4705   lt_cv_prog_gnu_ld=no
4706   ;;
4707 esac
4708 fi
4709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4710 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4711 with_gnu_ld=$lt_cv_prog_gnu_ld
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4722 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4723 if ${lt_cv_path_NM+:} false; then :
4724   $as_echo_n "(cached) " >&6
4725 else
4726   if test -n "$NM"; then
4727   # Let the user override the test.
4728   lt_cv_path_NM="$NM"
4729 else
4730   lt_nm_to_check="${ac_tool_prefix}nm"
4731   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4732     lt_nm_to_check="$lt_nm_to_check nm"
4733   fi
4734   for lt_tmp_nm in $lt_nm_to_check; do
4735     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4736     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4737       IFS="$lt_save_ifs"
4738       test -z "$ac_dir" && ac_dir=.
4739       tmp_nm="$ac_dir/$lt_tmp_nm"
4740       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4741         # Check to see if the nm accepts a BSD-compat flag.
4742         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4743         #   nm: unknown option "B" ignored
4744         # Tru64's nm complains that /dev/null is an invalid object file
4745         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4746         */dev/null* | *'Invalid file or object type'*)
4747           lt_cv_path_NM="$tmp_nm -B"
4748           break
4749           ;;
4750         *)
4751           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4752           */dev/null*)
4753             lt_cv_path_NM="$tmp_nm -p"
4754             break
4755             ;;
4756           *)
4757             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4758             continue # so that we can try to find one that supports BSD flags
4759             ;;
4760           esac
4761           ;;
4762         esac
4763       fi
4764     done
4765     IFS="$lt_save_ifs"
4766   done
4767   : ${lt_cv_path_NM=no}
4768 fi
4769 fi
4770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4771 $as_echo "$lt_cv_path_NM" >&6; }
4772 if test "$lt_cv_path_NM" != "no"; then
4773   NM="$lt_cv_path_NM"
4774 else
4775   # Didn't find any BSD compatible name lister, look for dumpbin.
4776   if test -n "$DUMPBIN"; then :
4777     # Let the user override the test.
4778   else
4779     if test -n "$ac_tool_prefix"; then
4780   for ac_prog in dumpbin "link -dump"
4781   do
4782     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4783 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4785 $as_echo_n "checking for $ac_word... " >&6; }
4786 if ${ac_cv_prog_DUMPBIN+:} false; then :
4787   $as_echo_n "(cached) " >&6
4788 else
4789   if test -n "$DUMPBIN"; then
4790   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4791 else
4792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4793 for as_dir in $PATH
4794 do
4795   IFS=$as_save_IFS
4796   test -z "$as_dir" && as_dir=.
4797     for ac_exec_ext in '' $ac_executable_extensions; do
4798   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4799     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4800     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4801     break 2
4802   fi
4803 done
4804   done
4805 IFS=$as_save_IFS
4806
4807 fi
4808 fi
4809 DUMPBIN=$ac_cv_prog_DUMPBIN
4810 if test -n "$DUMPBIN"; then
4811   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4812 $as_echo "$DUMPBIN" >&6; }
4813 else
4814   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4815 $as_echo "no" >&6; }
4816 fi
4817
4818
4819     test -n "$DUMPBIN" && break
4820   done
4821 fi
4822 if test -z "$DUMPBIN"; then
4823   ac_ct_DUMPBIN=$DUMPBIN
4824   for ac_prog in dumpbin "link -dump"
4825 do
4826   # Extract the first word of "$ac_prog", so it can be a program name with args.
4827 set dummy $ac_prog; ac_word=$2
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4829 $as_echo_n "checking for $ac_word... " >&6; }
4830 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4831   $as_echo_n "(cached) " >&6
4832 else
4833   if test -n "$ac_ct_DUMPBIN"; then
4834   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4835 else
4836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4837 for as_dir in $PATH
4838 do
4839   IFS=$as_save_IFS
4840   test -z "$as_dir" && as_dir=.
4841     for ac_exec_ext in '' $ac_executable_extensions; do
4842   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4843     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4844     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4845     break 2
4846   fi
4847 done
4848   done
4849 IFS=$as_save_IFS
4850
4851 fi
4852 fi
4853 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4854 if test -n "$ac_ct_DUMPBIN"; then
4855   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4856 $as_echo "$ac_ct_DUMPBIN" >&6; }
4857 else
4858   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4859 $as_echo "no" >&6; }
4860 fi
4861
4862
4863   test -n "$ac_ct_DUMPBIN" && break
4864 done
4865
4866   if test "x$ac_ct_DUMPBIN" = x; then
4867     DUMPBIN=":"
4868   else
4869     case $cross_compiling:$ac_tool_warned in
4870 yes:)
4871 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4872 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4873 ac_tool_warned=yes ;;
4874 esac
4875     DUMPBIN=$ac_ct_DUMPBIN
4876   fi
4877 fi
4878
4879     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4880     *COFF*)
4881       DUMPBIN="$DUMPBIN -symbols"
4882       ;;
4883     *)
4884       DUMPBIN=:
4885       ;;
4886     esac
4887   fi
4888
4889   if test "$DUMPBIN" != ":"; then
4890     NM="$DUMPBIN"
4891   fi
4892 fi
4893 test -z "$NM" && NM=nm
4894
4895
4896
4897
4898
4899
4900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4901 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4902 if ${lt_cv_nm_interface+:} false; then :
4903   $as_echo_n "(cached) " >&6
4904 else
4905   lt_cv_nm_interface="BSD nm"
4906   echo "int some_variable = 0;" > conftest.$ac_ext
4907   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4908   (eval "$ac_compile" 2>conftest.err)
4909   cat conftest.err >&5
4910   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4911   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4912   cat conftest.err >&5
4913   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4914   cat conftest.out >&5
4915   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4916     lt_cv_nm_interface="MS dumpbin"
4917   fi
4918   rm -f conftest*
4919 fi
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4921 $as_echo "$lt_cv_nm_interface" >&6; }
4922
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4924 $as_echo_n "checking whether ln -s works... " >&6; }
4925 LN_S=$as_ln_s
4926 if test "$LN_S" = "ln -s"; then
4927   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4928 $as_echo "yes" >&6; }
4929 else
4930   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4931 $as_echo "no, using $LN_S" >&6; }
4932 fi
4933
4934 # find the maximum length of command line arguments
4935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4936 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4937 if ${lt_cv_sys_max_cmd_len+:} false; then :
4938   $as_echo_n "(cached) " >&6
4939 else
4940     i=0
4941   teststring="ABCD"
4942
4943   case $build_os in
4944   msdosdjgpp*)
4945     # On DJGPP, this test can blow up pretty badly due to problems in libc
4946     # (any single argument exceeding 2000 bytes causes a buffer overrun
4947     # during glob expansion).  Even if it were fixed, the result of this
4948     # check would be larger than it should be.
4949     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4950     ;;
4951
4952   gnu*)
4953     # Under GNU Hurd, this test is not required because there is
4954     # no limit to the length of command line arguments.
4955     # Libtool will interpret -1 as no limit whatsoever
4956     lt_cv_sys_max_cmd_len=-1;
4957     ;;
4958
4959   cygwin* | mingw* | cegcc*)
4960     # On Win9x/ME, this test blows up -- it succeeds, but takes
4961     # about 5 minutes as the teststring grows exponentially.
4962     # Worse, since 9x/ME are not pre-emptively multitasking,
4963     # you end up with a "frozen" computer, even though with patience
4964     # the test eventually succeeds (with a max line length of 256k).
4965     # Instead, let's just punt: use the minimum linelength reported by
4966     # all of the supported platforms: 8192 (on NT/2K/XP).
4967     lt_cv_sys_max_cmd_len=8192;
4968     ;;
4969
4970   mint*)
4971     # On MiNT this can take a long time and run out of memory.
4972     lt_cv_sys_max_cmd_len=8192;
4973     ;;
4974
4975   amigaos*)
4976     # On AmigaOS with pdksh, this test takes hours, literally.
4977     # So we just punt and use a minimum line length of 8192.
4978     lt_cv_sys_max_cmd_len=8192;
4979     ;;
4980
4981   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4982     # This has been around since 386BSD, at least.  Likely further.
4983     if test -x /sbin/sysctl; then
4984       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4985     elif test -x /usr/sbin/sysctl; then
4986       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4987     else
4988       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
4989     fi
4990     # And add a safety zone
4991     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4992     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4993     ;;
4994
4995   interix*)
4996     # We know the value 262144 and hardcode it with a safety zone (like BSD)
4997     lt_cv_sys_max_cmd_len=196608
4998     ;;
4999
5000   os2*)
5001     # The test takes a long time on OS/2.
5002     lt_cv_sys_max_cmd_len=8192
5003     ;;
5004
5005   osf*)
5006     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5007     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5008     # nice to cause kernel panics so lets avoid the loop below.
5009     # First set a reasonable default.
5010     lt_cv_sys_max_cmd_len=16384
5011     #
5012     if test -x /sbin/sysconfig; then
5013       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5014         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5015       esac
5016     fi
5017     ;;
5018   sco3.2v5*)
5019     lt_cv_sys_max_cmd_len=102400
5020     ;;
5021   sysv5* | sco5v6* | sysv4.2uw2*)
5022     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5023     if test -n "$kargmax"; then
5024       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5025     else
5026       lt_cv_sys_max_cmd_len=32768
5027     fi
5028     ;;
5029   *)
5030     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5031     if test -n "$lt_cv_sys_max_cmd_len"; then
5032       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5033       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5034     else
5035       # Make teststring a little bigger before we do anything with it.
5036       # a 1K string should be a reasonable start.
5037       for i in 1 2 3 4 5 6 7 8 ; do
5038         teststring=$teststring$teststring
5039       done
5040       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5041       # If test is not a shell built-in, we'll probably end up computing a
5042       # maximum length that is only half of the actual maximum length, but
5043       # we can't tell.
5044       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5045                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5046               test $i != 17 # 1/2 MB should be enough
5047       do
5048         i=`expr $i + 1`
5049         teststring=$teststring$teststring
5050       done
5051       # Only check the string length outside the loop.
5052       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5053       teststring=
5054       # Add a significant safety factor because C++ compilers can tack on
5055       # massive amounts of additional arguments before passing them to the
5056       # linker.  It appears as though 1/2 is a usable value.
5057       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5058     fi
5059     ;;
5060   esac
5061
5062 fi
5063
5064 if test -n $lt_cv_sys_max_cmd_len ; then
5065   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5066 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5067 else
5068   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5069 $as_echo "none" >&6; }
5070 fi
5071 max_cmd_len=$lt_cv_sys_max_cmd_len
5072
5073
5074
5075
5076
5077
5078 : ${CP="cp -f"}
5079 : ${MV="mv -f"}
5080 : ${RM="rm -f"}
5081
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5083 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5084 # Try some XSI features
5085 xsi_shell=no
5086 ( _lt_dummy="a/b/c"
5087   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5088       = c,a/b,b/c, \
5089     && eval 'test $(( 1 + 1 )) -eq 2 \
5090     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5091   && xsi_shell=yes
5092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5093 $as_echo "$xsi_shell" >&6; }
5094
5095
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5097 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5098 lt_shell_append=no
5099 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5100     >/dev/null 2>&1 \
5101   && lt_shell_append=yes
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5103 $as_echo "$lt_shell_append" >&6; }
5104
5105
5106 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5107   lt_unset=unset
5108 else
5109   lt_unset=false
5110 fi
5111
5112
5113
5114
5115
5116 # test EBCDIC or ASCII
5117 case `echo X|tr X '\101'` in
5118  A) # ASCII based system
5119     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5120   lt_SP2NL='tr \040 \012'
5121   lt_NL2SP='tr \015\012 \040\040'
5122   ;;
5123  *) # EBCDIC based system
5124   lt_SP2NL='tr \100 \n'
5125   lt_NL2SP='tr \r\n \100\100'
5126   ;;
5127 esac
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5138 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5139 if ${lt_cv_to_host_file_cmd+:} false; then :
5140   $as_echo_n "(cached) " >&6
5141 else
5142   case $host in
5143   *-*-mingw* )
5144     case $build in
5145       *-*-mingw* ) # actually msys
5146         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5147         ;;
5148       *-*-cygwin* )
5149         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5150         ;;
5151       * ) # otherwise, assume *nix
5152         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5153         ;;
5154     esac
5155     ;;
5156   *-*-cygwin* )
5157     case $build in
5158       *-*-mingw* ) # actually msys
5159         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5160         ;;
5161       *-*-cygwin* )
5162         lt_cv_to_host_file_cmd=func_convert_file_noop
5163         ;;
5164       * ) # otherwise, assume *nix
5165         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5166         ;;
5167     esac
5168     ;;
5169   * ) # unhandled hosts (and "normal" native builds)
5170     lt_cv_to_host_file_cmd=func_convert_file_noop
5171     ;;
5172 esac
5173
5174 fi
5175
5176 to_host_file_cmd=$lt_cv_to_host_file_cmd
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5178 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5179
5180
5181
5182
5183
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5185 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5186 if ${lt_cv_to_tool_file_cmd+:} false; then :
5187   $as_echo_n "(cached) " >&6
5188 else
5189   #assume ordinary cross tools, or native build.
5190 lt_cv_to_tool_file_cmd=func_convert_file_noop
5191 case $host in
5192   *-*-mingw* )
5193     case $build in
5194       *-*-mingw* ) # actually msys
5195         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5196         ;;
5197     esac
5198     ;;
5199 esac
5200
5201 fi
5202
5203 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5205 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5206
5207
5208
5209
5210
5211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5212 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5213 if ${lt_cv_ld_reload_flag+:} false; then :
5214   $as_echo_n "(cached) " >&6
5215 else
5216   lt_cv_ld_reload_flag='-r'
5217 fi
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5219 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5220 reload_flag=$lt_cv_ld_reload_flag
5221 case $reload_flag in
5222 "" | " "*) ;;
5223 *) reload_flag=" $reload_flag" ;;
5224 esac
5225 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5226 case $host_os in
5227   cygwin* | mingw* | pw32* | cegcc*)
5228     if test "$GCC" != yes; then
5229       reload_cmds=false
5230     fi
5231     ;;
5232   darwin*)
5233     if test "$GCC" = yes; then
5234       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5235     else
5236       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5237     fi
5238     ;;
5239 esac
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249 if test -n "$ac_tool_prefix"; then
5250   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5251 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5253 $as_echo_n "checking for $ac_word... " >&6; }
5254 if ${ac_cv_prog_OBJDUMP+:} false; then :
5255   $as_echo_n "(cached) " >&6
5256 else
5257   if test -n "$OBJDUMP"; then
5258   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5259 else
5260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5261 for as_dir in $PATH
5262 do
5263   IFS=$as_save_IFS
5264   test -z "$as_dir" && as_dir=.
5265     for ac_exec_ext in '' $ac_executable_extensions; do
5266   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5267     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5268     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5269     break 2
5270   fi
5271 done
5272   done
5273 IFS=$as_save_IFS
5274
5275 fi
5276 fi
5277 OBJDUMP=$ac_cv_prog_OBJDUMP
5278 if test -n "$OBJDUMP"; then
5279   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5280 $as_echo "$OBJDUMP" >&6; }
5281 else
5282   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5283 $as_echo "no" >&6; }
5284 fi
5285
5286
5287 fi
5288 if test -z "$ac_cv_prog_OBJDUMP"; then
5289   ac_ct_OBJDUMP=$OBJDUMP
5290   # Extract the first word of "objdump", so it can be a program name with args.
5291 set dummy objdump; ac_word=$2
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5293 $as_echo_n "checking for $ac_word... " >&6; }
5294 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5295   $as_echo_n "(cached) " >&6
5296 else
5297   if test -n "$ac_ct_OBJDUMP"; then
5298   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5299 else
5300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5301 for as_dir in $PATH
5302 do
5303   IFS=$as_save_IFS
5304   test -z "$as_dir" && as_dir=.
5305     for ac_exec_ext in '' $ac_executable_extensions; do
5306   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5307     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5308     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5309     break 2
5310   fi
5311 done
5312   done
5313 IFS=$as_save_IFS
5314
5315 fi
5316 fi
5317 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5318 if test -n "$ac_ct_OBJDUMP"; then
5319   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5320 $as_echo "$ac_ct_OBJDUMP" >&6; }
5321 else
5322   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5323 $as_echo "no" >&6; }
5324 fi
5325
5326   if test "x$ac_ct_OBJDUMP" = x; then
5327     OBJDUMP="false"
5328   else
5329     case $cross_compiling:$ac_tool_warned in
5330 yes:)
5331 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5332 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5333 ac_tool_warned=yes ;;
5334 esac
5335     OBJDUMP=$ac_ct_OBJDUMP
5336   fi
5337 else
5338   OBJDUMP="$ac_cv_prog_OBJDUMP"
5339 fi
5340
5341 test -z "$OBJDUMP" && OBJDUMP=objdump
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5352 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5353 if ${lt_cv_deplibs_check_method+:} false; then :
5354   $as_echo_n "(cached) " >&6
5355 else
5356   lt_cv_file_magic_cmd='$MAGIC_CMD'
5357 lt_cv_file_magic_test_file=
5358 lt_cv_deplibs_check_method='unknown'
5359 # Need to set the preceding variable on all platforms that support
5360 # interlibrary dependencies.
5361 # 'none' -- dependencies not supported.
5362 # `unknown' -- same as none, but documents that we really don't know.
5363 # 'pass_all' -- all dependencies passed with no checks.
5364 # 'test_compile' -- check by making test program.
5365 # 'file_magic [[regex]]' -- check by looking for files in library path
5366 # which responds to the $file_magic_cmd with a given extended regex.
5367 # If you have `file' or equivalent on your system and you're not sure
5368 # whether `pass_all' will *always* work, you probably want this one.
5369
5370 case $host_os in
5371 aix[4-9]*)
5372   lt_cv_deplibs_check_method=pass_all
5373   ;;
5374
5375 beos*)
5376   lt_cv_deplibs_check_method=pass_all
5377   ;;
5378
5379 bsdi[45]*)
5380   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5381   lt_cv_file_magic_cmd='/usr/bin/file -L'
5382   lt_cv_file_magic_test_file=/shlib/libc.so
5383   ;;
5384
5385 cygwin*)
5386   # func_win32_libid is a shell function defined in ltmain.sh
5387   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5388   lt_cv_file_magic_cmd='func_win32_libid'
5389   ;;
5390
5391 mingw* | pw32*)
5392   # Base MSYS/MinGW do not provide the 'file' command needed by
5393   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5394   # unless we find 'file', for example because we are cross-compiling.
5395   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5396   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5397     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5398     lt_cv_file_magic_cmd='func_win32_libid'
5399   else
5400     # Keep this pattern in sync with the one in func_win32_libid.
5401     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5402     lt_cv_file_magic_cmd='$OBJDUMP -f'
5403   fi
5404   ;;
5405
5406 cegcc*)
5407   # use the weaker test based on 'objdump'. See mingw*.
5408   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5409   lt_cv_file_magic_cmd='$OBJDUMP -f'
5410   ;;
5411
5412 darwin* | rhapsody*)
5413   lt_cv_deplibs_check_method=pass_all
5414   ;;
5415
5416 freebsd* | dragonfly*)
5417   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5418     case $host_cpu in
5419     i*86 )
5420       # Not sure whether the presence of OpenBSD here was a mistake.
5421       # Let's accept both of them until this is cleared up.
5422       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5423       lt_cv_file_magic_cmd=/usr/bin/file
5424       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5425       ;;
5426     esac
5427   else
5428     lt_cv_deplibs_check_method=pass_all
5429   fi
5430   ;;
5431
5432 gnu*)
5433   lt_cv_deplibs_check_method=pass_all
5434   ;;
5435
5436 haiku*)
5437   lt_cv_deplibs_check_method=pass_all
5438   ;;
5439
5440 hpux10.20* | hpux11*)
5441   lt_cv_file_magic_cmd=/usr/bin/file
5442   case $host_cpu in
5443   ia64*)
5444     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5445     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5446     ;;
5447   hppa*64*)
5448     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]'
5449     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5450     ;;
5451   *)
5452     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5453     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5454     ;;
5455   esac
5456   ;;
5457
5458 interix[3-9]*)
5459   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5460   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5461   ;;
5462
5463 irix5* | irix6* | nonstopux*)
5464   case $LD in
5465   *-32|*"-32 ") libmagic=32-bit;;
5466   *-n32|*"-n32 ") libmagic=N32;;
5467   *-64|*"-64 ") libmagic=64-bit;;
5468   *) libmagic=never-match;;
5469   esac
5470   lt_cv_deplibs_check_method=pass_all
5471   ;;
5472
5473 # This must be glibc/ELF.
5474 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5475   lt_cv_deplibs_check_method=pass_all
5476   ;;
5477
5478 netbsd*)
5479   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5480     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5481   else
5482     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5483   fi
5484   ;;
5485
5486 newos6*)
5487   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5488   lt_cv_file_magic_cmd=/usr/bin/file
5489   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5490   ;;
5491
5492 *nto* | *qnx*)
5493   lt_cv_deplibs_check_method=pass_all
5494   ;;
5495
5496 openbsd*)
5497   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5498     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5499   else
5500     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5501   fi
5502   ;;
5503
5504 osf3* | osf4* | osf5*)
5505   lt_cv_deplibs_check_method=pass_all
5506   ;;
5507
5508 rdos*)
5509   lt_cv_deplibs_check_method=pass_all
5510   ;;
5511
5512 solaris*)
5513   lt_cv_deplibs_check_method=pass_all
5514   ;;
5515
5516 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5517   lt_cv_deplibs_check_method=pass_all
5518   ;;
5519
5520 sysv4 | sysv4.3*)
5521   case $host_vendor in
5522   motorola)
5523     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]'
5524     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5525     ;;
5526   ncr)
5527     lt_cv_deplibs_check_method=pass_all
5528     ;;
5529   sequent)
5530     lt_cv_file_magic_cmd='/bin/file'
5531     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5532     ;;
5533   sni)
5534     lt_cv_file_magic_cmd='/bin/file'
5535     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5536     lt_cv_file_magic_test_file=/lib/libc.so
5537     ;;
5538   siemens)
5539     lt_cv_deplibs_check_method=pass_all
5540     ;;
5541   pc)
5542     lt_cv_deplibs_check_method=pass_all
5543     ;;
5544   esac
5545   ;;
5546
5547 tpf*)
5548   lt_cv_deplibs_check_method=pass_all
5549   ;;
5550 esac
5551
5552 fi
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5554 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5555
5556 file_magic_glob=
5557 want_nocaseglob=no
5558 if test "$build" = "$host"; then
5559   case $host_os in
5560   mingw* | pw32*)
5561     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5562       want_nocaseglob=yes
5563     else
5564       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5565     fi
5566     ;;
5567   esac
5568 fi
5569
5570 file_magic_cmd=$lt_cv_file_magic_cmd
5571 deplibs_check_method=$lt_cv_deplibs_check_method
5572 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595 if test -n "$ac_tool_prefix"; then
5596   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5597 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5599 $as_echo_n "checking for $ac_word... " >&6; }
5600 if ${ac_cv_prog_DLLTOOL+:} false; then :
5601   $as_echo_n "(cached) " >&6
5602 else
5603   if test -n "$DLLTOOL"; then
5604   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5605 else
5606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5607 for as_dir in $PATH
5608 do
5609   IFS=$as_save_IFS
5610   test -z "$as_dir" && as_dir=.
5611     for ac_exec_ext in '' $ac_executable_extensions; do
5612   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5613     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5614     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5615     break 2
5616   fi
5617 done
5618   done
5619 IFS=$as_save_IFS
5620
5621 fi
5622 fi
5623 DLLTOOL=$ac_cv_prog_DLLTOOL
5624 if test -n "$DLLTOOL"; then
5625   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5626 $as_echo "$DLLTOOL" >&6; }
5627 else
5628   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5629 $as_echo "no" >&6; }
5630 fi
5631
5632
5633 fi
5634 if test -z "$ac_cv_prog_DLLTOOL"; then
5635   ac_ct_DLLTOOL=$DLLTOOL
5636   # Extract the first word of "dlltool", so it can be a program name with args.
5637 set dummy dlltool; ac_word=$2
5638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5639 $as_echo_n "checking for $ac_word... " >&6; }
5640 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5641   $as_echo_n "(cached) " >&6
5642 else
5643   if test -n "$ac_ct_DLLTOOL"; then
5644   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5645 else
5646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5647 for as_dir in $PATH
5648 do
5649   IFS=$as_save_IFS
5650   test -z "$as_dir" && as_dir=.
5651     for ac_exec_ext in '' $ac_executable_extensions; do
5652   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5653     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5654     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5655     break 2
5656   fi
5657 done
5658   done
5659 IFS=$as_save_IFS
5660
5661 fi
5662 fi
5663 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5664 if test -n "$ac_ct_DLLTOOL"; then
5665   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5666 $as_echo "$ac_ct_DLLTOOL" >&6; }
5667 else
5668   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5669 $as_echo "no" >&6; }
5670 fi
5671
5672   if test "x$ac_ct_DLLTOOL" = x; then
5673     DLLTOOL="false"
5674   else
5675     case $cross_compiling:$ac_tool_warned in
5676 yes:)
5677 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5678 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5679 ac_tool_warned=yes ;;
5680 esac
5681     DLLTOOL=$ac_ct_DLLTOOL
5682   fi
5683 else
5684   DLLTOOL="$ac_cv_prog_DLLTOOL"
5685 fi
5686
5687 test -z "$DLLTOOL" && DLLTOOL=dlltool
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5699 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5700 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5701   $as_echo_n "(cached) " >&6
5702 else
5703   lt_cv_sharedlib_from_linklib_cmd='unknown'
5704
5705 case $host_os in
5706 cygwin* | mingw* | pw32* | cegcc*)
5707   # two different shell functions defined in ltmain.sh
5708   # decide which to use based on capabilities of $DLLTOOL
5709   case `$DLLTOOL --help 2>&1` in
5710   *--identify-strict*)
5711     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5712     ;;
5713   *)
5714     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5715     ;;
5716   esac
5717   ;;
5718 *)
5719   # fallback: assume linklib IS sharedlib
5720   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5721   ;;
5722 esac
5723
5724 fi
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5726 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5727 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5728 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5729
5730
5731
5732
5733
5734
5735
5736
5737 if test -n "$ac_tool_prefix"; then
5738   for ac_prog in ar
5739   do
5740     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5741 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5743 $as_echo_n "checking for $ac_word... " >&6; }
5744 if ${ac_cv_prog_AR+:} false; then :
5745   $as_echo_n "(cached) " >&6
5746 else
5747   if test -n "$AR"; then
5748   ac_cv_prog_AR="$AR" # Let the user override the test.
5749 else
5750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5751 for as_dir in $PATH
5752 do
5753   IFS=$as_save_IFS
5754   test -z "$as_dir" && as_dir=.
5755     for ac_exec_ext in '' $ac_executable_extensions; do
5756   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5757     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5758     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5759     break 2
5760   fi
5761 done
5762   done
5763 IFS=$as_save_IFS
5764
5765 fi
5766 fi
5767 AR=$ac_cv_prog_AR
5768 if test -n "$AR"; then
5769   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5770 $as_echo "$AR" >&6; }
5771 else
5772   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5773 $as_echo "no" >&6; }
5774 fi
5775
5776
5777     test -n "$AR" && break
5778   done
5779 fi
5780 if test -z "$AR"; then
5781   ac_ct_AR=$AR
5782   for ac_prog in ar
5783 do
5784   # Extract the first word of "$ac_prog", so it can be a program name with args.
5785 set dummy $ac_prog; ac_word=$2
5786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5787 $as_echo_n "checking for $ac_word... " >&6; }
5788 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5789   $as_echo_n "(cached) " >&6
5790 else
5791   if test -n "$ac_ct_AR"; then
5792   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5793 else
5794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5795 for as_dir in $PATH
5796 do
5797   IFS=$as_save_IFS
5798   test -z "$as_dir" && as_dir=.
5799     for ac_exec_ext in '' $ac_executable_extensions; do
5800   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5801     ac_cv_prog_ac_ct_AR="$ac_prog"
5802     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5803     break 2
5804   fi
5805 done
5806   done
5807 IFS=$as_save_IFS
5808
5809 fi
5810 fi
5811 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5812 if test -n "$ac_ct_AR"; then
5813   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5814 $as_echo "$ac_ct_AR" >&6; }
5815 else
5816   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5817 $as_echo "no" >&6; }
5818 fi
5819
5820
5821   test -n "$ac_ct_AR" && break
5822 done
5823
5824   if test "x$ac_ct_AR" = x; then
5825     AR="false"
5826   else
5827     case $cross_compiling:$ac_tool_warned in
5828 yes:)
5829 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5830 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5831 ac_tool_warned=yes ;;
5832 esac
5833     AR=$ac_ct_AR
5834   fi
5835 fi
5836
5837 : ${AR=ar}
5838 : ${AR_FLAGS=cru}
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5851 $as_echo_n "checking for archiver @FILE support... " >&6; }
5852 if ${lt_cv_ar_at_file+:} false; then :
5853   $as_echo_n "(cached) " >&6
5854 else
5855   lt_cv_ar_at_file=no
5856    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5857 /* end confdefs.h.  */
5858
5859 int
5860 main ()
5861 {
5862
5863   ;
5864   return 0;
5865 }
5866 _ACEOF
5867 if ac_fn_c_try_compile "$LINENO"; then :
5868   echo conftest.$ac_objext > conftest.lst
5869       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5870       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5871   (eval $lt_ar_try) 2>&5
5872   ac_status=$?
5873   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5874   test $ac_status = 0; }
5875       if test "$ac_status" -eq 0; then
5876         # Ensure the archiver fails upon bogus file names.
5877         rm -f conftest.$ac_objext libconftest.a
5878         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5879   (eval $lt_ar_try) 2>&5
5880   ac_status=$?
5881   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5882   test $ac_status = 0; }
5883         if test "$ac_status" -ne 0; then
5884           lt_cv_ar_at_file=@
5885         fi
5886       fi
5887       rm -f conftest.* libconftest.a
5888
5889 fi
5890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5891
5892 fi
5893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5894 $as_echo "$lt_cv_ar_at_file" >&6; }
5895
5896 if test "x$lt_cv_ar_at_file" = xno; then
5897   archiver_list_spec=
5898 else
5899   archiver_list_spec=$lt_cv_ar_at_file
5900 fi
5901
5902
5903
5904
5905
5906
5907
5908 if test -n "$ac_tool_prefix"; then
5909   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5910 set dummy ${ac_tool_prefix}strip; ac_word=$2
5911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5912 $as_echo_n "checking for $ac_word... " >&6; }
5913 if ${ac_cv_prog_STRIP+:} false; then :
5914   $as_echo_n "(cached) " >&6
5915 else
5916   if test -n "$STRIP"; then
5917   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5918 else
5919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5920 for as_dir in $PATH
5921 do
5922   IFS=$as_save_IFS
5923   test -z "$as_dir" && as_dir=.
5924     for ac_exec_ext in '' $ac_executable_extensions; do
5925   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5926     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5927     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5928     break 2
5929   fi
5930 done
5931   done
5932 IFS=$as_save_IFS
5933
5934 fi
5935 fi
5936 STRIP=$ac_cv_prog_STRIP
5937 if test -n "$STRIP"; then
5938   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5939 $as_echo "$STRIP" >&6; }
5940 else
5941   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5942 $as_echo "no" >&6; }
5943 fi
5944
5945
5946 fi
5947 if test -z "$ac_cv_prog_STRIP"; then
5948   ac_ct_STRIP=$STRIP
5949   # Extract the first word of "strip", so it can be a program name with args.
5950 set dummy strip; ac_word=$2
5951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5952 $as_echo_n "checking for $ac_word... " >&6; }
5953 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5954   $as_echo_n "(cached) " >&6
5955 else
5956   if test -n "$ac_ct_STRIP"; then
5957   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5958 else
5959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5960 for as_dir in $PATH
5961 do
5962   IFS=$as_save_IFS
5963   test -z "$as_dir" && as_dir=.
5964     for ac_exec_ext in '' $ac_executable_extensions; do
5965   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5966     ac_cv_prog_ac_ct_STRIP="strip"
5967     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5968     break 2
5969   fi
5970 done
5971   done
5972 IFS=$as_save_IFS
5973
5974 fi
5975 fi
5976 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5977 if test -n "$ac_ct_STRIP"; then
5978   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5979 $as_echo "$ac_ct_STRIP" >&6; }
5980 else
5981   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5982 $as_echo "no" >&6; }
5983 fi
5984
5985   if test "x$ac_ct_STRIP" = x; then
5986     STRIP=":"
5987   else
5988     case $cross_compiling:$ac_tool_warned in
5989 yes:)
5990 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5991 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5992 ac_tool_warned=yes ;;
5993 esac
5994     STRIP=$ac_ct_STRIP
5995   fi
5996 else
5997   STRIP="$ac_cv_prog_STRIP"
5998 fi
5999
6000 test -z "$STRIP" && STRIP=:
6001
6002
6003
6004
6005
6006
6007 if test -n "$ac_tool_prefix"; then
6008   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6009 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6011 $as_echo_n "checking for $ac_word... " >&6; }
6012 if ${ac_cv_prog_RANLIB+:} false; then :
6013   $as_echo_n "(cached) " >&6
6014 else
6015   if test -n "$RANLIB"; then
6016   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6017 else
6018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6019 for as_dir in $PATH
6020 do
6021   IFS=$as_save_IFS
6022   test -z "$as_dir" && as_dir=.
6023     for ac_exec_ext in '' $ac_executable_extensions; do
6024   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6025     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6026     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6027     break 2
6028   fi
6029 done
6030   done
6031 IFS=$as_save_IFS
6032
6033 fi
6034 fi
6035 RANLIB=$ac_cv_prog_RANLIB
6036 if test -n "$RANLIB"; then
6037   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6038 $as_echo "$RANLIB" >&6; }
6039 else
6040   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6041 $as_echo "no" >&6; }
6042 fi
6043
6044
6045 fi
6046 if test -z "$ac_cv_prog_RANLIB"; then
6047   ac_ct_RANLIB=$RANLIB
6048   # Extract the first word of "ranlib", so it can be a program name with args.
6049 set dummy ranlib; ac_word=$2
6050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6051 $as_echo_n "checking for $ac_word... " >&6; }
6052 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6053   $as_echo_n "(cached) " >&6
6054 else
6055   if test -n "$ac_ct_RANLIB"; then
6056   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6057 else
6058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6059 for as_dir in $PATH
6060 do
6061   IFS=$as_save_IFS
6062   test -z "$as_dir" && as_dir=.
6063     for ac_exec_ext in '' $ac_executable_extensions; do
6064   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6065     ac_cv_prog_ac_ct_RANLIB="ranlib"
6066     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6067     break 2
6068   fi
6069 done
6070   done
6071 IFS=$as_save_IFS
6072
6073 fi
6074 fi
6075 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6076 if test -n "$ac_ct_RANLIB"; then
6077   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6078 $as_echo "$ac_ct_RANLIB" >&6; }
6079 else
6080   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6081 $as_echo "no" >&6; }
6082 fi
6083
6084   if test "x$ac_ct_RANLIB" = x; then
6085     RANLIB=":"
6086   else
6087     case $cross_compiling:$ac_tool_warned in
6088 yes:)
6089 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6090 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6091 ac_tool_warned=yes ;;
6092 esac
6093     RANLIB=$ac_ct_RANLIB
6094   fi
6095 else
6096   RANLIB="$ac_cv_prog_RANLIB"
6097 fi
6098
6099 test -z "$RANLIB" && RANLIB=:
6100
6101
6102
6103
6104
6105
6106 # Determine commands to create old-style static archives.
6107 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6108 old_postinstall_cmds='chmod 644 $oldlib'
6109 old_postuninstall_cmds=
6110
6111 if test -n "$RANLIB"; then
6112   case $host_os in
6113   openbsd*)
6114     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6115     ;;
6116   *)
6117     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6118     ;;
6119   esac
6120   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6121 fi
6122
6123 case $host_os in
6124   darwin*)
6125     lock_old_archive_extraction=yes ;;
6126   *)
6127     lock_old_archive_extraction=no ;;
6128 esac
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
6165
6166
6167
6168 # If no C compiler was specified, use CC.
6169 LTCC=${LTCC-"$CC"}
6170
6171 # If no C compiler flags were specified, use CFLAGS.
6172 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6173
6174 # Allow CC to be a program name with arguments.
6175 compiler=$CC
6176
6177
6178 # Check for command to grab the raw symbol name followed by C symbol from nm.
6179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6180 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6181 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6182   $as_echo_n "(cached) " >&6
6183 else
6184
6185 # These are sane defaults that work on at least a few old systems.
6186 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6187
6188 # Character class describing NM global symbol codes.
6189 symcode='[BCDEGRST]'
6190
6191 # Regexp to match symbols that can be accessed directly from C.
6192 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6193
6194 # Define system-specific variables.
6195 case $host_os in
6196 aix*)
6197   symcode='[BCDT]'
6198   ;;
6199 cygwin* | mingw* | pw32* | cegcc*)
6200   symcode='[ABCDGISTW]'
6201   ;;
6202 hpux*)
6203   if test "$host_cpu" = ia64; then
6204     symcode='[ABCDEGRST]'
6205   fi
6206   ;;
6207 irix* | nonstopux*)
6208   symcode='[BCDEGRST]'
6209   ;;
6210 osf*)
6211   symcode='[BCDEGQRST]'
6212   ;;
6213 solaris*)
6214   symcode='[BDRT]'
6215   ;;
6216 sco3.2v5*)
6217   symcode='[DT]'
6218   ;;
6219 sysv4.2uw2*)
6220   symcode='[DT]'
6221   ;;
6222 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6223   symcode='[ABDT]'
6224   ;;
6225 sysv4)
6226   symcode='[DFNSTU]'
6227   ;;
6228 esac
6229
6230 # If we're using GNU nm, then use its standard symbol codes.
6231 case `$NM -V 2>&1` in
6232 *GNU* | *'with BFD'*)
6233   symcode='[ABCDGIRSTW]' ;;
6234 esac
6235
6236 # Transform an extracted symbol line into a proper C declaration.
6237 # Some systems (esp. on ia64) link data and code symbols differently,
6238 # so use this general approach.
6239 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6240
6241 # Transform an extracted symbol line into symbol name and symbol address
6242 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6243 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'"
6244
6245 # Handle CRLF in mingw tool chain
6246 opt_cr=
6247 case $build_os in
6248 mingw*)
6249   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6250   ;;
6251 esac
6252
6253 # Try without a prefix underscore, then with it.
6254 for ac_symprfx in "" "_"; do
6255
6256   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6257   symxfrm="\\1 $ac_symprfx\\2 \\2"
6258
6259   # Write the raw and C identifiers.
6260   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6261     # Fake it for dumpbin and say T for any non-static function
6262     # and D for any global variable.
6263     # Also find C++ and __fastcall symbols from MSVC++,
6264     # which start with @ or ?.
6265     lt_cv_sys_global_symbol_pipe="$AWK '"\
6266 "     {last_section=section; section=\$ 3};"\
6267 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6268 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6269 "     \$ 0!~/External *\|/{next};"\
6270 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6271 "     {if(hide[section]) next};"\
6272 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6273 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6274 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6275 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6276 "     ' prfx=^$ac_symprfx"
6277   else
6278     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6279   fi
6280   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6281
6282   # Check to see that the pipe works correctly.
6283   pipe_works=no
6284
6285   rm -f conftest*
6286   cat > conftest.$ac_ext <<_LT_EOF
6287 #ifdef __cplusplus
6288 extern "C" {
6289 #endif
6290 char nm_test_var;
6291 void nm_test_func(void);
6292 void nm_test_func(void){}
6293 #ifdef __cplusplus
6294 }
6295 #endif
6296 int main(){nm_test_var='a';nm_test_func();return(0);}
6297 _LT_EOF
6298
6299   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6300   (eval $ac_compile) 2>&5
6301   ac_status=$?
6302   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6303   test $ac_status = 0; }; then
6304     # Now try to grab the symbols.
6305     nlist=conftest.nm
6306     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6307   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6308   ac_status=$?
6309   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6310   test $ac_status = 0; } && test -s "$nlist"; then
6311       # Try sorting and uniquifying the output.
6312       if sort "$nlist" | uniq > "$nlist"T; then
6313         mv -f "$nlist"T "$nlist"
6314       else
6315         rm -f "$nlist"T
6316       fi
6317
6318       # Make sure that we snagged all the symbols we need.
6319       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6320         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6321           cat <<_LT_EOF > conftest.$ac_ext
6322 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6323 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6324 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6325    relocations are performed -- see ld's documentation on pseudo-relocs.  */
6326 # define LT_DLSYM_CONST
6327 #elif defined(__osf__)
6328 /* This system does not cope well with relocations in const data.  */
6329 # define LT_DLSYM_CONST
6330 #else
6331 # define LT_DLSYM_CONST const
6332 #endif
6333
6334 #ifdef __cplusplus
6335 extern "C" {
6336 #endif
6337
6338 _LT_EOF
6339           # Now generate the symbol file.
6340           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6341
6342           cat <<_LT_EOF >> conftest.$ac_ext
6343
6344 /* The mapping between symbol names and symbols.  */
6345 LT_DLSYM_CONST struct {
6346   const char *name;
6347   void       *address;
6348 }
6349 lt__PROGRAM__LTX_preloaded_symbols[] =
6350 {
6351   { "@PROGRAM@", (void *) 0 },
6352 _LT_EOF
6353           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6354           cat <<\_LT_EOF >> conftest.$ac_ext
6355   {0, (void *) 0}
6356 };
6357
6358 /* This works around a problem in FreeBSD linker */
6359 #ifdef FREEBSD_WORKAROUND
6360 static const void *lt_preloaded_setup() {
6361   return lt__PROGRAM__LTX_preloaded_symbols;
6362 }
6363 #endif
6364
6365 #ifdef __cplusplus
6366 }
6367 #endif
6368 _LT_EOF
6369           # Now try linking the two files.
6370           mv conftest.$ac_objext conftstm.$ac_objext
6371           lt_globsym_save_LIBS=$LIBS
6372           lt_globsym_save_CFLAGS=$CFLAGS
6373           LIBS="conftstm.$ac_objext"
6374           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6375           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6376   (eval $ac_link) 2>&5
6377   ac_status=$?
6378   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6379   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6380             pipe_works=yes
6381           fi
6382           LIBS=$lt_globsym_save_LIBS
6383           CFLAGS=$lt_globsym_save_CFLAGS
6384         else
6385           echo "cannot find nm_test_func in $nlist" >&5
6386         fi
6387       else
6388         echo "cannot find nm_test_var in $nlist" >&5
6389       fi
6390     else
6391       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6392     fi
6393   else
6394     echo "$progname: failed program was:" >&5
6395     cat conftest.$ac_ext >&5
6396   fi
6397   rm -rf conftest* conftst*
6398
6399   # Do not use the global_symbol_pipe unless it works.
6400   if test "$pipe_works" = yes; then
6401     break
6402   else
6403     lt_cv_sys_global_symbol_pipe=
6404   fi
6405 done
6406
6407 fi
6408
6409 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6410   lt_cv_sys_global_symbol_to_cdecl=
6411 fi
6412 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6413   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6414 $as_echo "failed" >&6; }
6415 else
6416   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6417 $as_echo "ok" >&6; }
6418 fi
6419
6420 # Response file support.
6421 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6422   nm_file_list_spec='@'
6423 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6424   nm_file_list_spec='@'
6425 fi
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6454 $as_echo_n "checking for sysroot... " >&6; }
6455
6456 # Check whether --with-sysroot was given.
6457 if test "${with_sysroot+set}" = set; then :
6458   withval=$with_sysroot;
6459 else
6460   with_sysroot=no
6461 fi
6462
6463
6464 lt_sysroot=
6465 case ${with_sysroot} in #(
6466  yes)
6467    if test "$GCC" = yes; then
6468      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6469    fi
6470    ;; #(
6471  /*)
6472    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6473    ;; #(
6474  no|'')
6475    ;; #(
6476  *)
6477    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6478 $as_echo "${with_sysroot}" >&6; }
6479    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6480    ;;
6481 esac
6482
6483  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6484 $as_echo "${lt_sysroot:-no}" >&6; }
6485
6486
6487
6488
6489
6490 # Check whether --enable-libtool-lock was given.
6491 if test "${enable_libtool_lock+set}" = set; then :
6492   enableval=$enable_libtool_lock;
6493 fi
6494
6495 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6496
6497 # Some flags need to be propagated to the compiler or linker for good
6498 # libtool support.
6499 case $host in
6500 ia64-*-hpux*)
6501   # Find out which ABI we are using.
6502   echo 'int i;' > conftest.$ac_ext
6503   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6504   (eval $ac_compile) 2>&5
6505   ac_status=$?
6506   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6507   test $ac_status = 0; }; then
6508     case `/usr/bin/file conftest.$ac_objext` in
6509       *ELF-32*)
6510         HPUX_IA64_MODE="32"
6511         ;;
6512       *ELF-64*)
6513         HPUX_IA64_MODE="64"
6514         ;;
6515     esac
6516   fi
6517   rm -rf conftest*
6518   ;;
6519 *-*-irix6*)
6520   # Find out which ABI we are using.
6521   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6522   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6523   (eval $ac_compile) 2>&5
6524   ac_status=$?
6525   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6526   test $ac_status = 0; }; then
6527     if test "$lt_cv_prog_gnu_ld" = yes; then
6528       case `/usr/bin/file conftest.$ac_objext` in
6529         *32-bit*)
6530           LD="${LD-ld} -melf32bsmip"
6531           ;;
6532         *N32*)
6533           LD="${LD-ld} -melf32bmipn32"
6534           ;;
6535         *64-bit*)
6536           LD="${LD-ld} -melf64bmip"
6537         ;;
6538       esac
6539     else
6540       case `/usr/bin/file conftest.$ac_objext` in
6541         *32-bit*)
6542           LD="${LD-ld} -32"
6543           ;;
6544         *N32*)
6545           LD="${LD-ld} -n32"
6546           ;;
6547         *64-bit*)
6548           LD="${LD-ld} -64"
6549           ;;
6550       esac
6551     fi
6552   fi
6553   rm -rf conftest*
6554   ;;
6555
6556 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6557 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6558   # Find out which ABI we are using.
6559   echo 'int i;' > conftest.$ac_ext
6560   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6561   (eval $ac_compile) 2>&5
6562   ac_status=$?
6563   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6564   test $ac_status = 0; }; then
6565     case `/usr/bin/file conftest.o` in
6566       *32-bit*)
6567         case $host in
6568           x86_64-*kfreebsd*-gnu)
6569             LD="${LD-ld} -m elf_i386_fbsd"
6570             ;;
6571           x86_64-*linux*)
6572             LD="${LD-ld} -m elf_i386"
6573             ;;
6574           ppc64-*linux*|powerpc64-*linux*)
6575             LD="${LD-ld} -m elf32ppclinux"
6576             ;;
6577           s390x-*linux*)
6578             LD="${LD-ld} -m elf_s390"
6579             ;;
6580           sparc64-*linux*)
6581             LD="${LD-ld} -m elf32_sparc"
6582             ;;
6583         esac
6584         ;;
6585       *64-bit*)
6586         case $host in
6587           x86_64-*kfreebsd*-gnu)
6588             LD="${LD-ld} -m elf_x86_64_fbsd"
6589             ;;
6590           x86_64-*linux*)
6591             LD="${LD-ld} -m elf_x86_64"
6592             ;;
6593           ppc*-*linux*|powerpc*-*linux*)
6594             LD="${LD-ld} -m elf64ppc"
6595             ;;
6596           s390*-*linux*|s390*-*tpf*)
6597             LD="${LD-ld} -m elf64_s390"
6598             ;;
6599           sparc*-*linux*)
6600             LD="${LD-ld} -m elf64_sparc"
6601             ;;
6602         esac
6603         ;;
6604     esac
6605   fi
6606   rm -rf conftest*
6607   ;;
6608
6609 *-*-sco3.2v5*)
6610   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6611   SAVE_CFLAGS="$CFLAGS"
6612   CFLAGS="$CFLAGS -belf"
6613   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6614 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6615 if ${lt_cv_cc_needs_belf+:} false; then :
6616   $as_echo_n "(cached) " >&6
6617 else
6618   ac_ext=c
6619 ac_cpp='$CPP $CPPFLAGS'
6620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6623
6624      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6625 /* end confdefs.h.  */
6626
6627 int
6628 main ()
6629 {
6630
6631   ;
6632   return 0;
6633 }
6634 _ACEOF
6635 if ac_fn_c_try_link "$LINENO"; then :
6636   lt_cv_cc_needs_belf=yes
6637 else
6638   lt_cv_cc_needs_belf=no
6639 fi
6640 rm -f core conftest.err conftest.$ac_objext \
6641     conftest$ac_exeext conftest.$ac_ext
6642      ac_ext=c
6643 ac_cpp='$CPP $CPPFLAGS'
6644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6647
6648 fi
6649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6650 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6651   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6652     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6653     CFLAGS="$SAVE_CFLAGS"
6654   fi
6655   ;;
6656 *-*solaris*)
6657   # Find out which ABI we are using.
6658   echo 'int i;' > conftest.$ac_ext
6659   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6660   (eval $ac_compile) 2>&5
6661   ac_status=$?
6662   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6663   test $ac_status = 0; }; then
6664     case `/usr/bin/file conftest.o` in
6665     *64-bit*)
6666       case $lt_cv_prog_gnu_ld in
6667       yes*)
6668         case $host in
6669         i?86-*-solaris*)
6670           LD="${LD-ld} -m elf_x86_64"
6671           ;;
6672         sparc*-*-solaris*)
6673           LD="${LD-ld} -m elf64_sparc"
6674           ;;
6675         esac
6676         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6677         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6678           LD="${LD-ld}_sol2"
6679         fi
6680         ;;
6681       *)
6682         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6683           LD="${LD-ld} -64"
6684         fi
6685         ;;
6686       esac
6687       ;;
6688     esac
6689   fi
6690   rm -rf conftest*
6691   ;;
6692 esac
6693
6694 need_locks="$enable_libtool_lock"
6695
6696 if test -n "$ac_tool_prefix"; then
6697   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6698 set dummy ${ac_tool_prefix}mt; ac_word=$2
6699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6700 $as_echo_n "checking for $ac_word... " >&6; }
6701 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6702   $as_echo_n "(cached) " >&6
6703 else
6704   if test -n "$MANIFEST_TOOL"; then
6705   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6706 else
6707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6708 for as_dir in $PATH
6709 do
6710   IFS=$as_save_IFS
6711   test -z "$as_dir" && as_dir=.
6712     for ac_exec_ext in '' $ac_executable_extensions; do
6713   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6714     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6715     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6716     break 2
6717   fi
6718 done
6719   done
6720 IFS=$as_save_IFS
6721
6722 fi
6723 fi
6724 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6725 if test -n "$MANIFEST_TOOL"; then
6726   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6727 $as_echo "$MANIFEST_TOOL" >&6; }
6728 else
6729   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6730 $as_echo "no" >&6; }
6731 fi
6732
6733
6734 fi
6735 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6736   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6737   # Extract the first word of "mt", so it can be a program name with args.
6738 set dummy mt; ac_word=$2
6739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6740 $as_echo_n "checking for $ac_word... " >&6; }
6741 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6742   $as_echo_n "(cached) " >&6
6743 else
6744   if test -n "$ac_ct_MANIFEST_TOOL"; then
6745   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6746 else
6747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6748 for as_dir in $PATH
6749 do
6750   IFS=$as_save_IFS
6751   test -z "$as_dir" && as_dir=.
6752     for ac_exec_ext in '' $ac_executable_extensions; do
6753   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6754     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6755     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6756     break 2
6757   fi
6758 done
6759   done
6760 IFS=$as_save_IFS
6761
6762 fi
6763 fi
6764 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6765 if test -n "$ac_ct_MANIFEST_TOOL"; then
6766   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6767 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6768 else
6769   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6770 $as_echo "no" >&6; }
6771 fi
6772
6773   if test "x$ac_ct_MANIFEST_TOOL" = x; then
6774     MANIFEST_TOOL=":"
6775   else
6776     case $cross_compiling:$ac_tool_warned in
6777 yes:)
6778 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6779 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6780 ac_tool_warned=yes ;;
6781 esac
6782     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6783   fi
6784 else
6785   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6786 fi
6787
6788 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6790 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6791 if ${lt_cv_path_mainfest_tool+:} false; then :
6792   $as_echo_n "(cached) " >&6
6793 else
6794   lt_cv_path_mainfest_tool=no
6795   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6796   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6797   cat conftest.err >&5
6798   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6799     lt_cv_path_mainfest_tool=yes
6800   fi
6801   rm -f conftest*
6802 fi
6803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6804 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6805 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6806   MANIFEST_TOOL=:
6807 fi
6808
6809
6810
6811
6812
6813
6814   case $host_os in
6815     rhapsody* | darwin*)
6816     if test -n "$ac_tool_prefix"; then
6817   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6818 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6820 $as_echo_n "checking for $ac_word... " >&6; }
6821 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6822   $as_echo_n "(cached) " >&6
6823 else
6824   if test -n "$DSYMUTIL"; then
6825   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6826 else
6827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6828 for as_dir in $PATH
6829 do
6830   IFS=$as_save_IFS
6831   test -z "$as_dir" && as_dir=.
6832     for ac_exec_ext in '' $ac_executable_extensions; do
6833   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6834     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6835     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6836     break 2
6837   fi
6838 done
6839   done
6840 IFS=$as_save_IFS
6841
6842 fi
6843 fi
6844 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6845 if test -n "$DSYMUTIL"; then
6846   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6847 $as_echo "$DSYMUTIL" >&6; }
6848 else
6849   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6850 $as_echo "no" >&6; }
6851 fi
6852
6853
6854 fi
6855 if test -z "$ac_cv_prog_DSYMUTIL"; then
6856   ac_ct_DSYMUTIL=$DSYMUTIL
6857   # Extract the first word of "dsymutil", so it can be a program name with args.
6858 set dummy dsymutil; ac_word=$2
6859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6860 $as_echo_n "checking for $ac_word... " >&6; }
6861 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6862   $as_echo_n "(cached) " >&6
6863 else
6864   if test -n "$ac_ct_DSYMUTIL"; then
6865   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6866 else
6867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6868 for as_dir in $PATH
6869 do
6870   IFS=$as_save_IFS
6871   test -z "$as_dir" && as_dir=.
6872     for ac_exec_ext in '' $ac_executable_extensions; do
6873   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6874     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6875     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6876     break 2
6877   fi
6878 done
6879   done
6880 IFS=$as_save_IFS
6881
6882 fi
6883 fi
6884 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6885 if test -n "$ac_ct_DSYMUTIL"; then
6886   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6887 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6888 else
6889   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6890 $as_echo "no" >&6; }
6891 fi
6892
6893   if test "x$ac_ct_DSYMUTIL" = x; then
6894     DSYMUTIL=":"
6895   else
6896     case $cross_compiling:$ac_tool_warned in
6897 yes:)
6898 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6899 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6900 ac_tool_warned=yes ;;
6901 esac
6902     DSYMUTIL=$ac_ct_DSYMUTIL
6903   fi
6904 else
6905   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6906 fi
6907
6908     if test -n "$ac_tool_prefix"; then
6909   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6910 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6912 $as_echo_n "checking for $ac_word... " >&6; }
6913 if ${ac_cv_prog_NMEDIT+:} false; then :
6914   $as_echo_n "(cached) " >&6
6915 else
6916   if test -n "$NMEDIT"; then
6917   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6918 else
6919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6920 for as_dir in $PATH
6921 do
6922   IFS=$as_save_IFS
6923   test -z "$as_dir" && as_dir=.
6924     for ac_exec_ext in '' $ac_executable_extensions; do
6925   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6926     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6927     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6928     break 2
6929   fi
6930 done
6931   done
6932 IFS=$as_save_IFS
6933
6934 fi
6935 fi
6936 NMEDIT=$ac_cv_prog_NMEDIT
6937 if test -n "$NMEDIT"; then
6938   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6939 $as_echo "$NMEDIT" >&6; }
6940 else
6941   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6942 $as_echo "no" >&6; }
6943 fi
6944
6945
6946 fi
6947 if test -z "$ac_cv_prog_NMEDIT"; then
6948   ac_ct_NMEDIT=$NMEDIT
6949   # Extract the first word of "nmedit", so it can be a program name with args.
6950 set dummy nmedit; ac_word=$2
6951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6952 $as_echo_n "checking for $ac_word... " >&6; }
6953 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6954   $as_echo_n "(cached) " >&6
6955 else
6956   if test -n "$ac_ct_NMEDIT"; then
6957   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6958 else
6959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6960 for as_dir in $PATH
6961 do
6962   IFS=$as_save_IFS
6963   test -z "$as_dir" && as_dir=.
6964     for ac_exec_ext in '' $ac_executable_extensions; do
6965   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6966     ac_cv_prog_ac_ct_NMEDIT="nmedit"
6967     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6968     break 2
6969   fi
6970 done
6971   done
6972 IFS=$as_save_IFS
6973
6974 fi
6975 fi
6976 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6977 if test -n "$ac_ct_NMEDIT"; then
6978   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6979 $as_echo "$ac_ct_NMEDIT" >&6; }
6980 else
6981   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6982 $as_echo "no" >&6; }
6983 fi
6984
6985   if test "x$ac_ct_NMEDIT" = x; then
6986     NMEDIT=":"
6987   else
6988     case $cross_compiling:$ac_tool_warned in
6989 yes:)
6990 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6991 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6992 ac_tool_warned=yes ;;
6993 esac
6994     NMEDIT=$ac_ct_NMEDIT
6995   fi
6996 else
6997   NMEDIT="$ac_cv_prog_NMEDIT"
6998 fi
6999
7000     if test -n "$ac_tool_prefix"; then
7001   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7002 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7004 $as_echo_n "checking for $ac_word... " >&6; }
7005 if ${ac_cv_prog_LIPO+:} false; then :
7006   $as_echo_n "(cached) " >&6
7007 else
7008   if test -n "$LIPO"; then
7009   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7010 else
7011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7012 for as_dir in $PATH
7013 do
7014   IFS=$as_save_IFS
7015   test -z "$as_dir" && as_dir=.
7016     for ac_exec_ext in '' $ac_executable_extensions; do
7017   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7018     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7019     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7020     break 2
7021   fi
7022 done
7023   done
7024 IFS=$as_save_IFS
7025
7026 fi
7027 fi
7028 LIPO=$ac_cv_prog_LIPO
7029 if test -n "$LIPO"; then
7030   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7031 $as_echo "$LIPO" >&6; }
7032 else
7033   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7034 $as_echo "no" >&6; }
7035 fi
7036
7037
7038 fi
7039 if test -z "$ac_cv_prog_LIPO"; then
7040   ac_ct_LIPO=$LIPO
7041   # Extract the first word of "lipo", so it can be a program name with args.
7042 set dummy lipo; ac_word=$2
7043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7044 $as_echo_n "checking for $ac_word... " >&6; }
7045 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7046   $as_echo_n "(cached) " >&6
7047 else
7048   if test -n "$ac_ct_LIPO"; then
7049   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7050 else
7051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7052 for as_dir in $PATH
7053 do
7054   IFS=$as_save_IFS
7055   test -z "$as_dir" && as_dir=.
7056     for ac_exec_ext in '' $ac_executable_extensions; do
7057   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7058     ac_cv_prog_ac_ct_LIPO="lipo"
7059     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7060     break 2
7061   fi
7062 done
7063   done
7064 IFS=$as_save_IFS
7065
7066 fi
7067 fi
7068 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7069 if test -n "$ac_ct_LIPO"; then
7070   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7071 $as_echo "$ac_ct_LIPO" >&6; }
7072 else
7073   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7074 $as_echo "no" >&6; }
7075 fi
7076
7077   if test "x$ac_ct_LIPO" = x; then
7078     LIPO=":"
7079   else
7080     case $cross_compiling:$ac_tool_warned in
7081 yes:)
7082 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7083 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7084 ac_tool_warned=yes ;;
7085 esac
7086     LIPO=$ac_ct_LIPO
7087   fi
7088 else
7089   LIPO="$ac_cv_prog_LIPO"
7090 fi
7091
7092     if test -n "$ac_tool_prefix"; then
7093   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7094 set dummy ${ac_tool_prefix}otool; ac_word=$2
7095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7096 $as_echo_n "checking for $ac_word... " >&6; }
7097 if ${ac_cv_prog_OTOOL+:} false; then :
7098   $as_echo_n "(cached) " >&6
7099 else
7100   if test -n "$OTOOL"; then
7101   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7102 else
7103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7104 for as_dir in $PATH
7105 do
7106   IFS=$as_save_IFS
7107   test -z "$as_dir" && as_dir=.
7108     for ac_exec_ext in '' $ac_executable_extensions; do
7109   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7110     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7111     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7112     break 2
7113   fi
7114 done
7115   done
7116 IFS=$as_save_IFS
7117
7118 fi
7119 fi
7120 OTOOL=$ac_cv_prog_OTOOL
7121 if test -n "$OTOOL"; then
7122   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7123 $as_echo "$OTOOL" >&6; }
7124 else
7125   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7126 $as_echo "no" >&6; }
7127 fi
7128
7129
7130 fi
7131 if test -z "$ac_cv_prog_OTOOL"; then
7132   ac_ct_OTOOL=$OTOOL
7133   # Extract the first word of "otool", so it can be a program name with args.
7134 set dummy otool; ac_word=$2
7135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7136 $as_echo_n "checking for $ac_word... " >&6; }
7137 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7138   $as_echo_n "(cached) " >&6
7139 else
7140   if test -n "$ac_ct_OTOOL"; then
7141   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7142 else
7143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7144 for as_dir in $PATH
7145 do
7146   IFS=$as_save_IFS
7147   test -z "$as_dir" && as_dir=.
7148     for ac_exec_ext in '' $ac_executable_extensions; do
7149   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7150     ac_cv_prog_ac_ct_OTOOL="otool"
7151     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7152     break 2
7153   fi
7154 done
7155   done
7156 IFS=$as_save_IFS
7157
7158 fi
7159 fi
7160 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7161 if test -n "$ac_ct_OTOOL"; then
7162   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7163 $as_echo "$ac_ct_OTOOL" >&6; }
7164 else
7165   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7166 $as_echo "no" >&6; }
7167 fi
7168
7169   if test "x$ac_ct_OTOOL" = x; then
7170     OTOOL=":"
7171   else
7172     case $cross_compiling:$ac_tool_warned in
7173 yes:)
7174 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7175 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7176 ac_tool_warned=yes ;;
7177 esac
7178     OTOOL=$ac_ct_OTOOL
7179   fi
7180 else
7181   OTOOL="$ac_cv_prog_OTOOL"
7182 fi
7183
7184     if test -n "$ac_tool_prefix"; then
7185   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7186 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7188 $as_echo_n "checking for $ac_word... " >&6; }
7189 if ${ac_cv_prog_OTOOL64+:} false; then :
7190   $as_echo_n "(cached) " >&6
7191 else
7192   if test -n "$OTOOL64"; then
7193   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7194 else
7195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7196 for as_dir in $PATH
7197 do
7198   IFS=$as_save_IFS
7199   test -z "$as_dir" && as_dir=.
7200     for ac_exec_ext in '' $ac_executable_extensions; do
7201   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7202     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7203     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7204     break 2
7205   fi
7206 done
7207   done
7208 IFS=$as_save_IFS
7209
7210 fi
7211 fi
7212 OTOOL64=$ac_cv_prog_OTOOL64
7213 if test -n "$OTOOL64"; then
7214   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7215 $as_echo "$OTOOL64" >&6; }
7216 else
7217   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7218 $as_echo "no" >&6; }
7219 fi
7220
7221
7222 fi
7223 if test -z "$ac_cv_prog_OTOOL64"; then
7224   ac_ct_OTOOL64=$OTOOL64
7225   # Extract the first word of "otool64", so it can be a program name with args.
7226 set dummy otool64; ac_word=$2
7227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7228 $as_echo_n "checking for $ac_word... " >&6; }
7229 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7230   $as_echo_n "(cached) " >&6
7231 else
7232   if test -n "$ac_ct_OTOOL64"; then
7233   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7234 else
7235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7236 for as_dir in $PATH
7237 do
7238   IFS=$as_save_IFS
7239   test -z "$as_dir" && as_dir=.
7240     for ac_exec_ext in '' $ac_executable_extensions; do
7241   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7242     ac_cv_prog_ac_ct_OTOOL64="otool64"
7243     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7244     break 2
7245   fi
7246 done
7247   done
7248 IFS=$as_save_IFS
7249
7250 fi
7251 fi
7252 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7253 if test -n "$ac_ct_OTOOL64"; then
7254   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7255 $as_echo "$ac_ct_OTOOL64" >&6; }
7256 else
7257   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7258 $as_echo "no" >&6; }
7259 fi
7260
7261   if test "x$ac_ct_OTOOL64" = x; then
7262     OTOOL64=":"
7263   else
7264     case $cross_compiling:$ac_tool_warned in
7265 yes:)
7266 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7267 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7268 ac_tool_warned=yes ;;
7269 esac
7270     OTOOL64=$ac_ct_OTOOL64
7271   fi
7272 else
7273   OTOOL64="$ac_cv_prog_OTOOL64"
7274 fi
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7303 $as_echo_n "checking for -single_module linker flag... " >&6; }
7304 if ${lt_cv_apple_cc_single_mod+:} false; then :
7305   $as_echo_n "(cached) " >&6
7306 else
7307   lt_cv_apple_cc_single_mod=no
7308       if test -z "${LT_MULTI_MODULE}"; then
7309         # By default we will add the -single_module flag. You can override
7310         # by either setting the environment variable LT_MULTI_MODULE
7311         # non-empty at configure time, or by adding -multi_module to the
7312         # link flags.
7313         rm -rf libconftest.dylib*
7314         echo "int foo(void){return 1;}" > conftest.c
7315         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7316 -dynamiclib -Wl,-single_module conftest.c" >&5
7317         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7318           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7319         _lt_result=$?
7320         # If there is a non-empty error log, and "single_module"
7321         # appears in it, assume the flag caused a linker warning
7322         if test -s conftest.err && $GREP single_module conftest.err; then
7323           cat conftest.err >&5
7324         # Otherwise, if the output was created with a 0 exit code from
7325         # the compiler, it worked.
7326         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7327           lt_cv_apple_cc_single_mod=yes
7328         else
7329           cat conftest.err >&5
7330         fi
7331         rm -rf libconftest.dylib*
7332         rm -f conftest.*
7333       fi
7334 fi
7335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7336 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7337
7338     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7339 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7340 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7341   $as_echo_n "(cached) " >&6
7342 else
7343   lt_cv_ld_exported_symbols_list=no
7344       save_LDFLAGS=$LDFLAGS
7345       echo "_main" > conftest.sym
7346       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7347       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7348 /* end confdefs.h.  */
7349
7350 int
7351 main ()
7352 {
7353
7354   ;
7355   return 0;
7356 }
7357 _ACEOF
7358 if ac_fn_c_try_link "$LINENO"; then :
7359   lt_cv_ld_exported_symbols_list=yes
7360 else
7361   lt_cv_ld_exported_symbols_list=no
7362 fi
7363 rm -f core conftest.err conftest.$ac_objext \
7364     conftest$ac_exeext conftest.$ac_ext
7365         LDFLAGS="$save_LDFLAGS"
7366
7367 fi
7368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7369 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7370
7371     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7372 $as_echo_n "checking for -force_load linker flag... " >&6; }
7373 if ${lt_cv_ld_force_load+:} false; then :
7374   $as_echo_n "(cached) " >&6
7375 else
7376   lt_cv_ld_force_load=no
7377       cat > conftest.c << _LT_EOF
7378 int forced_loaded() { return 2;}
7379 _LT_EOF
7380       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7381       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7382       echo "$AR cru libconftest.a conftest.o" >&5
7383       $AR cru libconftest.a conftest.o 2>&5
7384       echo "$RANLIB libconftest.a" >&5
7385       $RANLIB libconftest.a 2>&5
7386       cat > conftest.c << _LT_EOF
7387 int main() { return 0;}
7388 _LT_EOF
7389       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7390       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7391       _lt_result=$?
7392       if test -s conftest.err && $GREP force_load conftest.err; then
7393         cat conftest.err >&5
7394       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7395         lt_cv_ld_force_load=yes
7396       else
7397         cat conftest.err >&5
7398       fi
7399         rm -f conftest.err libconftest.a conftest conftest.c
7400         rm -rf conftest.dSYM
7401
7402 fi
7403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7404 $as_echo "$lt_cv_ld_force_load" >&6; }
7405     case $host_os in
7406     rhapsody* | darwin1.[012])
7407       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7408     darwin1.*)
7409       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7410     darwin*) # darwin 5.x on
7411       # if running on 10.5 or later, the deployment target defaults
7412       # to the OS version, if on x86, and 10.4, the deployment
7413       # target defaults to 10.4. Don't you love it?
7414       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7415         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7416           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7417         10.[012]*)
7418           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7419         10.*)
7420           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7421       esac
7422     ;;
7423   esac
7424     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7425       _lt_dar_single_mod='$single_module'
7426     fi
7427     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7428       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7429     else
7430       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7431     fi
7432     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7433       _lt_dsymutil='~$DSYMUTIL $lib || :'
7434     else
7435       _lt_dsymutil=
7436     fi
7437     ;;
7438   esac
7439
7440 ac_ext=c
7441 ac_cpp='$CPP $CPPFLAGS'
7442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7446 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7447 # On Suns, sometimes $CPP names a directory.
7448 if test -n "$CPP" && test -d "$CPP"; then
7449   CPP=
7450 fi
7451 if test -z "$CPP"; then
7452   if ${ac_cv_prog_CPP+:} false; then :
7453   $as_echo_n "(cached) " >&6
7454 else
7455       # Double quotes because CPP needs to be expanded
7456     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7457     do
7458       ac_preproc_ok=false
7459 for ac_c_preproc_warn_flag in '' yes
7460 do
7461   # Use a header file that comes with gcc, so configuring glibc
7462   # with a fresh cross-compiler works.
7463   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7464   # <limits.h> exists even on freestanding compilers.
7465   # On the NeXT, cc -E runs the code through the compiler's parser,
7466   # not just through cpp. "Syntax error" is here to catch this case.
7467   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7468 /* end confdefs.h.  */
7469 #ifdef __STDC__
7470 # include <limits.h>
7471 #else
7472 # include <assert.h>
7473 #endif
7474                      Syntax error
7475 _ACEOF
7476 if ac_fn_c_try_cpp "$LINENO"; then :
7477
7478 else
7479   # Broken: fails on valid input.
7480 continue
7481 fi
7482 rm -f conftest.err conftest.i conftest.$ac_ext
7483
7484   # OK, works on sane cases.  Now check whether nonexistent headers
7485   # can be detected and how.
7486   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7487 /* end confdefs.h.  */
7488 #include <ac_nonexistent.h>
7489 _ACEOF
7490 if ac_fn_c_try_cpp "$LINENO"; then :
7491   # Broken: success on invalid input.
7492 continue
7493 else
7494   # Passes both tests.
7495 ac_preproc_ok=:
7496 break
7497 fi
7498 rm -f conftest.err conftest.i conftest.$ac_ext
7499
7500 done
7501 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7502 rm -f conftest.i conftest.err conftest.$ac_ext
7503 if $ac_preproc_ok; then :
7504   break
7505 fi
7506
7507     done
7508     ac_cv_prog_CPP=$CPP
7509
7510 fi
7511   CPP=$ac_cv_prog_CPP
7512 else
7513   ac_cv_prog_CPP=$CPP
7514 fi
7515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7516 $as_echo "$CPP" >&6; }
7517 ac_preproc_ok=false
7518 for ac_c_preproc_warn_flag in '' yes
7519 do
7520   # Use a header file that comes with gcc, so configuring glibc
7521   # with a fresh cross-compiler works.
7522   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7523   # <limits.h> exists even on freestanding compilers.
7524   # On the NeXT, cc -E runs the code through the compiler's parser,
7525   # not just through cpp. "Syntax error" is here to catch this case.
7526   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7527 /* end confdefs.h.  */
7528 #ifdef __STDC__
7529 # include <limits.h>
7530 #else
7531 # include <assert.h>
7532 #endif
7533                      Syntax error
7534 _ACEOF
7535 if ac_fn_c_try_cpp "$LINENO"; then :
7536
7537 else
7538   # Broken: fails on valid input.
7539 continue
7540 fi
7541 rm -f conftest.err conftest.i conftest.$ac_ext
7542
7543   # OK, works on sane cases.  Now check whether nonexistent headers
7544   # can be detected and how.
7545   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7546 /* end confdefs.h.  */
7547 #include <ac_nonexistent.h>
7548 _ACEOF
7549 if ac_fn_c_try_cpp "$LINENO"; then :
7550   # Broken: success on invalid input.
7551 continue
7552 else
7553   # Passes both tests.
7554 ac_preproc_ok=:
7555 break
7556 fi
7557 rm -f conftest.err conftest.i conftest.$ac_ext
7558
7559 done
7560 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7561 rm -f conftest.i conftest.err conftest.$ac_ext
7562 if $ac_preproc_ok; then :
7563
7564 else
7565   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7566 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7567 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7568 See \`config.log' for more details" "$LINENO" 5; }
7569 fi
7570
7571 ac_ext=c
7572 ac_cpp='$CPP $CPPFLAGS'
7573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7576
7577
7578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7579 $as_echo_n "checking for ANSI C header files... " >&6; }
7580 if ${ac_cv_header_stdc+:} false; then :
7581   $as_echo_n "(cached) " >&6
7582 else
7583   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7584 /* end confdefs.h.  */
7585 #include <stdlib.h>
7586 #include <stdarg.h>
7587 #include <string.h>
7588 #include <float.h>
7589
7590 int
7591 main ()
7592 {
7593
7594   ;
7595   return 0;
7596 }
7597 _ACEOF
7598 if ac_fn_c_try_compile "$LINENO"; then :
7599   ac_cv_header_stdc=yes
7600 else
7601   ac_cv_header_stdc=no
7602 fi
7603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7604
7605 if test $ac_cv_header_stdc = yes; then
7606   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7607   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7608 /* end confdefs.h.  */
7609 #include <string.h>
7610
7611 _ACEOF
7612 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7613   $EGREP "memchr" >/dev/null 2>&1; then :
7614
7615 else
7616   ac_cv_header_stdc=no
7617 fi
7618 rm -f conftest*
7619
7620 fi
7621
7622 if test $ac_cv_header_stdc = yes; then
7623   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7624   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7625 /* end confdefs.h.  */
7626 #include <stdlib.h>
7627
7628 _ACEOF
7629 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7630   $EGREP "free" >/dev/null 2>&1; then :
7631
7632 else
7633   ac_cv_header_stdc=no
7634 fi
7635 rm -f conftest*
7636
7637 fi
7638
7639 if test $ac_cv_header_stdc = yes; then
7640   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7641   if test "$cross_compiling" = yes; then :
7642   :
7643 else
7644   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7645 /* end confdefs.h.  */
7646 #include <ctype.h>
7647 #include <stdlib.h>
7648 #if ((' ' & 0x0FF) == 0x020)
7649 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7650 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7651 #else
7652 # define ISLOWER(c) \
7653                    (('a' <= (c) && (c) <= 'i') \
7654                      || ('j' <= (c) && (c) <= 'r') \
7655                      || ('s' <= (c) && (c) <= 'z'))
7656 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7657 #endif
7658
7659 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7660 int
7661 main ()
7662 {
7663   int i;
7664   for (i = 0; i < 256; i++)
7665     if (XOR (islower (i), ISLOWER (i))
7666         || toupper (i) != TOUPPER (i))
7667       return 2;
7668   return 0;
7669 }
7670 _ACEOF
7671 if ac_fn_c_try_run "$LINENO"; then :
7672
7673 else
7674   ac_cv_header_stdc=no
7675 fi
7676 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7677   conftest.$ac_objext conftest.beam conftest.$ac_ext
7678 fi
7679
7680 fi
7681 fi
7682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7683 $as_echo "$ac_cv_header_stdc" >&6; }
7684 if test $ac_cv_header_stdc = yes; then
7685
7686 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7687
7688 fi
7689
7690 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7691 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7692                   inttypes.h stdint.h unistd.h
7693 do :
7694   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7695 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7696 "
7697 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7698   cat >>confdefs.h <<_ACEOF
7699 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7700 _ACEOF
7701
7702 fi
7703
7704 done
7705
7706
7707 for ac_header in dlfcn.h
7708 do :
7709   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7710 "
7711 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7712   cat >>confdefs.h <<_ACEOF
7713 #define HAVE_DLFCN_H 1
7714 _ACEOF
7715
7716 fi
7717
7718 done
7719
7720
7721
7722
7723
7724 # Set options
7725 # Check whether --enable-static was given.
7726 if test "${enable_static+set}" = set; then :
7727   enableval=$enable_static; p=${PACKAGE-default}
7728     case $enableval in
7729     yes) enable_static=yes ;;
7730     no) enable_static=no ;;
7731     *)
7732      enable_static=no
7733       # Look at the argument we got.  We use all the common list separators.
7734       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7735       for pkg in $enableval; do
7736         IFS="$lt_save_ifs"
7737         if test "X$pkg" = "X$p"; then
7738           enable_static=yes
7739         fi
7740       done
7741       IFS="$lt_save_ifs"
7742       ;;
7743     esac
7744 else
7745   enable_static=no
7746 fi
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757         enable_dlopen=no
7758
7759
7760   enable_win32_dll=no
7761
7762
7763             # Check whether --enable-shared was given.
7764 if test "${enable_shared+set}" = set; then :
7765   enableval=$enable_shared; p=${PACKAGE-default}
7766     case $enableval in
7767     yes) enable_shared=yes ;;
7768     no) enable_shared=no ;;
7769     *)
7770       enable_shared=no
7771       # Look at the argument we got.  We use all the common list separators.
7772       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7773       for pkg in $enableval; do
7774         IFS="$lt_save_ifs"
7775         if test "X$pkg" = "X$p"; then
7776           enable_shared=yes
7777         fi
7778       done
7779       IFS="$lt_save_ifs"
7780       ;;
7781     esac
7782 else
7783   enable_shared=yes
7784 fi
7785
7786
7787
7788
7789
7790
7791
7792
7793
7794
7795
7796 # Check whether --with-pic was given.
7797 if test "${with_pic+set}" = set; then :
7798   withval=$with_pic; lt_p=${PACKAGE-default}
7799     case $withval in
7800     yes|no) pic_mode=$withval ;;
7801     *)
7802       pic_mode=default
7803       # Look at the argument we got.  We use all the common list separators.
7804       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7805       for lt_pkg in $withval; do
7806         IFS="$lt_save_ifs"
7807         if test "X$lt_pkg" = "X$lt_p"; then
7808           pic_mode=yes
7809         fi
7810       done
7811       IFS="$lt_save_ifs"
7812       ;;
7813     esac
7814 else
7815   pic_mode=default
7816 fi
7817
7818
7819 test -z "$pic_mode" && pic_mode=default
7820
7821
7822
7823
7824
7825
7826
7827   # Check whether --enable-fast-install was given.
7828 if test "${enable_fast_install+set}" = set; then :
7829   enableval=$enable_fast_install; p=${PACKAGE-default}
7830     case $enableval in
7831     yes) enable_fast_install=yes ;;
7832     no) enable_fast_install=no ;;
7833     *)
7834       enable_fast_install=no
7835       # Look at the argument we got.  We use all the common list separators.
7836       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7837       for pkg in $enableval; do
7838         IFS="$lt_save_ifs"
7839         if test "X$pkg" = "X$p"; then
7840           enable_fast_install=yes
7841         fi
7842       done
7843       IFS="$lt_save_ifs"
7844       ;;
7845     esac
7846 else
7847   enable_fast_install=yes
7848 fi
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860 # This can be used to rebuild libtool when needed
7861 LIBTOOL_DEPS="$ltmain"
7862
7863 # Always use our own libtool.
7864 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
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
7892
7893
7894
7895 test -z "$LN_S" && LN_S="ln -s"
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910 if test -n "${ZSH_VERSION+set}" ; then
7911    setopt NO_GLOB_SUBST
7912 fi
7913
7914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7915 $as_echo_n "checking for objdir... " >&6; }
7916 if ${lt_cv_objdir+:} false; then :
7917   $as_echo_n "(cached) " >&6
7918 else
7919   rm -f .libs 2>/dev/null
7920 mkdir .libs 2>/dev/null
7921 if test -d .libs; then
7922   lt_cv_objdir=.libs
7923 else
7924   # MS-DOS does not allow filenames that begin with a dot.
7925   lt_cv_objdir=_libs
7926 fi
7927 rmdir .libs 2>/dev/null
7928 fi
7929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7930 $as_echo "$lt_cv_objdir" >&6; }
7931 objdir=$lt_cv_objdir
7932
7933
7934
7935
7936
7937 cat >>confdefs.h <<_ACEOF
7938 #define LT_OBJDIR "$lt_cv_objdir/"
7939 _ACEOF
7940
7941
7942
7943
7944 case $host_os in
7945 aix3*)
7946   # AIX sometimes has problems with the GCC collect2 program.  For some
7947   # reason, if we set the COLLECT_NAMES environment variable, the problems
7948   # vanish in a puff of smoke.
7949   if test "X${COLLECT_NAMES+set}" != Xset; then
7950     COLLECT_NAMES=
7951     export COLLECT_NAMES
7952   fi
7953   ;;
7954 esac
7955
7956 # Global variables:
7957 ofile=libtool
7958 can_build_shared=yes
7959
7960 # All known linkers require a `.a' archive for static linking (except MSVC,
7961 # which needs '.lib').
7962 libext=a
7963
7964 with_gnu_ld="$lt_cv_prog_gnu_ld"
7965
7966 old_CC="$CC"
7967 old_CFLAGS="$CFLAGS"
7968
7969 # Set sane defaults for various variables
7970 test -z "$CC" && CC=cc
7971 test -z "$LTCC" && LTCC=$CC
7972 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7973 test -z "$LD" && LD=ld
7974 test -z "$ac_objext" && ac_objext=o
7975
7976 for cc_temp in $compiler""; do
7977   case $cc_temp in
7978     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7979     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7980     \-*) ;;
7981     *) break;;
7982   esac
7983 done
7984 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7985
7986
7987 # Only perform the check for file, if the check method requires it
7988 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7989 case $deplibs_check_method in
7990 file_magic*)
7991   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7992     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7993 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7994 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7995   $as_echo_n "(cached) " >&6
7996 else
7997   case $MAGIC_CMD in
7998 [\\/*] |  ?:[\\/]*)
7999   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8000   ;;
8001 *)
8002   lt_save_MAGIC_CMD="$MAGIC_CMD"
8003   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8004   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8005   for ac_dir in $ac_dummy; do
8006     IFS="$lt_save_ifs"
8007     test -z "$ac_dir" && ac_dir=.
8008     if test -f $ac_dir/${ac_tool_prefix}file; then
8009       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8010       if test -n "$file_magic_test_file"; then
8011         case $deplibs_check_method in
8012         "file_magic "*)
8013           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8014           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8015           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8016             $EGREP "$file_magic_regex" > /dev/null; then
8017             :
8018           else
8019             cat <<_LT_EOF 1>&2
8020
8021 *** Warning: the command libtool uses to detect shared libraries,
8022 *** $file_magic_cmd, produces output that libtool cannot recognize.
8023 *** The result is that libtool may fail to recognize shared libraries
8024 *** as such.  This will affect the creation of libtool libraries that
8025 *** depend on shared libraries, but programs linked with such libtool
8026 *** libraries will work regardless of this problem.  Nevertheless, you
8027 *** may want to report the problem to your system manager and/or to
8028 *** bug-libtool@gnu.org
8029
8030 _LT_EOF
8031           fi ;;
8032         esac
8033       fi
8034       break
8035     fi
8036   done
8037   IFS="$lt_save_ifs"
8038   MAGIC_CMD="$lt_save_MAGIC_CMD"
8039   ;;
8040 esac
8041 fi
8042
8043 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8044 if test -n "$MAGIC_CMD"; then
8045   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8046 $as_echo "$MAGIC_CMD" >&6; }
8047 else
8048   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8049 $as_echo "no" >&6; }
8050 fi
8051
8052
8053
8054
8055
8056 if test -z "$lt_cv_path_MAGIC_CMD"; then
8057   if test -n "$ac_tool_prefix"; then
8058     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8059 $as_echo_n "checking for file... " >&6; }
8060 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8061   $as_echo_n "(cached) " >&6
8062 else
8063   case $MAGIC_CMD in
8064 [\\/*] |  ?:[\\/]*)
8065   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8066   ;;
8067 *)
8068   lt_save_MAGIC_CMD="$MAGIC_CMD"
8069   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8070   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8071   for ac_dir in $ac_dummy; do
8072     IFS="$lt_save_ifs"
8073     test -z "$ac_dir" && ac_dir=.
8074     if test -f $ac_dir/file; then
8075       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8076       if test -n "$file_magic_test_file"; then
8077         case $deplibs_check_method in
8078         "file_magic "*)
8079           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8080           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8081           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8082             $EGREP "$file_magic_regex" > /dev/null; then
8083             :
8084           else
8085             cat <<_LT_EOF 1>&2
8086
8087 *** Warning: the command libtool uses to detect shared libraries,
8088 *** $file_magic_cmd, produces output that libtool cannot recognize.
8089 *** The result is that libtool may fail to recognize shared libraries
8090 *** as such.  This will affect the creation of libtool libraries that
8091 *** depend on shared libraries, but programs linked with such libtool
8092 *** libraries will work regardless of this problem.  Nevertheless, you
8093 *** may want to report the problem to your system manager and/or to
8094 *** bug-libtool@gnu.org
8095
8096 _LT_EOF
8097           fi ;;
8098         esac
8099       fi
8100       break
8101     fi
8102   done
8103   IFS="$lt_save_ifs"
8104   MAGIC_CMD="$lt_save_MAGIC_CMD"
8105   ;;
8106 esac
8107 fi
8108
8109 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8110 if test -n "$MAGIC_CMD"; then
8111   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8112 $as_echo "$MAGIC_CMD" >&6; }
8113 else
8114   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8115 $as_echo "no" >&6; }
8116 fi
8117
8118
8119   else
8120     MAGIC_CMD=:
8121   fi
8122 fi
8123
8124   fi
8125   ;;
8126 esac
8127
8128 # Use C for the default configuration in the libtool script
8129
8130 lt_save_CC="$CC"
8131 ac_ext=c
8132 ac_cpp='$CPP $CPPFLAGS'
8133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8136
8137
8138 # Source file extension for C test sources.
8139 ac_ext=c
8140
8141 # Object file extension for compiled C test sources.
8142 objext=o
8143 objext=$objext
8144
8145 # Code to be used in simple compile tests
8146 lt_simple_compile_test_code="int some_variable = 0;"
8147
8148 # Code to be used in simple link tests
8149 lt_simple_link_test_code='int main(){return(0);}'
8150
8151
8152
8153
8154
8155
8156
8157 # If no C compiler was specified, use CC.
8158 LTCC=${LTCC-"$CC"}
8159
8160 # If no C compiler flags were specified, use CFLAGS.
8161 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8162
8163 # Allow CC to be a program name with arguments.
8164 compiler=$CC
8165
8166 # Save the default compiler, since it gets overwritten when the other
8167 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8168 compiler_DEFAULT=$CC
8169
8170 # save warnings/boilerplate of simple test code
8171 ac_outfile=conftest.$ac_objext
8172 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8173 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8174 _lt_compiler_boilerplate=`cat conftest.err`
8175 $RM conftest*
8176
8177 ac_outfile=conftest.$ac_objext
8178 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8179 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8180 _lt_linker_boilerplate=`cat conftest.err`
8181 $RM -r conftest*
8182
8183
8184 ## CAVEAT EMPTOR:
8185 ## There is no encapsulation within the following macros, do not change
8186 ## the running order or otherwise move them around unless you know exactly
8187 ## what you are doing...
8188 if test -n "$compiler"; then
8189
8190 lt_prog_compiler_no_builtin_flag=
8191
8192 if test "$GCC" = yes; then
8193   case $cc_basename in
8194   nvcc*)
8195     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8196   *)
8197     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8198   esac
8199
8200   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8201 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8202 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8203   $as_echo_n "(cached) " >&6
8204 else
8205   lt_cv_prog_compiler_rtti_exceptions=no
8206    ac_outfile=conftest.$ac_objext
8207    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8208    lt_compiler_flag="-fno-rtti -fno-exceptions"
8209    # Insert the option either (1) after the last *FLAGS variable, or
8210    # (2) before a word containing "conftest.", or (3) at the end.
8211    # Note that $ac_compile itself does not contain backslashes and begins
8212    # with a dollar sign (not a hyphen), so the echo should work correctly.
8213    # The option is referenced via a variable to avoid confusing sed.
8214    lt_compile=`echo "$ac_compile" | $SED \
8215    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8216    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8217    -e 's:$: $lt_compiler_flag:'`
8218    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8219    (eval "$lt_compile" 2>conftest.err)
8220    ac_status=$?
8221    cat conftest.err >&5
8222    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8223    if (exit $ac_status) && test -s "$ac_outfile"; then
8224      # The compiler can only warn and ignore the option if not recognized
8225      # So say no if there are warnings other than the usual output.
8226      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8227      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8228      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8229        lt_cv_prog_compiler_rtti_exceptions=yes
8230      fi
8231    fi
8232    $RM conftest*
8233
8234 fi
8235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8236 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8237
8238 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8239     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8240 else
8241     :
8242 fi
8243
8244 fi
8245
8246
8247
8248
8249
8250
8251   lt_prog_compiler_wl=
8252 lt_prog_compiler_pic=
8253 lt_prog_compiler_static=
8254
8255
8256   if test "$GCC" = yes; then
8257     lt_prog_compiler_wl='-Wl,'
8258     lt_prog_compiler_static='-static'
8259
8260     case $host_os in
8261       aix*)
8262       # All AIX code is PIC.
8263       if test "$host_cpu" = ia64; then
8264         # AIX 5 now supports IA64 processor
8265         lt_prog_compiler_static='-Bstatic'
8266       fi
8267       ;;
8268
8269     amigaos*)
8270       case $host_cpu in
8271       powerpc)
8272             # see comment about AmigaOS4 .so support
8273             lt_prog_compiler_pic='-fPIC'
8274         ;;
8275       m68k)
8276             # FIXME: we need at least 68020 code to build shared libraries, but
8277             # adding the `-m68020' flag to GCC prevents building anything better,
8278             # like `-m68040'.
8279             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8280         ;;
8281       esac
8282       ;;
8283
8284     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8285       # PIC is the default for these OSes.
8286       ;;
8287
8288     mingw* | cygwin* | pw32* | os2* | cegcc*)
8289       # This hack is so that the source file can tell whether it is being
8290       # built for inclusion in a dll (and should export symbols for example).
8291       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8292       # (--disable-auto-import) libraries
8293       lt_prog_compiler_pic='-DDLL_EXPORT'
8294       ;;
8295
8296     darwin* | rhapsody*)
8297       # PIC is the default on this platform
8298       # Common symbols not allowed in MH_DYLIB files
8299       lt_prog_compiler_pic='-fno-common'
8300       ;;
8301
8302     haiku*)
8303       # PIC is the default for Haiku.
8304       # The "-static" flag exists, but is broken.
8305       lt_prog_compiler_static=
8306       ;;
8307
8308     hpux*)
8309       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8310       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8311       # sets the default TLS model and affects inlining.
8312       case $host_cpu in
8313       hppa*64*)
8314         # +Z the default
8315         ;;
8316       *)
8317         lt_prog_compiler_pic='-fPIC'
8318         ;;
8319       esac
8320       ;;
8321
8322     interix[3-9]*)
8323       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8324       # Instead, we relocate shared libraries at runtime.
8325       ;;
8326
8327     msdosdjgpp*)
8328       # Just because we use GCC doesn't mean we suddenly get shared libraries
8329       # on systems that don't support them.
8330       lt_prog_compiler_can_build_shared=no
8331       enable_shared=no
8332       ;;
8333
8334     *nto* | *qnx*)
8335       # QNX uses GNU C++, but need to define -shared option too, otherwise
8336       # it will coredump.
8337       lt_prog_compiler_pic='-fPIC -shared'
8338       ;;
8339
8340     sysv4*MP*)
8341       if test -d /usr/nec; then
8342         lt_prog_compiler_pic=-Kconform_pic
8343       fi
8344       ;;
8345
8346     *)
8347       lt_prog_compiler_pic='-fPIC'
8348       ;;
8349     esac
8350
8351     case $cc_basename in
8352     nvcc*) # Cuda Compiler Driver 2.2
8353       lt_prog_compiler_wl='-Xlinker '
8354       if test -n "$lt_prog_compiler_pic"; then
8355         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8356       fi
8357       ;;
8358     esac
8359   else
8360     # PORTME Check for flag to pass linker flags through the system compiler.
8361     case $host_os in
8362     aix*)
8363       lt_prog_compiler_wl='-Wl,'
8364       if test "$host_cpu" = ia64; then
8365         # AIX 5 now supports IA64 processor
8366         lt_prog_compiler_static='-Bstatic'
8367       else
8368         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8369       fi
8370       ;;
8371
8372     mingw* | cygwin* | pw32* | os2* | cegcc*)
8373       # This hack is so that the source file can tell whether it is being
8374       # built for inclusion in a dll (and should export symbols for example).
8375       lt_prog_compiler_pic='-DDLL_EXPORT'
8376       ;;
8377
8378     hpux9* | hpux10* | hpux11*)
8379       lt_prog_compiler_wl='-Wl,'
8380       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8381       # not for PA HP-UX.
8382       case $host_cpu in
8383       hppa*64*|ia64*)
8384         # +Z the default
8385         ;;
8386       *)
8387         lt_prog_compiler_pic='+Z'
8388         ;;
8389       esac
8390       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8391       lt_prog_compiler_static='${wl}-a ${wl}archive'
8392       ;;
8393
8394     irix5* | irix6* | nonstopux*)
8395       lt_prog_compiler_wl='-Wl,'
8396       # PIC (with -KPIC) is the default.
8397       lt_prog_compiler_static='-non_shared'
8398       ;;
8399
8400     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8401       case $cc_basename in
8402       # old Intel for x86_64 which still supported -KPIC.
8403       ecc*)
8404         lt_prog_compiler_wl='-Wl,'
8405         lt_prog_compiler_pic='-KPIC'
8406         lt_prog_compiler_static='-static'
8407         ;;
8408       # icc used to be incompatible with GCC.
8409       # ICC 10 doesn't accept -KPIC any more.
8410       icc* | ifort*)
8411         lt_prog_compiler_wl='-Wl,'
8412         lt_prog_compiler_pic='-fPIC'
8413         lt_prog_compiler_static='-static'
8414         ;;
8415       # Lahey Fortran 8.1.
8416       lf95*)
8417         lt_prog_compiler_wl='-Wl,'
8418         lt_prog_compiler_pic='--shared'
8419         lt_prog_compiler_static='--static'
8420         ;;
8421       nagfor*)
8422         # NAG Fortran compiler
8423         lt_prog_compiler_wl='-Wl,-Wl,,'
8424         lt_prog_compiler_pic='-PIC'
8425         lt_prog_compiler_static='-Bstatic'
8426         ;;
8427       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8428         # Portland Group compilers (*not* the Pentium gcc compiler,
8429         # which looks to be a dead project)
8430         lt_prog_compiler_wl='-Wl,'
8431         lt_prog_compiler_pic='-fpic'
8432         lt_prog_compiler_static='-Bstatic'
8433         ;;
8434       ccc*)
8435         lt_prog_compiler_wl='-Wl,'
8436         # All Alpha code is PIC.
8437         lt_prog_compiler_static='-non_shared'
8438         ;;
8439       xl* | bgxl* | bgf* | mpixl*)
8440         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8441         lt_prog_compiler_wl='-Wl,'
8442         lt_prog_compiler_pic='-qpic'
8443         lt_prog_compiler_static='-qstaticlink'
8444         ;;
8445       *)
8446         case `$CC -V 2>&1 | sed 5q` in
8447         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8448           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8449           lt_prog_compiler_pic='-KPIC'
8450           lt_prog_compiler_static='-Bstatic'
8451           lt_prog_compiler_wl=''
8452           ;;
8453         *Sun\ F* | *Sun*Fortran*)
8454           lt_prog_compiler_pic='-KPIC'
8455           lt_prog_compiler_static='-Bstatic'
8456           lt_prog_compiler_wl='-Qoption ld '
8457           ;;
8458         *Sun\ C*)
8459           # Sun C 5.9
8460           lt_prog_compiler_pic='-KPIC'
8461           lt_prog_compiler_static='-Bstatic'
8462           lt_prog_compiler_wl='-Wl,'
8463           ;;
8464         *Intel*\ [CF]*Compiler*)
8465           lt_prog_compiler_wl='-Wl,'
8466           lt_prog_compiler_pic='-fPIC'
8467           lt_prog_compiler_static='-static'
8468           ;;
8469         *Portland\ Group*)
8470           lt_prog_compiler_wl='-Wl,'
8471           lt_prog_compiler_pic='-fpic'
8472           lt_prog_compiler_static='-Bstatic'
8473           ;;
8474         esac
8475         ;;
8476       esac
8477       ;;
8478
8479     newsos6)
8480       lt_prog_compiler_pic='-KPIC'
8481       lt_prog_compiler_static='-Bstatic'
8482       ;;
8483
8484     *nto* | *qnx*)
8485       # QNX uses GNU C++, but need to define -shared option too, otherwise
8486       # it will coredump.
8487       lt_prog_compiler_pic='-fPIC -shared'
8488       ;;
8489
8490     osf3* | osf4* | osf5*)
8491       lt_prog_compiler_wl='-Wl,'
8492       # All OSF/1 code is PIC.
8493       lt_prog_compiler_static='-non_shared'
8494       ;;
8495
8496     rdos*)
8497       lt_prog_compiler_static='-non_shared'
8498       ;;
8499
8500     solaris*)
8501       lt_prog_compiler_pic='-KPIC'
8502       lt_prog_compiler_static='-Bstatic'
8503       case $cc_basename in
8504       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8505         lt_prog_compiler_wl='-Qoption ld ';;
8506       *)
8507         lt_prog_compiler_wl='-Wl,';;
8508       esac
8509       ;;
8510
8511     sunos4*)
8512       lt_prog_compiler_wl='-Qoption ld '
8513       lt_prog_compiler_pic='-PIC'
8514       lt_prog_compiler_static='-Bstatic'
8515       ;;
8516
8517     sysv4 | sysv4.2uw2* | sysv4.3*)
8518       lt_prog_compiler_wl='-Wl,'
8519       lt_prog_compiler_pic='-KPIC'
8520       lt_prog_compiler_static='-Bstatic'
8521       ;;
8522
8523     sysv4*MP*)
8524       if test -d /usr/nec ;then
8525         lt_prog_compiler_pic='-Kconform_pic'
8526         lt_prog_compiler_static='-Bstatic'
8527       fi
8528       ;;
8529
8530     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8531       lt_prog_compiler_wl='-Wl,'
8532       lt_prog_compiler_pic='-KPIC'
8533       lt_prog_compiler_static='-Bstatic'
8534       ;;
8535
8536     unicos*)
8537       lt_prog_compiler_wl='-Wl,'
8538       lt_prog_compiler_can_build_shared=no
8539       ;;
8540
8541     uts4*)
8542       lt_prog_compiler_pic='-pic'
8543       lt_prog_compiler_static='-Bstatic'
8544       ;;
8545
8546     *)
8547       lt_prog_compiler_can_build_shared=no
8548       ;;
8549     esac
8550   fi
8551
8552 case $host_os in
8553   # For platforms which do not support PIC, -DPIC is meaningless:
8554   *djgpp*)
8555     lt_prog_compiler_pic=
8556     ;;
8557   *)
8558     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8559     ;;
8560 esac
8561
8562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8563 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8564 if ${lt_cv_prog_compiler_pic+:} false; then :
8565   $as_echo_n "(cached) " >&6
8566 else
8567   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8568 fi
8569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8570 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8571 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8572
8573 #
8574 # Check to make sure the PIC flag actually works.
8575 #
8576 if test -n "$lt_prog_compiler_pic"; then
8577   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8578 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8579 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8580   $as_echo_n "(cached) " >&6
8581 else
8582   lt_cv_prog_compiler_pic_works=no
8583    ac_outfile=conftest.$ac_objext
8584    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8585    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8586    # Insert the option either (1) after the last *FLAGS variable, or
8587    # (2) before a word containing "conftest.", or (3) at the end.
8588    # Note that $ac_compile itself does not contain backslashes and begins
8589    # with a dollar sign (not a hyphen), so the echo should work correctly.
8590    # The option is referenced via a variable to avoid confusing sed.
8591    lt_compile=`echo "$ac_compile" | $SED \
8592    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8593    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8594    -e 's:$: $lt_compiler_flag:'`
8595    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8596    (eval "$lt_compile" 2>conftest.err)
8597    ac_status=$?
8598    cat conftest.err >&5
8599    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8600    if (exit $ac_status) && test -s "$ac_outfile"; then
8601      # The compiler can only warn and ignore the option if not recognized
8602      # So say no if there are warnings other than the usual output.
8603      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8604      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8605      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8606        lt_cv_prog_compiler_pic_works=yes
8607      fi
8608    fi
8609    $RM conftest*
8610
8611 fi
8612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8613 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8614
8615 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8616     case $lt_prog_compiler_pic in
8617      "" | " "*) ;;
8618      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8619      esac
8620 else
8621     lt_prog_compiler_pic=
8622      lt_prog_compiler_can_build_shared=no
8623 fi
8624
8625 fi
8626
8627
8628
8629
8630
8631
8632
8633
8634
8635
8636
8637 #
8638 # Check to make sure the static flag actually works.
8639 #
8640 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8642 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8643 if ${lt_cv_prog_compiler_static_works+:} false; then :
8644   $as_echo_n "(cached) " >&6
8645 else
8646   lt_cv_prog_compiler_static_works=no
8647    save_LDFLAGS="$LDFLAGS"
8648    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8649    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8650    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8651      # The linker can only warn and ignore the option if not recognized
8652      # So say no if there are warnings
8653      if test -s conftest.err; then
8654        # Append any errors to the config.log.
8655        cat conftest.err 1>&5
8656        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8657        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8658        if diff conftest.exp conftest.er2 >/dev/null; then
8659          lt_cv_prog_compiler_static_works=yes
8660        fi
8661      else
8662        lt_cv_prog_compiler_static_works=yes
8663      fi
8664    fi
8665    $RM -r conftest*
8666    LDFLAGS="$save_LDFLAGS"
8667
8668 fi
8669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8670 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8671
8672 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8673     :
8674 else
8675     lt_prog_compiler_static=
8676 fi
8677
8678
8679
8680
8681
8682
8683
8684   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8685 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8686 if ${lt_cv_prog_compiler_c_o+:} false; then :
8687   $as_echo_n "(cached) " >&6
8688 else
8689   lt_cv_prog_compiler_c_o=no
8690    $RM -r conftest 2>/dev/null
8691    mkdir conftest
8692    cd conftest
8693    mkdir out
8694    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8695
8696    lt_compiler_flag="-o out/conftest2.$ac_objext"
8697    # Insert the option either (1) after the last *FLAGS variable, or
8698    # (2) before a word containing "conftest.", or (3) at the end.
8699    # Note that $ac_compile itself does not contain backslashes and begins
8700    # with a dollar sign (not a hyphen), so the echo should work correctly.
8701    lt_compile=`echo "$ac_compile" | $SED \
8702    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8703    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8704    -e 's:$: $lt_compiler_flag:'`
8705    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8706    (eval "$lt_compile" 2>out/conftest.err)
8707    ac_status=$?
8708    cat out/conftest.err >&5
8709    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8710    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8711    then
8712      # The compiler can only warn and ignore the option if not recognized
8713      # So say no if there are warnings
8714      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8715      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8716      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8717        lt_cv_prog_compiler_c_o=yes
8718      fi
8719    fi
8720    chmod u+w . 2>&5
8721    $RM conftest*
8722    # SGI C++ compiler will create directory out/ii_files/ for
8723    # template instantiation
8724    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8725    $RM out/* && rmdir out
8726    cd ..
8727    $RM -r conftest
8728    $RM conftest*
8729
8730 fi
8731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8732 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8733
8734
8735
8736
8737
8738
8739   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8740 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8741 if ${lt_cv_prog_compiler_c_o+:} false; then :
8742   $as_echo_n "(cached) " >&6
8743 else
8744   lt_cv_prog_compiler_c_o=no
8745    $RM -r conftest 2>/dev/null
8746    mkdir conftest
8747    cd conftest
8748    mkdir out
8749    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8750
8751    lt_compiler_flag="-o out/conftest2.$ac_objext"
8752    # Insert the option either (1) after the last *FLAGS variable, or
8753    # (2) before a word containing "conftest.", or (3) at the end.
8754    # Note that $ac_compile itself does not contain backslashes and begins
8755    # with a dollar sign (not a hyphen), so the echo should work correctly.
8756    lt_compile=`echo "$ac_compile" | $SED \
8757    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8758    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8759    -e 's:$: $lt_compiler_flag:'`
8760    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8761    (eval "$lt_compile" 2>out/conftest.err)
8762    ac_status=$?
8763    cat out/conftest.err >&5
8764    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8765    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8766    then
8767      # The compiler can only warn and ignore the option if not recognized
8768      # So say no if there are warnings
8769      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8770      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8771      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8772        lt_cv_prog_compiler_c_o=yes
8773      fi
8774    fi
8775    chmod u+w . 2>&5
8776    $RM conftest*
8777    # SGI C++ compiler will create directory out/ii_files/ for
8778    # template instantiation
8779    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8780    $RM out/* && rmdir out
8781    cd ..
8782    $RM -r conftest
8783    $RM conftest*
8784
8785 fi
8786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8787 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8788
8789
8790
8791
8792 hard_links="nottested"
8793 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8794   # do not overwrite the value of need_locks provided by the user
8795   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8796 $as_echo_n "checking if we can lock with hard links... " >&6; }
8797   hard_links=yes
8798   $RM conftest*
8799   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8800   touch conftest.a
8801   ln conftest.a conftest.b 2>&5 || hard_links=no
8802   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8803   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8804 $as_echo "$hard_links" >&6; }
8805   if test "$hard_links" = no; then
8806     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8807 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8808     need_locks=warn
8809   fi
8810 else
8811   need_locks=no
8812 fi
8813
8814
8815
8816
8817
8818
8819   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8820 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8821
8822   runpath_var=
8823   allow_undefined_flag=
8824   always_export_symbols=no
8825   archive_cmds=
8826   archive_expsym_cmds=
8827   compiler_needs_object=no
8828   enable_shared_with_static_runtimes=no
8829   export_dynamic_flag_spec=
8830   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8831   hardcode_automatic=no
8832   hardcode_direct=no
8833   hardcode_direct_absolute=no
8834   hardcode_libdir_flag_spec=
8835   hardcode_libdir_separator=
8836   hardcode_minus_L=no
8837   hardcode_shlibpath_var=unsupported
8838   inherit_rpath=no
8839   link_all_deplibs=unknown
8840   module_cmds=
8841   module_expsym_cmds=
8842   old_archive_from_new_cmds=
8843   old_archive_from_expsyms_cmds=
8844   thread_safe_flag_spec=
8845   whole_archive_flag_spec=
8846   # include_expsyms should be a list of space-separated symbols to be *always*
8847   # included in the symbol list
8848   include_expsyms=
8849   # exclude_expsyms can be an extended regexp of symbols to exclude
8850   # it will be wrapped by ` (' and `)$', so one must not match beginning or
8851   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8852   # as well as any symbol that contains `d'.
8853   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8854   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8855   # platforms (ab)use it in PIC code, but their linkers get confused if
8856   # the symbol is explicitly referenced.  Since portable code cannot
8857   # rely on this symbol name, it's probably fine to never include it in
8858   # preloaded symbol tables.
8859   # Exclude shared library initialization/finalization symbols.
8860   extract_expsyms_cmds=
8861
8862   case $host_os in
8863   cygwin* | mingw* | pw32* | cegcc*)
8864     # FIXME: the MSVC++ port hasn't been tested in a loooong time
8865     # When not using gcc, we currently assume that we are using
8866     # Microsoft Visual C++.
8867     if test "$GCC" != yes; then
8868       with_gnu_ld=no
8869     fi
8870     ;;
8871   interix*)
8872     # we just hope/assume this is gcc and not c89 (= MSVC++)
8873     with_gnu_ld=yes
8874     ;;
8875   openbsd*)
8876     with_gnu_ld=no
8877     ;;
8878   esac
8879
8880   ld_shlibs=yes
8881
8882   # On some targets, GNU ld is compatible enough with the native linker
8883   # that we're better off using the native interface for both.
8884   lt_use_gnu_ld_interface=no
8885   if test "$with_gnu_ld" = yes; then
8886     case $host_os in
8887       aix*)
8888         # The AIX port of GNU ld has always aspired to compatibility
8889         # with the native linker.  However, as the warning in the GNU ld
8890         # block says, versions before 2.19.5* couldn't really create working
8891         # shared libraries, regardless of the interface used.
8892         case `$LD -v 2>&1` in
8893           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8894           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8895           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8896           *)
8897             lt_use_gnu_ld_interface=yes
8898             ;;
8899         esac
8900         ;;
8901       *)
8902         lt_use_gnu_ld_interface=yes
8903         ;;
8904     esac
8905   fi
8906
8907   if test "$lt_use_gnu_ld_interface" = yes; then
8908     # If archive_cmds runs LD, not CC, wlarc should be empty
8909     wlarc='${wl}'
8910
8911     # Set some defaults for GNU ld with shared library support. These
8912     # are reset later if shared libraries are not supported. Putting them
8913     # here allows them to be overridden if necessary.
8914     runpath_var=LD_RUN_PATH
8915     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8916     export_dynamic_flag_spec='${wl}--export-dynamic'
8917     # ancient GNU ld didn't support --whole-archive et. al.
8918     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8919       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8920     else
8921       whole_archive_flag_spec=
8922     fi
8923     supports_anon_versioning=no
8924     case `$LD -v 2>&1` in
8925       *GNU\ gold*) supports_anon_versioning=yes ;;
8926       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8927       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8928       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8929       *\ 2.11.*) ;; # other 2.11 versions
8930       *) supports_anon_versioning=yes ;;
8931     esac
8932
8933     # See if GNU ld supports shared libraries.
8934     case $host_os in
8935     aix[3-9]*)
8936       # On AIX/PPC, the GNU linker is very broken
8937       if test "$host_cpu" != ia64; then
8938         ld_shlibs=no
8939         cat <<_LT_EOF 1>&2
8940
8941 *** Warning: the GNU linker, at least up to release 2.19, is reported
8942 *** to be unable to reliably create shared libraries on AIX.
8943 *** Therefore, libtool is disabling shared libraries support.  If you
8944 *** really care for shared libraries, you may want to install binutils
8945 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8946 *** You will then need to restart the configuration process.
8947
8948 _LT_EOF
8949       fi
8950       ;;
8951
8952     amigaos*)
8953       case $host_cpu in
8954       powerpc)
8955             # see comment about AmigaOS4 .so support
8956             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8957             archive_expsym_cmds=''
8958         ;;
8959       m68k)
8960             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)'
8961             hardcode_libdir_flag_spec='-L$libdir'
8962             hardcode_minus_L=yes
8963         ;;
8964       esac
8965       ;;
8966
8967     beos*)
8968       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8969         allow_undefined_flag=unsupported
8970         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8971         # support --undefined.  This deserves some investigation.  FIXME
8972         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8973       else
8974         ld_shlibs=no
8975       fi
8976       ;;
8977
8978     cygwin* | mingw* | pw32* | cegcc*)
8979       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8980       # as there is no search path for DLLs.
8981       hardcode_libdir_flag_spec='-L$libdir'
8982       export_dynamic_flag_spec='${wl}--export-all-symbols'
8983       allow_undefined_flag=unsupported
8984       always_export_symbols=no
8985       enable_shared_with_static_runtimes=yes
8986       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'
8987       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8988
8989       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8990         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8991         # If the export-symbols file already is a .def file (1st line
8992         # is EXPORTS), use it as is; otherwise, prepend...
8993         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8994           cp $export_symbols $output_objdir/$soname.def;
8995         else
8996           echo EXPORTS > $output_objdir/$soname.def;
8997           cat $export_symbols >> $output_objdir/$soname.def;
8998         fi~
8999         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9000       else
9001         ld_shlibs=no
9002       fi
9003       ;;
9004
9005     haiku*)
9006       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9007       link_all_deplibs=yes
9008       ;;
9009
9010     interix[3-9]*)
9011       hardcode_direct=no
9012       hardcode_shlibpath_var=no
9013       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9014       export_dynamic_flag_spec='${wl}-E'
9015       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9016       # Instead, shared libraries are loaded at an image base (0x10000000 by
9017       # default) and relocated if they conflict, which is a slow very memory
9018       # consuming and fragmenting process.  To avoid this, we pick a random,
9019       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9020       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9021       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9022       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'
9023       ;;
9024
9025     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9026       tmp_diet=no
9027       if test "$host_os" = linux-dietlibc; then
9028         case $cc_basename in
9029           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9030         esac
9031       fi
9032       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9033          && test "$tmp_diet" = no
9034       then
9035         tmp_addflag=' $pic_flag'
9036         tmp_sharedflag='-shared'
9037         case $cc_basename,$host_cpu in
9038         pgcc*)                          # Portland Group C compiler
9039           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'
9040           tmp_addflag=' $pic_flag'
9041           ;;
9042         pgf77* | pgf90* | pgf95* | pgfortran*)
9043                                         # Portland Group f77 and f90 compilers
9044           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'
9045           tmp_addflag=' $pic_flag -Mnomain' ;;
9046         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9047           tmp_addflag=' -i_dynamic' ;;
9048         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9049           tmp_addflag=' -i_dynamic -nofor_main' ;;
9050         ifc* | ifort*)                  # Intel Fortran compiler
9051           tmp_addflag=' -nofor_main' ;;
9052         lf95*)                          # Lahey Fortran 8.1
9053           whole_archive_flag_spec=
9054           tmp_sharedflag='--shared' ;;
9055         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9056           tmp_sharedflag='-qmkshrobj'
9057           tmp_addflag= ;;
9058         nvcc*)  # Cuda Compiler Driver 2.2
9059           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'
9060           compiler_needs_object=yes
9061           ;;
9062         esac
9063         case `$CC -V 2>&1 | sed 5q` in
9064         *Sun\ C*)                       # Sun C 5.9
9065           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'
9066           compiler_needs_object=yes
9067           tmp_sharedflag='-G' ;;
9068         *Sun\ F*)                       # Sun Fortran 8.3
9069           tmp_sharedflag='-G' ;;
9070         esac
9071         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9072
9073         if test "x$supports_anon_versioning" = xyes; then
9074           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9075             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9076             echo "local: *; };" >> $output_objdir/$libname.ver~
9077             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9078         fi
9079
9080         case $cc_basename in
9081         xlf* | bgf* | bgxlf* | mpixlf*)
9082           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9083           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9084           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9085           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9086           if test "x$supports_anon_versioning" = xyes; then
9087             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9088               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9089               echo "local: *; };" >> $output_objdir/$libname.ver~
9090               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9091           fi
9092           ;;
9093         esac
9094       else
9095         ld_shlibs=no
9096       fi
9097       ;;
9098
9099     netbsd*)
9100       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9101         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9102         wlarc=
9103       else
9104         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9105         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9106       fi
9107       ;;
9108
9109     solaris*)
9110       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9111         ld_shlibs=no
9112         cat <<_LT_EOF 1>&2
9113
9114 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9115 *** create shared libraries on Solaris systems.  Therefore, libtool
9116 *** is disabling shared libraries support.  We urge you to upgrade GNU
9117 *** binutils to release 2.9.1 or newer.  Another option is to modify
9118 *** your PATH or compiler configuration so that the native linker is
9119 *** used, and then restart.
9120
9121 _LT_EOF
9122       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9123         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9124         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9125       else
9126         ld_shlibs=no
9127       fi
9128       ;;
9129
9130     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9131       case `$LD -v 2>&1` in
9132         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9133         ld_shlibs=no
9134         cat <<_LT_EOF 1>&2
9135
9136 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9137 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9138 *** is disabling shared libraries support.  We urge you to upgrade GNU
9139 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9140 *** your PATH or compiler configuration so that the native linker is
9141 *** used, and then restart.
9142
9143 _LT_EOF
9144         ;;
9145         *)
9146           # For security reasons, it is highly recommended that you always
9147           # use absolute paths for naming shared libraries, and exclude the
9148           # DT_RUNPATH tag from executables and libraries.  But doing so
9149           # requires that you compile everything twice, which is a pain.
9150           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9151             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9152             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9153             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9154           else
9155             ld_shlibs=no
9156           fi
9157         ;;
9158       esac
9159       ;;
9160
9161     sunos4*)
9162       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9163       wlarc=
9164       hardcode_direct=yes
9165       hardcode_shlibpath_var=no
9166       ;;
9167
9168     *)
9169       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9170         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9171         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9172       else
9173         ld_shlibs=no
9174       fi
9175       ;;
9176     esac
9177
9178     if test "$ld_shlibs" = no; then
9179       runpath_var=
9180       hardcode_libdir_flag_spec=
9181       export_dynamic_flag_spec=
9182       whole_archive_flag_spec=
9183     fi
9184   else
9185     # PORTME fill in a description of your system's linker (not GNU ld)
9186     case $host_os in
9187     aix3*)
9188       allow_undefined_flag=unsupported
9189       always_export_symbols=yes
9190       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'
9191       # Note: this linker hardcodes the directories in LIBPATH if there
9192       # are no directories specified by -L.
9193       hardcode_minus_L=yes
9194       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9195         # Neither direct hardcoding nor static linking is supported with a
9196         # broken collect2.
9197         hardcode_direct=unsupported
9198       fi
9199       ;;
9200
9201     aix[4-9]*)
9202       if test "$host_cpu" = ia64; then
9203         # On IA64, the linker does run time linking by default, so we don't
9204         # have to do anything special.
9205         aix_use_runtimelinking=no
9206         exp_sym_flag='-Bexport'
9207         no_entry_flag=""
9208       else
9209         # If we're using GNU nm, then we don't want the "-C" option.
9210         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9211         # Also, AIX nm treats weak defined symbols like other global
9212         # defined symbols, whereas GNU nm marks them as "W".
9213         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9214           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'
9215         else
9216           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'
9217         fi
9218         aix_use_runtimelinking=no
9219
9220         # Test if we are trying to use run time linking or normal
9221         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9222         # need to do runtime linking.
9223         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9224           for ld_flag in $LDFLAGS; do
9225           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9226             aix_use_runtimelinking=yes
9227             break
9228           fi
9229           done
9230           ;;
9231         esac
9232
9233         exp_sym_flag='-bexport'
9234         no_entry_flag='-bnoentry'
9235       fi
9236
9237       # When large executables or shared objects are built, AIX ld can
9238       # have problems creating the table of contents.  If linking a library
9239       # or program results in "error TOC overflow" add -mminimal-toc to
9240       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9241       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9242
9243       archive_cmds=''
9244       hardcode_direct=yes
9245       hardcode_direct_absolute=yes
9246       hardcode_libdir_separator=':'
9247       link_all_deplibs=yes
9248       file_list_spec='${wl}-f,'
9249
9250       if test "$GCC" = yes; then
9251         case $host_os in aix4.[012]|aix4.[012].*)
9252         # We only want to do this on AIX 4.2 and lower, the check
9253         # below for broken collect2 doesn't work under 4.3+
9254           collect2name=`${CC} -print-prog-name=collect2`
9255           if test -f "$collect2name" &&
9256            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9257           then
9258           # We have reworked collect2
9259           :
9260           else
9261           # We have old collect2
9262           hardcode_direct=unsupported
9263           # It fails to find uninstalled libraries when the uninstalled
9264           # path is not listed in the libpath.  Setting hardcode_minus_L
9265           # to unsupported forces relinking
9266           hardcode_minus_L=yes
9267           hardcode_libdir_flag_spec='-L$libdir'
9268           hardcode_libdir_separator=
9269           fi
9270           ;;
9271         esac
9272         shared_flag='-shared'
9273         if test "$aix_use_runtimelinking" = yes; then
9274           shared_flag="$shared_flag "'${wl}-G'
9275         fi
9276       else
9277         # not using gcc
9278         if test "$host_cpu" = ia64; then
9279         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9280         # chokes on -Wl,-G. The following line is correct:
9281           shared_flag='-G'
9282         else
9283           if test "$aix_use_runtimelinking" = yes; then
9284             shared_flag='${wl}-G'
9285           else
9286             shared_flag='${wl}-bM:SRE'
9287           fi
9288         fi
9289       fi
9290
9291       export_dynamic_flag_spec='${wl}-bexpall'
9292       # It seems that -bexpall does not export symbols beginning with
9293       # underscore (_), so it is better to generate a list of symbols to export.
9294       always_export_symbols=yes
9295       if test "$aix_use_runtimelinking" = yes; then
9296         # Warning - without using the other runtime loading flags (-brtl),
9297         # -berok will link without error, but may produce a broken library.
9298         allow_undefined_flag='-berok'
9299         # Determine the default libpath from the value encoded in an
9300         # empty executable.
9301         if test "${lt_cv_aix_libpath+set}" = set; then
9302   aix_libpath=$lt_cv_aix_libpath
9303 else
9304   if ${lt_cv_aix_libpath_+:} false; then :
9305   $as_echo_n "(cached) " >&6
9306 else
9307   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9308 /* end confdefs.h.  */
9309
9310 int
9311 main ()
9312 {
9313
9314   ;
9315   return 0;
9316 }
9317 _ACEOF
9318 if ac_fn_c_try_link "$LINENO"; then :
9319
9320   lt_aix_libpath_sed='
9321       /Import File Strings/,/^$/ {
9322           /^0/ {
9323               s/^0  *\([^ ]*\) *$/\1/
9324               p
9325           }
9326       }'
9327   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9328   # Check for a 64-bit object if we didn't find anything.
9329   if test -z "$lt_cv_aix_libpath_"; then
9330     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9331   fi
9332 fi
9333 rm -f core conftest.err conftest.$ac_objext \
9334     conftest$ac_exeext conftest.$ac_ext
9335   if test -z "$lt_cv_aix_libpath_"; then
9336     lt_cv_aix_libpath_="/usr/lib:/lib"
9337   fi
9338
9339 fi
9340
9341   aix_libpath=$lt_cv_aix_libpath_
9342 fi
9343
9344         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9345         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"
9346       else
9347         if test "$host_cpu" = ia64; then
9348           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9349           allow_undefined_flag="-z nodefs"
9350           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"
9351         else
9352          # Determine the default libpath from the value encoded in an
9353          # empty executable.
9354          if test "${lt_cv_aix_libpath+set}" = set; then
9355   aix_libpath=$lt_cv_aix_libpath
9356 else
9357   if ${lt_cv_aix_libpath_+:} false; then :
9358   $as_echo_n "(cached) " >&6
9359 else
9360   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9361 /* end confdefs.h.  */
9362
9363 int
9364 main ()
9365 {
9366
9367   ;
9368   return 0;
9369 }
9370 _ACEOF
9371 if ac_fn_c_try_link "$LINENO"; then :
9372
9373   lt_aix_libpath_sed='
9374       /Import File Strings/,/^$/ {
9375           /^0/ {
9376               s/^0  *\([^ ]*\) *$/\1/
9377               p
9378           }
9379       }'
9380   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9381   # Check for a 64-bit object if we didn't find anything.
9382   if test -z "$lt_cv_aix_libpath_"; then
9383     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9384   fi
9385 fi
9386 rm -f core conftest.err conftest.$ac_objext \
9387     conftest$ac_exeext conftest.$ac_ext
9388   if test -z "$lt_cv_aix_libpath_"; then
9389     lt_cv_aix_libpath_="/usr/lib:/lib"
9390   fi
9391
9392 fi
9393
9394   aix_libpath=$lt_cv_aix_libpath_
9395 fi
9396
9397          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9398           # Warning - without using the other run time loading flags,
9399           # -berok will link without error, but may produce a broken library.
9400           no_undefined_flag=' ${wl}-bernotok'
9401           allow_undefined_flag=' ${wl}-berok'
9402           if test "$with_gnu_ld" = yes; then
9403             # We only use this code for GNU lds that support --whole-archive.
9404             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9405           else
9406             # Exported symbols can be pulled into shared objects from archives
9407             whole_archive_flag_spec='$convenience'
9408           fi
9409           archive_cmds_need_lc=yes
9410           # This is similar to how AIX traditionally builds its shared libraries.
9411           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'
9412         fi
9413       fi
9414       ;;
9415
9416     amigaos*)
9417       case $host_cpu in
9418       powerpc)
9419             # see comment about AmigaOS4 .so support
9420             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9421             archive_expsym_cmds=''
9422         ;;
9423       m68k)
9424             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)'
9425             hardcode_libdir_flag_spec='-L$libdir'
9426             hardcode_minus_L=yes
9427         ;;
9428       esac
9429       ;;
9430
9431     bsdi[45]*)
9432       export_dynamic_flag_spec=-rdynamic
9433       ;;
9434
9435     cygwin* | mingw* | pw32* | cegcc*)
9436       # When not using gcc, we currently assume that we are using
9437       # Microsoft Visual C++.
9438       # hardcode_libdir_flag_spec is actually meaningless, as there is
9439       # no search path for DLLs.
9440       case $cc_basename in
9441       cl*)
9442         # Native MSVC
9443         hardcode_libdir_flag_spec=' '
9444         allow_undefined_flag=unsupported
9445         always_export_symbols=yes
9446         file_list_spec='@'
9447         # Tell ltmain to make .lib files, not .a files.
9448         libext=lib
9449         # Tell ltmain to make .dll files, not .so files.
9450         shrext_cmds=".dll"
9451         # FIXME: Setting linknames here is a bad hack.
9452         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9453         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9454             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9455           else
9456             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9457           fi~
9458           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9459           linknames='
9460         # The linker will not automatically build a static lib if we build a DLL.
9461         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9462         enable_shared_with_static_runtimes=yes
9463         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9464         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9465         # Don't use ranlib
9466         old_postinstall_cmds='chmod 644 $oldlib'
9467         postlink_cmds='lt_outputfile="@OUTPUT@"~
9468           lt_tool_outputfile="@TOOL_OUTPUT@"~
9469           case $lt_outputfile in
9470             *.exe|*.EXE) ;;
9471             *)
9472               lt_outputfile="$lt_outputfile.exe"
9473               lt_tool_outputfile="$lt_tool_outputfile.exe"
9474               ;;
9475           esac~
9476           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9477             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9478             $RM "$lt_outputfile.manifest";
9479           fi'
9480         ;;
9481       *)
9482         # Assume MSVC wrapper
9483         hardcode_libdir_flag_spec=' '
9484         allow_undefined_flag=unsupported
9485         # Tell ltmain to make .lib files, not .a files.
9486         libext=lib
9487         # Tell ltmain to make .dll files, not .so files.
9488         shrext_cmds=".dll"
9489         # FIXME: Setting linknames here is a bad hack.
9490         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9491         # The linker will automatically build a .lib file if we build a DLL.
9492         old_archive_from_new_cmds='true'
9493         # FIXME: Should let the user specify the lib program.
9494         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9495         enable_shared_with_static_runtimes=yes
9496         ;;
9497       esac
9498       ;;
9499
9500     darwin* | rhapsody*)
9501
9502
9503   archive_cmds_need_lc=no
9504   hardcode_direct=no
9505   hardcode_automatic=yes
9506   hardcode_shlibpath_var=unsupported
9507   if test "$lt_cv_ld_force_load" = "yes"; then
9508     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\"`'
9509
9510   else
9511     whole_archive_flag_spec=''
9512   fi
9513   link_all_deplibs=yes
9514   allow_undefined_flag="$_lt_dar_allow_undefined"
9515   case $cc_basename in
9516      ifort*) _lt_dar_can_shared=yes ;;
9517      *) _lt_dar_can_shared=$GCC ;;
9518   esac
9519   if test "$_lt_dar_can_shared" = "yes"; then
9520     output_verbose_link_cmd=func_echo_all
9521     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9522     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9523     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}"
9524     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}"
9525
9526   else
9527   ld_shlibs=no
9528   fi
9529
9530       ;;
9531
9532     dgux*)
9533       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9534       hardcode_libdir_flag_spec='-L$libdir'
9535       hardcode_shlibpath_var=no
9536       ;;
9537
9538     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9539     # support.  Future versions do this automatically, but an explicit c++rt0.o
9540     # does not break anything, and helps significantly (at the cost of a little
9541     # extra space).
9542     freebsd2.2*)
9543       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9544       hardcode_libdir_flag_spec='-R$libdir'
9545       hardcode_direct=yes
9546       hardcode_shlibpath_var=no
9547       ;;
9548
9549     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9550     freebsd2.*)
9551       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9552       hardcode_direct=yes
9553       hardcode_minus_L=yes
9554       hardcode_shlibpath_var=no
9555       ;;
9556
9557     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9558     freebsd* | dragonfly*)
9559       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9560       hardcode_libdir_flag_spec='-R$libdir'
9561       hardcode_direct=yes
9562       hardcode_shlibpath_var=no
9563       ;;
9564
9565     hpux9*)
9566       if test "$GCC" = yes; then
9567         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'
9568       else
9569         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'
9570       fi
9571       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9572       hardcode_libdir_separator=:
9573       hardcode_direct=yes
9574
9575       # hardcode_minus_L: Not really in the search PATH,
9576       # but as the default location of the library.
9577       hardcode_minus_L=yes
9578       export_dynamic_flag_spec='${wl}-E'
9579       ;;
9580
9581     hpux10*)
9582       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9583         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9584       else
9585         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9586       fi
9587       if test "$with_gnu_ld" = no; then
9588         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9589         hardcode_libdir_separator=:
9590         hardcode_direct=yes
9591         hardcode_direct_absolute=yes
9592         export_dynamic_flag_spec='${wl}-E'
9593         # hardcode_minus_L: Not really in the search PATH,
9594         # but as the default location of the library.
9595         hardcode_minus_L=yes
9596       fi
9597       ;;
9598
9599     hpux11*)
9600       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9601         case $host_cpu in
9602         hppa*64*)
9603           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9604           ;;
9605         ia64*)
9606           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9607           ;;
9608         *)
9609           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9610           ;;
9611         esac
9612       else
9613         case $host_cpu in
9614         hppa*64*)
9615           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9616           ;;
9617         ia64*)
9618           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9619           ;;
9620         *)
9621
9622           # Older versions of the 11.00 compiler do not understand -b yet
9623           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9624           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9625 $as_echo_n "checking if $CC understands -b... " >&6; }
9626 if ${lt_cv_prog_compiler__b+:} false; then :
9627   $as_echo_n "(cached) " >&6
9628 else
9629   lt_cv_prog_compiler__b=no
9630    save_LDFLAGS="$LDFLAGS"
9631    LDFLAGS="$LDFLAGS -b"
9632    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9633    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9634      # The linker can only warn and ignore the option if not recognized
9635      # So say no if there are warnings
9636      if test -s conftest.err; then
9637        # Append any errors to the config.log.
9638        cat conftest.err 1>&5
9639        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9640        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9641        if diff conftest.exp conftest.er2 >/dev/null; then
9642          lt_cv_prog_compiler__b=yes
9643        fi
9644      else
9645        lt_cv_prog_compiler__b=yes
9646      fi
9647    fi
9648    $RM -r conftest*
9649    LDFLAGS="$save_LDFLAGS"
9650
9651 fi
9652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9653 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9654
9655 if test x"$lt_cv_prog_compiler__b" = xyes; then
9656     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9657 else
9658     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9659 fi
9660
9661           ;;
9662         esac
9663       fi
9664       if test "$with_gnu_ld" = no; then
9665         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9666         hardcode_libdir_separator=:
9667
9668         case $host_cpu in
9669         hppa*64*|ia64*)
9670           hardcode_direct=no
9671           hardcode_shlibpath_var=no
9672           ;;
9673         *)
9674           hardcode_direct=yes
9675           hardcode_direct_absolute=yes
9676           export_dynamic_flag_spec='${wl}-E'
9677
9678           # hardcode_minus_L: Not really in the search PATH,
9679           # but as the default location of the library.
9680           hardcode_minus_L=yes
9681           ;;
9682         esac
9683       fi
9684       ;;
9685
9686     irix5* | irix6* | nonstopux*)
9687       if test "$GCC" = yes; then
9688         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'
9689         # Try to use the -exported_symbol ld option, if it does not
9690         # work, assume that -exports_file does not work either and
9691         # implicitly export all symbols.
9692         # This should be the same for all languages, so no per-tag cache variable.
9693         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9694 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9695 if ${lt_cv_irix_exported_symbol+:} false; then :
9696   $as_echo_n "(cached) " >&6
9697 else
9698   save_LDFLAGS="$LDFLAGS"
9699            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9700            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9701 /* end confdefs.h.  */
9702 int foo (void) { return 0; }
9703 _ACEOF
9704 if ac_fn_c_try_link "$LINENO"; then :
9705   lt_cv_irix_exported_symbol=yes
9706 else
9707   lt_cv_irix_exported_symbol=no
9708 fi
9709 rm -f core conftest.err conftest.$ac_objext \
9710     conftest$ac_exeext conftest.$ac_ext
9711            LDFLAGS="$save_LDFLAGS"
9712 fi
9713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9714 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9715         if test "$lt_cv_irix_exported_symbol" = yes; then
9716           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'
9717         fi
9718       else
9719         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'
9720         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'
9721       fi
9722       archive_cmds_need_lc='no'
9723       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9724       hardcode_libdir_separator=:
9725       inherit_rpath=yes
9726       link_all_deplibs=yes
9727       ;;
9728
9729     netbsd*)
9730       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9731         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9732       else
9733         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9734       fi
9735       hardcode_libdir_flag_spec='-R$libdir'
9736       hardcode_direct=yes
9737       hardcode_shlibpath_var=no
9738       ;;
9739
9740     newsos6)
9741       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9742       hardcode_direct=yes
9743       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9744       hardcode_libdir_separator=:
9745       hardcode_shlibpath_var=no
9746       ;;
9747
9748     *nto* | *qnx*)
9749       ;;
9750
9751     openbsd*)
9752       if test -f /usr/libexec/ld.so; then
9753         hardcode_direct=yes
9754         hardcode_shlibpath_var=no
9755         hardcode_direct_absolute=yes
9756         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9757           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9758           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9759           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9760           export_dynamic_flag_spec='${wl}-E'
9761         else
9762           case $host_os in
9763            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9764              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9765              hardcode_libdir_flag_spec='-R$libdir'
9766              ;;
9767            *)
9768              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9769              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9770              ;;
9771           esac
9772         fi
9773       else
9774         ld_shlibs=no
9775       fi
9776       ;;
9777
9778     os2*)
9779       hardcode_libdir_flag_spec='-L$libdir'
9780       hardcode_minus_L=yes
9781       allow_undefined_flag=unsupported
9782       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'
9783       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9784       ;;
9785
9786     osf3*)
9787       if test "$GCC" = yes; then
9788         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9789         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'
9790       else
9791         allow_undefined_flag=' -expect_unresolved \*'
9792         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'
9793       fi
9794       archive_cmds_need_lc='no'
9795       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9796       hardcode_libdir_separator=:
9797       ;;
9798
9799     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9800       if test "$GCC" = yes; then
9801         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9802         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'
9803         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9804       else
9805         allow_undefined_flag=' -expect_unresolved \*'
9806         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'
9807         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~
9808         $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'
9809
9810         # Both c and cxx compiler support -rpath directly
9811         hardcode_libdir_flag_spec='-rpath $libdir'
9812       fi
9813       archive_cmds_need_lc='no'
9814       hardcode_libdir_separator=:
9815       ;;
9816
9817     solaris*)
9818       no_undefined_flag=' -z defs'
9819       if test "$GCC" = yes; then
9820         wlarc='${wl}'
9821         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9822         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9823           $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'
9824       else
9825         case `$CC -V 2>&1` in
9826         *"Compilers 5.0"*)
9827           wlarc=''
9828           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9829           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9830           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9831           ;;
9832         *)
9833           wlarc='${wl}'
9834           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9835           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9836           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9837           ;;
9838         esac
9839       fi
9840       hardcode_libdir_flag_spec='-R$libdir'
9841       hardcode_shlibpath_var=no
9842       case $host_os in
9843       solaris2.[0-5] | solaris2.[0-5].*) ;;
9844       *)
9845         # The compiler driver will combine and reorder linker options,
9846         # but understands `-z linker_flag'.  GCC discards it without `$wl',
9847         # but is careful enough not to reorder.
9848         # Supported since Solaris 2.6 (maybe 2.5.1?)
9849         if test "$GCC" = yes; then
9850           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9851         else
9852           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9853         fi
9854         ;;
9855       esac
9856       link_all_deplibs=yes
9857       ;;
9858
9859     sunos4*)
9860       if test "x$host_vendor" = xsequent; then
9861         # Use $CC to link under sequent, because it throws in some extra .o
9862         # files that make .init and .fini sections work.
9863         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9864       else
9865         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9866       fi
9867       hardcode_libdir_flag_spec='-L$libdir'
9868       hardcode_direct=yes
9869       hardcode_minus_L=yes
9870       hardcode_shlibpath_var=no
9871       ;;
9872
9873     sysv4)
9874       case $host_vendor in
9875         sni)
9876           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9877           hardcode_direct=yes # is this really true???
9878         ;;
9879         siemens)
9880           ## LD is ld it makes a PLAMLIB
9881           ## CC just makes a GrossModule.
9882           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9883           reload_cmds='$CC -r -o $output$reload_objs'
9884           hardcode_direct=no
9885         ;;
9886         motorola)
9887           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9888           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9889         ;;
9890       esac
9891       runpath_var='LD_RUN_PATH'
9892       hardcode_shlibpath_var=no
9893       ;;
9894
9895     sysv4.3*)
9896       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9897       hardcode_shlibpath_var=no
9898       export_dynamic_flag_spec='-Bexport'
9899       ;;
9900
9901     sysv4*MP*)
9902       if test -d /usr/nec; then
9903         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9904         hardcode_shlibpath_var=no
9905         runpath_var=LD_RUN_PATH
9906         hardcode_runpath_var=yes
9907         ld_shlibs=yes
9908       fi
9909       ;;
9910
9911     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9912       no_undefined_flag='${wl}-z,text'
9913       archive_cmds_need_lc=no
9914       hardcode_shlibpath_var=no
9915       runpath_var='LD_RUN_PATH'
9916
9917       if test "$GCC" = yes; then
9918         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9919         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9920       else
9921         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9922         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9923       fi
9924       ;;
9925
9926     sysv5* | sco3.2v5* | sco5v6*)
9927       # Note: We can NOT use -z defs as we might desire, because we do not
9928       # link with -lc, and that would cause any symbols used from libc to
9929       # always be unresolved, which means just about no library would
9930       # ever link correctly.  If we're not using GNU ld we use -z text
9931       # though, which does catch some bad symbols but isn't as heavy-handed
9932       # as -z defs.
9933       no_undefined_flag='${wl}-z,text'
9934       allow_undefined_flag='${wl}-z,nodefs'
9935       archive_cmds_need_lc=no
9936       hardcode_shlibpath_var=no
9937       hardcode_libdir_flag_spec='${wl}-R,$libdir'
9938       hardcode_libdir_separator=':'
9939       link_all_deplibs=yes
9940       export_dynamic_flag_spec='${wl}-Bexport'
9941       runpath_var='LD_RUN_PATH'
9942
9943       if test "$GCC" = yes; then
9944         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9945         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9946       else
9947         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9948         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9949       fi
9950       ;;
9951
9952     uts4*)
9953       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9954       hardcode_libdir_flag_spec='-L$libdir'
9955       hardcode_shlibpath_var=no
9956       ;;
9957
9958     *)
9959       ld_shlibs=no
9960       ;;
9961     esac
9962
9963     if test x$host_vendor = xsni; then
9964       case $host in
9965       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9966         export_dynamic_flag_spec='${wl}-Blargedynsym'
9967         ;;
9968       esac
9969     fi
9970   fi
9971
9972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9973 $as_echo "$ld_shlibs" >&6; }
9974 test "$ld_shlibs" = no && can_build_shared=no
9975
9976 with_gnu_ld=$with_gnu_ld
9977
9978
9979
9980
9981
9982
9983
9984
9985
9986
9987
9988
9989
9990
9991
9992 #
9993 # Do we need to explicitly link libc?
9994 #
9995 case "x$archive_cmds_need_lc" in
9996 x|xyes)
9997   # Assume -lc should be added
9998   archive_cmds_need_lc=yes
9999
10000   if test "$enable_shared" = yes && test "$GCC" = yes; then
10001     case $archive_cmds in
10002     *'~'*)
10003       # FIXME: we may have to deal with multi-command sequences.
10004       ;;
10005     '$CC '*)
10006       # Test whether the compiler implicitly links with -lc since on some
10007       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10008       # to ld, don't add -lc before -lgcc.
10009       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10010 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10011 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10012   $as_echo_n "(cached) " >&6
10013 else
10014   $RM conftest*
10015         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10016
10017         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10018   (eval $ac_compile) 2>&5
10019   ac_status=$?
10020   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10021   test $ac_status = 0; } 2>conftest.err; then
10022           soname=conftest
10023           lib=conftest
10024           libobjs=conftest.$ac_objext
10025           deplibs=
10026           wl=$lt_prog_compiler_wl
10027           pic_flag=$lt_prog_compiler_pic
10028           compiler_flags=-v
10029           linker_flags=-v
10030           verstring=
10031           output_objdir=.
10032           libname=conftest
10033           lt_save_allow_undefined_flag=$allow_undefined_flag
10034           allow_undefined_flag=
10035           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10036   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10037   ac_status=$?
10038   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10039   test $ac_status = 0; }
10040           then
10041             lt_cv_archive_cmds_need_lc=no
10042           else
10043             lt_cv_archive_cmds_need_lc=yes
10044           fi
10045           allow_undefined_flag=$lt_save_allow_undefined_flag
10046         else
10047           cat conftest.err 1>&5
10048         fi
10049         $RM conftest*
10050
10051 fi
10052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10053 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10054       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10055       ;;
10056     esac
10057   fi
10058   ;;
10059 esac
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
10209
10210
10211
10212   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10213 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10214
10215 if test "$GCC" = yes; then
10216   case $host_os in
10217     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10218     *) lt_awk_arg="/^libraries:/" ;;
10219   esac
10220   case $host_os in
10221     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10222     *) lt_sed_strip_eq="s,=/,/,g" ;;
10223   esac
10224   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10225   case $lt_search_path_spec in
10226   *\;*)
10227     # if the path contains ";" then we assume it to be the separator
10228     # otherwise default to the standard path separator (i.e. ":") - it is
10229     # assumed that no part of a normal pathname contains ";" but that should
10230     # okay in the real world where ";" in dirpaths is itself problematic.
10231     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10232     ;;
10233   *)
10234     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10235     ;;
10236   esac
10237   # Ok, now we have the path, separated by spaces, we can step through it
10238   # and add multilib dir if necessary.
10239   lt_tmp_lt_search_path_spec=
10240   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10241   for lt_sys_path in $lt_search_path_spec; do
10242     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10243       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10244     else
10245       test -d "$lt_sys_path" && \
10246         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10247     fi
10248   done
10249   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10250 BEGIN {RS=" "; FS="/|\n";} {
10251   lt_foo="";
10252   lt_count=0;
10253   for (lt_i = NF; lt_i > 0; lt_i--) {
10254     if ($lt_i != "" && $lt_i != ".") {
10255       if ($lt_i == "..") {
10256         lt_count++;
10257       } else {
10258         if (lt_count == 0) {
10259           lt_foo="/" $lt_i lt_foo;
10260         } else {
10261           lt_count--;
10262         }
10263       }
10264     }
10265   }
10266   if (lt_foo != "") { lt_freq[lt_foo]++; }
10267   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10268 }'`
10269   # AWK program above erroneously prepends '/' to C:/dos/paths
10270   # for these hosts.
10271   case $host_os in
10272     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10273       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10274   esac
10275   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10276 else
10277   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10278 fi
10279 library_names_spec=
10280 libname_spec='lib$name'
10281 soname_spec=
10282 shrext_cmds=".so"
10283 postinstall_cmds=
10284 postuninstall_cmds=
10285 finish_cmds=
10286 finish_eval=
10287 shlibpath_var=
10288 shlibpath_overrides_runpath=unknown
10289 version_type=none
10290 dynamic_linker="$host_os ld.so"
10291 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10292 need_lib_prefix=unknown
10293 hardcode_into_libs=no
10294
10295 # when you set need_version to no, make sure it does not cause -set_version
10296 # flags to be left without arguments
10297 need_version=unknown
10298
10299 case $host_os in
10300 aix3*)
10301   version_type=linux # correct to gnu/linux during the next big refactor
10302   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10303   shlibpath_var=LIBPATH
10304
10305   # AIX 3 has no versioning support, so we append a major version to the name.
10306   soname_spec='${libname}${release}${shared_ext}$major'
10307   ;;
10308
10309 aix[4-9]*)
10310   version_type=linux # correct to gnu/linux during the next big refactor
10311   need_lib_prefix=no
10312   need_version=no
10313   hardcode_into_libs=yes
10314   if test "$host_cpu" = ia64; then
10315     # AIX 5 supports IA64
10316     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10317     shlibpath_var=LD_LIBRARY_PATH
10318   else
10319     # With GCC up to 2.95.x, collect2 would create an import file
10320     # for dependence libraries.  The import file would start with
10321     # the line `#! .'.  This would cause the generated library to
10322     # depend on `.', always an invalid library.  This was fixed in
10323     # development snapshots of GCC prior to 3.0.
10324     case $host_os in
10325       aix4 | aix4.[01] | aix4.[01].*)
10326       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10327            echo ' yes '
10328            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10329         :
10330       else
10331         can_build_shared=no
10332       fi
10333       ;;
10334     esac
10335     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10336     # soname into executable. Probably we can add versioning support to
10337     # collect2, so additional links can be useful in future.
10338     if test "$aix_use_runtimelinking" = yes; then
10339       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10340       # instead of lib<name>.a to let people know that these are not
10341       # typical AIX shared libraries.
10342       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10343     else
10344       # We preserve .a as extension for shared libraries through AIX4.2
10345       # and later when we are not doing run time linking.
10346       library_names_spec='${libname}${release}.a $libname.a'
10347       soname_spec='${libname}${release}${shared_ext}$major'
10348     fi
10349     shlibpath_var=LIBPATH
10350   fi
10351   ;;
10352
10353 amigaos*)
10354   case $host_cpu in
10355   powerpc)
10356     # Since July 2007 AmigaOS4 officially supports .so libraries.
10357     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10358     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10359     ;;
10360   m68k)
10361     library_names_spec='$libname.ixlibrary $libname.a'
10362     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10363     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'
10364     ;;
10365   esac
10366   ;;
10367
10368 beos*)
10369   library_names_spec='${libname}${shared_ext}'
10370   dynamic_linker="$host_os ld.so"
10371   shlibpath_var=LIBRARY_PATH
10372   ;;
10373
10374 bsdi[45]*)
10375   version_type=linux # correct to gnu/linux during the next big refactor
10376   need_version=no
10377   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10378   soname_spec='${libname}${release}${shared_ext}$major'
10379   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10380   shlibpath_var=LD_LIBRARY_PATH
10381   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10382   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10383   # the default ld.so.conf also contains /usr/contrib/lib and
10384   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10385   # libtool to hard-code these into programs
10386   ;;
10387
10388 cygwin* | mingw* | pw32* | cegcc*)
10389   version_type=windows
10390   shrext_cmds=".dll"
10391   need_version=no
10392   need_lib_prefix=no
10393
10394   case $GCC,$cc_basename in
10395   yes,*)
10396     # gcc
10397     library_names_spec='$libname.dll.a'
10398     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10399     postinstall_cmds='base_file=`basename \${file}`~
10400       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10401       dldir=$destdir/`dirname \$dlpath`~
10402       test -d \$dldir || mkdir -p \$dldir~
10403       $install_prog $dir/$dlname \$dldir/$dlname~
10404       chmod a+x \$dldir/$dlname~
10405       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10406         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10407       fi'
10408     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10409       dlpath=$dir/\$dldll~
10410        $RM \$dlpath'
10411     shlibpath_overrides_runpath=yes
10412
10413     case $host_os in
10414     cygwin*)
10415       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10416       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10417
10418       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10419       ;;
10420     mingw* | cegcc*)
10421       # MinGW DLLs use traditional 'lib' prefix
10422       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10423       ;;
10424     pw32*)
10425       # pw32 DLLs use 'pw' prefix rather than 'lib'
10426       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10427       ;;
10428     esac
10429     dynamic_linker='Win32 ld.exe'
10430     ;;
10431
10432   *,cl*)
10433     # Native MSVC
10434     libname_spec='$name'
10435     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10436     library_names_spec='${libname}.dll.lib'
10437
10438     case $build_os in
10439     mingw*)
10440       sys_lib_search_path_spec=
10441       lt_save_ifs=$IFS
10442       IFS=';'
10443       for lt_path in $LIB
10444       do
10445         IFS=$lt_save_ifs
10446         # Let DOS variable expansion print the short 8.3 style file name.
10447         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10448         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10449       done
10450       IFS=$lt_save_ifs
10451       # Convert to MSYS style.
10452       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10453       ;;
10454     cygwin*)
10455       # Convert to unix form, then to dos form, then back to unix form
10456       # but this time dos style (no spaces!) so that the unix form looks
10457       # like /cygdrive/c/PROGRA~1:/cygdr...
10458       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10459       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10460       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10461       ;;
10462     *)
10463       sys_lib_search_path_spec="$LIB"
10464       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10465         # It is most probably a Windows format PATH.
10466         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10467       else
10468         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10469       fi
10470       # FIXME: find the short name or the path components, as spaces are
10471       # common. (e.g. "Program Files" -> "PROGRA~1")
10472       ;;
10473     esac
10474
10475     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10476     postinstall_cmds='base_file=`basename \${file}`~
10477       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10478       dldir=$destdir/`dirname \$dlpath`~
10479       test -d \$dldir || mkdir -p \$dldir~
10480       $install_prog $dir/$dlname \$dldir/$dlname'
10481     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10482       dlpath=$dir/\$dldll~
10483        $RM \$dlpath'
10484     shlibpath_overrides_runpath=yes
10485     dynamic_linker='Win32 link.exe'
10486     ;;
10487
10488   *)
10489     # Assume MSVC wrapper
10490     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10491     dynamic_linker='Win32 ld.exe'
10492     ;;
10493   esac
10494   # FIXME: first we should search . and the directory the executable is in
10495   shlibpath_var=PATH
10496   ;;
10497
10498 darwin* | rhapsody*)
10499   dynamic_linker="$host_os dyld"
10500   version_type=darwin
10501   need_lib_prefix=no
10502   need_version=no
10503   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10504   soname_spec='${libname}${release}${major}$shared_ext'
10505   shlibpath_overrides_runpath=yes
10506   shlibpath_var=DYLD_LIBRARY_PATH
10507   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10508
10509   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10510   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10511   ;;
10512
10513 dgux*)
10514   version_type=linux # correct to gnu/linux during the next big refactor
10515   need_lib_prefix=no
10516   need_version=no
10517   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10518   soname_spec='${libname}${release}${shared_ext}$major'
10519   shlibpath_var=LD_LIBRARY_PATH
10520   ;;
10521
10522 freebsd* | dragonfly*)
10523   # DragonFly does not have aout.  When/if they implement a new
10524   # versioning mechanism, adjust this.
10525   if test -x /usr/bin/objformat; then
10526     objformat=`/usr/bin/objformat`
10527   else
10528     case $host_os in
10529     freebsd[23].*) objformat=aout ;;
10530     *) objformat=elf ;;
10531     esac
10532   fi
10533   version_type=freebsd-$objformat
10534   case $version_type in
10535     freebsd-elf*)
10536       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10537       need_version=no
10538       need_lib_prefix=no
10539       ;;
10540     freebsd-*)
10541       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10542       need_version=yes
10543       ;;
10544   esac
10545   shlibpath_var=LD_LIBRARY_PATH
10546   case $host_os in
10547   freebsd2.*)
10548     shlibpath_overrides_runpath=yes
10549     ;;
10550   freebsd3.[01]* | freebsdelf3.[01]*)
10551     shlibpath_overrides_runpath=yes
10552     hardcode_into_libs=yes
10553     ;;
10554   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10555   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10556     shlibpath_overrides_runpath=no
10557     hardcode_into_libs=yes
10558     ;;
10559   *) # from 4.6 on, and DragonFly
10560     shlibpath_overrides_runpath=yes
10561     hardcode_into_libs=yes
10562     ;;
10563   esac
10564   ;;
10565
10566 gnu*)
10567   version_type=linux # correct to gnu/linux during the next big refactor
10568   need_lib_prefix=no
10569   need_version=no
10570   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10571   soname_spec='${libname}${release}${shared_ext}$major'
10572   shlibpath_var=LD_LIBRARY_PATH
10573   shlibpath_overrides_runpath=no
10574   hardcode_into_libs=yes
10575   ;;
10576
10577 haiku*)
10578   version_type=linux # correct to gnu/linux during the next big refactor
10579   need_lib_prefix=no
10580   need_version=no
10581   dynamic_linker="$host_os runtime_loader"
10582   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10583   soname_spec='${libname}${release}${shared_ext}$major'
10584   shlibpath_var=LIBRARY_PATH
10585   shlibpath_overrides_runpath=yes
10586   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10587   hardcode_into_libs=yes
10588   ;;
10589
10590 hpux9* | hpux10* | hpux11*)
10591   # Give a soname corresponding to the major version so that dld.sl refuses to
10592   # link against other versions.
10593   version_type=sunos
10594   need_lib_prefix=no
10595   need_version=no
10596   case $host_cpu in
10597   ia64*)
10598     shrext_cmds='.so'
10599     hardcode_into_libs=yes
10600     dynamic_linker="$host_os dld.so"
10601     shlibpath_var=LD_LIBRARY_PATH
10602     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10603     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10604     soname_spec='${libname}${release}${shared_ext}$major'
10605     if test "X$HPUX_IA64_MODE" = X32; then
10606       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10607     else
10608       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10609     fi
10610     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10611     ;;
10612   hppa*64*)
10613     shrext_cmds='.sl'
10614     hardcode_into_libs=yes
10615     dynamic_linker="$host_os dld.sl"
10616     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10617     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10618     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10619     soname_spec='${libname}${release}${shared_ext}$major'
10620     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10621     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10622     ;;
10623   *)
10624     shrext_cmds='.sl'
10625     dynamic_linker="$host_os dld.sl"
10626     shlibpath_var=SHLIB_PATH
10627     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10628     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10629     soname_spec='${libname}${release}${shared_ext}$major'
10630     ;;
10631   esac
10632   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10633   postinstall_cmds='chmod 555 $lib'
10634   # or fails outright, so override atomically:
10635   install_override_mode=555
10636   ;;
10637
10638 interix[3-9]*)
10639   version_type=linux # correct to gnu/linux during the next big refactor
10640   need_lib_prefix=no
10641   need_version=no
10642   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10643   soname_spec='${libname}${release}${shared_ext}$major'
10644   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10645   shlibpath_var=LD_LIBRARY_PATH
10646   shlibpath_overrides_runpath=no
10647   hardcode_into_libs=yes
10648   ;;
10649
10650 irix5* | irix6* | nonstopux*)
10651   case $host_os in
10652     nonstopux*) version_type=nonstopux ;;
10653     *)
10654         if test "$lt_cv_prog_gnu_ld" = yes; then
10655                 version_type=linux # correct to gnu/linux during the next big refactor
10656         else
10657                 version_type=irix
10658         fi ;;
10659   esac
10660   need_lib_prefix=no
10661   need_version=no
10662   soname_spec='${libname}${release}${shared_ext}$major'
10663   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10664   case $host_os in
10665   irix5* | nonstopux*)
10666     libsuff= shlibsuff=
10667     ;;
10668   *)
10669     case $LD in # libtool.m4 will add one of these switches to LD
10670     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10671       libsuff= shlibsuff= libmagic=32-bit;;
10672     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10673       libsuff=32 shlibsuff=N32 libmagic=N32;;
10674     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10675       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10676     *) libsuff= shlibsuff= libmagic=never-match;;
10677     esac
10678     ;;
10679   esac
10680   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10681   shlibpath_overrides_runpath=no
10682   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10683   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10684   hardcode_into_libs=yes
10685   ;;
10686
10687 # No shared lib support for Linux oldld, aout, or coff.
10688 linux*oldld* | linux*aout* | linux*coff*)
10689   dynamic_linker=no
10690   ;;
10691
10692 # This must be glibc/ELF.
10693 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10694   version_type=linux # correct to gnu/linux during the next big refactor
10695   need_lib_prefix=no
10696   need_version=no
10697   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10698   soname_spec='${libname}${release}${shared_ext}$major'
10699   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10700   shlibpath_var=LD_LIBRARY_PATH
10701   shlibpath_overrides_runpath=no
10702
10703   # Some binutils ld are patched to set DT_RUNPATH
10704   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10705   $as_echo_n "(cached) " >&6
10706 else
10707   lt_cv_shlibpath_overrides_runpath=no
10708     save_LDFLAGS=$LDFLAGS
10709     save_libdir=$libdir
10710     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10711          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10712     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10713 /* end confdefs.h.  */
10714
10715 int
10716 main ()
10717 {
10718
10719   ;
10720   return 0;
10721 }
10722 _ACEOF
10723 if ac_fn_c_try_link "$LINENO"; then :
10724   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10725   lt_cv_shlibpath_overrides_runpath=yes
10726 fi
10727 fi
10728 rm -f core conftest.err conftest.$ac_objext \
10729     conftest$ac_exeext conftest.$ac_ext
10730     LDFLAGS=$save_LDFLAGS
10731     libdir=$save_libdir
10732
10733 fi
10734
10735   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10736
10737   # This implies no fast_install, which is unacceptable.
10738   # Some rework will be needed to allow for fast_install
10739   # before this can be enabled.
10740   hardcode_into_libs=yes
10741
10742   # Append ld.so.conf contents to the search path
10743   if test -f /etc/ld.so.conf; then
10744     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' ' '`
10745     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10746   fi
10747
10748   # We used to test for /lib/ld.so.1 and disable shared libraries on
10749   # powerpc, because MkLinux only supported shared libraries with the
10750   # GNU dynamic linker.  Since this was broken with cross compilers,
10751   # most powerpc-linux boxes support dynamic linking these days and
10752   # people can always --disable-shared, the test was removed, and we
10753   # assume the GNU/Linux dynamic linker is in use.
10754   dynamic_linker='GNU/Linux ld.so'
10755   ;;
10756
10757 netbsd*)
10758   version_type=sunos
10759   need_lib_prefix=no
10760   need_version=no
10761   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10762     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10763     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10764     dynamic_linker='NetBSD (a.out) ld.so'
10765   else
10766     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10767     soname_spec='${libname}${release}${shared_ext}$major'
10768     dynamic_linker='NetBSD ld.elf_so'
10769   fi
10770   shlibpath_var=LD_LIBRARY_PATH
10771   shlibpath_overrides_runpath=yes
10772   hardcode_into_libs=yes
10773   ;;
10774
10775 newsos6)
10776   version_type=linux # correct to gnu/linux during the next big refactor
10777   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10778   shlibpath_var=LD_LIBRARY_PATH
10779   shlibpath_overrides_runpath=yes
10780   ;;
10781
10782 *nto* | *qnx*)
10783   version_type=qnx
10784   need_lib_prefix=no
10785   need_version=no
10786   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10787   soname_spec='${libname}${release}${shared_ext}$major'
10788   shlibpath_var=LD_LIBRARY_PATH
10789   shlibpath_overrides_runpath=no
10790   hardcode_into_libs=yes
10791   dynamic_linker='ldqnx.so'
10792   ;;
10793
10794 openbsd*)
10795   version_type=sunos
10796   sys_lib_dlsearch_path_spec="/usr/lib"
10797   need_lib_prefix=no
10798   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10799   case $host_os in
10800     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10801     *)                          need_version=no  ;;
10802   esac
10803   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10804   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10805   shlibpath_var=LD_LIBRARY_PATH
10806   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10807     case $host_os in
10808       openbsd2.[89] | openbsd2.[89].*)
10809         shlibpath_overrides_runpath=no
10810         ;;
10811       *)
10812         shlibpath_overrides_runpath=yes
10813         ;;
10814       esac
10815   else
10816     shlibpath_overrides_runpath=yes
10817   fi
10818   ;;
10819
10820 os2*)
10821   libname_spec='$name'
10822   shrext_cmds=".dll"
10823   need_lib_prefix=no
10824   library_names_spec='$libname${shared_ext} $libname.a'
10825   dynamic_linker='OS/2 ld.exe'
10826   shlibpath_var=LIBPATH
10827   ;;
10828
10829 osf3* | osf4* | osf5*)
10830   version_type=osf
10831   need_lib_prefix=no
10832   need_version=no
10833   soname_spec='${libname}${release}${shared_ext}$major'
10834   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10835   shlibpath_var=LD_LIBRARY_PATH
10836   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10837   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10838   ;;
10839
10840 rdos*)
10841   dynamic_linker=no
10842   ;;
10843
10844 solaris*)
10845   version_type=linux # correct to gnu/linux during the next big refactor
10846   need_lib_prefix=no
10847   need_version=no
10848   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10849   soname_spec='${libname}${release}${shared_ext}$major'
10850   shlibpath_var=LD_LIBRARY_PATH
10851   shlibpath_overrides_runpath=yes
10852   hardcode_into_libs=yes
10853   # ldd complains unless libraries are executable
10854   postinstall_cmds='chmod +x $lib'
10855   ;;
10856
10857 sunos4*)
10858   version_type=sunos
10859   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10860   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10861   shlibpath_var=LD_LIBRARY_PATH
10862   shlibpath_overrides_runpath=yes
10863   if test "$with_gnu_ld" = yes; then
10864     need_lib_prefix=no
10865   fi
10866   need_version=yes
10867   ;;
10868
10869 sysv4 | sysv4.3*)
10870   version_type=linux # correct to gnu/linux during the next big refactor
10871   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10872   soname_spec='${libname}${release}${shared_ext}$major'
10873   shlibpath_var=LD_LIBRARY_PATH
10874   case $host_vendor in
10875     sni)
10876       shlibpath_overrides_runpath=no
10877       need_lib_prefix=no
10878       runpath_var=LD_RUN_PATH
10879       ;;
10880     siemens)
10881       need_lib_prefix=no
10882       ;;
10883     motorola)
10884       need_lib_prefix=no
10885       need_version=no
10886       shlibpath_overrides_runpath=no
10887       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10888       ;;
10889   esac
10890   ;;
10891
10892 sysv4*MP*)
10893   if test -d /usr/nec ;then
10894     version_type=linux # correct to gnu/linux during the next big refactor
10895     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10896     soname_spec='$libname${shared_ext}.$major'
10897     shlibpath_var=LD_LIBRARY_PATH
10898   fi
10899   ;;
10900
10901 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10902   version_type=freebsd-elf
10903   need_lib_prefix=no
10904   need_version=no
10905   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10906   soname_spec='${libname}${release}${shared_ext}$major'
10907   shlibpath_var=LD_LIBRARY_PATH
10908   shlibpath_overrides_runpath=yes
10909   hardcode_into_libs=yes
10910   if test "$with_gnu_ld" = yes; then
10911     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10912   else
10913     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10914     case $host_os in
10915       sco3.2v5*)
10916         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10917         ;;
10918     esac
10919   fi
10920   sys_lib_dlsearch_path_spec='/usr/lib'
10921   ;;
10922
10923 tpf*)
10924   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10925   version_type=linux # correct to gnu/linux during the next big refactor
10926   need_lib_prefix=no
10927   need_version=no
10928   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10929   shlibpath_var=LD_LIBRARY_PATH
10930   shlibpath_overrides_runpath=no
10931   hardcode_into_libs=yes
10932   ;;
10933
10934 uts4*)
10935   version_type=linux # correct to gnu/linux during the next big refactor
10936   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10937   soname_spec='${libname}${release}${shared_ext}$major'
10938   shlibpath_var=LD_LIBRARY_PATH
10939   ;;
10940
10941 *)
10942   dynamic_linker=no
10943   ;;
10944 esac
10945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10946 $as_echo "$dynamic_linker" >&6; }
10947 test "$dynamic_linker" = no && can_build_shared=no
10948
10949 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10950 if test "$GCC" = yes; then
10951   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10952 fi
10953
10954 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10955   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10956 fi
10957 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10958   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10959 fi
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
11049
11050
11051
11052   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11053 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11054 hardcode_action=
11055 if test -n "$hardcode_libdir_flag_spec" ||
11056    test -n "$runpath_var" ||
11057    test "X$hardcode_automatic" = "Xyes" ; then
11058
11059   # We can hardcode non-existent directories.
11060   if test "$hardcode_direct" != no &&
11061      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11062      # have to relink, otherwise we might link with an installed library
11063      # when we should be linking with a yet-to-be-installed one
11064      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11065      test "$hardcode_minus_L" != no; then
11066     # Linking always hardcodes the temporary library directory.
11067     hardcode_action=relink
11068   else
11069     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11070     hardcode_action=immediate
11071   fi
11072 else
11073   # We cannot hardcode anything, or else we can only hardcode existing
11074   # directories.
11075   hardcode_action=unsupported
11076 fi
11077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11078 $as_echo "$hardcode_action" >&6; }
11079
11080 if test "$hardcode_action" = relink ||
11081    test "$inherit_rpath" = yes; then
11082   # Fast installation is not supported
11083   enable_fast_install=no
11084 elif test "$shlibpath_overrides_runpath" = yes ||
11085      test "$enable_shared" = no; then
11086   # Fast installation is not necessary
11087   enable_fast_install=needless
11088 fi
11089
11090
11091
11092
11093
11094
11095   if test "x$enable_dlopen" != xyes; then
11096   enable_dlopen=unknown
11097   enable_dlopen_self=unknown
11098   enable_dlopen_self_static=unknown
11099 else
11100   lt_cv_dlopen=no
11101   lt_cv_dlopen_libs=
11102
11103   case $host_os in
11104   beos*)
11105     lt_cv_dlopen="load_add_on"
11106     lt_cv_dlopen_libs=
11107     lt_cv_dlopen_self=yes
11108     ;;
11109
11110   mingw* | pw32* | cegcc*)
11111     lt_cv_dlopen="LoadLibrary"
11112     lt_cv_dlopen_libs=
11113     ;;
11114
11115   cygwin*)
11116     lt_cv_dlopen="dlopen"
11117     lt_cv_dlopen_libs=
11118     ;;
11119
11120   darwin*)
11121   # if libdl is installed we need to link against it
11122     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11123 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11124 if ${ac_cv_lib_dl_dlopen+:} false; then :
11125   $as_echo_n "(cached) " >&6
11126 else
11127   ac_check_lib_save_LIBS=$LIBS
11128 LIBS="-ldl  $LIBS"
11129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11130 /* end confdefs.h.  */
11131
11132 /* Override any GCC internal prototype to avoid an error.
11133    Use char because int might match the return type of a GCC
11134    builtin and then its argument prototype would still apply.  */
11135 #ifdef __cplusplus
11136 extern "C"
11137 #endif
11138 char dlopen ();
11139 int
11140 main ()
11141 {
11142 return dlopen ();
11143   ;
11144   return 0;
11145 }
11146 _ACEOF
11147 if ac_fn_c_try_link "$LINENO"; then :
11148   ac_cv_lib_dl_dlopen=yes
11149 else
11150   ac_cv_lib_dl_dlopen=no
11151 fi
11152 rm -f core conftest.err conftest.$ac_objext \
11153     conftest$ac_exeext conftest.$ac_ext
11154 LIBS=$ac_check_lib_save_LIBS
11155 fi
11156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11157 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11158 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11159   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11160 else
11161
11162     lt_cv_dlopen="dyld"
11163     lt_cv_dlopen_libs=
11164     lt_cv_dlopen_self=yes
11165
11166 fi
11167
11168     ;;
11169
11170   *)
11171     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11172 if test "x$ac_cv_func_shl_load" = xyes; then :
11173   lt_cv_dlopen="shl_load"
11174 else
11175   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11176 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11177 if ${ac_cv_lib_dld_shl_load+:} false; then :
11178   $as_echo_n "(cached) " >&6
11179 else
11180   ac_check_lib_save_LIBS=$LIBS
11181 LIBS="-ldld  $LIBS"
11182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11183 /* end confdefs.h.  */
11184
11185 /* Override any GCC internal prototype to avoid an error.
11186    Use char because int might match the return type of a GCC
11187    builtin and then its argument prototype would still apply.  */
11188 #ifdef __cplusplus
11189 extern "C"
11190 #endif
11191 char shl_load ();
11192 int
11193 main ()
11194 {
11195 return shl_load ();
11196   ;
11197   return 0;
11198 }
11199 _ACEOF
11200 if ac_fn_c_try_link "$LINENO"; then :
11201   ac_cv_lib_dld_shl_load=yes
11202 else
11203   ac_cv_lib_dld_shl_load=no
11204 fi
11205 rm -f core conftest.err conftest.$ac_objext \
11206     conftest$ac_exeext conftest.$ac_ext
11207 LIBS=$ac_check_lib_save_LIBS
11208 fi
11209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11210 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11211 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11212   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11213 else
11214   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11215 if test "x$ac_cv_func_dlopen" = xyes; then :
11216   lt_cv_dlopen="dlopen"
11217 else
11218   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11219 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11220 if ${ac_cv_lib_dl_dlopen+:} false; then :
11221   $as_echo_n "(cached) " >&6
11222 else
11223   ac_check_lib_save_LIBS=$LIBS
11224 LIBS="-ldl  $LIBS"
11225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11226 /* end confdefs.h.  */
11227
11228 /* Override any GCC internal prototype to avoid an error.
11229    Use char because int might match the return type of a GCC
11230    builtin and then its argument prototype would still apply.  */
11231 #ifdef __cplusplus
11232 extern "C"
11233 #endif
11234 char dlopen ();
11235 int
11236 main ()
11237 {
11238 return dlopen ();
11239   ;
11240   return 0;
11241 }
11242 _ACEOF
11243 if ac_fn_c_try_link "$LINENO"; then :
11244   ac_cv_lib_dl_dlopen=yes
11245 else
11246   ac_cv_lib_dl_dlopen=no
11247 fi
11248 rm -f core conftest.err conftest.$ac_objext \
11249     conftest$ac_exeext conftest.$ac_ext
11250 LIBS=$ac_check_lib_save_LIBS
11251 fi
11252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11253 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11254 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11255   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11256 else
11257   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11258 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11259 if ${ac_cv_lib_svld_dlopen+:} false; then :
11260   $as_echo_n "(cached) " >&6
11261 else
11262   ac_check_lib_save_LIBS=$LIBS
11263 LIBS="-lsvld  $LIBS"
11264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11265 /* end confdefs.h.  */
11266
11267 /* Override any GCC internal prototype to avoid an error.
11268    Use char because int might match the return type of a GCC
11269    builtin and then its argument prototype would still apply.  */
11270 #ifdef __cplusplus
11271 extern "C"
11272 #endif
11273 char dlopen ();
11274 int
11275 main ()
11276 {
11277 return dlopen ();
11278   ;
11279   return 0;
11280 }
11281 _ACEOF
11282 if ac_fn_c_try_link "$LINENO"; then :
11283   ac_cv_lib_svld_dlopen=yes
11284 else
11285   ac_cv_lib_svld_dlopen=no
11286 fi
11287 rm -f core conftest.err conftest.$ac_objext \
11288     conftest$ac_exeext conftest.$ac_ext
11289 LIBS=$ac_check_lib_save_LIBS
11290 fi
11291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11292 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11293 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11294   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11295 else
11296   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11297 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11298 if ${ac_cv_lib_dld_dld_link+:} false; then :
11299   $as_echo_n "(cached) " >&6
11300 else
11301   ac_check_lib_save_LIBS=$LIBS
11302 LIBS="-ldld  $LIBS"
11303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11304 /* end confdefs.h.  */
11305
11306 /* Override any GCC internal prototype to avoid an error.
11307    Use char because int might match the return type of a GCC
11308    builtin and then its argument prototype would still apply.  */
11309 #ifdef __cplusplus
11310 extern "C"
11311 #endif
11312 char dld_link ();
11313 int
11314 main ()
11315 {
11316 return dld_link ();
11317   ;
11318   return 0;
11319 }
11320 _ACEOF
11321 if ac_fn_c_try_link "$LINENO"; then :
11322   ac_cv_lib_dld_dld_link=yes
11323 else
11324   ac_cv_lib_dld_dld_link=no
11325 fi
11326 rm -f core conftest.err conftest.$ac_objext \
11327     conftest$ac_exeext conftest.$ac_ext
11328 LIBS=$ac_check_lib_save_LIBS
11329 fi
11330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11331 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11332 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11333   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11334 fi
11335
11336
11337 fi
11338
11339
11340 fi
11341
11342
11343 fi
11344
11345
11346 fi
11347
11348
11349 fi
11350
11351     ;;
11352   esac
11353
11354   if test "x$lt_cv_dlopen" != xno; then
11355     enable_dlopen=yes
11356   else
11357     enable_dlopen=no
11358   fi
11359
11360   case $lt_cv_dlopen in
11361   dlopen)
11362     save_CPPFLAGS="$CPPFLAGS"
11363     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11364
11365     save_LDFLAGS="$LDFLAGS"
11366     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11367
11368     save_LIBS="$LIBS"
11369     LIBS="$lt_cv_dlopen_libs $LIBS"
11370
11371     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11372 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11373 if ${lt_cv_dlopen_self+:} false; then :
11374   $as_echo_n "(cached) " >&6
11375 else
11376           if test "$cross_compiling" = yes; then :
11377   lt_cv_dlopen_self=cross
11378 else
11379   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11380   lt_status=$lt_dlunknown
11381   cat > conftest.$ac_ext <<_LT_EOF
11382 #line $LINENO "configure"
11383 #include "confdefs.h"
11384
11385 #if HAVE_DLFCN_H
11386 #include <dlfcn.h>
11387 #endif
11388
11389 #include <stdio.h>
11390
11391 #ifdef RTLD_GLOBAL
11392 #  define LT_DLGLOBAL           RTLD_GLOBAL
11393 #else
11394 #  ifdef DL_GLOBAL
11395 #    define LT_DLGLOBAL         DL_GLOBAL
11396 #  else
11397 #    define LT_DLGLOBAL         0
11398 #  endif
11399 #endif
11400
11401 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11402    find out it does not work in some platform. */
11403 #ifndef LT_DLLAZY_OR_NOW
11404 #  ifdef RTLD_LAZY
11405 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11406 #  else
11407 #    ifdef DL_LAZY
11408 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11409 #    else
11410 #      ifdef RTLD_NOW
11411 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11412 #      else
11413 #        ifdef DL_NOW
11414 #          define LT_DLLAZY_OR_NOW      DL_NOW
11415 #        else
11416 #          define LT_DLLAZY_OR_NOW      0
11417 #        endif
11418 #      endif
11419 #    endif
11420 #  endif
11421 #endif
11422
11423 /* When -fvisbility=hidden is used, assume the code has been annotated
11424    correspondingly for the symbols needed.  */
11425 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11426 int fnord () __attribute__((visibility("default")));
11427 #endif
11428
11429 int fnord () { return 42; }
11430 int main ()
11431 {
11432   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11433   int status = $lt_dlunknown;
11434
11435   if (self)
11436     {
11437       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11438       else
11439         {
11440           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11441           else puts (dlerror ());
11442         }
11443       /* dlclose (self); */
11444     }
11445   else
11446     puts (dlerror ());
11447
11448   return status;
11449 }
11450 _LT_EOF
11451   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11452   (eval $ac_link) 2>&5
11453   ac_status=$?
11454   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11455   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11456     (./conftest; exit; ) >&5 2>/dev/null
11457     lt_status=$?
11458     case x$lt_status in
11459       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11460       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11461       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11462     esac
11463   else :
11464     # compilation failed
11465     lt_cv_dlopen_self=no
11466   fi
11467 fi
11468 rm -fr conftest*
11469
11470
11471 fi
11472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11473 $as_echo "$lt_cv_dlopen_self" >&6; }
11474
11475     if test "x$lt_cv_dlopen_self" = xyes; then
11476       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11477       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11478 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11479 if ${lt_cv_dlopen_self_static+:} false; then :
11480   $as_echo_n "(cached) " >&6
11481 else
11482           if test "$cross_compiling" = yes; then :
11483   lt_cv_dlopen_self_static=cross
11484 else
11485   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11486   lt_status=$lt_dlunknown
11487   cat > conftest.$ac_ext <<_LT_EOF
11488 #line $LINENO "configure"
11489 #include "confdefs.h"
11490
11491 #if HAVE_DLFCN_H
11492 #include <dlfcn.h>
11493 #endif
11494
11495 #include <stdio.h>
11496
11497 #ifdef RTLD_GLOBAL
11498 #  define LT_DLGLOBAL           RTLD_GLOBAL
11499 #else
11500 #  ifdef DL_GLOBAL
11501 #    define LT_DLGLOBAL         DL_GLOBAL
11502 #  else
11503 #    define LT_DLGLOBAL         0
11504 #  endif
11505 #endif
11506
11507 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11508    find out it does not work in some platform. */
11509 #ifndef LT_DLLAZY_OR_NOW
11510 #  ifdef RTLD_LAZY
11511 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11512 #  else
11513 #    ifdef DL_LAZY
11514 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11515 #    else
11516 #      ifdef RTLD_NOW
11517 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11518 #      else
11519 #        ifdef DL_NOW
11520 #          define LT_DLLAZY_OR_NOW      DL_NOW
11521 #        else
11522 #          define LT_DLLAZY_OR_NOW      0
11523 #        endif
11524 #      endif
11525 #    endif
11526 #  endif
11527 #endif
11528
11529 /* When -fvisbility=hidden is used, assume the code has been annotated
11530    correspondingly for the symbols needed.  */
11531 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11532 int fnord () __attribute__((visibility("default")));
11533 #endif
11534
11535 int fnord () { return 42; }
11536 int main ()
11537 {
11538   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11539   int status = $lt_dlunknown;
11540
11541   if (self)
11542     {
11543       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11544       else
11545         {
11546           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11547           else puts (dlerror ());
11548         }
11549       /* dlclose (self); */
11550     }
11551   else
11552     puts (dlerror ());
11553
11554   return status;
11555 }
11556 _LT_EOF
11557   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11558   (eval $ac_link) 2>&5
11559   ac_status=$?
11560   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11561   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11562     (./conftest; exit; ) >&5 2>/dev/null
11563     lt_status=$?
11564     case x$lt_status in
11565       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11566       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11567       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11568     esac
11569   else :
11570     # compilation failed
11571     lt_cv_dlopen_self_static=no
11572   fi
11573 fi
11574 rm -fr conftest*
11575
11576
11577 fi
11578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11579 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11580     fi
11581
11582     CPPFLAGS="$save_CPPFLAGS"
11583     LDFLAGS="$save_LDFLAGS"
11584     LIBS="$save_LIBS"
11585     ;;
11586   esac
11587
11588   case $lt_cv_dlopen_self in
11589   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11590   *) enable_dlopen_self=unknown ;;
11591   esac
11592
11593   case $lt_cv_dlopen_self_static in
11594   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11595   *) enable_dlopen_self_static=unknown ;;
11596   esac
11597 fi
11598
11599
11600
11601
11602
11603
11604
11605
11606
11607
11608
11609
11610
11611
11612
11613
11614
11615 striplib=
11616 old_striplib=
11617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11618 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11619 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11620   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11621   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11622   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11623 $as_echo "yes" >&6; }
11624 else
11625 # FIXME - insert some real tests, host_os isn't really good enough
11626   case $host_os in
11627   darwin*)
11628     if test -n "$STRIP" ; then
11629       striplib="$STRIP -x"
11630       old_striplib="$STRIP -S"
11631       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11632 $as_echo "yes" >&6; }
11633     else
11634       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11635 $as_echo "no" >&6; }
11636     fi
11637     ;;
11638   *)
11639     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11640 $as_echo "no" >&6; }
11641     ;;
11642   esac
11643 fi
11644
11645
11646
11647
11648
11649
11650
11651
11652
11653
11654
11655
11656   # Report which library types will actually be built
11657   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11658 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11659   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11660 $as_echo "$can_build_shared" >&6; }
11661
11662   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11663 $as_echo_n "checking whether to build shared libraries... " >&6; }
11664   test "$can_build_shared" = "no" && enable_shared=no
11665
11666   # On AIX, shared libraries and static libraries use the same namespace, and
11667   # are all built from PIC.
11668   case $host_os in
11669   aix3*)
11670     test "$enable_shared" = yes && enable_static=no
11671     if test -n "$RANLIB"; then
11672       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11673       postinstall_cmds='$RANLIB $lib'
11674     fi
11675     ;;
11676
11677   aix[4-9]*)
11678     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11679       test "$enable_shared" = yes && enable_static=no
11680     fi
11681     ;;
11682   esac
11683   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11684 $as_echo "$enable_shared" >&6; }
11685
11686   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11687 $as_echo_n "checking whether to build static libraries... " >&6; }
11688   # Make sure either enable_shared or enable_static is yes.
11689   test "$enable_shared" = yes || enable_static=yes
11690   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11691 $as_echo "$enable_static" >&6; }
11692
11693
11694
11695
11696 fi
11697 ac_ext=c
11698 ac_cpp='$CPP $CPPFLAGS'
11699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11702
11703 CC="$lt_save_CC"
11704
11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719         ac_config_commands="$ac_config_commands libtool"
11720
11721
11722
11723
11724 # Only expand once:
11725
11726
11727
11728 # Checks for programs.
11729 ac_ext=c
11730 ac_cpp='$CPP $CPPFLAGS'
11731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11734 if test -n "$ac_tool_prefix"; then
11735   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11736 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11738 $as_echo_n "checking for $ac_word... " >&6; }
11739 if ${ac_cv_prog_CC+:} false; then :
11740   $as_echo_n "(cached) " >&6
11741 else
11742   if test -n "$CC"; then
11743   ac_cv_prog_CC="$CC" # Let the user override the test.
11744 else
11745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11746 for as_dir in $PATH
11747 do
11748   IFS=$as_save_IFS
11749   test -z "$as_dir" && as_dir=.
11750     for ac_exec_ext in '' $ac_executable_extensions; do
11751   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11752     ac_cv_prog_CC="${ac_tool_prefix}gcc"
11753     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11754     break 2
11755   fi
11756 done
11757   done
11758 IFS=$as_save_IFS
11759
11760 fi
11761 fi
11762 CC=$ac_cv_prog_CC
11763 if test -n "$CC"; then
11764   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11765 $as_echo "$CC" >&6; }
11766 else
11767   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11768 $as_echo "no" >&6; }
11769 fi
11770
11771
11772 fi
11773 if test -z "$ac_cv_prog_CC"; then
11774   ac_ct_CC=$CC
11775   # Extract the first word of "gcc", so it can be a program name with args.
11776 set dummy gcc; ac_word=$2
11777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11778 $as_echo_n "checking for $ac_word... " >&6; }
11779 if ${ac_cv_prog_ac_ct_CC+:} false; then :
11780   $as_echo_n "(cached) " >&6
11781 else
11782   if test -n "$ac_ct_CC"; then
11783   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11784 else
11785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11786 for as_dir in $PATH
11787 do
11788   IFS=$as_save_IFS
11789   test -z "$as_dir" && as_dir=.
11790     for ac_exec_ext in '' $ac_executable_extensions; do
11791   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11792     ac_cv_prog_ac_ct_CC="gcc"
11793     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11794     break 2
11795   fi
11796 done
11797   done
11798 IFS=$as_save_IFS
11799
11800 fi
11801 fi
11802 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11803 if test -n "$ac_ct_CC"; then
11804   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11805 $as_echo "$ac_ct_CC" >&6; }
11806 else
11807   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11808 $as_echo "no" >&6; }
11809 fi
11810
11811   if test "x$ac_ct_CC" = x; then
11812     CC=""
11813   else
11814     case $cross_compiling:$ac_tool_warned in
11815 yes:)
11816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11817 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11818 ac_tool_warned=yes ;;
11819 esac
11820     CC=$ac_ct_CC
11821   fi
11822 else
11823   CC="$ac_cv_prog_CC"
11824 fi
11825
11826 if test -z "$CC"; then
11827           if test -n "$ac_tool_prefix"; then
11828     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11829 set dummy ${ac_tool_prefix}cc; ac_word=$2
11830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11831 $as_echo_n "checking for $ac_word... " >&6; }
11832 if ${ac_cv_prog_CC+:} false; then :
11833   $as_echo_n "(cached) " >&6
11834 else
11835   if test -n "$CC"; then
11836   ac_cv_prog_CC="$CC" # Let the user override the test.
11837 else
11838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11839 for as_dir in $PATH
11840 do
11841   IFS=$as_save_IFS
11842   test -z "$as_dir" && as_dir=.
11843     for ac_exec_ext in '' $ac_executable_extensions; do
11844   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11845     ac_cv_prog_CC="${ac_tool_prefix}cc"
11846     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11847     break 2
11848   fi
11849 done
11850   done
11851 IFS=$as_save_IFS
11852
11853 fi
11854 fi
11855 CC=$ac_cv_prog_CC
11856 if test -n "$CC"; then
11857   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11858 $as_echo "$CC" >&6; }
11859 else
11860   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11861 $as_echo "no" >&6; }
11862 fi
11863
11864
11865   fi
11866 fi
11867 if test -z "$CC"; then
11868   # Extract the first word of "cc", so it can be a program name with args.
11869 set dummy cc; ac_word=$2
11870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11871 $as_echo_n "checking for $ac_word... " >&6; }
11872 if ${ac_cv_prog_CC+:} false; then :
11873   $as_echo_n "(cached) " >&6
11874 else
11875   if test -n "$CC"; then
11876   ac_cv_prog_CC="$CC" # Let the user override the test.
11877 else
11878   ac_prog_rejected=no
11879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11880 for as_dir in $PATH
11881 do
11882   IFS=$as_save_IFS
11883   test -z "$as_dir" && as_dir=.
11884     for ac_exec_ext in '' $ac_executable_extensions; do
11885   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11886     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11887        ac_prog_rejected=yes
11888        continue
11889      fi
11890     ac_cv_prog_CC="cc"
11891     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11892     break 2
11893   fi
11894 done
11895   done
11896 IFS=$as_save_IFS
11897
11898 if test $ac_prog_rejected = yes; then
11899   # We found a bogon in the path, so make sure we never use it.
11900   set dummy $ac_cv_prog_CC
11901   shift
11902   if test $# != 0; then
11903     # We chose a different compiler from the bogus one.
11904     # However, it has the same basename, so the bogon will be chosen
11905     # first if we set CC to just the basename; use the full file name.
11906     shift
11907     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
11908   fi
11909 fi
11910 fi
11911 fi
11912 CC=$ac_cv_prog_CC
11913 if test -n "$CC"; then
11914   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11915 $as_echo "$CC" >&6; }
11916 else
11917   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11918 $as_echo "no" >&6; }
11919 fi
11920
11921
11922 fi
11923 if test -z "$CC"; then
11924   if test -n "$ac_tool_prefix"; then
11925   for ac_prog in cl.exe
11926   do
11927     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11928 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11930 $as_echo_n "checking for $ac_word... " >&6; }
11931 if ${ac_cv_prog_CC+:} false; then :
11932   $as_echo_n "(cached) " >&6
11933 else
11934   if test -n "$CC"; then
11935   ac_cv_prog_CC="$CC" # Let the user override the test.
11936 else
11937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11938 for as_dir in $PATH
11939 do
11940   IFS=$as_save_IFS
11941   test -z "$as_dir" && as_dir=.
11942     for ac_exec_ext in '' $ac_executable_extensions; do
11943   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11944     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11945     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11946     break 2
11947   fi
11948 done
11949   done
11950 IFS=$as_save_IFS
11951
11952 fi
11953 fi
11954 CC=$ac_cv_prog_CC
11955 if test -n "$CC"; then
11956   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11957 $as_echo "$CC" >&6; }
11958 else
11959   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11960 $as_echo "no" >&6; }
11961 fi
11962
11963
11964     test -n "$CC" && break
11965   done
11966 fi
11967 if test -z "$CC"; then
11968   ac_ct_CC=$CC
11969   for ac_prog in cl.exe
11970 do
11971   # Extract the first word of "$ac_prog", so it can be a program name with args.
11972 set dummy $ac_prog; ac_word=$2
11973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11974 $as_echo_n "checking for $ac_word... " >&6; }
11975 if ${ac_cv_prog_ac_ct_CC+:} false; then :
11976   $as_echo_n "(cached) " >&6
11977 else
11978   if test -n "$ac_ct_CC"; then
11979   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11980 else
11981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11982 for as_dir in $PATH
11983 do
11984   IFS=$as_save_IFS
11985   test -z "$as_dir" && as_dir=.
11986     for ac_exec_ext in '' $ac_executable_extensions; do
11987   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11988     ac_cv_prog_ac_ct_CC="$ac_prog"
11989     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11990     break 2
11991   fi
11992 done
11993   done
11994 IFS=$as_save_IFS
11995
11996 fi
11997 fi
11998 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11999 if test -n "$ac_ct_CC"; then
12000   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12001 $as_echo "$ac_ct_CC" >&6; }
12002 else
12003   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12004 $as_echo "no" >&6; }
12005 fi
12006
12007
12008   test -n "$ac_ct_CC" && break
12009 done
12010
12011   if test "x$ac_ct_CC" = x; then
12012     CC=""
12013   else
12014     case $cross_compiling:$ac_tool_warned in
12015 yes:)
12016 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12017 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12018 ac_tool_warned=yes ;;
12019 esac
12020     CC=$ac_ct_CC
12021   fi
12022 fi
12023
12024 fi
12025
12026
12027 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12028 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12029 as_fn_error $? "no acceptable C compiler found in \$PATH
12030 See \`config.log' for more details" "$LINENO" 5; }
12031
12032 # Provide some information about the compiler.
12033 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12034 set X $ac_compile
12035 ac_compiler=$2
12036 for ac_option in --version -v -V -qversion; do
12037   { { ac_try="$ac_compiler $ac_option >&5"
12038 case "(($ac_try" in
12039   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12040   *) ac_try_echo=$ac_try;;
12041 esac
12042 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12043 $as_echo "$ac_try_echo"; } >&5
12044   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12045   ac_status=$?
12046   if test -s conftest.err; then
12047     sed '10a\
12048 ... rest of stderr output deleted ...
12049          10q' conftest.err >conftest.er1
12050     cat conftest.er1 >&5
12051   fi
12052   rm -f conftest.er1 conftest.err
12053   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12054   test $ac_status = 0; }
12055 done
12056
12057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12058 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12059 if ${ac_cv_c_compiler_gnu+:} false; then :
12060   $as_echo_n "(cached) " >&6
12061 else
12062   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12063 /* end confdefs.h.  */
12064
12065 int
12066 main ()
12067 {
12068 #ifndef __GNUC__
12069        choke me
12070 #endif
12071
12072   ;
12073   return 0;
12074 }
12075 _ACEOF
12076 if ac_fn_c_try_compile "$LINENO"; then :
12077   ac_compiler_gnu=yes
12078 else
12079   ac_compiler_gnu=no
12080 fi
12081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12082 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12083
12084 fi
12085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12086 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12087 if test $ac_compiler_gnu = yes; then
12088   GCC=yes
12089 else
12090   GCC=
12091 fi
12092 ac_test_CFLAGS=${CFLAGS+set}
12093 ac_save_CFLAGS=$CFLAGS
12094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12095 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12096 if ${ac_cv_prog_cc_g+:} false; then :
12097   $as_echo_n "(cached) " >&6
12098 else
12099   ac_save_c_werror_flag=$ac_c_werror_flag
12100    ac_c_werror_flag=yes
12101    ac_cv_prog_cc_g=no
12102    CFLAGS="-g"
12103    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12104 /* end confdefs.h.  */
12105
12106 int
12107 main ()
12108 {
12109
12110   ;
12111   return 0;
12112 }
12113 _ACEOF
12114 if ac_fn_c_try_compile "$LINENO"; then :
12115   ac_cv_prog_cc_g=yes
12116 else
12117   CFLAGS=""
12118       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12119 /* end confdefs.h.  */
12120
12121 int
12122 main ()
12123 {
12124
12125   ;
12126   return 0;
12127 }
12128 _ACEOF
12129 if ac_fn_c_try_compile "$LINENO"; then :
12130
12131 else
12132   ac_c_werror_flag=$ac_save_c_werror_flag
12133          CFLAGS="-g"
12134          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12135 /* end confdefs.h.  */
12136
12137 int
12138 main ()
12139 {
12140
12141   ;
12142   return 0;
12143 }
12144 _ACEOF
12145 if ac_fn_c_try_compile "$LINENO"; then :
12146   ac_cv_prog_cc_g=yes
12147 fi
12148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12149 fi
12150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12151 fi
12152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12153    ac_c_werror_flag=$ac_save_c_werror_flag
12154 fi
12155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12156 $as_echo "$ac_cv_prog_cc_g" >&6; }
12157 if test "$ac_test_CFLAGS" = set; then
12158   CFLAGS=$ac_save_CFLAGS
12159 elif test $ac_cv_prog_cc_g = yes; then
12160   if test "$GCC" = yes; then
12161     CFLAGS="-g -O2"
12162   else
12163     CFLAGS="-g"
12164   fi
12165 else
12166   if test "$GCC" = yes; then
12167     CFLAGS="-O2"
12168   else
12169     CFLAGS=
12170   fi
12171 fi
12172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12173 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12174 if ${ac_cv_prog_cc_c89+:} false; then :
12175   $as_echo_n "(cached) " >&6
12176 else
12177   ac_cv_prog_cc_c89=no
12178 ac_save_CC=$CC
12179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12180 /* end confdefs.h.  */
12181 #include <stdarg.h>
12182 #include <stdio.h>
12183 struct stat;
12184 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
12185 struct buf { int x; };
12186 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12187 static char *e (p, i)
12188      char **p;
12189      int i;
12190 {
12191   return p[i];
12192 }
12193 static char *f (char * (*g) (char **, int), char **p, ...)
12194 {
12195   char *s;
12196   va_list v;
12197   va_start (v,p);
12198   s = g (p, va_arg (v,int));
12199   va_end (v);
12200   return s;
12201 }
12202
12203 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
12204    function prototypes and stuff, but not '\xHH' hex character constants.
12205    These don't provoke an error unfortunately, instead are silently treated
12206    as 'x'.  The following induces an error, until -std is added to get
12207    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
12208    array size at least.  It's necessary to write '\x00'==0 to get something
12209    that's true only with -std.  */
12210 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12211
12212 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12213    inside strings and character constants.  */
12214 #define FOO(x) 'x'
12215 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12216
12217 int test (int i, double x);
12218 struct s1 {int (*f) (int a);};
12219 struct s2 {int (*f) (double a);};
12220 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12221 int argc;
12222 char **argv;
12223 int
12224 main ()
12225 {
12226 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
12227   ;
12228   return 0;
12229 }
12230 _ACEOF
12231 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12232         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12233 do
12234   CC="$ac_save_CC $ac_arg"
12235   if ac_fn_c_try_compile "$LINENO"; then :
12236   ac_cv_prog_cc_c89=$ac_arg
12237 fi
12238 rm -f core conftest.err conftest.$ac_objext
12239   test "x$ac_cv_prog_cc_c89" != "xno" && break
12240 done
12241 rm -f conftest.$ac_ext
12242 CC=$ac_save_CC
12243
12244 fi
12245 # AC_CACHE_VAL
12246 case "x$ac_cv_prog_cc_c89" in
12247   x)
12248     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12249 $as_echo "none needed" >&6; } ;;
12250   xno)
12251     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12252 $as_echo "unsupported" >&6; } ;;
12253   *)
12254     CC="$CC $ac_cv_prog_cc_c89"
12255     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12256 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12257 esac
12258 if test "x$ac_cv_prog_cc_c89" != xno; then :
12259
12260 fi
12261
12262 ac_ext=c
12263 ac_cpp='$CPP $CPPFLAGS'
12264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12267
12268 ac_ext=c
12269 ac_cpp='$CPP $CPPFLAGS'
12270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
12274 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
12275 if ${am_cv_prog_cc_c_o+:} false; then :
12276   $as_echo_n "(cached) " >&6
12277 else
12278   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12279 /* end confdefs.h.  */
12280
12281 int
12282 main ()
12283 {
12284
12285   ;
12286   return 0;
12287 }
12288 _ACEOF
12289   # Make sure it works both with $CC and with simple cc.
12290   # Following AC_PROG_CC_C_O, we do the test twice because some
12291   # compilers refuse to overwrite an existing .o file with -o,
12292   # though they will create one.
12293   am_cv_prog_cc_c_o=yes
12294   for am_i in 1 2; do
12295     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
12296    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
12297    ac_status=$?
12298    echo "$as_me:$LINENO: \$? = $ac_status" >&5
12299    (exit $ac_status); } \
12300          && test -f conftest2.$ac_objext; then
12301       : OK
12302     else
12303       am_cv_prog_cc_c_o=no
12304       break
12305     fi
12306   done
12307   rm -f core conftest*
12308   unset am_i
12309 fi
12310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
12311 $as_echo "$am_cv_prog_cc_c_o" >&6; }
12312 if test "$am_cv_prog_cc_c_o" != yes; then
12313    # Losing compiler, so override with the script.
12314    # FIXME: It is wrong to rewrite CC.
12315    # But if we don't then we get into trouble of one sort or another.
12316    # A longer-term fix would be to have automake use am__CC in this case,
12317    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
12318    CC="$am_aux_dir/compile $CC"
12319 fi
12320 ac_ext=c
12321 ac_cpp='$CPP $CPPFLAGS'
12322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12325
12326
12327 depcc="$CC"   am_compiler_list=
12328
12329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12330 $as_echo_n "checking dependency style of $depcc... " >&6; }
12331 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
12332   $as_echo_n "(cached) " >&6
12333 else
12334   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12335   # We make a subdir and do the tests there.  Otherwise we can end up
12336   # making bogus files that we don't know about and never remove.  For
12337   # instance it was reported that on HP-UX the gcc test will end up
12338   # making a dummy file named 'D' -- because '-MD' means "put the output
12339   # in D".
12340   rm -rf conftest.dir
12341   mkdir conftest.dir
12342   # Copy depcomp to subdir because otherwise we won't find it if we're
12343   # using a relative directory.
12344   cp "$am_depcomp" conftest.dir
12345   cd conftest.dir
12346   # We will build objects and dependencies in a subdirectory because
12347   # it helps to detect inapplicable dependency modes.  For instance
12348   # both Tru64's cc and ICC support -MD to output dependencies as a
12349   # side effect of compilation, but ICC will put the dependencies in
12350   # the current directory while Tru64 will put them in the object
12351   # directory.
12352   mkdir sub
12353
12354   am_cv_CC_dependencies_compiler_type=none
12355   if test "$am_compiler_list" = ""; then
12356      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12357   fi
12358   am__universal=false
12359   case " $depcc " in #(
12360      *\ -arch\ *\ -arch\ *) am__universal=true ;;
12361      esac
12362
12363   for depmode in $am_compiler_list; do
12364     # Setup a source with many dependencies, because some compilers
12365     # like to wrap large dependency lists on column 80 (with \), and
12366     # we should not choose a depcomp mode which is confused by this.
12367     #
12368     # We need to recreate these files for each test, as the compiler may
12369     # overwrite some of them when testing with obscure command lines.
12370     # This happens at least with the AIX C compiler.
12371     : > sub/conftest.c
12372     for i in 1 2 3 4 5 6; do
12373       echo '#include "conftst'$i'.h"' >> sub/conftest.c
12374       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
12375       # Solaris 10 /bin/sh.
12376       echo '/* dummy */' > sub/conftst$i.h
12377     done
12378     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12379
12380     # We check with '-c' and '-o' for the sake of the "dashmstdout"
12381     # mode.  It turns out that the SunPro C++ compiler does not properly
12382     # handle '-M -o', and we need to detect this.  Also, some Intel
12383     # versions had trouble with output in subdirs.
12384     am__obj=sub/conftest.${OBJEXT-o}
12385     am__minus_obj="-o $am__obj"
12386     case $depmode in
12387     gcc)
12388       # This depmode causes a compiler race in universal mode.
12389       test "$am__universal" = false || continue
12390       ;;
12391     nosideeffect)
12392       # After this tag, mechanisms are not by side-effect, so they'll
12393       # only be used when explicitly requested.
12394       if test "x$enable_dependency_tracking" = xyes; then
12395         continue
12396       else
12397         break
12398       fi
12399       ;;
12400     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
12401       # This compiler won't grok '-c -o', but also, the minuso test has
12402       # not run yet.  These depmodes are late enough in the game, and
12403       # so weak that their functioning should not be impacted.
12404       am__obj=conftest.${OBJEXT-o}
12405       am__minus_obj=
12406       ;;
12407     none) break ;;
12408     esac
12409     if depmode=$depmode \
12410        source=sub/conftest.c object=$am__obj \
12411        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12412        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12413          >/dev/null 2>conftest.err &&
12414        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12415        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12416        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12417        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12418       # icc doesn't choke on unknown options, it will just issue warnings
12419       # or remarks (even with -Werror).  So we grep stderr for any message
12420       # that says an option was ignored or not supported.
12421       # When given -MP, icc 7.0 and 7.1 complain thusly:
12422       #   icc: Command line warning: ignoring option '-M'; no argument required
12423       # The diagnosis changed in icc 8.0:
12424       #   icc: Command line remark: option '-MP' not supported
12425       if (grep 'ignoring option' conftest.err ||
12426           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12427         am_cv_CC_dependencies_compiler_type=$depmode
12428         break
12429       fi
12430     fi
12431   done
12432
12433   cd ..
12434   rm -rf conftest.dir
12435 else
12436   am_cv_CC_dependencies_compiler_type=none
12437 fi
12438
12439 fi
12440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12441 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12442 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12443
12444  if
12445   test "x$enable_dependency_tracking" != xno \
12446   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
12447   am__fastdepCC_TRUE=
12448   am__fastdepCC_FALSE='#'
12449 else
12450   am__fastdepCC_TRUE='#'
12451   am__fastdepCC_FALSE=
12452 fi
12453
12454
12455
12456
12457
12458
12459 # Checks for libraries.
12460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12461 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12462 if ${ac_cv_lib_dl_dlopen+:} false; then :
12463   $as_echo_n "(cached) " >&6
12464 else
12465   ac_check_lib_save_LIBS=$LIBS
12466 LIBS="-ldl  $LIBS"
12467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12468 /* end confdefs.h.  */
12469
12470 /* Override any GCC internal prototype to avoid an error.
12471    Use char because int might match the return type of a GCC
12472    builtin and then its argument prototype would still apply.  */
12473 #ifdef __cplusplus
12474 extern "C"
12475 #endif
12476 char dlopen ();
12477 int
12478 main ()
12479 {
12480 return dlopen ();
12481   ;
12482   return 0;
12483 }
12484 _ACEOF
12485 if ac_fn_c_try_link "$LINENO"; then :
12486   ac_cv_lib_dl_dlopen=yes
12487 else
12488   ac_cv_lib_dl_dlopen=no
12489 fi
12490 rm -f core conftest.err conftest.$ac_objext \
12491     conftest$ac_exeext conftest.$ac_ext
12492 LIBS=$ac_check_lib_save_LIBS
12493 fi
12494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12495 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12496 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12497   cat >>confdefs.h <<_ACEOF
12498 #define HAVE_LIBDL 1
12499 _ACEOF
12500
12501   LIBS="-ldl $LIBS"
12502
12503 fi
12504
12505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdbm_open in -lgdbm" >&5
12506 $as_echo_n "checking for gdbm_open in -lgdbm... " >&6; }
12507 if ${ac_cv_lib_gdbm_gdbm_open+:} false; then :
12508   $as_echo_n "(cached) " >&6
12509 else
12510   ac_check_lib_save_LIBS=$LIBS
12511 LIBS="-lgdbm  $LIBS"
12512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12513 /* end confdefs.h.  */
12514
12515 /* Override any GCC internal prototype to avoid an error.
12516    Use char because int might match the return type of a GCC
12517    builtin and then its argument prototype would still apply.  */
12518 #ifdef __cplusplus
12519 extern "C"
12520 #endif
12521 char gdbm_open ();
12522 int
12523 main ()
12524 {
12525 return gdbm_open ();
12526   ;
12527   return 0;
12528 }
12529 _ACEOF
12530 if ac_fn_c_try_link "$LINENO"; then :
12531   ac_cv_lib_gdbm_gdbm_open=yes
12532 else
12533   ac_cv_lib_gdbm_gdbm_open=no
12534 fi
12535 rm -f core conftest.err conftest.$ac_objext \
12536     conftest$ac_exeext conftest.$ac_ext
12537 LIBS=$ac_check_lib_save_LIBS
12538 fi
12539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gdbm_gdbm_open" >&5
12540 $as_echo "$ac_cv_lib_gdbm_gdbm_open" >&6; }
12541 if test "x$ac_cv_lib_gdbm_gdbm_open" = xyes; then :
12542   cat >>confdefs.h <<_ACEOF
12543 #define HAVE_LIBGDBM 1
12544 _ACEOF
12545
12546   LIBS="-lgdbm $LIBS"
12547
12548 fi
12549
12550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
12551 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
12552 if ${ac_cv_lib_rt_clock_gettime+:} false; then :
12553   $as_echo_n "(cached) " >&6
12554 else
12555   ac_check_lib_save_LIBS=$LIBS
12556 LIBS="-lrt  $LIBS"
12557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12558 /* end confdefs.h.  */
12559
12560 /* Override any GCC internal prototype to avoid an error.
12561    Use char because int might match the return type of a GCC
12562    builtin and then its argument prototype would still apply.  */
12563 #ifdef __cplusplus
12564 extern "C"
12565 #endif
12566 char clock_gettime ();
12567 int
12568 main ()
12569 {
12570 return clock_gettime ();
12571   ;
12572   return 0;
12573 }
12574 _ACEOF
12575 if ac_fn_c_try_link "$LINENO"; then :
12576   ac_cv_lib_rt_clock_gettime=yes
12577 else
12578   ac_cv_lib_rt_clock_gettime=no
12579 fi
12580 rm -f core conftest.err conftest.$ac_objext \
12581     conftest$ac_exeext conftest.$ac_ext
12582 LIBS=$ac_check_lib_save_LIBS
12583 fi
12584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
12585 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
12586 if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then :
12587   cat >>confdefs.h <<_ACEOF
12588 #define HAVE_LIBRT 1
12589 _ACEOF
12590
12591   LIBS="-lrt $LIBS"
12592
12593 fi
12594
12595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5
12596 $as_echo_n "checking for sqrt in -lm... " >&6; }
12597 if ${ac_cv_lib_m_sqrt+:} false; then :
12598   $as_echo_n "(cached) " >&6
12599 else
12600   ac_check_lib_save_LIBS=$LIBS
12601 LIBS="-lm  $LIBS"
12602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12603 /* end confdefs.h.  */
12604
12605 /* Override any GCC internal prototype to avoid an error.
12606    Use char because int might match the return type of a GCC
12607    builtin and then its argument prototype would still apply.  */
12608 #ifdef __cplusplus
12609 extern "C"
12610 #endif
12611 char sqrt ();
12612 int
12613 main ()
12614 {
12615 return sqrt ();
12616   ;
12617   return 0;
12618 }
12619 _ACEOF
12620 if ac_fn_c_try_link "$LINENO"; then :
12621   ac_cv_lib_m_sqrt=yes
12622 else
12623   ac_cv_lib_m_sqrt=no
12624 fi
12625 rm -f core conftest.err conftest.$ac_objext \
12626     conftest$ac_exeext conftest.$ac_ext
12627 LIBS=$ac_check_lib_save_LIBS
12628 fi
12629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5
12630 $as_echo "$ac_cv_lib_m_sqrt" >&6; }
12631 if test "x$ac_cv_lib_m_sqrt" = xyes; then :
12632   cat >>confdefs.h <<_ACEOF
12633 #define HAVE_LIBM 1
12634 _ACEOF
12635
12636   LIBS="-lm $LIBS"
12637
12638 fi
12639
12640
12641 # Checks for typedefs, structures, and compiler characteristics.
12642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
12643 $as_echo_n "checking for inline... " >&6; }
12644 if ${ac_cv_c_inline+:} false; then :
12645   $as_echo_n "(cached) " >&6
12646 else
12647   ac_cv_c_inline=no
12648 for ac_kw in inline __inline__ __inline; do
12649   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12650 /* end confdefs.h.  */
12651 #ifndef __cplusplus
12652 typedef int foo_t;
12653 static $ac_kw foo_t static_foo () {return 0; }
12654 $ac_kw foo_t foo () {return 0; }
12655 #endif
12656
12657 _ACEOF
12658 if ac_fn_c_try_compile "$LINENO"; then :
12659   ac_cv_c_inline=$ac_kw
12660 fi
12661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12662   test "$ac_cv_c_inline" != no && break
12663 done
12664
12665 fi
12666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
12667 $as_echo "$ac_cv_c_inline" >&6; }
12668
12669 case $ac_cv_c_inline in
12670   inline | yes) ;;
12671   *)
12672     case $ac_cv_c_inline in
12673       no) ac_val=;;
12674       *) ac_val=$ac_cv_c_inline;;
12675     esac
12676     cat >>confdefs.h <<_ACEOF
12677 #ifndef __cplusplus
12678 #define inline $ac_val
12679 #endif
12680 _ACEOF
12681     ;;
12682 esac
12683
12684 ac_fn_c_find_intX_t "$LINENO" "32" "ac_cv_c_int32_t"
12685 case $ac_cv_c_int32_t in #(
12686   no|yes) ;; #(
12687   *)
12688
12689 cat >>confdefs.h <<_ACEOF
12690 #define int32_t $ac_cv_c_int32_t
12691 _ACEOF
12692 ;;
12693 esac
12694
12695 ac_fn_c_find_intX_t "$LINENO" "64" "ac_cv_c_int64_t"
12696 case $ac_cv_c_int64_t in #(
12697   no|yes) ;; #(
12698   *)
12699
12700 cat >>confdefs.h <<_ACEOF
12701 #define int64_t $ac_cv_c_int64_t
12702 _ACEOF
12703 ;;
12704 esac
12705
12706 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
12707 if test "x$ac_cv_type_pid_t" = xyes; then :
12708
12709 else
12710
12711 cat >>confdefs.h <<_ACEOF
12712 #define pid_t int
12713 _ACEOF
12714
12715 fi
12716
12717 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
12718 if test "x$ac_cv_type_size_t" = xyes; then :
12719
12720 else
12721
12722 cat >>confdefs.h <<_ACEOF
12723 #define size_t unsigned int
12724 _ACEOF
12725
12726 fi
12727
12728 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
12729 if test "x$ac_cv_type_ssize_t" = xyes; then :
12730
12731 else
12732
12733 cat >>confdefs.h <<_ACEOF
12734 #define ssize_t int
12735 _ACEOF
12736
12737 fi
12738
12739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
12740 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
12741 if ${ac_cv_type_uid_t+:} false; then :
12742   $as_echo_n "(cached) " >&6
12743 else
12744   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12745 /* end confdefs.h.  */
12746 #include <sys/types.h>
12747
12748 _ACEOF
12749 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12750   $EGREP "uid_t" >/dev/null 2>&1; then :
12751   ac_cv_type_uid_t=yes
12752 else
12753   ac_cv_type_uid_t=no
12754 fi
12755 rm -f conftest*
12756
12757 fi
12758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
12759 $as_echo "$ac_cv_type_uid_t" >&6; }
12760 if test $ac_cv_type_uid_t = no; then
12761
12762 $as_echo "#define uid_t int" >>confdefs.h
12763
12764
12765 $as_echo "#define gid_t int" >>confdefs.h
12766
12767 fi
12768
12769 ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t"
12770 case $ac_cv_c_uint16_t in #(
12771   no|yes) ;; #(
12772   *)
12773
12774
12775 cat >>confdefs.h <<_ACEOF
12776 #define uint16_t $ac_cv_c_uint16_t
12777 _ACEOF
12778 ;;
12779   esac
12780
12781 ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
12782 case $ac_cv_c_uint32_t in #(
12783   no|yes) ;; #(
12784   *)
12785
12786 $as_echo "#define _UINT32_T 1" >>confdefs.h
12787
12788
12789 cat >>confdefs.h <<_ACEOF
12790 #define uint32_t $ac_cv_c_uint32_t
12791 _ACEOF
12792 ;;
12793   esac
12794
12795 ac_fn_c_find_uintX_t "$LINENO" "64" "ac_cv_c_uint64_t"
12796 case $ac_cv_c_uint64_t in #(
12797   no|yes) ;; #(
12798   *)
12799
12800 $as_echo "#define _UINT64_T 1" >>confdefs.h
12801
12802
12803 cat >>confdefs.h <<_ACEOF
12804 #define uint64_t $ac_cv_c_uint64_t
12805 _ACEOF
12806 ;;
12807   esac
12808
12809 ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
12810 case $ac_cv_c_uint8_t in #(
12811   no|yes) ;; #(
12812   *)
12813
12814 $as_echo "#define _UINT8_T 1" >>confdefs.h
12815
12816
12817 cat >>confdefs.h <<_ACEOF
12818 #define uint8_t $ac_cv_c_uint8_t
12819 _ACEOF
12820 ;;
12821   esac
12822
12823
12824 # Checks for library functions.
12825 for ac_header in vfork.h
12826 do :
12827   ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
12828 if test "x$ac_cv_header_vfork_h" = xyes; then :
12829   cat >>confdefs.h <<_ACEOF
12830 #define HAVE_VFORK_H 1
12831 _ACEOF
12832
12833 fi
12834
12835 done
12836
12837 for ac_func in fork vfork
12838 do :
12839   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12840 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12841 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12842   cat >>confdefs.h <<_ACEOF
12843 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12844 _ACEOF
12845
12846 fi
12847 done
12848
12849 if test "x$ac_cv_func_fork" = xyes; then
12850   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
12851 $as_echo_n "checking for working fork... " >&6; }
12852 if ${ac_cv_func_fork_works+:} false; then :
12853   $as_echo_n "(cached) " >&6
12854 else
12855   if test "$cross_compiling" = yes; then :
12856   ac_cv_func_fork_works=cross
12857 else
12858   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12859 /* end confdefs.h.  */
12860 $ac_includes_default
12861 int
12862 main ()
12863 {
12864
12865           /* By Ruediger Kuhlmann. */
12866           return fork () < 0;
12867
12868   ;
12869   return 0;
12870 }
12871 _ACEOF
12872 if ac_fn_c_try_run "$LINENO"; then :
12873   ac_cv_func_fork_works=yes
12874 else
12875   ac_cv_func_fork_works=no
12876 fi
12877 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12878   conftest.$ac_objext conftest.beam conftest.$ac_ext
12879 fi
12880
12881 fi
12882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
12883 $as_echo "$ac_cv_func_fork_works" >&6; }
12884
12885 else
12886   ac_cv_func_fork_works=$ac_cv_func_fork
12887 fi
12888 if test "x$ac_cv_func_fork_works" = xcross; then
12889   case $host in
12890     *-*-amigaos* | *-*-msdosdjgpp*)
12891       # Override, as these systems have only a dummy fork() stub
12892       ac_cv_func_fork_works=no
12893       ;;
12894     *)
12895       ac_cv_func_fork_works=yes
12896       ;;
12897   esac
12898   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
12899 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
12900 fi
12901 ac_cv_func_vfork_works=$ac_cv_func_vfork
12902 if test "x$ac_cv_func_vfork" = xyes; then
12903   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
12904 $as_echo_n "checking for working vfork... " >&6; }
12905 if ${ac_cv_func_vfork_works+:} false; then :
12906   $as_echo_n "(cached) " >&6
12907 else
12908   if test "$cross_compiling" = yes; then :
12909   ac_cv_func_vfork_works=cross
12910 else
12911   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12912 /* end confdefs.h.  */
12913 /* Thanks to Paul Eggert for this test.  */
12914 $ac_includes_default
12915 #include <sys/wait.h>
12916 #ifdef HAVE_VFORK_H
12917 # include <vfork.h>
12918 #endif
12919 /* On some sparc systems, changes by the child to local and incoming
12920    argument registers are propagated back to the parent.  The compiler
12921    is told about this with #include <vfork.h>, but some compilers
12922    (e.g. gcc -O) don't grok <vfork.h>.  Test for this by using a
12923    static variable whose address is put into a register that is
12924    clobbered by the vfork.  */
12925 static void
12926 #ifdef __cplusplus
12927 sparc_address_test (int arg)
12928 # else
12929 sparc_address_test (arg) int arg;
12930 #endif
12931 {
12932   static pid_t child;
12933   if (!child) {
12934     child = vfork ();
12935     if (child < 0) {
12936       perror ("vfork");
12937       _exit(2);
12938     }
12939     if (!child) {
12940       arg = getpid();
12941       write(-1, "", 0);
12942       _exit (arg);
12943     }
12944   }
12945 }
12946
12947 int
12948 main ()
12949 {
12950   pid_t parent = getpid ();
12951   pid_t child;
12952
12953   sparc_address_test (0);
12954
12955   child = vfork ();
12956
12957   if (child == 0) {
12958     /* Here is another test for sparc vfork register problems.  This
12959        test uses lots of local variables, at least as many local
12960        variables as main has allocated so far including compiler
12961        temporaries.  4 locals are enough for gcc 1.40.3 on a Solaris
12962        4.1.3 sparc, but we use 8 to be safe.  A buggy compiler should
12963        reuse the register of parent for one of the local variables,
12964        since it will think that parent can't possibly be used any more
12965        in this routine.  Assigning to the local variable will thus
12966        munge parent in the parent process.  */
12967     pid_t
12968       p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
12969       p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
12970     /* Convince the compiler that p..p7 are live; otherwise, it might
12971        use the same hardware register for all 8 local variables.  */
12972     if (p != p1 || p != p2 || p != p3 || p != p4
12973         || p != p5 || p != p6 || p != p7)
12974       _exit(1);
12975
12976     /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
12977        from child file descriptors.  If the child closes a descriptor
12978        before it execs or exits, this munges the parent's descriptor
12979        as well.  Test for this by closing stdout in the child.  */
12980     _exit(close(fileno(stdout)) != 0);
12981   } else {
12982     int status;
12983     struct stat st;
12984
12985     while (wait(&status) != child)
12986       ;
12987     return (
12988          /* Was there some problem with vforking?  */
12989          child < 0
12990
12991          /* Did the child fail?  (This shouldn't happen.)  */
12992          || status
12993
12994          /* Did the vfork/compiler bug occur?  */
12995          || parent != getpid()
12996
12997          /* Did the file descriptor bug occur?  */
12998          || fstat(fileno(stdout), &st) != 0
12999          );
13000   }
13001 }
13002 _ACEOF
13003 if ac_fn_c_try_run "$LINENO"; then :
13004   ac_cv_func_vfork_works=yes
13005 else
13006   ac_cv_func_vfork_works=no
13007 fi
13008 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13009   conftest.$ac_objext conftest.beam conftest.$ac_ext
13010 fi
13011
13012 fi
13013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
13014 $as_echo "$ac_cv_func_vfork_works" >&6; }
13015
13016 fi;
13017 if test "x$ac_cv_func_fork_works" = xcross; then
13018   ac_cv_func_vfork_works=$ac_cv_func_vfork
13019   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
13020 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
13021 fi
13022
13023 if test "x$ac_cv_func_vfork_works" = xyes; then
13024
13025 $as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h
13026
13027 else
13028
13029 $as_echo "#define vfork fork" >>confdefs.h
13030
13031 fi
13032 if test "x$ac_cv_func_fork_works" = xyes; then
13033
13034 $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
13035
13036 fi
13037
13038 for ac_header in stdlib.h
13039 do :
13040   ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
13041 if test "x$ac_cv_header_stdlib_h" = xyes; then :
13042   cat >>confdefs.h <<_ACEOF
13043 #define HAVE_STDLIB_H 1
13044 _ACEOF
13045
13046 fi
13047
13048 done
13049
13050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
13051 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
13052 if ${ac_cv_func_malloc_0_nonnull+:} false; then :
13053   $as_echo_n "(cached) " >&6
13054 else
13055   if test "$cross_compiling" = yes; then :
13056   ac_cv_func_malloc_0_nonnull=no
13057 else
13058   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13059 /* end confdefs.h.  */
13060 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
13061 # include <stdlib.h>
13062 #else
13063 char *malloc ();
13064 #endif
13065
13066 int
13067 main ()
13068 {
13069 return ! malloc (0);
13070   ;
13071   return 0;
13072 }
13073 _ACEOF
13074 if ac_fn_c_try_run "$LINENO"; then :
13075   ac_cv_func_malloc_0_nonnull=yes
13076 else
13077   ac_cv_func_malloc_0_nonnull=no
13078 fi
13079 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13080   conftest.$ac_objext conftest.beam conftest.$ac_ext
13081 fi
13082
13083 fi
13084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
13085 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
13086 if test $ac_cv_func_malloc_0_nonnull = yes; then :
13087
13088 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
13089
13090 else
13091   $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
13092
13093    case " $LIBOBJS " in
13094   *" malloc.$ac_objext "* ) ;;
13095   *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
13096  ;;
13097 esac
13098
13099
13100 $as_echo "#define malloc rpl_malloc" >>confdefs.h
13101
13102 fi
13103
13104
13105 for ac_header in stdlib.h
13106 do :
13107   ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
13108 if test "x$ac_cv_header_stdlib_h" = xyes; then :
13109   cat >>confdefs.h <<_ACEOF
13110 #define HAVE_STDLIB_H 1
13111 _ACEOF
13112
13113 fi
13114
13115 done
13116
13117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
13118 $as_echo_n "checking for GNU libc compatible realloc... " >&6; }
13119 if ${ac_cv_func_realloc_0_nonnull+:} false; then :
13120   $as_echo_n "(cached) " >&6
13121 else
13122   if test "$cross_compiling" = yes; then :
13123   ac_cv_func_realloc_0_nonnull=no
13124 else
13125   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13126 /* end confdefs.h.  */
13127 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
13128 # include <stdlib.h>
13129 #else
13130 char *realloc ();
13131 #endif
13132
13133 int
13134 main ()
13135 {
13136 return ! realloc (0, 0);
13137   ;
13138   return 0;
13139 }
13140 _ACEOF
13141 if ac_fn_c_try_run "$LINENO"; then :
13142   ac_cv_func_realloc_0_nonnull=yes
13143 else
13144   ac_cv_func_realloc_0_nonnull=no
13145 fi
13146 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13147   conftest.$ac_objext conftest.beam conftest.$ac_ext
13148 fi
13149
13150 fi
13151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
13152 $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
13153 if test $ac_cv_func_realloc_0_nonnull = yes; then :
13154
13155 $as_echo "#define HAVE_REALLOC 1" >>confdefs.h
13156
13157 else
13158   $as_echo "#define HAVE_REALLOC 0" >>confdefs.h
13159
13160    case " $LIBOBJS " in
13161   *" realloc.$ac_objext "* ) ;;
13162   *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
13163  ;;
13164 esac
13165
13166
13167 $as_echo "#define realloc rpl_realloc" >>confdefs.h
13168
13169 fi
13170
13171
13172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strtod" >&5
13173 $as_echo_n "checking for working strtod... " >&6; }
13174 if ${ac_cv_func_strtod+:} false; then :
13175   $as_echo_n "(cached) " >&6
13176 else
13177   if test "$cross_compiling" = yes; then :
13178   ac_cv_func_strtod=no
13179 else
13180   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13181 /* end confdefs.h.  */
13182
13183 $ac_includes_default
13184 #ifndef strtod
13185 double strtod ();
13186 #endif
13187 int
13188 main()
13189 {
13190   {
13191     /* Some versions of Linux strtod mis-parse strings with leading '+'.  */
13192     char *string = " +69";
13193     char *term;
13194     double value;
13195     value = strtod (string, &term);
13196     if (value != 69 || term != (string + 4))
13197       return 1;
13198   }
13199
13200   {
13201     /* Under Solaris 2.4, strtod returns the wrong value for the
13202        terminating character under some conditions.  */
13203     char *string = "NaN";
13204     char *term;
13205     strtod (string, &term);
13206     if (term != string && *(term - 1) == 0)
13207       return 1;
13208   }
13209   return 0;
13210 }
13211
13212 _ACEOF
13213 if ac_fn_c_try_run "$LINENO"; then :
13214   ac_cv_func_strtod=yes
13215 else
13216   ac_cv_func_strtod=no
13217 fi
13218 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13219   conftest.$ac_objext conftest.beam conftest.$ac_ext
13220 fi
13221
13222 fi
13223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strtod" >&5
13224 $as_echo "$ac_cv_func_strtod" >&6; }
13225 if test $ac_cv_func_strtod = no; then
13226   case " $LIBOBJS " in
13227   *" strtod.$ac_objext "* ) ;;
13228   *) LIBOBJS="$LIBOBJS strtod.$ac_objext"
13229  ;;
13230 esac
13231
13232 ac_fn_c_check_func "$LINENO" "pow" "ac_cv_func_pow"
13233 if test "x$ac_cv_func_pow" = xyes; then :
13234
13235 fi
13236
13237 if test $ac_cv_func_pow = no; then
13238   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
13239 $as_echo_n "checking for pow in -lm... " >&6; }
13240 if ${ac_cv_lib_m_pow+:} false; then :
13241   $as_echo_n "(cached) " >&6
13242 else
13243   ac_check_lib_save_LIBS=$LIBS
13244 LIBS="-lm  $LIBS"
13245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13246 /* end confdefs.h.  */
13247
13248 /* Override any GCC internal prototype to avoid an error.
13249    Use char because int might match the return type of a GCC
13250    builtin and then its argument prototype would still apply.  */
13251 #ifdef __cplusplus
13252 extern "C"
13253 #endif
13254 char pow ();
13255 int
13256 main ()
13257 {
13258 return pow ();
13259   ;
13260   return 0;
13261 }
13262 _ACEOF
13263 if ac_fn_c_try_link "$LINENO"; then :
13264   ac_cv_lib_m_pow=yes
13265 else
13266   ac_cv_lib_m_pow=no
13267 fi
13268 rm -f core conftest.err conftest.$ac_objext \
13269     conftest$ac_exeext conftest.$ac_ext
13270 LIBS=$ac_check_lib_save_LIBS
13271 fi
13272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
13273 $as_echo "$ac_cv_lib_m_pow" >&6; }
13274 if test "x$ac_cv_lib_m_pow" = xyes; then :
13275   POW_LIB=-lm
13276 else
13277   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find library containing definition of pow" >&5
13278 $as_echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;}
13279 fi
13280
13281 fi
13282
13283 fi
13284
13285 for ac_func in atexit
13286 do :
13287   ac_fn_c_check_func "$LINENO" "atexit" "ac_cv_func_atexit"
13288 if test "x$ac_cv_func_atexit" = xyes; then :
13289   cat >>confdefs.h <<_ACEOF
13290 #define HAVE_ATEXIT 1
13291 _ACEOF
13292
13293 fi
13294 done
13295
13296 for ac_func in memmove
13297 do :
13298   ac_fn_c_check_func "$LINENO" "memmove" "ac_cv_func_memmove"
13299 if test "x$ac_cv_func_memmove" = xyes; then :
13300   cat >>confdefs.h <<_ACEOF
13301 #define HAVE_MEMMOVE 1
13302 _ACEOF
13303
13304 fi
13305 done
13306
13307 for ac_func in memset
13308 do :
13309   ac_fn_c_check_func "$LINENO" "memset" "ac_cv_func_memset"
13310 if test "x$ac_cv_func_memset" = xyes; then :
13311   cat >>confdefs.h <<_ACEOF
13312 #define HAVE_MEMSET 1
13313 _ACEOF
13314
13315 fi
13316 done
13317
13318 for ac_func in socket
13319 do :
13320   ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket"
13321 if test "x$ac_cv_func_socket" = xyes; then :
13322   cat >>confdefs.h <<_ACEOF
13323 #define HAVE_SOCKET 1
13324 _ACEOF
13325
13326 fi
13327 done
13328
13329 for ac_func in strchr
13330 do :
13331   ac_fn_c_check_func "$LINENO" "strchr" "ac_cv_func_strchr"
13332 if test "x$ac_cv_func_strchr" = xyes; then :
13333   cat >>confdefs.h <<_ACEOF
13334 #define HAVE_STRCHR 1
13335 _ACEOF
13336
13337 fi
13338 done
13339
13340 for ac_func in strdup
13341 do :
13342   ac_fn_c_check_func "$LINENO" "strdup" "ac_cv_func_strdup"
13343 if test "x$ac_cv_func_strdup" = xyes; then :
13344   cat >>confdefs.h <<_ACEOF
13345 #define HAVE_STRDUP 1
13346 _ACEOF
13347
13348 fi
13349 done
13350
13351 for ac_func in strndup
13352 do :
13353   ac_fn_c_check_func "$LINENO" "strndup" "ac_cv_func_strndup"
13354 if test "x$ac_cv_func_strndup" = xyes; then :
13355   cat >>confdefs.h <<_ACEOF
13356 #define HAVE_STRNDUP 1
13357 _ACEOF
13358
13359 fi
13360 done
13361
13362 for ac_func in strtol
13363 do :
13364   ac_fn_c_check_func "$LINENO" "strtol" "ac_cv_func_strtol"
13365 if test "x$ac_cv_func_strtol" = xyes; then :
13366   cat >>confdefs.h <<_ACEOF
13367 #define HAVE_STRTOL 1
13368 _ACEOF
13369
13370 fi
13371 done
13372
13373 for ac_func in __secure_getenv secure_getenv
13374 do :
13375   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13376 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13377 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13378   cat >>confdefs.h <<_ACEOF
13379 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13380 _ACEOF
13381
13382 fi
13383 done
13384
13385
13386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether preprocessor supports #pragma once" >&5
13387 $as_echo_n "checking whether preprocessor supports #pragma once... " >&6; }
13388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13389 /* end confdefs.h.  */
13390 #pragma once
13391 int
13392 main ()
13393 {
13394
13395   ;
13396   return 0;
13397 }
13398 _ACEOF
13399 if ac_fn_c_try_cpp "$LINENO"; then :
13400
13401                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13402 $as_echo "yes" >&6; }
13403
13404 $as_echo "#define HAVE_PRAGMA_ONCE 1" >>confdefs.h
13405
13406
13407 else
13408   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13409 $as_echo "no" >&6; }
13410 fi
13411 rm -f conftest.err conftest.i conftest.$ac_ext
13412
13413
13414
13415
13416
13417
13418 # PkgConfig tests
13419
13420
13421
13422
13423
13424
13425
13426 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13427         if test -n "$ac_tool_prefix"; then
13428   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13429 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
13430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13431 $as_echo_n "checking for $ac_word... " >&6; }
13432 if ${ac_cv_path_PKG_CONFIG+:} false; then :
13433   $as_echo_n "(cached) " >&6
13434 else
13435   case $PKG_CONFIG in
13436   [\\/]* | ?:[\\/]*)
13437   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13438   ;;
13439   *)
13440   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13441 for as_dir in $PATH
13442 do
13443   IFS=$as_save_IFS
13444   test -z "$as_dir" && as_dir=.
13445     for ac_exec_ext in '' $ac_executable_extensions; do
13446   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13447     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13448     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13449     break 2
13450   fi
13451 done
13452   done
13453 IFS=$as_save_IFS
13454
13455   ;;
13456 esac
13457 fi
13458 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13459 if test -n "$PKG_CONFIG"; then
13460   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13461 $as_echo "$PKG_CONFIG" >&6; }
13462 else
13463   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13464 $as_echo "no" >&6; }
13465 fi
13466
13467
13468 fi
13469 if test -z "$ac_cv_path_PKG_CONFIG"; then
13470   ac_pt_PKG_CONFIG=$PKG_CONFIG
13471   # Extract the first word of "pkg-config", so it can be a program name with args.
13472 set dummy pkg-config; ac_word=$2
13473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13474 $as_echo_n "checking for $ac_word... " >&6; }
13475 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
13476   $as_echo_n "(cached) " >&6
13477 else
13478   case $ac_pt_PKG_CONFIG in
13479   [\\/]* | ?:[\\/]*)
13480   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
13481   ;;
13482   *)
13483   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13484 for as_dir in $PATH
13485 do
13486   IFS=$as_save_IFS
13487   test -z "$as_dir" && as_dir=.
13488     for ac_exec_ext in '' $ac_executable_extensions; do
13489   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13490     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13491     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13492     break 2
13493   fi
13494 done
13495   done
13496 IFS=$as_save_IFS
13497
13498   ;;
13499 esac
13500 fi
13501 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
13502 if test -n "$ac_pt_PKG_CONFIG"; then
13503   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
13504 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
13505 else
13506   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13507 $as_echo "no" >&6; }
13508 fi
13509
13510   if test "x$ac_pt_PKG_CONFIG" = x; then
13511     PKG_CONFIG=""
13512   else
13513     case $cross_compiling:$ac_tool_warned in
13514 yes:)
13515 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13516 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13517 ac_tool_warned=yes ;;
13518 esac
13519     PKG_CONFIG=$ac_pt_PKG_CONFIG
13520   fi
13521 else
13522   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
13523 fi
13524
13525 fi
13526 if test -n "$PKG_CONFIG"; then
13527         _pkg_min_version=0.9.0
13528         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
13529 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
13530         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
13531                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13532 $as_echo "yes" >&6; }
13533         else
13534                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13535 $as_echo "no" >&6; }
13536                 PKG_CONFIG=""
13537         fi
13538 fi
13539
13540 pkg_failed=no
13541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5
13542 $as_echo_n "checking for CHECK... " >&6; }
13543
13544 if test -n "$CHECK_CFLAGS"; then
13545     pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS"
13546  elif test -n "$PKG_CONFIG"; then
13547     if test -n "$PKG_CONFIG" && \
13548     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check\""; } >&5
13549   ($PKG_CONFIG --exists --print-errors "check") 2>&5
13550   ac_status=$?
13551   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13552   test $ac_status = 0; }; then
13553   pkg_cv_CHECK_CFLAGS=`$PKG_CONFIG --cflags "check" 2>/dev/null`
13554                       test "x$?" != "x0" && pkg_failed=yes
13555 else
13556   pkg_failed=yes
13557 fi
13558  else
13559     pkg_failed=untried
13560 fi
13561 if test -n "$CHECK_LIBS"; then
13562     pkg_cv_CHECK_LIBS="$CHECK_LIBS"
13563  elif test -n "$PKG_CONFIG"; then
13564     if test -n "$PKG_CONFIG" && \
13565     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check\""; } >&5
13566   ($PKG_CONFIG --exists --print-errors "check") 2>&5
13567   ac_status=$?
13568   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13569   test $ac_status = 0; }; then
13570   pkg_cv_CHECK_LIBS=`$PKG_CONFIG --libs "check" 2>/dev/null`
13571                       test "x$?" != "x0" && pkg_failed=yes
13572 else
13573   pkg_failed=yes
13574 fi
13575  else
13576     pkg_failed=untried
13577 fi
13578
13579
13580
13581 if test $pkg_failed = yes; then
13582         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13583 $as_echo "no" >&6; }
13584
13585 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13586         _pkg_short_errors_supported=yes
13587 else
13588         _pkg_short_errors_supported=no
13589 fi
13590         if test $_pkg_short_errors_supported = yes; then
13591                 CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "check" 2>&1`
13592         else
13593                 CHECK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "check" 2>&1`
13594         fi
13595         # Put the nasty error message in config.log where it belongs
13596         echo "$CHECK_PKG_ERRORS" >&5
13597
13598         as_fn_error $? "Package requirements (check) were not met:
13599
13600 $CHECK_PKG_ERRORS
13601
13602 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13603 installed software in a non-standard prefix.
13604
13605 Alternatively, you may set the environment variables CHECK_CFLAGS
13606 and CHECK_LIBS to avoid the need to call pkg-config.
13607 See the pkg-config man page for more details." "$LINENO" 5
13608 elif test $pkg_failed = untried; then
13609         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13610 $as_echo "no" >&6; }
13611         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13612 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13613 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13614 is in your PATH or set the PKG_CONFIG environment variable to the full
13615 path to pkg-config.
13616
13617 Alternatively, you may set the environment variables CHECK_CFLAGS
13618 and CHECK_LIBS to avoid the need to call pkg-config.
13619 See the pkg-config man page for more details.
13620
13621 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13622 See \`config.log' for more details" "$LINENO" 5; }
13623 else
13624         CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS
13625         CHECK_LIBS=$pkg_cv_CHECK_LIBS
13626         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13627 $as_echo "yes" >&6; }
13628
13629 fi
13630
13631 pkg_failed=no
13632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SYSTEMD" >&5
13633 $as_echo_n "checking for SYSTEMD... " >&6; }
13634
13635 if test -n "$SYSTEMD_CFLAGS"; then
13636     pkg_cv_SYSTEMD_CFLAGS="$SYSTEMD_CFLAGS"
13637  elif test -n "$PKG_CONFIG"; then
13638     if test -n "$PKG_CONFIG" && \
13639     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-daemon\""; } >&5
13640   ($PKG_CONFIG --exists --print-errors "libsystemd-daemon") 2>&5
13641   ac_status=$?
13642   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13643   test $ac_status = 0; }; then
13644   pkg_cv_SYSTEMD_CFLAGS=`$PKG_CONFIG --cflags "libsystemd-daemon" 2>/dev/null`
13645                       test "x$?" != "x0" && pkg_failed=yes
13646 else
13647   pkg_failed=yes
13648 fi
13649  else
13650     pkg_failed=untried
13651 fi
13652 if test -n "$SYSTEMD_LIBS"; then
13653     pkg_cv_SYSTEMD_LIBS="$SYSTEMD_LIBS"
13654  elif test -n "$PKG_CONFIG"; then
13655     if test -n "$PKG_CONFIG" && \
13656     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-daemon\""; } >&5
13657   ($PKG_CONFIG --exists --print-errors "libsystemd-daemon") 2>&5
13658   ac_status=$?
13659   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13660   test $ac_status = 0; }; then
13661   pkg_cv_SYSTEMD_LIBS=`$PKG_CONFIG --libs "libsystemd-daemon" 2>/dev/null`
13662                       test "x$?" != "x0" && pkg_failed=yes
13663 else
13664   pkg_failed=yes
13665 fi
13666  else
13667     pkg_failed=untried
13668 fi
13669
13670
13671
13672 if test $pkg_failed = yes; then
13673         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13674 $as_echo "no" >&6; }
13675
13676 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13677         _pkg_short_errors_supported=yes
13678 else
13679         _pkg_short_errors_supported=no
13680 fi
13681         if test $_pkg_short_errors_supported = yes; then
13682                 SYSTEMD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsystemd-daemon" 2>&1`
13683         else
13684                 SYSTEMD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsystemd-daemon" 2>&1`
13685         fi
13686         # Put the nasty error message in config.log where it belongs
13687         echo "$SYSTEMD_PKG_ERRORS" >&5
13688
13689         as_fn_error $? "Package requirements (libsystemd-daemon) were not met:
13690
13691 $SYSTEMD_PKG_ERRORS
13692
13693 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13694 installed software in a non-standard prefix.
13695
13696 Alternatively, you may set the environment variables SYSTEMD_CFLAGS
13697 and SYSTEMD_LIBS to avoid the need to call pkg-config.
13698 See the pkg-config man page for more details." "$LINENO" 5
13699 elif test $pkg_failed = untried; then
13700         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13701 $as_echo "no" >&6; }
13702         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13703 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13704 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13705 is in your PATH or set the PKG_CONFIG environment variable to the full
13706 path to pkg-config.
13707
13708 Alternatively, you may set the environment variables SYSTEMD_CFLAGS
13709 and SYSTEMD_LIBS to avoid the need to call pkg-config.
13710 See the pkg-config man page for more details.
13711
13712 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13713 See \`config.log' for more details" "$LINENO" 5; }
13714 else
13715         SYSTEMD_CFLAGS=$pkg_cv_SYSTEMD_CFLAGS
13716         SYSTEMD_LIBS=$pkg_cv_SYSTEMD_LIBS
13717         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13718 $as_echo "yes" >&6; }
13719
13720 fi
13721
13722 # Checks for header files.
13723 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
13724 # for constant arguments.  Useless!
13725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
13726 $as_echo_n "checking for working alloca.h... " >&6; }
13727 if ${ac_cv_working_alloca_h+:} false; then :
13728   $as_echo_n "(cached) " >&6
13729 else
13730   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13731 /* end confdefs.h.  */
13732 #include <alloca.h>
13733 int
13734 main ()
13735 {
13736 char *p = (char *) alloca (2 * sizeof (int));
13737                           if (p) return 0;
13738   ;
13739   return 0;
13740 }
13741 _ACEOF
13742 if ac_fn_c_try_link "$LINENO"; then :
13743   ac_cv_working_alloca_h=yes
13744 else
13745   ac_cv_working_alloca_h=no
13746 fi
13747 rm -f core conftest.err conftest.$ac_objext \
13748     conftest$ac_exeext conftest.$ac_ext
13749 fi
13750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
13751 $as_echo "$ac_cv_working_alloca_h" >&6; }
13752 if test $ac_cv_working_alloca_h = yes; then
13753
13754 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
13755
13756 fi
13757
13758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
13759 $as_echo_n "checking for alloca... " >&6; }
13760 if ${ac_cv_func_alloca_works+:} false; then :
13761   $as_echo_n "(cached) " >&6
13762 else
13763   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13764 /* end confdefs.h.  */
13765 #ifdef __GNUC__
13766 # define alloca __builtin_alloca
13767 #else
13768 # ifdef _MSC_VER
13769 #  include <malloc.h>
13770 #  define alloca _alloca
13771 # else
13772 #  ifdef HAVE_ALLOCA_H
13773 #   include <alloca.h>
13774 #  else
13775 #   ifdef _AIX
13776  #pragma alloca
13777 #   else
13778 #    ifndef alloca /* predefined by HP cc +Olibcalls */
13779 void *alloca (size_t);
13780 #    endif
13781 #   endif
13782 #  endif
13783 # endif
13784 #endif
13785
13786 int
13787 main ()
13788 {
13789 char *p = (char *) alloca (1);
13790                                     if (p) return 0;
13791   ;
13792   return 0;
13793 }
13794 _ACEOF
13795 if ac_fn_c_try_link "$LINENO"; then :
13796   ac_cv_func_alloca_works=yes
13797 else
13798   ac_cv_func_alloca_works=no
13799 fi
13800 rm -f core conftest.err conftest.$ac_objext \
13801     conftest$ac_exeext conftest.$ac_ext
13802 fi
13803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
13804 $as_echo "$ac_cv_func_alloca_works" >&6; }
13805
13806 if test $ac_cv_func_alloca_works = yes; then
13807
13808 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
13809
13810 else
13811   # The SVR3 libPW and SVR4 libucb both contain incompatible functions
13812 # that cause trouble.  Some versions do not even contain alloca or
13813 # contain a buggy version.  If you still want to use their alloca,
13814 # use ar to extract alloca.o from them instead of compiling alloca.c.
13815
13816 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
13817
13818 $as_echo "#define C_ALLOCA 1" >>confdefs.h
13819
13820
13821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
13822 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
13823 if ${ac_cv_os_cray+:} false; then :
13824   $as_echo_n "(cached) " >&6
13825 else
13826   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13827 /* end confdefs.h.  */
13828 #if defined CRAY && ! defined CRAY2
13829 webecray
13830 #else
13831 wenotbecray
13832 #endif
13833
13834 _ACEOF
13835 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13836   $EGREP "webecray" >/dev/null 2>&1; then :
13837   ac_cv_os_cray=yes
13838 else
13839   ac_cv_os_cray=no
13840 fi
13841 rm -f conftest*
13842
13843 fi
13844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
13845 $as_echo "$ac_cv_os_cray" >&6; }
13846 if test $ac_cv_os_cray = yes; then
13847   for ac_func in _getb67 GETB67 getb67; do
13848     as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13849 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13850 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13851
13852 cat >>confdefs.h <<_ACEOF
13853 #define CRAY_STACKSEG_END $ac_func
13854 _ACEOF
13855
13856     break
13857 fi
13858
13859   done
13860 fi
13861
13862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
13863 $as_echo_n "checking stack direction for C alloca... " >&6; }
13864 if ${ac_cv_c_stack_direction+:} false; then :
13865   $as_echo_n "(cached) " >&6
13866 else
13867   if test "$cross_compiling" = yes; then :
13868   ac_cv_c_stack_direction=0
13869 else
13870   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13871 /* end confdefs.h.  */
13872 $ac_includes_default
13873 int
13874 find_stack_direction (int *addr, int depth)
13875 {
13876   int dir, dummy = 0;
13877   if (! addr)
13878     addr = &dummy;
13879   *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
13880   dir = depth ? find_stack_direction (addr, depth - 1) : 0;
13881   return dir + dummy;
13882 }
13883
13884 int
13885 main (int argc, char **argv)
13886 {
13887   return find_stack_direction (0, argc + !argv + 20) < 0;
13888 }
13889 _ACEOF
13890 if ac_fn_c_try_run "$LINENO"; then :
13891   ac_cv_c_stack_direction=1
13892 else
13893   ac_cv_c_stack_direction=-1
13894 fi
13895 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13896   conftest.$ac_objext conftest.beam conftest.$ac_ext
13897 fi
13898
13899 fi
13900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
13901 $as_echo "$ac_cv_c_stack_direction" >&6; }
13902 cat >>confdefs.h <<_ACEOF
13903 #define STACK_DIRECTION $ac_cv_c_stack_direction
13904 _ACEOF
13905
13906
13907 fi
13908
13909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
13910 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
13911 if ${ac_cv_header_stdbool_h+:} false; then :
13912   $as_echo_n "(cached) " >&6
13913 else
13914   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13915 /* end confdefs.h.  */
13916
13917              #include <stdbool.h>
13918              #ifndef bool
13919               "error: bool is not defined"
13920              #endif
13921              #ifndef false
13922               "error: false is not defined"
13923              #endif
13924              #if false
13925               "error: false is not 0"
13926              #endif
13927              #ifndef true
13928               "error: true is not defined"
13929              #endif
13930              #if true != 1
13931               "error: true is not 1"
13932              #endif
13933              #ifndef __bool_true_false_are_defined
13934               "error: __bool_true_false_are_defined is not defined"
13935              #endif
13936
13937              struct s { _Bool s: 1; _Bool t; } s;
13938
13939              char a[true == 1 ? 1 : -1];
13940              char b[false == 0 ? 1 : -1];
13941              char c[__bool_true_false_are_defined == 1 ? 1 : -1];
13942              char d[(bool) 0.5 == true ? 1 : -1];
13943              /* See body of main program for 'e'.  */
13944              char f[(_Bool) 0.0 == false ? 1 : -1];
13945              char g[true];
13946              char h[sizeof (_Bool)];
13947              char i[sizeof s.t];
13948              enum { j = false, k = true, l = false * true, m = true * 256 };
13949              /* The following fails for
13950                 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
13951              _Bool n[m];
13952              char o[sizeof n == m * sizeof n[0] ? 1 : -1];
13953              char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
13954              /* Catch a bug in an HP-UX C compiler.  See
13955                 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
13956                 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
13957               */
13958              _Bool q = true;
13959              _Bool *pq = &q;
13960
13961 int
13962 main ()
13963 {
13964
13965              bool e = &s;
13966              *pq |= q;
13967              *pq |= ! q;
13968              /* Refer to every declared value, to avoid compiler optimizations.  */
13969              return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
13970                      + !m + !n + !o + !p + !q + !pq);
13971
13972   ;
13973   return 0;
13974 }
13975 _ACEOF
13976 if ac_fn_c_try_compile "$LINENO"; then :
13977   ac_cv_header_stdbool_h=yes
13978 else
13979   ac_cv_header_stdbool_h=no
13980 fi
13981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13982 fi
13983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
13984 $as_echo "$ac_cv_header_stdbool_h" >&6; }
13985    ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
13986 if test "x$ac_cv_type__Bool" = xyes; then :
13987
13988 cat >>confdefs.h <<_ACEOF
13989 #define HAVE__BOOL 1
13990 _ACEOF
13991
13992
13993 fi
13994
13995
13996 if test $ac_cv_header_stdbool_h = yes; then
13997
13998 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
13999
14000 fi
14001
14002 for ac_header in attr/xattr.h
14003 do :
14004   ac_fn_c_check_header_mongrel "$LINENO" "attr/xattr.h" "ac_cv_header_attr_xattr_h" "$ac_includes_default"
14005 if test "x$ac_cv_header_attr_xattr_h" = xyes; then :
14006   cat >>confdefs.h <<_ACEOF
14007 #define HAVE_ATTR_XATTR_H 1
14008 _ACEOF
14009
14010 else
14011   as_fn_error $? "Unable to find xattr headers" "$LINENO" 5
14012 fi
14013
14014 done
14015
14016 for ac_header in fcntl.h
14017 do :
14018   ac_fn_c_check_header_mongrel "$LINENO" "fcntl.h" "ac_cv_header_fcntl_h" "$ac_includes_default"
14019 if test "x$ac_cv_header_fcntl_h" = xyes; then :
14020   cat >>confdefs.h <<_ACEOF
14021 #define HAVE_FCNTL_H 1
14022 _ACEOF
14023
14024 fi
14025
14026 done
14027
14028 for ac_header in gdbm.h
14029 do :
14030   ac_fn_c_check_header_mongrel "$LINENO" "gdbm.h" "ac_cv_header_gdbm_h" "$ac_includes_default"
14031 if test "x$ac_cv_header_gdbm_h" = xyes; then :
14032   cat >>confdefs.h <<_ACEOF
14033 #define HAVE_GDBM_H 1
14034 _ACEOF
14035
14036 else
14037   as_fn_error $? "Unable to find gdbm headers" "$LINENO" 5
14038 fi
14039
14040 done
14041
14042 for ac_header in inttypes.h
14043 do :
14044   ac_fn_c_check_header_mongrel "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
14045 if test "x$ac_cv_header_inttypes_h" = xyes; then :
14046   cat >>confdefs.h <<_ACEOF
14047 #define HAVE_INTTYPES_H 1
14048 _ACEOF
14049
14050 fi
14051
14052 done
14053
14054 for ac_header in limits.h
14055 do :
14056   ac_fn_c_check_header_mongrel "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default"
14057 if test "x$ac_cv_header_limits_h" = xyes; then :
14058   cat >>confdefs.h <<_ACEOF
14059 #define HAVE_LIMITS_H 1
14060 _ACEOF
14061
14062 fi
14063
14064 done
14065
14066 for ac_header in locale.h
14067 do :
14068   ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
14069 if test "x$ac_cv_header_locale_h" = xyes; then :
14070   cat >>confdefs.h <<_ACEOF
14071 #define HAVE_LOCALE_H 1
14072 _ACEOF
14073
14074 fi
14075
14076 done
14077
14078 for ac_header in malloc.h
14079 do :
14080   ac_fn_c_check_header_mongrel "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "$ac_includes_default"
14081 if test "x$ac_cv_header_malloc_h" = xyes; then :
14082   cat >>confdefs.h <<_ACEOF
14083 #define HAVE_MALLOC_H 1
14084 _ACEOF
14085
14086 fi
14087
14088 done
14089
14090 for ac_header in stddef.h
14091 do :
14092   ac_fn_c_check_header_mongrel "$LINENO" "stddef.h" "ac_cv_header_stddef_h" "$ac_includes_default"
14093 if test "x$ac_cv_header_stddef_h" = xyes; then :
14094   cat >>confdefs.h <<_ACEOF
14095 #define HAVE_STDDEF_H 1
14096 _ACEOF
14097
14098 fi
14099
14100 done
14101
14102 for ac_header in stdint.h
14103 do :
14104   ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
14105 if test "x$ac_cv_header_stdint_h" = xyes; then :
14106   cat >>confdefs.h <<_ACEOF
14107 #define HAVE_STDINT_H 1
14108 _ACEOF
14109
14110 fi
14111
14112 done
14113
14114 for ac_header in stdlib.h
14115 do :
14116   ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
14117 if test "x$ac_cv_header_stdlib_h" = xyes; then :
14118   cat >>confdefs.h <<_ACEOF
14119 #define HAVE_STDLIB_H 1
14120 _ACEOF
14121
14122 fi
14123
14124 done
14125
14126 for ac_header in string.h
14127 do :
14128   ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
14129 if test "x$ac_cv_header_string_h" = xyes; then :
14130   cat >>confdefs.h <<_ACEOF
14131 #define HAVE_STRING_H 1
14132 _ACEOF
14133
14134 fi
14135
14136 done
14137
14138 for ac_header in time.h
14139 do :
14140   ac_fn_c_check_header_mongrel "$LINENO" "time.h" "ac_cv_header_time_h" "$ac_includes_default"
14141 if test "x$ac_cv_header_time_h" = xyes; then :
14142   cat >>confdefs.h <<_ACEOF
14143 #define HAVE_TIME_H 1
14144 _ACEOF
14145
14146 fi
14147
14148 done
14149
14150 for ac_header in math.h
14151 do :
14152   ac_fn_c_check_header_mongrel "$LINENO" "math.h" "ac_cv_header_math_h" "$ac_includes_default"
14153 if test "x$ac_cv_header_math_h" = xyes; then :
14154   cat >>confdefs.h <<_ACEOF
14155 #define HAVE_MATH_H 1
14156 _ACEOF
14157
14158 fi
14159
14160 done
14161
14162 for ac_header in pthread.h
14163 do :
14164   ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
14165 if test "x$ac_cv_header_pthread_h" = xyes; then :
14166   cat >>confdefs.h <<_ACEOF
14167 #define HAVE_PTHREAD_H 1
14168 _ACEOF
14169
14170 fi
14171
14172 done
14173
14174 for ac_header in sys/param.h
14175 do :
14176   ac_fn_c_check_header_mongrel "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
14177 if test "x$ac_cv_header_sys_param_h" = xyes; then :
14178   cat >>confdefs.h <<_ACEOF
14179 #define HAVE_SYS_PARAM_H 1
14180 _ACEOF
14181
14182 fi
14183
14184 done
14185
14186 for ac_header in sys/signalfd.h
14187 do :
14188   ac_fn_c_check_header_mongrel "$LINENO" "sys/signalfd.h" "ac_cv_header_sys_signalfd_h" "$ac_includes_default"
14189 if test "x$ac_cv_header_sys_signalfd_h" = xyes; then :
14190   cat >>confdefs.h <<_ACEOF
14191 #define HAVE_SYS_SIGNALFD_H 1
14192 _ACEOF
14193
14194 fi
14195
14196 done
14197
14198 for ac_header in sys/socket.h
14199 do :
14200   ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default"
14201 if test "x$ac_cv_header_sys_socket_h" = xyes; then :
14202   cat >>confdefs.h <<_ACEOF
14203 #define HAVE_SYS_SOCKET_H 1
14204 _ACEOF
14205
14206 fi
14207
14208 done
14209
14210 for ac_header in sys/stat.h
14211 do :
14212   ac_fn_c_check_header_mongrel "$LINENO" "sys/stat.h" "ac_cv_header_sys_stat_h" "$ac_includes_default"
14213 if test "x$ac_cv_header_sys_stat_h" = xyes; then :
14214   cat >>confdefs.h <<_ACEOF
14215 #define HAVE_SYS_STAT_H 1
14216 _ACEOF
14217
14218 fi
14219
14220 done
14221
14222 for ac_header in sys/time.h
14223 do :
14224   ac_fn_c_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
14225 if test "x$ac_cv_header_sys_time_h" = xyes; then :
14226   cat >>confdefs.h <<_ACEOF
14227 #define HAVE_SYS_TIME_H 1
14228 _ACEOF
14229
14230 fi
14231
14232 done
14233
14234 for ac_header in unistd.h
14235 do :
14236   ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
14237 if test "x$ac_cv_header_unistd_h" = xyes; then :
14238   cat >>confdefs.h <<_ACEOF
14239 #define HAVE_UNISTD_H 1
14240 _ACEOF
14241
14242 fi
14243
14244 done
14245
14246 for ac_header in linux/inotify.h
14247 do :
14248   ac_fn_c_check_header_mongrel "$LINENO" "linux/inotify.h" "ac_cv_header_linux_inotify_h" "$ac_includes_default"
14249 if test "x$ac_cv_header_linux_inotify_h" = xyes; then :
14250   cat >>confdefs.h <<_ACEOF
14251 #define HAVE_LINUX_INOTIFY_H 1
14252 _ACEOF
14253
14254 fi
14255
14256 done
14257
14258 ac_fn_c_check_func "$LINENO" "inotify_init" "ac_cv_func_inotify_init"
14259 if test "x$ac_cv_func_inotify_init" = xyes; then :
14260
14261 fi
14262
14263
14264 # Options
14265
14266 # Check whether --with-systemdsystemunitdir was given.
14267 if test "${with_systemdsystemunitdir+set}" = set; then :
14268   withval=$with_systemdsystemunitdir; path_systemdsystemunit=${withval}
14269 else
14270   path_systemdsystemunit="`$PKG_CONFIG --variable=systemdsystemunitdir systemd`"
14271 fi
14272
14273 SYSTEMD_SYSTEMUNITDIR="${path_systemdsystemunit}"
14274
14275  if test -n "${path_systemdsystemunit}"; then
14276   SYSTEMD_TRUE=
14277   SYSTEMD_FALSE='#'
14278 else
14279   SYSTEMD_TRUE='#'
14280   SYSTEMD_FALSE=
14281 fi
14282
14283
14284
14285 # Check whether --with-user was given.
14286 if test "${with_user+set}" = set; then :
14287   withval=$with_user; username=${withval}
14288 else
14289   username="buxton"
14290 fi
14291
14292 BUXTON_USERNAME="${username}"
14293
14294
14295 INIPARSER_CFLAGS="-I${srcdir}/src/shared/"
14296
14297 # Check whether --with-local-iniparser was given.
14298 if test "${with_local_iniparser+set}" = set; then :
14299   withval=$with_local_iniparser; use_local_iniparser="true"
14300 else
14301
14302 pkg_failed=no
14303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for INIPARSER" >&5
14304 $as_echo_n "checking for INIPARSER... " >&6; }
14305
14306 if test -n "$INIPARSER_CFLAGS"; then
14307     pkg_cv_INIPARSER_CFLAGS="$INIPARSER_CFLAGS"
14308  elif test -n "$PKG_CONFIG"; then
14309     if test -n "$PKG_CONFIG" && \
14310     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"iniparser >= 3.1\""; } >&5
14311   ($PKG_CONFIG --exists --print-errors "iniparser >= 3.1") 2>&5
14312   ac_status=$?
14313   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14314   test $ac_status = 0; }; then
14315   pkg_cv_INIPARSER_CFLAGS=`$PKG_CONFIG --cflags "iniparser >= 3.1" 2>/dev/null`
14316                       test "x$?" != "x0" && pkg_failed=yes
14317 else
14318   pkg_failed=yes
14319 fi
14320  else
14321     pkg_failed=untried
14322 fi
14323 if test -n "$INIPARSER_LIBS"; then
14324     pkg_cv_INIPARSER_LIBS="$INIPARSER_LIBS"
14325  elif test -n "$PKG_CONFIG"; then
14326     if test -n "$PKG_CONFIG" && \
14327     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"iniparser >= 3.1\""; } >&5
14328   ($PKG_CONFIG --exists --print-errors "iniparser >= 3.1") 2>&5
14329   ac_status=$?
14330   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14331   test $ac_status = 0; }; then
14332   pkg_cv_INIPARSER_LIBS=`$PKG_CONFIG --libs "iniparser >= 3.1" 2>/dev/null`
14333                       test "x$?" != "x0" && pkg_failed=yes
14334 else
14335   pkg_failed=yes
14336 fi
14337  else
14338     pkg_failed=untried
14339 fi
14340
14341
14342
14343 if test $pkg_failed = yes; then
14344         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14345 $as_echo "no" >&6; }
14346
14347 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14348         _pkg_short_errors_supported=yes
14349 else
14350         _pkg_short_errors_supported=no
14351 fi
14352         if test $_pkg_short_errors_supported = yes; then
14353                 INIPARSER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "iniparser >= 3.1" 2>&1`
14354         else
14355                 INIPARSER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "iniparser >= 3.1" 2>&1`
14356         fi
14357         # Put the nasty error message in config.log where it belongs
14358         echo "$INIPARSER_PKG_ERRORS" >&5
14359
14360         use_local_iniparser="true";
14361 elif test $pkg_failed = untried; then
14362         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14363 $as_echo "no" >&6; }
14364         use_local_iniparser="true";
14365 else
14366         INIPARSER_CFLAGS=$pkg_cv_INIPARSER_CFLAGS
14367         INIPARSER_LIBS=$pkg_cv_INIPARSER_LIBS
14368         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14369 $as_echo "yes" >&6; }
14370         use_local_iniparser="false"
14371 fi
14372 fi
14373
14374  if test x$use_local_iniparser = x"true"; then
14375   USE_LOCAL_INIPARSER_TRUE=
14376   USE_LOCAL_INIPARSER_FALSE='#'
14377 else
14378   USE_LOCAL_INIPARSER_TRUE='#'
14379   USE_LOCAL_INIPARSER_FALSE=
14380 fi
14381
14382
14383
14384 # Check whether --with-module-dir was given.
14385 if test "${with_module_dir+set}" = set; then :
14386   withval=$with_module_dir; moduledir=${withval}
14387 else
14388   moduledir="${libdir}/buxton"
14389 fi
14390
14391 MODULEDIR="${moduledir}"
14392
14393
14394
14395 # Check whether --with-config-path was given.
14396 if test "${with_config_path+set}" = set; then :
14397   withval=$with_config_path; confpath=${withval}
14398 else
14399   confpath="${sysconfdir}/buxton.conf"
14400 fi
14401
14402 CONFPATH="${confpath}"
14403
14404
14405
14406 # Check whether --with-db-path was given.
14407 if test "${with_db_path+set}" = set; then :
14408   withval=$with_db_path; dbpath=${withval}
14409 else
14410   dbpath="${localstatedir}/lib/buxton"
14411 fi
14412
14413 DB_PATH="${dbpath}"
14414
14415
14416
14417 # Check whether --with-socket-path was given.
14418 if test "${with_socket_path+set}" = set; then :
14419   withval=$with_socket_path; socketpath=${withval}
14420 else
14421   socketpath="/run/buxton-0"
14422 fi
14423
14424 BUXTON_SOCKET="${socketpath}"
14425
14426
14427
14428 # Check whether --with-smack-load-file was given.
14429 if test "${with_smack_load_file+set}" = set; then :
14430   withval=$with_smack_load_file; smack_load_file=${withval}
14431 else
14432   smack_load_file="/sys/fs/smackfs/load2"
14433 fi
14434
14435 SMACK_LOAD_FILE="${smack_load_file}"
14436
14437
14438
14439 # Check whether --with-smack-permissive was given.
14440 if test "${with_smack_permissive+set}" = set; then :
14441   withval=$with_smack_permissive; smack_permissive=${withval}
14442 else
14443   smack_permissive="/sys/fs/smackfs/permissive"
14444 fi
14445
14446 SMACK_PERMISSIVE="${smack_permissive}"
14447
14448
14449 # Check whether --enable-debug was given.
14450 if test "${enable_debug+set}" = set; then :
14451   enableval=$enable_debug;
14452 else
14453   enable_debug=no
14454 fi
14455
14456 if test "x$enable_debug" = "xyes"; then :
14457
14458 $as_echo "#define DEBUG 1" >>confdefs.h
14459
14460 else
14461
14462 $as_echo "#define NDEBUG 1" >>confdefs.h
14463
14464 fi
14465  if test x$enable_debug = x"yes"; then
14466   DEBUG_TRUE=
14467   DEBUG_FALSE='#'
14468 else
14469   DEBUG_TRUE='#'
14470   DEBUG_FALSE=
14471 fi
14472
14473
14474 # Check whether --enable-manpages was given.
14475 if test "${enable_manpages+set}" = set; then :
14476   enableval=$enable_manpages;
14477 else
14478   enable_manpages=yes
14479 fi
14480
14481 if test "x$enable_manpages" = "xyes"; then :
14482
14483 $as_echo "#define MANPAGE 1" >>confdefs.h
14484
14485 else
14486
14487 $as_echo "#define NMANPAGE 1" >>confdefs.h
14488
14489 fi
14490  if test x$enable_manpages = x"yes"; then
14491   MANPAGE_TRUE=
14492   MANPAGE_FALSE='#'
14493 else
14494   MANPAGE_TRUE='#'
14495   MANPAGE_FALSE=
14496 fi
14497
14498
14499 have_coverage=no
14500 # Check whether --enable-coverage was given.
14501 if test "${enable_coverage+set}" = set; then :
14502   enableval=$enable_coverage;
14503 fi
14504
14505 if test "x$enable_coverage" = "xyes" ; then
14506         # Extract the first word of "lcov", so it can be a program name with args.
14507 set dummy lcov; ac_word=$2
14508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14509 $as_echo_n "checking for $ac_word... " >&6; }
14510 if ${ac_cv_prog_lcov_found+:} false; then :
14511   $as_echo_n "(cached) " >&6
14512 else
14513   if test -n "$lcov_found"; then
14514   ac_cv_prog_lcov_found="$lcov_found" # Let the user override the test.
14515 else
14516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14517 for as_dir in $PATH
14518 do
14519   IFS=$as_save_IFS
14520   test -z "$as_dir" && as_dir=.
14521     for ac_exec_ext in '' $ac_executable_extensions; do
14522   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14523     ac_cv_prog_lcov_found="yes"
14524     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14525     break 2
14526   fi
14527 done
14528   done
14529 IFS=$as_save_IFS
14530
14531   test -z "$ac_cv_prog_lcov_found" && ac_cv_prog_lcov_found="no"
14532 fi
14533 fi
14534 lcov_found=$ac_cv_prog_lcov_found
14535 if test -n "$lcov_found"; then
14536   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lcov_found" >&5
14537 $as_echo "$lcov_found" >&6; }
14538 else
14539   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14540 $as_echo "no" >&6; }
14541 fi
14542
14543
14544         if test "x$lcov_found" = xno ; then
14545                 as_fn_error $? "*** lcov support requested but the program was not found" "$LINENO" 5
14546         else
14547                 lcov_version_major="`lcov --version | cut -d ' ' -f 4 | cut -d '.' -f 1`"
14548                 lcov_version_minor="`lcov --version | cut -d ' ' -f 4 | cut -d '.' -f 2`"
14549                 if test "$lcov_version_major" -eq 1 -a "$lcov_version_minor" -lt 10; then
14550                         as_fn_error $? "*** lcov version is too old. 1.10 required" "$LINENO" 5
14551                 else
14552                         have_coverage=yes
14553
14554 $as_echo "#define COVERAGE 1" >>confdefs.h
14555
14556                 fi
14557         fi
14558 fi
14559  if test "$have_coverage" = "yes"; then
14560   COVERAGE_TRUE=
14561   COVERAGE_FALSE='#'
14562 else
14563   COVERAGE_TRUE='#'
14564   COVERAGE_FALSE=
14565 fi
14566
14567
14568 # Check whether --enable-demos was given.
14569 if test "${enable_demos+set}" = set; then :
14570   enableval=$enable_demos;
14571 else
14572   enable_demos=no
14573 fi
14574
14575 if test "x$enable_demos" = "xyes"; then :
14576
14577 $as_echo "#define DEMOS 1" >>confdefs.h
14578
14579 fi
14580  if test x$enable_demos = x"yes"; then
14581   BUILD_DEMOS_TRUE=
14582   BUILD_DEMOS_FALSE='#'
14583 else
14584   BUILD_DEMOS_TRUE='#'
14585   BUILD_DEMOS_FALSE=
14586 fi
14587
14588
14589 # GTK3 demo
14590 # Check whether --enable-gtk-demo was given.
14591 if test "${enable_gtk_demo+set}" = set; then :
14592   enableval=$enable_gtk_demo;
14593 else
14594   enable_gtk_demo=no
14595 fi
14596
14597 if test "x$enable_gtk_demo" = "xyes"; then :
14598
14599 $as_echo "#define DEMOS 1" >>confdefs.h
14600
14601 fi
14602  if test x$enable_gtk_demo = x"yes"; then
14603   BUILD_GTK_DEMO_TRUE=
14604   BUILD_GTK_DEMO_FALSE='#'
14605 else
14606   BUILD_GTK_DEMO_TRUE='#'
14607   BUILD_GTK_DEMO_FALSE=
14608 fi
14609
14610
14611 if test "x$enable_gtk_demo" = "xyes"; then
14612         # Require GTK3 for client demonstration
14613
14614 pkg_failed=no
14615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK3" >&5
14616 $as_echo_n "checking for GTK3... " >&6; }
14617
14618 if test -n "$GTK3_CFLAGS"; then
14619     pkg_cv_GTK3_CFLAGS="$GTK3_CFLAGS"
14620  elif test -n "$PKG_CONFIG"; then
14621     if test -n "$PKG_CONFIG" && \
14622     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= 3.10\""; } >&5
14623   ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= 3.10") 2>&5
14624   ac_status=$?
14625   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14626   test $ac_status = 0; }; then
14627   pkg_cv_GTK3_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0 >= 3.10" 2>/dev/null`
14628                       test "x$?" != "x0" && pkg_failed=yes
14629 else
14630   pkg_failed=yes
14631 fi
14632  else
14633     pkg_failed=untried
14634 fi
14635 if test -n "$GTK3_LIBS"; then
14636     pkg_cv_GTK3_LIBS="$GTK3_LIBS"
14637  elif test -n "$PKG_CONFIG"; then
14638     if test -n "$PKG_CONFIG" && \
14639     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= 3.10\""; } >&5
14640   ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= 3.10") 2>&5
14641   ac_status=$?
14642   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14643   test $ac_status = 0; }; then
14644   pkg_cv_GTK3_LIBS=`$PKG_CONFIG --libs "gtk+-3.0 >= 3.10" 2>/dev/null`
14645                       test "x$?" != "x0" && pkg_failed=yes
14646 else
14647   pkg_failed=yes
14648 fi
14649  else
14650     pkg_failed=untried
14651 fi
14652
14653
14654
14655 if test $pkg_failed = yes; then
14656         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14657 $as_echo "no" >&6; }
14658
14659 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14660         _pkg_short_errors_supported=yes
14661 else
14662         _pkg_short_errors_supported=no
14663 fi
14664         if test $_pkg_short_errors_supported = yes; then
14665                 GTK3_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-3.0 >= 3.10" 2>&1`
14666         else
14667                 GTK3_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-3.0 >= 3.10" 2>&1`
14668         fi
14669         # Put the nasty error message in config.log where it belongs
14670         echo "$GTK3_PKG_ERRORS" >&5
14671
14672         as_fn_error $? "Package requirements (gtk+-3.0 >= 3.10) were not met:
14673
14674 $GTK3_PKG_ERRORS
14675
14676 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14677 installed software in a non-standard prefix.
14678
14679 Alternatively, you may set the environment variables GTK3_CFLAGS
14680 and GTK3_LIBS to avoid the need to call pkg-config.
14681 See the pkg-config man page for more details." "$LINENO" 5
14682 elif test $pkg_failed = untried; then
14683         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14684 $as_echo "no" >&6; }
14685         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14686 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14687 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
14688 is in your PATH or set the PKG_CONFIG environment variable to the full
14689 path to pkg-config.
14690
14691 Alternatively, you may set the environment variables GTK3_CFLAGS
14692 and GTK3_LIBS to avoid the need to call pkg-config.
14693 See the pkg-config man page for more details.
14694
14695 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14696 See \`config.log' for more details" "$LINENO" 5; }
14697 else
14698         GTK3_CFLAGS=$pkg_cv_GTK3_CFLAGS
14699         GTK3_LIBS=$pkg_cv_GTK3_LIBS
14700         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14701 $as_echo "yes" >&6; }
14702
14703 fi
14704 fi
14705
14706 ac_config_commands="$ac_config_commands mkdir"
14707
14708 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"
14709
14710 cat >confcache <<\_ACEOF
14711 # This file is a shell script that caches the results of configure
14712 # tests run on this system so they can be shared between configure
14713 # scripts and configure runs, see configure's option --config-cache.
14714 # It is not useful on other systems.  If it contains results you don't
14715 # want to keep, you may remove or edit it.
14716 #
14717 # config.status only pays attention to the cache file if you give it
14718 # the --recheck option to rerun configure.
14719 #
14720 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14721 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14722 # following values.
14723
14724 _ACEOF
14725
14726 # The following way of writing the cache mishandles newlines in values,
14727 # but we know of no workaround that is simple, portable, and efficient.
14728 # So, we kill variables containing newlines.
14729 # Ultrix sh set writes to stderr and can't be redirected directly,
14730 # and sets the high bit in the cache file unless we assign to the vars.
14731 (
14732   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14733     eval ac_val=\$$ac_var
14734     case $ac_val in #(
14735     *${as_nl}*)
14736       case $ac_var in #(
14737       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14738 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14739       esac
14740       case $ac_var in #(
14741       _ | IFS | as_nl) ;; #(
14742       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14743       *) { eval $ac_var=; unset $ac_var;} ;;
14744       esac ;;
14745     esac
14746   done
14747
14748   (set) 2>&1 |
14749     case $as_nl`(ac_space=' '; set) 2>&1` in #(
14750     *${as_nl}ac_space=\ *)
14751       # `set' does not quote correctly, so add quotes: double-quote
14752       # substitution turns \\\\ into \\, and sed turns \\ into \.
14753       sed -n \
14754         "s/'/'\\\\''/g;
14755           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14756       ;; #(
14757     *)
14758       # `set' quotes correctly as required by POSIX, so do not add quotes.
14759       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14760       ;;
14761     esac |
14762     sort
14763 ) |
14764   sed '
14765      /^ac_cv_env_/b end
14766      t clear
14767      :clear
14768      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14769      t end
14770      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14771      :end' >>confcache
14772 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14773   if test -w "$cache_file"; then
14774     if test "x$cache_file" != "x/dev/null"; then
14775       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14776 $as_echo "$as_me: updating cache $cache_file" >&6;}
14777       if test ! -f "$cache_file" || test -h "$cache_file"; then
14778         cat confcache >"$cache_file"
14779       else
14780         case $cache_file in #(
14781         */* | ?:*)
14782           mv -f confcache "$cache_file"$$ &&
14783           mv -f "$cache_file"$$ "$cache_file" ;; #(
14784         *)
14785           mv -f confcache "$cache_file" ;;
14786         esac
14787       fi
14788     fi
14789   else
14790     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14791 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14792   fi
14793 fi
14794 rm -f confcache
14795
14796 test "x$prefix" = xNONE && prefix=$ac_default_prefix
14797 # Let make expand exec_prefix.
14798 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14799
14800 DEFS=-DHAVE_CONFIG_H
14801
14802 ac_libobjs=
14803 ac_ltlibobjs=
14804 U=
14805 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14806   # 1. Remove the extension, and $U if already installed.
14807   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14808   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14809   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
14810   #    will be set to the directory where LIBOBJS objects are built.
14811   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14812   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14813 done
14814 LIBOBJS=$ac_libobjs
14815
14816 LTLIBOBJS=$ac_ltlibobjs
14817
14818
14819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
14820 $as_echo_n "checking that generated files are newer than configure... " >&6; }
14821    if test -n "$am_sleep_pid"; then
14822      # Hide warnings about reused PIDs.
14823      wait $am_sleep_pid 2>/dev/null
14824    fi
14825    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
14826 $as_echo "done" >&6; }
14827  if test -n "$EXEEXT"; then
14828   am__EXEEXT_TRUE=
14829   am__EXEEXT_FALSE='#'
14830 else
14831   am__EXEEXT_TRUE='#'
14832   am__EXEEXT_FALSE=
14833 fi
14834
14835 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14836   as_fn_error $? "conditional \"AMDEP\" was never defined.
14837 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14838 fi
14839 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14840   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14841 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14842 fi
14843 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14844   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14845 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14846 fi
14847 if test -z "${SYSTEMD_TRUE}" && test -z "${SYSTEMD_FALSE}"; then
14848   as_fn_error $? "conditional \"SYSTEMD\" was never defined.
14849 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14850 fi
14851 if test -z "${USE_LOCAL_INIPARSER_TRUE}" && test -z "${USE_LOCAL_INIPARSER_FALSE}"; then
14852   as_fn_error $? "conditional \"USE_LOCAL_INIPARSER\" was never defined.
14853 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14854 fi
14855 if test -z "${DEBUG_TRUE}" && test -z "${DEBUG_FALSE}"; then
14856   as_fn_error $? "conditional \"DEBUG\" was never defined.
14857 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14858 fi
14859 if test -z "${MANPAGE_TRUE}" && test -z "${MANPAGE_FALSE}"; then
14860   as_fn_error $? "conditional \"MANPAGE\" was never defined.
14861 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14862 fi
14863 if test -z "${COVERAGE_TRUE}" && test -z "${COVERAGE_FALSE}"; then
14864   as_fn_error $? "conditional \"COVERAGE\" was never defined.
14865 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14866 fi
14867 if test -z "${BUILD_DEMOS_TRUE}" && test -z "${BUILD_DEMOS_FALSE}"; then
14868   as_fn_error $? "conditional \"BUILD_DEMOS\" was never defined.
14869 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14870 fi
14871 if test -z "${BUILD_GTK_DEMO_TRUE}" && test -z "${BUILD_GTK_DEMO_FALSE}"; then
14872   as_fn_error $? "conditional \"BUILD_GTK_DEMO\" was never defined.
14873 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14874 fi
14875
14876 : "${CONFIG_STATUS=./config.status}"
14877 ac_write_fail=0
14878 ac_clean_files_save=$ac_clean_files
14879 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14880 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14881 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14882 as_write_fail=0
14883 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14884 #! $SHELL
14885 # Generated by $as_me.
14886 # Run this file to recreate the current configuration.
14887 # Compiler output produced by configure, useful for debugging
14888 # configure, is in config.log if it exists.
14889
14890 debug=false
14891 ac_cs_recheck=false
14892 ac_cs_silent=false
14893
14894 SHELL=\${CONFIG_SHELL-$SHELL}
14895 export SHELL
14896 _ASEOF
14897 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14898 ## -------------------- ##
14899 ## M4sh Initialization. ##
14900 ## -------------------- ##
14901
14902 # Be more Bourne compatible
14903 DUALCASE=1; export DUALCASE # for MKS sh
14904 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14905   emulate sh
14906   NULLCMD=:
14907   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14908   # is contrary to our usage.  Disable this feature.
14909   alias -g '${1+"$@"}'='"$@"'
14910   setopt NO_GLOB_SUBST
14911 else
14912   case `(set -o) 2>/dev/null` in #(
14913   *posix*) :
14914     set -o posix ;; #(
14915   *) :
14916      ;;
14917 esac
14918 fi
14919
14920
14921 as_nl='
14922 '
14923 export as_nl
14924 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14925 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14926 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14927 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14928 # Prefer a ksh shell builtin over an external printf program on Solaris,
14929 # but without wasting forks for bash or zsh.
14930 if test -z "$BASH_VERSION$ZSH_VERSION" \
14931     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14932   as_echo='print -r --'
14933   as_echo_n='print -rn --'
14934 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14935   as_echo='printf %s\n'
14936   as_echo_n='printf %s'
14937 else
14938   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14939     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
14940     as_echo_n='/usr/ucb/echo -n'
14941   else
14942     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14943     as_echo_n_body='eval
14944       arg=$1;
14945       case $arg in #(
14946       *"$as_nl"*)
14947         expr "X$arg" : "X\\(.*\\)$as_nl";
14948         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14949       esac;
14950       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14951     '
14952     export as_echo_n_body
14953     as_echo_n='sh -c $as_echo_n_body as_echo'
14954   fi
14955   export as_echo_body
14956   as_echo='sh -c $as_echo_body as_echo'
14957 fi
14958
14959 # The user is always right.
14960 if test "${PATH_SEPARATOR+set}" != set; then
14961   PATH_SEPARATOR=:
14962   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14963     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14964       PATH_SEPARATOR=';'
14965   }
14966 fi
14967
14968
14969 # IFS
14970 # We need space, tab and new line, in precisely that order.  Quoting is
14971 # there to prevent editors from complaining about space-tab.
14972 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14973 # splitting by setting IFS to empty value.)
14974 IFS=" ""        $as_nl"
14975
14976 # Find who we are.  Look in the path if we contain no directory separator.
14977 as_myself=
14978 case $0 in #((
14979   *[\\/]* ) as_myself=$0 ;;
14980   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14981 for as_dir in $PATH
14982 do
14983   IFS=$as_save_IFS
14984   test -z "$as_dir" && as_dir=.
14985     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14986   done
14987 IFS=$as_save_IFS
14988
14989      ;;
14990 esac
14991 # We did not find ourselves, most probably we were run as `sh COMMAND'
14992 # in which case we are not to be found in the path.
14993 if test "x$as_myself" = x; then
14994   as_myself=$0
14995 fi
14996 if test ! -f "$as_myself"; then
14997   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14998   exit 1
14999 fi
15000
15001 # Unset variables that we do not need and which cause bugs (e.g. in
15002 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
15003 # suppresses any "Segmentation fault" message there.  '((' could
15004 # trigger a bug in pdksh 5.2.14.
15005 for as_var in BASH_ENV ENV MAIL MAILPATH
15006 do eval test x\${$as_var+set} = xset \
15007   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15008 done
15009 PS1='$ '
15010 PS2='> '
15011 PS4='+ '
15012
15013 # NLS nuisances.
15014 LC_ALL=C
15015 export LC_ALL
15016 LANGUAGE=C
15017 export LANGUAGE
15018
15019 # CDPATH.
15020 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15021
15022
15023 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15024 # ----------------------------------------
15025 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15026 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15027 # script with STATUS, using 1 if that was 0.
15028 as_fn_error ()
15029 {
15030   as_status=$1; test $as_status -eq 0 && as_status=1
15031   if test "$4"; then
15032     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15033     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15034   fi
15035   $as_echo "$as_me: error: $2" >&2
15036   as_fn_exit $as_status
15037 } # as_fn_error
15038
15039
15040 # as_fn_set_status STATUS
15041 # -----------------------
15042 # Set $? to STATUS, without forking.
15043 as_fn_set_status ()
15044 {
15045   return $1
15046 } # as_fn_set_status
15047
15048 # as_fn_exit STATUS
15049 # -----------------
15050 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15051 as_fn_exit ()
15052 {
15053   set +e
15054   as_fn_set_status $1
15055   exit $1
15056 } # as_fn_exit
15057
15058 # as_fn_unset VAR
15059 # ---------------
15060 # Portably unset VAR.
15061 as_fn_unset ()
15062 {
15063   { eval $1=; unset $1;}
15064 }
15065 as_unset=as_fn_unset
15066 # as_fn_append VAR VALUE
15067 # ----------------------
15068 # Append the text in VALUE to the end of the definition contained in VAR. Take
15069 # advantage of any shell optimizations that allow amortized linear growth over
15070 # repeated appends, instead of the typical quadratic growth present in naive
15071 # implementations.
15072 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15073   eval 'as_fn_append ()
15074   {
15075     eval $1+=\$2
15076   }'
15077 else
15078   as_fn_append ()
15079   {
15080     eval $1=\$$1\$2
15081   }
15082 fi # as_fn_append
15083
15084 # as_fn_arith ARG...
15085 # ------------------
15086 # Perform arithmetic evaluation on the ARGs, and store the result in the
15087 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15088 # must be portable across $(()) and expr.
15089 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15090   eval 'as_fn_arith ()
15091   {
15092     as_val=$(( $* ))
15093   }'
15094 else
15095   as_fn_arith ()
15096   {
15097     as_val=`expr "$@" || test $? -eq 1`
15098   }
15099 fi # as_fn_arith
15100
15101
15102 if expr a : '\(a\)' >/dev/null 2>&1 &&
15103    test "X`expr 00001 : '.*\(...\)'`" = X001; then
15104   as_expr=expr
15105 else
15106   as_expr=false
15107 fi
15108
15109 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15110   as_basename=basename
15111 else
15112   as_basename=false
15113 fi
15114
15115 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15116   as_dirname=dirname
15117 else
15118   as_dirname=false
15119 fi
15120
15121 as_me=`$as_basename -- "$0" ||
15122 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15123          X"$0" : 'X\(//\)$' \| \
15124          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15125 $as_echo X/"$0" |
15126     sed '/^.*\/\([^/][^/]*\)\/*$/{
15127             s//\1/
15128             q
15129           }
15130           /^X\/\(\/\/\)$/{
15131             s//\1/
15132             q
15133           }
15134           /^X\/\(\/\).*/{
15135             s//\1/
15136             q
15137           }
15138           s/.*/./; q'`
15139
15140 # Avoid depending upon Character Ranges.
15141 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15142 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15143 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15144 as_cr_digits='0123456789'
15145 as_cr_alnum=$as_cr_Letters$as_cr_digits
15146
15147 ECHO_C= ECHO_N= ECHO_T=
15148 case `echo -n x` in #(((((
15149 -n*)
15150   case `echo 'xy\c'` in
15151   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
15152   xy)  ECHO_C='\c';;
15153   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
15154        ECHO_T=' ';;
15155   esac;;
15156 *)
15157   ECHO_N='-n';;
15158 esac
15159
15160 rm -f conf$$ conf$$.exe conf$$.file
15161 if test -d conf$$.dir; then
15162   rm -f conf$$.dir/conf$$.file
15163 else
15164   rm -f conf$$.dir
15165   mkdir conf$$.dir 2>/dev/null
15166 fi
15167 if (echo >conf$$.file) 2>/dev/null; then
15168   if ln -s conf$$.file conf$$ 2>/dev/null; then
15169     as_ln_s='ln -s'
15170     # ... but there are two gotchas:
15171     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15172     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15173     # In both cases, we have to default to `cp -pR'.
15174     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15175       as_ln_s='cp -pR'
15176   elif ln conf$$.file conf$$ 2>/dev/null; then
15177     as_ln_s=ln
15178   else
15179     as_ln_s='cp -pR'
15180   fi
15181 else
15182   as_ln_s='cp -pR'
15183 fi
15184 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15185 rmdir conf$$.dir 2>/dev/null
15186
15187
15188 # as_fn_mkdir_p
15189 # -------------
15190 # Create "$as_dir" as a directory, including parents if necessary.
15191 as_fn_mkdir_p ()
15192 {
15193
15194   case $as_dir in #(
15195   -*) as_dir=./$as_dir;;
15196   esac
15197   test -d "$as_dir" || eval $as_mkdir_p || {
15198     as_dirs=
15199     while :; do
15200       case $as_dir in #(
15201       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15202       *) as_qdir=$as_dir;;
15203       esac
15204       as_dirs="'$as_qdir' $as_dirs"
15205       as_dir=`$as_dirname -- "$as_dir" ||
15206 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15207          X"$as_dir" : 'X\(//\)[^/]' \| \
15208          X"$as_dir" : 'X\(//\)$' \| \
15209          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15210 $as_echo X"$as_dir" |
15211     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15212             s//\1/
15213             q
15214           }
15215           /^X\(\/\/\)[^/].*/{
15216             s//\1/
15217             q
15218           }
15219           /^X\(\/\/\)$/{
15220             s//\1/
15221             q
15222           }
15223           /^X\(\/\).*/{
15224             s//\1/
15225             q
15226           }
15227           s/.*/./; q'`
15228       test -d "$as_dir" && break
15229     done
15230     test -z "$as_dirs" || eval "mkdir $as_dirs"
15231   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15232
15233
15234 } # as_fn_mkdir_p
15235 if mkdir -p . 2>/dev/null; then
15236   as_mkdir_p='mkdir -p "$as_dir"'
15237 else
15238   test -d ./-p && rmdir ./-p
15239   as_mkdir_p=false
15240 fi
15241
15242
15243 # as_fn_executable_p FILE
15244 # -----------------------
15245 # Test if FILE is an executable regular file.
15246 as_fn_executable_p ()
15247 {
15248   test -f "$1" && test -x "$1"
15249 } # as_fn_executable_p
15250 as_test_x='test -x'
15251 as_executable_p=as_fn_executable_p
15252
15253 # Sed expression to map a string onto a valid CPP name.
15254 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15255
15256 # Sed expression to map a string onto a valid variable name.
15257 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15258
15259
15260 exec 6>&1
15261 ## ----------------------------------- ##
15262 ## Main body of $CONFIG_STATUS script. ##
15263 ## ----------------------------------- ##
15264 _ASEOF
15265 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15266
15267 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15268 # Save the log message, to keep $0 and so on meaningful, and to
15269 # report actual input values of CONFIG_FILES etc. instead of their
15270 # values after options handling.
15271 ac_log="
15272 This file was extended by buxton $as_me 5, which was
15273 generated by GNU Autoconf 2.69.  Invocation command line was
15274
15275   CONFIG_FILES    = $CONFIG_FILES
15276   CONFIG_HEADERS  = $CONFIG_HEADERS
15277   CONFIG_LINKS    = $CONFIG_LINKS
15278   CONFIG_COMMANDS = $CONFIG_COMMANDS
15279   $ $0 $@
15280
15281 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15282 "
15283
15284 _ACEOF
15285
15286 case $ac_config_files in *"
15287 "*) set x $ac_config_files; shift; ac_config_files=$*;;
15288 esac
15289
15290 case $ac_config_headers in *"
15291 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15292 esac
15293
15294
15295 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15296 # Files that config.status was made for.
15297 config_files="$ac_config_files"
15298 config_headers="$ac_config_headers"
15299 config_commands="$ac_config_commands"
15300
15301 _ACEOF
15302
15303 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15304 ac_cs_usage="\
15305 \`$as_me' instantiates files and other configuration actions
15306 from templates according to the current configuration.  Unless the files
15307 and actions are specified as TAGs, all are instantiated by default.
15308
15309 Usage: $0 [OPTION]... [TAG]...
15310
15311   -h, --help       print this help, then exit
15312   -V, --version    print version number and configuration settings, then exit
15313       --config     print configuration, then exit
15314   -q, --quiet, --silent
15315                    do not print progress messages
15316   -d, --debug      don't remove temporary files
15317       --recheck    update $as_me by reconfiguring in the same conditions
15318       --file=FILE[:TEMPLATE]
15319                    instantiate the configuration file FILE
15320       --header=FILE[:TEMPLATE]
15321                    instantiate the configuration header FILE
15322
15323 Configuration files:
15324 $config_files
15325
15326 Configuration headers:
15327 $config_headers
15328
15329 Configuration commands:
15330 $config_commands
15331
15332 Report bugs to <william.douglas@intel.com>.
15333 buxton home page: <https://github.com/sofar/buxton>."
15334
15335 _ACEOF
15336 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15337 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15338 ac_cs_version="\\
15339 buxton config.status 5
15340 configured by $0, generated by GNU Autoconf 2.69,
15341   with options \\"\$ac_cs_config\\"
15342
15343 Copyright (C) 2012 Free Software Foundation, Inc.
15344 This config.status script is free software; the Free Software Foundation
15345 gives unlimited permission to copy, distribute and modify it."
15346
15347 ac_pwd='$ac_pwd'
15348 srcdir='$srcdir'
15349 INSTALL='$INSTALL'
15350 MKDIR_P='$MKDIR_P'
15351 AWK='$AWK'
15352 test -n "\$AWK" || AWK=awk
15353 _ACEOF
15354
15355 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15356 # The default lists apply if the user does not specify any file.
15357 ac_need_defaults=:
15358 while test $# != 0
15359 do
15360   case $1 in
15361   --*=?*)
15362     ac_option=`expr "X$1" : 'X\([^=]*\)='`
15363     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15364     ac_shift=:
15365     ;;
15366   --*=)
15367     ac_option=`expr "X$1" : 'X\([^=]*\)='`
15368     ac_optarg=
15369     ac_shift=:
15370     ;;
15371   *)
15372     ac_option=$1
15373     ac_optarg=$2
15374     ac_shift=shift
15375     ;;
15376   esac
15377
15378   case $ac_option in
15379   # Handling of the options.
15380   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15381     ac_cs_recheck=: ;;
15382   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15383     $as_echo "$ac_cs_version"; exit ;;
15384   --config | --confi | --conf | --con | --co | --c )
15385     $as_echo "$ac_cs_config"; exit ;;
15386   --debug | --debu | --deb | --de | --d | -d )
15387     debug=: ;;
15388   --file | --fil | --fi | --f )
15389     $ac_shift
15390     case $ac_optarg in
15391     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15392     '') as_fn_error $? "missing file argument" ;;
15393     esac
15394     as_fn_append CONFIG_FILES " '$ac_optarg'"
15395     ac_need_defaults=false;;
15396   --header | --heade | --head | --hea )
15397     $ac_shift
15398     case $ac_optarg in
15399     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15400     esac
15401     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15402     ac_need_defaults=false;;
15403   --he | --h)
15404     # Conflict between --help and --header
15405     as_fn_error $? "ambiguous option: \`$1'
15406 Try \`$0 --help' for more information.";;
15407   --help | --hel | -h )
15408     $as_echo "$ac_cs_usage"; exit ;;
15409   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15410   | -silent | --silent | --silen | --sile | --sil | --si | --s)
15411     ac_cs_silent=: ;;
15412
15413   # This is an error.
15414   -*) as_fn_error $? "unrecognized option: \`$1'
15415 Try \`$0 --help' for more information." ;;
15416
15417   *) as_fn_append ac_config_targets " $1"
15418      ac_need_defaults=false ;;
15419
15420   esac
15421   shift
15422 done
15423
15424 ac_configure_extra_args=
15425
15426 if $ac_cs_silent; then
15427   exec 6>/dev/null
15428   ac_configure_extra_args="$ac_configure_extra_args --silent"
15429 fi
15430
15431 _ACEOF
15432 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15433 if \$ac_cs_recheck; then
15434   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15435   shift
15436   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15437   CONFIG_SHELL='$SHELL'
15438   export CONFIG_SHELL
15439   exec "\$@"
15440 fi
15441
15442 _ACEOF
15443 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15444 exec 5>>config.log
15445 {
15446   echo
15447   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15448 ## Running $as_me. ##
15449 _ASBOX
15450   $as_echo "$ac_log"
15451 } >&5
15452
15453 _ACEOF
15454 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15455 #
15456 # INIT-COMMANDS
15457 #
15458 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15459
15460
15461 # The HP-UX ksh and POSIX shell print the target directory to stdout
15462 # if CDPATH is set.
15463 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15464
15465 sed_quote_subst='$sed_quote_subst'
15466 double_quote_subst='$double_quote_subst'
15467 delay_variable_subst='$delay_variable_subst'
15468 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15469 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15470 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15471 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15472 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15473 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15474 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15475 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15476 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15477 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15478 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15479 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15480 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15481 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15482 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15483 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15484 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15485 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15486 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15487 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15488 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15489 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15490 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15491 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15492 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15493 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15494 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15495 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15496 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15497 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15498 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15499 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15500 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15501 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15502 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15503 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15504 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15505 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15506 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15507 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15508 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15509 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15510 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15511 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15512 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15513 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15514 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15515 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15516 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15517 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15518 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15519 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15520 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15521 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15522 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15523 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15524 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"`'
15525 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15526 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15527 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15528 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15529 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15530 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15531 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15532 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15533 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15534 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15535 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15536 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15537 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15538 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15539 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15540 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15541 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15542 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15543 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15544 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15545 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15546 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15547 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15548 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15549 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15550 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15551 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15552 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15553 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15554 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15555 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15556 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15557 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15558 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15559 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15560 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15561 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15562 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15563 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15564 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15565 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15566 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15567 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15568 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15569 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15570 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15571 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15572 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15573 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15574 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15575 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15576 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15577 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15578 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15579 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15580 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15581 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15582 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15583 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15584 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15585 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15586 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15587 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15588 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15589 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15590 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15591 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15592 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15593 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15594 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15595 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15596 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15597 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15598
15599 LTCC='$LTCC'
15600 LTCFLAGS='$LTCFLAGS'
15601 compiler='$compiler_DEFAULT'
15602
15603 # A function that is used when there is no print builtin or printf.
15604 func_fallback_echo ()
15605 {
15606   eval 'cat <<_LTECHO_EOF
15607 \$1
15608 _LTECHO_EOF'
15609 }
15610
15611 # Quote evaled strings.
15612 for var in SHELL \
15613 ECHO \
15614 PATH_SEPARATOR \
15615 SED \
15616 GREP \
15617 EGREP \
15618 FGREP \
15619 LD \
15620 NM \
15621 LN_S \
15622 lt_SP2NL \
15623 lt_NL2SP \
15624 reload_flag \
15625 OBJDUMP \
15626 deplibs_check_method \
15627 file_magic_cmd \
15628 file_magic_glob \
15629 want_nocaseglob \
15630 DLLTOOL \
15631 sharedlib_from_linklib_cmd \
15632 AR \
15633 AR_FLAGS \
15634 archiver_list_spec \
15635 STRIP \
15636 RANLIB \
15637 CC \
15638 CFLAGS \
15639 compiler \
15640 lt_cv_sys_global_symbol_pipe \
15641 lt_cv_sys_global_symbol_to_cdecl \
15642 lt_cv_sys_global_symbol_to_c_name_address \
15643 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15644 nm_file_list_spec \
15645 lt_prog_compiler_no_builtin_flag \
15646 lt_prog_compiler_pic \
15647 lt_prog_compiler_wl \
15648 lt_prog_compiler_static \
15649 lt_cv_prog_compiler_c_o \
15650 need_locks \
15651 MANIFEST_TOOL \
15652 DSYMUTIL \
15653 NMEDIT \
15654 LIPO \
15655 OTOOL \
15656 OTOOL64 \
15657 shrext_cmds \
15658 export_dynamic_flag_spec \
15659 whole_archive_flag_spec \
15660 compiler_needs_object \
15661 with_gnu_ld \
15662 allow_undefined_flag \
15663 no_undefined_flag \
15664 hardcode_libdir_flag_spec \
15665 hardcode_libdir_separator \
15666 exclude_expsyms \
15667 include_expsyms \
15668 file_list_spec \
15669 variables_saved_for_relink \
15670 libname_spec \
15671 library_names_spec \
15672 soname_spec \
15673 install_override_mode \
15674 finish_eval \
15675 old_striplib \
15676 striplib; do
15677     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15678     *[\\\\\\\`\\"\\\$]*)
15679       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15680       ;;
15681     *)
15682       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15683       ;;
15684     esac
15685 done
15686
15687 # Double-quote double-evaled strings.
15688 for var in reload_cmds \
15689 old_postinstall_cmds \
15690 old_postuninstall_cmds \
15691 old_archive_cmds \
15692 extract_expsyms_cmds \
15693 old_archive_from_new_cmds \
15694 old_archive_from_expsyms_cmds \
15695 archive_cmds \
15696 archive_expsym_cmds \
15697 module_cmds \
15698 module_expsym_cmds \
15699 export_symbols_cmds \
15700 prelink_cmds \
15701 postlink_cmds \
15702 postinstall_cmds \
15703 postuninstall_cmds \
15704 finish_cmds \
15705 sys_lib_search_path_spec \
15706 sys_lib_dlsearch_path_spec; do
15707     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15708     *[\\\\\\\`\\"\\\$]*)
15709       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15710       ;;
15711     *)
15712       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15713       ;;
15714     esac
15715 done
15716
15717 ac_aux_dir='$ac_aux_dir'
15718 xsi_shell='$xsi_shell'
15719 lt_shell_append='$lt_shell_append'
15720
15721 # See if we are running on zsh, and set the options which allow our
15722 # commands through without removal of \ escapes INIT.
15723 if test -n "\${ZSH_VERSION+set}" ; then
15724    setopt NO_GLOB_SUBST
15725 fi
15726
15727
15728     PACKAGE='$PACKAGE'
15729     VERSION='$VERSION'
15730     TIMESTAMP='$TIMESTAMP'
15731     RM='$RM'
15732     ofile='$ofile'
15733
15734
15735
15736
15737 _ACEOF
15738
15739 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15740
15741 # Handling of arguments.
15742 for ac_config_target in $ac_config_targets
15743 do
15744   case $ac_config_target in
15745     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15746     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
15747     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15748     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15749     "mkdir") CONFIG_COMMANDS="$CONFIG_COMMANDS mkdir" ;;
15750     "data/buxton.service") CONFIG_FILES="$CONFIG_FILES data/buxton.service" ;;
15751     "data/buxton.socket") CONFIG_FILES="$CONFIG_FILES data/buxton.socket" ;;
15752     "data/buxton.pc") CONFIG_FILES="$CONFIG_FILES data/buxton.pc" ;;
15753     "data/buxtonsimple.pc") CONFIG_FILES="$CONFIG_FILES data/buxtonsimple.pc" ;;
15754     "test/test-pass.ini") CONFIG_FILES="$CONFIG_FILES test/test-pass.ini" ;;
15755     "test/test-fail.ini") CONFIG_FILES="$CONFIG_FILES test/test-fail.ini" ;;
15756     "test/test.conf") CONFIG_FILES="$CONFIG_FILES test/test.conf" ;;
15757
15758   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15759   esac
15760 done
15761
15762
15763 # If the user did not use the arguments to specify the items to instantiate,
15764 # then the envvar interface is used.  Set only those that are not.
15765 # We use the long form for the default assignment because of an extremely
15766 # bizarre bug on SunOS 4.1.3.
15767 if $ac_need_defaults; then
15768   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15769   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15770   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15771 fi
15772
15773 # Have a temporary directory for convenience.  Make it in the build tree
15774 # simply because there is no reason against having it here, and in addition,
15775 # creating and moving files from /tmp can sometimes cause problems.
15776 # Hook for its removal unless debugging.
15777 # Note that there is a small window in which the directory will not be cleaned:
15778 # after its creation but before its name has been assigned to `$tmp'.
15779 $debug ||
15780 {
15781   tmp= ac_tmp=
15782   trap 'exit_status=$?
15783   : "${ac_tmp:=$tmp}"
15784   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15785 ' 0
15786   trap 'as_fn_exit 1' 1 2 13 15
15787 }
15788 # Create a (secure) tmp directory for tmp files.
15789
15790 {
15791   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15792   test -d "$tmp"
15793 }  ||
15794 {
15795   tmp=./conf$$-$RANDOM
15796   (umask 077 && mkdir "$tmp")
15797 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15798 ac_tmp=$tmp
15799
15800 # Set up the scripts for CONFIG_FILES section.
15801 # No need to generate them if there are no CONFIG_FILES.
15802 # This happens for instance with `./config.status config.h'.
15803 if test -n "$CONFIG_FILES"; then
15804
15805
15806 ac_cr=`echo X | tr X '\015'`
15807 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15808 # But we know of no other shell where ac_cr would be empty at this
15809 # point, so we can use a bashism as a fallback.
15810 if test "x$ac_cr" = x; then
15811   eval ac_cr=\$\'\\r\'
15812 fi
15813 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15814 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15815   ac_cs_awk_cr='\\r'
15816 else
15817   ac_cs_awk_cr=$ac_cr
15818 fi
15819
15820 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15821 _ACEOF
15822
15823
15824 {
15825   echo "cat >conf$$subs.awk <<_ACEOF" &&
15826   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15827   echo "_ACEOF"
15828 } >conf$$subs.sh ||
15829   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15830 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15831 ac_delim='%!_!# '
15832 for ac_last_try in false false false false false :; do
15833   . ./conf$$subs.sh ||
15834     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15835
15836   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15837   if test $ac_delim_n = $ac_delim_num; then
15838     break
15839   elif $ac_last_try; then
15840     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15841   else
15842     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15843   fi
15844 done
15845 rm -f conf$$subs.sh
15846
15847 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15848 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15849 _ACEOF
15850 sed -n '
15851 h
15852 s/^/S["/; s/!.*/"]=/
15853 p
15854 g
15855 s/^[^!]*!//
15856 :repl
15857 t repl
15858 s/'"$ac_delim"'$//
15859 t delim
15860 :nl
15861 h
15862 s/\(.\{148\}\)..*/\1/
15863 t more1
15864 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15865 p
15866 n
15867 b repl
15868 :more1
15869 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15870 p
15871 g
15872 s/.\{148\}//
15873 t nl
15874 :delim
15875 h
15876 s/\(.\{148\}\)..*/\1/
15877 t more2
15878 s/["\\]/\\&/g; s/^/"/; s/$/"/
15879 p
15880 b
15881 :more2
15882 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15883 p
15884 g
15885 s/.\{148\}//
15886 t delim
15887 ' <conf$$subs.awk | sed '
15888 /^[^""]/{
15889   N
15890   s/\n//
15891 }
15892 ' >>$CONFIG_STATUS || ac_write_fail=1
15893 rm -f conf$$subs.awk
15894 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15895 _ACAWK
15896 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15897   for (key in S) S_is_set[key] = 1
15898   FS = "\a"
15899
15900 }
15901 {
15902   line = $ 0
15903   nfields = split(line, field, "@")
15904   substed = 0
15905   len = length(field[1])
15906   for (i = 2; i < nfields; i++) {
15907     key = field[i]
15908     keylen = length(key)
15909     if (S_is_set[key]) {
15910       value = S[key]
15911       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15912       len += length(value) + length(field[++i])
15913       substed = 1
15914     } else
15915       len += 1 + keylen
15916   }
15917
15918   print line
15919 }
15920
15921 _ACAWK
15922 _ACEOF
15923 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15924 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15925   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15926 else
15927   cat
15928 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15929   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15930 _ACEOF
15931
15932 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15933 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15934 # trailing colons and then remove the whole line if VPATH becomes empty
15935 # (actually we leave an empty line to preserve line numbers).
15936 if test "x$srcdir" = x.; then
15937   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
15938 h
15939 s///
15940 s/^/:/
15941 s/[      ]*$/:/
15942 s/:\$(srcdir):/:/g
15943 s/:\${srcdir}:/:/g
15944 s/:@srcdir@:/:/g
15945 s/^:*//
15946 s/:*$//
15947 x
15948 s/\(=[   ]*\).*/\1/
15949 G
15950 s/\n//
15951 s/^[^=]*=[       ]*$//
15952 }'
15953 fi
15954
15955 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15956 fi # test -n "$CONFIG_FILES"
15957
15958 # Set up the scripts for CONFIG_HEADERS section.
15959 # No need to generate them if there are no CONFIG_HEADERS.
15960 # This happens for instance with `./config.status Makefile'.
15961 if test -n "$CONFIG_HEADERS"; then
15962 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15963 BEGIN {
15964 _ACEOF
15965
15966 # Transform confdefs.h into an awk script `defines.awk', embedded as
15967 # here-document in config.status, that substitutes the proper values into
15968 # config.h.in to produce config.h.
15969
15970 # Create a delimiter string that does not exist in confdefs.h, to ease
15971 # handling of long lines.
15972 ac_delim='%!_!# '
15973 for ac_last_try in false false :; do
15974   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
15975   if test -z "$ac_tt"; then
15976     break
15977   elif $ac_last_try; then
15978     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15979   else
15980     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15981   fi
15982 done
15983
15984 # For the awk script, D is an array of macro values keyed by name,
15985 # likewise P contains macro parameters if any.  Preserve backslash
15986 # newline sequences.
15987
15988 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15989 sed -n '
15990 s/.\{148\}/&'"$ac_delim"'/g
15991 t rset
15992 :rset
15993 s/^[     ]*#[    ]*define[       ][      ]*/ /
15994 t def
15995 d
15996 :def
15997 s/\\$//
15998 t bsnl
15999 s/["\\]/\\&/g
16000 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
16001 D["\1"]=" \3"/p
16002 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
16003 d
16004 :bsnl
16005 s/["\\]/\\&/g
16006 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
16007 D["\1"]=" \3\\\\\\n"\\/p
16008 t cont
16009 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16010 t cont
16011 d
16012 :cont
16013 n
16014 s/.\{148\}/&'"$ac_delim"'/g
16015 t clear
16016 :clear
16017 s/\\$//
16018 t bsnlc
16019 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16020 d
16021 :bsnlc
16022 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16023 b cont
16024 ' <confdefs.h | sed '
16025 s/'"$ac_delim"'/"\\\
16026 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16027
16028 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16029   for (key in D) D_is_set[key] = 1
16030   FS = "\a"
16031 }
16032 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16033   line = \$ 0
16034   split(line, arg, " ")
16035   if (arg[1] == "#") {
16036     defundef = arg[2]
16037     mac1 = arg[3]
16038   } else {
16039     defundef = substr(arg[1], 2)
16040     mac1 = arg[2]
16041   }
16042   split(mac1, mac2, "(") #)
16043   macro = mac2[1]
16044   prefix = substr(line, 1, index(line, defundef) - 1)
16045   if (D_is_set[macro]) {
16046     # Preserve the white space surrounding the "#".
16047     print prefix "define", macro P[macro] D[macro]
16048     next
16049   } else {
16050     # Replace #undef with comments.  This is necessary, for example,
16051     # in the case of _POSIX_SOURCE, which is predefined and required
16052     # on some systems where configure will not decide to define it.
16053     if (defundef == "undef") {
16054       print "/*", prefix defundef, macro, "*/"
16055       next
16056     }
16057   }
16058 }
16059 { print }
16060 _ACAWK
16061 _ACEOF
16062 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16063   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16064 fi # test -n "$CONFIG_HEADERS"
16065
16066
16067 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
16068 shift
16069 for ac_tag
16070 do
16071   case $ac_tag in
16072   :[FHLC]) ac_mode=$ac_tag; continue;;
16073   esac
16074   case $ac_mode$ac_tag in
16075   :[FHL]*:*);;
16076   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16077   :[FH]-) ac_tag=-:-;;
16078   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16079   esac
16080   ac_save_IFS=$IFS
16081   IFS=:
16082   set x $ac_tag
16083   IFS=$ac_save_IFS
16084   shift
16085   ac_file=$1
16086   shift
16087
16088   case $ac_mode in
16089   :L) ac_source=$1;;
16090   :[FH])
16091     ac_file_inputs=
16092     for ac_f
16093     do
16094       case $ac_f in
16095       -) ac_f="$ac_tmp/stdin";;
16096       *) # Look for the file first in the build tree, then in the source tree
16097          # (if the path is not absolute).  The absolute path cannot be DOS-style,
16098          # because $ac_f cannot contain `:'.
16099          test -f "$ac_f" ||
16100            case $ac_f in
16101            [\\/$]*) false;;
16102            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16103            esac ||
16104            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16105       esac
16106       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16107       as_fn_append ac_file_inputs " '$ac_f'"
16108     done
16109
16110     # Let's still pretend it is `configure' which instantiates (i.e., don't
16111     # use $as_me), people would be surprised to read:
16112     #    /* config.h.  Generated by config.status.  */
16113     configure_input='Generated from '`
16114           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16115         `' by configure.'
16116     if test x"$ac_file" != x-; then
16117       configure_input="$ac_file.  $configure_input"
16118       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16119 $as_echo "$as_me: creating $ac_file" >&6;}
16120     fi
16121     # Neutralize special characters interpreted by sed in replacement strings.
16122     case $configure_input in #(
16123     *\&* | *\|* | *\\* )
16124        ac_sed_conf_input=`$as_echo "$configure_input" |
16125        sed 's/[\\\\&|]/\\\\&/g'`;; #(
16126     *) ac_sed_conf_input=$configure_input;;
16127     esac
16128
16129     case $ac_tag in
16130     *:-:* | *:-) cat >"$ac_tmp/stdin" \
16131       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16132     esac
16133     ;;
16134   esac
16135
16136   ac_dir=`$as_dirname -- "$ac_file" ||
16137 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16138          X"$ac_file" : 'X\(//\)[^/]' \| \
16139          X"$ac_file" : 'X\(//\)$' \| \
16140          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16141 $as_echo X"$ac_file" |
16142     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16143             s//\1/
16144             q
16145           }
16146           /^X\(\/\/\)[^/].*/{
16147             s//\1/
16148             q
16149           }
16150           /^X\(\/\/\)$/{
16151             s//\1/
16152             q
16153           }
16154           /^X\(\/\).*/{
16155             s//\1/
16156             q
16157           }
16158           s/.*/./; q'`
16159   as_dir="$ac_dir"; as_fn_mkdir_p
16160   ac_builddir=.
16161
16162 case "$ac_dir" in
16163 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16164 *)
16165   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16166   # A ".." for each directory in $ac_dir_suffix.
16167   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16168   case $ac_top_builddir_sub in
16169   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16170   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16171   esac ;;
16172 esac
16173 ac_abs_top_builddir=$ac_pwd
16174 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16175 # for backward compatibility:
16176 ac_top_builddir=$ac_top_build_prefix
16177
16178 case $srcdir in
16179   .)  # We are building in place.
16180     ac_srcdir=.
16181     ac_top_srcdir=$ac_top_builddir_sub
16182     ac_abs_top_srcdir=$ac_pwd ;;
16183   [\\/]* | ?:[\\/]* )  # Absolute name.
16184     ac_srcdir=$srcdir$ac_dir_suffix;
16185     ac_top_srcdir=$srcdir
16186     ac_abs_top_srcdir=$srcdir ;;
16187   *) # Relative name.
16188     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16189     ac_top_srcdir=$ac_top_build_prefix$srcdir
16190     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16191 esac
16192 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16193
16194
16195   case $ac_mode in
16196   :F)
16197   #
16198   # CONFIG_FILE
16199   #
16200
16201   case $INSTALL in
16202   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16203   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16204   esac
16205   ac_MKDIR_P=$MKDIR_P
16206   case $MKDIR_P in
16207   [\\/$]* | ?:[\\/]* ) ;;
16208   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16209   esac
16210 _ACEOF
16211
16212 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16213 # If the template does not know about datarootdir, expand it.
16214 # FIXME: This hack should be removed a few years after 2.60.
16215 ac_datarootdir_hack=; ac_datarootdir_seen=
16216 ac_sed_dataroot='
16217 /datarootdir/ {
16218   p
16219   q
16220 }
16221 /@datadir@/p
16222 /@docdir@/p
16223 /@infodir@/p
16224 /@localedir@/p
16225 /@mandir@/p'
16226 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16227 *datarootdir*) ac_datarootdir_seen=yes;;
16228 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16229   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16230 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16231 _ACEOF
16232 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16233   ac_datarootdir_hack='
16234   s&@datadir@&$datadir&g
16235   s&@docdir@&$docdir&g
16236   s&@infodir@&$infodir&g
16237   s&@localedir@&$localedir&g
16238   s&@mandir@&$mandir&g
16239   s&\\\${datarootdir}&$datarootdir&g' ;;
16240 esac
16241 _ACEOF
16242
16243 # Neutralize VPATH when `$srcdir' = `.'.
16244 # Shell code in configure.ac might set extrasub.
16245 # FIXME: do we really want to maintain this feature?
16246 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16247 ac_sed_extra="$ac_vpsub
16248 $extrasub
16249 _ACEOF
16250 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16251 :t
16252 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16253 s|@configure_input@|$ac_sed_conf_input|;t t
16254 s&@top_builddir@&$ac_top_builddir_sub&;t t
16255 s&@top_build_prefix@&$ac_top_build_prefix&;t t
16256 s&@srcdir@&$ac_srcdir&;t t
16257 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16258 s&@top_srcdir@&$ac_top_srcdir&;t t
16259 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16260 s&@builddir@&$ac_builddir&;t t
16261 s&@abs_builddir@&$ac_abs_builddir&;t t
16262 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16263 s&@INSTALL@&$ac_INSTALL&;t t
16264 s&@MKDIR_P@&$ac_MKDIR_P&;t t
16265 $ac_datarootdir_hack
16266 "
16267 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16268   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16269
16270 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16271   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16272   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
16273       "$ac_tmp/out"`; test -z "$ac_out"; } &&
16274   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16275 which seems to be undefined.  Please make sure it is defined" >&5
16276 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16277 which seems to be undefined.  Please make sure it is defined" >&2;}
16278
16279   rm -f "$ac_tmp/stdin"
16280   case $ac_file in
16281   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16282   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16283   esac \
16284   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16285  ;;
16286   :H)
16287   #
16288   # CONFIG_HEADER
16289   #
16290   if test x"$ac_file" != x-; then
16291     {
16292       $as_echo "/* $configure_input  */" \
16293       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16294     } >"$ac_tmp/config.h" \
16295       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16296     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16297       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16298 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16299     else
16300       rm -f "$ac_file"
16301       mv "$ac_tmp/config.h" "$ac_file" \
16302         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16303     fi
16304   else
16305     $as_echo "/* $configure_input  */" \
16306       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16307       || as_fn_error $? "could not create -" "$LINENO" 5
16308   fi
16309 # Compute "$ac_file"'s index in $config_headers.
16310 _am_arg="$ac_file"
16311 _am_stamp_count=1
16312 for _am_header in $config_headers :; do
16313   case $_am_header in
16314     $_am_arg | $_am_arg:* )
16315       break ;;
16316     * )
16317       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16318   esac
16319 done
16320 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16321 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16322          X"$_am_arg" : 'X\(//\)[^/]' \| \
16323          X"$_am_arg" : 'X\(//\)$' \| \
16324          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16325 $as_echo X"$_am_arg" |
16326     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16327             s//\1/
16328             q
16329           }
16330           /^X\(\/\/\)[^/].*/{
16331             s//\1/
16332             q
16333           }
16334           /^X\(\/\/\)$/{
16335             s//\1/
16336             q
16337           }
16338           /^X\(\/\).*/{
16339             s//\1/
16340             q
16341           }
16342           s/.*/./; q'`/stamp-h$_am_stamp_count
16343  ;;
16344
16345   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16346 $as_echo "$as_me: executing $ac_file commands" >&6;}
16347  ;;
16348   esac
16349
16350
16351   case $ac_file$ac_mode in
16352     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16353   # Older Autoconf quotes --file arguments for eval, but not when files
16354   # are listed without --file.  Let's play safe and only enable the eval
16355   # if we detect the quoting.
16356   case $CONFIG_FILES in
16357   *\'*) eval set x "$CONFIG_FILES" ;;
16358   *)   set x $CONFIG_FILES ;;
16359   esac
16360   shift
16361   for mf
16362   do
16363     # Strip MF so we end up with the name of the file.
16364     mf=`echo "$mf" | sed -e 's/:.*$//'`
16365     # Check whether this is an Automake generated Makefile or not.
16366     # We used to match only the files named 'Makefile.in', but
16367     # some people rename them; so instead we look at the file content.
16368     # Grep'ing the first line is not enough: some people post-process
16369     # each Makefile.in and add a new line on top of each file to say so.
16370     # Grep'ing the whole file is not good either: AIX grep has a line
16371     # limit of 2048, but all sed's we know have understand at least 4000.
16372     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16373       dirpart=`$as_dirname -- "$mf" ||
16374 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16375          X"$mf" : 'X\(//\)[^/]' \| \
16376          X"$mf" : 'X\(//\)$' \| \
16377          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16378 $as_echo X"$mf" |
16379     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16380             s//\1/
16381             q
16382           }
16383           /^X\(\/\/\)[^/].*/{
16384             s//\1/
16385             q
16386           }
16387           /^X\(\/\/\)$/{
16388             s//\1/
16389             q
16390           }
16391           /^X\(\/\).*/{
16392             s//\1/
16393             q
16394           }
16395           s/.*/./; q'`
16396     else
16397       continue
16398     fi
16399     # Extract the definition of DEPDIR, am__include, and am__quote
16400     # from the Makefile without running 'make'.
16401     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16402     test -z "$DEPDIR" && continue
16403     am__include=`sed -n 's/^am__include = //p' < "$mf"`
16404     test -z "$am__include" && continue
16405     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16406     # Find all dependency output files, they are included files with
16407     # $(DEPDIR) in their names.  We invoke sed twice because it is the
16408     # simplest approach to changing $(DEPDIR) to its actual value in the
16409     # expansion.
16410     for file in `sed -n "
16411       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16412          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
16413       # Make sure the directory exists.
16414       test -f "$dirpart/$file" && continue
16415       fdir=`$as_dirname -- "$file" ||
16416 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16417          X"$file" : 'X\(//\)[^/]' \| \
16418          X"$file" : 'X\(//\)$' \| \
16419          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16420 $as_echo X"$file" |
16421     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16422             s//\1/
16423             q
16424           }
16425           /^X\(\/\/\)[^/].*/{
16426             s//\1/
16427             q
16428           }
16429           /^X\(\/\/\)$/{
16430             s//\1/
16431             q
16432           }
16433           /^X\(\/\).*/{
16434             s//\1/
16435             q
16436           }
16437           s/.*/./; q'`
16438       as_dir=$dirpart/$fdir; as_fn_mkdir_p
16439       # echo "creating $dirpart/$file"
16440       echo '# dummy' > "$dirpart/$file"
16441     done
16442   done
16443 }
16444  ;;
16445     "libtool":C)
16446
16447     # See if we are running on zsh, and set the options which allow our
16448     # commands through without removal of \ escapes.
16449     if test -n "${ZSH_VERSION+set}" ; then
16450       setopt NO_GLOB_SUBST
16451     fi
16452
16453     cfgfile="${ofile}T"
16454     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16455     $RM "$cfgfile"
16456
16457     cat <<_LT_EOF >> "$cfgfile"
16458 #! $SHELL
16459
16460 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16461 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16462 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16463 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16464 #
16465 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16466 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
16467 #                 Foundation, Inc.
16468 #   Written by Gordon Matzigkeit, 1996
16469 #
16470 #   This file is part of GNU Libtool.
16471 #
16472 # GNU Libtool is free software; you can redistribute it and/or
16473 # modify it under the terms of the GNU General Public License as
16474 # published by the Free Software Foundation; either version 2 of
16475 # the License, or (at your option) any later version.
16476 #
16477 # As a special exception to the GNU General Public License,
16478 # if you distribute this file as part of a program or library that
16479 # is built using GNU Libtool, you may include this file under the
16480 # same distribution terms that you use for the rest of that program.
16481 #
16482 # GNU Libtool is distributed in the hope that it will be useful,
16483 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16484 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16485 # GNU General Public License for more details.
16486 #
16487 # You should have received a copy of the GNU General Public License
16488 # along with GNU Libtool; see the file COPYING.  If not, a copy
16489 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16490 # obtained by writing to the Free Software Foundation, Inc.,
16491 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16492
16493
16494 # The names of the tagged configurations supported by this script.
16495 available_tags=""
16496
16497 # ### BEGIN LIBTOOL CONFIG
16498
16499 # Which release of libtool.m4 was used?
16500 macro_version=$macro_version
16501 macro_revision=$macro_revision
16502
16503 # Whether or not to build static libraries.
16504 build_old_libs=$enable_static
16505
16506 # Whether or not to build shared libraries.
16507 build_libtool_libs=$enable_shared
16508
16509 # What type of objects to build.
16510 pic_mode=$pic_mode
16511
16512 # Whether or not to optimize for fast installation.
16513 fast_install=$enable_fast_install
16514
16515 # Shell to use when invoking shell scripts.
16516 SHELL=$lt_SHELL
16517
16518 # An echo program that protects backslashes.
16519 ECHO=$lt_ECHO
16520
16521 # The PATH separator for the build system.
16522 PATH_SEPARATOR=$lt_PATH_SEPARATOR
16523
16524 # The host system.
16525 host_alias=$host_alias
16526 host=$host
16527 host_os=$host_os
16528
16529 # The build system.
16530 build_alias=$build_alias
16531 build=$build
16532 build_os=$build_os
16533
16534 # A sed program that does not truncate output.
16535 SED=$lt_SED
16536
16537 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16538 Xsed="\$SED -e 1s/^X//"
16539
16540 # A grep program that handles long lines.
16541 GREP=$lt_GREP
16542
16543 # An ERE matcher.
16544 EGREP=$lt_EGREP
16545
16546 # A literal string matcher.
16547 FGREP=$lt_FGREP
16548
16549 # A BSD- or MS-compatible name lister.
16550 NM=$lt_NM
16551
16552 # Whether we need soft or hard links.
16553 LN_S=$lt_LN_S
16554
16555 # What is the maximum length of a command?
16556 max_cmd_len=$max_cmd_len
16557
16558 # Object file suffix (normally "o").
16559 objext=$ac_objext
16560
16561 # Executable file suffix (normally "").
16562 exeext=$exeext
16563
16564 # whether the shell understands "unset".
16565 lt_unset=$lt_unset
16566
16567 # turn spaces into newlines.
16568 SP2NL=$lt_lt_SP2NL
16569
16570 # turn newlines into spaces.
16571 NL2SP=$lt_lt_NL2SP
16572
16573 # convert \$build file names to \$host format.
16574 to_host_file_cmd=$lt_cv_to_host_file_cmd
16575
16576 # convert \$build files to toolchain format.
16577 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16578
16579 # An object symbol dumper.
16580 OBJDUMP=$lt_OBJDUMP
16581
16582 # Method to check whether dependent libraries are shared objects.
16583 deplibs_check_method=$lt_deplibs_check_method
16584
16585 # Command to use when deplibs_check_method = "file_magic".
16586 file_magic_cmd=$lt_file_magic_cmd
16587
16588 # How to find potential files when deplibs_check_method = "file_magic".
16589 file_magic_glob=$lt_file_magic_glob
16590
16591 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16592 want_nocaseglob=$lt_want_nocaseglob
16593
16594 # DLL creation program.
16595 DLLTOOL=$lt_DLLTOOL
16596
16597 # Command to associate shared and link libraries.
16598 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16599
16600 # The archiver.
16601 AR=$lt_AR
16602
16603 # Flags to create an archive.
16604 AR_FLAGS=$lt_AR_FLAGS
16605
16606 # How to feed a file listing to the archiver.
16607 archiver_list_spec=$lt_archiver_list_spec
16608
16609 # A symbol stripping program.
16610 STRIP=$lt_STRIP
16611
16612 # Commands used to install an old-style archive.
16613 RANLIB=$lt_RANLIB
16614 old_postinstall_cmds=$lt_old_postinstall_cmds
16615 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16616
16617 # Whether to use a lock for old archive extraction.
16618 lock_old_archive_extraction=$lock_old_archive_extraction
16619
16620 # A C compiler.
16621 LTCC=$lt_CC
16622
16623 # LTCC compiler flags.
16624 LTCFLAGS=$lt_CFLAGS
16625
16626 # Take the output of nm and produce a listing of raw symbols and C names.
16627 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16628
16629 # Transform the output of nm in a proper C declaration.
16630 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16631
16632 # Transform the output of nm in a C name address pair.
16633 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16634
16635 # Transform the output of nm in a C name address pair when lib prefix is needed.
16636 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16637
16638 # Specify filename containing input files for \$NM.
16639 nm_file_list_spec=$lt_nm_file_list_spec
16640
16641 # The root where to search for dependent libraries,and in which our libraries should be installed.
16642 lt_sysroot=$lt_sysroot
16643
16644 # The name of the directory that contains temporary libtool files.
16645 objdir=$objdir
16646
16647 # Used to examine libraries when file_magic_cmd begins with "file".
16648 MAGIC_CMD=$MAGIC_CMD
16649
16650 # Must we lock files when doing compilation?
16651 need_locks=$lt_need_locks
16652
16653 # Manifest tool.
16654 MANIFEST_TOOL=$lt_MANIFEST_TOOL
16655
16656 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16657 DSYMUTIL=$lt_DSYMUTIL
16658
16659 # Tool to change global to local symbols on Mac OS X.
16660 NMEDIT=$lt_NMEDIT
16661
16662 # Tool to manipulate fat objects and archives on Mac OS X.
16663 LIPO=$lt_LIPO
16664
16665 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16666 OTOOL=$lt_OTOOL
16667
16668 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16669 OTOOL64=$lt_OTOOL64
16670
16671 # Old archive suffix (normally "a").
16672 libext=$libext
16673
16674 # Shared library suffix (normally ".so").
16675 shrext_cmds=$lt_shrext_cmds
16676
16677 # The commands to extract the exported symbol list from a shared archive.
16678 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16679
16680 # Variables whose values should be saved in libtool wrapper scripts and
16681 # restored at link time.
16682 variables_saved_for_relink=$lt_variables_saved_for_relink
16683
16684 # Do we need the "lib" prefix for modules?
16685 need_lib_prefix=$need_lib_prefix
16686
16687 # Do we need a version for libraries?
16688 need_version=$need_version
16689
16690 # Library versioning type.
16691 version_type=$version_type
16692
16693 # Shared library runtime path variable.
16694 runpath_var=$runpath_var
16695
16696 # Shared library path variable.
16697 shlibpath_var=$shlibpath_var
16698
16699 # Is shlibpath searched before the hard-coded library search path?
16700 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16701
16702 # Format of library name prefix.
16703 libname_spec=$lt_libname_spec
16704
16705 # List of archive names.  First name is the real one, the rest are links.
16706 # The last name is the one that the linker finds with -lNAME
16707 library_names_spec=$lt_library_names_spec
16708
16709 # The coded name of the library, if different from the real name.
16710 soname_spec=$lt_soname_spec
16711
16712 # Permission mode override for installation of shared libraries.
16713 install_override_mode=$lt_install_override_mode
16714
16715 # Command to use after installation of a shared archive.
16716 postinstall_cmds=$lt_postinstall_cmds
16717
16718 # Command to use after uninstallation of a shared archive.
16719 postuninstall_cmds=$lt_postuninstall_cmds
16720
16721 # Commands used to finish a libtool library installation in a directory.
16722 finish_cmds=$lt_finish_cmds
16723
16724 # As "finish_cmds", except a single script fragment to be evaled but
16725 # not shown.
16726 finish_eval=$lt_finish_eval
16727
16728 # Whether we should hardcode library paths into libraries.
16729 hardcode_into_libs=$hardcode_into_libs
16730
16731 # Compile-time system search path for libraries.
16732 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16733
16734 # Run-time system search path for libraries.
16735 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16736
16737 # Whether dlopen is supported.
16738 dlopen_support=$enable_dlopen
16739
16740 # Whether dlopen of programs is supported.
16741 dlopen_self=$enable_dlopen_self
16742
16743 # Whether dlopen of statically linked programs is supported.
16744 dlopen_self_static=$enable_dlopen_self_static
16745
16746 # Commands to strip libraries.
16747 old_striplib=$lt_old_striplib
16748 striplib=$lt_striplib
16749
16750
16751 # The linker used to build libraries.
16752 LD=$lt_LD
16753
16754 # How to create reloadable object files.
16755 reload_flag=$lt_reload_flag
16756 reload_cmds=$lt_reload_cmds
16757
16758 # Commands used to build an old-style archive.
16759 old_archive_cmds=$lt_old_archive_cmds
16760
16761 # A language specific compiler.
16762 CC=$lt_compiler
16763
16764 # Is the compiler the GNU compiler?
16765 with_gcc=$GCC
16766
16767 # Compiler flag to turn off builtin functions.
16768 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16769
16770 # Additional compiler flags for building library objects.
16771 pic_flag=$lt_lt_prog_compiler_pic
16772
16773 # How to pass a linker flag through the compiler.
16774 wl=$lt_lt_prog_compiler_wl
16775
16776 # Compiler flag to prevent dynamic linking.
16777 link_static_flag=$lt_lt_prog_compiler_static
16778
16779 # Does compiler simultaneously support -c and -o options?
16780 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16781
16782 # Whether or not to add -lc for building shared libraries.
16783 build_libtool_need_lc=$archive_cmds_need_lc
16784
16785 # Whether or not to disallow shared libs when runtime libs are static.
16786 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16787
16788 # Compiler flag to allow reflexive dlopens.
16789 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16790
16791 # Compiler flag to generate shared objects directly from archives.
16792 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16793
16794 # Whether the compiler copes with passing no objects directly.
16795 compiler_needs_object=$lt_compiler_needs_object
16796
16797 # Create an old-style archive from a shared archive.
16798 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16799
16800 # Create a temporary old-style archive to link instead of a shared archive.
16801 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16802
16803 # Commands used to build a shared archive.
16804 archive_cmds=$lt_archive_cmds
16805 archive_expsym_cmds=$lt_archive_expsym_cmds
16806
16807 # Commands used to build a loadable module if different from building
16808 # a shared archive.
16809 module_cmds=$lt_module_cmds
16810 module_expsym_cmds=$lt_module_expsym_cmds
16811
16812 # Whether we are building with GNU ld or not.
16813 with_gnu_ld=$lt_with_gnu_ld
16814
16815 # Flag that allows shared libraries with undefined symbols to be built.
16816 allow_undefined_flag=$lt_allow_undefined_flag
16817
16818 # Flag that enforces no undefined symbols.
16819 no_undefined_flag=$lt_no_undefined_flag
16820
16821 # Flag to hardcode \$libdir into a binary during linking.
16822 # This must work even if \$libdir does not exist
16823 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16824
16825 # Whether we need a single "-rpath" flag with a separated argument.
16826 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16827
16828 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16829 # DIR into the resulting binary.
16830 hardcode_direct=$hardcode_direct
16831
16832 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16833 # DIR into the resulting binary and the resulting library dependency is
16834 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16835 # library is relocated.
16836 hardcode_direct_absolute=$hardcode_direct_absolute
16837
16838 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16839 # into the resulting binary.
16840 hardcode_minus_L=$hardcode_minus_L
16841
16842 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16843 # into the resulting binary.
16844 hardcode_shlibpath_var=$hardcode_shlibpath_var
16845
16846 # Set to "yes" if building a shared library automatically hardcodes DIR
16847 # into the library and all subsequent libraries and executables linked
16848 # against it.
16849 hardcode_automatic=$hardcode_automatic
16850
16851 # Set to yes if linker adds runtime paths of dependent libraries
16852 # to runtime path list.
16853 inherit_rpath=$inherit_rpath
16854
16855 # Whether libtool must link a program against all its dependency libraries.
16856 link_all_deplibs=$link_all_deplibs
16857
16858 # Set to "yes" if exported symbols are required.
16859 always_export_symbols=$always_export_symbols
16860
16861 # The commands to list exported symbols.
16862 export_symbols_cmds=$lt_export_symbols_cmds
16863
16864 # Symbols that should not be listed in the preloaded symbols.
16865 exclude_expsyms=$lt_exclude_expsyms
16866
16867 # Symbols that must always be exported.
16868 include_expsyms=$lt_include_expsyms
16869
16870 # Commands necessary for linking programs (against libraries) with templates.
16871 prelink_cmds=$lt_prelink_cmds
16872
16873 # Commands necessary for finishing linking programs.
16874 postlink_cmds=$lt_postlink_cmds
16875
16876 # Specify filename containing input files.
16877 file_list_spec=$lt_file_list_spec
16878
16879 # How to hardcode a shared library path into an executable.
16880 hardcode_action=$hardcode_action
16881
16882 # ### END LIBTOOL CONFIG
16883
16884 _LT_EOF
16885
16886   case $host_os in
16887   aix3*)
16888     cat <<\_LT_EOF >> "$cfgfile"
16889 # AIX sometimes has problems with the GCC collect2 program.  For some
16890 # reason, if we set the COLLECT_NAMES environment variable, the problems
16891 # vanish in a puff of smoke.
16892 if test "X${COLLECT_NAMES+set}" != Xset; then
16893   COLLECT_NAMES=
16894   export COLLECT_NAMES
16895 fi
16896 _LT_EOF
16897     ;;
16898   esac
16899
16900
16901 ltmain="$ac_aux_dir/ltmain.sh"
16902
16903
16904   # We use sed instead of cat because bash on DJGPP gets confused if
16905   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
16906   # text mode, it properly converts lines to CR/LF.  This bash problem
16907   # is reportedly fixed, but why not run on old versions too?
16908   sed '$q' "$ltmain" >> "$cfgfile" \
16909      || (rm -f "$cfgfile"; exit 1)
16910
16911   if test x"$xsi_shell" = xyes; then
16912   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
16913 func_dirname ()\
16914 {\
16915 \    case ${1} in\
16916 \      */*) func_dirname_result="${1%/*}${2}" ;;\
16917 \      *  ) func_dirname_result="${3}" ;;\
16918 \    esac\
16919 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
16920   && mv -f "$cfgfile.tmp" "$cfgfile" \
16921     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16922 test 0 -eq $? || _lt_function_replace_fail=:
16923
16924
16925   sed -e '/^func_basename ()$/,/^} # func_basename /c\
16926 func_basename ()\
16927 {\
16928 \    func_basename_result="${1##*/}"\
16929 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
16930   && mv -f "$cfgfile.tmp" "$cfgfile" \
16931     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16932 test 0 -eq $? || _lt_function_replace_fail=:
16933
16934
16935   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
16936 func_dirname_and_basename ()\
16937 {\
16938 \    case ${1} in\
16939 \      */*) func_dirname_result="${1%/*}${2}" ;;\
16940 \      *  ) func_dirname_result="${3}" ;;\
16941 \    esac\
16942 \    func_basename_result="${1##*/}"\
16943 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
16944   && mv -f "$cfgfile.tmp" "$cfgfile" \
16945     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16946 test 0 -eq $? || _lt_function_replace_fail=:
16947
16948
16949   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
16950 func_stripname ()\
16951 {\
16952 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
16953 \    # positional parameters, so assign one to ordinary parameter first.\
16954 \    func_stripname_result=${3}\
16955 \    func_stripname_result=${func_stripname_result#"${1}"}\
16956 \    func_stripname_result=${func_stripname_result%"${2}"}\
16957 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
16958   && mv -f "$cfgfile.tmp" "$cfgfile" \
16959     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16960 test 0 -eq $? || _lt_function_replace_fail=:
16961
16962
16963   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
16964 func_split_long_opt ()\
16965 {\
16966 \    func_split_long_opt_name=${1%%=*}\
16967 \    func_split_long_opt_arg=${1#*=}\
16968 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
16969   && mv -f "$cfgfile.tmp" "$cfgfile" \
16970     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16971 test 0 -eq $? || _lt_function_replace_fail=:
16972
16973
16974   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
16975 func_split_short_opt ()\
16976 {\
16977 \    func_split_short_opt_arg=${1#??}\
16978 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
16979 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
16980   && mv -f "$cfgfile.tmp" "$cfgfile" \
16981     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16982 test 0 -eq $? || _lt_function_replace_fail=:
16983
16984
16985   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
16986 func_lo2o ()\
16987 {\
16988 \    case ${1} in\
16989 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
16990 \      *)    func_lo2o_result=${1} ;;\
16991 \    esac\
16992 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
16993   && mv -f "$cfgfile.tmp" "$cfgfile" \
16994     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16995 test 0 -eq $? || _lt_function_replace_fail=:
16996
16997
16998   sed -e '/^func_xform ()$/,/^} # func_xform /c\
16999 func_xform ()\
17000 {\
17001     func_xform_result=${1%.*}.lo\
17002 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17003   && mv -f "$cfgfile.tmp" "$cfgfile" \
17004     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17005 test 0 -eq $? || _lt_function_replace_fail=:
17006
17007
17008   sed -e '/^func_arith ()$/,/^} # func_arith /c\
17009 func_arith ()\
17010 {\
17011     func_arith_result=$(( $* ))\
17012 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17013   && mv -f "$cfgfile.tmp" "$cfgfile" \
17014     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17015 test 0 -eq $? || _lt_function_replace_fail=:
17016
17017
17018   sed -e '/^func_len ()$/,/^} # func_len /c\
17019 func_len ()\
17020 {\
17021     func_len_result=${#1}\
17022 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17023   && mv -f "$cfgfile.tmp" "$cfgfile" \
17024     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17025 test 0 -eq $? || _lt_function_replace_fail=:
17026
17027 fi
17028
17029 if test x"$lt_shell_append" = xyes; then
17030   sed -e '/^func_append ()$/,/^} # func_append /c\
17031 func_append ()\
17032 {\
17033     eval "${1}+=\\${2}"\
17034 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17035   && mv -f "$cfgfile.tmp" "$cfgfile" \
17036     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17037 test 0 -eq $? || _lt_function_replace_fail=:
17038
17039
17040   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17041 func_append_quoted ()\
17042 {\
17043 \    func_quote_for_eval "${2}"\
17044 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17045 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17046   && mv -f "$cfgfile.tmp" "$cfgfile" \
17047     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17048 test 0 -eq $? || _lt_function_replace_fail=:
17049
17050
17051   # Save a `func_append' function call where possible by direct use of '+='
17052   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17053     && mv -f "$cfgfile.tmp" "$cfgfile" \
17054       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17055   test 0 -eq $? || _lt_function_replace_fail=:
17056 else
17057   # Save a `func_append' function call even when '+=' is not available
17058   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17059     && mv -f "$cfgfile.tmp" "$cfgfile" \
17060       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17061   test 0 -eq $? || _lt_function_replace_fail=:
17062 fi
17063
17064 if test x"$_lt_function_replace_fail" = x":"; then
17065   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17066 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17067 fi
17068
17069
17070    mv -f "$cfgfile" "$ofile" ||
17071     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17072   chmod +x "$ofile"
17073
17074  ;;
17075     "mkdir":C) $MKDIR_P test/databases ;;
17076
17077   esac
17078 done # for ac_tag
17079
17080
17081 as_fn_exit 0
17082 _ACEOF
17083 ac_clean_files=$ac_clean_files_save
17084
17085 test $ac_write_fail = 0 ||
17086   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17087
17088
17089 # configure is writing to config.log, and then calls config.status.
17090 # config.status does its own redirection, appending to config.log.
17091 # Unfortunately, on DOS this fails, as config.log is still kept open
17092 # by configure, so config.status won't be able to write to it; its
17093 # output is simply discarded.  So we exec the FD to /dev/null,
17094 # effectively closing config.log, so it can be properly (re)opened and
17095 # appended to by config.status.  When coming back to configure, we
17096 # need to make the FD available again.
17097 if test "$no_create" != yes; then
17098   ac_cs_success=:
17099   ac_config_status_args=
17100   test "$silent" = yes &&
17101     ac_config_status_args="$ac_config_status_args --quiet"
17102   exec 5>/dev/null
17103   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17104   exec 5>>config.log
17105   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17106   # would make configure fail if this is the last instruction.
17107   $ac_cs_success || as_fn_exit 1
17108 fi
17109 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17110   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17111 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17112 fi
17113
17114
17115 { $as_echo "$as_me:${as_lineno-$LINENO}: result:
17116         buxton $VERSION
17117         ========
17118
17119         prefix:                 ${prefix}
17120         libdir:                 ${libdir}
17121         sysconfdir:             ${sysconfdir}
17122         exec_prefix:            ${exec_prefix}
17123         bindir:                 ${bindir}
17124         sbindir:                ${sbindir}
17125         datarootdir:            ${datarootdir}
17126         mandir:                 ${mandir}
17127         modules:                ${MODULEDIR}
17128
17129         compiler:               ${CC}
17130         cflags:                 ${CFLAGS}
17131         ldflags:                ${LDFLAGS}
17132
17133         debug:                  ${enable_debug}
17134         demos:                  ${enable_demos}
17135         coverage:               ${have_coverage}
17136         manpages:               ${enable_manpages}
17137 " >&5
17138 $as_echo "
17139         buxton $VERSION
17140         ========
17141
17142         prefix:                 ${prefix}
17143         libdir:                 ${libdir}
17144         sysconfdir:             ${sysconfdir}
17145         exec_prefix:            ${exec_prefix}
17146         bindir:                 ${bindir}
17147         sbindir:                ${sbindir}
17148         datarootdir:            ${datarootdir}
17149         mandir:                 ${mandir}
17150         modules:                ${MODULEDIR}
17151
17152         compiler:               ${CC}
17153         cflags:                 ${CFLAGS}
17154         ldflags:                ${LDFLAGS}
17155
17156         debug:                  ${enable_debug}
17157         demos:                  ${enable_demos}
17158         coverage:               ${have_coverage}
17159         manpages:               ${enable_manpages}
17160 " >&6; }