• Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #! /bin/sh
2 # From configure.ac Revision: 1.3 .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.68 for libcap-ng 0.7.
5 #
6 #
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
9 # Foundation, Inc.
10 #
11 #
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
17 
18 # Be more Bourne compatible
19 DUALCASE=1; export DUALCASE # for MKS sh
20 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21   emulate sh
22   NULLCMD=:
23   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
24   # is contrary to our usage.  Disable this feature.
25   alias -g '${1+"$@"}'='"$@"'
26   setopt NO_GLOB_SUBST
27 else
28   case `(set -o) 2>/dev/null` in #(
29   *posix*) :
30     set -o posix ;; #(
31   *) :
32      ;;
33 esac
34 fi
35 
36 
37 as_nl='
38 '
39 export as_nl
40 # Printing a long string crashes Solaris 7 /usr/bin/printf.
41 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
44 # Prefer a ksh shell builtin over an external printf program on Solaris,
45 # but without wasting forks for bash or zsh.
46 if test -z "$BASH_VERSION$ZSH_VERSION" \
47     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48   as_echo='print -r --'
49   as_echo_n='print -rn --'
50 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51   as_echo='printf %s\n'
52   as_echo_n='printf %s'
53 else
54   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
55     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
56     as_echo_n='/usr/ucb/echo -n'
57   else
58     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
59     as_echo_n_body='eval
60       arg=$1;
61       case $arg in #(
62       *"$as_nl"*)
63 	expr "X$arg" : "X\\(.*\\)$as_nl";
64 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65       esac;
66       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67     '
68     export as_echo_n_body
69     as_echo_n='sh -c $as_echo_n_body as_echo'
70   fi
71   export as_echo_body
72   as_echo='sh -c $as_echo_body as_echo'
73 fi
74 
75 # The user is always right.
76 if test "${PATH_SEPARATOR+set}" != set; then
77   PATH_SEPARATOR=:
78   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
79     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
80       PATH_SEPARATOR=';'
81   }
82 fi
83 
84 
85 # IFS
86 # We need space, tab and new line, in precisely that order.  Quoting is
87 # there to prevent editors from complaining about space-tab.
88 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
89 # splitting by setting IFS to empty value.)
90 IFS=" ""	$as_nl"
91 
92 # Find who we are.  Look in the path if we contain no directory separator.
93 as_myself=
94 case $0 in #((
95   *[\\/]* ) as_myself=$0 ;;
96   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 for as_dir in $PATH
98 do
99   IFS=$as_save_IFS
100   test -z "$as_dir" && as_dir=.
101     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
102   done
103 IFS=$as_save_IFS
104 
105      ;;
106 esac
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x; then
110   as_myself=$0
111 fi
112 if test ! -f "$as_myself"; then
113   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114   exit 1
115 fi
116 
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there.  '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\${$as_var+set} = xset \
123   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
124 done
125 PS1='$ '
126 PS2='> '
127 PS4='+ '
128 
129 # NLS nuisances.
130 LC_ALL=C
131 export LC_ALL
132 LANGUAGE=C
133 export LANGUAGE
134 
135 # CDPATH.
136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 
138 if test "x$CONFIG_SHELL" = x; then
139   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140   emulate sh
141   NULLCMD=:
142   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143   # is contrary to our usage.  Disable this feature.
144   alias -g '\${1+\"\$@\"}'='\"\$@\"'
145   setopt NO_GLOB_SUBST
146 else
147   case \`(set -o) 2>/dev/null\` in #(
148   *posix*) :
149     set -o posix ;; #(
150   *) :
151      ;;
152 esac
153 fi
154 "
155   as_required="as_fn_return () { (exit \$1); }
156 as_fn_success () { as_fn_return 0; }
157 as_fn_failure () { as_fn_return 1; }
158 as_fn_ret_success () { return 0; }
159 as_fn_ret_failure () { return 1; }
160 
161 exitcode=0
162 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167 
168 else
169   exitcode=1; echo positional parameters were not saved.
170 fi
171 test x\$exitcode = x0 || exit 1"
172   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176 
177   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
178     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
179     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
180     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181     PATH=/empty FPATH=/empty; export PATH FPATH
182     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
183       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
184 test \$(( 1 + 1 )) = 2 || exit 1"
185   if (eval "$as_required") 2>/dev/null; then :
186   as_have_required=yes
187 else
188   as_have_required=no
189 fi
190   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
191 
192 else
193   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
194 as_found=false
195 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
196 do
197   IFS=$as_save_IFS
198   test -z "$as_dir" && as_dir=.
199   as_found=:
200   case $as_dir in #(
201 	 /*)
202 	   for as_base in sh bash ksh sh5; do
203 	     # Try only shells that exist, to save several forks.
204 	     as_shell=$as_dir/$as_base
205 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
206 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
207   CONFIG_SHELL=$as_shell as_have_required=yes
208 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
209   break 2
210 fi
211 fi
212 	   done;;
213        esac
214   as_found=false
215 done
216 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
217 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
218   CONFIG_SHELL=$SHELL as_have_required=yes
219 fi; }
220 IFS=$as_save_IFS
221 
222 
223       if test "x$CONFIG_SHELL" != x; then :
224   # We cannot yet assume a decent shell, so we have to provide a
225 	# neutralization value for shells without unset; and this also
226 	# works around shells that cannot unset nonexistent variables.
227 	# Preserve -v and -x to the replacement shell.
228 	BASH_ENV=/dev/null
229 	ENV=/dev/null
230 	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
231 	export CONFIG_SHELL
232 	case $- in # ((((
233 	  *v*x* | *x*v* ) as_opts=-vx ;;
234 	  *v* ) as_opts=-v ;;
235 	  *x* ) as_opts=-x ;;
236 	  * ) as_opts= ;;
237 	esac
238 	exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
239 fi
240 
241     if test x$as_have_required = xno; then :
242   $as_echo "$0: This script requires a shell more modern than all"
243   $as_echo "$0: the shells that I found on your system."
244   if test x${ZSH_VERSION+set} = xset ; then
245     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
246     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
247   else
248     $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
249 $0: including any error possibly output before this
250 $0: message. Then install a modern shell, or manually run
251 $0: the script under such a shell if you do have one."
252   fi
253   exit 1
254 fi
255 fi
256 fi
257 SHELL=${CONFIG_SHELL-/bin/sh}
258 export SHELL
259 # Unset more variables known to interfere with behavior of common tools.
260 CLICOLOR_FORCE= GREP_OPTIONS=
261 unset CLICOLOR_FORCE GREP_OPTIONS
262 
263 ## --------------------- ##
264 ## M4sh Shell Functions. ##
265 ## --------------------- ##
266 # as_fn_unset VAR
267 # ---------------
268 # Portably unset VAR.
269 as_fn_unset ()
270 {
271   { eval $1=; unset $1;}
272 }
273 as_unset=as_fn_unset
274 
275 # as_fn_set_status STATUS
276 # -----------------------
277 # Set $? to STATUS, without forking.
278 as_fn_set_status ()
279 {
280   return $1
281 } # as_fn_set_status
282 
283 # as_fn_exit STATUS
284 # -----------------
285 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
286 as_fn_exit ()
287 {
288   set +e
289   as_fn_set_status $1
290   exit $1
291 } # as_fn_exit
292 
293 # as_fn_mkdir_p
294 # -------------
295 # Create "$as_dir" as a directory, including parents if necessary.
296 as_fn_mkdir_p ()
297 {
298 
299   case $as_dir in #(
300   -*) as_dir=./$as_dir;;
301   esac
302   test -d "$as_dir" || eval $as_mkdir_p || {
303     as_dirs=
304     while :; do
305       case $as_dir in #(
306       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
307       *) as_qdir=$as_dir;;
308       esac
309       as_dirs="'$as_qdir' $as_dirs"
310       as_dir=`$as_dirname -- "$as_dir" ||
311 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
312 	 X"$as_dir" : 'X\(//\)[^/]' \| \
313 	 X"$as_dir" : 'X\(//\)$' \| \
314 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
315 $as_echo X"$as_dir" |
316     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
317 	    s//\1/
318 	    q
319 	  }
320 	  /^X\(\/\/\)[^/].*/{
321 	    s//\1/
322 	    q
323 	  }
324 	  /^X\(\/\/\)$/{
325 	    s//\1/
326 	    q
327 	  }
328 	  /^X\(\/\).*/{
329 	    s//\1/
330 	    q
331 	  }
332 	  s/.*/./; q'`
333       test -d "$as_dir" && break
334     done
335     test -z "$as_dirs" || eval "mkdir $as_dirs"
336   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
337 
338 
339 } # as_fn_mkdir_p
340 # as_fn_append VAR VALUE
341 # ----------------------
342 # Append the text in VALUE to the end of the definition contained in VAR. Take
343 # advantage of any shell optimizations that allow amortized linear growth over
344 # repeated appends, instead of the typical quadratic growth present in naive
345 # implementations.
346 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
347   eval 'as_fn_append ()
348   {
349     eval $1+=\$2
350   }'
351 else
352   as_fn_append ()
353   {
354     eval $1=\$$1\$2
355   }
356 fi # as_fn_append
357 
358 # as_fn_arith ARG...
359 # ------------------
360 # Perform arithmetic evaluation on the ARGs, and store the result in the
361 # global $as_val. Take advantage of shells that can avoid forks. The arguments
362 # must be portable across $(()) and expr.
363 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
364   eval 'as_fn_arith ()
365   {
366     as_val=$(( $* ))
367   }'
368 else
369   as_fn_arith ()
370   {
371     as_val=`expr "$@" || test $? -eq 1`
372   }
373 fi # as_fn_arith
374 
375 
376 # as_fn_error STATUS ERROR [LINENO LOG_FD]
377 # ----------------------------------------
378 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
379 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
380 # script with STATUS, using 1 if that was 0.
381 as_fn_error ()
382 {
383   as_status=$1; test $as_status -eq 0 && as_status=1
384   if test "$4"; then
385     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
386     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
387   fi
388   $as_echo "$as_me: error: $2" >&2
389   as_fn_exit $as_status
390 } # as_fn_error
391 
392 if expr a : '\(a\)' >/dev/null 2>&1 &&
393    test "X`expr 00001 : '.*\(...\)'`" = X001; then
394   as_expr=expr
395 else
396   as_expr=false
397 fi
398 
399 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
400   as_basename=basename
401 else
402   as_basename=false
403 fi
404 
405 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
406   as_dirname=dirname
407 else
408   as_dirname=false
409 fi
410 
411 as_me=`$as_basename -- "$0" ||
412 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
413 	 X"$0" : 'X\(//\)$' \| \
414 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
415 $as_echo X/"$0" |
416     sed '/^.*\/\([^/][^/]*\)\/*$/{
417 	    s//\1/
418 	    q
419 	  }
420 	  /^X\/\(\/\/\)$/{
421 	    s//\1/
422 	    q
423 	  }
424 	  /^X\/\(\/\).*/{
425 	    s//\1/
426 	    q
427 	  }
428 	  s/.*/./; q'`
429 
430 # Avoid depending upon Character Ranges.
431 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
432 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
433 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
434 as_cr_digits='0123456789'
435 as_cr_alnum=$as_cr_Letters$as_cr_digits
436 
437 
438   as_lineno_1=$LINENO as_lineno_1a=$LINENO
439   as_lineno_2=$LINENO as_lineno_2a=$LINENO
440   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
441   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
442   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
443   sed -n '
444     p
445     /[$]LINENO/=
446   ' <$as_myself |
447     sed '
448       s/[$]LINENO.*/&-/
449       t lineno
450       b
451       :lineno
452       N
453       :loop
454       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
455       t loop
456       s/-\n.*//
457     ' >$as_me.lineno &&
458   chmod +x "$as_me.lineno" ||
459     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
460 
461   # Don't try to exec as it changes $[0], causing all sort of problems
462   # (the dirname of $[0] is not the place where we might find the
463   # original and so on.  Autoconf is especially sensitive to this).
464   . "./$as_me.lineno"
465   # Exit status is that of the last command.
466   exit
467 }
468 
469 ECHO_C= ECHO_N= ECHO_T=
470 case `echo -n x` in #(((((
471 -n*)
472   case `echo 'xy\c'` in
473   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
474   xy)  ECHO_C='\c';;
475   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
476        ECHO_T='	';;
477   esac;;
478 *)
479   ECHO_N='-n';;
480 esac
481 
482 rm -f conf$$ conf$$.exe conf$$.file
483 if test -d conf$$.dir; then
484   rm -f conf$$.dir/conf$$.file
485 else
486   rm -f conf$$.dir
487   mkdir conf$$.dir 2>/dev/null
488 fi
489 if (echo >conf$$.file) 2>/dev/null; then
490   if ln -s conf$$.file conf$$ 2>/dev/null; then
491     as_ln_s='ln -s'
492     # ... but there are two gotchas:
493     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
494     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
495     # In both cases, we have to default to `cp -p'.
496     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
497       as_ln_s='cp -p'
498   elif ln conf$$.file conf$$ 2>/dev/null; then
499     as_ln_s=ln
500   else
501     as_ln_s='cp -p'
502   fi
503 else
504   as_ln_s='cp -p'
505 fi
506 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
507 rmdir conf$$.dir 2>/dev/null
508 
509 if mkdir -p . 2>/dev/null; then
510   as_mkdir_p='mkdir -p "$as_dir"'
511 else
512   test -d ./-p && rmdir ./-p
513   as_mkdir_p=false
514 fi
515 
516 if test -x / >/dev/null 2>&1; then
517   as_test_x='test -x'
518 else
519   if ls -dL / >/dev/null 2>&1; then
520     as_ls_L_option=L
521   else
522     as_ls_L_option=
523   fi
524   as_test_x='
525     eval sh -c '\''
526       if test -d "$1"; then
527 	test -d "$1/.";
528       else
529 	case $1 in #(
530 	-*)set "./$1";;
531 	esac;
532 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
533 	???[sx]*):;;*)false;;esac;fi
534     '\'' sh
535   '
536 fi
537 as_executable_p=$as_test_x
538 
539 # Sed expression to map a string onto a valid CPP name.
540 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
541 
542 # Sed expression to map a string onto a valid variable name.
543 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
544 
545 SHELL=${CONFIG_SHELL-/bin/sh}
546 
547 
548 test -n "$DJDIR" || exec 7<&0 </dev/null
549 exec 6>&1
550 
551 # Name of the host.
552 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
553 # so uname gets run too.
554 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
555 
556 #
557 # Initializations.
558 #
559 ac_default_prefix=/usr/local
560 ac_clean_files=
561 ac_config_libobj_dir=.
562 LIBOBJS=
563 cross_compiling=no
564 subdirs=
565 MFLAGS=
566 MAKEFLAGS=
567 
568 # Identity of this package.
569 PACKAGE_NAME='libcap-ng'
570 PACKAGE_TARNAME='libcap-ng'
571 PACKAGE_VERSION='0.7'
572 PACKAGE_STRING='libcap-ng 0.7'
573 PACKAGE_BUGREPORT=''
574 PACKAGE_URL=''
575 
576 # Factoring default headers for most tests.
577 ac_includes_default="\
578 #include <stdio.h>
579 #ifdef HAVE_SYS_TYPES_H
580 # include <sys/types.h>
581 #endif
582 #ifdef HAVE_SYS_STAT_H
583 # include <sys/stat.h>
584 #endif
585 #ifdef STDC_HEADERS
586 # include <stdlib.h>
587 # include <stddef.h>
588 #else
589 # ifdef HAVE_STDLIB_H
590 #  include <stdlib.h>
591 # endif
592 #endif
593 #ifdef HAVE_STRING_H
594 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
595 #  include <memory.h>
596 # endif
597 # include <string.h>
598 #endif
599 #ifdef HAVE_STRINGS_H
600 # include <strings.h>
601 #endif
602 #ifdef HAVE_INTTYPES_H
603 # include <inttypes.h>
604 #endif
605 #ifdef HAVE_STDINT_H
606 # include <stdint.h>
607 #endif
608 #ifdef HAVE_UNISTD_H
609 # include <unistd.h>
610 #endif"
611 
612 ac_subst_vars='am__EXEEXT_FALSE
613 am__EXEEXT_TRUE
614 LTLIBOBJS
615 LIBOBJS
616 HAVE_PYTHON_FALSE
617 HAVE_PYTHON_TRUE
618 pkgpyexecdir
619 pyexecdir
620 pkgpythondir
621 pythondir
622 PYTHON_PLATFORM
623 PYTHON_EXEC_PREFIX
624 PYTHON_PREFIX
625 PYTHON_VERSION
626 PYTHON
627 HAVE_SWIG_FALSE
628 HAVE_SWIG_TRUE
629 swig_found
630 DEBUG
631 DEBUG_FALSE
632 DEBUG_TRUE
633 LIBTOOL_DEPS
634 CPP
635 OTOOL64
636 OTOOL
637 LIPO
638 NMEDIT
639 DSYMUTIL
640 MANIFEST_TOOL
641 RANLIB
642 ac_ct_AR
643 AR
644 DLLTOOL
645 OBJDUMP
646 LN_S
647 NM
648 ac_ct_DUMPBIN
649 DUMPBIN
650 LD
651 FGREP
652 EGREP
653 GREP
654 SED
655 am__fastdepCC_FALSE
656 am__fastdepCC_TRUE
657 CCDEPMODE
658 am__nodep
659 AMDEPBACKSLASH
660 AMDEP_FALSE
661 AMDEP_TRUE
662 am__quote
663 am__include
664 DEPDIR
665 OBJEXT
666 EXEEXT
667 ac_ct_CC
668 CPPFLAGS
669 LDFLAGS
670 CFLAGS
671 CC
672 LIBTOOL
673 am__untar
674 am__tar
675 AMTAR
676 am__leading_dot
677 SET_MAKE
678 AWK
679 mkdir_p
680 MKDIR_P
681 INSTALL_STRIP_PROGRAM
682 STRIP
683 install_sh
684 MAKEINFO
685 AUTOHEADER
686 AUTOMAKE
687 AUTOCONF
688 ACLOCAL
689 VERSION
690 PACKAGE
691 CYGPATH_W
692 am__isrc
693 INSTALL_DATA
694 INSTALL_SCRIPT
695 INSTALL_PROGRAM
696 target_os
697 target_vendor
698 target_cpu
699 target
700 host_os
701 host_vendor
702 host_cpu
703 host
704 build_os
705 build_vendor
706 build_cpu
707 build
708 target_alias
709 host_alias
710 build_alias
711 LIBS
712 ECHO_T
713 ECHO_N
714 ECHO_C
715 DEFS
716 mandir
717 localedir
718 libdir
719 psdir
720 pdfdir
721 dvidir
722 htmldir
723 infodir
724 docdir
725 oldincludedir
726 includedir
727 localstatedir
728 sharedstatedir
729 sysconfdir
730 datadir
731 datarootdir
732 libexecdir
733 sbindir
734 bindir
735 program_transform_name
736 prefix
737 exec_prefix
738 PACKAGE_URL
739 PACKAGE_BUGREPORT
740 PACKAGE_STRING
741 PACKAGE_VERSION
742 PACKAGE_TARNAME
743 PACKAGE_NAME
744 PATH_SEPARATOR
745 SHELL'
746 ac_subst_files=''
747 ac_user_opts='
748 enable_option_checking
749 enable_shared
750 enable_static
751 with_pic
752 enable_fast_install
753 enable_dependency_tracking
754 with_gnu_ld
755 with_sysroot
756 enable_libtool_lock
757 with_debug
758 with_warn
759 with_python
760 '
761       ac_precious_vars='build_alias
762 host_alias
763 target_alias
764 CC
765 CFLAGS
766 LDFLAGS
767 LIBS
768 CPPFLAGS
769 CPP
770 PYTHON'
771 
772 
773 # Initialize some variables set by options.
774 ac_init_help=
775 ac_init_version=false
776 ac_unrecognized_opts=
777 ac_unrecognized_sep=
778 # The variables have the same names as the options, with
779 # dashes changed to underlines.
780 cache_file=/dev/null
781 exec_prefix=NONE
782 no_create=
783 no_recursion=
784 prefix=NONE
785 program_prefix=NONE
786 program_suffix=NONE
787 program_transform_name=s,x,x,
788 silent=
789 site=
790 srcdir=
791 verbose=
792 x_includes=NONE
793 x_libraries=NONE
794 
795 # Installation directory options.
796 # These are left unexpanded so users can "make install exec_prefix=/foo"
797 # and all the variables that are supposed to be based on exec_prefix
798 # by default will actually change.
799 # Use braces instead of parens because sh, perl, etc. also accept them.
800 # (The list follows the same order as the GNU Coding Standards.)
801 bindir='${exec_prefix}/bin'
802 sbindir='${exec_prefix}/sbin'
803 libexecdir='${exec_prefix}/libexec'
804 datarootdir='${prefix}/share'
805 datadir='${datarootdir}'
806 sysconfdir='${prefix}/etc'
807 sharedstatedir='${prefix}/com'
808 localstatedir='${prefix}/var'
809 includedir='${prefix}/include'
810 oldincludedir='/usr/include'
811 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
812 infodir='${datarootdir}/info'
813 htmldir='${docdir}'
814 dvidir='${docdir}'
815 pdfdir='${docdir}'
816 psdir='${docdir}'
817 libdir='${exec_prefix}/lib'
818 localedir='${datarootdir}/locale'
819 mandir='${datarootdir}/man'
820 
821 ac_prev=
822 ac_dashdash=
823 for ac_option
824 do
825   # If the previous option needs an argument, assign it.
826   if test -n "$ac_prev"; then
827     eval $ac_prev=\$ac_option
828     ac_prev=
829     continue
830   fi
831 
832   case $ac_option in
833   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
834   *=)   ac_optarg= ;;
835   *)    ac_optarg=yes ;;
836   esac
837 
838   # Accept the important Cygnus configure options, so we can diagnose typos.
839 
840   case $ac_dashdash$ac_option in
841   --)
842     ac_dashdash=yes ;;
843 
844   -bindir | --bindir | --bindi | --bind | --bin | --bi)
845     ac_prev=bindir ;;
846   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
847     bindir=$ac_optarg ;;
848 
849   -build | --build | --buil | --bui | --bu)
850     ac_prev=build_alias ;;
851   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
852     build_alias=$ac_optarg ;;
853 
854   -cache-file | --cache-file | --cache-fil | --cache-fi \
855   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
856     ac_prev=cache_file ;;
857   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
858   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
859     cache_file=$ac_optarg ;;
860 
861   --config-cache | -C)
862     cache_file=config.cache ;;
863 
864   -datadir | --datadir | --datadi | --datad)
865     ac_prev=datadir ;;
866   -datadir=* | --datadir=* | --datadi=* | --datad=*)
867     datadir=$ac_optarg ;;
868 
869   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
870   | --dataroo | --dataro | --datar)
871     ac_prev=datarootdir ;;
872   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
873   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
874     datarootdir=$ac_optarg ;;
875 
876   -disable-* | --disable-*)
877     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
878     # Reject names that are not valid shell variable names.
879     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
880       as_fn_error $? "invalid feature name: $ac_useropt"
881     ac_useropt_orig=$ac_useropt
882     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
883     case $ac_user_opts in
884       *"
885 "enable_$ac_useropt"
886 "*) ;;
887       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
888 	 ac_unrecognized_sep=', ';;
889     esac
890     eval enable_$ac_useropt=no ;;
891 
892   -docdir | --docdir | --docdi | --doc | --do)
893     ac_prev=docdir ;;
894   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
895     docdir=$ac_optarg ;;
896 
897   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
898     ac_prev=dvidir ;;
899   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
900     dvidir=$ac_optarg ;;
901 
902   -enable-* | --enable-*)
903     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
904     # Reject names that are not valid shell variable names.
905     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
906       as_fn_error $? "invalid feature name: $ac_useropt"
907     ac_useropt_orig=$ac_useropt
908     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
909     case $ac_user_opts in
910       *"
911 "enable_$ac_useropt"
912 "*) ;;
913       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
914 	 ac_unrecognized_sep=', ';;
915     esac
916     eval enable_$ac_useropt=\$ac_optarg ;;
917 
918   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
919   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
920   | --exec | --exe | --ex)
921     ac_prev=exec_prefix ;;
922   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
923   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
924   | --exec=* | --exe=* | --ex=*)
925     exec_prefix=$ac_optarg ;;
926 
927   -gas | --gas | --ga | --g)
928     # Obsolete; use --with-gas.
929     with_gas=yes ;;
930 
931   -help | --help | --hel | --he | -h)
932     ac_init_help=long ;;
933   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
934     ac_init_help=recursive ;;
935   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
936     ac_init_help=short ;;
937 
938   -host | --host | --hos | --ho)
939     ac_prev=host_alias ;;
940   -host=* | --host=* | --hos=* | --ho=*)
941     host_alias=$ac_optarg ;;
942 
943   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
944     ac_prev=htmldir ;;
945   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
946   | --ht=*)
947     htmldir=$ac_optarg ;;
948 
949   -includedir | --includedir | --includedi | --included | --include \
950   | --includ | --inclu | --incl | --inc)
951     ac_prev=includedir ;;
952   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
953   | --includ=* | --inclu=* | --incl=* | --inc=*)
954     includedir=$ac_optarg ;;
955 
956   -infodir | --infodir | --infodi | --infod | --info | --inf)
957     ac_prev=infodir ;;
958   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
959     infodir=$ac_optarg ;;
960 
961   -libdir | --libdir | --libdi | --libd)
962     ac_prev=libdir ;;
963   -libdir=* | --libdir=* | --libdi=* | --libd=*)
964     libdir=$ac_optarg ;;
965 
966   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
967   | --libexe | --libex | --libe)
968     ac_prev=libexecdir ;;
969   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
970   | --libexe=* | --libex=* | --libe=*)
971     libexecdir=$ac_optarg ;;
972 
973   -localedir | --localedir | --localedi | --localed | --locale)
974     ac_prev=localedir ;;
975   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
976     localedir=$ac_optarg ;;
977 
978   -localstatedir | --localstatedir | --localstatedi | --localstated \
979   | --localstate | --localstat | --localsta | --localst | --locals)
980     ac_prev=localstatedir ;;
981   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
982   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
983     localstatedir=$ac_optarg ;;
984 
985   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
986     ac_prev=mandir ;;
987   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
988     mandir=$ac_optarg ;;
989 
990   -nfp | --nfp | --nf)
991     # Obsolete; use --without-fp.
992     with_fp=no ;;
993 
994   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
995   | --no-cr | --no-c | -n)
996     no_create=yes ;;
997 
998   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
999   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1000     no_recursion=yes ;;
1001 
1002   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1003   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1004   | --oldin | --oldi | --old | --ol | --o)
1005     ac_prev=oldincludedir ;;
1006   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1007   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1008   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1009     oldincludedir=$ac_optarg ;;
1010 
1011   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1012     ac_prev=prefix ;;
1013   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1014     prefix=$ac_optarg ;;
1015 
1016   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1017   | --program-pre | --program-pr | --program-p)
1018     ac_prev=program_prefix ;;
1019   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1020   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1021     program_prefix=$ac_optarg ;;
1022 
1023   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1024   | --program-suf | --program-su | --program-s)
1025     ac_prev=program_suffix ;;
1026   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1027   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1028     program_suffix=$ac_optarg ;;
1029 
1030   -program-transform-name | --program-transform-name \
1031   | --program-transform-nam | --program-transform-na \
1032   | --program-transform-n | --program-transform- \
1033   | --program-transform | --program-transfor \
1034   | --program-transfo | --program-transf \
1035   | --program-trans | --program-tran \
1036   | --progr-tra | --program-tr | --program-t)
1037     ac_prev=program_transform_name ;;
1038   -program-transform-name=* | --program-transform-name=* \
1039   | --program-transform-nam=* | --program-transform-na=* \
1040   | --program-transform-n=* | --program-transform-=* \
1041   | --program-transform=* | --program-transfor=* \
1042   | --program-transfo=* | --program-transf=* \
1043   | --program-trans=* | --program-tran=* \
1044   | --progr-tra=* | --program-tr=* | --program-t=*)
1045     program_transform_name=$ac_optarg ;;
1046 
1047   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1048     ac_prev=pdfdir ;;
1049   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1050     pdfdir=$ac_optarg ;;
1051 
1052   -psdir | --psdir | --psdi | --psd | --ps)
1053     ac_prev=psdir ;;
1054   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1055     psdir=$ac_optarg ;;
1056 
1057   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1058   | -silent | --silent | --silen | --sile | --sil)
1059     silent=yes ;;
1060 
1061   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1062     ac_prev=sbindir ;;
1063   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1064   | --sbi=* | --sb=*)
1065     sbindir=$ac_optarg ;;
1066 
1067   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1068   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1069   | --sharedst | --shareds | --shared | --share | --shar \
1070   | --sha | --sh)
1071     ac_prev=sharedstatedir ;;
1072   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1073   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1074   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1075   | --sha=* | --sh=*)
1076     sharedstatedir=$ac_optarg ;;
1077 
1078   -site | --site | --sit)
1079     ac_prev=site ;;
1080   -site=* | --site=* | --sit=*)
1081     site=$ac_optarg ;;
1082 
1083   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1084     ac_prev=srcdir ;;
1085   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1086     srcdir=$ac_optarg ;;
1087 
1088   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1089   | --syscon | --sysco | --sysc | --sys | --sy)
1090     ac_prev=sysconfdir ;;
1091   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1092   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1093     sysconfdir=$ac_optarg ;;
1094 
1095   -target | --target | --targe | --targ | --tar | --ta | --t)
1096     ac_prev=target_alias ;;
1097   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1098     target_alias=$ac_optarg ;;
1099 
1100   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1101     verbose=yes ;;
1102 
1103   -version | --version | --versio | --versi | --vers | -V)
1104     ac_init_version=: ;;
1105 
1106   -with-* | --with-*)
1107     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1108     # Reject names that are not valid shell variable names.
1109     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1110       as_fn_error $? "invalid package name: $ac_useropt"
1111     ac_useropt_orig=$ac_useropt
1112     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1113     case $ac_user_opts in
1114       *"
1115 "with_$ac_useropt"
1116 "*) ;;
1117       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1118 	 ac_unrecognized_sep=', ';;
1119     esac
1120     eval with_$ac_useropt=\$ac_optarg ;;
1121 
1122   -without-* | --without-*)
1123     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1124     # Reject names that are not valid shell variable names.
1125     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1126       as_fn_error $? "invalid package name: $ac_useropt"
1127     ac_useropt_orig=$ac_useropt
1128     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1129     case $ac_user_opts in
1130       *"
1131 "with_$ac_useropt"
1132 "*) ;;
1133       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1134 	 ac_unrecognized_sep=', ';;
1135     esac
1136     eval with_$ac_useropt=no ;;
1137 
1138   --x)
1139     # Obsolete; use --with-x.
1140     with_x=yes ;;
1141 
1142   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1143   | --x-incl | --x-inc | --x-in | --x-i)
1144     ac_prev=x_includes ;;
1145   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1146   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1147     x_includes=$ac_optarg ;;
1148 
1149   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1150   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1151     ac_prev=x_libraries ;;
1152   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1153   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1154     x_libraries=$ac_optarg ;;
1155 
1156   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1157 Try \`$0 --help' for more information"
1158     ;;
1159 
1160   *=*)
1161     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1162     # Reject names that are not valid shell variable names.
1163     case $ac_envvar in #(
1164       '' | [0-9]* | *[!_$as_cr_alnum]* )
1165       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1166     esac
1167     eval $ac_envvar=\$ac_optarg
1168     export $ac_envvar ;;
1169 
1170   *)
1171     # FIXME: should be removed in autoconf 3.0.
1172     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1173     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1174       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1175     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1176     ;;
1177 
1178   esac
1179 done
1180 
1181 if test -n "$ac_prev"; then
1182   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1183   as_fn_error $? "missing argument to $ac_option"
1184 fi
1185 
1186 if test -n "$ac_unrecognized_opts"; then
1187   case $enable_option_checking in
1188     no) ;;
1189     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1190     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1191   esac
1192 fi
1193 
1194 # Check all directory arguments for consistency.
1195 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1196 		datadir sysconfdir sharedstatedir localstatedir includedir \
1197 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1198 		libdir localedir mandir
1199 do
1200   eval ac_val=\$$ac_var
1201   # Remove trailing slashes.
1202   case $ac_val in
1203     */ )
1204       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1205       eval $ac_var=\$ac_val;;
1206   esac
1207   # Be sure to have absolute directory names.
1208   case $ac_val in
1209     [\\/$]* | ?:[\\/]* )  continue;;
1210     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1211   esac
1212   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1213 done
1214 
1215 # There might be people who depend on the old broken behavior: `$host'
1216 # used to hold the argument of --host etc.
1217 # FIXME: To remove some day.
1218 build=$build_alias
1219 host=$host_alias
1220 target=$target_alias
1221 
1222 # FIXME: To remove some day.
1223 if test "x$host_alias" != x; then
1224   if test "x$build_alias" = x; then
1225     cross_compiling=maybe
1226     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1227     If a cross compiler is detected then cross compile mode will be used" >&2
1228   elif test "x$build_alias" != "x$host_alias"; then
1229     cross_compiling=yes
1230   fi
1231 fi
1232 
1233 ac_tool_prefix=
1234 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1235 
1236 test "$silent" = yes && exec 6>/dev/null
1237 
1238 
1239 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1240 ac_ls_di=`ls -di .` &&
1241 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1242   as_fn_error $? "working directory cannot be determined"
1243 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1244   as_fn_error $? "pwd does not report name of working directory"
1245 
1246 
1247 # Find the source files, if location was not specified.
1248 if test -z "$srcdir"; then
1249   ac_srcdir_defaulted=yes
1250   # Try the directory containing this script, then the parent directory.
1251   ac_confdir=`$as_dirname -- "$as_myself" ||
1252 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1253 	 X"$as_myself" : 'X\(//\)[^/]' \| \
1254 	 X"$as_myself" : 'X\(//\)$' \| \
1255 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1256 $as_echo X"$as_myself" |
1257     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1258 	    s//\1/
1259 	    q
1260 	  }
1261 	  /^X\(\/\/\)[^/].*/{
1262 	    s//\1/
1263 	    q
1264 	  }
1265 	  /^X\(\/\/\)$/{
1266 	    s//\1/
1267 	    q
1268 	  }
1269 	  /^X\(\/\).*/{
1270 	    s//\1/
1271 	    q
1272 	  }
1273 	  s/.*/./; q'`
1274   srcdir=$ac_confdir
1275   if test ! -r "$srcdir/$ac_unique_file"; then
1276     srcdir=..
1277   fi
1278 else
1279   ac_srcdir_defaulted=no
1280 fi
1281 if test ! -r "$srcdir/$ac_unique_file"; then
1282   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1283   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1284 fi
1285 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1286 ac_abs_confdir=`(
1287 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1288 	pwd)`
1289 # When building in place, set srcdir=.
1290 if test "$ac_abs_confdir" = "$ac_pwd"; then
1291   srcdir=.
1292 fi
1293 # Remove unnecessary trailing slashes from srcdir.
1294 # Double slashes in file names in object file debugging info
1295 # mess up M-x gdb in Emacs.
1296 case $srcdir in
1297 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1298 esac
1299 for ac_var in $ac_precious_vars; do
1300   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1301   eval ac_env_${ac_var}_value=\$${ac_var}
1302   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1303   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1304 done
1305 
1306 #
1307 # Report the --help message.
1308 #
1309 if test "$ac_init_help" = "long"; then
1310   # Omit some internal or obsolete options to make the list less imposing.
1311   # This message is too long to be a string in the A/UX 3.1 sh.
1312   cat <<_ACEOF
1313 \`configure' configures libcap-ng 0.7 to adapt to many kinds of systems.
1314 
1315 Usage: $0 [OPTION]... [VAR=VALUE]...
1316 
1317 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1318 VAR=VALUE.  See below for descriptions of some of the useful variables.
1319 
1320 Defaults for the options are specified in brackets.
1321 
1322 Configuration:
1323   -h, --help              display this help and exit
1324       --help=short        display options specific to this package
1325       --help=recursive    display the short help of all the included packages
1326   -V, --version           display version information and exit
1327   -q, --quiet, --silent   do not print \`checking ...' messages
1328       --cache-file=FILE   cache test results in FILE [disabled]
1329   -C, --config-cache      alias for \`--cache-file=config.cache'
1330   -n, --no-create         do not create output files
1331       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1332 
1333 Installation directories:
1334   --prefix=PREFIX         install architecture-independent files in PREFIX
1335                           [$ac_default_prefix]
1336   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1337                           [PREFIX]
1338 
1339 By default, \`make install' will install all the files in
1340 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1341 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1342 for instance \`--prefix=\$HOME'.
1343 
1344 For better control, use the options below.
1345 
1346 Fine tuning of the installation directories:
1347   --bindir=DIR            user executables [EPREFIX/bin]
1348   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1349   --libexecdir=DIR        program executables [EPREFIX/libexec]
1350   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1351   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1352   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1353   --libdir=DIR            object code libraries [EPREFIX/lib]
1354   --includedir=DIR        C header files [PREFIX/include]
1355   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1356   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1357   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1358   --infodir=DIR           info documentation [DATAROOTDIR/info]
1359   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1360   --mandir=DIR            man documentation [DATAROOTDIR/man]
1361   --docdir=DIR            documentation root [DATAROOTDIR/doc/libcap-ng]
1362   --htmldir=DIR           html documentation [DOCDIR]
1363   --dvidir=DIR            dvi documentation [DOCDIR]
1364   --pdfdir=DIR            pdf documentation [DOCDIR]
1365   --psdir=DIR             ps documentation [DOCDIR]
1366 _ACEOF
1367 
1368   cat <<\_ACEOF
1369 
1370 Program names:
1371   --program-prefix=PREFIX            prepend PREFIX to installed program names
1372   --program-suffix=SUFFIX            append SUFFIX to installed program names
1373   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1374 
1375 System types:
1376   --build=BUILD     configure for building on BUILD [guessed]
1377   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1378   --target=TARGET   configure for building compilers for TARGET [HOST]
1379 _ACEOF
1380 fi
1381 
1382 if test -n "$ac_init_help"; then
1383   case $ac_init_help in
1384      short | recursive ) echo "Configuration of libcap-ng 0.7:";;
1385    esac
1386   cat <<\_ACEOF
1387 
1388 Optional Features:
1389   --disable-option-checking  ignore unrecognized --enable/--with options
1390   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1391   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1392   --enable-shared[=PKGS]  build shared libraries [default=yes]
1393   --enable-static[=PKGS]  build static libraries [default=yes]
1394   --enable-fast-install[=PKGS]
1395                           optimize for fast installation [default=yes]
1396   --disable-dependency-tracking  speeds up one-time build
1397   --enable-dependency-tracking   do not reject slow dependency extractors
1398   --disable-libtool-lock  avoid locking (might break parallel builds)
1399 
1400 Optional Packages:
1401   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1402   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1403   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1404                           both]
1405   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1406   --with-sysroot=DIR Search for dependent libraries within DIR
1407                         (or the compiler's sysroot if not specified).
1408   --with-debug            turn on debugging [default=no]
1409   --with-warn             turn on warnings [default=yes]
1410   --with-python           enable building python bindings
1411 
1412 Some influential environment variables:
1413   CC          C compiler command
1414   CFLAGS      C compiler flags
1415   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1416               nonstandard directory <lib dir>
1417   LIBS        libraries to pass to the linker, e.g. -l<library>
1418   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1419               you have headers in a nonstandard directory <include dir>
1420   CPP         C preprocessor
1421   PYTHON      the Python interpreter
1422 
1423 Use these variables to override the choices made by `configure' or to help
1424 it to find libraries and programs with nonstandard names/locations.
1425 
1426 Report bugs to the package provider.
1427 _ACEOF
1428 ac_status=$?
1429 fi
1430 
1431 if test "$ac_init_help" = "recursive"; then
1432   # If there are subdirs, report their specific --help.
1433   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1434     test -d "$ac_dir" ||
1435       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1436       continue
1437     ac_builddir=.
1438 
1439 case "$ac_dir" in
1440 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1441 *)
1442   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1443   # A ".." for each directory in $ac_dir_suffix.
1444   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1445   case $ac_top_builddir_sub in
1446   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1447   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1448   esac ;;
1449 esac
1450 ac_abs_top_builddir=$ac_pwd
1451 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1452 # for backward compatibility:
1453 ac_top_builddir=$ac_top_build_prefix
1454 
1455 case $srcdir in
1456   .)  # We are building in place.
1457     ac_srcdir=.
1458     ac_top_srcdir=$ac_top_builddir_sub
1459     ac_abs_top_srcdir=$ac_pwd ;;
1460   [\\/]* | ?:[\\/]* )  # Absolute name.
1461     ac_srcdir=$srcdir$ac_dir_suffix;
1462     ac_top_srcdir=$srcdir
1463     ac_abs_top_srcdir=$srcdir ;;
1464   *) # Relative name.
1465     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1466     ac_top_srcdir=$ac_top_build_prefix$srcdir
1467     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1468 esac
1469 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1470 
1471     cd "$ac_dir" || { ac_status=$?; continue; }
1472     # Check for guested configure.
1473     if test -f "$ac_srcdir/configure.gnu"; then
1474       echo &&
1475       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1476     elif test -f "$ac_srcdir/configure"; then
1477       echo &&
1478       $SHELL "$ac_srcdir/configure" --help=recursive
1479     else
1480       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1481     fi || ac_status=$?
1482     cd "$ac_pwd" || { ac_status=$?; break; }
1483   done
1484 fi
1485 
1486 test -n "$ac_init_help" && exit $ac_status
1487 if $ac_init_version; then
1488   cat <<\_ACEOF
1489 libcap-ng configure 0.7
1490 generated by GNU Autoconf 2.68
1491 
1492 Copyright (C) 2010 Free Software Foundation, Inc.
1493 This configure script is free software; the Free Software Foundation
1494 gives unlimited permission to copy, distribute and modify it.
1495 _ACEOF
1496   exit
1497 fi
1498 
1499 ## ------------------------ ##
1500 ## Autoconf initialization. ##
1501 ## ------------------------ ##
1502 
1503 # ac_fn_c_try_compile LINENO
1504 # --------------------------
1505 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1506 ac_fn_c_try_compile ()
1507 {
1508   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1509   rm -f conftest.$ac_objext
1510   if { { ac_try="$ac_compile"
1511 case "(($ac_try" in
1512   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1513   *) ac_try_echo=$ac_try;;
1514 esac
1515 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1516 $as_echo "$ac_try_echo"; } >&5
1517   (eval "$ac_compile") 2>conftest.err
1518   ac_status=$?
1519   if test -s conftest.err; then
1520     grep -v '^ *+' conftest.err >conftest.er1
1521     cat conftest.er1 >&5
1522     mv -f conftest.er1 conftest.err
1523   fi
1524   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1525   test $ac_status = 0; } && {
1526 	 test -z "$ac_c_werror_flag" ||
1527 	 test ! -s conftest.err
1528        } && test -s conftest.$ac_objext; then :
1529   ac_retval=0
1530 else
1531   $as_echo "$as_me: failed program was:" >&5
1532 sed 's/^/| /' conftest.$ac_ext >&5
1533 
1534 	ac_retval=1
1535 fi
1536   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1537   as_fn_set_status $ac_retval
1538 
1539 } # ac_fn_c_try_compile
1540 
1541 # ac_fn_c_try_link LINENO
1542 # -----------------------
1543 # Try to link conftest.$ac_ext, and return whether this succeeded.
1544 ac_fn_c_try_link ()
1545 {
1546   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1547   rm -f conftest.$ac_objext conftest$ac_exeext
1548   if { { ac_try="$ac_link"
1549 case "(($ac_try" in
1550   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1551   *) ac_try_echo=$ac_try;;
1552 esac
1553 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1554 $as_echo "$ac_try_echo"; } >&5
1555   (eval "$ac_link") 2>conftest.err
1556   ac_status=$?
1557   if test -s conftest.err; then
1558     grep -v '^ *+' conftest.err >conftest.er1
1559     cat conftest.er1 >&5
1560     mv -f conftest.er1 conftest.err
1561   fi
1562   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1563   test $ac_status = 0; } && {
1564 	 test -z "$ac_c_werror_flag" ||
1565 	 test ! -s conftest.err
1566        } && test -s conftest$ac_exeext && {
1567 	 test "$cross_compiling" = yes ||
1568 	 $as_test_x conftest$ac_exeext
1569        }; then :
1570   ac_retval=0
1571 else
1572   $as_echo "$as_me: failed program was:" >&5
1573 sed 's/^/| /' conftest.$ac_ext >&5
1574 
1575 	ac_retval=1
1576 fi
1577   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1578   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1579   # interfere with the next link command; also delete a directory that is
1580   # left behind by Apple's compiler.  We do this before executing the actions.
1581   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1582   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1583   as_fn_set_status $ac_retval
1584 
1585 } # ac_fn_c_try_link
1586 
1587 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1588 # -------------------------------------------------------
1589 # Tests whether HEADER exists and can be compiled using the include files in
1590 # INCLUDES, setting the cache variable VAR accordingly.
1591 ac_fn_c_check_header_compile ()
1592 {
1593   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1594   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1595 $as_echo_n "checking for $2... " >&6; }
1596 if eval \${$3+:} false; then :
1597   $as_echo_n "(cached) " >&6
1598 else
1599   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1600 /* end confdefs.h.  */
1601 $4
1602 #include <$2>
1603 _ACEOF
1604 if ac_fn_c_try_compile "$LINENO"; then :
1605   eval "$3=yes"
1606 else
1607   eval "$3=no"
1608 fi
1609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1610 fi
1611 eval ac_res=\$$3
1612 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1613 $as_echo "$ac_res" >&6; }
1614   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1615 
1616 } # ac_fn_c_check_header_compile
1617 
1618 # ac_fn_c_try_cpp LINENO
1619 # ----------------------
1620 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1621 ac_fn_c_try_cpp ()
1622 {
1623   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1624   if { { ac_try="$ac_cpp conftest.$ac_ext"
1625 case "(($ac_try" in
1626   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1627   *) ac_try_echo=$ac_try;;
1628 esac
1629 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1630 $as_echo "$ac_try_echo"; } >&5
1631   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1632   ac_status=$?
1633   if test -s conftest.err; then
1634     grep -v '^ *+' conftest.err >conftest.er1
1635     cat conftest.er1 >&5
1636     mv -f conftest.er1 conftest.err
1637   fi
1638   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1639   test $ac_status = 0; } > conftest.i && {
1640 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1641 	 test ! -s conftest.err
1642        }; then :
1643   ac_retval=0
1644 else
1645   $as_echo "$as_me: failed program was:" >&5
1646 sed 's/^/| /' conftest.$ac_ext >&5
1647 
1648     ac_retval=1
1649 fi
1650   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1651   as_fn_set_status $ac_retval
1652 
1653 } # ac_fn_c_try_cpp
1654 
1655 # ac_fn_c_try_run LINENO
1656 # ----------------------
1657 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1658 # that executables *can* be run.
1659 ac_fn_c_try_run ()
1660 {
1661   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1662   if { { ac_try="$ac_link"
1663 case "(($ac_try" in
1664   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1665   *) ac_try_echo=$ac_try;;
1666 esac
1667 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1668 $as_echo "$ac_try_echo"; } >&5
1669   (eval "$ac_link") 2>&5
1670   ac_status=$?
1671   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1672   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1673   { { case "(($ac_try" in
1674   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1675   *) ac_try_echo=$ac_try;;
1676 esac
1677 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1678 $as_echo "$ac_try_echo"; } >&5
1679   (eval "$ac_try") 2>&5
1680   ac_status=$?
1681   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1682   test $ac_status = 0; }; }; then :
1683   ac_retval=0
1684 else
1685   $as_echo "$as_me: program exited with status $ac_status" >&5
1686        $as_echo "$as_me: failed program was:" >&5
1687 sed 's/^/| /' conftest.$ac_ext >&5
1688 
1689        ac_retval=$ac_status
1690 fi
1691   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1692   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1693   as_fn_set_status $ac_retval
1694 
1695 } # ac_fn_c_try_run
1696 
1697 # ac_fn_c_check_func LINENO FUNC VAR
1698 # ----------------------------------
1699 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1700 ac_fn_c_check_func ()
1701 {
1702   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1703   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1704 $as_echo_n "checking for $2... " >&6; }
1705 if eval \${$3+:} false; then :
1706   $as_echo_n "(cached) " >&6
1707 else
1708   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1709 /* end confdefs.h.  */
1710 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1711    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1712 #define $2 innocuous_$2
1713 
1714 /* System header to define __stub macros and hopefully few prototypes,
1715     which can conflict with char $2 (); below.
1716     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1717     <limits.h> exists even on freestanding compilers.  */
1718 
1719 #ifdef __STDC__
1720 # include <limits.h>
1721 #else
1722 # include <assert.h>
1723 #endif
1724 
1725 #undef $2
1726 
1727 /* Override any GCC internal prototype to avoid an error.
1728    Use char because int might match the return type of a GCC
1729    builtin and then its argument prototype would still apply.  */
1730 #ifdef __cplusplus
1731 extern "C"
1732 #endif
1733 char $2 ();
1734 /* The GNU C library defines this for functions which it implements
1735     to always fail with ENOSYS.  Some functions are actually named
1736     something starting with __ and the normal name is an alias.  */
1737 #if defined __stub_$2 || defined __stub___$2
1738 choke me
1739 #endif
1740 
1741 int
1742 main ()
1743 {
1744 return $2 ();
1745   ;
1746   return 0;
1747 }
1748 _ACEOF
1749 if ac_fn_c_try_link "$LINENO"; then :
1750   eval "$3=yes"
1751 else
1752   eval "$3=no"
1753 fi
1754 rm -f core conftest.err conftest.$ac_objext \
1755     conftest$ac_exeext conftest.$ac_ext
1756 fi
1757 eval ac_res=\$$3
1758 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1759 $as_echo "$ac_res" >&6; }
1760   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1761 
1762 } # ac_fn_c_check_func
1763 
1764 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1765 # -------------------------------------------------------
1766 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1767 # the include files in INCLUDES and setting the cache variable VAR
1768 # accordingly.
1769 ac_fn_c_check_header_mongrel ()
1770 {
1771   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1772   if eval \${$3+:} false; then :
1773   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1774 $as_echo_n "checking for $2... " >&6; }
1775 if eval \${$3+:} false; then :
1776   $as_echo_n "(cached) " >&6
1777 fi
1778 eval ac_res=\$$3
1779 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1780 $as_echo "$ac_res" >&6; }
1781 else
1782   # Is the header compilable?
1783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1784 $as_echo_n "checking $2 usability... " >&6; }
1785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1786 /* end confdefs.h.  */
1787 $4
1788 #include <$2>
1789 _ACEOF
1790 if ac_fn_c_try_compile "$LINENO"; then :
1791   ac_header_compiler=yes
1792 else
1793   ac_header_compiler=no
1794 fi
1795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1797 $as_echo "$ac_header_compiler" >&6; }
1798 
1799 # Is the header present?
1800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1801 $as_echo_n "checking $2 presence... " >&6; }
1802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1803 /* end confdefs.h.  */
1804 #include <$2>
1805 _ACEOF
1806 if ac_fn_c_try_cpp "$LINENO"; then :
1807   ac_header_preproc=yes
1808 else
1809   ac_header_preproc=no
1810 fi
1811 rm -f conftest.err conftest.i conftest.$ac_ext
1812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1813 $as_echo "$ac_header_preproc" >&6; }
1814 
1815 # So?  What about this header?
1816 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1817   yes:no: )
1818     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1819 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1820     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1821 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1822     ;;
1823   no:yes:* )
1824     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1825 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1826     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1827 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1828     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1829 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1830     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1831 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1832     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1833 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1834     ;;
1835 esac
1836   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1837 $as_echo_n "checking for $2... " >&6; }
1838 if eval \${$3+:} false; then :
1839   $as_echo_n "(cached) " >&6
1840 else
1841   eval "$3=\$ac_header_compiler"
1842 fi
1843 eval ac_res=\$$3
1844 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1845 $as_echo "$ac_res" >&6; }
1846 fi
1847   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1848 
1849 } # ac_fn_c_check_header_mongrel
1850 cat >config.log <<_ACEOF
1851 This file contains any messages produced by compilers while
1852 running configure, to aid debugging if configure makes a mistake.
1853 
1854 It was created by libcap-ng $as_me 0.7, which was
1855 generated by GNU Autoconf 2.68.  Invocation command line was
1856 
1857   $ $0 $@
1858 
1859 _ACEOF
1860 exec 5>>config.log
1861 {
1862 cat <<_ASUNAME
1863 ## --------- ##
1864 ## Platform. ##
1865 ## --------- ##
1866 
1867 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1868 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1869 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1870 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1871 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1872 
1873 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1874 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1875 
1876 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1877 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1878 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1879 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1880 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1881 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1882 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1883 
1884 _ASUNAME
1885 
1886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1887 for as_dir in $PATH
1888 do
1889   IFS=$as_save_IFS
1890   test -z "$as_dir" && as_dir=.
1891     $as_echo "PATH: $as_dir"
1892   done
1893 IFS=$as_save_IFS
1894 
1895 } >&5
1896 
1897 cat >&5 <<_ACEOF
1898 
1899 
1900 ## ----------- ##
1901 ## Core tests. ##
1902 ## ----------- ##
1903 
1904 _ACEOF
1905 
1906 
1907 # Keep a trace of the command line.
1908 # Strip out --no-create and --no-recursion so they do not pile up.
1909 # Strip out --silent because we don't want to record it for future runs.
1910 # Also quote any args containing shell meta-characters.
1911 # Make two passes to allow for proper duplicate-argument suppression.
1912 ac_configure_args=
1913 ac_configure_args0=
1914 ac_configure_args1=
1915 ac_must_keep_next=false
1916 for ac_pass in 1 2
1917 do
1918   for ac_arg
1919   do
1920     case $ac_arg in
1921     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1922     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1923     | -silent | --silent | --silen | --sile | --sil)
1924       continue ;;
1925     *\'*)
1926       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1927     esac
1928     case $ac_pass in
1929     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1930     2)
1931       as_fn_append ac_configure_args1 " '$ac_arg'"
1932       if test $ac_must_keep_next = true; then
1933 	ac_must_keep_next=false # Got value, back to normal.
1934       else
1935 	case $ac_arg in
1936 	  *=* | --config-cache | -C | -disable-* | --disable-* \
1937 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1938 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1939 	  | -with-* | --with-* | -without-* | --without-* | --x)
1940 	    case "$ac_configure_args0 " in
1941 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1942 	    esac
1943 	    ;;
1944 	  -* ) ac_must_keep_next=true ;;
1945 	esac
1946       fi
1947       as_fn_append ac_configure_args " '$ac_arg'"
1948       ;;
1949     esac
1950   done
1951 done
1952 { ac_configure_args0=; unset ac_configure_args0;}
1953 { ac_configure_args1=; unset ac_configure_args1;}
1954 
1955 # When interrupted or exit'd, cleanup temporary files, and complete
1956 # config.log.  We remove comments because anyway the quotes in there
1957 # would cause problems or look ugly.
1958 # WARNING: Use '\'' to represent an apostrophe within the trap.
1959 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1960 trap 'exit_status=$?
1961   # Save into config.log some information that might help in debugging.
1962   {
1963     echo
1964 
1965     $as_echo "## ---------------- ##
1966 ## Cache variables. ##
1967 ## ---------------- ##"
1968     echo
1969     # The following way of writing the cache mishandles newlines in values,
1970 (
1971   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1972     eval ac_val=\$$ac_var
1973     case $ac_val in #(
1974     *${as_nl}*)
1975       case $ac_var in #(
1976       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1977 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1978       esac
1979       case $ac_var in #(
1980       _ | IFS | as_nl) ;; #(
1981       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1982       *) { eval $ac_var=; unset $ac_var;} ;;
1983       esac ;;
1984     esac
1985   done
1986   (set) 2>&1 |
1987     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1988     *${as_nl}ac_space=\ *)
1989       sed -n \
1990 	"s/'\''/'\''\\\\'\'''\''/g;
1991 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1992       ;; #(
1993     *)
1994       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1995       ;;
1996     esac |
1997     sort
1998 )
1999     echo
2000 
2001     $as_echo "## ----------------- ##
2002 ## Output variables. ##
2003 ## ----------------- ##"
2004     echo
2005     for ac_var in $ac_subst_vars
2006     do
2007       eval ac_val=\$$ac_var
2008       case $ac_val in
2009       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2010       esac
2011       $as_echo "$ac_var='\''$ac_val'\''"
2012     done | sort
2013     echo
2014 
2015     if test -n "$ac_subst_files"; then
2016       $as_echo "## ------------------- ##
2017 ## File substitutions. ##
2018 ## ------------------- ##"
2019       echo
2020       for ac_var in $ac_subst_files
2021       do
2022 	eval ac_val=\$$ac_var
2023 	case $ac_val in
2024 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2025 	esac
2026 	$as_echo "$ac_var='\''$ac_val'\''"
2027       done | sort
2028       echo
2029     fi
2030 
2031     if test -s confdefs.h; then
2032       $as_echo "## ----------- ##
2033 ## confdefs.h. ##
2034 ## ----------- ##"
2035       echo
2036       cat confdefs.h
2037       echo
2038     fi
2039     test "$ac_signal" != 0 &&
2040       $as_echo "$as_me: caught signal $ac_signal"
2041     $as_echo "$as_me: exit $exit_status"
2042   } >&5
2043   rm -f core *.core core.conftest.* &&
2044     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2045     exit $exit_status
2046 ' 0
2047 for ac_signal in 1 2 13 15; do
2048   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2049 done
2050 ac_signal=0
2051 
2052 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2053 rm -f -r conftest* confdefs.h
2054 
2055 $as_echo "/* confdefs.h */" > confdefs.h
2056 
2057 # Predefined preprocessor variables.
2058 
2059 cat >>confdefs.h <<_ACEOF
2060 #define PACKAGE_NAME "$PACKAGE_NAME"
2061 _ACEOF
2062 
2063 cat >>confdefs.h <<_ACEOF
2064 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2065 _ACEOF
2066 
2067 cat >>confdefs.h <<_ACEOF
2068 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2069 _ACEOF
2070 
2071 cat >>confdefs.h <<_ACEOF
2072 #define PACKAGE_STRING "$PACKAGE_STRING"
2073 _ACEOF
2074 
2075 cat >>confdefs.h <<_ACEOF
2076 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2077 _ACEOF
2078 
2079 cat >>confdefs.h <<_ACEOF
2080 #define PACKAGE_URL "$PACKAGE_URL"
2081 _ACEOF
2082 
2083 
2084 # Let the site file select an alternate cache file if it wants to.
2085 # Prefer an explicitly selected file to automatically selected ones.
2086 ac_site_file1=NONE
2087 ac_site_file2=NONE
2088 if test -n "$CONFIG_SITE"; then
2089   # We do not want a PATH search for config.site.
2090   case $CONFIG_SITE in #((
2091     -*)  ac_site_file1=./$CONFIG_SITE;;
2092     */*) ac_site_file1=$CONFIG_SITE;;
2093     *)   ac_site_file1=./$CONFIG_SITE;;
2094   esac
2095 elif test "x$prefix" != xNONE; then
2096   ac_site_file1=$prefix/share/config.site
2097   ac_site_file2=$prefix/etc/config.site
2098 else
2099   ac_site_file1=$ac_default_prefix/share/config.site
2100   ac_site_file2=$ac_default_prefix/etc/config.site
2101 fi
2102 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2103 do
2104   test "x$ac_site_file" = xNONE && continue
2105   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2106     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2107 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2108     sed 's/^/| /' "$ac_site_file" >&5
2109     . "$ac_site_file" \
2110       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2111 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2112 as_fn_error $? "failed to load site script $ac_site_file
2113 See \`config.log' for more details" "$LINENO" 5; }
2114   fi
2115 done
2116 
2117 if test -r "$cache_file"; then
2118   # Some versions of bash will fail to source /dev/null (special files
2119   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2120   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2121     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2122 $as_echo "$as_me: loading cache $cache_file" >&6;}
2123     case $cache_file in
2124       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2125       *)                      . "./$cache_file";;
2126     esac
2127   fi
2128 else
2129   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2130 $as_echo "$as_me: creating cache $cache_file" >&6;}
2131   >$cache_file
2132 fi
2133 
2134 # Check that the precious variables saved in the cache have kept the same
2135 # value.
2136 ac_cache_corrupted=false
2137 for ac_var in $ac_precious_vars; do
2138   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2139   eval ac_new_set=\$ac_env_${ac_var}_set
2140   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2141   eval ac_new_val=\$ac_env_${ac_var}_value
2142   case $ac_old_set,$ac_new_set in
2143     set,)
2144       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2145 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2146       ac_cache_corrupted=: ;;
2147     ,set)
2148       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2149 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2150       ac_cache_corrupted=: ;;
2151     ,);;
2152     *)
2153       if test "x$ac_old_val" != "x$ac_new_val"; then
2154 	# differences in whitespace do not lead to failure.
2155 	ac_old_val_w=`echo x $ac_old_val`
2156 	ac_new_val_w=`echo x $ac_new_val`
2157 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2158 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2159 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2160 	  ac_cache_corrupted=:
2161 	else
2162 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2163 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2164 	  eval $ac_var=\$ac_old_val
2165 	fi
2166 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2167 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2168 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2169 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2170       fi;;
2171   esac
2172   # Pass precious variables to config.status.
2173   if test "$ac_new_set" = set; then
2174     case $ac_new_val in
2175     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2176     *) ac_arg=$ac_var=$ac_new_val ;;
2177     esac
2178     case " $ac_configure_args " in
2179       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2180       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2181     esac
2182   fi
2183 done
2184 if $ac_cache_corrupted; then
2185   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2186 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2187   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2188 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2189   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2190 fi
2191 ## -------------------- ##
2192 ## Main body of script. ##
2193 ## -------------------- ##
2194 
2195 ac_ext=c
2196 ac_cpp='$CPP $CPPFLAGS'
2197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2200 
2201 
2202 ac_config_headers="$ac_config_headers config.h"
2203 
2204 
2205 
2206 echo Configuring libcap-ng $VERSION
2207 
2208 ac_aux_dir=
2209 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2210   if test -f "$ac_dir/install-sh"; then
2211     ac_aux_dir=$ac_dir
2212     ac_install_sh="$ac_aux_dir/install-sh -c"
2213     break
2214   elif test -f "$ac_dir/install.sh"; then
2215     ac_aux_dir=$ac_dir
2216     ac_install_sh="$ac_aux_dir/install.sh -c"
2217     break
2218   elif test -f "$ac_dir/shtool"; then
2219     ac_aux_dir=$ac_dir
2220     ac_install_sh="$ac_aux_dir/shtool install -c"
2221     break
2222   fi
2223 done
2224 if test -z "$ac_aux_dir"; then
2225   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2226 fi
2227 
2228 # These three variables are undocumented and unsupported,
2229 # and are intended to be withdrawn in a future Autoconf release.
2230 # They can cause serious problems if a builder's source tree is in a directory
2231 # whose full name contains unusual characters.
2232 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2233 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2234 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2235 
2236 
2237 # Make sure we can run config.sub.
2238 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2239   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2240 
2241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2242 $as_echo_n "checking build system type... " >&6; }
2243 if ${ac_cv_build+:} false; then :
2244   $as_echo_n "(cached) " >&6
2245 else
2246   ac_build_alias=$build_alias
2247 test "x$ac_build_alias" = x &&
2248   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2249 test "x$ac_build_alias" = x &&
2250   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2251 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2252   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2253 
2254 fi
2255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2256 $as_echo "$ac_cv_build" >&6; }
2257 case $ac_cv_build in
2258 *-*-*) ;;
2259 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2260 esac
2261 build=$ac_cv_build
2262 ac_save_IFS=$IFS; IFS='-'
2263 set x $ac_cv_build
2264 shift
2265 build_cpu=$1
2266 build_vendor=$2
2267 shift; shift
2268 # Remember, the first character of IFS is used to create $*,
2269 # except with old shells:
2270 build_os=$*
2271 IFS=$ac_save_IFS
2272 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2273 
2274 
2275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2276 $as_echo_n "checking host system type... " >&6; }
2277 if ${ac_cv_host+:} false; then :
2278   $as_echo_n "(cached) " >&6
2279 else
2280   if test "x$host_alias" = x; then
2281   ac_cv_host=$ac_cv_build
2282 else
2283   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2284     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2285 fi
2286 
2287 fi
2288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2289 $as_echo "$ac_cv_host" >&6; }
2290 case $ac_cv_host in
2291 *-*-*) ;;
2292 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2293 esac
2294 host=$ac_cv_host
2295 ac_save_IFS=$IFS; IFS='-'
2296 set x $ac_cv_host
2297 shift
2298 host_cpu=$1
2299 host_vendor=$2
2300 shift; shift
2301 # Remember, the first character of IFS is used to create $*,
2302 # except with old shells:
2303 host_os=$*
2304 IFS=$ac_save_IFS
2305 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2306 
2307 
2308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2309 $as_echo_n "checking target system type... " >&6; }
2310 if ${ac_cv_target+:} false; then :
2311   $as_echo_n "(cached) " >&6
2312 else
2313   if test "x$target_alias" = x; then
2314   ac_cv_target=$ac_cv_host
2315 else
2316   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2317     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2318 fi
2319 
2320 fi
2321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2322 $as_echo "$ac_cv_target" >&6; }
2323 case $ac_cv_target in
2324 *-*-*) ;;
2325 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2326 esac
2327 target=$ac_cv_target
2328 ac_save_IFS=$IFS; IFS='-'
2329 set x $ac_cv_target
2330 shift
2331 target_cpu=$1
2332 target_vendor=$2
2333 shift; shift
2334 # Remember, the first character of IFS is used to create $*,
2335 # except with old shells:
2336 target_os=$*
2337 IFS=$ac_save_IFS
2338 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2339 
2340 
2341 # The aliases save the names the user supplied, while $host etc.
2342 # will get canonicalized.
2343 test -n "$target_alias" &&
2344   test "$program_prefix$program_suffix$program_transform_name" = \
2345     NONENONEs,x,x, &&
2346   program_prefix=${target_alias}-
2347 am__api_version='1.11'
2348 
2349 # Find a good install program.  We prefer a C program (faster),
2350 # so one script is as good as another.  But avoid the broken or
2351 # incompatible versions:
2352 # SysV /etc/install, /usr/sbin/install
2353 # SunOS /usr/etc/install
2354 # IRIX /sbin/install
2355 # AIX /bin/install
2356 # AmigaOS /C/install, which installs bootblocks on floppy discs
2357 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2358 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2359 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2360 # OS/2's system install, which has a completely different semantic
2361 # ./install, which can be erroneously created by make from ./install.sh.
2362 # Reject install programs that cannot install multiple files.
2363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2364 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2365 if test -z "$INSTALL"; then
2366 if ${ac_cv_path_install+:} false; then :
2367   $as_echo_n "(cached) " >&6
2368 else
2369   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2370 for as_dir in $PATH
2371 do
2372   IFS=$as_save_IFS
2373   test -z "$as_dir" && as_dir=.
2374     # Account for people who put trailing slashes in PATH elements.
2375 case $as_dir/ in #((
2376   ./ | .// | /[cC]/* | \
2377   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2378   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2379   /usr/ucb/* ) ;;
2380   *)
2381     # OSF1 and SCO ODT 3.0 have their own names for install.
2382     # Don't use installbsd from OSF since it installs stuff as root
2383     # by default.
2384     for ac_prog in ginstall scoinst install; do
2385       for ac_exec_ext in '' $ac_executable_extensions; do
2386 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2387 	  if test $ac_prog = install &&
2388 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2389 	    # AIX install.  It has an incompatible calling convention.
2390 	    :
2391 	  elif test $ac_prog = install &&
2392 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2393 	    # program-specific install script used by HP pwplus--don't use.
2394 	    :
2395 	  else
2396 	    rm -rf conftest.one conftest.two conftest.dir
2397 	    echo one > conftest.one
2398 	    echo two > conftest.two
2399 	    mkdir conftest.dir
2400 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2401 	      test -s conftest.one && test -s conftest.two &&
2402 	      test -s conftest.dir/conftest.one &&
2403 	      test -s conftest.dir/conftest.two
2404 	    then
2405 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2406 	      break 3
2407 	    fi
2408 	  fi
2409 	fi
2410       done
2411     done
2412     ;;
2413 esac
2414 
2415   done
2416 IFS=$as_save_IFS
2417 
2418 rm -rf conftest.one conftest.two conftest.dir
2419 
2420 fi
2421   if test "${ac_cv_path_install+set}" = set; then
2422     INSTALL=$ac_cv_path_install
2423   else
2424     # As a last resort, use the slow shell script.  Don't cache a
2425     # value for INSTALL within a source directory, because that will
2426     # break other packages using the cache if that directory is
2427     # removed, or if the value is a relative name.
2428     INSTALL=$ac_install_sh
2429   fi
2430 fi
2431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2432 $as_echo "$INSTALL" >&6; }
2433 
2434 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2435 # It thinks the first close brace ends the variable substitution.
2436 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2437 
2438 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2439 
2440 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2441 
2442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2443 $as_echo_n "checking whether build environment is sane... " >&6; }
2444 # Just in case
2445 sleep 1
2446 echo timestamp > conftest.file
2447 # Reject unsafe characters in $srcdir or the absolute working directory
2448 # name.  Accept space and tab only in the latter.
2449 am_lf='
2450 '
2451 case `pwd` in
2452   *[\\\"\#\$\&\'\`$am_lf]*)
2453     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2454 esac
2455 case $srcdir in
2456   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2457     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2458 esac
2459 
2460 # Do `set' in a subshell so we don't clobber the current shell's
2461 # arguments.  Must try -L first in case configure is actually a
2462 # symlink; some systems play weird games with the mod time of symlinks
2463 # (eg FreeBSD returns the mod time of the symlink's containing
2464 # directory).
2465 if (
2466    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2467    if test "$*" = "X"; then
2468       # -L didn't work.
2469       set X `ls -t "$srcdir/configure" conftest.file`
2470    fi
2471    rm -f conftest.file
2472    if test "$*" != "X $srcdir/configure conftest.file" \
2473       && test "$*" != "X conftest.file $srcdir/configure"; then
2474 
2475       # If neither matched, then we have a broken ls.  This can happen
2476       # if, for instance, CONFIG_SHELL is bash and it inherits a
2477       # broken ls alias from the environment.  This has actually
2478       # happened.  Such a system could not be considered "sane".
2479       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2480 alias in your environment" "$LINENO" 5
2481    fi
2482 
2483    test "$2" = conftest.file
2484    )
2485 then
2486    # Ok.
2487    :
2488 else
2489    as_fn_error $? "newly created file is older than distributed files!
2490 Check your system clock" "$LINENO" 5
2491 fi
2492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2493 $as_echo "yes" >&6; }
2494 test "$program_prefix" != NONE &&
2495   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2496 # Use a double $ so make ignores it.
2497 test "$program_suffix" != NONE &&
2498   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2499 # Double any \ or $.
2500 # By default was `s,x,x', remove it if useless.
2501 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2502 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2503 
2504 # expand $ac_aux_dir to an absolute path
2505 am_aux_dir=`cd $ac_aux_dir && pwd`
2506 
2507 if test x"${MISSING+set}" != xset; then
2508   case $am_aux_dir in
2509   *\ * | *\	*)
2510     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2511   *)
2512     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2513   esac
2514 fi
2515 # Use eval to expand $SHELL
2516 if eval "$MISSING --run true"; then
2517   am_missing_run="$MISSING --run "
2518 else
2519   am_missing_run=
2520   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2521 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2522 fi
2523 
2524 if test x"${install_sh}" != xset; then
2525   case $am_aux_dir in
2526   *\ * | *\	*)
2527     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2528   *)
2529     install_sh="\${SHELL} $am_aux_dir/install-sh"
2530   esac
2531 fi
2532 
2533 # Installed binaries are usually stripped using `strip' when the user
2534 # run `make install-strip'.  However `strip' might not be the right
2535 # tool to use in cross-compilation environments, therefore Automake
2536 # will honor the `STRIP' environment variable to overrule this program.
2537 if test "$cross_compiling" != no; then
2538   if test -n "$ac_tool_prefix"; then
2539   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2540 set dummy ${ac_tool_prefix}strip; ac_word=$2
2541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2542 $as_echo_n "checking for $ac_word... " >&6; }
2543 if ${ac_cv_prog_STRIP+:} false; then :
2544   $as_echo_n "(cached) " >&6
2545 else
2546   if test -n "$STRIP"; then
2547   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2548 else
2549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2550 for as_dir in $PATH
2551 do
2552   IFS=$as_save_IFS
2553   test -z "$as_dir" && as_dir=.
2554     for ac_exec_ext in '' $ac_executable_extensions; do
2555   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2556     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2557     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2558     break 2
2559   fi
2560 done
2561   done
2562 IFS=$as_save_IFS
2563 
2564 fi
2565 fi
2566 STRIP=$ac_cv_prog_STRIP
2567 if test -n "$STRIP"; then
2568   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2569 $as_echo "$STRIP" >&6; }
2570 else
2571   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2572 $as_echo "no" >&6; }
2573 fi
2574 
2575 
2576 fi
2577 if test -z "$ac_cv_prog_STRIP"; then
2578   ac_ct_STRIP=$STRIP
2579   # Extract the first word of "strip", so it can be a program name with args.
2580 set dummy strip; ac_word=$2
2581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2582 $as_echo_n "checking for $ac_word... " >&6; }
2583 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2584   $as_echo_n "(cached) " >&6
2585 else
2586   if test -n "$ac_ct_STRIP"; then
2587   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2588 else
2589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2590 for as_dir in $PATH
2591 do
2592   IFS=$as_save_IFS
2593   test -z "$as_dir" && as_dir=.
2594     for ac_exec_ext in '' $ac_executable_extensions; do
2595   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2596     ac_cv_prog_ac_ct_STRIP="strip"
2597     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2598     break 2
2599   fi
2600 done
2601   done
2602 IFS=$as_save_IFS
2603 
2604 fi
2605 fi
2606 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2607 if test -n "$ac_ct_STRIP"; then
2608   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2609 $as_echo "$ac_ct_STRIP" >&6; }
2610 else
2611   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2612 $as_echo "no" >&6; }
2613 fi
2614 
2615   if test "x$ac_ct_STRIP" = x; then
2616     STRIP=":"
2617   else
2618     case $cross_compiling:$ac_tool_warned in
2619 yes:)
2620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2621 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2622 ac_tool_warned=yes ;;
2623 esac
2624     STRIP=$ac_ct_STRIP
2625   fi
2626 else
2627   STRIP="$ac_cv_prog_STRIP"
2628 fi
2629 
2630 fi
2631 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2632 
2633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2634 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2635 if test -z "$MKDIR_P"; then
2636   if ${ac_cv_path_mkdir+:} false; then :
2637   $as_echo_n "(cached) " >&6
2638 else
2639   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2640 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2641 do
2642   IFS=$as_save_IFS
2643   test -z "$as_dir" && as_dir=.
2644     for ac_prog in mkdir gmkdir; do
2645 	 for ac_exec_ext in '' $ac_executable_extensions; do
2646 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2647 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2648 	     'mkdir (GNU coreutils) '* | \
2649 	     'mkdir (coreutils) '* | \
2650 	     'mkdir (fileutils) '4.1*)
2651 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2652 	       break 3;;
2653 	   esac
2654 	 done
2655        done
2656   done
2657 IFS=$as_save_IFS
2658 
2659 fi
2660 
2661   test -d ./--version && rmdir ./--version
2662   if test "${ac_cv_path_mkdir+set}" = set; then
2663     MKDIR_P="$ac_cv_path_mkdir -p"
2664   else
2665     # As a last resort, use the slow shell script.  Don't cache a
2666     # value for MKDIR_P within a source directory, because that will
2667     # break other packages using the cache if that directory is
2668     # removed, or if the value is a relative name.
2669     MKDIR_P="$ac_install_sh -d"
2670   fi
2671 fi
2672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2673 $as_echo "$MKDIR_P" >&6; }
2674 
2675 mkdir_p="$MKDIR_P"
2676 case $mkdir_p in
2677   [\\/$]* | ?:[\\/]*) ;;
2678   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2679 esac
2680 
2681 for ac_prog in gawk mawk nawk awk
2682 do
2683   # Extract the first word of "$ac_prog", so it can be a program name with args.
2684 set dummy $ac_prog; ac_word=$2
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2686 $as_echo_n "checking for $ac_word... " >&6; }
2687 if ${ac_cv_prog_AWK+:} false; then :
2688   $as_echo_n "(cached) " >&6
2689 else
2690   if test -n "$AWK"; then
2691   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2692 else
2693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2694 for as_dir in $PATH
2695 do
2696   IFS=$as_save_IFS
2697   test -z "$as_dir" && as_dir=.
2698     for ac_exec_ext in '' $ac_executable_extensions; do
2699   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2700     ac_cv_prog_AWK="$ac_prog"
2701     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2702     break 2
2703   fi
2704 done
2705   done
2706 IFS=$as_save_IFS
2707 
2708 fi
2709 fi
2710 AWK=$ac_cv_prog_AWK
2711 if test -n "$AWK"; then
2712   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2713 $as_echo "$AWK" >&6; }
2714 else
2715   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2716 $as_echo "no" >&6; }
2717 fi
2718 
2719 
2720   test -n "$AWK" && break
2721 done
2722 
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2724 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2725 set x ${MAKE-make}
2726 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2727 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2728   $as_echo_n "(cached) " >&6
2729 else
2730   cat >conftest.make <<\_ACEOF
2731 SHELL = /bin/sh
2732 all:
2733 	@echo '@@@%%%=$(MAKE)=@@@%%%'
2734 _ACEOF
2735 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2736 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2737   *@@@%%%=?*=@@@%%%*)
2738     eval ac_cv_prog_make_${ac_make}_set=yes;;
2739   *)
2740     eval ac_cv_prog_make_${ac_make}_set=no;;
2741 esac
2742 rm -f conftest.make
2743 fi
2744 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2745   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2746 $as_echo "yes" >&6; }
2747   SET_MAKE=
2748 else
2749   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2750 $as_echo "no" >&6; }
2751   SET_MAKE="MAKE=${MAKE-make}"
2752 fi
2753 
2754 rm -rf .tst 2>/dev/null
2755 mkdir .tst 2>/dev/null
2756 if test -d .tst; then
2757   am__leading_dot=.
2758 else
2759   am__leading_dot=_
2760 fi
2761 rmdir .tst 2>/dev/null
2762 
2763 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2764   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2765   # is not polluted with repeated "-I."
2766   am__isrc=' -I$(srcdir)'
2767   # test to see if srcdir already configured
2768   if test -f $srcdir/config.status; then
2769     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2770   fi
2771 fi
2772 
2773 # test whether we have cygpath
2774 if test -z "$CYGPATH_W"; then
2775   if (cygpath --version) >/dev/null 2>/dev/null; then
2776     CYGPATH_W='cygpath -w'
2777   else
2778     CYGPATH_W=echo
2779   fi
2780 fi
2781 
2782 
2783 # Define the identity of the package.
2784  PACKAGE='libcap-ng'
2785  VERSION='0.7'
2786 
2787 
2788 cat >>confdefs.h <<_ACEOF
2789 #define PACKAGE "$PACKAGE"
2790 _ACEOF
2791 
2792 
2793 cat >>confdefs.h <<_ACEOF
2794 #define VERSION "$VERSION"
2795 _ACEOF
2796 
2797 # Some tools Automake needs.
2798 
2799 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2800 
2801 
2802 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2803 
2804 
2805 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2806 
2807 
2808 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2809 
2810 
2811 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2812 
2813 # We need awk for the "check" target.  The system "awk" is bad on
2814 # some platforms.
2815 # Always define AMTAR for backward compatibility.  Yes, it's still used
2816 # in the wild :-(  We should find a proper way to deprecate it ...
2817 AMTAR='$${TAR-tar}'
2818 
2819 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2820 
2821 
2822 
2823 
2824 
2825 case `pwd` in
2826   *\ * | *\	*)
2827     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2828 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
2829 esac
2830 
2831 
2832 
2833 macro_version='2.4.2'
2834 macro_revision='1.3337'
2835 
2836 
2837 
2838 
2839 
2840 
2841 
2842 
2843 
2844 
2845 
2846 
2847 
2848 ltmain="$ac_aux_dir/ltmain.sh"
2849 
2850 # Backslashify metacharacters that are still active within
2851 # double-quoted strings.
2852 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
2853 
2854 # Same as above, but do not quote variable references.
2855 double_quote_subst='s/\(["`\\]\)/\\\1/g'
2856 
2857 # Sed substitution to delay expansion of an escaped shell variable in a
2858 # double_quote_subst'ed string.
2859 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
2860 
2861 # Sed substitution to delay expansion of an escaped single quote.
2862 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
2863 
2864 # Sed substitution to avoid accidental globbing in evaled expressions
2865 no_glob_subst='s/\*/\\\*/g'
2866 
2867 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2868 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
2869 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
2870 
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
2872 $as_echo_n "checking how to print strings... " >&6; }
2873 # Test print first, because it will be a builtin if present.
2874 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
2875    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
2876   ECHO='print -r --'
2877 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
2878   ECHO='printf %s\n'
2879 else
2880   # Use this function as a fallback that always works.
2881   func_fallback_echo ()
2882   {
2883     eval 'cat <<_LTECHO_EOF
2884 $1
2885 _LTECHO_EOF'
2886   }
2887   ECHO='func_fallback_echo'
2888 fi
2889 
2890 # func_echo_all arg...
2891 # Invoke $ECHO with all args, space-separated.
2892 func_echo_all ()
2893 {
2894     $ECHO ""
2895 }
2896 
2897 case "$ECHO" in
2898   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
2899 $as_echo "printf" >&6; } ;;
2900   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
2901 $as_echo "print -r" >&6; } ;;
2902   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
2903 $as_echo "cat" >&6; } ;;
2904 esac
2905 
2906 
2907 
2908 
2909 
2910 
2911 
2912 
2913 
2914 
2915 
2916 
2917 
2918 
2919 DEPDIR="${am__leading_dot}deps"
2920 
2921 ac_config_commands="$ac_config_commands depfiles"
2922 
2923 
2924 am_make=${MAKE-make}
2925 cat > confinc << 'END'
2926 am__doit:
2927 	@echo this is the am__doit target
2928 .PHONY: am__doit
2929 END
2930 # If we don't find an include directive, just comment out the code.
2931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2932 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2933 am__include="#"
2934 am__quote=
2935 _am_result=none
2936 # First try GNU make style include.
2937 echo "include confinc" > confmf
2938 # Ignore all kinds of additional output from `make'.
2939 case `$am_make -s -f confmf 2> /dev/null` in #(
2940 *the\ am__doit\ target*)
2941   am__include=include
2942   am__quote=
2943   _am_result=GNU
2944   ;;
2945 esac
2946 # Now try BSD make style include.
2947 if test "$am__include" = "#"; then
2948    echo '.include "confinc"' > confmf
2949    case `$am_make -s -f confmf 2> /dev/null` in #(
2950    *the\ am__doit\ target*)
2951      am__include=.include
2952      am__quote="\""
2953      _am_result=BSD
2954      ;;
2955    esac
2956 fi
2957 
2958 
2959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2960 $as_echo "$_am_result" >&6; }
2961 rm -f confinc confmf
2962 
2963 # Check whether --enable-dependency-tracking was given.
2964 if test "${enable_dependency_tracking+set}" = set; then :
2965   enableval=$enable_dependency_tracking;
2966 fi
2967 
2968 if test "x$enable_dependency_tracking" != xno; then
2969   am_depcomp="$ac_aux_dir/depcomp"
2970   AMDEPBACKSLASH='\'
2971   am__nodep='_no'
2972 fi
2973  if test "x$enable_dependency_tracking" != xno; then
2974   AMDEP_TRUE=
2975   AMDEP_FALSE='#'
2976 else
2977   AMDEP_TRUE='#'
2978   AMDEP_FALSE=
2979 fi
2980 
2981 
2982 ac_ext=c
2983 ac_cpp='$CPP $CPPFLAGS'
2984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2987 if test -n "$ac_tool_prefix"; then
2988   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2989 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2991 $as_echo_n "checking for $ac_word... " >&6; }
2992 if ${ac_cv_prog_CC+:} false; then :
2993   $as_echo_n "(cached) " >&6
2994 else
2995   if test -n "$CC"; then
2996   ac_cv_prog_CC="$CC" # Let the user override the test.
2997 else
2998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2999 for as_dir in $PATH
3000 do
3001   IFS=$as_save_IFS
3002   test -z "$as_dir" && as_dir=.
3003     for ac_exec_ext in '' $ac_executable_extensions; do
3004   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3005     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3006     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3007     break 2
3008   fi
3009 done
3010   done
3011 IFS=$as_save_IFS
3012 
3013 fi
3014 fi
3015 CC=$ac_cv_prog_CC
3016 if test -n "$CC"; then
3017   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3018 $as_echo "$CC" >&6; }
3019 else
3020   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3021 $as_echo "no" >&6; }
3022 fi
3023 
3024 
3025 fi
3026 if test -z "$ac_cv_prog_CC"; then
3027   ac_ct_CC=$CC
3028   # Extract the first word of "gcc", so it can be a program name with args.
3029 set dummy gcc; ac_word=$2
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3031 $as_echo_n "checking for $ac_word... " >&6; }
3032 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3033   $as_echo_n "(cached) " >&6
3034 else
3035   if test -n "$ac_ct_CC"; then
3036   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3037 else
3038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3039 for as_dir in $PATH
3040 do
3041   IFS=$as_save_IFS
3042   test -z "$as_dir" && as_dir=.
3043     for ac_exec_ext in '' $ac_executable_extensions; do
3044   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3045     ac_cv_prog_ac_ct_CC="gcc"
3046     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3047     break 2
3048   fi
3049 done
3050   done
3051 IFS=$as_save_IFS
3052 
3053 fi
3054 fi
3055 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3056 if test -n "$ac_ct_CC"; then
3057   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3058 $as_echo "$ac_ct_CC" >&6; }
3059 else
3060   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3061 $as_echo "no" >&6; }
3062 fi
3063 
3064   if test "x$ac_ct_CC" = x; then
3065     CC=""
3066   else
3067     case $cross_compiling:$ac_tool_warned in
3068 yes:)
3069 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3070 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3071 ac_tool_warned=yes ;;
3072 esac
3073     CC=$ac_ct_CC
3074   fi
3075 else
3076   CC="$ac_cv_prog_CC"
3077 fi
3078 
3079 if test -z "$CC"; then
3080           if test -n "$ac_tool_prefix"; then
3081     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3082 set dummy ${ac_tool_prefix}cc; ac_word=$2
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3084 $as_echo_n "checking for $ac_word... " >&6; }
3085 if ${ac_cv_prog_CC+:} false; then :
3086   $as_echo_n "(cached) " >&6
3087 else
3088   if test -n "$CC"; then
3089   ac_cv_prog_CC="$CC" # Let the user override the test.
3090 else
3091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3092 for as_dir in $PATH
3093 do
3094   IFS=$as_save_IFS
3095   test -z "$as_dir" && as_dir=.
3096     for ac_exec_ext in '' $ac_executable_extensions; do
3097   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3098     ac_cv_prog_CC="${ac_tool_prefix}cc"
3099     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3100     break 2
3101   fi
3102 done
3103   done
3104 IFS=$as_save_IFS
3105 
3106 fi
3107 fi
3108 CC=$ac_cv_prog_CC
3109 if test -n "$CC"; then
3110   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3111 $as_echo "$CC" >&6; }
3112 else
3113   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3114 $as_echo "no" >&6; }
3115 fi
3116 
3117 
3118   fi
3119 fi
3120 if test -z "$CC"; then
3121   # Extract the first word of "cc", so it can be a program name with args.
3122 set dummy cc; ac_word=$2
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3124 $as_echo_n "checking for $ac_word... " >&6; }
3125 if ${ac_cv_prog_CC+:} false; then :
3126   $as_echo_n "(cached) " >&6
3127 else
3128   if test -n "$CC"; then
3129   ac_cv_prog_CC="$CC" # Let the user override the test.
3130 else
3131   ac_prog_rejected=no
3132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3133 for as_dir in $PATH
3134 do
3135   IFS=$as_save_IFS
3136   test -z "$as_dir" && as_dir=.
3137     for ac_exec_ext in '' $ac_executable_extensions; do
3138   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3139     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3140        ac_prog_rejected=yes
3141        continue
3142      fi
3143     ac_cv_prog_CC="cc"
3144     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3145     break 2
3146   fi
3147 done
3148   done
3149 IFS=$as_save_IFS
3150 
3151 if test $ac_prog_rejected = yes; then
3152   # We found a bogon in the path, so make sure we never use it.
3153   set dummy $ac_cv_prog_CC
3154   shift
3155   if test $# != 0; then
3156     # We chose a different compiler from the bogus one.
3157     # However, it has the same basename, so the bogon will be chosen
3158     # first if we set CC to just the basename; use the full file name.
3159     shift
3160     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3161   fi
3162 fi
3163 fi
3164 fi
3165 CC=$ac_cv_prog_CC
3166 if test -n "$CC"; then
3167   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3168 $as_echo "$CC" >&6; }
3169 else
3170   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3171 $as_echo "no" >&6; }
3172 fi
3173 
3174 
3175 fi
3176 if test -z "$CC"; then
3177   if test -n "$ac_tool_prefix"; then
3178   for ac_prog in cl.exe
3179   do
3180     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3181 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3183 $as_echo_n "checking for $ac_word... " >&6; }
3184 if ${ac_cv_prog_CC+:} false; then :
3185   $as_echo_n "(cached) " >&6
3186 else
3187   if test -n "$CC"; then
3188   ac_cv_prog_CC="$CC" # Let the user override the test.
3189 else
3190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3191 for as_dir in $PATH
3192 do
3193   IFS=$as_save_IFS
3194   test -z "$as_dir" && as_dir=.
3195     for ac_exec_ext in '' $ac_executable_extensions; do
3196   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3197     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3198     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3199     break 2
3200   fi
3201 done
3202   done
3203 IFS=$as_save_IFS
3204 
3205 fi
3206 fi
3207 CC=$ac_cv_prog_CC
3208 if test -n "$CC"; then
3209   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3210 $as_echo "$CC" >&6; }
3211 else
3212   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3213 $as_echo "no" >&6; }
3214 fi
3215 
3216 
3217     test -n "$CC" && break
3218   done
3219 fi
3220 if test -z "$CC"; then
3221   ac_ct_CC=$CC
3222   for ac_prog in cl.exe
3223 do
3224   # Extract the first word of "$ac_prog", so it can be a program name with args.
3225 set dummy $ac_prog; ac_word=$2
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3227 $as_echo_n "checking for $ac_word... " >&6; }
3228 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3229   $as_echo_n "(cached) " >&6
3230 else
3231   if test -n "$ac_ct_CC"; then
3232   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3233 else
3234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3235 for as_dir in $PATH
3236 do
3237   IFS=$as_save_IFS
3238   test -z "$as_dir" && as_dir=.
3239     for ac_exec_ext in '' $ac_executable_extensions; do
3240   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3241     ac_cv_prog_ac_ct_CC="$ac_prog"
3242     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3243     break 2
3244   fi
3245 done
3246   done
3247 IFS=$as_save_IFS
3248 
3249 fi
3250 fi
3251 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3252 if test -n "$ac_ct_CC"; then
3253   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3254 $as_echo "$ac_ct_CC" >&6; }
3255 else
3256   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3257 $as_echo "no" >&6; }
3258 fi
3259 
3260 
3261   test -n "$ac_ct_CC" && break
3262 done
3263 
3264   if test "x$ac_ct_CC" = x; then
3265     CC=""
3266   else
3267     case $cross_compiling:$ac_tool_warned in
3268 yes:)
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3270 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3271 ac_tool_warned=yes ;;
3272 esac
3273     CC=$ac_ct_CC
3274   fi
3275 fi
3276 
3277 fi
3278 
3279 
3280 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3281 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3282 as_fn_error $? "no acceptable C compiler found in \$PATH
3283 See \`config.log' for more details" "$LINENO" 5; }
3284 
3285 # Provide some information about the compiler.
3286 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3287 set X $ac_compile
3288 ac_compiler=$2
3289 for ac_option in --version -v -V -qversion; do
3290   { { ac_try="$ac_compiler $ac_option >&5"
3291 case "(($ac_try" in
3292   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3293   *) ac_try_echo=$ac_try;;
3294 esac
3295 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3296 $as_echo "$ac_try_echo"; } >&5
3297   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3298   ac_status=$?
3299   if test -s conftest.err; then
3300     sed '10a\
3301 ... rest of stderr output deleted ...
3302          10q' conftest.err >conftest.er1
3303     cat conftest.er1 >&5
3304   fi
3305   rm -f conftest.er1 conftest.err
3306   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3307   test $ac_status = 0; }
3308 done
3309 
3310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3311 /* end confdefs.h.  */
3312 
3313 int
3314 main ()
3315 {
3316 
3317   ;
3318   return 0;
3319 }
3320 _ACEOF
3321 ac_clean_files_save=$ac_clean_files
3322 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3323 # Try to create an executable without -o first, disregard a.out.
3324 # It will help us diagnose broken compilers, and finding out an intuition
3325 # of exeext.
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3327 $as_echo_n "checking whether the C compiler works... " >&6; }
3328 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3329 
3330 # The possible output files:
3331 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3332 
3333 ac_rmfiles=
3334 for ac_file in $ac_files
3335 do
3336   case $ac_file in
3337     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3338     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3339   esac
3340 done
3341 rm -f $ac_rmfiles
3342 
3343 if { { ac_try="$ac_link_default"
3344 case "(($ac_try" in
3345   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3346   *) ac_try_echo=$ac_try;;
3347 esac
3348 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3349 $as_echo "$ac_try_echo"; } >&5
3350   (eval "$ac_link_default") 2>&5
3351   ac_status=$?
3352   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3353   test $ac_status = 0; }; then :
3354   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3355 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3356 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3357 # so that the user can short-circuit this test for compilers unknown to
3358 # Autoconf.
3359 for ac_file in $ac_files ''
3360 do
3361   test -f "$ac_file" || continue
3362   case $ac_file in
3363     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3364 	;;
3365     [ab].out )
3366 	# We found the default executable, but exeext='' is most
3367 	# certainly right.
3368 	break;;
3369     *.* )
3370 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3371 	then :; else
3372 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3373 	fi
3374 	# We set ac_cv_exeext here because the later test for it is not
3375 	# safe: cross compilers may not add the suffix if given an `-o'
3376 	# argument, so we may need to know it at that point already.
3377 	# Even if this section looks crufty: it has the advantage of
3378 	# actually working.
3379 	break;;
3380     * )
3381 	break;;
3382   esac
3383 done
3384 test "$ac_cv_exeext" = no && ac_cv_exeext=
3385 
3386 else
3387   ac_file=''
3388 fi
3389 if test -z "$ac_file"; then :
3390   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3391 $as_echo "no" >&6; }
3392 $as_echo "$as_me: failed program was:" >&5
3393 sed 's/^/| /' conftest.$ac_ext >&5
3394 
3395 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3396 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3397 as_fn_error 77 "C compiler cannot create executables
3398 See \`config.log' for more details" "$LINENO" 5; }
3399 else
3400   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3401 $as_echo "yes" >&6; }
3402 fi
3403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3404 $as_echo_n "checking for C compiler default output file name... " >&6; }
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3406 $as_echo "$ac_file" >&6; }
3407 ac_exeext=$ac_cv_exeext
3408 
3409 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3410 ac_clean_files=$ac_clean_files_save
3411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3412 $as_echo_n "checking for suffix of executables... " >&6; }
3413 if { { ac_try="$ac_link"
3414 case "(($ac_try" in
3415   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3416   *) ac_try_echo=$ac_try;;
3417 esac
3418 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3419 $as_echo "$ac_try_echo"; } >&5
3420   (eval "$ac_link") 2>&5
3421   ac_status=$?
3422   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3423   test $ac_status = 0; }; then :
3424   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3425 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3426 # work properly (i.e., refer to `conftest.exe'), while it won't with
3427 # `rm'.
3428 for ac_file in conftest.exe conftest conftest.*; do
3429   test -f "$ac_file" || continue
3430   case $ac_file in
3431     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3432     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3433 	  break;;
3434     * ) break;;
3435   esac
3436 done
3437 else
3438   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3439 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3440 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3441 See \`config.log' for more details" "$LINENO" 5; }
3442 fi
3443 rm -f conftest conftest$ac_cv_exeext
3444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3445 $as_echo "$ac_cv_exeext" >&6; }
3446 
3447 rm -f conftest.$ac_ext
3448 EXEEXT=$ac_cv_exeext
3449 ac_exeext=$EXEEXT
3450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3451 /* end confdefs.h.  */
3452 #include <stdio.h>
3453 int
3454 main ()
3455 {
3456 FILE *f = fopen ("conftest.out", "w");
3457  return ferror (f) || fclose (f) != 0;
3458 
3459   ;
3460   return 0;
3461 }
3462 _ACEOF
3463 ac_clean_files="$ac_clean_files conftest.out"
3464 # Check that the compiler produces executables we can run.  If not, either
3465 # the compiler is broken, or we cross compile.
3466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3467 $as_echo_n "checking whether we are cross compiling... " >&6; }
3468 if test "$cross_compiling" != yes; then
3469   { { ac_try="$ac_link"
3470 case "(($ac_try" in
3471   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3472   *) ac_try_echo=$ac_try;;
3473 esac
3474 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3475 $as_echo "$ac_try_echo"; } >&5
3476   (eval "$ac_link") 2>&5
3477   ac_status=$?
3478   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3479   test $ac_status = 0; }
3480   if { ac_try='./conftest$ac_cv_exeext'
3481   { { case "(($ac_try" in
3482   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3483   *) ac_try_echo=$ac_try;;
3484 esac
3485 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3486 $as_echo "$ac_try_echo"; } >&5
3487   (eval "$ac_try") 2>&5
3488   ac_status=$?
3489   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3490   test $ac_status = 0; }; }; then
3491     cross_compiling=no
3492   else
3493     if test "$cross_compiling" = maybe; then
3494 	cross_compiling=yes
3495     else
3496 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3497 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3498 as_fn_error $? "cannot run C compiled programs.
3499 If you meant to cross compile, use \`--host'.
3500 See \`config.log' for more details" "$LINENO" 5; }
3501     fi
3502   fi
3503 fi
3504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3505 $as_echo "$cross_compiling" >&6; }
3506 
3507 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3508 ac_clean_files=$ac_clean_files_save
3509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3510 $as_echo_n "checking for suffix of object files... " >&6; }
3511 if ${ac_cv_objext+:} false; then :
3512   $as_echo_n "(cached) " >&6
3513 else
3514   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3515 /* end confdefs.h.  */
3516 
3517 int
3518 main ()
3519 {
3520 
3521   ;
3522   return 0;
3523 }
3524 _ACEOF
3525 rm -f conftest.o conftest.obj
3526 if { { ac_try="$ac_compile"
3527 case "(($ac_try" in
3528   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3529   *) ac_try_echo=$ac_try;;
3530 esac
3531 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3532 $as_echo "$ac_try_echo"; } >&5
3533   (eval "$ac_compile") 2>&5
3534   ac_status=$?
3535   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3536   test $ac_status = 0; }; then :
3537   for ac_file in conftest.o conftest.obj conftest.*; do
3538   test -f "$ac_file" || continue;
3539   case $ac_file in
3540     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3541     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3542        break;;
3543   esac
3544 done
3545 else
3546   $as_echo "$as_me: failed program was:" >&5
3547 sed 's/^/| /' conftest.$ac_ext >&5
3548 
3549 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3550 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3551 as_fn_error $? "cannot compute suffix of object files: cannot compile
3552 See \`config.log' for more details" "$LINENO" 5; }
3553 fi
3554 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3555 fi
3556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3557 $as_echo "$ac_cv_objext" >&6; }
3558 OBJEXT=$ac_cv_objext
3559 ac_objext=$OBJEXT
3560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3561 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3562 if ${ac_cv_c_compiler_gnu+:} false; then :
3563   $as_echo_n "(cached) " >&6
3564 else
3565   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3566 /* end confdefs.h.  */
3567 
3568 int
3569 main ()
3570 {
3571 #ifndef __GNUC__
3572        choke me
3573 #endif
3574 
3575   ;
3576   return 0;
3577 }
3578 _ACEOF
3579 if ac_fn_c_try_compile "$LINENO"; then :
3580   ac_compiler_gnu=yes
3581 else
3582   ac_compiler_gnu=no
3583 fi
3584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3585 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3586 
3587 fi
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3589 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3590 if test $ac_compiler_gnu = yes; then
3591   GCC=yes
3592 else
3593   GCC=
3594 fi
3595 ac_test_CFLAGS=${CFLAGS+set}
3596 ac_save_CFLAGS=$CFLAGS
3597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3598 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3599 if ${ac_cv_prog_cc_g+:} false; then :
3600   $as_echo_n "(cached) " >&6
3601 else
3602   ac_save_c_werror_flag=$ac_c_werror_flag
3603    ac_c_werror_flag=yes
3604    ac_cv_prog_cc_g=no
3605    CFLAGS="-g"
3606    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3607 /* end confdefs.h.  */
3608 
3609 int
3610 main ()
3611 {
3612 
3613   ;
3614   return 0;
3615 }
3616 _ACEOF
3617 if ac_fn_c_try_compile "$LINENO"; then :
3618   ac_cv_prog_cc_g=yes
3619 else
3620   CFLAGS=""
3621       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3622 /* end confdefs.h.  */
3623 
3624 int
3625 main ()
3626 {
3627 
3628   ;
3629   return 0;
3630 }
3631 _ACEOF
3632 if ac_fn_c_try_compile "$LINENO"; then :
3633 
3634 else
3635   ac_c_werror_flag=$ac_save_c_werror_flag
3636 	 CFLAGS="-g"
3637 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3638 /* end confdefs.h.  */
3639 
3640 int
3641 main ()
3642 {
3643 
3644   ;
3645   return 0;
3646 }
3647 _ACEOF
3648 if ac_fn_c_try_compile "$LINENO"; then :
3649   ac_cv_prog_cc_g=yes
3650 fi
3651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3652 fi
3653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3654 fi
3655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3656    ac_c_werror_flag=$ac_save_c_werror_flag
3657 fi
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3659 $as_echo "$ac_cv_prog_cc_g" >&6; }
3660 if test "$ac_test_CFLAGS" = set; then
3661   CFLAGS=$ac_save_CFLAGS
3662 elif test $ac_cv_prog_cc_g = yes; then
3663   if test "$GCC" = yes; then
3664     CFLAGS="-g -O2"
3665   else
3666     CFLAGS="-g"
3667   fi
3668 else
3669   if test "$GCC" = yes; then
3670     CFLAGS="-O2"
3671   else
3672     CFLAGS=
3673   fi
3674 fi
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3676 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3677 if ${ac_cv_prog_cc_c89+:} false; then :
3678   $as_echo_n "(cached) " >&6
3679 else
3680   ac_cv_prog_cc_c89=no
3681 ac_save_CC=$CC
3682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3683 /* end confdefs.h.  */
3684 #include <stdarg.h>
3685 #include <stdio.h>
3686 #include <sys/types.h>
3687 #include <sys/stat.h>
3688 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3689 struct buf { int x; };
3690 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3691 static char *e (p, i)
3692      char **p;
3693      int i;
3694 {
3695   return p[i];
3696 }
3697 static char *f (char * (*g) (char **, int), char **p, ...)
3698 {
3699   char *s;
3700   va_list v;
3701   va_start (v,p);
3702   s = g (p, va_arg (v,int));
3703   va_end (v);
3704   return s;
3705 }
3706 
3707 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3708    function prototypes and stuff, but not '\xHH' hex character constants.
3709    These don't provoke an error unfortunately, instead are silently treated
3710    as 'x'.  The following induces an error, until -std is added to get
3711    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3712    array size at least.  It's necessary to write '\x00'==0 to get something
3713    that's true only with -std.  */
3714 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3715 
3716 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3717    inside strings and character constants.  */
3718 #define FOO(x) 'x'
3719 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3720 
3721 int test (int i, double x);
3722 struct s1 {int (*f) (int a);};
3723 struct s2 {int (*f) (double a);};
3724 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3725 int argc;
3726 char **argv;
3727 int
3728 main ()
3729 {
3730 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3731   ;
3732   return 0;
3733 }
3734 _ACEOF
3735 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3736 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3737 do
3738   CC="$ac_save_CC $ac_arg"
3739   if ac_fn_c_try_compile "$LINENO"; then :
3740   ac_cv_prog_cc_c89=$ac_arg
3741 fi
3742 rm -f core conftest.err conftest.$ac_objext
3743   test "x$ac_cv_prog_cc_c89" != "xno" && break
3744 done
3745 rm -f conftest.$ac_ext
3746 CC=$ac_save_CC
3747 
3748 fi
3749 # AC_CACHE_VAL
3750 case "x$ac_cv_prog_cc_c89" in
3751   x)
3752     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3753 $as_echo "none needed" >&6; } ;;
3754   xno)
3755     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3756 $as_echo "unsupported" >&6; } ;;
3757   *)
3758     CC="$CC $ac_cv_prog_cc_c89"
3759     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3760 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3761 esac
3762 if test "x$ac_cv_prog_cc_c89" != xno; then :
3763 
3764 fi
3765 
3766 ac_ext=c
3767 ac_cpp='$CPP $CPPFLAGS'
3768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3771 
3772 depcc="$CC"   am_compiler_list=
3773 
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3775 $as_echo_n "checking dependency style of $depcc... " >&6; }
3776 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3777   $as_echo_n "(cached) " >&6
3778 else
3779   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3780   # We make a subdir and do the tests there.  Otherwise we can end up
3781   # making bogus files that we don't know about and never remove.  For
3782   # instance it was reported that on HP-UX the gcc test will end up
3783   # making a dummy file named `D' -- because `-MD' means `put the output
3784   # in D'.
3785   rm -rf conftest.dir
3786   mkdir conftest.dir
3787   # Copy depcomp to subdir because otherwise we won't find it if we're
3788   # using a relative directory.
3789   cp "$am_depcomp" conftest.dir
3790   cd conftest.dir
3791   # We will build objects and dependencies in a subdirectory because
3792   # it helps to detect inapplicable dependency modes.  For instance
3793   # both Tru64's cc and ICC support -MD to output dependencies as a
3794   # side effect of compilation, but ICC will put the dependencies in
3795   # the current directory while Tru64 will put them in the object
3796   # directory.
3797   mkdir sub
3798 
3799   am_cv_CC_dependencies_compiler_type=none
3800   if test "$am_compiler_list" = ""; then
3801      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3802   fi
3803   am__universal=false
3804   case " $depcc " in #(
3805      *\ -arch\ *\ -arch\ *) am__universal=true ;;
3806      esac
3807 
3808   for depmode in $am_compiler_list; do
3809     # Setup a source with many dependencies, because some compilers
3810     # like to wrap large dependency lists on column 80 (with \), and
3811     # we should not choose a depcomp mode which is confused by this.
3812     #
3813     # We need to recreate these files for each test, as the compiler may
3814     # overwrite some of them when testing with obscure command lines.
3815     # This happens at least with the AIX C compiler.
3816     : > sub/conftest.c
3817     for i in 1 2 3 4 5 6; do
3818       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3819       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3820       # Solaris 8's {/usr,}/bin/sh.
3821       touch sub/conftst$i.h
3822     done
3823     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3824 
3825     # We check with `-c' and `-o' for the sake of the "dashmstdout"
3826     # mode.  It turns out that the SunPro C++ compiler does not properly
3827     # handle `-M -o', and we need to detect this.  Also, some Intel
3828     # versions had trouble with output in subdirs
3829     am__obj=sub/conftest.${OBJEXT-o}
3830     am__minus_obj="-o $am__obj"
3831     case $depmode in
3832     gcc)
3833       # This depmode causes a compiler race in universal mode.
3834       test "$am__universal" = false || continue
3835       ;;
3836     nosideeffect)
3837       # after this tag, mechanisms are not by side-effect, so they'll
3838       # only be used when explicitly requested
3839       if test "x$enable_dependency_tracking" = xyes; then
3840 	continue
3841       else
3842 	break
3843       fi
3844       ;;
3845     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3846       # This compiler won't grok `-c -o', but also, the minuso test has
3847       # not run yet.  These depmodes are late enough in the game, and
3848       # so weak that their functioning should not be impacted.
3849       am__obj=conftest.${OBJEXT-o}
3850       am__minus_obj=
3851       ;;
3852     none) break ;;
3853     esac
3854     if depmode=$depmode \
3855        source=sub/conftest.c object=$am__obj \
3856        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3857        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3858          >/dev/null 2>conftest.err &&
3859        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3860        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3861        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3862        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3863       # icc doesn't choke on unknown options, it will just issue warnings
3864       # or remarks (even with -Werror).  So we grep stderr for any message
3865       # that says an option was ignored or not supported.
3866       # When given -MP, icc 7.0 and 7.1 complain thusly:
3867       #   icc: Command line warning: ignoring option '-M'; no argument required
3868       # The diagnosis changed in icc 8.0:
3869       #   icc: Command line remark: option '-MP' not supported
3870       if (grep 'ignoring option' conftest.err ||
3871           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3872         am_cv_CC_dependencies_compiler_type=$depmode
3873         break
3874       fi
3875     fi
3876   done
3877 
3878   cd ..
3879   rm -rf conftest.dir
3880 else
3881   am_cv_CC_dependencies_compiler_type=none
3882 fi
3883 
3884 fi
3885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3886 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3887 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3888 
3889  if
3890   test "x$enable_dependency_tracking" != xno \
3891   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3892   am__fastdepCC_TRUE=
3893   am__fastdepCC_FALSE='#'
3894 else
3895   am__fastdepCC_TRUE='#'
3896   am__fastdepCC_FALSE=
3897 fi
3898 
3899 
3900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3901 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3902 if ${ac_cv_path_SED+:} false; then :
3903   $as_echo_n "(cached) " >&6
3904 else
3905             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3906      for ac_i in 1 2 3 4 5 6 7; do
3907        ac_script="$ac_script$as_nl$ac_script"
3908      done
3909      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3910      { ac_script=; unset ac_script;}
3911      if test -z "$SED"; then
3912   ac_path_SED_found=false
3913   # Loop through the user's path and test for each of PROGNAME-LIST
3914   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3915 for as_dir in $PATH
3916 do
3917   IFS=$as_save_IFS
3918   test -z "$as_dir" && as_dir=.
3919     for ac_prog in sed gsed; do
3920     for ac_exec_ext in '' $ac_executable_extensions; do
3921       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3922       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
3923 # Check for GNU ac_path_SED and select it if it is found.
3924   # Check for GNU $ac_path_SED
3925 case `"$ac_path_SED" --version 2>&1` in
3926 *GNU*)
3927   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3928 *)
3929   ac_count=0
3930   $as_echo_n 0123456789 >"conftest.in"
3931   while :
3932   do
3933     cat "conftest.in" "conftest.in" >"conftest.tmp"
3934     mv "conftest.tmp" "conftest.in"
3935     cp "conftest.in" "conftest.nl"
3936     $as_echo '' >> "conftest.nl"
3937     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3938     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3939     as_fn_arith $ac_count + 1 && ac_count=$as_val
3940     if test $ac_count -gt ${ac_path_SED_max-0}; then
3941       # Best one so far, save it but keep looking for a better one
3942       ac_cv_path_SED="$ac_path_SED"
3943       ac_path_SED_max=$ac_count
3944     fi
3945     # 10*(2^10) chars as input seems more than enough
3946     test $ac_count -gt 10 && break
3947   done
3948   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3949 esac
3950 
3951       $ac_path_SED_found && break 3
3952     done
3953   done
3954   done
3955 IFS=$as_save_IFS
3956   if test -z "$ac_cv_path_SED"; then
3957     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
3958   fi
3959 else
3960   ac_cv_path_SED=$SED
3961 fi
3962 
3963 fi
3964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
3965 $as_echo "$ac_cv_path_SED" >&6; }
3966  SED="$ac_cv_path_SED"
3967   rm -f conftest.sed
3968 
3969 test -z "$SED" && SED=sed
3970 Xsed="$SED -e 1s/^X//"
3971 
3972 
3973 
3974 
3975 
3976 
3977 
3978 
3979 
3980 
3981 
3982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3983 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3984 if ${ac_cv_path_GREP+:} false; then :
3985   $as_echo_n "(cached) " >&6
3986 else
3987   if test -z "$GREP"; then
3988   ac_path_GREP_found=false
3989   # Loop through the user's path and test for each of PROGNAME-LIST
3990   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3991 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3992 do
3993   IFS=$as_save_IFS
3994   test -z "$as_dir" && as_dir=.
3995     for ac_prog in grep ggrep; do
3996     for ac_exec_ext in '' $ac_executable_extensions; do
3997       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3998       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3999 # Check for GNU ac_path_GREP and select it if it is found.
4000   # Check for GNU $ac_path_GREP
4001 case `"$ac_path_GREP" --version 2>&1` in
4002 *GNU*)
4003   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4004 *)
4005   ac_count=0
4006   $as_echo_n 0123456789 >"conftest.in"
4007   while :
4008   do
4009     cat "conftest.in" "conftest.in" >"conftest.tmp"
4010     mv "conftest.tmp" "conftest.in"
4011     cp "conftest.in" "conftest.nl"
4012     $as_echo 'GREP' >> "conftest.nl"
4013     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4014     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4015     as_fn_arith $ac_count + 1 && ac_count=$as_val
4016     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4017       # Best one so far, save it but keep looking for a better one
4018       ac_cv_path_GREP="$ac_path_GREP"
4019       ac_path_GREP_max=$ac_count
4020     fi
4021     # 10*(2^10) chars as input seems more than enough
4022     test $ac_count -gt 10 && break
4023   done
4024   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4025 esac
4026 
4027       $ac_path_GREP_found && break 3
4028     done
4029   done
4030   done
4031 IFS=$as_save_IFS
4032   if test -z "$ac_cv_path_GREP"; then
4033     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4034   fi
4035 else
4036   ac_cv_path_GREP=$GREP
4037 fi
4038 
4039 fi
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4041 $as_echo "$ac_cv_path_GREP" >&6; }
4042  GREP="$ac_cv_path_GREP"
4043 
4044 
4045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4046 $as_echo_n "checking for egrep... " >&6; }
4047 if ${ac_cv_path_EGREP+:} false; then :
4048   $as_echo_n "(cached) " >&6
4049 else
4050   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4051    then ac_cv_path_EGREP="$GREP -E"
4052    else
4053      if test -z "$EGREP"; then
4054   ac_path_EGREP_found=false
4055   # Loop through the user's path and test for each of PROGNAME-LIST
4056   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4057 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4058 do
4059   IFS=$as_save_IFS
4060   test -z "$as_dir" && as_dir=.
4061     for ac_prog in egrep; do
4062     for ac_exec_ext in '' $ac_executable_extensions; do
4063       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4064       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4065 # Check for GNU ac_path_EGREP and select it if it is found.
4066   # Check for GNU $ac_path_EGREP
4067 case `"$ac_path_EGREP" --version 2>&1` in
4068 *GNU*)
4069   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4070 *)
4071   ac_count=0
4072   $as_echo_n 0123456789 >"conftest.in"
4073   while :
4074   do
4075     cat "conftest.in" "conftest.in" >"conftest.tmp"
4076     mv "conftest.tmp" "conftest.in"
4077     cp "conftest.in" "conftest.nl"
4078     $as_echo 'EGREP' >> "conftest.nl"
4079     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4080     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4081     as_fn_arith $ac_count + 1 && ac_count=$as_val
4082     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4083       # Best one so far, save it but keep looking for a better one
4084       ac_cv_path_EGREP="$ac_path_EGREP"
4085       ac_path_EGREP_max=$ac_count
4086     fi
4087     # 10*(2^10) chars as input seems more than enough
4088     test $ac_count -gt 10 && break
4089   done
4090   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4091 esac
4092 
4093       $ac_path_EGREP_found && break 3
4094     done
4095   done
4096   done
4097 IFS=$as_save_IFS
4098   if test -z "$ac_cv_path_EGREP"; then
4099     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4100   fi
4101 else
4102   ac_cv_path_EGREP=$EGREP
4103 fi
4104 
4105    fi
4106 fi
4107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4108 $as_echo "$ac_cv_path_EGREP" >&6; }
4109  EGREP="$ac_cv_path_EGREP"
4110 
4111 
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4113 $as_echo_n "checking for fgrep... " >&6; }
4114 if ${ac_cv_path_FGREP+:} false; then :
4115   $as_echo_n "(cached) " >&6
4116 else
4117   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4118    then ac_cv_path_FGREP="$GREP -F"
4119    else
4120      if test -z "$FGREP"; then
4121   ac_path_FGREP_found=false
4122   # Loop through the user's path and test for each of PROGNAME-LIST
4123   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4124 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4125 do
4126   IFS=$as_save_IFS
4127   test -z "$as_dir" && as_dir=.
4128     for ac_prog in fgrep; do
4129     for ac_exec_ext in '' $ac_executable_extensions; do
4130       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4131       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4132 # Check for GNU ac_path_FGREP and select it if it is found.
4133   # Check for GNU $ac_path_FGREP
4134 case `"$ac_path_FGREP" --version 2>&1` in
4135 *GNU*)
4136   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4137 *)
4138   ac_count=0
4139   $as_echo_n 0123456789 >"conftest.in"
4140   while :
4141   do
4142     cat "conftest.in" "conftest.in" >"conftest.tmp"
4143     mv "conftest.tmp" "conftest.in"
4144     cp "conftest.in" "conftest.nl"
4145     $as_echo 'FGREP' >> "conftest.nl"
4146     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4147     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4148     as_fn_arith $ac_count + 1 && ac_count=$as_val
4149     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4150       # Best one so far, save it but keep looking for a better one
4151       ac_cv_path_FGREP="$ac_path_FGREP"
4152       ac_path_FGREP_max=$ac_count
4153     fi
4154     # 10*(2^10) chars as input seems more than enough
4155     test $ac_count -gt 10 && break
4156   done
4157   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4158 esac
4159 
4160       $ac_path_FGREP_found && break 3
4161     done
4162   done
4163   done
4164 IFS=$as_save_IFS
4165   if test -z "$ac_cv_path_FGREP"; then
4166     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4167   fi
4168 else
4169   ac_cv_path_FGREP=$FGREP
4170 fi
4171 
4172    fi
4173 fi
4174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4175 $as_echo "$ac_cv_path_FGREP" >&6; }
4176  FGREP="$ac_cv_path_FGREP"
4177 
4178 
4179 test -z "$GREP" && GREP=grep
4180 
4181 
4182 
4183 
4184 
4185 
4186 
4187 
4188 
4189 
4190 
4191 
4192 
4193 
4194 
4195 
4196 
4197 
4198 
4199 # Check whether --with-gnu-ld was given.
4200 if test "${with_gnu_ld+set}" = set; then :
4201   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4202 else
4203   with_gnu_ld=no
4204 fi
4205 
4206 ac_prog=ld
4207 if test "$GCC" = yes; then
4208   # Check if gcc -print-prog-name=ld gives a path.
4209   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4210 $as_echo_n "checking for ld used by $CC... " >&6; }
4211   case $host in
4212   *-*-mingw*)
4213     # gcc leaves a trailing carriage return which upsets mingw
4214     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4215   *)
4216     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4217   esac
4218   case $ac_prog in
4219     # Accept absolute paths.
4220     [\\/]* | ?:[\\/]*)
4221       re_direlt='/[^/][^/]*/\.\./'
4222       # Canonicalize the pathname of ld
4223       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4224       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4225 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4226       done
4227       test -z "$LD" && LD="$ac_prog"
4228       ;;
4229   "")
4230     # If it fails, then pretend we aren't using GCC.
4231     ac_prog=ld
4232     ;;
4233   *)
4234     # If it is relative, then search for the first ld in PATH.
4235     with_gnu_ld=unknown
4236     ;;
4237   esac
4238 elif test "$with_gnu_ld" = yes; then
4239   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4240 $as_echo_n "checking for GNU ld... " >&6; }
4241 else
4242   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4243 $as_echo_n "checking for non-GNU ld... " >&6; }
4244 fi
4245 if ${lt_cv_path_LD+:} false; then :
4246   $as_echo_n "(cached) " >&6
4247 else
4248   if test -z "$LD"; then
4249   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4250   for ac_dir in $PATH; do
4251     IFS="$lt_save_ifs"
4252     test -z "$ac_dir" && ac_dir=.
4253     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4254       lt_cv_path_LD="$ac_dir/$ac_prog"
4255       # Check to see if the program is GNU ld.  I'd rather use --version,
4256       # but apparently some variants of GNU ld only accept -v.
4257       # Break only if it was the GNU/non-GNU ld that we prefer.
4258       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4259       *GNU* | *'with BFD'*)
4260 	test "$with_gnu_ld" != no && break
4261 	;;
4262       *)
4263 	test "$with_gnu_ld" != yes && break
4264 	;;
4265       esac
4266     fi
4267   done
4268   IFS="$lt_save_ifs"
4269 else
4270   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4271 fi
4272 fi
4273 
4274 LD="$lt_cv_path_LD"
4275 if test -n "$LD"; then
4276   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4277 $as_echo "$LD" >&6; }
4278 else
4279   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4280 $as_echo "no" >&6; }
4281 fi
4282 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4284 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4285 if ${lt_cv_prog_gnu_ld+:} false; then :
4286   $as_echo_n "(cached) " >&6
4287 else
4288   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4289 case `$LD -v 2>&1 </dev/null` in
4290 *GNU* | *'with BFD'*)
4291   lt_cv_prog_gnu_ld=yes
4292   ;;
4293 *)
4294   lt_cv_prog_gnu_ld=no
4295   ;;
4296 esac
4297 fi
4298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4299 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4300 with_gnu_ld=$lt_cv_prog_gnu_ld
4301 
4302 
4303 
4304 
4305 
4306 
4307 
4308 
4309 
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4311 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4312 if ${lt_cv_path_NM+:} false; then :
4313   $as_echo_n "(cached) " >&6
4314 else
4315   if test -n "$NM"; then
4316   # Let the user override the test.
4317   lt_cv_path_NM="$NM"
4318 else
4319   lt_nm_to_check="${ac_tool_prefix}nm"
4320   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4321     lt_nm_to_check="$lt_nm_to_check nm"
4322   fi
4323   for lt_tmp_nm in $lt_nm_to_check; do
4324     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4325     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4326       IFS="$lt_save_ifs"
4327       test -z "$ac_dir" && ac_dir=.
4328       tmp_nm="$ac_dir/$lt_tmp_nm"
4329       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4330 	# Check to see if the nm accepts a BSD-compat flag.
4331 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
4332 	#   nm: unknown option "B" ignored
4333 	# Tru64's nm complains that /dev/null is an invalid object file
4334 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4335 	*/dev/null* | *'Invalid file or object type'*)
4336 	  lt_cv_path_NM="$tmp_nm -B"
4337 	  break
4338 	  ;;
4339 	*)
4340 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4341 	  */dev/null*)
4342 	    lt_cv_path_NM="$tmp_nm -p"
4343 	    break
4344 	    ;;
4345 	  *)
4346 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4347 	    continue # so that we can try to find one that supports BSD flags
4348 	    ;;
4349 	  esac
4350 	  ;;
4351 	esac
4352       fi
4353     done
4354     IFS="$lt_save_ifs"
4355   done
4356   : ${lt_cv_path_NM=no}
4357 fi
4358 fi
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4360 $as_echo "$lt_cv_path_NM" >&6; }
4361 if test "$lt_cv_path_NM" != "no"; then
4362   NM="$lt_cv_path_NM"
4363 else
4364   # Didn't find any BSD compatible name lister, look for dumpbin.
4365   if test -n "$DUMPBIN"; then :
4366     # Let the user override the test.
4367   else
4368     if test -n "$ac_tool_prefix"; then
4369   for ac_prog in dumpbin "link -dump"
4370   do
4371     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4372 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4374 $as_echo_n "checking for $ac_word... " >&6; }
4375 if ${ac_cv_prog_DUMPBIN+:} false; then :
4376   $as_echo_n "(cached) " >&6
4377 else
4378   if test -n "$DUMPBIN"; then
4379   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4380 else
4381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4382 for as_dir in $PATH
4383 do
4384   IFS=$as_save_IFS
4385   test -z "$as_dir" && as_dir=.
4386     for ac_exec_ext in '' $ac_executable_extensions; do
4387   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4388     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4389     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4390     break 2
4391   fi
4392 done
4393   done
4394 IFS=$as_save_IFS
4395 
4396 fi
4397 fi
4398 DUMPBIN=$ac_cv_prog_DUMPBIN
4399 if test -n "$DUMPBIN"; then
4400   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4401 $as_echo "$DUMPBIN" >&6; }
4402 else
4403   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4404 $as_echo "no" >&6; }
4405 fi
4406 
4407 
4408     test -n "$DUMPBIN" && break
4409   done
4410 fi
4411 if test -z "$DUMPBIN"; then
4412   ac_ct_DUMPBIN=$DUMPBIN
4413   for ac_prog in dumpbin "link -dump"
4414 do
4415   # Extract the first word of "$ac_prog", so it can be a program name with args.
4416 set dummy $ac_prog; ac_word=$2
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4418 $as_echo_n "checking for $ac_word... " >&6; }
4419 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4420   $as_echo_n "(cached) " >&6
4421 else
4422   if test -n "$ac_ct_DUMPBIN"; then
4423   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4424 else
4425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4426 for as_dir in $PATH
4427 do
4428   IFS=$as_save_IFS
4429   test -z "$as_dir" && as_dir=.
4430     for ac_exec_ext in '' $ac_executable_extensions; do
4431   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4432     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4433     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4434     break 2
4435   fi
4436 done
4437   done
4438 IFS=$as_save_IFS
4439 
4440 fi
4441 fi
4442 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4443 if test -n "$ac_ct_DUMPBIN"; then
4444   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4445 $as_echo "$ac_ct_DUMPBIN" >&6; }
4446 else
4447   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4448 $as_echo "no" >&6; }
4449 fi
4450 
4451 
4452   test -n "$ac_ct_DUMPBIN" && break
4453 done
4454 
4455   if test "x$ac_ct_DUMPBIN" = x; then
4456     DUMPBIN=":"
4457   else
4458     case $cross_compiling:$ac_tool_warned in
4459 yes:)
4460 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4461 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4462 ac_tool_warned=yes ;;
4463 esac
4464     DUMPBIN=$ac_ct_DUMPBIN
4465   fi
4466 fi
4467 
4468     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4469     *COFF*)
4470       DUMPBIN="$DUMPBIN -symbols"
4471       ;;
4472     *)
4473       DUMPBIN=:
4474       ;;
4475     esac
4476   fi
4477 
4478   if test "$DUMPBIN" != ":"; then
4479     NM="$DUMPBIN"
4480   fi
4481 fi
4482 test -z "$NM" && NM=nm
4483 
4484 
4485 
4486 
4487 
4488 
4489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4490 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4491 if ${lt_cv_nm_interface+:} false; then :
4492   $as_echo_n "(cached) " >&6
4493 else
4494   lt_cv_nm_interface="BSD nm"
4495   echo "int some_variable = 0;" > conftest.$ac_ext
4496   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4497   (eval "$ac_compile" 2>conftest.err)
4498   cat conftest.err >&5
4499   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4500   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4501   cat conftest.err >&5
4502   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4503   cat conftest.out >&5
4504   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4505     lt_cv_nm_interface="MS dumpbin"
4506   fi
4507   rm -f conftest*
4508 fi
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4510 $as_echo "$lt_cv_nm_interface" >&6; }
4511 
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4513 $as_echo_n "checking whether ln -s works... " >&6; }
4514 LN_S=$as_ln_s
4515 if test "$LN_S" = "ln -s"; then
4516   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4517 $as_echo "yes" >&6; }
4518 else
4519   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4520 $as_echo "no, using $LN_S" >&6; }
4521 fi
4522 
4523 # find the maximum length of command line arguments
4524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4525 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4526 if ${lt_cv_sys_max_cmd_len+:} false; then :
4527   $as_echo_n "(cached) " >&6
4528 else
4529     i=0
4530   teststring="ABCD"
4531 
4532   case $build_os in
4533   msdosdjgpp*)
4534     # On DJGPP, this test can blow up pretty badly due to problems in libc
4535     # (any single argument exceeding 2000 bytes causes a buffer overrun
4536     # during glob expansion).  Even if it were fixed, the result of this
4537     # check would be larger than it should be.
4538     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4539     ;;
4540 
4541   gnu*)
4542     # Under GNU Hurd, this test is not required because there is
4543     # no limit to the length of command line arguments.
4544     # Libtool will interpret -1 as no limit whatsoever
4545     lt_cv_sys_max_cmd_len=-1;
4546     ;;
4547 
4548   cygwin* | mingw* | cegcc*)
4549     # On Win9x/ME, this test blows up -- it succeeds, but takes
4550     # about 5 minutes as the teststring grows exponentially.
4551     # Worse, since 9x/ME are not pre-emptively multitasking,
4552     # you end up with a "frozen" computer, even though with patience
4553     # the test eventually succeeds (with a max line length of 256k).
4554     # Instead, let's just punt: use the minimum linelength reported by
4555     # all of the supported platforms: 8192 (on NT/2K/XP).
4556     lt_cv_sys_max_cmd_len=8192;
4557     ;;
4558 
4559   mint*)
4560     # On MiNT this can take a long time and run out of memory.
4561     lt_cv_sys_max_cmd_len=8192;
4562     ;;
4563 
4564   amigaos*)
4565     # On AmigaOS with pdksh, this test takes hours, literally.
4566     # So we just punt and use a minimum line length of 8192.
4567     lt_cv_sys_max_cmd_len=8192;
4568     ;;
4569 
4570   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4571     # This has been around since 386BSD, at least.  Likely further.
4572     if test -x /sbin/sysctl; then
4573       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4574     elif test -x /usr/sbin/sysctl; then
4575       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4576     else
4577       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
4578     fi
4579     # And add a safety zone
4580     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4581     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4582     ;;
4583 
4584   interix*)
4585     # We know the value 262144 and hardcode it with a safety zone (like BSD)
4586     lt_cv_sys_max_cmd_len=196608
4587     ;;
4588 
4589   os2*)
4590     # The test takes a long time on OS/2.
4591     lt_cv_sys_max_cmd_len=8192
4592     ;;
4593 
4594   osf*)
4595     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4596     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4597     # nice to cause kernel panics so lets avoid the loop below.
4598     # First set a reasonable default.
4599     lt_cv_sys_max_cmd_len=16384
4600     #
4601     if test -x /sbin/sysconfig; then
4602       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4603         *1*) lt_cv_sys_max_cmd_len=-1 ;;
4604       esac
4605     fi
4606     ;;
4607   sco3.2v5*)
4608     lt_cv_sys_max_cmd_len=102400
4609     ;;
4610   sysv5* | sco5v6* | sysv4.2uw2*)
4611     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4612     if test -n "$kargmax"; then
4613       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
4614     else
4615       lt_cv_sys_max_cmd_len=32768
4616     fi
4617     ;;
4618   *)
4619     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4620     if test -n "$lt_cv_sys_max_cmd_len"; then
4621       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4622       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4623     else
4624       # Make teststring a little bigger before we do anything with it.
4625       # a 1K string should be a reasonable start.
4626       for i in 1 2 3 4 5 6 7 8 ; do
4627         teststring=$teststring$teststring
4628       done
4629       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4630       # If test is not a shell built-in, we'll probably end up computing a
4631       # maximum length that is only half of the actual maximum length, but
4632       # we can't tell.
4633       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
4634 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4635 	      test $i != 17 # 1/2 MB should be enough
4636       do
4637         i=`expr $i + 1`
4638         teststring=$teststring$teststring
4639       done
4640       # Only check the string length outside the loop.
4641       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4642       teststring=
4643       # Add a significant safety factor because C++ compilers can tack on
4644       # massive amounts of additional arguments before passing them to the
4645       # linker.  It appears as though 1/2 is a usable value.
4646       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4647     fi
4648     ;;
4649   esac
4650 
4651 fi
4652 
4653 if test -n $lt_cv_sys_max_cmd_len ; then
4654   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4655 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4656 else
4657   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4658 $as_echo "none" >&6; }
4659 fi
4660 max_cmd_len=$lt_cv_sys_max_cmd_len
4661 
4662 
4663 
4664 
4665 
4666 
4667 : ${CP="cp -f"}
4668 : ${MV="mv -f"}
4669 : ${RM="rm -f"}
4670 
4671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4672 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4673 # Try some XSI features
4674 xsi_shell=no
4675 ( _lt_dummy="a/b/c"
4676   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4677       = c,a/b,b/c, \
4678     && eval 'test $(( 1 + 1 )) -eq 2 \
4679     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4680   && xsi_shell=yes
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4682 $as_echo "$xsi_shell" >&6; }
4683 
4684 
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4686 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4687 lt_shell_append=no
4688 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4689     >/dev/null 2>&1 \
4690   && lt_shell_append=yes
4691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4692 $as_echo "$lt_shell_append" >&6; }
4693 
4694 
4695 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4696   lt_unset=unset
4697 else
4698   lt_unset=false
4699 fi
4700 
4701 
4702 
4703 
4704 
4705 # test EBCDIC or ASCII
4706 case `echo X|tr X '\101'` in
4707  A) # ASCII based system
4708     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4709   lt_SP2NL='tr \040 \012'
4710   lt_NL2SP='tr \015\012 \040\040'
4711   ;;
4712  *) # EBCDIC based system
4713   lt_SP2NL='tr \100 \n'
4714   lt_NL2SP='tr \r\n \100\100'
4715   ;;
4716 esac
4717 
4718 
4719 
4720 
4721 
4722 
4723 
4724 
4725 
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4727 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4728 if ${lt_cv_to_host_file_cmd+:} false; then :
4729   $as_echo_n "(cached) " >&6
4730 else
4731   case $host in
4732   *-*-mingw* )
4733     case $build in
4734       *-*-mingw* ) # actually msys
4735         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4736         ;;
4737       *-*-cygwin* )
4738         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4739         ;;
4740       * ) # otherwise, assume *nix
4741         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4742         ;;
4743     esac
4744     ;;
4745   *-*-cygwin* )
4746     case $build in
4747       *-*-mingw* ) # actually msys
4748         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4749         ;;
4750       *-*-cygwin* )
4751         lt_cv_to_host_file_cmd=func_convert_file_noop
4752         ;;
4753       * ) # otherwise, assume *nix
4754         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4755         ;;
4756     esac
4757     ;;
4758   * ) # unhandled hosts (and "normal" native builds)
4759     lt_cv_to_host_file_cmd=func_convert_file_noop
4760     ;;
4761 esac
4762 
4763 fi
4764 
4765 to_host_file_cmd=$lt_cv_to_host_file_cmd
4766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4767 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
4768 
4769 
4770 
4771 
4772 
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4774 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4775 if ${lt_cv_to_tool_file_cmd+:} false; then :
4776   $as_echo_n "(cached) " >&6
4777 else
4778   #assume ordinary cross tools, or native build.
4779 lt_cv_to_tool_file_cmd=func_convert_file_noop
4780 case $host in
4781   *-*-mingw* )
4782     case $build in
4783       *-*-mingw* ) # actually msys
4784         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
4785         ;;
4786     esac
4787     ;;
4788 esac
4789 
4790 fi
4791 
4792 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
4793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
4794 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4795 
4796 
4797 
4798 
4799 
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4801 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4802 if ${lt_cv_ld_reload_flag+:} false; then :
4803   $as_echo_n "(cached) " >&6
4804 else
4805   lt_cv_ld_reload_flag='-r'
4806 fi
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4808 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4809 reload_flag=$lt_cv_ld_reload_flag
4810 case $reload_flag in
4811 "" | " "*) ;;
4812 *) reload_flag=" $reload_flag" ;;
4813 esac
4814 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4815 case $host_os in
4816   cygwin* | mingw* | pw32* | cegcc*)
4817     if test "$GCC" != yes; then
4818       reload_cmds=false
4819     fi
4820     ;;
4821   darwin*)
4822     if test "$GCC" = yes; then
4823       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4824     else
4825       reload_cmds='$LD$reload_flag -o $output$reload_objs'
4826     fi
4827     ;;
4828 esac
4829 
4830 
4831 
4832 
4833 
4834 
4835 
4836 
4837 
4838 if test -n "$ac_tool_prefix"; then
4839   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4840 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4842 $as_echo_n "checking for $ac_word... " >&6; }
4843 if ${ac_cv_prog_OBJDUMP+:} false; then :
4844   $as_echo_n "(cached) " >&6
4845 else
4846   if test -n "$OBJDUMP"; then
4847   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4848 else
4849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4850 for as_dir in $PATH
4851 do
4852   IFS=$as_save_IFS
4853   test -z "$as_dir" && as_dir=.
4854     for ac_exec_ext in '' $ac_executable_extensions; do
4855   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4856     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4857     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4858     break 2
4859   fi
4860 done
4861   done
4862 IFS=$as_save_IFS
4863 
4864 fi
4865 fi
4866 OBJDUMP=$ac_cv_prog_OBJDUMP
4867 if test -n "$OBJDUMP"; then
4868   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4869 $as_echo "$OBJDUMP" >&6; }
4870 else
4871   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4872 $as_echo "no" >&6; }
4873 fi
4874 
4875 
4876 fi
4877 if test -z "$ac_cv_prog_OBJDUMP"; then
4878   ac_ct_OBJDUMP=$OBJDUMP
4879   # Extract the first word of "objdump", so it can be a program name with args.
4880 set dummy objdump; ac_word=$2
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4882 $as_echo_n "checking for $ac_word... " >&6; }
4883 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4884   $as_echo_n "(cached) " >&6
4885 else
4886   if test -n "$ac_ct_OBJDUMP"; then
4887   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4888 else
4889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4890 for as_dir in $PATH
4891 do
4892   IFS=$as_save_IFS
4893   test -z "$as_dir" && as_dir=.
4894     for ac_exec_ext in '' $ac_executable_extensions; do
4895   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4896     ac_cv_prog_ac_ct_OBJDUMP="objdump"
4897     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4898     break 2
4899   fi
4900 done
4901   done
4902 IFS=$as_save_IFS
4903 
4904 fi
4905 fi
4906 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4907 if test -n "$ac_ct_OBJDUMP"; then
4908   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4909 $as_echo "$ac_ct_OBJDUMP" >&6; }
4910 else
4911   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4912 $as_echo "no" >&6; }
4913 fi
4914 
4915   if test "x$ac_ct_OBJDUMP" = x; then
4916     OBJDUMP="false"
4917   else
4918     case $cross_compiling:$ac_tool_warned in
4919 yes:)
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4921 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4922 ac_tool_warned=yes ;;
4923 esac
4924     OBJDUMP=$ac_ct_OBJDUMP
4925   fi
4926 else
4927   OBJDUMP="$ac_cv_prog_OBJDUMP"
4928 fi
4929 
4930 test -z "$OBJDUMP" && OBJDUMP=objdump
4931 
4932 
4933 
4934 
4935 
4936 
4937 
4938 
4939 
4940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
4941 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
4942 if ${lt_cv_deplibs_check_method+:} false; then :
4943   $as_echo_n "(cached) " >&6
4944 else
4945   lt_cv_file_magic_cmd='$MAGIC_CMD'
4946 lt_cv_file_magic_test_file=
4947 lt_cv_deplibs_check_method='unknown'
4948 # Need to set the preceding variable on all platforms that support
4949 # interlibrary dependencies.
4950 # 'none' -- dependencies not supported.
4951 # `unknown' -- same as none, but documents that we really don't know.
4952 # 'pass_all' -- all dependencies passed with no checks.
4953 # 'test_compile' -- check by making test program.
4954 # 'file_magic [[regex]]' -- check by looking for files in library path
4955 # which responds to the $file_magic_cmd with a given extended regex.
4956 # If you have `file' or equivalent on your system and you're not sure
4957 # whether `pass_all' will *always* work, you probably want this one.
4958 
4959 case $host_os in
4960 aix[4-9]*)
4961   lt_cv_deplibs_check_method=pass_all
4962   ;;
4963 
4964 beos*)
4965   lt_cv_deplibs_check_method=pass_all
4966   ;;
4967 
4968 bsdi[45]*)
4969   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4970   lt_cv_file_magic_cmd='/usr/bin/file -L'
4971   lt_cv_file_magic_test_file=/shlib/libc.so
4972   ;;
4973 
4974 cygwin*)
4975   # func_win32_libid is a shell function defined in ltmain.sh
4976   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4977   lt_cv_file_magic_cmd='func_win32_libid'
4978   ;;
4979 
4980 mingw* | pw32*)
4981   # Base MSYS/MinGW do not provide the 'file' command needed by
4982   # func_win32_libid shell function, so use a weaker test based on 'objdump',
4983   # unless we find 'file', for example because we are cross-compiling.
4984   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
4985   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
4986     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4987     lt_cv_file_magic_cmd='func_win32_libid'
4988   else
4989     # Keep this pattern in sync with the one in func_win32_libid.
4990     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
4991     lt_cv_file_magic_cmd='$OBJDUMP -f'
4992   fi
4993   ;;
4994 
4995 cegcc*)
4996   # use the weaker test based on 'objdump'. See mingw*.
4997   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4998   lt_cv_file_magic_cmd='$OBJDUMP -f'
4999   ;;
5000 
5001 darwin* | rhapsody*)
5002   lt_cv_deplibs_check_method=pass_all
5003   ;;
5004 
5005 freebsd* | dragonfly*)
5006   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5007     case $host_cpu in
5008     i*86 )
5009       # Not sure whether the presence of OpenBSD here was a mistake.
5010       # Let's accept both of them until this is cleared up.
5011       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5012       lt_cv_file_magic_cmd=/usr/bin/file
5013       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5014       ;;
5015     esac
5016   else
5017     lt_cv_deplibs_check_method=pass_all
5018   fi
5019   ;;
5020 
5021 gnu*)
5022   lt_cv_deplibs_check_method=pass_all
5023   ;;
5024 
5025 haiku*)
5026   lt_cv_deplibs_check_method=pass_all
5027   ;;
5028 
5029 hpux10.20* | hpux11*)
5030   lt_cv_file_magic_cmd=/usr/bin/file
5031   case $host_cpu in
5032   ia64*)
5033     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5034     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5035     ;;
5036   hppa*64*)
5037     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]'
5038     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5039     ;;
5040   *)
5041     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5042     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5043     ;;
5044   esac
5045   ;;
5046 
5047 interix[3-9]*)
5048   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5049   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5050   ;;
5051 
5052 irix5* | irix6* | nonstopux*)
5053   case $LD in
5054   *-32|*"-32 ") libmagic=32-bit;;
5055   *-n32|*"-n32 ") libmagic=N32;;
5056   *-64|*"-64 ") libmagic=64-bit;;
5057   *) libmagic=never-match;;
5058   esac
5059   lt_cv_deplibs_check_method=pass_all
5060   ;;
5061 
5062 # This must be glibc/ELF.
5063 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5064   lt_cv_deplibs_check_method=pass_all
5065   ;;
5066 
5067 netbsd*)
5068   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5069     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5070   else
5071     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5072   fi
5073   ;;
5074 
5075 newos6*)
5076   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5077   lt_cv_file_magic_cmd=/usr/bin/file
5078   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5079   ;;
5080 
5081 *nto* | *qnx*)
5082   lt_cv_deplibs_check_method=pass_all
5083   ;;
5084 
5085 openbsd*)
5086   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5087     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5088   else
5089     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5090   fi
5091   ;;
5092 
5093 osf3* | osf4* | osf5*)
5094   lt_cv_deplibs_check_method=pass_all
5095   ;;
5096 
5097 rdos*)
5098   lt_cv_deplibs_check_method=pass_all
5099   ;;
5100 
5101 solaris*)
5102   lt_cv_deplibs_check_method=pass_all
5103   ;;
5104 
5105 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5106   lt_cv_deplibs_check_method=pass_all
5107   ;;
5108 
5109 sysv4 | sysv4.3*)
5110   case $host_vendor in
5111   motorola)
5112     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]'
5113     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5114     ;;
5115   ncr)
5116     lt_cv_deplibs_check_method=pass_all
5117     ;;
5118   sequent)
5119     lt_cv_file_magic_cmd='/bin/file'
5120     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5121     ;;
5122   sni)
5123     lt_cv_file_magic_cmd='/bin/file'
5124     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5125     lt_cv_file_magic_test_file=/lib/libc.so
5126     ;;
5127   siemens)
5128     lt_cv_deplibs_check_method=pass_all
5129     ;;
5130   pc)
5131     lt_cv_deplibs_check_method=pass_all
5132     ;;
5133   esac
5134   ;;
5135 
5136 tpf*)
5137   lt_cv_deplibs_check_method=pass_all
5138   ;;
5139 esac
5140 
5141 fi
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5143 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5144 
5145 file_magic_glob=
5146 want_nocaseglob=no
5147 if test "$build" = "$host"; then
5148   case $host_os in
5149   mingw* | pw32*)
5150     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5151       want_nocaseglob=yes
5152     else
5153       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5154     fi
5155     ;;
5156   esac
5157 fi
5158 
5159 file_magic_cmd=$lt_cv_file_magic_cmd
5160 deplibs_check_method=$lt_cv_deplibs_check_method
5161 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5162 
5163 
5164 
5165 
5166 
5167 
5168 
5169 
5170 
5171 
5172 
5173 
5174 
5175 
5176 
5177 
5178 
5179 
5180 
5181 
5182 
5183 
5184 if test -n "$ac_tool_prefix"; then
5185   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5186 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5188 $as_echo_n "checking for $ac_word... " >&6; }
5189 if ${ac_cv_prog_DLLTOOL+:} false; then :
5190   $as_echo_n "(cached) " >&6
5191 else
5192   if test -n "$DLLTOOL"; then
5193   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5194 else
5195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5196 for as_dir in $PATH
5197 do
5198   IFS=$as_save_IFS
5199   test -z "$as_dir" && as_dir=.
5200     for ac_exec_ext in '' $ac_executable_extensions; do
5201   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5202     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5203     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5204     break 2
5205   fi
5206 done
5207   done
5208 IFS=$as_save_IFS
5209 
5210 fi
5211 fi
5212 DLLTOOL=$ac_cv_prog_DLLTOOL
5213 if test -n "$DLLTOOL"; then
5214   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5215 $as_echo "$DLLTOOL" >&6; }
5216 else
5217   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5218 $as_echo "no" >&6; }
5219 fi
5220 
5221 
5222 fi
5223 if test -z "$ac_cv_prog_DLLTOOL"; then
5224   ac_ct_DLLTOOL=$DLLTOOL
5225   # Extract the first word of "dlltool", so it can be a program name with args.
5226 set dummy dlltool; ac_word=$2
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5228 $as_echo_n "checking for $ac_word... " >&6; }
5229 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5230   $as_echo_n "(cached) " >&6
5231 else
5232   if test -n "$ac_ct_DLLTOOL"; then
5233   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5234 else
5235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5236 for as_dir in $PATH
5237 do
5238   IFS=$as_save_IFS
5239   test -z "$as_dir" && as_dir=.
5240     for ac_exec_ext in '' $ac_executable_extensions; do
5241   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5242     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5243     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5244     break 2
5245   fi
5246 done
5247   done
5248 IFS=$as_save_IFS
5249 
5250 fi
5251 fi
5252 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5253 if test -n "$ac_ct_DLLTOOL"; then
5254   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5255 $as_echo "$ac_ct_DLLTOOL" >&6; }
5256 else
5257   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5258 $as_echo "no" >&6; }
5259 fi
5260 
5261   if test "x$ac_ct_DLLTOOL" = x; then
5262     DLLTOOL="false"
5263   else
5264     case $cross_compiling:$ac_tool_warned in
5265 yes:)
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5267 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5268 ac_tool_warned=yes ;;
5269 esac
5270     DLLTOOL=$ac_ct_DLLTOOL
5271   fi
5272 else
5273   DLLTOOL="$ac_cv_prog_DLLTOOL"
5274 fi
5275 
5276 test -z "$DLLTOOL" && DLLTOOL=dlltool
5277 
5278 
5279 
5280 
5281 
5282 
5283 
5284 
5285 
5286 
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5288 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5289 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5290   $as_echo_n "(cached) " >&6
5291 else
5292   lt_cv_sharedlib_from_linklib_cmd='unknown'
5293 
5294 case $host_os in
5295 cygwin* | mingw* | pw32* | cegcc*)
5296   # two different shell functions defined in ltmain.sh
5297   # decide which to use based on capabilities of $DLLTOOL
5298   case `$DLLTOOL --help 2>&1` in
5299   *--identify-strict*)
5300     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5301     ;;
5302   *)
5303     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5304     ;;
5305   esac
5306   ;;
5307 *)
5308   # fallback: assume linklib IS sharedlib
5309   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5310   ;;
5311 esac
5312 
5313 fi
5314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5315 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5316 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5317 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5318 
5319 
5320 
5321 
5322 
5323 
5324 
5325 
5326 if test -n "$ac_tool_prefix"; then
5327   for ac_prog in ar
5328   do
5329     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5330 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5332 $as_echo_n "checking for $ac_word... " >&6; }
5333 if ${ac_cv_prog_AR+:} false; then :
5334   $as_echo_n "(cached) " >&6
5335 else
5336   if test -n "$AR"; then
5337   ac_cv_prog_AR="$AR" # Let the user override the test.
5338 else
5339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5340 for as_dir in $PATH
5341 do
5342   IFS=$as_save_IFS
5343   test -z "$as_dir" && as_dir=.
5344     for ac_exec_ext in '' $ac_executable_extensions; do
5345   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5346     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5347     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5348     break 2
5349   fi
5350 done
5351   done
5352 IFS=$as_save_IFS
5353 
5354 fi
5355 fi
5356 AR=$ac_cv_prog_AR
5357 if test -n "$AR"; then
5358   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5359 $as_echo "$AR" >&6; }
5360 else
5361   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5362 $as_echo "no" >&6; }
5363 fi
5364 
5365 
5366     test -n "$AR" && break
5367   done
5368 fi
5369 if test -z "$AR"; then
5370   ac_ct_AR=$AR
5371   for ac_prog in ar
5372 do
5373   # Extract the first word of "$ac_prog", so it can be a program name with args.
5374 set dummy $ac_prog; ac_word=$2
5375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5376 $as_echo_n "checking for $ac_word... " >&6; }
5377 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5378   $as_echo_n "(cached) " >&6
5379 else
5380   if test -n "$ac_ct_AR"; then
5381   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5382 else
5383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5384 for as_dir in $PATH
5385 do
5386   IFS=$as_save_IFS
5387   test -z "$as_dir" && as_dir=.
5388     for ac_exec_ext in '' $ac_executable_extensions; do
5389   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5390     ac_cv_prog_ac_ct_AR="$ac_prog"
5391     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5392     break 2
5393   fi
5394 done
5395   done
5396 IFS=$as_save_IFS
5397 
5398 fi
5399 fi
5400 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5401 if test -n "$ac_ct_AR"; then
5402   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5403 $as_echo "$ac_ct_AR" >&6; }
5404 else
5405   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5406 $as_echo "no" >&6; }
5407 fi
5408 
5409 
5410   test -n "$ac_ct_AR" && break
5411 done
5412 
5413   if test "x$ac_ct_AR" = x; then
5414     AR="false"
5415   else
5416     case $cross_compiling:$ac_tool_warned in
5417 yes:)
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5419 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5420 ac_tool_warned=yes ;;
5421 esac
5422     AR=$ac_ct_AR
5423   fi
5424 fi
5425 
5426 : ${AR=ar}
5427 : ${AR_FLAGS=cru}
5428 
5429 
5430 
5431 
5432 
5433 
5434 
5435 
5436 
5437 
5438 
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5440 $as_echo_n "checking for archiver @FILE support... " >&6; }
5441 if ${lt_cv_ar_at_file+:} false; then :
5442   $as_echo_n "(cached) " >&6
5443 else
5444   lt_cv_ar_at_file=no
5445    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5446 /* end confdefs.h.  */
5447 
5448 int
5449 main ()
5450 {
5451 
5452   ;
5453   return 0;
5454 }
5455 _ACEOF
5456 if ac_fn_c_try_compile "$LINENO"; then :
5457   echo conftest.$ac_objext > conftest.lst
5458       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5459       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5460   (eval $lt_ar_try) 2>&5
5461   ac_status=$?
5462   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5463   test $ac_status = 0; }
5464       if test "$ac_status" -eq 0; then
5465 	# Ensure the archiver fails upon bogus file names.
5466 	rm -f conftest.$ac_objext libconftest.a
5467 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5468   (eval $lt_ar_try) 2>&5
5469   ac_status=$?
5470   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5471   test $ac_status = 0; }
5472 	if test "$ac_status" -ne 0; then
5473           lt_cv_ar_at_file=@
5474         fi
5475       fi
5476       rm -f conftest.* libconftest.a
5477 
5478 fi
5479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5480 
5481 fi
5482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5483 $as_echo "$lt_cv_ar_at_file" >&6; }
5484 
5485 if test "x$lt_cv_ar_at_file" = xno; then
5486   archiver_list_spec=
5487 else
5488   archiver_list_spec=$lt_cv_ar_at_file
5489 fi
5490 
5491 
5492 
5493 
5494 
5495 
5496 
5497 if test -n "$ac_tool_prefix"; then
5498   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5499 set dummy ${ac_tool_prefix}strip; ac_word=$2
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5501 $as_echo_n "checking for $ac_word... " >&6; }
5502 if ${ac_cv_prog_STRIP+:} false; then :
5503   $as_echo_n "(cached) " >&6
5504 else
5505   if test -n "$STRIP"; then
5506   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5507 else
5508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5509 for as_dir in $PATH
5510 do
5511   IFS=$as_save_IFS
5512   test -z "$as_dir" && as_dir=.
5513     for ac_exec_ext in '' $ac_executable_extensions; do
5514   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5515     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5516     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5517     break 2
5518   fi
5519 done
5520   done
5521 IFS=$as_save_IFS
5522 
5523 fi
5524 fi
5525 STRIP=$ac_cv_prog_STRIP
5526 if test -n "$STRIP"; then
5527   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5528 $as_echo "$STRIP" >&6; }
5529 else
5530   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5531 $as_echo "no" >&6; }
5532 fi
5533 
5534 
5535 fi
5536 if test -z "$ac_cv_prog_STRIP"; then
5537   ac_ct_STRIP=$STRIP
5538   # Extract the first word of "strip", so it can be a program name with args.
5539 set dummy strip; ac_word=$2
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5541 $as_echo_n "checking for $ac_word... " >&6; }
5542 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5543   $as_echo_n "(cached) " >&6
5544 else
5545   if test -n "$ac_ct_STRIP"; then
5546   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5547 else
5548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5549 for as_dir in $PATH
5550 do
5551   IFS=$as_save_IFS
5552   test -z "$as_dir" && as_dir=.
5553     for ac_exec_ext in '' $ac_executable_extensions; do
5554   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5555     ac_cv_prog_ac_ct_STRIP="strip"
5556     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5557     break 2
5558   fi
5559 done
5560   done
5561 IFS=$as_save_IFS
5562 
5563 fi
5564 fi
5565 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5566 if test -n "$ac_ct_STRIP"; then
5567   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5568 $as_echo "$ac_ct_STRIP" >&6; }
5569 else
5570   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5571 $as_echo "no" >&6; }
5572 fi
5573 
5574   if test "x$ac_ct_STRIP" = x; then
5575     STRIP=":"
5576   else
5577     case $cross_compiling:$ac_tool_warned in
5578 yes:)
5579 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5580 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5581 ac_tool_warned=yes ;;
5582 esac
5583     STRIP=$ac_ct_STRIP
5584   fi
5585 else
5586   STRIP="$ac_cv_prog_STRIP"
5587 fi
5588 
5589 test -z "$STRIP" && STRIP=:
5590 
5591 
5592 
5593 
5594 
5595 
5596 if test -n "$ac_tool_prefix"; then
5597   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5598 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5600 $as_echo_n "checking for $ac_word... " >&6; }
5601 if ${ac_cv_prog_RANLIB+:} false; then :
5602   $as_echo_n "(cached) " >&6
5603 else
5604   if test -n "$RANLIB"; then
5605   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5606 else
5607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5608 for as_dir in $PATH
5609 do
5610   IFS=$as_save_IFS
5611   test -z "$as_dir" && as_dir=.
5612     for ac_exec_ext in '' $ac_executable_extensions; do
5613   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5614     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5615     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5616     break 2
5617   fi
5618 done
5619   done
5620 IFS=$as_save_IFS
5621 
5622 fi
5623 fi
5624 RANLIB=$ac_cv_prog_RANLIB
5625 if test -n "$RANLIB"; then
5626   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5627 $as_echo "$RANLIB" >&6; }
5628 else
5629   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5630 $as_echo "no" >&6; }
5631 fi
5632 
5633 
5634 fi
5635 if test -z "$ac_cv_prog_RANLIB"; then
5636   ac_ct_RANLIB=$RANLIB
5637   # Extract the first word of "ranlib", so it can be a program name with args.
5638 set dummy ranlib; ac_word=$2
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5640 $as_echo_n "checking for $ac_word... " >&6; }
5641 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5642   $as_echo_n "(cached) " >&6
5643 else
5644   if test -n "$ac_ct_RANLIB"; then
5645   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5646 else
5647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5648 for as_dir in $PATH
5649 do
5650   IFS=$as_save_IFS
5651   test -z "$as_dir" && as_dir=.
5652     for ac_exec_ext in '' $ac_executable_extensions; do
5653   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5654     ac_cv_prog_ac_ct_RANLIB="ranlib"
5655     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5656     break 2
5657   fi
5658 done
5659   done
5660 IFS=$as_save_IFS
5661 
5662 fi
5663 fi
5664 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5665 if test -n "$ac_ct_RANLIB"; then
5666   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5667 $as_echo "$ac_ct_RANLIB" >&6; }
5668 else
5669   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5670 $as_echo "no" >&6; }
5671 fi
5672 
5673   if test "x$ac_ct_RANLIB" = x; then
5674     RANLIB=":"
5675   else
5676     case $cross_compiling:$ac_tool_warned in
5677 yes:)
5678 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5679 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5680 ac_tool_warned=yes ;;
5681 esac
5682     RANLIB=$ac_ct_RANLIB
5683   fi
5684 else
5685   RANLIB="$ac_cv_prog_RANLIB"
5686 fi
5687 
5688 test -z "$RANLIB" && RANLIB=:
5689 
5690 
5691 
5692 
5693 
5694 
5695 # Determine commands to create old-style static archives.
5696 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5697 old_postinstall_cmds='chmod 644 $oldlib'
5698 old_postuninstall_cmds=
5699 
5700 if test -n "$RANLIB"; then
5701   case $host_os in
5702   openbsd*)
5703     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5704     ;;
5705   *)
5706     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5707     ;;
5708   esac
5709   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5710 fi
5711 
5712 case $host_os in
5713   darwin*)
5714     lock_old_archive_extraction=yes ;;
5715   *)
5716     lock_old_archive_extraction=no ;;
5717 esac
5718 
5719 
5720 
5721 
5722 
5723 
5724 
5725 
5726 
5727 
5728 
5729 
5730 
5731 
5732 
5733 
5734 
5735 
5736 
5737 
5738 
5739 
5740 
5741 
5742 
5743 
5744 
5745 
5746 
5747 
5748 
5749 
5750 
5751 
5752 
5753 
5754 
5755 
5756 
5757 # If no C compiler was specified, use CC.
5758 LTCC=${LTCC-"$CC"}
5759 
5760 # If no C compiler flags were specified, use CFLAGS.
5761 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5762 
5763 # Allow CC to be a program name with arguments.
5764 compiler=$CC
5765 
5766 
5767 # Check for command to grab the raw symbol name followed by C symbol from nm.
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5769 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5770 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5771   $as_echo_n "(cached) " >&6
5772 else
5773 
5774 # These are sane defaults that work on at least a few old systems.
5775 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
5776 
5777 # Character class describing NM global symbol codes.
5778 symcode='[BCDEGRST]'
5779 
5780 # Regexp to match symbols that can be accessed directly from C.
5781 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5782 
5783 # Define system-specific variables.
5784 case $host_os in
5785 aix*)
5786   symcode='[BCDT]'
5787   ;;
5788 cygwin* | mingw* | pw32* | cegcc*)
5789   symcode='[ABCDGISTW]'
5790   ;;
5791 hpux*)
5792   if test "$host_cpu" = ia64; then
5793     symcode='[ABCDEGRST]'
5794   fi
5795   ;;
5796 irix* | nonstopux*)
5797   symcode='[BCDEGRST]'
5798   ;;
5799 osf*)
5800   symcode='[BCDEGQRST]'
5801   ;;
5802 solaris*)
5803   symcode='[BDRT]'
5804   ;;
5805 sco3.2v5*)
5806   symcode='[DT]'
5807   ;;
5808 sysv4.2uw2*)
5809   symcode='[DT]'
5810   ;;
5811 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5812   symcode='[ABDT]'
5813   ;;
5814 sysv4)
5815   symcode='[DFNSTU]'
5816   ;;
5817 esac
5818 
5819 # If we're using GNU nm, then use its standard symbol codes.
5820 case `$NM -V 2>&1` in
5821 *GNU* | *'with BFD'*)
5822   symcode='[ABCDGIRSTW]' ;;
5823 esac
5824 
5825 # Transform an extracted symbol line into a proper C declaration.
5826 # Some systems (esp. on ia64) link data and code symbols differently,
5827 # so use this general approach.
5828 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5829 
5830 # Transform an extracted symbol line into symbol name and symbol address
5831 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
5832 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'"
5833 
5834 # Handle CRLF in mingw tool chain
5835 opt_cr=
5836 case $build_os in
5837 mingw*)
5838   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5839   ;;
5840 esac
5841 
5842 # Try without a prefix underscore, then with it.
5843 for ac_symprfx in "" "_"; do
5844 
5845   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5846   symxfrm="\\1 $ac_symprfx\\2 \\2"
5847 
5848   # Write the raw and C identifiers.
5849   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5850     # Fake it for dumpbin and say T for any non-static function
5851     # and D for any global variable.
5852     # Also find C++ and __fastcall symbols from MSVC++,
5853     # which start with @ or ?.
5854     lt_cv_sys_global_symbol_pipe="$AWK '"\
5855 "     {last_section=section; section=\$ 3};"\
5856 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
5857 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5858 "     \$ 0!~/External *\|/{next};"\
5859 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5860 "     {if(hide[section]) next};"\
5861 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5862 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5863 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
5864 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5865 "     ' prfx=^$ac_symprfx"
5866   else
5867     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5868   fi
5869   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
5870 
5871   # Check to see that the pipe works correctly.
5872   pipe_works=no
5873 
5874   rm -f conftest*
5875   cat > conftest.$ac_ext <<_LT_EOF
5876 #ifdef __cplusplus
5877 extern "C" {
5878 #endif
5879 char nm_test_var;
5880 void nm_test_func(void);
5881 void nm_test_func(void){}
5882 #ifdef __cplusplus
5883 }
5884 #endif
5885 int main(){nm_test_var='a';nm_test_func();return(0);}
5886 _LT_EOF
5887 
5888   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5889   (eval $ac_compile) 2>&5
5890   ac_status=$?
5891   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5892   test $ac_status = 0; }; then
5893     # Now try to grab the symbols.
5894     nlist=conftest.nm
5895     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
5896   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
5897   ac_status=$?
5898   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5899   test $ac_status = 0; } && test -s "$nlist"; then
5900       # Try sorting and uniquifying the output.
5901       if sort "$nlist" | uniq > "$nlist"T; then
5902 	mv -f "$nlist"T "$nlist"
5903       else
5904 	rm -f "$nlist"T
5905       fi
5906 
5907       # Make sure that we snagged all the symbols we need.
5908       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5909 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5910 	  cat <<_LT_EOF > conftest.$ac_ext
5911 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
5912 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
5913 /* DATA imports from DLLs on WIN32 con't be const, because runtime
5914    relocations are performed -- see ld's documentation on pseudo-relocs.  */
5915 # define LT_DLSYM_CONST
5916 #elif defined(__osf__)
5917 /* This system does not cope well with relocations in const data.  */
5918 # define LT_DLSYM_CONST
5919 #else
5920 # define LT_DLSYM_CONST const
5921 #endif
5922 
5923 #ifdef __cplusplus
5924 extern "C" {
5925 #endif
5926 
5927 _LT_EOF
5928 	  # Now generate the symbol file.
5929 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5930 
5931 	  cat <<_LT_EOF >> conftest.$ac_ext
5932 
5933 /* The mapping between symbol names and symbols.  */
5934 LT_DLSYM_CONST struct {
5935   const char *name;
5936   void       *address;
5937 }
5938 lt__PROGRAM__LTX_preloaded_symbols[] =
5939 {
5940   { "@PROGRAM@", (void *) 0 },
5941 _LT_EOF
5942 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5943 	  cat <<\_LT_EOF >> conftest.$ac_ext
5944   {0, (void *) 0}
5945 };
5946 
5947 /* This works around a problem in FreeBSD linker */
5948 #ifdef FREEBSD_WORKAROUND
5949 static const void *lt_preloaded_setup() {
5950   return lt__PROGRAM__LTX_preloaded_symbols;
5951 }
5952 #endif
5953 
5954 #ifdef __cplusplus
5955 }
5956 #endif
5957 _LT_EOF
5958 	  # Now try linking the two files.
5959 	  mv conftest.$ac_objext conftstm.$ac_objext
5960 	  lt_globsym_save_LIBS=$LIBS
5961 	  lt_globsym_save_CFLAGS=$CFLAGS
5962 	  LIBS="conftstm.$ac_objext"
5963 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5964 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5965   (eval $ac_link) 2>&5
5966   ac_status=$?
5967   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5968   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
5969 	    pipe_works=yes
5970 	  fi
5971 	  LIBS=$lt_globsym_save_LIBS
5972 	  CFLAGS=$lt_globsym_save_CFLAGS
5973 	else
5974 	  echo "cannot find nm_test_func in $nlist" >&5
5975 	fi
5976       else
5977 	echo "cannot find nm_test_var in $nlist" >&5
5978       fi
5979     else
5980       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5981     fi
5982   else
5983     echo "$progname: failed program was:" >&5
5984     cat conftest.$ac_ext >&5
5985   fi
5986   rm -rf conftest* conftst*
5987 
5988   # Do not use the global_symbol_pipe unless it works.
5989   if test "$pipe_works" = yes; then
5990     break
5991   else
5992     lt_cv_sys_global_symbol_pipe=
5993   fi
5994 done
5995 
5996 fi
5997 
5998 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5999   lt_cv_sys_global_symbol_to_cdecl=
6000 fi
6001 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6002   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6003 $as_echo "failed" >&6; }
6004 else
6005   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6006 $as_echo "ok" >&6; }
6007 fi
6008 
6009 # Response file support.
6010 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6011   nm_file_list_spec='@'
6012 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6013   nm_file_list_spec='@'
6014 fi
6015 
6016 
6017 
6018 
6019 
6020 
6021 
6022 
6023 
6024 
6025 
6026 
6027 
6028 
6029 
6030 
6031 
6032 
6033 
6034 
6035 
6036 
6037 
6038 
6039 
6040 
6041 
6042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6043 $as_echo_n "checking for sysroot... " >&6; }
6044 
6045 # Check whether --with-sysroot was given.
6046 if test "${with_sysroot+set}" = set; then :
6047   withval=$with_sysroot;
6048 else
6049   with_sysroot=no
6050 fi
6051 
6052 
6053 lt_sysroot=
6054 case ${with_sysroot} in #(
6055  yes)
6056    if test "$GCC" = yes; then
6057      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6058    fi
6059    ;; #(
6060  /*)
6061    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6062    ;; #(
6063  no|'')
6064    ;; #(
6065  *)
6066    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6067 $as_echo "${with_sysroot}" >&6; }
6068    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6069    ;;
6070 esac
6071 
6072  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6073 $as_echo "${lt_sysroot:-no}" >&6; }
6074 
6075 
6076 
6077 
6078 
6079 # Check whether --enable-libtool-lock was given.
6080 if test "${enable_libtool_lock+set}" = set; then :
6081   enableval=$enable_libtool_lock;
6082 fi
6083 
6084 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6085 
6086 # Some flags need to be propagated to the compiler or linker for good
6087 # libtool support.
6088 case $host in
6089 ia64-*-hpux*)
6090   # Find out which ABI we are using.
6091   echo 'int i;' > conftest.$ac_ext
6092   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6093   (eval $ac_compile) 2>&5
6094   ac_status=$?
6095   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6096   test $ac_status = 0; }; then
6097     case `/usr/bin/file conftest.$ac_objext` in
6098       *ELF-32*)
6099 	HPUX_IA64_MODE="32"
6100 	;;
6101       *ELF-64*)
6102 	HPUX_IA64_MODE="64"
6103 	;;
6104     esac
6105   fi
6106   rm -rf conftest*
6107   ;;
6108 *-*-irix6*)
6109   # Find out which ABI we are using.
6110   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6111   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6112   (eval $ac_compile) 2>&5
6113   ac_status=$?
6114   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6115   test $ac_status = 0; }; then
6116     if test "$lt_cv_prog_gnu_ld" = yes; then
6117       case `/usr/bin/file conftest.$ac_objext` in
6118 	*32-bit*)
6119 	  LD="${LD-ld} -melf32bsmip"
6120 	  ;;
6121 	*N32*)
6122 	  LD="${LD-ld} -melf32bmipn32"
6123 	  ;;
6124 	*64-bit*)
6125 	  LD="${LD-ld} -melf64bmip"
6126 	;;
6127       esac
6128     else
6129       case `/usr/bin/file conftest.$ac_objext` in
6130 	*32-bit*)
6131 	  LD="${LD-ld} -32"
6132 	  ;;
6133 	*N32*)
6134 	  LD="${LD-ld} -n32"
6135 	  ;;
6136 	*64-bit*)
6137 	  LD="${LD-ld} -64"
6138 	  ;;
6139       esac
6140     fi
6141   fi
6142   rm -rf conftest*
6143   ;;
6144 
6145 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6146 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6147   # Find out which ABI we are using.
6148   echo 'int i;' > conftest.$ac_ext
6149   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6150   (eval $ac_compile) 2>&5
6151   ac_status=$?
6152   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6153   test $ac_status = 0; }; then
6154     case `/usr/bin/file conftest.o` in
6155       *32-bit*)
6156 	case $host in
6157 	  x86_64-*kfreebsd*-gnu)
6158 	    LD="${LD-ld} -m elf_i386_fbsd"
6159 	    ;;
6160 	  x86_64-*linux*)
6161 	    LD="${LD-ld} -m elf_i386"
6162 	    ;;
6163 	  ppc64-*linux*|powerpc64-*linux*)
6164 	    LD="${LD-ld} -m elf32ppclinux"
6165 	    ;;
6166 	  s390x-*linux*)
6167 	    LD="${LD-ld} -m elf_s390"
6168 	    ;;
6169 	  sparc64-*linux*)
6170 	    LD="${LD-ld} -m elf32_sparc"
6171 	    ;;
6172 	esac
6173 	;;
6174       *64-bit*)
6175 	case $host in
6176 	  x86_64-*kfreebsd*-gnu)
6177 	    LD="${LD-ld} -m elf_x86_64_fbsd"
6178 	    ;;
6179 	  x86_64-*linux*)
6180 	    LD="${LD-ld} -m elf_x86_64"
6181 	    ;;
6182 	  ppc*-*linux*|powerpc*-*linux*)
6183 	    LD="${LD-ld} -m elf64ppc"
6184 	    ;;
6185 	  s390*-*linux*|s390*-*tpf*)
6186 	    LD="${LD-ld} -m elf64_s390"
6187 	    ;;
6188 	  sparc*-*linux*)
6189 	    LD="${LD-ld} -m elf64_sparc"
6190 	    ;;
6191 	esac
6192 	;;
6193     esac
6194   fi
6195   rm -rf conftest*
6196   ;;
6197 
6198 *-*-sco3.2v5*)
6199   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6200   SAVE_CFLAGS="$CFLAGS"
6201   CFLAGS="$CFLAGS -belf"
6202   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6203 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6204 if ${lt_cv_cc_needs_belf+:} false; then :
6205   $as_echo_n "(cached) " >&6
6206 else
6207   ac_ext=c
6208 ac_cpp='$CPP $CPPFLAGS'
6209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6212 
6213      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6214 /* end confdefs.h.  */
6215 
6216 int
6217 main ()
6218 {
6219 
6220   ;
6221   return 0;
6222 }
6223 _ACEOF
6224 if ac_fn_c_try_link "$LINENO"; then :
6225   lt_cv_cc_needs_belf=yes
6226 else
6227   lt_cv_cc_needs_belf=no
6228 fi
6229 rm -f core conftest.err conftest.$ac_objext \
6230     conftest$ac_exeext conftest.$ac_ext
6231      ac_ext=c
6232 ac_cpp='$CPP $CPPFLAGS'
6233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6236 
6237 fi
6238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6239 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6240   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6241     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6242     CFLAGS="$SAVE_CFLAGS"
6243   fi
6244   ;;
6245 *-*solaris*)
6246   # Find out which ABI we are using.
6247   echo 'int i;' > conftest.$ac_ext
6248   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6249   (eval $ac_compile) 2>&5
6250   ac_status=$?
6251   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6252   test $ac_status = 0; }; then
6253     case `/usr/bin/file conftest.o` in
6254     *64-bit*)
6255       case $lt_cv_prog_gnu_ld in
6256       yes*)
6257         case $host in
6258         i?86-*-solaris*)
6259           LD="${LD-ld} -m elf_x86_64"
6260           ;;
6261         sparc*-*-solaris*)
6262           LD="${LD-ld} -m elf64_sparc"
6263           ;;
6264         esac
6265         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6266         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6267           LD="${LD-ld}_sol2"
6268         fi
6269         ;;
6270       *)
6271 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6272 	  LD="${LD-ld} -64"
6273 	fi
6274 	;;
6275       esac
6276       ;;
6277     esac
6278   fi
6279   rm -rf conftest*
6280   ;;
6281 esac
6282 
6283 need_locks="$enable_libtool_lock"
6284 
6285 if test -n "$ac_tool_prefix"; then
6286   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6287 set dummy ${ac_tool_prefix}mt; ac_word=$2
6288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6289 $as_echo_n "checking for $ac_word... " >&6; }
6290 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6291   $as_echo_n "(cached) " >&6
6292 else
6293   if test -n "$MANIFEST_TOOL"; then
6294   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6295 else
6296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6297 for as_dir in $PATH
6298 do
6299   IFS=$as_save_IFS
6300   test -z "$as_dir" && as_dir=.
6301     for ac_exec_ext in '' $ac_executable_extensions; do
6302   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6303     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6304     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6305     break 2
6306   fi
6307 done
6308   done
6309 IFS=$as_save_IFS
6310 
6311 fi
6312 fi
6313 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6314 if test -n "$MANIFEST_TOOL"; then
6315   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6316 $as_echo "$MANIFEST_TOOL" >&6; }
6317 else
6318   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6319 $as_echo "no" >&6; }
6320 fi
6321 
6322 
6323 fi
6324 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6325   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6326   # Extract the first word of "mt", so it can be a program name with args.
6327 set dummy mt; ac_word=$2
6328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6329 $as_echo_n "checking for $ac_word... " >&6; }
6330 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6331   $as_echo_n "(cached) " >&6
6332 else
6333   if test -n "$ac_ct_MANIFEST_TOOL"; then
6334   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6335 else
6336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6337 for as_dir in $PATH
6338 do
6339   IFS=$as_save_IFS
6340   test -z "$as_dir" && as_dir=.
6341     for ac_exec_ext in '' $ac_executable_extensions; do
6342   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6343     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6344     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6345     break 2
6346   fi
6347 done
6348   done
6349 IFS=$as_save_IFS
6350 
6351 fi
6352 fi
6353 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6354 if test -n "$ac_ct_MANIFEST_TOOL"; then
6355   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6356 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6357 else
6358   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6359 $as_echo "no" >&6; }
6360 fi
6361 
6362   if test "x$ac_ct_MANIFEST_TOOL" = x; then
6363     MANIFEST_TOOL=":"
6364   else
6365     case $cross_compiling:$ac_tool_warned in
6366 yes:)
6367 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6368 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6369 ac_tool_warned=yes ;;
6370 esac
6371     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6372   fi
6373 else
6374   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6375 fi
6376 
6377 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6379 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6380 if ${lt_cv_path_mainfest_tool+:} false; then :
6381   $as_echo_n "(cached) " >&6
6382 else
6383   lt_cv_path_mainfest_tool=no
6384   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6385   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6386   cat conftest.err >&5
6387   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6388     lt_cv_path_mainfest_tool=yes
6389   fi
6390   rm -f conftest*
6391 fi
6392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6393 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6394 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6395   MANIFEST_TOOL=:
6396 fi
6397 
6398 
6399 
6400 
6401 
6402 
6403   case $host_os in
6404     rhapsody* | darwin*)
6405     if test -n "$ac_tool_prefix"; then
6406   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6407 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6409 $as_echo_n "checking for $ac_word... " >&6; }
6410 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6411   $as_echo_n "(cached) " >&6
6412 else
6413   if test -n "$DSYMUTIL"; then
6414   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6415 else
6416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6417 for as_dir in $PATH
6418 do
6419   IFS=$as_save_IFS
6420   test -z "$as_dir" && as_dir=.
6421     for ac_exec_ext in '' $ac_executable_extensions; do
6422   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6423     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6424     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6425     break 2
6426   fi
6427 done
6428   done
6429 IFS=$as_save_IFS
6430 
6431 fi
6432 fi
6433 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6434 if test -n "$DSYMUTIL"; then
6435   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6436 $as_echo "$DSYMUTIL" >&6; }
6437 else
6438   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6439 $as_echo "no" >&6; }
6440 fi
6441 
6442 
6443 fi
6444 if test -z "$ac_cv_prog_DSYMUTIL"; then
6445   ac_ct_DSYMUTIL=$DSYMUTIL
6446   # Extract the first word of "dsymutil", so it can be a program name with args.
6447 set dummy dsymutil; ac_word=$2
6448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6449 $as_echo_n "checking for $ac_word... " >&6; }
6450 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6451   $as_echo_n "(cached) " >&6
6452 else
6453   if test -n "$ac_ct_DSYMUTIL"; then
6454   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6455 else
6456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6457 for as_dir in $PATH
6458 do
6459   IFS=$as_save_IFS
6460   test -z "$as_dir" && as_dir=.
6461     for ac_exec_ext in '' $ac_executable_extensions; do
6462   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6463     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6464     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6465     break 2
6466   fi
6467 done
6468   done
6469 IFS=$as_save_IFS
6470 
6471 fi
6472 fi
6473 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6474 if test -n "$ac_ct_DSYMUTIL"; then
6475   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6476 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6477 else
6478   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6479 $as_echo "no" >&6; }
6480 fi
6481 
6482   if test "x$ac_ct_DSYMUTIL" = x; then
6483     DSYMUTIL=":"
6484   else
6485     case $cross_compiling:$ac_tool_warned in
6486 yes:)
6487 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6488 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6489 ac_tool_warned=yes ;;
6490 esac
6491     DSYMUTIL=$ac_ct_DSYMUTIL
6492   fi
6493 else
6494   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6495 fi
6496 
6497     if test -n "$ac_tool_prefix"; then
6498   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6499 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6501 $as_echo_n "checking for $ac_word... " >&6; }
6502 if ${ac_cv_prog_NMEDIT+:} false; then :
6503   $as_echo_n "(cached) " >&6
6504 else
6505   if test -n "$NMEDIT"; then
6506   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6507 else
6508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6509 for as_dir in $PATH
6510 do
6511   IFS=$as_save_IFS
6512   test -z "$as_dir" && as_dir=.
6513     for ac_exec_ext in '' $ac_executable_extensions; do
6514   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6515     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6516     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6517     break 2
6518   fi
6519 done
6520   done
6521 IFS=$as_save_IFS
6522 
6523 fi
6524 fi
6525 NMEDIT=$ac_cv_prog_NMEDIT
6526 if test -n "$NMEDIT"; then
6527   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6528 $as_echo "$NMEDIT" >&6; }
6529 else
6530   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6531 $as_echo "no" >&6; }
6532 fi
6533 
6534 
6535 fi
6536 if test -z "$ac_cv_prog_NMEDIT"; then
6537   ac_ct_NMEDIT=$NMEDIT
6538   # Extract the first word of "nmedit", so it can be a program name with args.
6539 set dummy nmedit; ac_word=$2
6540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6541 $as_echo_n "checking for $ac_word... " >&6; }
6542 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6543   $as_echo_n "(cached) " >&6
6544 else
6545   if test -n "$ac_ct_NMEDIT"; then
6546   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6547 else
6548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6549 for as_dir in $PATH
6550 do
6551   IFS=$as_save_IFS
6552   test -z "$as_dir" && as_dir=.
6553     for ac_exec_ext in '' $ac_executable_extensions; do
6554   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6555     ac_cv_prog_ac_ct_NMEDIT="nmedit"
6556     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6557     break 2
6558   fi
6559 done
6560   done
6561 IFS=$as_save_IFS
6562 
6563 fi
6564 fi
6565 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6566 if test -n "$ac_ct_NMEDIT"; then
6567   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6568 $as_echo "$ac_ct_NMEDIT" >&6; }
6569 else
6570   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6571 $as_echo "no" >&6; }
6572 fi
6573 
6574   if test "x$ac_ct_NMEDIT" = x; then
6575     NMEDIT=":"
6576   else
6577     case $cross_compiling:$ac_tool_warned in
6578 yes:)
6579 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6580 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6581 ac_tool_warned=yes ;;
6582 esac
6583     NMEDIT=$ac_ct_NMEDIT
6584   fi
6585 else
6586   NMEDIT="$ac_cv_prog_NMEDIT"
6587 fi
6588 
6589     if test -n "$ac_tool_prefix"; then
6590   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6591 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6593 $as_echo_n "checking for $ac_word... " >&6; }
6594 if ${ac_cv_prog_LIPO+:} false; then :
6595   $as_echo_n "(cached) " >&6
6596 else
6597   if test -n "$LIPO"; then
6598   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6599 else
6600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6601 for as_dir in $PATH
6602 do
6603   IFS=$as_save_IFS
6604   test -z "$as_dir" && as_dir=.
6605     for ac_exec_ext in '' $ac_executable_extensions; do
6606   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6607     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6608     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6609     break 2
6610   fi
6611 done
6612   done
6613 IFS=$as_save_IFS
6614 
6615 fi
6616 fi
6617 LIPO=$ac_cv_prog_LIPO
6618 if test -n "$LIPO"; then
6619   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6620 $as_echo "$LIPO" >&6; }
6621 else
6622   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6623 $as_echo "no" >&6; }
6624 fi
6625 
6626 
6627 fi
6628 if test -z "$ac_cv_prog_LIPO"; then
6629   ac_ct_LIPO=$LIPO
6630   # Extract the first word of "lipo", so it can be a program name with args.
6631 set dummy lipo; ac_word=$2
6632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6633 $as_echo_n "checking for $ac_word... " >&6; }
6634 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6635   $as_echo_n "(cached) " >&6
6636 else
6637   if test -n "$ac_ct_LIPO"; then
6638   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6639 else
6640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6641 for as_dir in $PATH
6642 do
6643   IFS=$as_save_IFS
6644   test -z "$as_dir" && as_dir=.
6645     for ac_exec_ext in '' $ac_executable_extensions; do
6646   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6647     ac_cv_prog_ac_ct_LIPO="lipo"
6648     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6649     break 2
6650   fi
6651 done
6652   done
6653 IFS=$as_save_IFS
6654 
6655 fi
6656 fi
6657 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6658 if test -n "$ac_ct_LIPO"; then
6659   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6660 $as_echo "$ac_ct_LIPO" >&6; }
6661 else
6662   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6663 $as_echo "no" >&6; }
6664 fi
6665 
6666   if test "x$ac_ct_LIPO" = x; then
6667     LIPO=":"
6668   else
6669     case $cross_compiling:$ac_tool_warned in
6670 yes:)
6671 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6672 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6673 ac_tool_warned=yes ;;
6674 esac
6675     LIPO=$ac_ct_LIPO
6676   fi
6677 else
6678   LIPO="$ac_cv_prog_LIPO"
6679 fi
6680 
6681     if test -n "$ac_tool_prefix"; then
6682   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6683 set dummy ${ac_tool_prefix}otool; ac_word=$2
6684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6685 $as_echo_n "checking for $ac_word... " >&6; }
6686 if ${ac_cv_prog_OTOOL+:} false; then :
6687   $as_echo_n "(cached) " >&6
6688 else
6689   if test -n "$OTOOL"; then
6690   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6691 else
6692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6693 for as_dir in $PATH
6694 do
6695   IFS=$as_save_IFS
6696   test -z "$as_dir" && as_dir=.
6697     for ac_exec_ext in '' $ac_executable_extensions; do
6698   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6699     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6700     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6701     break 2
6702   fi
6703 done
6704   done
6705 IFS=$as_save_IFS
6706 
6707 fi
6708 fi
6709 OTOOL=$ac_cv_prog_OTOOL
6710 if test -n "$OTOOL"; then
6711   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6712 $as_echo "$OTOOL" >&6; }
6713 else
6714   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6715 $as_echo "no" >&6; }
6716 fi
6717 
6718 
6719 fi
6720 if test -z "$ac_cv_prog_OTOOL"; then
6721   ac_ct_OTOOL=$OTOOL
6722   # Extract the first word of "otool", so it can be a program name with args.
6723 set dummy otool; ac_word=$2
6724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6725 $as_echo_n "checking for $ac_word... " >&6; }
6726 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6727   $as_echo_n "(cached) " >&6
6728 else
6729   if test -n "$ac_ct_OTOOL"; then
6730   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6731 else
6732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6733 for as_dir in $PATH
6734 do
6735   IFS=$as_save_IFS
6736   test -z "$as_dir" && as_dir=.
6737     for ac_exec_ext in '' $ac_executable_extensions; do
6738   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6739     ac_cv_prog_ac_ct_OTOOL="otool"
6740     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6741     break 2
6742   fi
6743 done
6744   done
6745 IFS=$as_save_IFS
6746 
6747 fi
6748 fi
6749 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6750 if test -n "$ac_ct_OTOOL"; then
6751   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6752 $as_echo "$ac_ct_OTOOL" >&6; }
6753 else
6754   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6755 $as_echo "no" >&6; }
6756 fi
6757 
6758   if test "x$ac_ct_OTOOL" = x; then
6759     OTOOL=":"
6760   else
6761     case $cross_compiling:$ac_tool_warned in
6762 yes:)
6763 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6764 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6765 ac_tool_warned=yes ;;
6766 esac
6767     OTOOL=$ac_ct_OTOOL
6768   fi
6769 else
6770   OTOOL="$ac_cv_prog_OTOOL"
6771 fi
6772 
6773     if test -n "$ac_tool_prefix"; then
6774   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6775 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6777 $as_echo_n "checking for $ac_word... " >&6; }
6778 if ${ac_cv_prog_OTOOL64+:} false; then :
6779   $as_echo_n "(cached) " >&6
6780 else
6781   if test -n "$OTOOL64"; then
6782   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6783 else
6784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6785 for as_dir in $PATH
6786 do
6787   IFS=$as_save_IFS
6788   test -z "$as_dir" && as_dir=.
6789     for ac_exec_ext in '' $ac_executable_extensions; do
6790   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6791     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6792     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6793     break 2
6794   fi
6795 done
6796   done
6797 IFS=$as_save_IFS
6798 
6799 fi
6800 fi
6801 OTOOL64=$ac_cv_prog_OTOOL64
6802 if test -n "$OTOOL64"; then
6803   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6804 $as_echo "$OTOOL64" >&6; }
6805 else
6806   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6807 $as_echo "no" >&6; }
6808 fi
6809 
6810 
6811 fi
6812 if test -z "$ac_cv_prog_OTOOL64"; then
6813   ac_ct_OTOOL64=$OTOOL64
6814   # Extract the first word of "otool64", so it can be a program name with args.
6815 set dummy otool64; ac_word=$2
6816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6817 $as_echo_n "checking for $ac_word... " >&6; }
6818 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
6819   $as_echo_n "(cached) " >&6
6820 else
6821   if test -n "$ac_ct_OTOOL64"; then
6822   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6823 else
6824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6825 for as_dir in $PATH
6826 do
6827   IFS=$as_save_IFS
6828   test -z "$as_dir" && as_dir=.
6829     for ac_exec_ext in '' $ac_executable_extensions; do
6830   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6831     ac_cv_prog_ac_ct_OTOOL64="otool64"
6832     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6833     break 2
6834   fi
6835 done
6836   done
6837 IFS=$as_save_IFS
6838 
6839 fi
6840 fi
6841 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6842 if test -n "$ac_ct_OTOOL64"; then
6843   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6844 $as_echo "$ac_ct_OTOOL64" >&6; }
6845 else
6846   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6847 $as_echo "no" >&6; }
6848 fi
6849 
6850   if test "x$ac_ct_OTOOL64" = x; then
6851     OTOOL64=":"
6852   else
6853     case $cross_compiling:$ac_tool_warned in
6854 yes:)
6855 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6856 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6857 ac_tool_warned=yes ;;
6858 esac
6859     OTOOL64=$ac_ct_OTOOL64
6860   fi
6861 else
6862   OTOOL64="$ac_cv_prog_OTOOL64"
6863 fi
6864 
6865 
6866 
6867 
6868 
6869 
6870 
6871 
6872 
6873 
6874 
6875 
6876 
6877 
6878 
6879 
6880 
6881 
6882 
6883 
6884 
6885 
6886 
6887 
6888 
6889 
6890 
6891     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6892 $as_echo_n "checking for -single_module linker flag... " >&6; }
6893 if ${lt_cv_apple_cc_single_mod+:} false; then :
6894   $as_echo_n "(cached) " >&6
6895 else
6896   lt_cv_apple_cc_single_mod=no
6897       if test -z "${LT_MULTI_MODULE}"; then
6898 	# By default we will add the -single_module flag. You can override
6899 	# by either setting the environment variable LT_MULTI_MODULE
6900 	# non-empty at configure time, or by adding -multi_module to the
6901 	# link flags.
6902 	rm -rf libconftest.dylib*
6903 	echo "int foo(void){return 1;}" > conftest.c
6904 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6905 -dynamiclib -Wl,-single_module conftest.c" >&5
6906 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6907 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6908         _lt_result=$?
6909 	# If there is a non-empty error log, and "single_module"
6910 	# appears in it, assume the flag caused a linker warning
6911         if test -s conftest.err && $GREP single_module conftest.err; then
6912 	  cat conftest.err >&5
6913 	# Otherwise, if the output was created with a 0 exit code from
6914 	# the compiler, it worked.
6915 	elif test -f libconftest.dylib && test $_lt_result -eq 0; then
6916 	  lt_cv_apple_cc_single_mod=yes
6917 	else
6918 	  cat conftest.err >&5
6919 	fi
6920 	rm -rf libconftest.dylib*
6921 	rm -f conftest.*
6922       fi
6923 fi
6924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6925 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6926 
6927     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6928 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6929 if ${lt_cv_ld_exported_symbols_list+:} false; then :
6930   $as_echo_n "(cached) " >&6
6931 else
6932   lt_cv_ld_exported_symbols_list=no
6933       save_LDFLAGS=$LDFLAGS
6934       echo "_main" > conftest.sym
6935       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6936       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6937 /* end confdefs.h.  */
6938 
6939 int
6940 main ()
6941 {
6942 
6943   ;
6944   return 0;
6945 }
6946 _ACEOF
6947 if ac_fn_c_try_link "$LINENO"; then :
6948   lt_cv_ld_exported_symbols_list=yes
6949 else
6950   lt_cv_ld_exported_symbols_list=no
6951 fi
6952 rm -f core conftest.err conftest.$ac_objext \
6953     conftest$ac_exeext conftest.$ac_ext
6954 	LDFLAGS="$save_LDFLAGS"
6955 
6956 fi
6957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6958 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6959 
6960     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
6961 $as_echo_n "checking for -force_load linker flag... " >&6; }
6962 if ${lt_cv_ld_force_load+:} false; then :
6963   $as_echo_n "(cached) " >&6
6964 else
6965   lt_cv_ld_force_load=no
6966       cat > conftest.c << _LT_EOF
6967 int forced_loaded() { return 2;}
6968 _LT_EOF
6969       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
6970       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
6971       echo "$AR cru libconftest.a conftest.o" >&5
6972       $AR cru libconftest.a conftest.o 2>&5
6973       echo "$RANLIB libconftest.a" >&5
6974       $RANLIB libconftest.a 2>&5
6975       cat > conftest.c << _LT_EOF
6976 int main() { return 0;}
6977 _LT_EOF
6978       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
6979       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
6980       _lt_result=$?
6981       if test -s conftest.err && $GREP force_load conftest.err; then
6982 	cat conftest.err >&5
6983       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
6984 	lt_cv_ld_force_load=yes
6985       else
6986 	cat conftest.err >&5
6987       fi
6988         rm -f conftest.err libconftest.a conftest conftest.c
6989         rm -rf conftest.dSYM
6990 
6991 fi
6992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
6993 $as_echo "$lt_cv_ld_force_load" >&6; }
6994     case $host_os in
6995     rhapsody* | darwin1.[012])
6996       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6997     darwin1.*)
6998       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6999     darwin*) # darwin 5.x on
7000       # if running on 10.5 or later, the deployment target defaults
7001       # to the OS version, if on x86, and 10.4, the deployment
7002       # target defaults to 10.4. Don't you love it?
7003       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7004 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7005 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7006 	10.[012]*)
7007 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7008 	10.*)
7009 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7010       esac
7011     ;;
7012   esac
7013     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7014       _lt_dar_single_mod='$single_module'
7015     fi
7016     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7017       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7018     else
7019       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7020     fi
7021     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7022       _lt_dsymutil='~$DSYMUTIL $lib || :'
7023     else
7024       _lt_dsymutil=
7025     fi
7026     ;;
7027   esac
7028 
7029 ac_ext=c
7030 ac_cpp='$CPP $CPPFLAGS'
7031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7035 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7036 # On Suns, sometimes $CPP names a directory.
7037 if test -n "$CPP" && test -d "$CPP"; then
7038   CPP=
7039 fi
7040 if test -z "$CPP"; then
7041   if ${ac_cv_prog_CPP+:} false; then :
7042   $as_echo_n "(cached) " >&6
7043 else
7044       # Double quotes because CPP needs to be expanded
7045     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7046     do
7047       ac_preproc_ok=false
7048 for ac_c_preproc_warn_flag in '' yes
7049 do
7050   # Use a header file that comes with gcc, so configuring glibc
7051   # with a fresh cross-compiler works.
7052   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7053   # <limits.h> exists even on freestanding compilers.
7054   # On the NeXT, cc -E runs the code through the compiler's parser,
7055   # not just through cpp. "Syntax error" is here to catch this case.
7056   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7057 /* end confdefs.h.  */
7058 #ifdef __STDC__
7059 # include <limits.h>
7060 #else
7061 # include <assert.h>
7062 #endif
7063 		     Syntax error
7064 _ACEOF
7065 if ac_fn_c_try_cpp "$LINENO"; then :
7066 
7067 else
7068   # Broken: fails on valid input.
7069 continue
7070 fi
7071 rm -f conftest.err conftest.i conftest.$ac_ext
7072 
7073   # OK, works on sane cases.  Now check whether nonexistent headers
7074   # can be detected and how.
7075   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7076 /* end confdefs.h.  */
7077 #include <ac_nonexistent.h>
7078 _ACEOF
7079 if ac_fn_c_try_cpp "$LINENO"; then :
7080   # Broken: success on invalid input.
7081 continue
7082 else
7083   # Passes both tests.
7084 ac_preproc_ok=:
7085 break
7086 fi
7087 rm -f conftest.err conftest.i conftest.$ac_ext
7088 
7089 done
7090 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7091 rm -f conftest.i conftest.err conftest.$ac_ext
7092 if $ac_preproc_ok; then :
7093   break
7094 fi
7095 
7096     done
7097     ac_cv_prog_CPP=$CPP
7098 
7099 fi
7100   CPP=$ac_cv_prog_CPP
7101 else
7102   ac_cv_prog_CPP=$CPP
7103 fi
7104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7105 $as_echo "$CPP" >&6; }
7106 ac_preproc_ok=false
7107 for ac_c_preproc_warn_flag in '' yes
7108 do
7109   # Use a header file that comes with gcc, so configuring glibc
7110   # with a fresh cross-compiler works.
7111   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7112   # <limits.h> exists even on freestanding compilers.
7113   # On the NeXT, cc -E runs the code through the compiler's parser,
7114   # not just through cpp. "Syntax error" is here to catch this case.
7115   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7116 /* end confdefs.h.  */
7117 #ifdef __STDC__
7118 # include <limits.h>
7119 #else
7120 # include <assert.h>
7121 #endif
7122 		     Syntax error
7123 _ACEOF
7124 if ac_fn_c_try_cpp "$LINENO"; then :
7125 
7126 else
7127   # Broken: fails on valid input.
7128 continue
7129 fi
7130 rm -f conftest.err conftest.i conftest.$ac_ext
7131 
7132   # OK, works on sane cases.  Now check whether nonexistent headers
7133   # can be detected and how.
7134   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7135 /* end confdefs.h.  */
7136 #include <ac_nonexistent.h>
7137 _ACEOF
7138 if ac_fn_c_try_cpp "$LINENO"; then :
7139   # Broken: success on invalid input.
7140 continue
7141 else
7142   # Passes both tests.
7143 ac_preproc_ok=:
7144 break
7145 fi
7146 rm -f conftest.err conftest.i conftest.$ac_ext
7147 
7148 done
7149 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7150 rm -f conftest.i conftest.err conftest.$ac_ext
7151 if $ac_preproc_ok; then :
7152 
7153 else
7154   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7155 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7156 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7157 See \`config.log' for more details" "$LINENO" 5; }
7158 fi
7159 
7160 ac_ext=c
7161 ac_cpp='$CPP $CPPFLAGS'
7162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7165 
7166 
7167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7168 $as_echo_n "checking for ANSI C header files... " >&6; }
7169 if ${ac_cv_header_stdc+:} false; then :
7170   $as_echo_n "(cached) " >&6
7171 else
7172   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7173 /* end confdefs.h.  */
7174 #include <stdlib.h>
7175 #include <stdarg.h>
7176 #include <string.h>
7177 #include <float.h>
7178 
7179 int
7180 main ()
7181 {
7182 
7183   ;
7184   return 0;
7185 }
7186 _ACEOF
7187 if ac_fn_c_try_compile "$LINENO"; then :
7188   ac_cv_header_stdc=yes
7189 else
7190   ac_cv_header_stdc=no
7191 fi
7192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7193 
7194 if test $ac_cv_header_stdc = yes; then
7195   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7196   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7197 /* end confdefs.h.  */
7198 #include <string.h>
7199 
7200 _ACEOF
7201 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7202   $EGREP "memchr" >/dev/null 2>&1; then :
7203 
7204 else
7205   ac_cv_header_stdc=no
7206 fi
7207 rm -f conftest*
7208 
7209 fi
7210 
7211 if test $ac_cv_header_stdc = yes; then
7212   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7213   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7214 /* end confdefs.h.  */
7215 #include <stdlib.h>
7216 
7217 _ACEOF
7218 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7219   $EGREP "free" >/dev/null 2>&1; then :
7220 
7221 else
7222   ac_cv_header_stdc=no
7223 fi
7224 rm -f conftest*
7225 
7226 fi
7227 
7228 if test $ac_cv_header_stdc = yes; then
7229   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7230   if test "$cross_compiling" = yes; then :
7231   :
7232 else
7233   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7234 /* end confdefs.h.  */
7235 #include <ctype.h>
7236 #include <stdlib.h>
7237 #if ((' ' & 0x0FF) == 0x020)
7238 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7239 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7240 #else
7241 # define ISLOWER(c) \
7242 		   (('a' <= (c) && (c) <= 'i') \
7243 		     || ('j' <= (c) && (c) <= 'r') \
7244 		     || ('s' <= (c) && (c) <= 'z'))
7245 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7246 #endif
7247 
7248 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7249 int
7250 main ()
7251 {
7252   int i;
7253   for (i = 0; i < 256; i++)
7254     if (XOR (islower (i), ISLOWER (i))
7255 	|| toupper (i) != TOUPPER (i))
7256       return 2;
7257   return 0;
7258 }
7259 _ACEOF
7260 if ac_fn_c_try_run "$LINENO"; then :
7261 
7262 else
7263   ac_cv_header_stdc=no
7264 fi
7265 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7266   conftest.$ac_objext conftest.beam conftest.$ac_ext
7267 fi
7268 
7269 fi
7270 fi
7271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7272 $as_echo "$ac_cv_header_stdc" >&6; }
7273 if test $ac_cv_header_stdc = yes; then
7274 
7275 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7276 
7277 fi
7278 
7279 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7280 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7281 		  inttypes.h stdint.h unistd.h
7282 do :
7283   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7284 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7285 "
7286 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7287   cat >>confdefs.h <<_ACEOF
7288 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7289 _ACEOF
7290 
7291 fi
7292 
7293 done
7294 
7295 
7296 for ac_header in dlfcn.h
7297 do :
7298   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7299 "
7300 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7301   cat >>confdefs.h <<_ACEOF
7302 #define HAVE_DLFCN_H 1
7303 _ACEOF
7304 
7305 fi
7306 
7307 done
7308 
7309 
7310 
7311 
7312 
7313 # Set options
7314 
7315 
7316 
7317         enable_dlopen=no
7318 
7319 
7320   enable_win32_dll=no
7321 
7322 
7323             # Check whether --enable-shared was given.
7324 if test "${enable_shared+set}" = set; then :
7325   enableval=$enable_shared; p=${PACKAGE-default}
7326     case $enableval in
7327     yes) enable_shared=yes ;;
7328     no) enable_shared=no ;;
7329     *)
7330       enable_shared=no
7331       # Look at the argument we got.  We use all the common list separators.
7332       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7333       for pkg in $enableval; do
7334 	IFS="$lt_save_ifs"
7335 	if test "X$pkg" = "X$p"; then
7336 	  enable_shared=yes
7337 	fi
7338       done
7339       IFS="$lt_save_ifs"
7340       ;;
7341     esac
7342 else
7343   enable_shared=yes
7344 fi
7345 
7346 
7347 
7348 
7349 
7350 
7351 
7352 
7353 
7354   # Check whether --enable-static was given.
7355 if test "${enable_static+set}" = set; then :
7356   enableval=$enable_static; p=${PACKAGE-default}
7357     case $enableval in
7358     yes) enable_static=yes ;;
7359     no) enable_static=no ;;
7360     *)
7361      enable_static=no
7362       # Look at the argument we got.  We use all the common list separators.
7363       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7364       for pkg in $enableval; do
7365 	IFS="$lt_save_ifs"
7366 	if test "X$pkg" = "X$p"; then
7367 	  enable_static=yes
7368 	fi
7369       done
7370       IFS="$lt_save_ifs"
7371       ;;
7372     esac
7373 else
7374   enable_static=yes
7375 fi
7376 
7377 
7378 
7379 
7380 
7381 
7382 
7383 
7384 
7385 
7386 # Check whether --with-pic was given.
7387 if test "${with_pic+set}" = set; then :
7388   withval=$with_pic; lt_p=${PACKAGE-default}
7389     case $withval in
7390     yes|no) pic_mode=$withval ;;
7391     *)
7392       pic_mode=default
7393       # Look at the argument we got.  We use all the common list separators.
7394       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7395       for lt_pkg in $withval; do
7396 	IFS="$lt_save_ifs"
7397 	if test "X$lt_pkg" = "X$lt_p"; then
7398 	  pic_mode=yes
7399 	fi
7400       done
7401       IFS="$lt_save_ifs"
7402       ;;
7403     esac
7404 else
7405   pic_mode=default
7406 fi
7407 
7408 
7409 test -z "$pic_mode" && pic_mode=default
7410 
7411 
7412 
7413 
7414 
7415 
7416 
7417   # Check whether --enable-fast-install was given.
7418 if test "${enable_fast_install+set}" = set; then :
7419   enableval=$enable_fast_install; p=${PACKAGE-default}
7420     case $enableval in
7421     yes) enable_fast_install=yes ;;
7422     no) enable_fast_install=no ;;
7423     *)
7424       enable_fast_install=no
7425       # Look at the argument we got.  We use all the common list separators.
7426       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7427       for pkg in $enableval; do
7428 	IFS="$lt_save_ifs"
7429 	if test "X$pkg" = "X$p"; then
7430 	  enable_fast_install=yes
7431 	fi
7432       done
7433       IFS="$lt_save_ifs"
7434       ;;
7435     esac
7436 else
7437   enable_fast_install=yes
7438 fi
7439 
7440 
7441 
7442 
7443 
7444 
7445 
7446 
7447 
7448 
7449 
7450 # This can be used to rebuild libtool when needed
7451 LIBTOOL_DEPS="$ltmain"
7452 
7453 # Always use our own libtool.
7454 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7455 
7456 
7457 
7458 
7459 
7460 
7461 
7462 
7463 
7464 
7465 
7466 
7467 
7468 
7469 
7470 
7471 
7472 
7473 
7474 
7475 
7476 
7477 
7478 
7479 
7480 
7481 
7482 
7483 
7484 
7485 test -z "$LN_S" && LN_S="ln -s"
7486 
7487 
7488 
7489 
7490 
7491 
7492 
7493 
7494 
7495 
7496 
7497 
7498 
7499 
7500 if test -n "${ZSH_VERSION+set}" ; then
7501    setopt NO_GLOB_SUBST
7502 fi
7503 
7504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7505 $as_echo_n "checking for objdir... " >&6; }
7506 if ${lt_cv_objdir+:} false; then :
7507   $as_echo_n "(cached) " >&6
7508 else
7509   rm -f .libs 2>/dev/null
7510 mkdir .libs 2>/dev/null
7511 if test -d .libs; then
7512   lt_cv_objdir=.libs
7513 else
7514   # MS-DOS does not allow filenames that begin with a dot.
7515   lt_cv_objdir=_libs
7516 fi
7517 rmdir .libs 2>/dev/null
7518 fi
7519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7520 $as_echo "$lt_cv_objdir" >&6; }
7521 objdir=$lt_cv_objdir
7522 
7523 
7524 
7525 
7526 
7527 cat >>confdefs.h <<_ACEOF
7528 #define LT_OBJDIR "$lt_cv_objdir/"
7529 _ACEOF
7530 
7531 
7532 
7533 
7534 case $host_os in
7535 aix3*)
7536   # AIX sometimes has problems with the GCC collect2 program.  For some
7537   # reason, if we set the COLLECT_NAMES environment variable, the problems
7538   # vanish in a puff of smoke.
7539   if test "X${COLLECT_NAMES+set}" != Xset; then
7540     COLLECT_NAMES=
7541     export COLLECT_NAMES
7542   fi
7543   ;;
7544 esac
7545 
7546 # Global variables:
7547 ofile=libtool
7548 can_build_shared=yes
7549 
7550 # All known linkers require a `.a' archive for static linking (except MSVC,
7551 # which needs '.lib').
7552 libext=a
7553 
7554 with_gnu_ld="$lt_cv_prog_gnu_ld"
7555 
7556 old_CC="$CC"
7557 old_CFLAGS="$CFLAGS"
7558 
7559 # Set sane defaults for various variables
7560 test -z "$CC" && CC=cc
7561 test -z "$LTCC" && LTCC=$CC
7562 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7563 test -z "$LD" && LD=ld
7564 test -z "$ac_objext" && ac_objext=o
7565 
7566 for cc_temp in $compiler""; do
7567   case $cc_temp in
7568     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7569     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7570     \-*) ;;
7571     *) break;;
7572   esac
7573 done
7574 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7575 
7576 
7577 # Only perform the check for file, if the check method requires it
7578 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7579 case $deplibs_check_method in
7580 file_magic*)
7581   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7582     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7583 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7584 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7585   $as_echo_n "(cached) " >&6
7586 else
7587   case $MAGIC_CMD in
7588 [\\/*] |  ?:[\\/]*)
7589   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7590   ;;
7591 *)
7592   lt_save_MAGIC_CMD="$MAGIC_CMD"
7593   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7594   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7595   for ac_dir in $ac_dummy; do
7596     IFS="$lt_save_ifs"
7597     test -z "$ac_dir" && ac_dir=.
7598     if test -f $ac_dir/${ac_tool_prefix}file; then
7599       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7600       if test -n "$file_magic_test_file"; then
7601 	case $deplibs_check_method in
7602 	"file_magic "*)
7603 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7604 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7605 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7606 	    $EGREP "$file_magic_regex" > /dev/null; then
7607 	    :
7608 	  else
7609 	    cat <<_LT_EOF 1>&2
7610 
7611 *** Warning: the command libtool uses to detect shared libraries,
7612 *** $file_magic_cmd, produces output that libtool cannot recognize.
7613 *** The result is that libtool may fail to recognize shared libraries
7614 *** as such.  This will affect the creation of libtool libraries that
7615 *** depend on shared libraries, but programs linked with such libtool
7616 *** libraries will work regardless of this problem.  Nevertheless, you
7617 *** may want to report the problem to your system manager and/or to
7618 *** bug-libtool@gnu.org
7619 
7620 _LT_EOF
7621 	  fi ;;
7622 	esac
7623       fi
7624       break
7625     fi
7626   done
7627   IFS="$lt_save_ifs"
7628   MAGIC_CMD="$lt_save_MAGIC_CMD"
7629   ;;
7630 esac
7631 fi
7632 
7633 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7634 if test -n "$MAGIC_CMD"; then
7635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7636 $as_echo "$MAGIC_CMD" >&6; }
7637 else
7638   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7639 $as_echo "no" >&6; }
7640 fi
7641 
7642 
7643 
7644 
7645 
7646 if test -z "$lt_cv_path_MAGIC_CMD"; then
7647   if test -n "$ac_tool_prefix"; then
7648     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7649 $as_echo_n "checking for file... " >&6; }
7650 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7651   $as_echo_n "(cached) " >&6
7652 else
7653   case $MAGIC_CMD in
7654 [\\/*] |  ?:[\\/]*)
7655   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7656   ;;
7657 *)
7658   lt_save_MAGIC_CMD="$MAGIC_CMD"
7659   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7660   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7661   for ac_dir in $ac_dummy; do
7662     IFS="$lt_save_ifs"
7663     test -z "$ac_dir" && ac_dir=.
7664     if test -f $ac_dir/file; then
7665       lt_cv_path_MAGIC_CMD="$ac_dir/file"
7666       if test -n "$file_magic_test_file"; then
7667 	case $deplibs_check_method in
7668 	"file_magic "*)
7669 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7670 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7671 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7672 	    $EGREP "$file_magic_regex" > /dev/null; then
7673 	    :
7674 	  else
7675 	    cat <<_LT_EOF 1>&2
7676 
7677 *** Warning: the command libtool uses to detect shared libraries,
7678 *** $file_magic_cmd, produces output that libtool cannot recognize.
7679 *** The result is that libtool may fail to recognize shared libraries
7680 *** as such.  This will affect the creation of libtool libraries that
7681 *** depend on shared libraries, but programs linked with such libtool
7682 *** libraries will work regardless of this problem.  Nevertheless, you
7683 *** may want to report the problem to your system manager and/or to
7684 *** bug-libtool@gnu.org
7685 
7686 _LT_EOF
7687 	  fi ;;
7688 	esac
7689       fi
7690       break
7691     fi
7692   done
7693   IFS="$lt_save_ifs"
7694   MAGIC_CMD="$lt_save_MAGIC_CMD"
7695   ;;
7696 esac
7697 fi
7698 
7699 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7700 if test -n "$MAGIC_CMD"; then
7701   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7702 $as_echo "$MAGIC_CMD" >&6; }
7703 else
7704   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7705 $as_echo "no" >&6; }
7706 fi
7707 
7708 
7709   else
7710     MAGIC_CMD=:
7711   fi
7712 fi
7713 
7714   fi
7715   ;;
7716 esac
7717 
7718 # Use C for the default configuration in the libtool script
7719 
7720 lt_save_CC="$CC"
7721 ac_ext=c
7722 ac_cpp='$CPP $CPPFLAGS'
7723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7726 
7727 
7728 # Source file extension for C test sources.
7729 ac_ext=c
7730 
7731 # Object file extension for compiled C test sources.
7732 objext=o
7733 objext=$objext
7734 
7735 # Code to be used in simple compile tests
7736 lt_simple_compile_test_code="int some_variable = 0;"
7737 
7738 # Code to be used in simple link tests
7739 lt_simple_link_test_code='int main(){return(0);}'
7740 
7741 
7742 
7743 
7744 
7745 
7746 
7747 # If no C compiler was specified, use CC.
7748 LTCC=${LTCC-"$CC"}
7749 
7750 # If no C compiler flags were specified, use CFLAGS.
7751 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7752 
7753 # Allow CC to be a program name with arguments.
7754 compiler=$CC
7755 
7756 # Save the default compiler, since it gets overwritten when the other
7757 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7758 compiler_DEFAULT=$CC
7759 
7760 # save warnings/boilerplate of simple test code
7761 ac_outfile=conftest.$ac_objext
7762 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7763 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7764 _lt_compiler_boilerplate=`cat conftest.err`
7765 $RM conftest*
7766 
7767 ac_outfile=conftest.$ac_objext
7768 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7769 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7770 _lt_linker_boilerplate=`cat conftest.err`
7771 $RM -r conftest*
7772 
7773 
7774 ## CAVEAT EMPTOR:
7775 ## There is no encapsulation within the following macros, do not change
7776 ## the running order or otherwise move them around unless you know exactly
7777 ## what you are doing...
7778 if test -n "$compiler"; then
7779 
7780 lt_prog_compiler_no_builtin_flag=
7781 
7782 if test "$GCC" = yes; then
7783   case $cc_basename in
7784   nvcc*)
7785     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7786   *)
7787     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7788   esac
7789 
7790   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7791 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7792 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7793   $as_echo_n "(cached) " >&6
7794 else
7795   lt_cv_prog_compiler_rtti_exceptions=no
7796    ac_outfile=conftest.$ac_objext
7797    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7798    lt_compiler_flag="-fno-rtti -fno-exceptions"
7799    # Insert the option either (1) after the last *FLAGS variable, or
7800    # (2) before a word containing "conftest.", or (3) at the end.
7801    # Note that $ac_compile itself does not contain backslashes and begins
7802    # with a dollar sign (not a hyphen), so the echo should work correctly.
7803    # The option is referenced via a variable to avoid confusing sed.
7804    lt_compile=`echo "$ac_compile" | $SED \
7805    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7806    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7807    -e 's:$: $lt_compiler_flag:'`
7808    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7809    (eval "$lt_compile" 2>conftest.err)
7810    ac_status=$?
7811    cat conftest.err >&5
7812    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7813    if (exit $ac_status) && test -s "$ac_outfile"; then
7814      # The compiler can only warn and ignore the option if not recognized
7815      # So say no if there are warnings other than the usual output.
7816      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7817      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7818      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7819        lt_cv_prog_compiler_rtti_exceptions=yes
7820      fi
7821    fi
7822    $RM conftest*
7823 
7824 fi
7825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7826 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7827 
7828 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7829     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7830 else
7831     :
7832 fi
7833 
7834 fi
7835 
7836 
7837 
7838 
7839 
7840 
7841   lt_prog_compiler_wl=
7842 lt_prog_compiler_pic=
7843 lt_prog_compiler_static=
7844 
7845 
7846   if test "$GCC" = yes; then
7847     lt_prog_compiler_wl='-Wl,'
7848     lt_prog_compiler_static='-static'
7849 
7850     case $host_os in
7851       aix*)
7852       # All AIX code is PIC.
7853       if test "$host_cpu" = ia64; then
7854 	# AIX 5 now supports IA64 processor
7855 	lt_prog_compiler_static='-Bstatic'
7856       fi
7857       ;;
7858 
7859     amigaos*)
7860       case $host_cpu in
7861       powerpc)
7862             # see comment about AmigaOS4 .so support
7863             lt_prog_compiler_pic='-fPIC'
7864         ;;
7865       m68k)
7866             # FIXME: we need at least 68020 code to build shared libraries, but
7867             # adding the `-m68020' flag to GCC prevents building anything better,
7868             # like `-m68040'.
7869             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7870         ;;
7871       esac
7872       ;;
7873 
7874     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7875       # PIC is the default for these OSes.
7876       ;;
7877 
7878     mingw* | cygwin* | pw32* | os2* | cegcc*)
7879       # This hack is so that the source file can tell whether it is being
7880       # built for inclusion in a dll (and should export symbols for example).
7881       # Although the cygwin gcc ignores -fPIC, still need this for old-style
7882       # (--disable-auto-import) libraries
7883       lt_prog_compiler_pic='-DDLL_EXPORT'
7884       ;;
7885 
7886     darwin* | rhapsody*)
7887       # PIC is the default on this platform
7888       # Common symbols not allowed in MH_DYLIB files
7889       lt_prog_compiler_pic='-fno-common'
7890       ;;
7891 
7892     haiku*)
7893       # PIC is the default for Haiku.
7894       # The "-static" flag exists, but is broken.
7895       lt_prog_compiler_static=
7896       ;;
7897 
7898     hpux*)
7899       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7900       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
7901       # sets the default TLS model and affects inlining.
7902       case $host_cpu in
7903       hppa*64*)
7904 	# +Z the default
7905 	;;
7906       *)
7907 	lt_prog_compiler_pic='-fPIC'
7908 	;;
7909       esac
7910       ;;
7911 
7912     interix[3-9]*)
7913       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7914       # Instead, we relocate shared libraries at runtime.
7915       ;;
7916 
7917     msdosdjgpp*)
7918       # Just because we use GCC doesn't mean we suddenly get shared libraries
7919       # on systems that don't support them.
7920       lt_prog_compiler_can_build_shared=no
7921       enable_shared=no
7922       ;;
7923 
7924     *nto* | *qnx*)
7925       # QNX uses GNU C++, but need to define -shared option too, otherwise
7926       # it will coredump.
7927       lt_prog_compiler_pic='-fPIC -shared'
7928       ;;
7929 
7930     sysv4*MP*)
7931       if test -d /usr/nec; then
7932 	lt_prog_compiler_pic=-Kconform_pic
7933       fi
7934       ;;
7935 
7936     *)
7937       lt_prog_compiler_pic='-fPIC'
7938       ;;
7939     esac
7940 
7941     case $cc_basename in
7942     nvcc*) # Cuda Compiler Driver 2.2
7943       lt_prog_compiler_wl='-Xlinker '
7944       if test -n "$lt_prog_compiler_pic"; then
7945         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
7946       fi
7947       ;;
7948     esac
7949   else
7950     # PORTME Check for flag to pass linker flags through the system compiler.
7951     case $host_os in
7952     aix*)
7953       lt_prog_compiler_wl='-Wl,'
7954       if test "$host_cpu" = ia64; then
7955 	# AIX 5 now supports IA64 processor
7956 	lt_prog_compiler_static='-Bstatic'
7957       else
7958 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7959       fi
7960       ;;
7961 
7962     mingw* | cygwin* | pw32* | os2* | cegcc*)
7963       # This hack is so that the source file can tell whether it is being
7964       # built for inclusion in a dll (and should export symbols for example).
7965       lt_prog_compiler_pic='-DDLL_EXPORT'
7966       ;;
7967 
7968     hpux9* | hpux10* | hpux11*)
7969       lt_prog_compiler_wl='-Wl,'
7970       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7971       # not for PA HP-UX.
7972       case $host_cpu in
7973       hppa*64*|ia64*)
7974 	# +Z the default
7975 	;;
7976       *)
7977 	lt_prog_compiler_pic='+Z'
7978 	;;
7979       esac
7980       # Is there a better lt_prog_compiler_static that works with the bundled CC?
7981       lt_prog_compiler_static='${wl}-a ${wl}archive'
7982       ;;
7983 
7984     irix5* | irix6* | nonstopux*)
7985       lt_prog_compiler_wl='-Wl,'
7986       # PIC (with -KPIC) is the default.
7987       lt_prog_compiler_static='-non_shared'
7988       ;;
7989 
7990     linux* | k*bsd*-gnu | kopensolaris*-gnu)
7991       case $cc_basename in
7992       # old Intel for x86_64 which still supported -KPIC.
7993       ecc*)
7994 	lt_prog_compiler_wl='-Wl,'
7995 	lt_prog_compiler_pic='-KPIC'
7996 	lt_prog_compiler_static='-static'
7997         ;;
7998       # icc used to be incompatible with GCC.
7999       # ICC 10 doesn't accept -KPIC any more.
8000       icc* | ifort*)
8001 	lt_prog_compiler_wl='-Wl,'
8002 	lt_prog_compiler_pic='-fPIC'
8003 	lt_prog_compiler_static='-static'
8004         ;;
8005       # Lahey Fortran 8.1.
8006       lf95*)
8007 	lt_prog_compiler_wl='-Wl,'
8008 	lt_prog_compiler_pic='--shared'
8009 	lt_prog_compiler_static='--static'
8010 	;;
8011       nagfor*)
8012 	# NAG Fortran compiler
8013 	lt_prog_compiler_wl='-Wl,-Wl,,'
8014 	lt_prog_compiler_pic='-PIC'
8015 	lt_prog_compiler_static='-Bstatic'
8016 	;;
8017       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8018         # Portland Group compilers (*not* the Pentium gcc compiler,
8019 	# which looks to be a dead project)
8020 	lt_prog_compiler_wl='-Wl,'
8021 	lt_prog_compiler_pic='-fpic'
8022 	lt_prog_compiler_static='-Bstatic'
8023         ;;
8024       ccc*)
8025         lt_prog_compiler_wl='-Wl,'
8026         # All Alpha code is PIC.
8027         lt_prog_compiler_static='-non_shared'
8028         ;;
8029       xl* | bgxl* | bgf* | mpixl*)
8030 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8031 	lt_prog_compiler_wl='-Wl,'
8032 	lt_prog_compiler_pic='-qpic'
8033 	lt_prog_compiler_static='-qstaticlink'
8034 	;;
8035       *)
8036 	case `$CC -V 2>&1 | sed 5q` in
8037 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8038 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
8039 	  lt_prog_compiler_pic='-KPIC'
8040 	  lt_prog_compiler_static='-Bstatic'
8041 	  lt_prog_compiler_wl=''
8042 	  ;;
8043 	*Sun\ F* | *Sun*Fortran*)
8044 	  lt_prog_compiler_pic='-KPIC'
8045 	  lt_prog_compiler_static='-Bstatic'
8046 	  lt_prog_compiler_wl='-Qoption ld '
8047 	  ;;
8048 	*Sun\ C*)
8049 	  # Sun C 5.9
8050 	  lt_prog_compiler_pic='-KPIC'
8051 	  lt_prog_compiler_static='-Bstatic'
8052 	  lt_prog_compiler_wl='-Wl,'
8053 	  ;;
8054         *Intel*\ [CF]*Compiler*)
8055 	  lt_prog_compiler_wl='-Wl,'
8056 	  lt_prog_compiler_pic='-fPIC'
8057 	  lt_prog_compiler_static='-static'
8058 	  ;;
8059 	*Portland\ Group*)
8060 	  lt_prog_compiler_wl='-Wl,'
8061 	  lt_prog_compiler_pic='-fpic'
8062 	  lt_prog_compiler_static='-Bstatic'
8063 	  ;;
8064 	esac
8065 	;;
8066       esac
8067       ;;
8068 
8069     newsos6)
8070       lt_prog_compiler_pic='-KPIC'
8071       lt_prog_compiler_static='-Bstatic'
8072       ;;
8073 
8074     *nto* | *qnx*)
8075       # QNX uses GNU C++, but need to define -shared option too, otherwise
8076       # it will coredump.
8077       lt_prog_compiler_pic='-fPIC -shared'
8078       ;;
8079 
8080     osf3* | osf4* | osf5*)
8081       lt_prog_compiler_wl='-Wl,'
8082       # All OSF/1 code is PIC.
8083       lt_prog_compiler_static='-non_shared'
8084       ;;
8085 
8086     rdos*)
8087       lt_prog_compiler_static='-non_shared'
8088       ;;
8089 
8090     solaris*)
8091       lt_prog_compiler_pic='-KPIC'
8092       lt_prog_compiler_static='-Bstatic'
8093       case $cc_basename in
8094       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8095 	lt_prog_compiler_wl='-Qoption ld ';;
8096       *)
8097 	lt_prog_compiler_wl='-Wl,';;
8098       esac
8099       ;;
8100 
8101     sunos4*)
8102       lt_prog_compiler_wl='-Qoption ld '
8103       lt_prog_compiler_pic='-PIC'
8104       lt_prog_compiler_static='-Bstatic'
8105       ;;
8106 
8107     sysv4 | sysv4.2uw2* | sysv4.3*)
8108       lt_prog_compiler_wl='-Wl,'
8109       lt_prog_compiler_pic='-KPIC'
8110       lt_prog_compiler_static='-Bstatic'
8111       ;;
8112 
8113     sysv4*MP*)
8114       if test -d /usr/nec ;then
8115 	lt_prog_compiler_pic='-Kconform_pic'
8116 	lt_prog_compiler_static='-Bstatic'
8117       fi
8118       ;;
8119 
8120     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8121       lt_prog_compiler_wl='-Wl,'
8122       lt_prog_compiler_pic='-KPIC'
8123       lt_prog_compiler_static='-Bstatic'
8124       ;;
8125 
8126     unicos*)
8127       lt_prog_compiler_wl='-Wl,'
8128       lt_prog_compiler_can_build_shared=no
8129       ;;
8130 
8131     uts4*)
8132       lt_prog_compiler_pic='-pic'
8133       lt_prog_compiler_static='-Bstatic'
8134       ;;
8135 
8136     *)
8137       lt_prog_compiler_can_build_shared=no
8138       ;;
8139     esac
8140   fi
8141 
8142 case $host_os in
8143   # For platforms which do not support PIC, -DPIC is meaningless:
8144   *djgpp*)
8145     lt_prog_compiler_pic=
8146     ;;
8147   *)
8148     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8149     ;;
8150 esac
8151 
8152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8153 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8154 if ${lt_cv_prog_compiler_pic+:} false; then :
8155   $as_echo_n "(cached) " >&6
8156 else
8157   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8158 fi
8159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8160 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8161 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8162 
8163 #
8164 # Check to make sure the PIC flag actually works.
8165 #
8166 if test -n "$lt_prog_compiler_pic"; then
8167   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8168 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8169 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8170   $as_echo_n "(cached) " >&6
8171 else
8172   lt_cv_prog_compiler_pic_works=no
8173    ac_outfile=conftest.$ac_objext
8174    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8175    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8176    # Insert the option either (1) after the last *FLAGS variable, or
8177    # (2) before a word containing "conftest.", or (3) at the end.
8178    # Note that $ac_compile itself does not contain backslashes and begins
8179    # with a dollar sign (not a hyphen), so the echo should work correctly.
8180    # The option is referenced via a variable to avoid confusing sed.
8181    lt_compile=`echo "$ac_compile" | $SED \
8182    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8183    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8184    -e 's:$: $lt_compiler_flag:'`
8185    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8186    (eval "$lt_compile" 2>conftest.err)
8187    ac_status=$?
8188    cat conftest.err >&5
8189    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8190    if (exit $ac_status) && test -s "$ac_outfile"; then
8191      # The compiler can only warn and ignore the option if not recognized
8192      # So say no if there are warnings other than the usual output.
8193      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8194      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8195      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8196        lt_cv_prog_compiler_pic_works=yes
8197      fi
8198    fi
8199    $RM conftest*
8200 
8201 fi
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8203 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8204 
8205 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8206     case $lt_prog_compiler_pic in
8207      "" | " "*) ;;
8208      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8209      esac
8210 else
8211     lt_prog_compiler_pic=
8212      lt_prog_compiler_can_build_shared=no
8213 fi
8214 
8215 fi
8216 
8217 
8218 
8219 
8220 
8221 
8222 
8223 
8224 
8225 
8226 
8227 #
8228 # Check to make sure the static flag actually works.
8229 #
8230 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8232 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8233 if ${lt_cv_prog_compiler_static_works+:} false; then :
8234   $as_echo_n "(cached) " >&6
8235 else
8236   lt_cv_prog_compiler_static_works=no
8237    save_LDFLAGS="$LDFLAGS"
8238    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8239    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8240    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8241      # The linker can only warn and ignore the option if not recognized
8242      # So say no if there are warnings
8243      if test -s conftest.err; then
8244        # Append any errors to the config.log.
8245        cat conftest.err 1>&5
8246        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8247        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8248        if diff conftest.exp conftest.er2 >/dev/null; then
8249          lt_cv_prog_compiler_static_works=yes
8250        fi
8251      else
8252        lt_cv_prog_compiler_static_works=yes
8253      fi
8254    fi
8255    $RM -r conftest*
8256    LDFLAGS="$save_LDFLAGS"
8257 
8258 fi
8259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8260 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8261 
8262 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8263     :
8264 else
8265     lt_prog_compiler_static=
8266 fi
8267 
8268 
8269 
8270 
8271 
8272 
8273 
8274   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8275 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8276 if ${lt_cv_prog_compiler_c_o+:} false; then :
8277   $as_echo_n "(cached) " >&6
8278 else
8279   lt_cv_prog_compiler_c_o=no
8280    $RM -r conftest 2>/dev/null
8281    mkdir conftest
8282    cd conftest
8283    mkdir out
8284    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8285 
8286    lt_compiler_flag="-o out/conftest2.$ac_objext"
8287    # Insert the option either (1) after the last *FLAGS variable, or
8288    # (2) before a word containing "conftest.", or (3) at the end.
8289    # Note that $ac_compile itself does not contain backslashes and begins
8290    # with a dollar sign (not a hyphen), so the echo should work correctly.
8291    lt_compile=`echo "$ac_compile" | $SED \
8292    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8293    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8294    -e 's:$: $lt_compiler_flag:'`
8295    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8296    (eval "$lt_compile" 2>out/conftest.err)
8297    ac_status=$?
8298    cat out/conftest.err >&5
8299    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8300    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8301    then
8302      # The compiler can only warn and ignore the option if not recognized
8303      # So say no if there are warnings
8304      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8305      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8306      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8307        lt_cv_prog_compiler_c_o=yes
8308      fi
8309    fi
8310    chmod u+w . 2>&5
8311    $RM conftest*
8312    # SGI C++ compiler will create directory out/ii_files/ for
8313    # template instantiation
8314    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8315    $RM out/* && rmdir out
8316    cd ..
8317    $RM -r conftest
8318    $RM conftest*
8319 
8320 fi
8321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8322 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8323 
8324 
8325 
8326 
8327 
8328 
8329   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8330 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8331 if ${lt_cv_prog_compiler_c_o+:} false; then :
8332   $as_echo_n "(cached) " >&6
8333 else
8334   lt_cv_prog_compiler_c_o=no
8335    $RM -r conftest 2>/dev/null
8336    mkdir conftest
8337    cd conftest
8338    mkdir out
8339    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8340 
8341    lt_compiler_flag="-o out/conftest2.$ac_objext"
8342    # Insert the option either (1) after the last *FLAGS variable, or
8343    # (2) before a word containing "conftest.", or (3) at the end.
8344    # Note that $ac_compile itself does not contain backslashes and begins
8345    # with a dollar sign (not a hyphen), so the echo should work correctly.
8346    lt_compile=`echo "$ac_compile" | $SED \
8347    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8348    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8349    -e 's:$: $lt_compiler_flag:'`
8350    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8351    (eval "$lt_compile" 2>out/conftest.err)
8352    ac_status=$?
8353    cat out/conftest.err >&5
8354    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8355    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8356    then
8357      # The compiler can only warn and ignore the option if not recognized
8358      # So say no if there are warnings
8359      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8360      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8361      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8362        lt_cv_prog_compiler_c_o=yes
8363      fi
8364    fi
8365    chmod u+w . 2>&5
8366    $RM conftest*
8367    # SGI C++ compiler will create directory out/ii_files/ for
8368    # template instantiation
8369    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8370    $RM out/* && rmdir out
8371    cd ..
8372    $RM -r conftest
8373    $RM conftest*
8374 
8375 fi
8376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8377 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8378 
8379 
8380 
8381 
8382 hard_links="nottested"
8383 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8384   # do not overwrite the value of need_locks provided by the user
8385   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8386 $as_echo_n "checking if we can lock with hard links... " >&6; }
8387   hard_links=yes
8388   $RM conftest*
8389   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8390   touch conftest.a
8391   ln conftest.a conftest.b 2>&5 || hard_links=no
8392   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8393   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8394 $as_echo "$hard_links" >&6; }
8395   if test "$hard_links" = no; then
8396     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8397 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8398     need_locks=warn
8399   fi
8400 else
8401   need_locks=no
8402 fi
8403 
8404 
8405 
8406 
8407 
8408 
8409   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8410 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8411 
8412   runpath_var=
8413   allow_undefined_flag=
8414   always_export_symbols=no
8415   archive_cmds=
8416   archive_expsym_cmds=
8417   compiler_needs_object=no
8418   enable_shared_with_static_runtimes=no
8419   export_dynamic_flag_spec=
8420   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8421   hardcode_automatic=no
8422   hardcode_direct=no
8423   hardcode_direct_absolute=no
8424   hardcode_libdir_flag_spec=
8425   hardcode_libdir_separator=
8426   hardcode_minus_L=no
8427   hardcode_shlibpath_var=unsupported
8428   inherit_rpath=no
8429   link_all_deplibs=unknown
8430   module_cmds=
8431   module_expsym_cmds=
8432   old_archive_from_new_cmds=
8433   old_archive_from_expsyms_cmds=
8434   thread_safe_flag_spec=
8435   whole_archive_flag_spec=
8436   # include_expsyms should be a list of space-separated symbols to be *always*
8437   # included in the symbol list
8438   include_expsyms=
8439   # exclude_expsyms can be an extended regexp of symbols to exclude
8440   # it will be wrapped by ` (' and `)$', so one must not match beginning or
8441   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8442   # as well as any symbol that contains `d'.
8443   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8444   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8445   # platforms (ab)use it in PIC code, but their linkers get confused if
8446   # the symbol is explicitly referenced.  Since portable code cannot
8447   # rely on this symbol name, it's probably fine to never include it in
8448   # preloaded symbol tables.
8449   # Exclude shared library initialization/finalization symbols.
8450   extract_expsyms_cmds=
8451 
8452   case $host_os in
8453   cygwin* | mingw* | pw32* | cegcc*)
8454     # FIXME: the MSVC++ port hasn't been tested in a loooong time
8455     # When not using gcc, we currently assume that we are using
8456     # Microsoft Visual C++.
8457     if test "$GCC" != yes; then
8458       with_gnu_ld=no
8459     fi
8460     ;;
8461   interix*)
8462     # we just hope/assume this is gcc and not c89 (= MSVC++)
8463     with_gnu_ld=yes
8464     ;;
8465   openbsd*)
8466     with_gnu_ld=no
8467     ;;
8468   esac
8469 
8470   ld_shlibs=yes
8471 
8472   # On some targets, GNU ld is compatible enough with the native linker
8473   # that we're better off using the native interface for both.
8474   lt_use_gnu_ld_interface=no
8475   if test "$with_gnu_ld" = yes; then
8476     case $host_os in
8477       aix*)
8478 	# The AIX port of GNU ld has always aspired to compatibility
8479 	# with the native linker.  However, as the warning in the GNU ld
8480 	# block says, versions before 2.19.5* couldn't really create working
8481 	# shared libraries, regardless of the interface used.
8482 	case `$LD -v 2>&1` in
8483 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8484 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8485 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8486 	  *)
8487 	    lt_use_gnu_ld_interface=yes
8488 	    ;;
8489 	esac
8490 	;;
8491       *)
8492 	lt_use_gnu_ld_interface=yes
8493 	;;
8494     esac
8495   fi
8496 
8497   if test "$lt_use_gnu_ld_interface" = yes; then
8498     # If archive_cmds runs LD, not CC, wlarc should be empty
8499     wlarc='${wl}'
8500 
8501     # Set some defaults for GNU ld with shared library support. These
8502     # are reset later if shared libraries are not supported. Putting them
8503     # here allows them to be overridden if necessary.
8504     runpath_var=LD_RUN_PATH
8505     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8506     export_dynamic_flag_spec='${wl}--export-dynamic'
8507     # ancient GNU ld didn't support --whole-archive et. al.
8508     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8509       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8510     else
8511       whole_archive_flag_spec=
8512     fi
8513     supports_anon_versioning=no
8514     case `$LD -v 2>&1` in
8515       *GNU\ gold*) supports_anon_versioning=yes ;;
8516       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8517       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8518       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8519       *\ 2.11.*) ;; # other 2.11 versions
8520       *) supports_anon_versioning=yes ;;
8521     esac
8522 
8523     # See if GNU ld supports shared libraries.
8524     case $host_os in
8525     aix[3-9]*)
8526       # On AIX/PPC, the GNU linker is very broken
8527       if test "$host_cpu" != ia64; then
8528 	ld_shlibs=no
8529 	cat <<_LT_EOF 1>&2
8530 
8531 *** Warning: the GNU linker, at least up to release 2.19, is reported
8532 *** to be unable to reliably create shared libraries on AIX.
8533 *** Therefore, libtool is disabling shared libraries support.  If you
8534 *** really care for shared libraries, you may want to install binutils
8535 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8536 *** You will then need to restart the configuration process.
8537 
8538 _LT_EOF
8539       fi
8540       ;;
8541 
8542     amigaos*)
8543       case $host_cpu in
8544       powerpc)
8545             # see comment about AmigaOS4 .so support
8546             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8547             archive_expsym_cmds=''
8548         ;;
8549       m68k)
8550             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)'
8551             hardcode_libdir_flag_spec='-L$libdir'
8552             hardcode_minus_L=yes
8553         ;;
8554       esac
8555       ;;
8556 
8557     beos*)
8558       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8559 	allow_undefined_flag=unsupported
8560 	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8561 	# support --undefined.  This deserves some investigation.  FIXME
8562 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8563       else
8564 	ld_shlibs=no
8565       fi
8566       ;;
8567 
8568     cygwin* | mingw* | pw32* | cegcc*)
8569       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8570       # as there is no search path for DLLs.
8571       hardcode_libdir_flag_spec='-L$libdir'
8572       export_dynamic_flag_spec='${wl}--export-all-symbols'
8573       allow_undefined_flag=unsupported
8574       always_export_symbols=no
8575       enable_shared_with_static_runtimes=yes
8576       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'
8577       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8578 
8579       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8580         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8581 	# If the export-symbols file already is a .def file (1st line
8582 	# is EXPORTS), use it as is; otherwise, prepend...
8583 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8584 	  cp $export_symbols $output_objdir/$soname.def;
8585 	else
8586 	  echo EXPORTS > $output_objdir/$soname.def;
8587 	  cat $export_symbols >> $output_objdir/$soname.def;
8588 	fi~
8589 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8590       else
8591 	ld_shlibs=no
8592       fi
8593       ;;
8594 
8595     haiku*)
8596       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8597       link_all_deplibs=yes
8598       ;;
8599 
8600     interix[3-9]*)
8601       hardcode_direct=no
8602       hardcode_shlibpath_var=no
8603       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8604       export_dynamic_flag_spec='${wl}-E'
8605       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8606       # Instead, shared libraries are loaded at an image base (0x10000000 by
8607       # default) and relocated if they conflict, which is a slow very memory
8608       # consuming and fragmenting process.  To avoid this, we pick a random,
8609       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8610       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
8611       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8612       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'
8613       ;;
8614 
8615     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8616       tmp_diet=no
8617       if test "$host_os" = linux-dietlibc; then
8618 	case $cc_basename in
8619 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
8620 	esac
8621       fi
8622       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8623 	 && test "$tmp_diet" = no
8624       then
8625 	tmp_addflag=' $pic_flag'
8626 	tmp_sharedflag='-shared'
8627 	case $cc_basename,$host_cpu in
8628         pgcc*)				# Portland Group C compiler
8629 	  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'
8630 	  tmp_addflag=' $pic_flag'
8631 	  ;;
8632 	pgf77* | pgf90* | pgf95* | pgfortran*)
8633 					# Portland Group f77 and f90 compilers
8634 	  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'
8635 	  tmp_addflag=' $pic_flag -Mnomain' ;;
8636 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
8637 	  tmp_addflag=' -i_dynamic' ;;
8638 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
8639 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
8640 	ifc* | ifort*)			# Intel Fortran compiler
8641 	  tmp_addflag=' -nofor_main' ;;
8642 	lf95*)				# Lahey Fortran 8.1
8643 	  whole_archive_flag_spec=
8644 	  tmp_sharedflag='--shared' ;;
8645 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8646 	  tmp_sharedflag='-qmkshrobj'
8647 	  tmp_addflag= ;;
8648 	nvcc*)	# Cuda Compiler Driver 2.2
8649 	  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'
8650 	  compiler_needs_object=yes
8651 	  ;;
8652 	esac
8653 	case `$CC -V 2>&1 | sed 5q` in
8654 	*Sun\ C*)			# Sun C 5.9
8655 	  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'
8656 	  compiler_needs_object=yes
8657 	  tmp_sharedflag='-G' ;;
8658 	*Sun\ F*)			# Sun Fortran 8.3
8659 	  tmp_sharedflag='-G' ;;
8660 	esac
8661 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8662 
8663         if test "x$supports_anon_versioning" = xyes; then
8664           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8665 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8666 	    echo "local: *; };" >> $output_objdir/$libname.ver~
8667 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8668         fi
8669 
8670 	case $cc_basename in
8671 	xlf* | bgf* | bgxlf* | mpixlf*)
8672 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8673 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8674 	  hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8675 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8676 	  if test "x$supports_anon_versioning" = xyes; then
8677 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8678 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8679 	      echo "local: *; };" >> $output_objdir/$libname.ver~
8680 	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8681 	  fi
8682 	  ;;
8683 	esac
8684       else
8685         ld_shlibs=no
8686       fi
8687       ;;
8688 
8689     netbsd*)
8690       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8691 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8692 	wlarc=
8693       else
8694 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8695 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8696       fi
8697       ;;
8698 
8699     solaris*)
8700       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8701 	ld_shlibs=no
8702 	cat <<_LT_EOF 1>&2
8703 
8704 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8705 *** create shared libraries on Solaris systems.  Therefore, libtool
8706 *** is disabling shared libraries support.  We urge you to upgrade GNU
8707 *** binutils to release 2.9.1 or newer.  Another option is to modify
8708 *** your PATH or compiler configuration so that the native linker is
8709 *** used, and then restart.
8710 
8711 _LT_EOF
8712       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8713 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8714 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8715       else
8716 	ld_shlibs=no
8717       fi
8718       ;;
8719 
8720     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8721       case `$LD -v 2>&1` in
8722         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8723 	ld_shlibs=no
8724 	cat <<_LT_EOF 1>&2
8725 
8726 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8727 *** reliably create shared libraries on SCO systems.  Therefore, libtool
8728 *** is disabling shared libraries support.  We urge you to upgrade GNU
8729 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
8730 *** your PATH or compiler configuration so that the native linker is
8731 *** used, and then restart.
8732 
8733 _LT_EOF
8734 	;;
8735 	*)
8736 	  # For security reasons, it is highly recommended that you always
8737 	  # use absolute paths for naming shared libraries, and exclude the
8738 	  # DT_RUNPATH tag from executables and libraries.  But doing so
8739 	  # requires that you compile everything twice, which is a pain.
8740 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8741 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8742 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8743 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8744 	  else
8745 	    ld_shlibs=no
8746 	  fi
8747 	;;
8748       esac
8749       ;;
8750 
8751     sunos4*)
8752       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8753       wlarc=
8754       hardcode_direct=yes
8755       hardcode_shlibpath_var=no
8756       ;;
8757 
8758     *)
8759       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8760 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8761 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8762       else
8763 	ld_shlibs=no
8764       fi
8765       ;;
8766     esac
8767 
8768     if test "$ld_shlibs" = no; then
8769       runpath_var=
8770       hardcode_libdir_flag_spec=
8771       export_dynamic_flag_spec=
8772       whole_archive_flag_spec=
8773     fi
8774   else
8775     # PORTME fill in a description of your system's linker (not GNU ld)
8776     case $host_os in
8777     aix3*)
8778       allow_undefined_flag=unsupported
8779       always_export_symbols=yes
8780       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'
8781       # Note: this linker hardcodes the directories in LIBPATH if there
8782       # are no directories specified by -L.
8783       hardcode_minus_L=yes
8784       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8785 	# Neither direct hardcoding nor static linking is supported with a
8786 	# broken collect2.
8787 	hardcode_direct=unsupported
8788       fi
8789       ;;
8790 
8791     aix[4-9]*)
8792       if test "$host_cpu" = ia64; then
8793 	# On IA64, the linker does run time linking by default, so we don't
8794 	# have to do anything special.
8795 	aix_use_runtimelinking=no
8796 	exp_sym_flag='-Bexport'
8797 	no_entry_flag=""
8798       else
8799 	# If we're using GNU nm, then we don't want the "-C" option.
8800 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
8801 	# Also, AIX nm treats weak defined symbols like other global
8802 	# defined symbols, whereas GNU nm marks them as "W".
8803 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8804 	  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'
8805 	else
8806 	  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'
8807 	fi
8808 	aix_use_runtimelinking=no
8809 
8810 	# Test if we are trying to use run time linking or normal
8811 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
8812 	# need to do runtime linking.
8813 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8814 	  for ld_flag in $LDFLAGS; do
8815 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8816 	    aix_use_runtimelinking=yes
8817 	    break
8818 	  fi
8819 	  done
8820 	  ;;
8821 	esac
8822 
8823 	exp_sym_flag='-bexport'
8824 	no_entry_flag='-bnoentry'
8825       fi
8826 
8827       # When large executables or shared objects are built, AIX ld can
8828       # have problems creating the table of contents.  If linking a library
8829       # or program results in "error TOC overflow" add -mminimal-toc to
8830       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
8831       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8832 
8833       archive_cmds=''
8834       hardcode_direct=yes
8835       hardcode_direct_absolute=yes
8836       hardcode_libdir_separator=':'
8837       link_all_deplibs=yes
8838       file_list_spec='${wl}-f,'
8839 
8840       if test "$GCC" = yes; then
8841 	case $host_os in aix4.[012]|aix4.[012].*)
8842 	# We only want to do this on AIX 4.2 and lower, the check
8843 	# below for broken collect2 doesn't work under 4.3+
8844 	  collect2name=`${CC} -print-prog-name=collect2`
8845 	  if test -f "$collect2name" &&
8846 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8847 	  then
8848 	  # We have reworked collect2
8849 	  :
8850 	  else
8851 	  # We have old collect2
8852 	  hardcode_direct=unsupported
8853 	  # It fails to find uninstalled libraries when the uninstalled
8854 	  # path is not listed in the libpath.  Setting hardcode_minus_L
8855 	  # to unsupported forces relinking
8856 	  hardcode_minus_L=yes
8857 	  hardcode_libdir_flag_spec='-L$libdir'
8858 	  hardcode_libdir_separator=
8859 	  fi
8860 	  ;;
8861 	esac
8862 	shared_flag='-shared'
8863 	if test "$aix_use_runtimelinking" = yes; then
8864 	  shared_flag="$shared_flag "'${wl}-G'
8865 	fi
8866       else
8867 	# not using gcc
8868 	if test "$host_cpu" = ia64; then
8869 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8870 	# chokes on -Wl,-G. The following line is correct:
8871 	  shared_flag='-G'
8872 	else
8873 	  if test "$aix_use_runtimelinking" = yes; then
8874 	    shared_flag='${wl}-G'
8875 	  else
8876 	    shared_flag='${wl}-bM:SRE'
8877 	  fi
8878 	fi
8879       fi
8880 
8881       export_dynamic_flag_spec='${wl}-bexpall'
8882       # It seems that -bexpall does not export symbols beginning with
8883       # underscore (_), so it is better to generate a list of symbols to export.
8884       always_export_symbols=yes
8885       if test "$aix_use_runtimelinking" = yes; then
8886 	# Warning - without using the other runtime loading flags (-brtl),
8887 	# -berok will link without error, but may produce a broken library.
8888 	allow_undefined_flag='-berok'
8889         # Determine the default libpath from the value encoded in an
8890         # empty executable.
8891         if test "${lt_cv_aix_libpath+set}" = set; then
8892   aix_libpath=$lt_cv_aix_libpath
8893 else
8894   if ${lt_cv_aix_libpath_+:} false; then :
8895   $as_echo_n "(cached) " >&6
8896 else
8897   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8898 /* end confdefs.h.  */
8899 
8900 int
8901 main ()
8902 {
8903 
8904   ;
8905   return 0;
8906 }
8907 _ACEOF
8908 if ac_fn_c_try_link "$LINENO"; then :
8909 
8910   lt_aix_libpath_sed='
8911       /Import File Strings/,/^$/ {
8912 	  /^0/ {
8913 	      s/^0  *\([^ ]*\) *$/\1/
8914 	      p
8915 	  }
8916       }'
8917   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8918   # Check for a 64-bit object if we didn't find anything.
8919   if test -z "$lt_cv_aix_libpath_"; then
8920     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8921   fi
8922 fi
8923 rm -f core conftest.err conftest.$ac_objext \
8924     conftest$ac_exeext conftest.$ac_ext
8925   if test -z "$lt_cv_aix_libpath_"; then
8926     lt_cv_aix_libpath_="/usr/lib:/lib"
8927   fi
8928 
8929 fi
8930 
8931   aix_libpath=$lt_cv_aix_libpath_
8932 fi
8933 
8934         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8935         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"
8936       else
8937 	if test "$host_cpu" = ia64; then
8938 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8939 	  allow_undefined_flag="-z nodefs"
8940 	  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"
8941 	else
8942 	 # Determine the default libpath from the value encoded in an
8943 	 # empty executable.
8944 	 if test "${lt_cv_aix_libpath+set}" = set; then
8945   aix_libpath=$lt_cv_aix_libpath
8946 else
8947   if ${lt_cv_aix_libpath_+:} false; then :
8948   $as_echo_n "(cached) " >&6
8949 else
8950   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8951 /* end confdefs.h.  */
8952 
8953 int
8954 main ()
8955 {
8956 
8957   ;
8958   return 0;
8959 }
8960 _ACEOF
8961 if ac_fn_c_try_link "$LINENO"; then :
8962 
8963   lt_aix_libpath_sed='
8964       /Import File Strings/,/^$/ {
8965 	  /^0/ {
8966 	      s/^0  *\([^ ]*\) *$/\1/
8967 	      p
8968 	  }
8969       }'
8970   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8971   # Check for a 64-bit object if we didn't find anything.
8972   if test -z "$lt_cv_aix_libpath_"; then
8973     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8974   fi
8975 fi
8976 rm -f core conftest.err conftest.$ac_objext \
8977     conftest$ac_exeext conftest.$ac_ext
8978   if test -z "$lt_cv_aix_libpath_"; then
8979     lt_cv_aix_libpath_="/usr/lib:/lib"
8980   fi
8981 
8982 fi
8983 
8984   aix_libpath=$lt_cv_aix_libpath_
8985 fi
8986 
8987 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8988 	  # Warning - without using the other run time loading flags,
8989 	  # -berok will link without error, but may produce a broken library.
8990 	  no_undefined_flag=' ${wl}-bernotok'
8991 	  allow_undefined_flag=' ${wl}-berok'
8992 	  if test "$with_gnu_ld" = yes; then
8993 	    # We only use this code for GNU lds that support --whole-archive.
8994 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
8995 	  else
8996 	    # Exported symbols can be pulled into shared objects from archives
8997 	    whole_archive_flag_spec='$convenience'
8998 	  fi
8999 	  archive_cmds_need_lc=yes
9000 	  # This is similar to how AIX traditionally builds its shared libraries.
9001 	  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'
9002 	fi
9003       fi
9004       ;;
9005 
9006     amigaos*)
9007       case $host_cpu in
9008       powerpc)
9009             # see comment about AmigaOS4 .so support
9010             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9011             archive_expsym_cmds=''
9012         ;;
9013       m68k)
9014             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)'
9015             hardcode_libdir_flag_spec='-L$libdir'
9016             hardcode_minus_L=yes
9017         ;;
9018       esac
9019       ;;
9020 
9021     bsdi[45]*)
9022       export_dynamic_flag_spec=-rdynamic
9023       ;;
9024 
9025     cygwin* | mingw* | pw32* | cegcc*)
9026       # When not using gcc, we currently assume that we are using
9027       # Microsoft Visual C++.
9028       # hardcode_libdir_flag_spec is actually meaningless, as there is
9029       # no search path for DLLs.
9030       case $cc_basename in
9031       cl*)
9032 	# Native MSVC
9033 	hardcode_libdir_flag_spec=' '
9034 	allow_undefined_flag=unsupported
9035 	always_export_symbols=yes
9036 	file_list_spec='@'
9037 	# Tell ltmain to make .lib files, not .a files.
9038 	libext=lib
9039 	# Tell ltmain to make .dll files, not .so files.
9040 	shrext_cmds=".dll"
9041 	# FIXME: Setting linknames here is a bad hack.
9042 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9043 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9044 	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9045 	  else
9046 	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9047 	  fi~
9048 	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9049 	  linknames='
9050 	# The linker will not automatically build a static lib if we build a DLL.
9051 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9052 	enable_shared_with_static_runtimes=yes
9053 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9054 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9055 	# Don't use ranlib
9056 	old_postinstall_cmds='chmod 644 $oldlib'
9057 	postlink_cmds='lt_outputfile="@OUTPUT@"~
9058 	  lt_tool_outputfile="@TOOL_OUTPUT@"~
9059 	  case $lt_outputfile in
9060 	    *.exe|*.EXE) ;;
9061 	    *)
9062 	      lt_outputfile="$lt_outputfile.exe"
9063 	      lt_tool_outputfile="$lt_tool_outputfile.exe"
9064 	      ;;
9065 	  esac~
9066 	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9067 	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9068 	    $RM "$lt_outputfile.manifest";
9069 	  fi'
9070 	;;
9071       *)
9072 	# Assume MSVC wrapper
9073 	hardcode_libdir_flag_spec=' '
9074 	allow_undefined_flag=unsupported
9075 	# Tell ltmain to make .lib files, not .a files.
9076 	libext=lib
9077 	# Tell ltmain to make .dll files, not .so files.
9078 	shrext_cmds=".dll"
9079 	# FIXME: Setting linknames here is a bad hack.
9080 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9081 	# The linker will automatically build a .lib file if we build a DLL.
9082 	old_archive_from_new_cmds='true'
9083 	# FIXME: Should let the user specify the lib program.
9084 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9085 	enable_shared_with_static_runtimes=yes
9086 	;;
9087       esac
9088       ;;
9089 
9090     darwin* | rhapsody*)
9091 
9092 
9093   archive_cmds_need_lc=no
9094   hardcode_direct=no
9095   hardcode_automatic=yes
9096   hardcode_shlibpath_var=unsupported
9097   if test "$lt_cv_ld_force_load" = "yes"; then
9098     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\"`'
9099 
9100   else
9101     whole_archive_flag_spec=''
9102   fi
9103   link_all_deplibs=yes
9104   allow_undefined_flag="$_lt_dar_allow_undefined"
9105   case $cc_basename in
9106      ifort*) _lt_dar_can_shared=yes ;;
9107      *) _lt_dar_can_shared=$GCC ;;
9108   esac
9109   if test "$_lt_dar_can_shared" = "yes"; then
9110     output_verbose_link_cmd=func_echo_all
9111     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9112     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9113     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}"
9114     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}"
9115 
9116   else
9117   ld_shlibs=no
9118   fi
9119 
9120       ;;
9121 
9122     dgux*)
9123       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9124       hardcode_libdir_flag_spec='-L$libdir'
9125       hardcode_shlibpath_var=no
9126       ;;
9127 
9128     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9129     # support.  Future versions do this automatically, but an explicit c++rt0.o
9130     # does not break anything, and helps significantly (at the cost of a little
9131     # extra space).
9132     freebsd2.2*)
9133       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9134       hardcode_libdir_flag_spec='-R$libdir'
9135       hardcode_direct=yes
9136       hardcode_shlibpath_var=no
9137       ;;
9138 
9139     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9140     freebsd2.*)
9141       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9142       hardcode_direct=yes
9143       hardcode_minus_L=yes
9144       hardcode_shlibpath_var=no
9145       ;;
9146 
9147     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9148     freebsd* | dragonfly*)
9149       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9150       hardcode_libdir_flag_spec='-R$libdir'
9151       hardcode_direct=yes
9152       hardcode_shlibpath_var=no
9153       ;;
9154 
9155     hpux9*)
9156       if test "$GCC" = yes; then
9157 	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'
9158       else
9159 	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'
9160       fi
9161       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9162       hardcode_libdir_separator=:
9163       hardcode_direct=yes
9164 
9165       # hardcode_minus_L: Not really in the search PATH,
9166       # but as the default location of the library.
9167       hardcode_minus_L=yes
9168       export_dynamic_flag_spec='${wl}-E'
9169       ;;
9170 
9171     hpux10*)
9172       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9173 	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9174       else
9175 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9176       fi
9177       if test "$with_gnu_ld" = no; then
9178 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9179 	hardcode_libdir_separator=:
9180 	hardcode_direct=yes
9181 	hardcode_direct_absolute=yes
9182 	export_dynamic_flag_spec='${wl}-E'
9183 	# hardcode_minus_L: Not really in the search PATH,
9184 	# but as the default location of the library.
9185 	hardcode_minus_L=yes
9186       fi
9187       ;;
9188 
9189     hpux11*)
9190       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9191 	case $host_cpu in
9192 	hppa*64*)
9193 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9194 	  ;;
9195 	ia64*)
9196 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9197 	  ;;
9198 	*)
9199 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9200 	  ;;
9201 	esac
9202       else
9203 	case $host_cpu in
9204 	hppa*64*)
9205 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9206 	  ;;
9207 	ia64*)
9208 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9209 	  ;;
9210 	*)
9211 
9212 	  # Older versions of the 11.00 compiler do not understand -b yet
9213 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9214 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9215 $as_echo_n "checking if $CC understands -b... " >&6; }
9216 if ${lt_cv_prog_compiler__b+:} false; then :
9217   $as_echo_n "(cached) " >&6
9218 else
9219   lt_cv_prog_compiler__b=no
9220    save_LDFLAGS="$LDFLAGS"
9221    LDFLAGS="$LDFLAGS -b"
9222    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9223    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9224      # The linker can only warn and ignore the option if not recognized
9225      # So say no if there are warnings
9226      if test -s conftest.err; then
9227        # Append any errors to the config.log.
9228        cat conftest.err 1>&5
9229        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9230        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9231        if diff conftest.exp conftest.er2 >/dev/null; then
9232          lt_cv_prog_compiler__b=yes
9233        fi
9234      else
9235        lt_cv_prog_compiler__b=yes
9236      fi
9237    fi
9238    $RM -r conftest*
9239    LDFLAGS="$save_LDFLAGS"
9240 
9241 fi
9242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9243 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9244 
9245 if test x"$lt_cv_prog_compiler__b" = xyes; then
9246     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9247 else
9248     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9249 fi
9250 
9251 	  ;;
9252 	esac
9253       fi
9254       if test "$with_gnu_ld" = no; then
9255 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9256 	hardcode_libdir_separator=:
9257 
9258 	case $host_cpu in
9259 	hppa*64*|ia64*)
9260 	  hardcode_direct=no
9261 	  hardcode_shlibpath_var=no
9262 	  ;;
9263 	*)
9264 	  hardcode_direct=yes
9265 	  hardcode_direct_absolute=yes
9266 	  export_dynamic_flag_spec='${wl}-E'
9267 
9268 	  # hardcode_minus_L: Not really in the search PATH,
9269 	  # but as the default location of the library.
9270 	  hardcode_minus_L=yes
9271 	  ;;
9272 	esac
9273       fi
9274       ;;
9275 
9276     irix5* | irix6* | nonstopux*)
9277       if test "$GCC" = yes; then
9278 	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'
9279 	# Try to use the -exported_symbol ld option, if it does not
9280 	# work, assume that -exports_file does not work either and
9281 	# implicitly export all symbols.
9282 	# This should be the same for all languages, so no per-tag cache variable.
9283 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9284 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9285 if ${lt_cv_irix_exported_symbol+:} false; then :
9286   $as_echo_n "(cached) " >&6
9287 else
9288   save_LDFLAGS="$LDFLAGS"
9289 	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9290 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9291 /* end confdefs.h.  */
9292 int foo (void) { return 0; }
9293 _ACEOF
9294 if ac_fn_c_try_link "$LINENO"; then :
9295   lt_cv_irix_exported_symbol=yes
9296 else
9297   lt_cv_irix_exported_symbol=no
9298 fi
9299 rm -f core conftest.err conftest.$ac_objext \
9300     conftest$ac_exeext conftest.$ac_ext
9301            LDFLAGS="$save_LDFLAGS"
9302 fi
9303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9304 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9305 	if test "$lt_cv_irix_exported_symbol" = yes; then
9306           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'
9307 	fi
9308       else
9309 	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'
9310 	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'
9311       fi
9312       archive_cmds_need_lc='no'
9313       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9314       hardcode_libdir_separator=:
9315       inherit_rpath=yes
9316       link_all_deplibs=yes
9317       ;;
9318 
9319     netbsd*)
9320       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9321 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9322       else
9323 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9324       fi
9325       hardcode_libdir_flag_spec='-R$libdir'
9326       hardcode_direct=yes
9327       hardcode_shlibpath_var=no
9328       ;;
9329 
9330     newsos6)
9331       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9332       hardcode_direct=yes
9333       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9334       hardcode_libdir_separator=:
9335       hardcode_shlibpath_var=no
9336       ;;
9337 
9338     *nto* | *qnx*)
9339       ;;
9340 
9341     openbsd*)
9342       if test -f /usr/libexec/ld.so; then
9343 	hardcode_direct=yes
9344 	hardcode_shlibpath_var=no
9345 	hardcode_direct_absolute=yes
9346 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9347 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9348 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9349 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9350 	  export_dynamic_flag_spec='${wl}-E'
9351 	else
9352 	  case $host_os in
9353 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9354 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9355 	     hardcode_libdir_flag_spec='-R$libdir'
9356 	     ;;
9357 	   *)
9358 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9359 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9360 	     ;;
9361 	  esac
9362 	fi
9363       else
9364 	ld_shlibs=no
9365       fi
9366       ;;
9367 
9368     os2*)
9369       hardcode_libdir_flag_spec='-L$libdir'
9370       hardcode_minus_L=yes
9371       allow_undefined_flag=unsupported
9372       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'
9373       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9374       ;;
9375 
9376     osf3*)
9377       if test "$GCC" = yes; then
9378 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9379 	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'
9380       else
9381 	allow_undefined_flag=' -expect_unresolved \*'
9382 	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'
9383       fi
9384       archive_cmds_need_lc='no'
9385       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9386       hardcode_libdir_separator=:
9387       ;;
9388 
9389     osf4* | osf5*)	# as osf3* with the addition of -msym flag
9390       if test "$GCC" = yes; then
9391 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9392 	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'
9393 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9394       else
9395 	allow_undefined_flag=' -expect_unresolved \*'
9396 	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'
9397 	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~
9398 	$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'
9399 
9400 	# Both c and cxx compiler support -rpath directly
9401 	hardcode_libdir_flag_spec='-rpath $libdir'
9402       fi
9403       archive_cmds_need_lc='no'
9404       hardcode_libdir_separator=:
9405       ;;
9406 
9407     solaris*)
9408       no_undefined_flag=' -z defs'
9409       if test "$GCC" = yes; then
9410 	wlarc='${wl}'
9411 	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9412 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9413 	  $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'
9414       else
9415 	case `$CC -V 2>&1` in
9416 	*"Compilers 5.0"*)
9417 	  wlarc=''
9418 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9419 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9420 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9421 	  ;;
9422 	*)
9423 	  wlarc='${wl}'
9424 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9425 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9426 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9427 	  ;;
9428 	esac
9429       fi
9430       hardcode_libdir_flag_spec='-R$libdir'
9431       hardcode_shlibpath_var=no
9432       case $host_os in
9433       solaris2.[0-5] | solaris2.[0-5].*) ;;
9434       *)
9435 	# The compiler driver will combine and reorder linker options,
9436 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
9437 	# but is careful enough not to reorder.
9438 	# Supported since Solaris 2.6 (maybe 2.5.1?)
9439 	if test "$GCC" = yes; then
9440 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9441 	else
9442 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9443 	fi
9444 	;;
9445       esac
9446       link_all_deplibs=yes
9447       ;;
9448 
9449     sunos4*)
9450       if test "x$host_vendor" = xsequent; then
9451 	# Use $CC to link under sequent, because it throws in some extra .o
9452 	# files that make .init and .fini sections work.
9453 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9454       else
9455 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9456       fi
9457       hardcode_libdir_flag_spec='-L$libdir'
9458       hardcode_direct=yes
9459       hardcode_minus_L=yes
9460       hardcode_shlibpath_var=no
9461       ;;
9462 
9463     sysv4)
9464       case $host_vendor in
9465 	sni)
9466 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9467 	  hardcode_direct=yes # is this really true???
9468 	;;
9469 	siemens)
9470 	  ## LD is ld it makes a PLAMLIB
9471 	  ## CC just makes a GrossModule.
9472 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9473 	  reload_cmds='$CC -r -o $output$reload_objs'
9474 	  hardcode_direct=no
9475         ;;
9476 	motorola)
9477 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9478 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9479 	;;
9480       esac
9481       runpath_var='LD_RUN_PATH'
9482       hardcode_shlibpath_var=no
9483       ;;
9484 
9485     sysv4.3*)
9486       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9487       hardcode_shlibpath_var=no
9488       export_dynamic_flag_spec='-Bexport'
9489       ;;
9490 
9491     sysv4*MP*)
9492       if test -d /usr/nec; then
9493 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9494 	hardcode_shlibpath_var=no
9495 	runpath_var=LD_RUN_PATH
9496 	hardcode_runpath_var=yes
9497 	ld_shlibs=yes
9498       fi
9499       ;;
9500 
9501     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9502       no_undefined_flag='${wl}-z,text'
9503       archive_cmds_need_lc=no
9504       hardcode_shlibpath_var=no
9505       runpath_var='LD_RUN_PATH'
9506 
9507       if test "$GCC" = yes; then
9508 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9509 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9510       else
9511 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9512 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9513       fi
9514       ;;
9515 
9516     sysv5* | sco3.2v5* | sco5v6*)
9517       # Note: We can NOT use -z defs as we might desire, because we do not
9518       # link with -lc, and that would cause any symbols used from libc to
9519       # always be unresolved, which means just about no library would
9520       # ever link correctly.  If we're not using GNU ld we use -z text
9521       # though, which does catch some bad symbols but isn't as heavy-handed
9522       # as -z defs.
9523       no_undefined_flag='${wl}-z,text'
9524       allow_undefined_flag='${wl}-z,nodefs'
9525       archive_cmds_need_lc=no
9526       hardcode_shlibpath_var=no
9527       hardcode_libdir_flag_spec='${wl}-R,$libdir'
9528       hardcode_libdir_separator=':'
9529       link_all_deplibs=yes
9530       export_dynamic_flag_spec='${wl}-Bexport'
9531       runpath_var='LD_RUN_PATH'
9532 
9533       if test "$GCC" = yes; then
9534 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9535 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9536       else
9537 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9538 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9539       fi
9540       ;;
9541 
9542     uts4*)
9543       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9544       hardcode_libdir_flag_spec='-L$libdir'
9545       hardcode_shlibpath_var=no
9546       ;;
9547 
9548     *)
9549       ld_shlibs=no
9550       ;;
9551     esac
9552 
9553     if test x$host_vendor = xsni; then
9554       case $host in
9555       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9556 	export_dynamic_flag_spec='${wl}-Blargedynsym'
9557 	;;
9558       esac
9559     fi
9560   fi
9561 
9562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9563 $as_echo "$ld_shlibs" >&6; }
9564 test "$ld_shlibs" = no && can_build_shared=no
9565 
9566 with_gnu_ld=$with_gnu_ld
9567 
9568 
9569 
9570 
9571 
9572 
9573 
9574 
9575 
9576 
9577 
9578 
9579 
9580 
9581 
9582 #
9583 # Do we need to explicitly link libc?
9584 #
9585 case "x$archive_cmds_need_lc" in
9586 x|xyes)
9587   # Assume -lc should be added
9588   archive_cmds_need_lc=yes
9589 
9590   if test "$enable_shared" = yes && test "$GCC" = yes; then
9591     case $archive_cmds in
9592     *'~'*)
9593       # FIXME: we may have to deal with multi-command sequences.
9594       ;;
9595     '$CC '*)
9596       # Test whether the compiler implicitly links with -lc since on some
9597       # systems, -lgcc has to come before -lc. If gcc already passes -lc
9598       # to ld, don't add -lc before -lgcc.
9599       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9600 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9601 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9602   $as_echo_n "(cached) " >&6
9603 else
9604   $RM conftest*
9605 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9606 
9607 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9608   (eval $ac_compile) 2>&5
9609   ac_status=$?
9610   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9611   test $ac_status = 0; } 2>conftest.err; then
9612 	  soname=conftest
9613 	  lib=conftest
9614 	  libobjs=conftest.$ac_objext
9615 	  deplibs=
9616 	  wl=$lt_prog_compiler_wl
9617 	  pic_flag=$lt_prog_compiler_pic
9618 	  compiler_flags=-v
9619 	  linker_flags=-v
9620 	  verstring=
9621 	  output_objdir=.
9622 	  libname=conftest
9623 	  lt_save_allow_undefined_flag=$allow_undefined_flag
9624 	  allow_undefined_flag=
9625 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9626   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9627   ac_status=$?
9628   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9629   test $ac_status = 0; }
9630 	  then
9631 	    lt_cv_archive_cmds_need_lc=no
9632 	  else
9633 	    lt_cv_archive_cmds_need_lc=yes
9634 	  fi
9635 	  allow_undefined_flag=$lt_save_allow_undefined_flag
9636 	else
9637 	  cat conftest.err 1>&5
9638 	fi
9639 	$RM conftest*
9640 
9641 fi
9642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9643 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9644       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9645       ;;
9646     esac
9647   fi
9648   ;;
9649 esac
9650 
9651 
9652 
9653 
9654 
9655 
9656 
9657 
9658 
9659 
9660 
9661 
9662 
9663 
9664 
9665 
9666 
9667 
9668 
9669 
9670 
9671 
9672 
9673 
9674 
9675 
9676 
9677 
9678 
9679 
9680 
9681 
9682 
9683 
9684 
9685 
9686 
9687 
9688 
9689 
9690 
9691 
9692 
9693 
9694 
9695 
9696 
9697 
9698 
9699 
9700 
9701 
9702 
9703 
9704 
9705 
9706 
9707 
9708 
9709 
9710 
9711 
9712 
9713 
9714 
9715 
9716 
9717 
9718 
9719 
9720 
9721 
9722 
9723 
9724 
9725 
9726 
9727 
9728 
9729 
9730 
9731 
9732 
9733 
9734 
9735 
9736 
9737 
9738 
9739 
9740 
9741 
9742 
9743 
9744 
9745 
9746 
9747 
9748 
9749 
9750 
9751 
9752 
9753 
9754 
9755 
9756 
9757 
9758 
9759 
9760 
9761 
9762 
9763 
9764 
9765 
9766 
9767 
9768 
9769 
9770 
9771 
9772 
9773 
9774 
9775 
9776 
9777 
9778 
9779 
9780 
9781 
9782 
9783 
9784 
9785 
9786 
9787 
9788 
9789 
9790 
9791 
9792 
9793 
9794 
9795 
9796 
9797 
9798 
9799 
9800 
9801 
9802   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9803 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9804 
9805 if test "$GCC" = yes; then
9806   case $host_os in
9807     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9808     *) lt_awk_arg="/^libraries:/" ;;
9809   esac
9810   case $host_os in
9811     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
9812     *) lt_sed_strip_eq="s,=/,/,g" ;;
9813   esac
9814   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9815   case $lt_search_path_spec in
9816   *\;*)
9817     # if the path contains ";" then we assume it to be the separator
9818     # otherwise default to the standard path separator (i.e. ":") - it is
9819     # assumed that no part of a normal pathname contains ";" but that should
9820     # okay in the real world where ";" in dirpaths is itself problematic.
9821     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9822     ;;
9823   *)
9824     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9825     ;;
9826   esac
9827   # Ok, now we have the path, separated by spaces, we can step through it
9828   # and add multilib dir if necessary.
9829   lt_tmp_lt_search_path_spec=
9830   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9831   for lt_sys_path in $lt_search_path_spec; do
9832     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9833       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9834     else
9835       test -d "$lt_sys_path" && \
9836 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9837     fi
9838   done
9839   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9840 BEGIN {RS=" "; FS="/|\n";} {
9841   lt_foo="";
9842   lt_count=0;
9843   for (lt_i = NF; lt_i > 0; lt_i--) {
9844     if ($lt_i != "" && $lt_i != ".") {
9845       if ($lt_i == "..") {
9846         lt_count++;
9847       } else {
9848         if (lt_count == 0) {
9849           lt_foo="/" $lt_i lt_foo;
9850         } else {
9851           lt_count--;
9852         }
9853       }
9854     }
9855   }
9856   if (lt_foo != "") { lt_freq[lt_foo]++; }
9857   if (lt_freq[lt_foo] == 1) { print lt_foo; }
9858 }'`
9859   # AWK program above erroneously prepends '/' to C:/dos/paths
9860   # for these hosts.
9861   case $host_os in
9862     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
9863       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9864   esac
9865   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9866 else
9867   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9868 fi
9869 library_names_spec=
9870 libname_spec='lib$name'
9871 soname_spec=
9872 shrext_cmds=".so"
9873 postinstall_cmds=
9874 postuninstall_cmds=
9875 finish_cmds=
9876 finish_eval=
9877 shlibpath_var=
9878 shlibpath_overrides_runpath=unknown
9879 version_type=none
9880 dynamic_linker="$host_os ld.so"
9881 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9882 need_lib_prefix=unknown
9883 hardcode_into_libs=no
9884 
9885 # when you set need_version to no, make sure it does not cause -set_version
9886 # flags to be left without arguments
9887 need_version=unknown
9888 
9889 case $host_os in
9890 aix3*)
9891   version_type=linux # correct to gnu/linux during the next big refactor
9892   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9893   shlibpath_var=LIBPATH
9894 
9895   # AIX 3 has no versioning support, so we append a major version to the name.
9896   soname_spec='${libname}${release}${shared_ext}$major'
9897   ;;
9898 
9899 aix[4-9]*)
9900   version_type=linux # correct to gnu/linux during the next big refactor
9901   need_lib_prefix=no
9902   need_version=no
9903   hardcode_into_libs=yes
9904   if test "$host_cpu" = ia64; then
9905     # AIX 5 supports IA64
9906     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9907     shlibpath_var=LD_LIBRARY_PATH
9908   else
9909     # With GCC up to 2.95.x, collect2 would create an import file
9910     # for dependence libraries.  The import file would start with
9911     # the line `#! .'.  This would cause the generated library to
9912     # depend on `.', always an invalid library.  This was fixed in
9913     # development snapshots of GCC prior to 3.0.
9914     case $host_os in
9915       aix4 | aix4.[01] | aix4.[01].*)
9916       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9917 	   echo ' yes '
9918 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9919 	:
9920       else
9921 	can_build_shared=no
9922       fi
9923       ;;
9924     esac
9925     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9926     # soname into executable. Probably we can add versioning support to
9927     # collect2, so additional links can be useful in future.
9928     if test "$aix_use_runtimelinking" = yes; then
9929       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9930       # instead of lib<name>.a to let people know that these are not
9931       # typical AIX shared libraries.
9932       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9933     else
9934       # We preserve .a as extension for shared libraries through AIX4.2
9935       # and later when we are not doing run time linking.
9936       library_names_spec='${libname}${release}.a $libname.a'
9937       soname_spec='${libname}${release}${shared_ext}$major'
9938     fi
9939     shlibpath_var=LIBPATH
9940   fi
9941   ;;
9942 
9943 amigaos*)
9944   case $host_cpu in
9945   powerpc)
9946     # Since July 2007 AmigaOS4 officially supports .so libraries.
9947     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9948     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9949     ;;
9950   m68k)
9951     library_names_spec='$libname.ixlibrary $libname.a'
9952     # Create ${libname}_ixlibrary.a entries in /sys/libs.
9953     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'
9954     ;;
9955   esac
9956   ;;
9957 
9958 beos*)
9959   library_names_spec='${libname}${shared_ext}'
9960   dynamic_linker="$host_os ld.so"
9961   shlibpath_var=LIBRARY_PATH
9962   ;;
9963 
9964 bsdi[45]*)
9965   version_type=linux # correct to gnu/linux during the next big refactor
9966   need_version=no
9967   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9968   soname_spec='${libname}${release}${shared_ext}$major'
9969   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9970   shlibpath_var=LD_LIBRARY_PATH
9971   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9972   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9973   # the default ld.so.conf also contains /usr/contrib/lib and
9974   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9975   # libtool to hard-code these into programs
9976   ;;
9977 
9978 cygwin* | mingw* | pw32* | cegcc*)
9979   version_type=windows
9980   shrext_cmds=".dll"
9981   need_version=no
9982   need_lib_prefix=no
9983 
9984   case $GCC,$cc_basename in
9985   yes,*)
9986     # gcc
9987     library_names_spec='$libname.dll.a'
9988     # DLL is installed to $(libdir)/../bin by postinstall_cmds
9989     postinstall_cmds='base_file=`basename \${file}`~
9990       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9991       dldir=$destdir/`dirname \$dlpath`~
9992       test -d \$dldir || mkdir -p \$dldir~
9993       $install_prog $dir/$dlname \$dldir/$dlname~
9994       chmod a+x \$dldir/$dlname~
9995       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9996         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9997       fi'
9998     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9999       dlpath=$dir/\$dldll~
10000        $RM \$dlpath'
10001     shlibpath_overrides_runpath=yes
10002 
10003     case $host_os in
10004     cygwin*)
10005       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10006       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10007 
10008       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10009       ;;
10010     mingw* | cegcc*)
10011       # MinGW DLLs use traditional 'lib' prefix
10012       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10013       ;;
10014     pw32*)
10015       # pw32 DLLs use 'pw' prefix rather than 'lib'
10016       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10017       ;;
10018     esac
10019     dynamic_linker='Win32 ld.exe'
10020     ;;
10021 
10022   *,cl*)
10023     # Native MSVC
10024     libname_spec='$name'
10025     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10026     library_names_spec='${libname}.dll.lib'
10027 
10028     case $build_os in
10029     mingw*)
10030       sys_lib_search_path_spec=
10031       lt_save_ifs=$IFS
10032       IFS=';'
10033       for lt_path in $LIB
10034       do
10035         IFS=$lt_save_ifs
10036         # Let DOS variable expansion print the short 8.3 style file name.
10037         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10038         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10039       done
10040       IFS=$lt_save_ifs
10041       # Convert to MSYS style.
10042       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10043       ;;
10044     cygwin*)
10045       # Convert to unix form, then to dos form, then back to unix form
10046       # but this time dos style (no spaces!) so that the unix form looks
10047       # like /cygdrive/c/PROGRA~1:/cygdr...
10048       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10049       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10050       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10051       ;;
10052     *)
10053       sys_lib_search_path_spec="$LIB"
10054       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10055         # It is most probably a Windows format PATH.
10056         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10057       else
10058         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10059       fi
10060       # FIXME: find the short name or the path components, as spaces are
10061       # common. (e.g. "Program Files" -> "PROGRA~1")
10062       ;;
10063     esac
10064 
10065     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10066     postinstall_cmds='base_file=`basename \${file}`~
10067       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10068       dldir=$destdir/`dirname \$dlpath`~
10069       test -d \$dldir || mkdir -p \$dldir~
10070       $install_prog $dir/$dlname \$dldir/$dlname'
10071     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10072       dlpath=$dir/\$dldll~
10073        $RM \$dlpath'
10074     shlibpath_overrides_runpath=yes
10075     dynamic_linker='Win32 link.exe'
10076     ;;
10077 
10078   *)
10079     # Assume MSVC wrapper
10080     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10081     dynamic_linker='Win32 ld.exe'
10082     ;;
10083   esac
10084   # FIXME: first we should search . and the directory the executable is in
10085   shlibpath_var=PATH
10086   ;;
10087 
10088 darwin* | rhapsody*)
10089   dynamic_linker="$host_os dyld"
10090   version_type=darwin
10091   need_lib_prefix=no
10092   need_version=no
10093   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10094   soname_spec='${libname}${release}${major}$shared_ext'
10095   shlibpath_overrides_runpath=yes
10096   shlibpath_var=DYLD_LIBRARY_PATH
10097   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10098 
10099   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10100   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10101   ;;
10102 
10103 dgux*)
10104   version_type=linux # correct to gnu/linux during the next big refactor
10105   need_lib_prefix=no
10106   need_version=no
10107   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10108   soname_spec='${libname}${release}${shared_ext}$major'
10109   shlibpath_var=LD_LIBRARY_PATH
10110   ;;
10111 
10112 freebsd* | dragonfly*)
10113   # DragonFly does not have aout.  When/if they implement a new
10114   # versioning mechanism, adjust this.
10115   if test -x /usr/bin/objformat; then
10116     objformat=`/usr/bin/objformat`
10117   else
10118     case $host_os in
10119     freebsd[23].*) objformat=aout ;;
10120     *) objformat=elf ;;
10121     esac
10122   fi
10123   version_type=freebsd-$objformat
10124   case $version_type in
10125     freebsd-elf*)
10126       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10127       need_version=no
10128       need_lib_prefix=no
10129       ;;
10130     freebsd-*)
10131       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10132       need_version=yes
10133       ;;
10134   esac
10135   shlibpath_var=LD_LIBRARY_PATH
10136   case $host_os in
10137   freebsd2.*)
10138     shlibpath_overrides_runpath=yes
10139     ;;
10140   freebsd3.[01]* | freebsdelf3.[01]*)
10141     shlibpath_overrides_runpath=yes
10142     hardcode_into_libs=yes
10143     ;;
10144   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10145   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10146     shlibpath_overrides_runpath=no
10147     hardcode_into_libs=yes
10148     ;;
10149   *) # from 4.6 on, and DragonFly
10150     shlibpath_overrides_runpath=yes
10151     hardcode_into_libs=yes
10152     ;;
10153   esac
10154   ;;
10155 
10156 gnu*)
10157   version_type=linux # correct to gnu/linux during the next big refactor
10158   need_lib_prefix=no
10159   need_version=no
10160   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10161   soname_spec='${libname}${release}${shared_ext}$major'
10162   shlibpath_var=LD_LIBRARY_PATH
10163   shlibpath_overrides_runpath=no
10164   hardcode_into_libs=yes
10165   ;;
10166 
10167 haiku*)
10168   version_type=linux # correct to gnu/linux during the next big refactor
10169   need_lib_prefix=no
10170   need_version=no
10171   dynamic_linker="$host_os runtime_loader"
10172   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10173   soname_spec='${libname}${release}${shared_ext}$major'
10174   shlibpath_var=LIBRARY_PATH
10175   shlibpath_overrides_runpath=yes
10176   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10177   hardcode_into_libs=yes
10178   ;;
10179 
10180 hpux9* | hpux10* | hpux11*)
10181   # Give a soname corresponding to the major version so that dld.sl refuses to
10182   # link against other versions.
10183   version_type=sunos
10184   need_lib_prefix=no
10185   need_version=no
10186   case $host_cpu in
10187   ia64*)
10188     shrext_cmds='.so'
10189     hardcode_into_libs=yes
10190     dynamic_linker="$host_os dld.so"
10191     shlibpath_var=LD_LIBRARY_PATH
10192     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10193     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10194     soname_spec='${libname}${release}${shared_ext}$major'
10195     if test "X$HPUX_IA64_MODE" = X32; then
10196       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10197     else
10198       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10199     fi
10200     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10201     ;;
10202   hppa*64*)
10203     shrext_cmds='.sl'
10204     hardcode_into_libs=yes
10205     dynamic_linker="$host_os dld.sl"
10206     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10207     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10208     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10209     soname_spec='${libname}${release}${shared_ext}$major'
10210     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10211     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10212     ;;
10213   *)
10214     shrext_cmds='.sl'
10215     dynamic_linker="$host_os dld.sl"
10216     shlibpath_var=SHLIB_PATH
10217     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10218     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10219     soname_spec='${libname}${release}${shared_ext}$major'
10220     ;;
10221   esac
10222   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10223   postinstall_cmds='chmod 555 $lib'
10224   # or fails outright, so override atomically:
10225   install_override_mode=555
10226   ;;
10227 
10228 interix[3-9]*)
10229   version_type=linux # correct to gnu/linux during the next big refactor
10230   need_lib_prefix=no
10231   need_version=no
10232   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10233   soname_spec='${libname}${release}${shared_ext}$major'
10234   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10235   shlibpath_var=LD_LIBRARY_PATH
10236   shlibpath_overrides_runpath=no
10237   hardcode_into_libs=yes
10238   ;;
10239 
10240 irix5* | irix6* | nonstopux*)
10241   case $host_os in
10242     nonstopux*) version_type=nonstopux ;;
10243     *)
10244 	if test "$lt_cv_prog_gnu_ld" = yes; then
10245 		version_type=linux # correct to gnu/linux during the next big refactor
10246 	else
10247 		version_type=irix
10248 	fi ;;
10249   esac
10250   need_lib_prefix=no
10251   need_version=no
10252   soname_spec='${libname}${release}${shared_ext}$major'
10253   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10254   case $host_os in
10255   irix5* | nonstopux*)
10256     libsuff= shlibsuff=
10257     ;;
10258   *)
10259     case $LD in # libtool.m4 will add one of these switches to LD
10260     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10261       libsuff= shlibsuff= libmagic=32-bit;;
10262     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10263       libsuff=32 shlibsuff=N32 libmagic=N32;;
10264     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10265       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10266     *) libsuff= shlibsuff= libmagic=never-match;;
10267     esac
10268     ;;
10269   esac
10270   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10271   shlibpath_overrides_runpath=no
10272   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10273   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10274   hardcode_into_libs=yes
10275   ;;
10276 
10277 # No shared lib support for Linux oldld, aout, or coff.
10278 linux*oldld* | linux*aout* | linux*coff*)
10279   dynamic_linker=no
10280   ;;
10281 
10282 # This must be glibc/ELF.
10283 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10284   version_type=linux # correct to gnu/linux during the next big refactor
10285   need_lib_prefix=no
10286   need_version=no
10287   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10288   soname_spec='${libname}${release}${shared_ext}$major'
10289   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10290   shlibpath_var=LD_LIBRARY_PATH
10291   shlibpath_overrides_runpath=no
10292 
10293   # Some binutils ld are patched to set DT_RUNPATH
10294   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10295   $as_echo_n "(cached) " >&6
10296 else
10297   lt_cv_shlibpath_overrides_runpath=no
10298     save_LDFLAGS=$LDFLAGS
10299     save_libdir=$libdir
10300     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10301 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10302     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10303 /* end confdefs.h.  */
10304 
10305 int
10306 main ()
10307 {
10308 
10309   ;
10310   return 0;
10311 }
10312 _ACEOF
10313 if ac_fn_c_try_link "$LINENO"; then :
10314   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10315   lt_cv_shlibpath_overrides_runpath=yes
10316 fi
10317 fi
10318 rm -f core conftest.err conftest.$ac_objext \
10319     conftest$ac_exeext conftest.$ac_ext
10320     LDFLAGS=$save_LDFLAGS
10321     libdir=$save_libdir
10322 
10323 fi
10324 
10325   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10326 
10327   # This implies no fast_install, which is unacceptable.
10328   # Some rework will be needed to allow for fast_install
10329   # before this can be enabled.
10330   hardcode_into_libs=yes
10331 
10332   # Add ABI-specific directories to the system library path.
10333   sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
10334 
10335   # Append ld.so.conf contents to the search path
10336   if test -f /etc/ld.so.conf; then
10337     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' ' '`
10338     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
10339 
10340   fi
10341 
10342   # We used to test for /lib/ld.so.1 and disable shared libraries on
10343   # powerpc, because MkLinux only supported shared libraries with the
10344   # GNU dynamic linker.  Since this was broken with cross compilers,
10345   # most powerpc-linux boxes support dynamic linking these days and
10346   # people can always --disable-shared, the test was removed, and we
10347   # assume the GNU/Linux dynamic linker is in use.
10348   dynamic_linker='GNU/Linux ld.so'
10349   ;;
10350 
10351 netbsd*)
10352   version_type=sunos
10353   need_lib_prefix=no
10354   need_version=no
10355   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10356     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10357     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10358     dynamic_linker='NetBSD (a.out) ld.so'
10359   else
10360     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10361     soname_spec='${libname}${release}${shared_ext}$major'
10362     dynamic_linker='NetBSD ld.elf_so'
10363   fi
10364   shlibpath_var=LD_LIBRARY_PATH
10365   shlibpath_overrides_runpath=yes
10366   hardcode_into_libs=yes
10367   ;;
10368 
10369 newsos6)
10370   version_type=linux # correct to gnu/linux during the next big refactor
10371   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10372   shlibpath_var=LD_LIBRARY_PATH
10373   shlibpath_overrides_runpath=yes
10374   ;;
10375 
10376 *nto* | *qnx*)
10377   version_type=qnx
10378   need_lib_prefix=no
10379   need_version=no
10380   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10381   soname_spec='${libname}${release}${shared_ext}$major'
10382   shlibpath_var=LD_LIBRARY_PATH
10383   shlibpath_overrides_runpath=no
10384   hardcode_into_libs=yes
10385   dynamic_linker='ldqnx.so'
10386   ;;
10387 
10388 openbsd*)
10389   version_type=sunos
10390   sys_lib_dlsearch_path_spec="/usr/lib"
10391   need_lib_prefix=no
10392   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10393   case $host_os in
10394     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
10395     *)				need_version=no  ;;
10396   esac
10397   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10398   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10399   shlibpath_var=LD_LIBRARY_PATH
10400   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10401     case $host_os in
10402       openbsd2.[89] | openbsd2.[89].*)
10403 	shlibpath_overrides_runpath=no
10404 	;;
10405       *)
10406 	shlibpath_overrides_runpath=yes
10407 	;;
10408       esac
10409   else
10410     shlibpath_overrides_runpath=yes
10411   fi
10412   ;;
10413 
10414 os2*)
10415   libname_spec='$name'
10416   shrext_cmds=".dll"
10417   need_lib_prefix=no
10418   library_names_spec='$libname${shared_ext} $libname.a'
10419   dynamic_linker='OS/2 ld.exe'
10420   shlibpath_var=LIBPATH
10421   ;;
10422 
10423 osf3* | osf4* | osf5*)
10424   version_type=osf
10425   need_lib_prefix=no
10426   need_version=no
10427   soname_spec='${libname}${release}${shared_ext}$major'
10428   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10429   shlibpath_var=LD_LIBRARY_PATH
10430   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10431   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10432   ;;
10433 
10434 rdos*)
10435   dynamic_linker=no
10436   ;;
10437 
10438 solaris*)
10439   version_type=linux # correct to gnu/linux during the next big refactor
10440   need_lib_prefix=no
10441   need_version=no
10442   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10443   soname_spec='${libname}${release}${shared_ext}$major'
10444   shlibpath_var=LD_LIBRARY_PATH
10445   shlibpath_overrides_runpath=yes
10446   hardcode_into_libs=yes
10447   # ldd complains unless libraries are executable
10448   postinstall_cmds='chmod +x $lib'
10449   ;;
10450 
10451 sunos4*)
10452   version_type=sunos
10453   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10454   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10455   shlibpath_var=LD_LIBRARY_PATH
10456   shlibpath_overrides_runpath=yes
10457   if test "$with_gnu_ld" = yes; then
10458     need_lib_prefix=no
10459   fi
10460   need_version=yes
10461   ;;
10462 
10463 sysv4 | sysv4.3*)
10464   version_type=linux # correct to gnu/linux during the next big refactor
10465   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10466   soname_spec='${libname}${release}${shared_ext}$major'
10467   shlibpath_var=LD_LIBRARY_PATH
10468   case $host_vendor in
10469     sni)
10470       shlibpath_overrides_runpath=no
10471       need_lib_prefix=no
10472       runpath_var=LD_RUN_PATH
10473       ;;
10474     siemens)
10475       need_lib_prefix=no
10476       ;;
10477     motorola)
10478       need_lib_prefix=no
10479       need_version=no
10480       shlibpath_overrides_runpath=no
10481       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10482       ;;
10483   esac
10484   ;;
10485 
10486 sysv4*MP*)
10487   if test -d /usr/nec ;then
10488     version_type=linux # correct to gnu/linux during the next big refactor
10489     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10490     soname_spec='$libname${shared_ext}.$major'
10491     shlibpath_var=LD_LIBRARY_PATH
10492   fi
10493   ;;
10494 
10495 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10496   version_type=freebsd-elf
10497   need_lib_prefix=no
10498   need_version=no
10499   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10500   soname_spec='${libname}${release}${shared_ext}$major'
10501   shlibpath_var=LD_LIBRARY_PATH
10502   shlibpath_overrides_runpath=yes
10503   hardcode_into_libs=yes
10504   if test "$with_gnu_ld" = yes; then
10505     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10506   else
10507     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10508     case $host_os in
10509       sco3.2v5*)
10510         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10511 	;;
10512     esac
10513   fi
10514   sys_lib_dlsearch_path_spec='/usr/lib'
10515   ;;
10516 
10517 tpf*)
10518   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10519   version_type=linux # correct to gnu/linux during the next big refactor
10520   need_lib_prefix=no
10521   need_version=no
10522   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10523   shlibpath_var=LD_LIBRARY_PATH
10524   shlibpath_overrides_runpath=no
10525   hardcode_into_libs=yes
10526   ;;
10527 
10528 uts4*)
10529   version_type=linux # correct to gnu/linux during the next big refactor
10530   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10531   soname_spec='${libname}${release}${shared_ext}$major'
10532   shlibpath_var=LD_LIBRARY_PATH
10533   ;;
10534 
10535 *)
10536   dynamic_linker=no
10537   ;;
10538 esac
10539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10540 $as_echo "$dynamic_linker" >&6; }
10541 test "$dynamic_linker" = no && can_build_shared=no
10542 
10543 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10544 if test "$GCC" = yes; then
10545   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10546 fi
10547 
10548 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10549   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10550 fi
10551 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10552   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10553 fi
10554 
10555 
10556 
10557 
10558 
10559 
10560 
10561 
10562 
10563 
10564 
10565 
10566 
10567 
10568 
10569 
10570 
10571 
10572 
10573 
10574 
10575 
10576 
10577 
10578 
10579 
10580 
10581 
10582 
10583 
10584 
10585 
10586 
10587 
10588 
10589 
10590 
10591 
10592 
10593 
10594 
10595 
10596 
10597 
10598 
10599 
10600 
10601 
10602 
10603 
10604 
10605 
10606 
10607 
10608 
10609 
10610 
10611 
10612 
10613 
10614 
10615 
10616 
10617 
10618 
10619 
10620 
10621 
10622 
10623 
10624 
10625 
10626 
10627 
10628 
10629 
10630 
10631 
10632 
10633 
10634 
10635 
10636 
10637 
10638 
10639 
10640 
10641 
10642 
10643 
10644 
10645 
10646   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10647 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10648 hardcode_action=
10649 if test -n "$hardcode_libdir_flag_spec" ||
10650    test -n "$runpath_var" ||
10651    test "X$hardcode_automatic" = "Xyes" ; then
10652 
10653   # We can hardcode non-existent directories.
10654   if test "$hardcode_direct" != no &&
10655      # If the only mechanism to avoid hardcoding is shlibpath_var, we
10656      # have to relink, otherwise we might link with an installed library
10657      # when we should be linking with a yet-to-be-installed one
10658      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10659      test "$hardcode_minus_L" != no; then
10660     # Linking always hardcodes the temporary library directory.
10661     hardcode_action=relink
10662   else
10663     # We can link without hardcoding, and we can hardcode nonexisting dirs.
10664     hardcode_action=immediate
10665   fi
10666 else
10667   # We cannot hardcode anything, or else we can only hardcode existing
10668   # directories.
10669   hardcode_action=unsupported
10670 fi
10671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10672 $as_echo "$hardcode_action" >&6; }
10673 
10674 if test "$hardcode_action" = relink ||
10675    test "$inherit_rpath" = yes; then
10676   # Fast installation is not supported
10677   enable_fast_install=no
10678 elif test "$shlibpath_overrides_runpath" = yes ||
10679      test "$enable_shared" = no; then
10680   # Fast installation is not necessary
10681   enable_fast_install=needless
10682 fi
10683 
10684 
10685 
10686 
10687 
10688 
10689   if test "x$enable_dlopen" != xyes; then
10690   enable_dlopen=unknown
10691   enable_dlopen_self=unknown
10692   enable_dlopen_self_static=unknown
10693 else
10694   lt_cv_dlopen=no
10695   lt_cv_dlopen_libs=
10696 
10697   case $host_os in
10698   beos*)
10699     lt_cv_dlopen="load_add_on"
10700     lt_cv_dlopen_libs=
10701     lt_cv_dlopen_self=yes
10702     ;;
10703 
10704   mingw* | pw32* | cegcc*)
10705     lt_cv_dlopen="LoadLibrary"
10706     lt_cv_dlopen_libs=
10707     ;;
10708 
10709   cygwin*)
10710     lt_cv_dlopen="dlopen"
10711     lt_cv_dlopen_libs=
10712     ;;
10713 
10714   darwin*)
10715   # if libdl is installed we need to link against it
10716     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10717 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10718 if ${ac_cv_lib_dl_dlopen+:} false; then :
10719   $as_echo_n "(cached) " >&6
10720 else
10721   ac_check_lib_save_LIBS=$LIBS
10722 LIBS="-ldl  $LIBS"
10723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10724 /* end confdefs.h.  */
10725 
10726 /* Override any GCC internal prototype to avoid an error.
10727    Use char because int might match the return type of a GCC
10728    builtin and then its argument prototype would still apply.  */
10729 #ifdef __cplusplus
10730 extern "C"
10731 #endif
10732 char dlopen ();
10733 int
10734 main ()
10735 {
10736 return dlopen ();
10737   ;
10738   return 0;
10739 }
10740 _ACEOF
10741 if ac_fn_c_try_link "$LINENO"; then :
10742   ac_cv_lib_dl_dlopen=yes
10743 else
10744   ac_cv_lib_dl_dlopen=no
10745 fi
10746 rm -f core conftest.err conftest.$ac_objext \
10747     conftest$ac_exeext conftest.$ac_ext
10748 LIBS=$ac_check_lib_save_LIBS
10749 fi
10750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10751 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10752 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10753   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10754 else
10755 
10756     lt_cv_dlopen="dyld"
10757     lt_cv_dlopen_libs=
10758     lt_cv_dlopen_self=yes
10759 
10760 fi
10761 
10762     ;;
10763 
10764   *)
10765     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10766 if test "x$ac_cv_func_shl_load" = xyes; then :
10767   lt_cv_dlopen="shl_load"
10768 else
10769   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10770 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10771 if ${ac_cv_lib_dld_shl_load+:} false; then :
10772   $as_echo_n "(cached) " >&6
10773 else
10774   ac_check_lib_save_LIBS=$LIBS
10775 LIBS="-ldld  $LIBS"
10776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10777 /* end confdefs.h.  */
10778 
10779 /* Override any GCC internal prototype to avoid an error.
10780    Use char because int might match the return type of a GCC
10781    builtin and then its argument prototype would still apply.  */
10782 #ifdef __cplusplus
10783 extern "C"
10784 #endif
10785 char shl_load ();
10786 int
10787 main ()
10788 {
10789 return shl_load ();
10790   ;
10791   return 0;
10792 }
10793 _ACEOF
10794 if ac_fn_c_try_link "$LINENO"; then :
10795   ac_cv_lib_dld_shl_load=yes
10796 else
10797   ac_cv_lib_dld_shl_load=no
10798 fi
10799 rm -f core conftest.err conftest.$ac_objext \
10800     conftest$ac_exeext conftest.$ac_ext
10801 LIBS=$ac_check_lib_save_LIBS
10802 fi
10803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10804 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10805 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
10806   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10807 else
10808   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10809 if test "x$ac_cv_func_dlopen" = xyes; then :
10810   lt_cv_dlopen="dlopen"
10811 else
10812   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10813 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10814 if ${ac_cv_lib_dl_dlopen+:} false; then :
10815   $as_echo_n "(cached) " >&6
10816 else
10817   ac_check_lib_save_LIBS=$LIBS
10818 LIBS="-ldl  $LIBS"
10819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10820 /* end confdefs.h.  */
10821 
10822 /* Override any GCC internal prototype to avoid an error.
10823    Use char because int might match the return type of a GCC
10824    builtin and then its argument prototype would still apply.  */
10825 #ifdef __cplusplus
10826 extern "C"
10827 #endif
10828 char dlopen ();
10829 int
10830 main ()
10831 {
10832 return dlopen ();
10833   ;
10834   return 0;
10835 }
10836 _ACEOF
10837 if ac_fn_c_try_link "$LINENO"; then :
10838   ac_cv_lib_dl_dlopen=yes
10839 else
10840   ac_cv_lib_dl_dlopen=no
10841 fi
10842 rm -f core conftest.err conftest.$ac_objext \
10843     conftest$ac_exeext conftest.$ac_ext
10844 LIBS=$ac_check_lib_save_LIBS
10845 fi
10846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10847 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10848 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10849   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10850 else
10851   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10852 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10853 if ${ac_cv_lib_svld_dlopen+:} false; then :
10854   $as_echo_n "(cached) " >&6
10855 else
10856   ac_check_lib_save_LIBS=$LIBS
10857 LIBS="-lsvld  $LIBS"
10858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10859 /* end confdefs.h.  */
10860 
10861 /* Override any GCC internal prototype to avoid an error.
10862    Use char because int might match the return type of a GCC
10863    builtin and then its argument prototype would still apply.  */
10864 #ifdef __cplusplus
10865 extern "C"
10866 #endif
10867 char dlopen ();
10868 int
10869 main ()
10870 {
10871 return dlopen ();
10872   ;
10873   return 0;
10874 }
10875 _ACEOF
10876 if ac_fn_c_try_link "$LINENO"; then :
10877   ac_cv_lib_svld_dlopen=yes
10878 else
10879   ac_cv_lib_svld_dlopen=no
10880 fi
10881 rm -f core conftest.err conftest.$ac_objext \
10882     conftest$ac_exeext conftest.$ac_ext
10883 LIBS=$ac_check_lib_save_LIBS
10884 fi
10885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10886 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10887 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
10888   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10889 else
10890   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10891 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10892 if ${ac_cv_lib_dld_dld_link+:} false; then :
10893   $as_echo_n "(cached) " >&6
10894 else
10895   ac_check_lib_save_LIBS=$LIBS
10896 LIBS="-ldld  $LIBS"
10897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10898 /* end confdefs.h.  */
10899 
10900 /* Override any GCC internal prototype to avoid an error.
10901    Use char because int might match the return type of a GCC
10902    builtin and then its argument prototype would still apply.  */
10903 #ifdef __cplusplus
10904 extern "C"
10905 #endif
10906 char dld_link ();
10907 int
10908 main ()
10909 {
10910 return dld_link ();
10911   ;
10912   return 0;
10913 }
10914 _ACEOF
10915 if ac_fn_c_try_link "$LINENO"; then :
10916   ac_cv_lib_dld_dld_link=yes
10917 else
10918   ac_cv_lib_dld_dld_link=no
10919 fi
10920 rm -f core conftest.err conftest.$ac_objext \
10921     conftest$ac_exeext conftest.$ac_ext
10922 LIBS=$ac_check_lib_save_LIBS
10923 fi
10924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10925 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10926 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
10927   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10928 fi
10929 
10930 
10931 fi
10932 
10933 
10934 fi
10935 
10936 
10937 fi
10938 
10939 
10940 fi
10941 
10942 
10943 fi
10944 
10945     ;;
10946   esac
10947 
10948   if test "x$lt_cv_dlopen" != xno; then
10949     enable_dlopen=yes
10950   else
10951     enable_dlopen=no
10952   fi
10953 
10954   case $lt_cv_dlopen in
10955   dlopen)
10956     save_CPPFLAGS="$CPPFLAGS"
10957     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10958 
10959     save_LDFLAGS="$LDFLAGS"
10960     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10961 
10962     save_LIBS="$LIBS"
10963     LIBS="$lt_cv_dlopen_libs $LIBS"
10964 
10965     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10966 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10967 if ${lt_cv_dlopen_self+:} false; then :
10968   $as_echo_n "(cached) " >&6
10969 else
10970   	  if test "$cross_compiling" = yes; then :
10971   lt_cv_dlopen_self=cross
10972 else
10973   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10974   lt_status=$lt_dlunknown
10975   cat > conftest.$ac_ext <<_LT_EOF
10976 #line $LINENO "configure"
10977 #include "confdefs.h"
10978 
10979 #if HAVE_DLFCN_H
10980 #include <dlfcn.h>
10981 #endif
10982 
10983 #include <stdio.h>
10984 
10985 #ifdef RTLD_GLOBAL
10986 #  define LT_DLGLOBAL		RTLD_GLOBAL
10987 #else
10988 #  ifdef DL_GLOBAL
10989 #    define LT_DLGLOBAL		DL_GLOBAL
10990 #  else
10991 #    define LT_DLGLOBAL		0
10992 #  endif
10993 #endif
10994 
10995 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10996    find out it does not work in some platform. */
10997 #ifndef LT_DLLAZY_OR_NOW
10998 #  ifdef RTLD_LAZY
10999 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
11000 #  else
11001 #    ifdef DL_LAZY
11002 #      define LT_DLLAZY_OR_NOW		DL_LAZY
11003 #    else
11004 #      ifdef RTLD_NOW
11005 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
11006 #      else
11007 #        ifdef DL_NOW
11008 #          define LT_DLLAZY_OR_NOW	DL_NOW
11009 #        else
11010 #          define LT_DLLAZY_OR_NOW	0
11011 #        endif
11012 #      endif
11013 #    endif
11014 #  endif
11015 #endif
11016 
11017 /* When -fvisbility=hidden is used, assume the code has been annotated
11018    correspondingly for the symbols needed.  */
11019 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11020 int fnord () __attribute__((visibility("default")));
11021 #endif
11022 
11023 int fnord () { return 42; }
11024 int main ()
11025 {
11026   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11027   int status = $lt_dlunknown;
11028 
11029   if (self)
11030     {
11031       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11032       else
11033         {
11034 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11035           else puts (dlerror ());
11036 	}
11037       /* dlclose (self); */
11038     }
11039   else
11040     puts (dlerror ());
11041 
11042   return status;
11043 }
11044 _LT_EOF
11045   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11046   (eval $ac_link) 2>&5
11047   ac_status=$?
11048   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11049   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11050     (./conftest; exit; ) >&5 2>/dev/null
11051     lt_status=$?
11052     case x$lt_status in
11053       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11054       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11055       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11056     esac
11057   else :
11058     # compilation failed
11059     lt_cv_dlopen_self=no
11060   fi
11061 fi
11062 rm -fr conftest*
11063 
11064 
11065 fi
11066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11067 $as_echo "$lt_cv_dlopen_self" >&6; }
11068 
11069     if test "x$lt_cv_dlopen_self" = xyes; then
11070       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11071       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11072 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11073 if ${lt_cv_dlopen_self_static+:} false; then :
11074   $as_echo_n "(cached) " >&6
11075 else
11076   	  if test "$cross_compiling" = yes; then :
11077   lt_cv_dlopen_self_static=cross
11078 else
11079   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11080   lt_status=$lt_dlunknown
11081   cat > conftest.$ac_ext <<_LT_EOF
11082 #line $LINENO "configure"
11083 #include "confdefs.h"
11084 
11085 #if HAVE_DLFCN_H
11086 #include <dlfcn.h>
11087 #endif
11088 
11089 #include <stdio.h>
11090 
11091 #ifdef RTLD_GLOBAL
11092 #  define LT_DLGLOBAL		RTLD_GLOBAL
11093 #else
11094 #  ifdef DL_GLOBAL
11095 #    define LT_DLGLOBAL		DL_GLOBAL
11096 #  else
11097 #    define LT_DLGLOBAL		0
11098 #  endif
11099 #endif
11100 
11101 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11102    find out it does not work in some platform. */
11103 #ifndef LT_DLLAZY_OR_NOW
11104 #  ifdef RTLD_LAZY
11105 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
11106 #  else
11107 #    ifdef DL_LAZY
11108 #      define LT_DLLAZY_OR_NOW		DL_LAZY
11109 #    else
11110 #      ifdef RTLD_NOW
11111 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
11112 #      else
11113 #        ifdef DL_NOW
11114 #          define LT_DLLAZY_OR_NOW	DL_NOW
11115 #        else
11116 #          define LT_DLLAZY_OR_NOW	0
11117 #        endif
11118 #      endif
11119 #    endif
11120 #  endif
11121 #endif
11122 
11123 /* When -fvisbility=hidden is used, assume the code has been annotated
11124    correspondingly for the symbols needed.  */
11125 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11126 int fnord () __attribute__((visibility("default")));
11127 #endif
11128 
11129 int fnord () { return 42; }
11130 int main ()
11131 {
11132   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11133   int status = $lt_dlunknown;
11134 
11135   if (self)
11136     {
11137       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11138       else
11139         {
11140 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11141           else puts (dlerror ());
11142 	}
11143       /* dlclose (self); */
11144     }
11145   else
11146     puts (dlerror ());
11147 
11148   return status;
11149 }
11150 _LT_EOF
11151   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11152   (eval $ac_link) 2>&5
11153   ac_status=$?
11154   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11155   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11156     (./conftest; exit; ) >&5 2>/dev/null
11157     lt_status=$?
11158     case x$lt_status in
11159       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11160       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11161       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11162     esac
11163   else :
11164     # compilation failed
11165     lt_cv_dlopen_self_static=no
11166   fi
11167 fi
11168 rm -fr conftest*
11169 
11170 
11171 fi
11172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11173 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11174     fi
11175 
11176     CPPFLAGS="$save_CPPFLAGS"
11177     LDFLAGS="$save_LDFLAGS"
11178     LIBS="$save_LIBS"
11179     ;;
11180   esac
11181 
11182   case $lt_cv_dlopen_self in
11183   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11184   *) enable_dlopen_self=unknown ;;
11185   esac
11186 
11187   case $lt_cv_dlopen_self_static in
11188   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11189   *) enable_dlopen_self_static=unknown ;;
11190   esac
11191 fi
11192 
11193 
11194 
11195 
11196 
11197 
11198 
11199 
11200 
11201 
11202 
11203 
11204 
11205 
11206 
11207 
11208 
11209 striplib=
11210 old_striplib=
11211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11212 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11213 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11214   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11215   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11216   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11217 $as_echo "yes" >&6; }
11218 else
11219 # FIXME - insert some real tests, host_os isn't really good enough
11220   case $host_os in
11221   darwin*)
11222     if test -n "$STRIP" ; then
11223       striplib="$STRIP -x"
11224       old_striplib="$STRIP -S"
11225       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11226 $as_echo "yes" >&6; }
11227     else
11228       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11229 $as_echo "no" >&6; }
11230     fi
11231     ;;
11232   *)
11233     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11234 $as_echo "no" >&6; }
11235     ;;
11236   esac
11237 fi
11238 
11239 
11240 
11241 
11242 
11243 
11244 
11245 
11246 
11247 
11248 
11249 
11250   # Report which library types will actually be built
11251   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11252 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11253   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11254 $as_echo "$can_build_shared" >&6; }
11255 
11256   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11257 $as_echo_n "checking whether to build shared libraries... " >&6; }
11258   test "$can_build_shared" = "no" && enable_shared=no
11259 
11260   # On AIX, shared libraries and static libraries use the same namespace, and
11261   # are all built from PIC.
11262   case $host_os in
11263   aix3*)
11264     test "$enable_shared" = yes && enable_static=no
11265     if test -n "$RANLIB"; then
11266       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11267       postinstall_cmds='$RANLIB $lib'
11268     fi
11269     ;;
11270 
11271   aix[4-9]*)
11272     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11273       test "$enable_shared" = yes && enable_static=no
11274     fi
11275     ;;
11276   esac
11277   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11278 $as_echo "$enable_shared" >&6; }
11279 
11280   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11281 $as_echo_n "checking whether to build static libraries... " >&6; }
11282   # Make sure either enable_shared or enable_static is yes.
11283   test "$enable_shared" = yes || enable_static=yes
11284   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11285 $as_echo "$enable_static" >&6; }
11286 
11287 
11288 
11289 
11290 fi
11291 ac_ext=c
11292 ac_cpp='$CPP $CPPFLAGS'
11293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11296 
11297 CC="$lt_save_CC"
11298 
11299 
11300 
11301 
11302 
11303 
11304 
11305 
11306 
11307 
11308 
11309 
11310 
11311 
11312 
11313         ac_config_commands="$ac_config_commands libtool"
11314 
11315 
11316 
11317 
11318 # Only expand once:
11319 
11320 
11321 
11322 
11323 echo .
11324 echo Checking for programs
11325 
11326 ac_ext=c
11327 ac_cpp='$CPP $CPPFLAGS'
11328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11331 if test -n "$ac_tool_prefix"; then
11332   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11333 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11335 $as_echo_n "checking for $ac_word... " >&6; }
11336 if ${ac_cv_prog_CC+:} false; then :
11337   $as_echo_n "(cached) " >&6
11338 else
11339   if test -n "$CC"; then
11340   ac_cv_prog_CC="$CC" # Let the user override the test.
11341 else
11342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11343 for as_dir in $PATH
11344 do
11345   IFS=$as_save_IFS
11346   test -z "$as_dir" && as_dir=.
11347     for ac_exec_ext in '' $ac_executable_extensions; do
11348   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11349     ac_cv_prog_CC="${ac_tool_prefix}gcc"
11350     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11351     break 2
11352   fi
11353 done
11354   done
11355 IFS=$as_save_IFS
11356 
11357 fi
11358 fi
11359 CC=$ac_cv_prog_CC
11360 if test -n "$CC"; then
11361   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11362 $as_echo "$CC" >&6; }
11363 else
11364   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11365 $as_echo "no" >&6; }
11366 fi
11367 
11368 
11369 fi
11370 if test -z "$ac_cv_prog_CC"; then
11371   ac_ct_CC=$CC
11372   # Extract the first word of "gcc", so it can be a program name with args.
11373 set dummy gcc; ac_word=$2
11374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11375 $as_echo_n "checking for $ac_word... " >&6; }
11376 if ${ac_cv_prog_ac_ct_CC+:} false; then :
11377   $as_echo_n "(cached) " >&6
11378 else
11379   if test -n "$ac_ct_CC"; then
11380   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11381 else
11382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11383 for as_dir in $PATH
11384 do
11385   IFS=$as_save_IFS
11386   test -z "$as_dir" && as_dir=.
11387     for ac_exec_ext in '' $ac_executable_extensions; do
11388   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11389     ac_cv_prog_ac_ct_CC="gcc"
11390     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11391     break 2
11392   fi
11393 done
11394   done
11395 IFS=$as_save_IFS
11396 
11397 fi
11398 fi
11399 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11400 if test -n "$ac_ct_CC"; then
11401   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11402 $as_echo "$ac_ct_CC" >&6; }
11403 else
11404   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11405 $as_echo "no" >&6; }
11406 fi
11407 
11408   if test "x$ac_ct_CC" = x; then
11409     CC=""
11410   else
11411     case $cross_compiling:$ac_tool_warned in
11412 yes:)
11413 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11414 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11415 ac_tool_warned=yes ;;
11416 esac
11417     CC=$ac_ct_CC
11418   fi
11419 else
11420   CC="$ac_cv_prog_CC"
11421 fi
11422 
11423 if test -z "$CC"; then
11424           if test -n "$ac_tool_prefix"; then
11425     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11426 set dummy ${ac_tool_prefix}cc; ac_word=$2
11427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11428 $as_echo_n "checking for $ac_word... " >&6; }
11429 if ${ac_cv_prog_CC+:} false; then :
11430   $as_echo_n "(cached) " >&6
11431 else
11432   if test -n "$CC"; then
11433   ac_cv_prog_CC="$CC" # Let the user override the test.
11434 else
11435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11436 for as_dir in $PATH
11437 do
11438   IFS=$as_save_IFS
11439   test -z "$as_dir" && as_dir=.
11440     for ac_exec_ext in '' $ac_executable_extensions; do
11441   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11442     ac_cv_prog_CC="${ac_tool_prefix}cc"
11443     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11444     break 2
11445   fi
11446 done
11447   done
11448 IFS=$as_save_IFS
11449 
11450 fi
11451 fi
11452 CC=$ac_cv_prog_CC
11453 if test -n "$CC"; then
11454   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11455 $as_echo "$CC" >&6; }
11456 else
11457   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11458 $as_echo "no" >&6; }
11459 fi
11460 
11461 
11462   fi
11463 fi
11464 if test -z "$CC"; then
11465   # Extract the first word of "cc", so it can be a program name with args.
11466 set dummy cc; ac_word=$2
11467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11468 $as_echo_n "checking for $ac_word... " >&6; }
11469 if ${ac_cv_prog_CC+:} false; then :
11470   $as_echo_n "(cached) " >&6
11471 else
11472   if test -n "$CC"; then
11473   ac_cv_prog_CC="$CC" # Let the user override the test.
11474 else
11475   ac_prog_rejected=no
11476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11477 for as_dir in $PATH
11478 do
11479   IFS=$as_save_IFS
11480   test -z "$as_dir" && as_dir=.
11481     for ac_exec_ext in '' $ac_executable_extensions; do
11482   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11483     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11484        ac_prog_rejected=yes
11485        continue
11486      fi
11487     ac_cv_prog_CC="cc"
11488     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11489     break 2
11490   fi
11491 done
11492   done
11493 IFS=$as_save_IFS
11494 
11495 if test $ac_prog_rejected = yes; then
11496   # We found a bogon in the path, so make sure we never use it.
11497   set dummy $ac_cv_prog_CC
11498   shift
11499   if test $# != 0; then
11500     # We chose a different compiler from the bogus one.
11501     # However, it has the same basename, so the bogon will be chosen
11502     # first if we set CC to just the basename; use the full file name.
11503     shift
11504     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
11505   fi
11506 fi
11507 fi
11508 fi
11509 CC=$ac_cv_prog_CC
11510 if test -n "$CC"; then
11511   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11512 $as_echo "$CC" >&6; }
11513 else
11514   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11515 $as_echo "no" >&6; }
11516 fi
11517 
11518 
11519 fi
11520 if test -z "$CC"; then
11521   if test -n "$ac_tool_prefix"; then
11522   for ac_prog in cl.exe
11523   do
11524     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11525 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11527 $as_echo_n "checking for $ac_word... " >&6; }
11528 if ${ac_cv_prog_CC+:} false; then :
11529   $as_echo_n "(cached) " >&6
11530 else
11531   if test -n "$CC"; then
11532   ac_cv_prog_CC="$CC" # Let the user override the test.
11533 else
11534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11535 for as_dir in $PATH
11536 do
11537   IFS=$as_save_IFS
11538   test -z "$as_dir" && as_dir=.
11539     for ac_exec_ext in '' $ac_executable_extensions; do
11540   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11541     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11542     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11543     break 2
11544   fi
11545 done
11546   done
11547 IFS=$as_save_IFS
11548 
11549 fi
11550 fi
11551 CC=$ac_cv_prog_CC
11552 if test -n "$CC"; then
11553   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11554 $as_echo "$CC" >&6; }
11555 else
11556   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11557 $as_echo "no" >&6; }
11558 fi
11559 
11560 
11561     test -n "$CC" && break
11562   done
11563 fi
11564 if test -z "$CC"; then
11565   ac_ct_CC=$CC
11566   for ac_prog in cl.exe
11567 do
11568   # Extract the first word of "$ac_prog", so it can be a program name with args.
11569 set dummy $ac_prog; ac_word=$2
11570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11571 $as_echo_n "checking for $ac_word... " >&6; }
11572 if ${ac_cv_prog_ac_ct_CC+:} false; then :
11573   $as_echo_n "(cached) " >&6
11574 else
11575   if test -n "$ac_ct_CC"; then
11576   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11577 else
11578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11579 for as_dir in $PATH
11580 do
11581   IFS=$as_save_IFS
11582   test -z "$as_dir" && as_dir=.
11583     for ac_exec_ext in '' $ac_executable_extensions; do
11584   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11585     ac_cv_prog_ac_ct_CC="$ac_prog"
11586     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11587     break 2
11588   fi
11589 done
11590   done
11591 IFS=$as_save_IFS
11592 
11593 fi
11594 fi
11595 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11596 if test -n "$ac_ct_CC"; then
11597   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11598 $as_echo "$ac_ct_CC" >&6; }
11599 else
11600   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11601 $as_echo "no" >&6; }
11602 fi
11603 
11604 
11605   test -n "$ac_ct_CC" && break
11606 done
11607 
11608   if test "x$ac_ct_CC" = x; then
11609     CC=""
11610   else
11611     case $cross_compiling:$ac_tool_warned in
11612 yes:)
11613 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11614 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11615 ac_tool_warned=yes ;;
11616 esac
11617     CC=$ac_ct_CC
11618   fi
11619 fi
11620 
11621 fi
11622 
11623 
11624 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11625 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11626 as_fn_error $? "no acceptable C compiler found in \$PATH
11627 See \`config.log' for more details" "$LINENO" 5; }
11628 
11629 # Provide some information about the compiler.
11630 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
11631 set X $ac_compile
11632 ac_compiler=$2
11633 for ac_option in --version -v -V -qversion; do
11634   { { ac_try="$ac_compiler $ac_option >&5"
11635 case "(($ac_try" in
11636   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11637   *) ac_try_echo=$ac_try;;
11638 esac
11639 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11640 $as_echo "$ac_try_echo"; } >&5
11641   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11642   ac_status=$?
11643   if test -s conftest.err; then
11644     sed '10a\
11645 ... rest of stderr output deleted ...
11646          10q' conftest.err >conftest.er1
11647     cat conftest.er1 >&5
11648   fi
11649   rm -f conftest.er1 conftest.err
11650   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11651   test $ac_status = 0; }
11652 done
11653 
11654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
11655 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
11656 if ${ac_cv_c_compiler_gnu+:} false; then :
11657   $as_echo_n "(cached) " >&6
11658 else
11659   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11660 /* end confdefs.h.  */
11661 
11662 int
11663 main ()
11664 {
11665 #ifndef __GNUC__
11666        choke me
11667 #endif
11668 
11669   ;
11670   return 0;
11671 }
11672 _ACEOF
11673 if ac_fn_c_try_compile "$LINENO"; then :
11674   ac_compiler_gnu=yes
11675 else
11676   ac_compiler_gnu=no
11677 fi
11678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11679 ac_cv_c_compiler_gnu=$ac_compiler_gnu
11680 
11681 fi
11682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
11683 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
11684 if test $ac_compiler_gnu = yes; then
11685   GCC=yes
11686 else
11687   GCC=
11688 fi
11689 ac_test_CFLAGS=${CFLAGS+set}
11690 ac_save_CFLAGS=$CFLAGS
11691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
11692 $as_echo_n "checking whether $CC accepts -g... " >&6; }
11693 if ${ac_cv_prog_cc_g+:} false; then :
11694   $as_echo_n "(cached) " >&6
11695 else
11696   ac_save_c_werror_flag=$ac_c_werror_flag
11697    ac_c_werror_flag=yes
11698    ac_cv_prog_cc_g=no
11699    CFLAGS="-g"
11700    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11701 /* end confdefs.h.  */
11702 
11703 int
11704 main ()
11705 {
11706 
11707   ;
11708   return 0;
11709 }
11710 _ACEOF
11711 if ac_fn_c_try_compile "$LINENO"; then :
11712   ac_cv_prog_cc_g=yes
11713 else
11714   CFLAGS=""
11715       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11716 /* end confdefs.h.  */
11717 
11718 int
11719 main ()
11720 {
11721 
11722   ;
11723   return 0;
11724 }
11725 _ACEOF
11726 if ac_fn_c_try_compile "$LINENO"; then :
11727 
11728 else
11729   ac_c_werror_flag=$ac_save_c_werror_flag
11730 	 CFLAGS="-g"
11731 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11732 /* end confdefs.h.  */
11733 
11734 int
11735 main ()
11736 {
11737 
11738   ;
11739   return 0;
11740 }
11741 _ACEOF
11742 if ac_fn_c_try_compile "$LINENO"; then :
11743   ac_cv_prog_cc_g=yes
11744 fi
11745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11746 fi
11747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11748 fi
11749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11750    ac_c_werror_flag=$ac_save_c_werror_flag
11751 fi
11752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
11753 $as_echo "$ac_cv_prog_cc_g" >&6; }
11754 if test "$ac_test_CFLAGS" = set; then
11755   CFLAGS=$ac_save_CFLAGS
11756 elif test $ac_cv_prog_cc_g = yes; then
11757   if test "$GCC" = yes; then
11758     CFLAGS="-g -O2"
11759   else
11760     CFLAGS="-g"
11761   fi
11762 else
11763   if test "$GCC" = yes; then
11764     CFLAGS="-O2"
11765   else
11766     CFLAGS=
11767   fi
11768 fi
11769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
11770 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
11771 if ${ac_cv_prog_cc_c89+:} false; then :
11772   $as_echo_n "(cached) " >&6
11773 else
11774   ac_cv_prog_cc_c89=no
11775 ac_save_CC=$CC
11776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11777 /* end confdefs.h.  */
11778 #include <stdarg.h>
11779 #include <stdio.h>
11780 #include <sys/types.h>
11781 #include <sys/stat.h>
11782 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
11783 struct buf { int x; };
11784 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11785 static char *e (p, i)
11786      char **p;
11787      int i;
11788 {
11789   return p[i];
11790 }
11791 static char *f (char * (*g) (char **, int), char **p, ...)
11792 {
11793   char *s;
11794   va_list v;
11795   va_start (v,p);
11796   s = g (p, va_arg (v,int));
11797   va_end (v);
11798   return s;
11799 }
11800 
11801 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
11802    function prototypes and stuff, but not '\xHH' hex character constants.
11803    These don't provoke an error unfortunately, instead are silently treated
11804    as 'x'.  The following induces an error, until -std is added to get
11805    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
11806    array size at least.  It's necessary to write '\x00'==0 to get something
11807    that's true only with -std.  */
11808 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11809 
11810 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
11811    inside strings and character constants.  */
11812 #define FOO(x) 'x'
11813 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
11814 
11815 int test (int i, double x);
11816 struct s1 {int (*f) (int a);};
11817 struct s2 {int (*f) (double a);};
11818 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11819 int argc;
11820 char **argv;
11821 int
11822 main ()
11823 {
11824 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
11825   ;
11826   return 0;
11827 }
11828 _ACEOF
11829 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
11830 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11831 do
11832   CC="$ac_save_CC $ac_arg"
11833   if ac_fn_c_try_compile "$LINENO"; then :
11834   ac_cv_prog_cc_c89=$ac_arg
11835 fi
11836 rm -f core conftest.err conftest.$ac_objext
11837   test "x$ac_cv_prog_cc_c89" != "xno" && break
11838 done
11839 rm -f conftest.$ac_ext
11840 CC=$ac_save_CC
11841 
11842 fi
11843 # AC_CACHE_VAL
11844 case "x$ac_cv_prog_cc_c89" in
11845   x)
11846     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
11847 $as_echo "none needed" >&6; } ;;
11848   xno)
11849     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
11850 $as_echo "unsupported" >&6; } ;;
11851   *)
11852     CC="$CC $ac_cv_prog_cc_c89"
11853     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
11854 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
11855 esac
11856 if test "x$ac_cv_prog_cc_c89" != xno; then :
11857 
11858 fi
11859 
11860 ac_ext=c
11861 ac_cpp='$CPP $CPPFLAGS'
11862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11865 
11866 depcc="$CC"   am_compiler_list=
11867 
11868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
11869 $as_echo_n "checking dependency style of $depcc... " >&6; }
11870 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
11871   $as_echo_n "(cached) " >&6
11872 else
11873   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
11874   # We make a subdir and do the tests there.  Otherwise we can end up
11875   # making bogus files that we don't know about and never remove.  For
11876   # instance it was reported that on HP-UX the gcc test will end up
11877   # making a dummy file named `D' -- because `-MD' means `put the output
11878   # in D'.
11879   rm -rf conftest.dir
11880   mkdir conftest.dir
11881   # Copy depcomp to subdir because otherwise we won't find it if we're
11882   # using a relative directory.
11883   cp "$am_depcomp" conftest.dir
11884   cd conftest.dir
11885   # We will build objects and dependencies in a subdirectory because
11886   # it helps to detect inapplicable dependency modes.  For instance
11887   # both Tru64's cc and ICC support -MD to output dependencies as a
11888   # side effect of compilation, but ICC will put the dependencies in
11889   # the current directory while Tru64 will put them in the object
11890   # directory.
11891   mkdir sub
11892 
11893   am_cv_CC_dependencies_compiler_type=none
11894   if test "$am_compiler_list" = ""; then
11895      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
11896   fi
11897   am__universal=false
11898   case " $depcc " in #(
11899      *\ -arch\ *\ -arch\ *) am__universal=true ;;
11900      esac
11901 
11902   for depmode in $am_compiler_list; do
11903     # Setup a source with many dependencies, because some compilers
11904     # like to wrap large dependency lists on column 80 (with \), and
11905     # we should not choose a depcomp mode which is confused by this.
11906     #
11907     # We need to recreate these files for each test, as the compiler may
11908     # overwrite some of them when testing with obscure command lines.
11909     # This happens at least with the AIX C compiler.
11910     : > sub/conftest.c
11911     for i in 1 2 3 4 5 6; do
11912       echo '#include "conftst'$i'.h"' >> sub/conftest.c
11913       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
11914       # Solaris 8's {/usr,}/bin/sh.
11915       touch sub/conftst$i.h
11916     done
11917     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
11918 
11919     # We check with `-c' and `-o' for the sake of the "dashmstdout"
11920     # mode.  It turns out that the SunPro C++ compiler does not properly
11921     # handle `-M -o', and we need to detect this.  Also, some Intel
11922     # versions had trouble with output in subdirs
11923     am__obj=sub/conftest.${OBJEXT-o}
11924     am__minus_obj="-o $am__obj"
11925     case $depmode in
11926     gcc)
11927       # This depmode causes a compiler race in universal mode.
11928       test "$am__universal" = false || continue
11929       ;;
11930     nosideeffect)
11931       # after this tag, mechanisms are not by side-effect, so they'll
11932       # only be used when explicitly requested
11933       if test "x$enable_dependency_tracking" = xyes; then
11934 	continue
11935       else
11936 	break
11937       fi
11938       ;;
11939     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
11940       # This compiler won't grok `-c -o', but also, the minuso test has
11941       # not run yet.  These depmodes are late enough in the game, and
11942       # so weak that their functioning should not be impacted.
11943       am__obj=conftest.${OBJEXT-o}
11944       am__minus_obj=
11945       ;;
11946     none) break ;;
11947     esac
11948     if depmode=$depmode \
11949        source=sub/conftest.c object=$am__obj \
11950        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
11951        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
11952          >/dev/null 2>conftest.err &&
11953        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
11954        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
11955        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
11956        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
11957       # icc doesn't choke on unknown options, it will just issue warnings
11958       # or remarks (even with -Werror).  So we grep stderr for any message
11959       # that says an option was ignored or not supported.
11960       # When given -MP, icc 7.0 and 7.1 complain thusly:
11961       #   icc: Command line warning: ignoring option '-M'; no argument required
11962       # The diagnosis changed in icc 8.0:
11963       #   icc: Command line remark: option '-MP' not supported
11964       if (grep 'ignoring option' conftest.err ||
11965           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
11966         am_cv_CC_dependencies_compiler_type=$depmode
11967         break
11968       fi
11969     fi
11970   done
11971 
11972   cd ..
11973   rm -rf conftest.dir
11974 else
11975   am_cv_CC_dependencies_compiler_type=none
11976 fi
11977 
11978 fi
11979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
11980 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
11981 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
11982 
11983  if
11984   test "x$enable_dependency_tracking" != xno \
11985   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
11986   am__fastdepCC_TRUE=
11987   am__fastdepCC_FALSE='#'
11988 else
11989   am__fastdepCC_TRUE='#'
11990   am__fastdepCC_FALSE=
11991 fi
11992 
11993 
11994 
11995 for ac_prog in gawk mawk nawk awk
11996 do
11997   # Extract the first word of "$ac_prog", so it can be a program name with args.
11998 set dummy $ac_prog; ac_word=$2
11999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12000 $as_echo_n "checking for $ac_word... " >&6; }
12001 if ${ac_cv_prog_AWK+:} false; then :
12002   $as_echo_n "(cached) " >&6
12003 else
12004   if test -n "$AWK"; then
12005   ac_cv_prog_AWK="$AWK" # Let the user override the test.
12006 else
12007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12008 for as_dir in $PATH
12009 do
12010   IFS=$as_save_IFS
12011   test -z "$as_dir" && as_dir=.
12012     for ac_exec_ext in '' $ac_executable_extensions; do
12013   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12014     ac_cv_prog_AWK="$ac_prog"
12015     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12016     break 2
12017   fi
12018 done
12019   done
12020 IFS=$as_save_IFS
12021 
12022 fi
12023 fi
12024 AWK=$ac_cv_prog_AWK
12025 if test -n "$AWK"; then
12026   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
12027 $as_echo "$AWK" >&6; }
12028 else
12029   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12030 $as_echo "no" >&6; }
12031 fi
12032 
12033 
12034   test -n "$AWK" && break
12035 done
12036 
12037 
12038 echo .
12039 echo Checking for header files
12040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
12041 $as_echo_n "checking for ANSI C header files... " >&6; }
12042 if ${ac_cv_header_stdc+:} false; then :
12043   $as_echo_n "(cached) " >&6
12044 else
12045   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12046 /* end confdefs.h.  */
12047 #include <stdlib.h>
12048 #include <stdarg.h>
12049 #include <string.h>
12050 #include <float.h>
12051 
12052 int
12053 main ()
12054 {
12055 
12056   ;
12057   return 0;
12058 }
12059 _ACEOF
12060 if ac_fn_c_try_compile "$LINENO"; then :
12061   ac_cv_header_stdc=yes
12062 else
12063   ac_cv_header_stdc=no
12064 fi
12065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12066 
12067 if test $ac_cv_header_stdc = yes; then
12068   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12069   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12070 /* end confdefs.h.  */
12071 #include <string.h>
12072 
12073 _ACEOF
12074 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12075   $EGREP "memchr" >/dev/null 2>&1; then :
12076 
12077 else
12078   ac_cv_header_stdc=no
12079 fi
12080 rm -f conftest*
12081 
12082 fi
12083 
12084 if test $ac_cv_header_stdc = yes; then
12085   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12086   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12087 /* end confdefs.h.  */
12088 #include <stdlib.h>
12089 
12090 _ACEOF
12091 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12092   $EGREP "free" >/dev/null 2>&1; then :
12093 
12094 else
12095   ac_cv_header_stdc=no
12096 fi
12097 rm -f conftest*
12098 
12099 fi
12100 
12101 if test $ac_cv_header_stdc = yes; then
12102   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12103   if test "$cross_compiling" = yes; then :
12104   :
12105 else
12106   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12107 /* end confdefs.h.  */
12108 #include <ctype.h>
12109 #include <stdlib.h>
12110 #if ((' ' & 0x0FF) == 0x020)
12111 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12112 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12113 #else
12114 # define ISLOWER(c) \
12115 		   (('a' <= (c) && (c) <= 'i') \
12116 		     || ('j' <= (c) && (c) <= 'r') \
12117 		     || ('s' <= (c) && (c) <= 'z'))
12118 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12119 #endif
12120 
12121 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12122 int
12123 main ()
12124 {
12125   int i;
12126   for (i = 0; i < 256; i++)
12127     if (XOR (islower (i), ISLOWER (i))
12128 	|| toupper (i) != TOUPPER (i))
12129       return 2;
12130   return 0;
12131 }
12132 _ACEOF
12133 if ac_fn_c_try_run "$LINENO"; then :
12134 
12135 else
12136   ac_cv_header_stdc=no
12137 fi
12138 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12139   conftest.$ac_objext conftest.beam conftest.$ac_ext
12140 fi
12141 
12142 fi
12143 fi
12144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
12145 $as_echo "$ac_cv_header_stdc" >&6; }
12146 if test $ac_cv_header_stdc = yes; then
12147 
12148 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
12149 
12150 fi
12151 
12152 for ac_header in linux/capability.h
12153 do :
12154   ac_fn_c_check_header_mongrel "$LINENO" "linux/capability.h" "ac_cv_header_linux_capability_h" "$ac_includes_default"
12155 if test "x$ac_cv_header_linux_capability_h" = xyes; then :
12156   cat >>confdefs.h <<_ACEOF
12157 #define HAVE_LINUX_CAPABILITY_H 1
12158 _ACEOF
12159 
12160 else
12161   as_fn_error $? "linux/capability.h is required in order to build libcap-ng." "$LINENO" 5
12162 fi
12163 
12164 done
12165 
12166 for ac_header in attr/xattr.h
12167 do :
12168   ac_fn_c_check_header_mongrel "$LINENO" "attr/xattr.h" "ac_cv_header_attr_xattr_h" "$ac_includes_default"
12169 if test "x$ac_cv_header_attr_xattr_h" = xyes; then :
12170   cat >>confdefs.h <<_ACEOF
12171 #define HAVE_ATTR_XATTR_H 1
12172 _ACEOF
12173 
12174 else
12175   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: attr/xattr.h not found" >&5
12176 $as_echo "$as_me: WARNING: attr/xattr.h not found" >&2;}
12177 fi
12178 
12179 done
12180 
12181 for ac_header in linux/securebits.h
12182 do :
12183   ac_fn_c_check_header_mongrel "$LINENO" "linux/securebits.h" "ac_cv_header_linux_securebits_h" "$ac_includes_default"
12184 if test "x$ac_cv_header_linux_securebits_h" = xyes; then :
12185   cat >>confdefs.h <<_ACEOF
12186 #define HAVE_LINUX_SECUREBITS_H 1
12187 _ACEOF
12188 
12189 fi
12190 
12191 done
12192 
12193 
12194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
12195 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
12196 if ${ac_cv_c_const+:} false; then :
12197   $as_echo_n "(cached) " >&6
12198 else
12199   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12200 /* end confdefs.h.  */
12201 
12202 int
12203 main ()
12204 {
12205 /* FIXME: Include the comments suggested by Paul. */
12206 #ifndef __cplusplus
12207   /* Ultrix mips cc rejects this.  */
12208   typedef int charset[2];
12209   const charset cs;
12210   /* SunOS 4.1.1 cc rejects this.  */
12211   char const *const *pcpcc;
12212   char **ppc;
12213   /* NEC SVR4.0.2 mips cc rejects this.  */
12214   struct point {int x, y;};
12215   static struct point const zero = {0,0};
12216   /* AIX XL C 1.02.0.0 rejects this.
12217      It does not let you subtract one const X* pointer from another in
12218      an arm of an if-expression whose if-part is not a constant
12219      expression */
12220   const char *g = "string";
12221   pcpcc = &g + (g ? g-g : 0);
12222   /* HPUX 7.0 cc rejects these. */
12223   ++pcpcc;
12224   ppc = (char**) pcpcc;
12225   pcpcc = (char const *const *) ppc;
12226   { /* SCO 3.2v4 cc rejects this.  */
12227     char *t;
12228     char const *s = 0 ? (char *) 0 : (char const *) 0;
12229 
12230     *t++ = 0;
12231     if (s) return 0;
12232   }
12233   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
12234     int x[] = {25, 17};
12235     const int *foo = &x[0];
12236     ++foo;
12237   }
12238   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12239     typedef const int *iptr;
12240     iptr p = 0;
12241     ++p;
12242   }
12243   { /* AIX XL C 1.02.0.0 rejects this saying
12244        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12245     struct s { int j; const int *ap[3]; };
12246     struct s *b; b->j = 5;
12247   }
12248   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12249     const int foo = 10;
12250     if (!foo) return 0;
12251   }
12252   return !cs[0] && !zero.x;
12253 #endif
12254 
12255   ;
12256   return 0;
12257 }
12258 _ACEOF
12259 if ac_fn_c_try_compile "$LINENO"; then :
12260   ac_cv_c_const=yes
12261 else
12262   ac_cv_c_const=no
12263 fi
12264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12265 fi
12266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
12267 $as_echo "$ac_cv_c_const" >&6; }
12268 if test $ac_cv_c_const = no; then
12269 
12270 $as_echo "#define const /**/" >>confdefs.h
12271 
12272 fi
12273 
12274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
12275 $as_echo_n "checking for inline... " >&6; }
12276 if ${ac_cv_c_inline+:} false; then :
12277   $as_echo_n "(cached) " >&6
12278 else
12279   ac_cv_c_inline=no
12280 for ac_kw in inline __inline__ __inline; do
12281   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12282 /* end confdefs.h.  */
12283 #ifndef __cplusplus
12284 typedef int foo_t;
12285 static $ac_kw foo_t static_foo () {return 0; }
12286 $ac_kw foo_t foo () {return 0; }
12287 #endif
12288 
12289 _ACEOF
12290 if ac_fn_c_try_compile "$LINENO"; then :
12291   ac_cv_c_inline=$ac_kw
12292 fi
12293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12294   test "$ac_cv_c_inline" != no && break
12295 done
12296 
12297 fi
12298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
12299 $as_echo "$ac_cv_c_inline" >&6; }
12300 
12301 case $ac_cv_c_inline in
12302   inline | yes) ;;
12303   *)
12304     case $ac_cv_c_inline in
12305       no) ac_val=;;
12306       *) ac_val=$ac_cv_c_inline;;
12307     esac
12308     cat >>confdefs.h <<_ACEOF
12309 #ifndef __cplusplus
12310 #define inline $ac_val
12311 #endif
12312 _ACEOF
12313     ;;
12314 esac
12315 
12316 if test "x$CC" != xcc; then
12317   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
12318 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
12319 else
12320   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
12321 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
12322 fi
12323 set dummy $CC; ac_cc=`$as_echo "$2" |
12324 		      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12325 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
12326   $as_echo_n "(cached) " >&6
12327 else
12328   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12329 /* end confdefs.h.  */
12330 
12331 int
12332 main ()
12333 {
12334 
12335   ;
12336   return 0;
12337 }
12338 _ACEOF
12339 # Make sure it works both with $CC and with simple cc.
12340 # We do the test twice because some compilers refuse to overwrite an
12341 # existing .o file with -o, though they will create one.
12342 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
12343 rm -f conftest2.*
12344 if { { case "(($ac_try" in
12345   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12346   *) ac_try_echo=$ac_try;;
12347 esac
12348 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12349 $as_echo "$ac_try_echo"; } >&5
12350   (eval "$ac_try") 2>&5
12351   ac_status=$?
12352   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12353   test $ac_status = 0; } &&
12354    test -f conftest2.$ac_objext && { { case "(($ac_try" in
12355   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12356   *) ac_try_echo=$ac_try;;
12357 esac
12358 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12359 $as_echo "$ac_try_echo"; } >&5
12360   (eval "$ac_try") 2>&5
12361   ac_status=$?
12362   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12363   test $ac_status = 0; };
12364 then
12365   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
12366   if test "x$CC" != xcc; then
12367     # Test first that cc exists at all.
12368     if { ac_try='cc -c conftest.$ac_ext >&5'
12369   { { case "(($ac_try" in
12370   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12371   *) ac_try_echo=$ac_try;;
12372 esac
12373 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12374 $as_echo "$ac_try_echo"; } >&5
12375   (eval "$ac_try") 2>&5
12376   ac_status=$?
12377   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12378   test $ac_status = 0; }; }; then
12379       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
12380       rm -f conftest2.*
12381       if { { case "(($ac_try" in
12382   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12383   *) ac_try_echo=$ac_try;;
12384 esac
12385 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12386 $as_echo "$ac_try_echo"; } >&5
12387   (eval "$ac_try") 2>&5
12388   ac_status=$?
12389   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12390   test $ac_status = 0; } &&
12391 	 test -f conftest2.$ac_objext && { { case "(($ac_try" in
12392   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12393   *) ac_try_echo=$ac_try;;
12394 esac
12395 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12396 $as_echo "$ac_try_echo"; } >&5
12397   (eval "$ac_try") 2>&5
12398   ac_status=$?
12399   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12400   test $ac_status = 0; };
12401       then
12402 	# cc works too.
12403 	:
12404       else
12405 	# cc exists but doesn't like -o.
12406 	eval ac_cv_prog_cc_${ac_cc}_c_o=no
12407       fi
12408     fi
12409   fi
12410 else
12411   eval ac_cv_prog_cc_${ac_cc}_c_o=no
12412 fi
12413 rm -f core conftest*
12414 
12415 fi
12416 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
12417   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12418 $as_echo "yes" >&6; }
12419 else
12420   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12421 $as_echo "no" >&6; }
12422 
12423 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
12424 
12425 fi
12426 
12427 # FIXME: we rely on the cache variable name because
12428 # there is no other way.
12429 set dummy $CC
12430 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12431 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
12432 if test "$am_t" != yes; then
12433    # Losing compiler, so override with the script.
12434    # FIXME: It is wrong to rewrite CC.
12435    # But if we don't then we get into trouble of one sort or another.
12436    # A longer-term fix would be to have automake use am__CC in this case,
12437    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
12438    CC="$am_aux_dir/compile $CC"
12439 fi
12440 
12441 
12442 
12443 ALLWARNS=""
12444 ALLDEBUG="-g"
12445 OPT="-O"
12446 if test x"$GCC" = x"yes"; then
12447   OPT="-O2 -pipe"
12448   case "$target" in
12449     *linux*)
12450              ALLWARNS="-W -Wall -Wundef -Wpointer-arith -Wcast-align \
12451 -Wwrite-strings -Waggregate-return -Wstrict-prototypes \
12452 -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls \
12453 -Wnested-externs -Winline -Wfloat-equal -Wchar-subscripts"
12454              ;;
12455     esac
12456 fi
12457 
12458 ALLDEBUG="-g"
12459 
12460 # Check whether --with-debug was given.
12461 if test "${with_debug+set}" = set; then :
12462   withval=$with_debug;
12463 if test "x${withval}" = xyes; then
12464         DEBUG="$ALLDEBUG"
12465         OPT="-O"
12466          if true; then
12467   DEBUG_TRUE=
12468   DEBUG_FALSE='#'
12469 else
12470   DEBUG_TRUE='#'
12471   DEBUG_FALSE=
12472 fi
12473 
12474 else
12475         DEBUG="-DNDEBUG"
12476          if false; then
12477   DEBUG_TRUE=
12478   DEBUG_FALSE='#'
12479 else
12480   DEBUG_TRUE='#'
12481   DEBUG_FALSE=
12482 fi
12483 
12484 fi
12485 
12486 else
12487    DEBUG="-DNDEBUG";  if false; then
12488   DEBUG_TRUE=
12489   DEBUG_FALSE='#'
12490 else
12491   DEBUG_TRUE='#'
12492   DEBUG_FALSE=
12493 fi
12494 
12495 fi
12496 
12497 
12498 
12499 # Check whether --with-warn was given.
12500 if test "${with_warn+set}" = set; then :
12501   withval=$with_warn;
12502 if test "x${withval}" = xyes; then
12503         WARNS="$ALLWARNS"
12504 else
12505         WARNS=""
12506 fi
12507 
12508 else
12509   WARNS="$ALLWARNS"
12510 fi
12511 
12512 
12513 
12514 ac_fn_c_check_header_mongrel "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
12515 if test "x$ac_cv_header_sys_syscall_h" = xyes; then :
12516 
12517 $as_echo "#define HAVE_SYSCALL_H 1" >>confdefs.h
12518 
12519 fi
12520 
12521 
12522 
12523 # Extract the first word of "swig", so it can be a program name with args.
12524 set dummy swig; ac_word=$2
12525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12526 $as_echo_n "checking for $ac_word... " >&6; }
12527 if ${ac_cv_prog_swig_found+:} false; then :
12528   $as_echo_n "(cached) " >&6
12529 else
12530   if test -n "$swig_found"; then
12531   ac_cv_prog_swig_found="$swig_found" # Let the user override the test.
12532 else
12533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12534 for as_dir in $PATH
12535 do
12536   IFS=$as_save_IFS
12537   test -z "$as_dir" && as_dir=.
12538     for ac_exec_ext in '' $ac_executable_extensions; do
12539   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12540     ac_cv_prog_swig_found="yes"
12541     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12542     break 2
12543   fi
12544 done
12545   done
12546 IFS=$as_save_IFS
12547 
12548   test -z "$ac_cv_prog_swig_found" && ac_cv_prog_swig_found="no"
12549 fi
12550 fi
12551 swig_found=$ac_cv_prog_swig_found
12552 if test -n "$swig_found"; then
12553   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $swig_found" >&5
12554 $as_echo "$swig_found" >&6; }
12555 else
12556   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12557 $as_echo "no" >&6; }
12558 fi
12559 
12560 
12561 if test x"${swig_found}" = x"no" ; then
12562 	{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Swig not found - python bindings will not be made\"" >&5
12563 $as_echo "$as_me: WARNING: \"Swig not found - python bindings will not be made\"" >&2;}
12564 fi
12565  if test x"${swig_found}" = x"yes"; then
12566   HAVE_SWIG_TRUE=
12567   HAVE_SWIG_FALSE='#'
12568 else
12569   HAVE_SWIG_TRUE='#'
12570   HAVE_SWIG_FALSE=
12571 fi
12572 
12573 
12574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to create python bindings" >&5
12575 $as_echo_n "checking whether to create python bindings... " >&6; }
12576 
12577 # Check whether --with-python was given.
12578 if test "${with_python+set}" = set; then :
12579   withval=$with_python; use_python=$withval
12580 else
12581   use_python=auto
12582 fi
12583 
12584 if test x$use_python = xno ; then
12585 	python_found="no"
12586 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12587 $as_echo "no" >&6; }
12588 else
12589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: testing" >&5
12590 $as_echo "testing" >&6; }
12591 
12592 
12593 
12594 
12595 
12596 
12597         # Find any Python interpreter.
12598     if test -z "$PYTHON"; then
12599       for ac_prog in python python2 python3 python3.2 python3.1 python3.0 python2.7  python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0
12600 do
12601   # Extract the first word of "$ac_prog", so it can be a program name with args.
12602 set dummy $ac_prog; ac_word=$2
12603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12604 $as_echo_n "checking for $ac_word... " >&6; }
12605 if ${ac_cv_path_PYTHON+:} false; then :
12606   $as_echo_n "(cached) " >&6
12607 else
12608   case $PYTHON in
12609   [\\/]* | ?:[\\/]*)
12610   ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
12611   ;;
12612   *)
12613   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12614 for as_dir in $PATH
12615 do
12616   IFS=$as_save_IFS
12617   test -z "$as_dir" && as_dir=.
12618     for ac_exec_ext in '' $ac_executable_extensions; do
12619   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12620     ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
12621     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12622     break 2
12623   fi
12624 done
12625   done
12626 IFS=$as_save_IFS
12627 
12628   ;;
12629 esac
12630 fi
12631 PYTHON=$ac_cv_path_PYTHON
12632 if test -n "$PYTHON"; then
12633   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
12634 $as_echo "$PYTHON" >&6; }
12635 else
12636   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12637 $as_echo "no" >&6; }
12638 fi
12639 
12640 
12641   test -n "$PYTHON" && break
12642 done
12643 test -n "$PYTHON" || PYTHON=":"
12644 
12645     fi
12646     am_display_PYTHON=python
12647 
12648 
12649   if test "$PYTHON" = :; then
12650       as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5
12651   else
12652 
12653 
12654   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
12655 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
12656 if ${am_cv_python_version+:} false; then :
12657   $as_echo_n "(cached) " >&6
12658 else
12659   am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
12660 fi
12661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
12662 $as_echo "$am_cv_python_version" >&6; }
12663   PYTHON_VERSION=$am_cv_python_version
12664 
12665 
12666 
12667   PYTHON_PREFIX='${prefix}'
12668 
12669   PYTHON_EXEC_PREFIX='${exec_prefix}'
12670 
12671 
12672 
12673   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
12674 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
12675 if ${am_cv_python_platform+:} false; then :
12676   $as_echo_n "(cached) " >&6
12677 else
12678   am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
12679 fi
12680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
12681 $as_echo "$am_cv_python_platform" >&6; }
12682   PYTHON_PLATFORM=$am_cv_python_platform
12683 
12684 
12685 
12686 
12687             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
12688 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
12689 if ${am_cv_python_pythondir+:} false; then :
12690   $as_echo_n "(cached) " >&6
12691 else
12692   if test "x$prefix" = xNONE
12693      then
12694        am_py_prefix=$ac_default_prefix
12695      else
12696        am_py_prefix=$prefix
12697      fi
12698      am_cv_python_pythondir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(0,0,prefix='$am_py_prefix'))" 2>/dev/null`
12699      case $am_cv_python_pythondir in
12700      $am_py_prefix*)
12701        am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
12702        am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
12703        ;;
12704      *)
12705        case $am_py_prefix in
12706          /usr|/System*) ;;
12707          *)
12708 	  am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
12709 	  ;;
12710        esac
12711        ;;
12712      esac
12713 
12714 fi
12715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
12716 $as_echo "$am_cv_python_pythondir" >&6; }
12717   pythondir=$am_cv_python_pythondir
12718 
12719 
12720 
12721   pkgpythondir=\${pythondir}/$PACKAGE
12722 
12723 
12724         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
12725 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
12726 if ${am_cv_python_pyexecdir+:} false; then :
12727   $as_echo_n "(cached) " >&6
12728 else
12729   if test "x$exec_prefix" = xNONE
12730      then
12731        am_py_exec_prefix=$am_py_prefix
12732      else
12733        am_py_exec_prefix=$exec_prefix
12734      fi
12735      am_cv_python_pyexecdir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(1,0,prefix='$am_py_exec_prefix'))" 2>/dev/null`
12736      case $am_cv_python_pyexecdir in
12737      $am_py_exec_prefix*)
12738        am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
12739        am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
12740        ;;
12741      *)
12742        case $am_py_exec_prefix in
12743          /usr|/System*) ;;
12744          *)
12745 	   am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
12746 	   ;;
12747        esac
12748        ;;
12749      esac
12750 
12751 fi
12752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
12753 $as_echo "$am_cv_python_pyexecdir" >&6; }
12754   pyexecdir=$am_cv_python_pyexecdir
12755 
12756 
12757 
12758   pkgpyexecdir=\${pyexecdir}/$PACKAGE
12759 
12760 
12761 
12762   fi
12763 
12764 
12765 if test -f /usr/include/python${am_cv_python_version}/Python.h ; then
12766 	python_found="yes"
12767 	{ $as_echo "$as_me:${as_lineno-$LINENO}: Python bindings will be built" >&5
12768 $as_echo "$as_me: Python bindings will be built" >&6;}
12769 else
12770 	python_found="no"
12771 	if test x$use_python = xyes ; then
12772 		as_fn_error $? "Python explicitly required and python headers found" "$LINENO" 5
12773 	else
12774 		{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Python headers not found - python bindings will not be made\"" >&5
12775 $as_echo "$as_me: WARNING: \"Python headers not found - python bindings will not be made\"" >&2;}
12776 	fi
12777 fi
12778 fi
12779  if test ${python_found} = "yes"; then
12780   HAVE_PYTHON_TRUE=
12781   HAVE_PYTHON_FALSE='#'
12782 else
12783   HAVE_PYTHON_TRUE='#'
12784   HAVE_PYTHON_FALSE=
12785 fi
12786 
12787 
12788 ac_config_files="$ac_config_files Makefile src/Makefile src/libcap-ng.pc src/test/Makefile bindings/Makefile bindings/python/Makefile bindings/python/test/Makefile utils/Makefile m4/Makefile docs/Makefile"
12789 
12790 cat >confcache <<\_ACEOF
12791 # This file is a shell script that caches the results of configure
12792 # tests run on this system so they can be shared between configure
12793 # scripts and configure runs, see configure's option --config-cache.
12794 # It is not useful on other systems.  If it contains results you don't
12795 # want to keep, you may remove or edit it.
12796 #
12797 # config.status only pays attention to the cache file if you give it
12798 # the --recheck option to rerun configure.
12799 #
12800 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12801 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12802 # following values.
12803 
12804 _ACEOF
12805 
12806 # The following way of writing the cache mishandles newlines in values,
12807 # but we know of no workaround that is simple, portable, and efficient.
12808 # So, we kill variables containing newlines.
12809 # Ultrix sh set writes to stderr and can't be redirected directly,
12810 # and sets the high bit in the cache file unless we assign to the vars.
12811 (
12812   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12813     eval ac_val=\$$ac_var
12814     case $ac_val in #(
12815     *${as_nl}*)
12816       case $ac_var in #(
12817       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12818 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12819       esac
12820       case $ac_var in #(
12821       _ | IFS | as_nl) ;; #(
12822       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12823       *) { eval $ac_var=; unset $ac_var;} ;;
12824       esac ;;
12825     esac
12826   done
12827 
12828   (set) 2>&1 |
12829     case $as_nl`(ac_space=' '; set) 2>&1` in #(
12830     *${as_nl}ac_space=\ *)
12831       # `set' does not quote correctly, so add quotes: double-quote
12832       # substitution turns \\\\ into \\, and sed turns \\ into \.
12833       sed -n \
12834 	"s/'/'\\\\''/g;
12835 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12836       ;; #(
12837     *)
12838       # `set' quotes correctly as required by POSIX, so do not add quotes.
12839       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12840       ;;
12841     esac |
12842     sort
12843 ) |
12844   sed '
12845      /^ac_cv_env_/b end
12846      t clear
12847      :clear
12848      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12849      t end
12850      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12851      :end' >>confcache
12852 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12853   if test -w "$cache_file"; then
12854     if test "x$cache_file" != "x/dev/null"; then
12855       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12856 $as_echo "$as_me: updating cache $cache_file" >&6;}
12857       if test ! -f "$cache_file" || test -h "$cache_file"; then
12858 	cat confcache >"$cache_file"
12859       else
12860         case $cache_file in #(
12861         */* | ?:*)
12862 	  mv -f confcache "$cache_file"$$ &&
12863 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
12864         *)
12865 	  mv -f confcache "$cache_file" ;;
12866 	esac
12867       fi
12868     fi
12869   else
12870     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12871 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12872   fi
12873 fi
12874 rm -f confcache
12875 
12876 test "x$prefix" = xNONE && prefix=$ac_default_prefix
12877 # Let make expand exec_prefix.
12878 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12879 
12880 DEFS=-DHAVE_CONFIG_H
12881 
12882 ac_libobjs=
12883 ac_ltlibobjs=
12884 U=
12885 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12886   # 1. Remove the extension, and $U if already installed.
12887   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12888   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12889   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
12890   #    will be set to the directory where LIBOBJS objects are built.
12891   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12892   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
12893 done
12894 LIBOBJS=$ac_libobjs
12895 
12896 LTLIBOBJS=$ac_ltlibobjs
12897 
12898 
12899  if test -n "$EXEEXT"; then
12900   am__EXEEXT_TRUE=
12901   am__EXEEXT_FALSE='#'
12902 else
12903   am__EXEEXT_TRUE='#'
12904   am__EXEEXT_FALSE=
12905 fi
12906 
12907 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12908   as_fn_error $? "conditional \"AMDEP\" was never defined.
12909 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12910 fi
12911 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12912   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
12913 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12914 fi
12915 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12916   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
12917 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12918 fi
12919 if test -z "${DEBUG_TRUE}" && test -z "${DEBUG_FALSE}"; then
12920   as_fn_error $? "conditional \"DEBUG\" was never defined.
12921 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12922 fi
12923 if test -z "${DEBUG_TRUE}" && test -z "${DEBUG_FALSE}"; then
12924   as_fn_error $? "conditional \"DEBUG\" was never defined.
12925 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12926 fi
12927 if test -z "${DEBUG_TRUE}" && test -z "${DEBUG_FALSE}"; then
12928   as_fn_error $? "conditional \"DEBUG\" was never defined.
12929 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12930 fi
12931 if test -z "${HAVE_SWIG_TRUE}" && test -z "${HAVE_SWIG_FALSE}"; then
12932   as_fn_error $? "conditional \"HAVE_SWIG\" was never defined.
12933 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12934 fi
12935 if test -z "${HAVE_PYTHON_TRUE}" && test -z "${HAVE_PYTHON_FALSE}"; then
12936   as_fn_error $? "conditional \"HAVE_PYTHON\" was never defined.
12937 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12938 fi
12939 
12940 : "${CONFIG_STATUS=./config.status}"
12941 ac_write_fail=0
12942 ac_clean_files_save=$ac_clean_files
12943 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12944 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12945 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12946 as_write_fail=0
12947 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12948 #! $SHELL
12949 # Generated by $as_me.
12950 # Run this file to recreate the current configuration.
12951 # Compiler output produced by configure, useful for debugging
12952 # configure, is in config.log if it exists.
12953 
12954 debug=false
12955 ac_cs_recheck=false
12956 ac_cs_silent=false
12957 
12958 SHELL=\${CONFIG_SHELL-$SHELL}
12959 export SHELL
12960 _ASEOF
12961 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
12962 ## -------------------- ##
12963 ## M4sh Initialization. ##
12964 ## -------------------- ##
12965 
12966 # Be more Bourne compatible
12967 DUALCASE=1; export DUALCASE # for MKS sh
12968 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
12969   emulate sh
12970   NULLCMD=:
12971   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12972   # is contrary to our usage.  Disable this feature.
12973   alias -g '${1+"$@"}'='"$@"'
12974   setopt NO_GLOB_SUBST
12975 else
12976   case `(set -o) 2>/dev/null` in #(
12977   *posix*) :
12978     set -o posix ;; #(
12979   *) :
12980      ;;
12981 esac
12982 fi
12983 
12984 
12985 as_nl='
12986 '
12987 export as_nl
12988 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12989 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12990 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12991 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12992 # Prefer a ksh shell builtin over an external printf program on Solaris,
12993 # but without wasting forks for bash or zsh.
12994 if test -z "$BASH_VERSION$ZSH_VERSION" \
12995     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12996   as_echo='print -r --'
12997   as_echo_n='print -rn --'
12998 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12999   as_echo='printf %s\n'
13000   as_echo_n='printf %s'
13001 else
13002   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13003     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13004     as_echo_n='/usr/ucb/echo -n'
13005   else
13006     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13007     as_echo_n_body='eval
13008       arg=$1;
13009       case $arg in #(
13010       *"$as_nl"*)
13011 	expr "X$arg" : "X\\(.*\\)$as_nl";
13012 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13013       esac;
13014       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13015     '
13016     export as_echo_n_body
13017     as_echo_n='sh -c $as_echo_n_body as_echo'
13018   fi
13019   export as_echo_body
13020   as_echo='sh -c $as_echo_body as_echo'
13021 fi
13022 
13023 # The user is always right.
13024 if test "${PATH_SEPARATOR+set}" != set; then
13025   PATH_SEPARATOR=:
13026   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13027     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13028       PATH_SEPARATOR=';'
13029   }
13030 fi
13031 
13032 
13033 # IFS
13034 # We need space, tab and new line, in precisely that order.  Quoting is
13035 # there to prevent editors from complaining about space-tab.
13036 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13037 # splitting by setting IFS to empty value.)
13038 IFS=" ""	$as_nl"
13039 
13040 # Find who we are.  Look in the path if we contain no directory separator.
13041 as_myself=
13042 case $0 in #((
13043   *[\\/]* ) as_myself=$0 ;;
13044   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13045 for as_dir in $PATH
13046 do
13047   IFS=$as_save_IFS
13048   test -z "$as_dir" && as_dir=.
13049     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13050   done
13051 IFS=$as_save_IFS
13052 
13053      ;;
13054 esac
13055 # We did not find ourselves, most probably we were run as `sh COMMAND'
13056 # in which case we are not to be found in the path.
13057 if test "x$as_myself" = x; then
13058   as_myself=$0
13059 fi
13060 if test ! -f "$as_myself"; then
13061   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13062   exit 1
13063 fi
13064 
13065 # Unset variables that we do not need and which cause bugs (e.g. in
13066 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
13067 # suppresses any "Segmentation fault" message there.  '((' could
13068 # trigger a bug in pdksh 5.2.14.
13069 for as_var in BASH_ENV ENV MAIL MAILPATH
13070 do eval test x\${$as_var+set} = xset \
13071   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13072 done
13073 PS1='$ '
13074 PS2='> '
13075 PS4='+ '
13076 
13077 # NLS nuisances.
13078 LC_ALL=C
13079 export LC_ALL
13080 LANGUAGE=C
13081 export LANGUAGE
13082 
13083 # CDPATH.
13084 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13085 
13086 
13087 # as_fn_error STATUS ERROR [LINENO LOG_FD]
13088 # ----------------------------------------
13089 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13090 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13091 # script with STATUS, using 1 if that was 0.
13092 as_fn_error ()
13093 {
13094   as_status=$1; test $as_status -eq 0 && as_status=1
13095   if test "$4"; then
13096     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13097     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13098   fi
13099   $as_echo "$as_me: error: $2" >&2
13100   as_fn_exit $as_status
13101 } # as_fn_error
13102 
13103 
13104 # as_fn_set_status STATUS
13105 # -----------------------
13106 # Set $? to STATUS, without forking.
13107 as_fn_set_status ()
13108 {
13109   return $1
13110 } # as_fn_set_status
13111 
13112 # as_fn_exit STATUS
13113 # -----------------
13114 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13115 as_fn_exit ()
13116 {
13117   set +e
13118   as_fn_set_status $1
13119   exit $1
13120 } # as_fn_exit
13121 
13122 # as_fn_unset VAR
13123 # ---------------
13124 # Portably unset VAR.
13125 as_fn_unset ()
13126 {
13127   { eval $1=; unset $1;}
13128 }
13129 as_unset=as_fn_unset
13130 # as_fn_append VAR VALUE
13131 # ----------------------
13132 # Append the text in VALUE to the end of the definition contained in VAR. Take
13133 # advantage of any shell optimizations that allow amortized linear growth over
13134 # repeated appends, instead of the typical quadratic growth present in naive
13135 # implementations.
13136 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13137   eval 'as_fn_append ()
13138   {
13139     eval $1+=\$2
13140   }'
13141 else
13142   as_fn_append ()
13143   {
13144     eval $1=\$$1\$2
13145   }
13146 fi # as_fn_append
13147 
13148 # as_fn_arith ARG...
13149 # ------------------
13150 # Perform arithmetic evaluation on the ARGs, and store the result in the
13151 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13152 # must be portable across $(()) and expr.
13153 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13154   eval 'as_fn_arith ()
13155   {
13156     as_val=$(( $* ))
13157   }'
13158 else
13159   as_fn_arith ()
13160   {
13161     as_val=`expr "$@" || test $? -eq 1`
13162   }
13163 fi # as_fn_arith
13164 
13165 
13166 if expr a : '\(a\)' >/dev/null 2>&1 &&
13167    test "X`expr 00001 : '.*\(...\)'`" = X001; then
13168   as_expr=expr
13169 else
13170   as_expr=false
13171 fi
13172 
13173 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13174   as_basename=basename
13175 else
13176   as_basename=false
13177 fi
13178 
13179 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13180   as_dirname=dirname
13181 else
13182   as_dirname=false
13183 fi
13184 
13185 as_me=`$as_basename -- "$0" ||
13186 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13187 	 X"$0" : 'X\(//\)$' \| \
13188 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13189 $as_echo X/"$0" |
13190     sed '/^.*\/\([^/][^/]*\)\/*$/{
13191 	    s//\1/
13192 	    q
13193 	  }
13194 	  /^X\/\(\/\/\)$/{
13195 	    s//\1/
13196 	    q
13197 	  }
13198 	  /^X\/\(\/\).*/{
13199 	    s//\1/
13200 	    q
13201 	  }
13202 	  s/.*/./; q'`
13203 
13204 # Avoid depending upon Character Ranges.
13205 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13206 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13207 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13208 as_cr_digits='0123456789'
13209 as_cr_alnum=$as_cr_Letters$as_cr_digits
13210 
13211 ECHO_C= ECHO_N= ECHO_T=
13212 case `echo -n x` in #(((((
13213 -n*)
13214   case `echo 'xy\c'` in
13215   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
13216   xy)  ECHO_C='\c';;
13217   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
13218        ECHO_T='	';;
13219   esac;;
13220 *)
13221   ECHO_N='-n';;
13222 esac
13223 
13224 rm -f conf$$ conf$$.exe conf$$.file
13225 if test -d conf$$.dir; then
13226   rm -f conf$$.dir/conf$$.file
13227 else
13228   rm -f conf$$.dir
13229   mkdir conf$$.dir 2>/dev/null
13230 fi
13231 if (echo >conf$$.file) 2>/dev/null; then
13232   if ln -s conf$$.file conf$$ 2>/dev/null; then
13233     as_ln_s='ln -s'
13234     # ... but there are two gotchas:
13235     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13236     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13237     # In both cases, we have to default to `cp -p'.
13238     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13239       as_ln_s='cp -p'
13240   elif ln conf$$.file conf$$ 2>/dev/null; then
13241     as_ln_s=ln
13242   else
13243     as_ln_s='cp -p'
13244   fi
13245 else
13246   as_ln_s='cp -p'
13247 fi
13248 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13249 rmdir conf$$.dir 2>/dev/null
13250 
13251 
13252 # as_fn_mkdir_p
13253 # -------------
13254 # Create "$as_dir" as a directory, including parents if necessary.
13255 as_fn_mkdir_p ()
13256 {
13257 
13258   case $as_dir in #(
13259   -*) as_dir=./$as_dir;;
13260   esac
13261   test -d "$as_dir" || eval $as_mkdir_p || {
13262     as_dirs=
13263     while :; do
13264       case $as_dir in #(
13265       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13266       *) as_qdir=$as_dir;;
13267       esac
13268       as_dirs="'$as_qdir' $as_dirs"
13269       as_dir=`$as_dirname -- "$as_dir" ||
13270 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13271 	 X"$as_dir" : 'X\(//\)[^/]' \| \
13272 	 X"$as_dir" : 'X\(//\)$' \| \
13273 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13274 $as_echo X"$as_dir" |
13275     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13276 	    s//\1/
13277 	    q
13278 	  }
13279 	  /^X\(\/\/\)[^/].*/{
13280 	    s//\1/
13281 	    q
13282 	  }
13283 	  /^X\(\/\/\)$/{
13284 	    s//\1/
13285 	    q
13286 	  }
13287 	  /^X\(\/\).*/{
13288 	    s//\1/
13289 	    q
13290 	  }
13291 	  s/.*/./; q'`
13292       test -d "$as_dir" && break
13293     done
13294     test -z "$as_dirs" || eval "mkdir $as_dirs"
13295   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13296 
13297 
13298 } # as_fn_mkdir_p
13299 if mkdir -p . 2>/dev/null; then
13300   as_mkdir_p='mkdir -p "$as_dir"'
13301 else
13302   test -d ./-p && rmdir ./-p
13303   as_mkdir_p=false
13304 fi
13305 
13306 if test -x / >/dev/null 2>&1; then
13307   as_test_x='test -x'
13308 else
13309   if ls -dL / >/dev/null 2>&1; then
13310     as_ls_L_option=L
13311   else
13312     as_ls_L_option=
13313   fi
13314   as_test_x='
13315     eval sh -c '\''
13316       if test -d "$1"; then
13317 	test -d "$1/.";
13318       else
13319 	case $1 in #(
13320 	-*)set "./$1";;
13321 	esac;
13322 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
13323 	???[sx]*):;;*)false;;esac;fi
13324     '\'' sh
13325   '
13326 fi
13327 as_executable_p=$as_test_x
13328 
13329 # Sed expression to map a string onto a valid CPP name.
13330 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13331 
13332 # Sed expression to map a string onto a valid variable name.
13333 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13334 
13335 
13336 exec 6>&1
13337 ## ----------------------------------- ##
13338 ## Main body of $CONFIG_STATUS script. ##
13339 ## ----------------------------------- ##
13340 _ASEOF
13341 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13342 
13343 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13344 # Save the log message, to keep $0 and so on meaningful, and to
13345 # report actual input values of CONFIG_FILES etc. instead of their
13346 # values after options handling.
13347 ac_log="
13348 This file was extended by libcap-ng $as_me 0.7, which was
13349 generated by GNU Autoconf 2.68.  Invocation command line was
13350 
13351   CONFIG_FILES    = $CONFIG_FILES
13352   CONFIG_HEADERS  = $CONFIG_HEADERS
13353   CONFIG_LINKS    = $CONFIG_LINKS
13354   CONFIG_COMMANDS = $CONFIG_COMMANDS
13355   $ $0 $@
13356 
13357 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13358 "
13359 
13360 _ACEOF
13361 
13362 case $ac_config_files in *"
13363 "*) set x $ac_config_files; shift; ac_config_files=$*;;
13364 esac
13365 
13366 case $ac_config_headers in *"
13367 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13368 esac
13369 
13370 
13371 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13372 # Files that config.status was made for.
13373 config_files="$ac_config_files"
13374 config_headers="$ac_config_headers"
13375 config_commands="$ac_config_commands"
13376 
13377 _ACEOF
13378 
13379 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13380 ac_cs_usage="\
13381 \`$as_me' instantiates files and other configuration actions
13382 from templates according to the current configuration.  Unless the files
13383 and actions are specified as TAGs, all are instantiated by default.
13384 
13385 Usage: $0 [OPTION]... [TAG]...
13386 
13387   -h, --help       print this help, then exit
13388   -V, --version    print version number and configuration settings, then exit
13389       --config     print configuration, then exit
13390   -q, --quiet, --silent
13391                    do not print progress messages
13392   -d, --debug      don't remove temporary files
13393       --recheck    update $as_me by reconfiguring in the same conditions
13394       --file=FILE[:TEMPLATE]
13395                    instantiate the configuration file FILE
13396       --header=FILE[:TEMPLATE]
13397                    instantiate the configuration header FILE
13398 
13399 Configuration files:
13400 $config_files
13401 
13402 Configuration headers:
13403 $config_headers
13404 
13405 Configuration commands:
13406 $config_commands
13407 
13408 Report bugs to the package provider."
13409 
13410 _ACEOF
13411 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13412 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13413 ac_cs_version="\\
13414 libcap-ng config.status 0.7
13415 configured by $0, generated by GNU Autoconf 2.68,
13416   with options \\"\$ac_cs_config\\"
13417 
13418 Copyright (C) 2010 Free Software Foundation, Inc.
13419 This config.status script is free software; the Free Software Foundation
13420 gives unlimited permission to copy, distribute and modify it."
13421 
13422 ac_pwd='$ac_pwd'
13423 srcdir='$srcdir'
13424 INSTALL='$INSTALL'
13425 MKDIR_P='$MKDIR_P'
13426 AWK='$AWK'
13427 test -n "\$AWK" || AWK=awk
13428 _ACEOF
13429 
13430 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13431 # The default lists apply if the user does not specify any file.
13432 ac_need_defaults=:
13433 while test $# != 0
13434 do
13435   case $1 in
13436   --*=?*)
13437     ac_option=`expr "X$1" : 'X\([^=]*\)='`
13438     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13439     ac_shift=:
13440     ;;
13441   --*=)
13442     ac_option=`expr "X$1" : 'X\([^=]*\)='`
13443     ac_optarg=
13444     ac_shift=:
13445     ;;
13446   *)
13447     ac_option=$1
13448     ac_optarg=$2
13449     ac_shift=shift
13450     ;;
13451   esac
13452 
13453   case $ac_option in
13454   # Handling of the options.
13455   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13456     ac_cs_recheck=: ;;
13457   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13458     $as_echo "$ac_cs_version"; exit ;;
13459   --config | --confi | --conf | --con | --co | --c )
13460     $as_echo "$ac_cs_config"; exit ;;
13461   --debug | --debu | --deb | --de | --d | -d )
13462     debug=: ;;
13463   --file | --fil | --fi | --f )
13464     $ac_shift
13465     case $ac_optarg in
13466     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13467     '') as_fn_error $? "missing file argument" ;;
13468     esac
13469     as_fn_append CONFIG_FILES " '$ac_optarg'"
13470     ac_need_defaults=false;;
13471   --header | --heade | --head | --hea )
13472     $ac_shift
13473     case $ac_optarg in
13474     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13475     esac
13476     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13477     ac_need_defaults=false;;
13478   --he | --h)
13479     # Conflict between --help and --header
13480     as_fn_error $? "ambiguous option: \`$1'
13481 Try \`$0 --help' for more information.";;
13482   --help | --hel | -h )
13483     $as_echo "$ac_cs_usage"; exit ;;
13484   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13485   | -silent | --silent | --silen | --sile | --sil | --si | --s)
13486     ac_cs_silent=: ;;
13487 
13488   # This is an error.
13489   -*) as_fn_error $? "unrecognized option: \`$1'
13490 Try \`$0 --help' for more information." ;;
13491 
13492   *) as_fn_append ac_config_targets " $1"
13493      ac_need_defaults=false ;;
13494 
13495   esac
13496   shift
13497 done
13498 
13499 ac_configure_extra_args=
13500 
13501 if $ac_cs_silent; then
13502   exec 6>/dev/null
13503   ac_configure_extra_args="$ac_configure_extra_args --silent"
13504 fi
13505 
13506 _ACEOF
13507 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13508 if \$ac_cs_recheck; then
13509   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13510   shift
13511   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13512   CONFIG_SHELL='$SHELL'
13513   export CONFIG_SHELL
13514   exec "\$@"
13515 fi
13516 
13517 _ACEOF
13518 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13519 exec 5>>config.log
13520 {
13521   echo
13522   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13523 ## Running $as_me. ##
13524 _ASBOX
13525   $as_echo "$ac_log"
13526 } >&5
13527 
13528 _ACEOF
13529 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13530 #
13531 # INIT-COMMANDS
13532 #
13533 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13534 
13535 
13536 # The HP-UX ksh and POSIX shell print the target directory to stdout
13537 # if CDPATH is set.
13538 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13539 
13540 sed_quote_subst='$sed_quote_subst'
13541 double_quote_subst='$double_quote_subst'
13542 delay_variable_subst='$delay_variable_subst'
13543 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13544 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13545 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13546 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13547 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13548 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13549 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13550 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13551 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
13552 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13553 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13554 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13555 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13556 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13557 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13558 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13559 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13560 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13561 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13562 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13563 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13564 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13565 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13566 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13567 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13568 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13569 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13570 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13571 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13572 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13573 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13574 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13575 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13576 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13577 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13578 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13579 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13580 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13581 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13582 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13583 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13584 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13585 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13586 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13587 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13588 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13589 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13590 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13591 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13592 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13593 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13594 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13595 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13596 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13597 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13598 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13599 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"`'
13600 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
13601 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
13602 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13603 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13604 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13605 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13606 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13607 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13608 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13609 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13610 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
13611 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13612 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13613 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13614 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13615 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13616 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13617 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13618 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13619 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13620 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13621 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13622 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13623 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13624 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13625 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13626 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13627 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13628 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13629 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13630 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13631 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13632 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13633 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13634 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13635 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13636 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13637 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13638 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13639 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13640 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13641 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13642 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13643 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13644 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13645 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13646 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13647 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
13648 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13649 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13650 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13651 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13652 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13653 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13654 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13655 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13656 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13657 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13658 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13659 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13660 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13661 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13662 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13663 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13664 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13665 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13666 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13667 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13668 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13669 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13670 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13671 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13672 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13673 
13674 LTCC='$LTCC'
13675 LTCFLAGS='$LTCFLAGS'
13676 compiler='$compiler_DEFAULT'
13677 
13678 # A function that is used when there is no print builtin or printf.
13679 func_fallback_echo ()
13680 {
13681   eval 'cat <<_LTECHO_EOF
13682 \$1
13683 _LTECHO_EOF'
13684 }
13685 
13686 # Quote evaled strings.
13687 for var in SHELL \
13688 ECHO \
13689 PATH_SEPARATOR \
13690 SED \
13691 GREP \
13692 EGREP \
13693 FGREP \
13694 LD \
13695 NM \
13696 LN_S \
13697 lt_SP2NL \
13698 lt_NL2SP \
13699 reload_flag \
13700 OBJDUMP \
13701 deplibs_check_method \
13702 file_magic_cmd \
13703 file_magic_glob \
13704 want_nocaseglob \
13705 DLLTOOL \
13706 sharedlib_from_linklib_cmd \
13707 AR \
13708 AR_FLAGS \
13709 archiver_list_spec \
13710 STRIP \
13711 RANLIB \
13712 CC \
13713 CFLAGS \
13714 compiler \
13715 lt_cv_sys_global_symbol_pipe \
13716 lt_cv_sys_global_symbol_to_cdecl \
13717 lt_cv_sys_global_symbol_to_c_name_address \
13718 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13719 nm_file_list_spec \
13720 lt_prog_compiler_no_builtin_flag \
13721 lt_prog_compiler_pic \
13722 lt_prog_compiler_wl \
13723 lt_prog_compiler_static \
13724 lt_cv_prog_compiler_c_o \
13725 need_locks \
13726 MANIFEST_TOOL \
13727 DSYMUTIL \
13728 NMEDIT \
13729 LIPO \
13730 OTOOL \
13731 OTOOL64 \
13732 shrext_cmds \
13733 export_dynamic_flag_spec \
13734 whole_archive_flag_spec \
13735 compiler_needs_object \
13736 with_gnu_ld \
13737 allow_undefined_flag \
13738 no_undefined_flag \
13739 hardcode_libdir_flag_spec \
13740 hardcode_libdir_separator \
13741 exclude_expsyms \
13742 include_expsyms \
13743 file_list_spec \
13744 variables_saved_for_relink \
13745 libname_spec \
13746 library_names_spec \
13747 soname_spec \
13748 install_override_mode \
13749 finish_eval \
13750 old_striplib \
13751 striplib; do
13752     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13753     *[\\\\\\\`\\"\\\$]*)
13754       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13755       ;;
13756     *)
13757       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13758       ;;
13759     esac
13760 done
13761 
13762 # Double-quote double-evaled strings.
13763 for var in reload_cmds \
13764 old_postinstall_cmds \
13765 old_postuninstall_cmds \
13766 old_archive_cmds \
13767 extract_expsyms_cmds \
13768 old_archive_from_new_cmds \
13769 old_archive_from_expsyms_cmds \
13770 archive_cmds \
13771 archive_expsym_cmds \
13772 module_cmds \
13773 module_expsym_cmds \
13774 export_symbols_cmds \
13775 prelink_cmds \
13776 postlink_cmds \
13777 postinstall_cmds \
13778 postuninstall_cmds \
13779 finish_cmds \
13780 sys_lib_search_path_spec \
13781 sys_lib_dlsearch_path_spec; do
13782     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13783     *[\\\\\\\`\\"\\\$]*)
13784       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13785       ;;
13786     *)
13787       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13788       ;;
13789     esac
13790 done
13791 
13792 ac_aux_dir='$ac_aux_dir'
13793 xsi_shell='$xsi_shell'
13794 lt_shell_append='$lt_shell_append'
13795 
13796 # See if we are running on zsh, and set the options which allow our
13797 # commands through without removal of \ escapes INIT.
13798 if test -n "\${ZSH_VERSION+set}" ; then
13799    setopt NO_GLOB_SUBST
13800 fi
13801 
13802 
13803     PACKAGE='$PACKAGE'
13804     VERSION='$VERSION'
13805     TIMESTAMP='$TIMESTAMP'
13806     RM='$RM'
13807     ofile='$ofile'
13808 
13809 
13810 
13811 
13812 _ACEOF
13813 
13814 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13815 
13816 # Handling of arguments.
13817 for ac_config_target in $ac_config_targets
13818 do
13819   case $ac_config_target in
13820     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
13821     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13822     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13823     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13824     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
13825     "src/libcap-ng.pc") CONFIG_FILES="$CONFIG_FILES src/libcap-ng.pc" ;;
13826     "src/test/Makefile") CONFIG_FILES="$CONFIG_FILES src/test/Makefile" ;;
13827     "bindings/Makefile") CONFIG_FILES="$CONFIG_FILES bindings/Makefile" ;;
13828     "bindings/python/Makefile") CONFIG_FILES="$CONFIG_FILES bindings/python/Makefile" ;;
13829     "bindings/python/test/Makefile") CONFIG_FILES="$CONFIG_FILES bindings/python/test/Makefile" ;;
13830     "utils/Makefile") CONFIG_FILES="$CONFIG_FILES utils/Makefile" ;;
13831     "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
13832     "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
13833 
13834   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13835   esac
13836 done
13837 
13838 
13839 # If the user did not use the arguments to specify the items to instantiate,
13840 # then the envvar interface is used.  Set only those that are not.
13841 # We use the long form for the default assignment because of an extremely
13842 # bizarre bug on SunOS 4.1.3.
13843 if $ac_need_defaults; then
13844   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13845   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13846   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13847 fi
13848 
13849 # Have a temporary directory for convenience.  Make it in the build tree
13850 # simply because there is no reason against having it here, and in addition,
13851 # creating and moving files from /tmp can sometimes cause problems.
13852 # Hook for its removal unless debugging.
13853 # Note that there is a small window in which the directory will not be cleaned:
13854 # after its creation but before its name has been assigned to `$tmp'.
13855 $debug ||
13856 {
13857   tmp= ac_tmp=
13858   trap 'exit_status=$?
13859   : "${ac_tmp:=$tmp}"
13860   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13861 ' 0
13862   trap 'as_fn_exit 1' 1 2 13 15
13863 }
13864 # Create a (secure) tmp directory for tmp files.
13865 
13866 {
13867   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13868   test -d "$tmp"
13869 }  ||
13870 {
13871   tmp=./conf$$-$RANDOM
13872   (umask 077 && mkdir "$tmp")
13873 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
13874 ac_tmp=$tmp
13875 
13876 # Set up the scripts for CONFIG_FILES section.
13877 # No need to generate them if there are no CONFIG_FILES.
13878 # This happens for instance with `./config.status config.h'.
13879 if test -n "$CONFIG_FILES"; then
13880 
13881 
13882 ac_cr=`echo X | tr X '\015'`
13883 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13884 # But we know of no other shell where ac_cr would be empty at this
13885 # point, so we can use a bashism as a fallback.
13886 if test "x$ac_cr" = x; then
13887   eval ac_cr=\$\'\\r\'
13888 fi
13889 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13890 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13891   ac_cs_awk_cr='\\r'
13892 else
13893   ac_cs_awk_cr=$ac_cr
13894 fi
13895 
13896 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13897 _ACEOF
13898 
13899 
13900 {
13901   echo "cat >conf$$subs.awk <<_ACEOF" &&
13902   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13903   echo "_ACEOF"
13904 } >conf$$subs.sh ||
13905   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13906 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13907 ac_delim='%!_!# '
13908 for ac_last_try in false false false false false :; do
13909   . ./conf$$subs.sh ||
13910     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13911 
13912   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13913   if test $ac_delim_n = $ac_delim_num; then
13914     break
13915   elif $ac_last_try; then
13916     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13917   else
13918     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13919   fi
13920 done
13921 rm -f conf$$subs.sh
13922 
13923 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13924 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
13925 _ACEOF
13926 sed -n '
13927 h
13928 s/^/S["/; s/!.*/"]=/
13929 p
13930 g
13931 s/^[^!]*!//
13932 :repl
13933 t repl
13934 s/'"$ac_delim"'$//
13935 t delim
13936 :nl
13937 h
13938 s/\(.\{148\}\)..*/\1/
13939 t more1
13940 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13941 p
13942 n
13943 b repl
13944 :more1
13945 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13946 p
13947 g
13948 s/.\{148\}//
13949 t nl
13950 :delim
13951 h
13952 s/\(.\{148\}\)..*/\1/
13953 t more2
13954 s/["\\]/\\&/g; s/^/"/; s/$/"/
13955 p
13956 b
13957 :more2
13958 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13959 p
13960 g
13961 s/.\{148\}//
13962 t delim
13963 ' <conf$$subs.awk | sed '
13964 /^[^""]/{
13965   N
13966   s/\n//
13967 }
13968 ' >>$CONFIG_STATUS || ac_write_fail=1
13969 rm -f conf$$subs.awk
13970 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13971 _ACAWK
13972 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
13973   for (key in S) S_is_set[key] = 1
13974   FS = ""
13975 
13976 }
13977 {
13978   line = $ 0
13979   nfields = split(line, field, "@")
13980   substed = 0
13981   len = length(field[1])
13982   for (i = 2; i < nfields; i++) {
13983     key = field[i]
13984     keylen = length(key)
13985     if (S_is_set[key]) {
13986       value = S[key]
13987       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13988       len += length(value) + length(field[++i])
13989       substed = 1
13990     } else
13991       len += 1 + keylen
13992   }
13993 
13994   print line
13995 }
13996 
13997 _ACAWK
13998 _ACEOF
13999 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14000 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14001   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14002 else
14003   cat
14004 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
14005   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14006 _ACEOF
14007 
14008 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14009 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14010 # trailing colons and then remove the whole line if VPATH becomes empty
14011 # (actually we leave an empty line to preserve line numbers).
14012 if test "x$srcdir" = x.; then
14013   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
14014 h
14015 s///
14016 s/^/:/
14017 s/[	 ]*$/:/
14018 s/:\$(srcdir):/:/g
14019 s/:\${srcdir}:/:/g
14020 s/:@srcdir@:/:/g
14021 s/^:*//
14022 s/:*$//
14023 x
14024 s/\(=[	 ]*\).*/\1/
14025 G
14026 s/\n//
14027 s/^[^=]*=[	 ]*$//
14028 }'
14029 fi
14030 
14031 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14032 fi # test -n "$CONFIG_FILES"
14033 
14034 # Set up the scripts for CONFIG_HEADERS section.
14035 # No need to generate them if there are no CONFIG_HEADERS.
14036 # This happens for instance with `./config.status Makefile'.
14037 if test -n "$CONFIG_HEADERS"; then
14038 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
14039 BEGIN {
14040 _ACEOF
14041 
14042 # Transform confdefs.h into an awk script `defines.awk', embedded as
14043 # here-document in config.status, that substitutes the proper values into
14044 # config.h.in to produce config.h.
14045 
14046 # Create a delimiter string that does not exist in confdefs.h, to ease
14047 # handling of long lines.
14048 ac_delim='%!_!# '
14049 for ac_last_try in false false :; do
14050   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
14051   if test -z "$ac_tt"; then
14052     break
14053   elif $ac_last_try; then
14054     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14055   else
14056     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14057   fi
14058 done
14059 
14060 # For the awk script, D is an array of macro values keyed by name,
14061 # likewise P contains macro parameters if any.  Preserve backslash
14062 # newline sequences.
14063 
14064 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14065 sed -n '
14066 s/.\{148\}/&'"$ac_delim"'/g
14067 t rset
14068 :rset
14069 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
14070 t def
14071 d
14072 :def
14073 s/\\$//
14074 t bsnl
14075 s/["\\]/\\&/g
14076 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
14077 D["\1"]=" \3"/p
14078 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
14079 d
14080 :bsnl
14081 s/["\\]/\\&/g
14082 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
14083 D["\1"]=" \3\\\\\\n"\\/p
14084 t cont
14085 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14086 t cont
14087 d
14088 :cont
14089 n
14090 s/.\{148\}/&'"$ac_delim"'/g
14091 t clear
14092 :clear
14093 s/\\$//
14094 t bsnlc
14095 s/["\\]/\\&/g; s/^/"/; s/$/"/p
14096 d
14097 :bsnlc
14098 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14099 b cont
14100 ' <confdefs.h | sed '
14101 s/'"$ac_delim"'/"\\\
14102 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14103 
14104 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14105   for (key in D) D_is_set[key] = 1
14106   FS = ""
14107 }
14108 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14109   line = \$ 0
14110   split(line, arg, " ")
14111   if (arg[1] == "#") {
14112     defundef = arg[2]
14113     mac1 = arg[3]
14114   } else {
14115     defundef = substr(arg[1], 2)
14116     mac1 = arg[2]
14117   }
14118   split(mac1, mac2, "(") #)
14119   macro = mac2[1]
14120   prefix = substr(line, 1, index(line, defundef) - 1)
14121   if (D_is_set[macro]) {
14122     # Preserve the white space surrounding the "#".
14123     print prefix "define", macro P[macro] D[macro]
14124     next
14125   } else {
14126     # Replace #undef with comments.  This is necessary, for example,
14127     # in the case of _POSIX_SOURCE, which is predefined and required
14128     # on some systems where configure will not decide to define it.
14129     if (defundef == "undef") {
14130       print "/*", prefix defundef, macro, "*/"
14131       next
14132     }
14133   }
14134 }
14135 { print }
14136 _ACAWK
14137 _ACEOF
14138 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14139   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
14140 fi # test -n "$CONFIG_HEADERS"
14141 
14142 
14143 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
14144 shift
14145 for ac_tag
14146 do
14147   case $ac_tag in
14148   :[FHLC]) ac_mode=$ac_tag; continue;;
14149   esac
14150   case $ac_mode$ac_tag in
14151   :[FHL]*:*);;
14152   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
14153   :[FH]-) ac_tag=-:-;;
14154   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14155   esac
14156   ac_save_IFS=$IFS
14157   IFS=:
14158   set x $ac_tag
14159   IFS=$ac_save_IFS
14160   shift
14161   ac_file=$1
14162   shift
14163 
14164   case $ac_mode in
14165   :L) ac_source=$1;;
14166   :[FH])
14167     ac_file_inputs=
14168     for ac_f
14169     do
14170       case $ac_f in
14171       -) ac_f="$ac_tmp/stdin";;
14172       *) # Look for the file first in the build tree, then in the source tree
14173 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
14174 	 # because $ac_f cannot contain `:'.
14175 	 test -f "$ac_f" ||
14176 	   case $ac_f in
14177 	   [\\/$]*) false;;
14178 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14179 	   esac ||
14180 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14181       esac
14182       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14183       as_fn_append ac_file_inputs " '$ac_f'"
14184     done
14185 
14186     # Let's still pretend it is `configure' which instantiates (i.e., don't
14187     # use $as_me), people would be surprised to read:
14188     #    /* config.h.  Generated by config.status.  */
14189     configure_input='Generated from '`
14190 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14191 	`' by configure.'
14192     if test x"$ac_file" != x-; then
14193       configure_input="$ac_file.  $configure_input"
14194       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14195 $as_echo "$as_me: creating $ac_file" >&6;}
14196     fi
14197     # Neutralize special characters interpreted by sed in replacement strings.
14198     case $configure_input in #(
14199     *\&* | *\|* | *\\* )
14200        ac_sed_conf_input=`$as_echo "$configure_input" |
14201        sed 's/[\\\\&|]/\\\\&/g'`;; #(
14202     *) ac_sed_conf_input=$configure_input;;
14203     esac
14204 
14205     case $ac_tag in
14206     *:-:* | *:-) cat >"$ac_tmp/stdin" \
14207       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14208     esac
14209     ;;
14210   esac
14211 
14212   ac_dir=`$as_dirname -- "$ac_file" ||
14213 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14214 	 X"$ac_file" : 'X\(//\)[^/]' \| \
14215 	 X"$ac_file" : 'X\(//\)$' \| \
14216 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14217 $as_echo X"$ac_file" |
14218     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14219 	    s//\1/
14220 	    q
14221 	  }
14222 	  /^X\(\/\/\)[^/].*/{
14223 	    s//\1/
14224 	    q
14225 	  }
14226 	  /^X\(\/\/\)$/{
14227 	    s//\1/
14228 	    q
14229 	  }
14230 	  /^X\(\/\).*/{
14231 	    s//\1/
14232 	    q
14233 	  }
14234 	  s/.*/./; q'`
14235   as_dir="$ac_dir"; as_fn_mkdir_p
14236   ac_builddir=.
14237 
14238 case "$ac_dir" in
14239 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14240 *)
14241   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14242   # A ".." for each directory in $ac_dir_suffix.
14243   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14244   case $ac_top_builddir_sub in
14245   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14246   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14247   esac ;;
14248 esac
14249 ac_abs_top_builddir=$ac_pwd
14250 ac_abs_builddir=$ac_pwd$ac_dir_suffix
14251 # for backward compatibility:
14252 ac_top_builddir=$ac_top_build_prefix
14253 
14254 case $srcdir in
14255   .)  # We are building in place.
14256     ac_srcdir=.
14257     ac_top_srcdir=$ac_top_builddir_sub
14258     ac_abs_top_srcdir=$ac_pwd ;;
14259   [\\/]* | ?:[\\/]* )  # Absolute name.
14260     ac_srcdir=$srcdir$ac_dir_suffix;
14261     ac_top_srcdir=$srcdir
14262     ac_abs_top_srcdir=$srcdir ;;
14263   *) # Relative name.
14264     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14265     ac_top_srcdir=$ac_top_build_prefix$srcdir
14266     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14267 esac
14268 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14269 
14270 
14271   case $ac_mode in
14272   :F)
14273   #
14274   # CONFIG_FILE
14275   #
14276 
14277   case $INSTALL in
14278   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14279   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14280   esac
14281   ac_MKDIR_P=$MKDIR_P
14282   case $MKDIR_P in
14283   [\\/$]* | ?:[\\/]* ) ;;
14284   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14285   esac
14286 _ACEOF
14287 
14288 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14289 # If the template does not know about datarootdir, expand it.
14290 # FIXME: This hack should be removed a few years after 2.60.
14291 ac_datarootdir_hack=; ac_datarootdir_seen=
14292 ac_sed_dataroot='
14293 /datarootdir/ {
14294   p
14295   q
14296 }
14297 /@datadir@/p
14298 /@docdir@/p
14299 /@infodir@/p
14300 /@localedir@/p
14301 /@mandir@/p'
14302 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14303 *datarootdir*) ac_datarootdir_seen=yes;;
14304 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14305   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14306 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14307 _ACEOF
14308 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14309   ac_datarootdir_hack='
14310   s&@datadir@&$datadir&g
14311   s&@docdir@&$docdir&g
14312   s&@infodir@&$infodir&g
14313   s&@localedir@&$localedir&g
14314   s&@mandir@&$mandir&g
14315   s&\\\${datarootdir}&$datarootdir&g' ;;
14316 esac
14317 _ACEOF
14318 
14319 # Neutralize VPATH when `$srcdir' = `.'.
14320 # Shell code in configure.ac might set extrasub.
14321 # FIXME: do we really want to maintain this feature?
14322 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14323 ac_sed_extra="$ac_vpsub
14324 $extrasub
14325 _ACEOF
14326 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14327 :t
14328 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14329 s|@configure_input@|$ac_sed_conf_input|;t t
14330 s&@top_builddir@&$ac_top_builddir_sub&;t t
14331 s&@top_build_prefix@&$ac_top_build_prefix&;t t
14332 s&@srcdir@&$ac_srcdir&;t t
14333 s&@abs_srcdir@&$ac_abs_srcdir&;t t
14334 s&@top_srcdir@&$ac_top_srcdir&;t t
14335 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14336 s&@builddir@&$ac_builddir&;t t
14337 s&@abs_builddir@&$ac_abs_builddir&;t t
14338 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14339 s&@INSTALL@&$ac_INSTALL&;t t
14340 s&@MKDIR_P@&$ac_MKDIR_P&;t t
14341 $ac_datarootdir_hack
14342 "
14343 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
14344   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14345 
14346 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14347   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
14348   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
14349       "$ac_tmp/out"`; test -z "$ac_out"; } &&
14350   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14351 which seems to be undefined.  Please make sure it is defined" >&5
14352 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14353 which seems to be undefined.  Please make sure it is defined" >&2;}
14354 
14355   rm -f "$ac_tmp/stdin"
14356   case $ac_file in
14357   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14358   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14359   esac \
14360   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14361  ;;
14362   :H)
14363   #
14364   # CONFIG_HEADER
14365   #
14366   if test x"$ac_file" != x-; then
14367     {
14368       $as_echo "/* $configure_input  */" \
14369       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14370     } >"$ac_tmp/config.h" \
14371       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14372     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14373       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14374 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14375     else
14376       rm -f "$ac_file"
14377       mv "$ac_tmp/config.h" "$ac_file" \
14378 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
14379     fi
14380   else
14381     $as_echo "/* $configure_input  */" \
14382       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14383       || as_fn_error $? "could not create -" "$LINENO" 5
14384   fi
14385 # Compute "$ac_file"'s index in $config_headers.
14386 _am_arg="$ac_file"
14387 _am_stamp_count=1
14388 for _am_header in $config_headers :; do
14389   case $_am_header in
14390     $_am_arg | $_am_arg:* )
14391       break ;;
14392     * )
14393       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14394   esac
14395 done
14396 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14397 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14398 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
14399 	 X"$_am_arg" : 'X\(//\)$' \| \
14400 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14401 $as_echo X"$_am_arg" |
14402     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14403 	    s//\1/
14404 	    q
14405 	  }
14406 	  /^X\(\/\/\)[^/].*/{
14407 	    s//\1/
14408 	    q
14409 	  }
14410 	  /^X\(\/\/\)$/{
14411 	    s//\1/
14412 	    q
14413 	  }
14414 	  /^X\(\/\).*/{
14415 	    s//\1/
14416 	    q
14417 	  }
14418 	  s/.*/./; q'`/stamp-h$_am_stamp_count
14419  ;;
14420 
14421   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14422 $as_echo "$as_me: executing $ac_file commands" >&6;}
14423  ;;
14424   esac
14425 
14426 
14427   case $ac_file$ac_mode in
14428     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14429   # Autoconf 2.62 quotes --file arguments for eval, but not when files
14430   # are listed without --file.  Let's play safe and only enable the eval
14431   # if we detect the quoting.
14432   case $CONFIG_FILES in
14433   *\'*) eval set x "$CONFIG_FILES" ;;
14434   *)   set x $CONFIG_FILES ;;
14435   esac
14436   shift
14437   for mf
14438   do
14439     # Strip MF so we end up with the name of the file.
14440     mf=`echo "$mf" | sed -e 's/:.*$//'`
14441     # Check whether this is an Automake generated Makefile or not.
14442     # We used to match only the files named `Makefile.in', but
14443     # some people rename them; so instead we look at the file content.
14444     # Grep'ing the first line is not enough: some people post-process
14445     # each Makefile.in and add a new line on top of each file to say so.
14446     # Grep'ing the whole file is not good either: AIX grep has a line
14447     # limit of 2048, but all sed's we know have understand at least 4000.
14448     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14449       dirpart=`$as_dirname -- "$mf" ||
14450 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14451 	 X"$mf" : 'X\(//\)[^/]' \| \
14452 	 X"$mf" : 'X\(//\)$' \| \
14453 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14454 $as_echo X"$mf" |
14455     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14456 	    s//\1/
14457 	    q
14458 	  }
14459 	  /^X\(\/\/\)[^/].*/{
14460 	    s//\1/
14461 	    q
14462 	  }
14463 	  /^X\(\/\/\)$/{
14464 	    s//\1/
14465 	    q
14466 	  }
14467 	  /^X\(\/\).*/{
14468 	    s//\1/
14469 	    q
14470 	  }
14471 	  s/.*/./; q'`
14472     else
14473       continue
14474     fi
14475     # Extract the definition of DEPDIR, am__include, and am__quote
14476     # from the Makefile without running `make'.
14477     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14478     test -z "$DEPDIR" && continue
14479     am__include=`sed -n 's/^am__include = //p' < "$mf"`
14480     test -z "am__include" && continue
14481     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14482     # When using ansi2knr, U may be empty or an underscore; expand it
14483     U=`sed -n 's/^U = //p' < "$mf"`
14484     # Find all dependency output files, they are included files with
14485     # $(DEPDIR) in their names.  We invoke sed twice because it is the
14486     # simplest approach to changing $(DEPDIR) to its actual value in the
14487     # expansion.
14488     for file in `sed -n "
14489       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14490 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14491       # Make sure the directory exists.
14492       test -f "$dirpart/$file" && continue
14493       fdir=`$as_dirname -- "$file" ||
14494 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14495 	 X"$file" : 'X\(//\)[^/]' \| \
14496 	 X"$file" : 'X\(//\)$' \| \
14497 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14498 $as_echo X"$file" |
14499     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14500 	    s//\1/
14501 	    q
14502 	  }
14503 	  /^X\(\/\/\)[^/].*/{
14504 	    s//\1/
14505 	    q
14506 	  }
14507 	  /^X\(\/\/\)$/{
14508 	    s//\1/
14509 	    q
14510 	  }
14511 	  /^X\(\/\).*/{
14512 	    s//\1/
14513 	    q
14514 	  }
14515 	  s/.*/./; q'`
14516       as_dir=$dirpart/$fdir; as_fn_mkdir_p
14517       # echo "creating $dirpart/$file"
14518       echo '# dummy' > "$dirpart/$file"
14519     done
14520   done
14521 }
14522  ;;
14523     "libtool":C)
14524 
14525     # See if we are running on zsh, and set the options which allow our
14526     # commands through without removal of \ escapes.
14527     if test -n "${ZSH_VERSION+set}" ; then
14528       setopt NO_GLOB_SUBST
14529     fi
14530 
14531     cfgfile="${ofile}T"
14532     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14533     $RM "$cfgfile"
14534 
14535     cat <<_LT_EOF >> "$cfgfile"
14536 #! $SHELL
14537 
14538 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14539 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14540 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14541 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14542 #
14543 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14544 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
14545 #                 Foundation, Inc.
14546 #   Written by Gordon Matzigkeit, 1996
14547 #
14548 #   This file is part of GNU Libtool.
14549 #
14550 # GNU Libtool is free software; you can redistribute it and/or
14551 # modify it under the terms of the GNU General Public License as
14552 # published by the Free Software Foundation; either version 2 of
14553 # the License, or (at your option) any later version.
14554 #
14555 # As a special exception to the GNU General Public License,
14556 # if you distribute this file as part of a program or library that
14557 # is built using GNU Libtool, you may include this file under the
14558 # same distribution terms that you use for the rest of that program.
14559 #
14560 # GNU Libtool is distributed in the hope that it will be useful,
14561 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14562 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14563 # GNU General Public License for more details.
14564 #
14565 # You should have received a copy of the GNU General Public License
14566 # along with GNU Libtool; see the file COPYING.  If not, a copy
14567 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14568 # obtained by writing to the Free Software Foundation, Inc.,
14569 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14570 
14571 
14572 # The names of the tagged configurations supported by this script.
14573 available_tags=""
14574 
14575 # ### BEGIN LIBTOOL CONFIG
14576 
14577 # Which release of libtool.m4 was used?
14578 macro_version=$macro_version
14579 macro_revision=$macro_revision
14580 
14581 # Whether or not to build shared libraries.
14582 build_libtool_libs=$enable_shared
14583 
14584 # Whether or not to build static libraries.
14585 build_old_libs=$enable_static
14586 
14587 # What type of objects to build.
14588 pic_mode=$pic_mode
14589 
14590 # Whether or not to optimize for fast installation.
14591 fast_install=$enable_fast_install
14592 
14593 # Shell to use when invoking shell scripts.
14594 SHELL=$lt_SHELL
14595 
14596 # An echo program that protects backslashes.
14597 ECHO=$lt_ECHO
14598 
14599 # The PATH separator for the build system.
14600 PATH_SEPARATOR=$lt_PATH_SEPARATOR
14601 
14602 # The host system.
14603 host_alias=$host_alias
14604 host=$host
14605 host_os=$host_os
14606 
14607 # The build system.
14608 build_alias=$build_alias
14609 build=$build
14610 build_os=$build_os
14611 
14612 # A sed program that does not truncate output.
14613 SED=$lt_SED
14614 
14615 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14616 Xsed="\$SED -e 1s/^X//"
14617 
14618 # A grep program that handles long lines.
14619 GREP=$lt_GREP
14620 
14621 # An ERE matcher.
14622 EGREP=$lt_EGREP
14623 
14624 # A literal string matcher.
14625 FGREP=$lt_FGREP
14626 
14627 # A BSD- or MS-compatible name lister.
14628 NM=$lt_NM
14629 
14630 # Whether we need soft or hard links.
14631 LN_S=$lt_LN_S
14632 
14633 # What is the maximum length of a command?
14634 max_cmd_len=$max_cmd_len
14635 
14636 # Object file suffix (normally "o").
14637 objext=$ac_objext
14638 
14639 # Executable file suffix (normally "").
14640 exeext=$exeext
14641 
14642 # whether the shell understands "unset".
14643 lt_unset=$lt_unset
14644 
14645 # turn spaces into newlines.
14646 SP2NL=$lt_lt_SP2NL
14647 
14648 # turn newlines into spaces.
14649 NL2SP=$lt_lt_NL2SP
14650 
14651 # convert \$build file names to \$host format.
14652 to_host_file_cmd=$lt_cv_to_host_file_cmd
14653 
14654 # convert \$build files to toolchain format.
14655 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
14656 
14657 # An object symbol dumper.
14658 OBJDUMP=$lt_OBJDUMP
14659 
14660 # Method to check whether dependent libraries are shared objects.
14661 deplibs_check_method=$lt_deplibs_check_method
14662 
14663 # Command to use when deplibs_check_method = "file_magic".
14664 file_magic_cmd=$lt_file_magic_cmd
14665 
14666 # How to find potential files when deplibs_check_method = "file_magic".
14667 file_magic_glob=$lt_file_magic_glob
14668 
14669 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
14670 want_nocaseglob=$lt_want_nocaseglob
14671 
14672 # DLL creation program.
14673 DLLTOOL=$lt_DLLTOOL
14674 
14675 # Command to associate shared and link libraries.
14676 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
14677 
14678 # The archiver.
14679 AR=$lt_AR
14680 
14681 # Flags to create an archive.
14682 AR_FLAGS=$lt_AR_FLAGS
14683 
14684 # How to feed a file listing to the archiver.
14685 archiver_list_spec=$lt_archiver_list_spec
14686 
14687 # A symbol stripping program.
14688 STRIP=$lt_STRIP
14689 
14690 # Commands used to install an old-style archive.
14691 RANLIB=$lt_RANLIB
14692 old_postinstall_cmds=$lt_old_postinstall_cmds
14693 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14694 
14695 # Whether to use a lock for old archive extraction.
14696 lock_old_archive_extraction=$lock_old_archive_extraction
14697 
14698 # A C compiler.
14699 LTCC=$lt_CC
14700 
14701 # LTCC compiler flags.
14702 LTCFLAGS=$lt_CFLAGS
14703 
14704 # Take the output of nm and produce a listing of raw symbols and C names.
14705 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14706 
14707 # Transform the output of nm in a proper C declaration.
14708 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14709 
14710 # Transform the output of nm in a C name address pair.
14711 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14712 
14713 # Transform the output of nm in a C name address pair when lib prefix is needed.
14714 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14715 
14716 # Specify filename containing input files for \$NM.
14717 nm_file_list_spec=$lt_nm_file_list_spec
14718 
14719 # The root where to search for dependent libraries,and in which our libraries should be installed.
14720 lt_sysroot=$lt_sysroot
14721 
14722 # The name of the directory that contains temporary libtool files.
14723 objdir=$objdir
14724 
14725 # Used to examine libraries when file_magic_cmd begins with "file".
14726 MAGIC_CMD=$MAGIC_CMD
14727 
14728 # Must we lock files when doing compilation?
14729 need_locks=$lt_need_locks
14730 
14731 # Manifest tool.
14732 MANIFEST_TOOL=$lt_MANIFEST_TOOL
14733 
14734 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14735 DSYMUTIL=$lt_DSYMUTIL
14736 
14737 # Tool to change global to local symbols on Mac OS X.
14738 NMEDIT=$lt_NMEDIT
14739 
14740 # Tool to manipulate fat objects and archives on Mac OS X.
14741 LIPO=$lt_LIPO
14742 
14743 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14744 OTOOL=$lt_OTOOL
14745 
14746 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14747 OTOOL64=$lt_OTOOL64
14748 
14749 # Old archive suffix (normally "a").
14750 libext=$libext
14751 
14752 # Shared library suffix (normally ".so").
14753 shrext_cmds=$lt_shrext_cmds
14754 
14755 # The commands to extract the exported symbol list from a shared archive.
14756 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14757 
14758 # Variables whose values should be saved in libtool wrapper scripts and
14759 # restored at link time.
14760 variables_saved_for_relink=$lt_variables_saved_for_relink
14761 
14762 # Do we need the "lib" prefix for modules?
14763 need_lib_prefix=$need_lib_prefix
14764 
14765 # Do we need a version for libraries?
14766 need_version=$need_version
14767 
14768 # Library versioning type.
14769 version_type=$version_type
14770 
14771 # Shared library runtime path variable.
14772 runpath_var=$runpath_var
14773 
14774 # Shared library path variable.
14775 shlibpath_var=$shlibpath_var
14776 
14777 # Is shlibpath searched before the hard-coded library search path?
14778 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14779 
14780 # Format of library name prefix.
14781 libname_spec=$lt_libname_spec
14782 
14783 # List of archive names.  First name is the real one, the rest are links.
14784 # The last name is the one that the linker finds with -lNAME
14785 library_names_spec=$lt_library_names_spec
14786 
14787 # The coded name of the library, if different from the real name.
14788 soname_spec=$lt_soname_spec
14789 
14790 # Permission mode override for installation of shared libraries.
14791 install_override_mode=$lt_install_override_mode
14792 
14793 # Command to use after installation of a shared archive.
14794 postinstall_cmds=$lt_postinstall_cmds
14795 
14796 # Command to use after uninstallation of a shared archive.
14797 postuninstall_cmds=$lt_postuninstall_cmds
14798 
14799 # Commands used to finish a libtool library installation in a directory.
14800 finish_cmds=$lt_finish_cmds
14801 
14802 # As "finish_cmds", except a single script fragment to be evaled but
14803 # not shown.
14804 finish_eval=$lt_finish_eval
14805 
14806 # Whether we should hardcode library paths into libraries.
14807 hardcode_into_libs=$hardcode_into_libs
14808 
14809 # Compile-time system search path for libraries.
14810 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14811 
14812 # Run-time system search path for libraries.
14813 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14814 
14815 # Whether dlopen is supported.
14816 dlopen_support=$enable_dlopen
14817 
14818 # Whether dlopen of programs is supported.
14819 dlopen_self=$enable_dlopen_self
14820 
14821 # Whether dlopen of statically linked programs is supported.
14822 dlopen_self_static=$enable_dlopen_self_static
14823 
14824 # Commands to strip libraries.
14825 old_striplib=$lt_old_striplib
14826 striplib=$lt_striplib
14827 
14828 
14829 # The linker used to build libraries.
14830 LD=$lt_LD
14831 
14832 # How to create reloadable object files.
14833 reload_flag=$lt_reload_flag
14834 reload_cmds=$lt_reload_cmds
14835 
14836 # Commands used to build an old-style archive.
14837 old_archive_cmds=$lt_old_archive_cmds
14838 
14839 # A language specific compiler.
14840 CC=$lt_compiler
14841 
14842 # Is the compiler the GNU compiler?
14843 with_gcc=$GCC
14844 
14845 # Compiler flag to turn off builtin functions.
14846 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14847 
14848 # Additional compiler flags for building library objects.
14849 pic_flag=$lt_lt_prog_compiler_pic
14850 
14851 # How to pass a linker flag through the compiler.
14852 wl=$lt_lt_prog_compiler_wl
14853 
14854 # Compiler flag to prevent dynamic linking.
14855 link_static_flag=$lt_lt_prog_compiler_static
14856 
14857 # Does compiler simultaneously support -c and -o options?
14858 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14859 
14860 # Whether or not to add -lc for building shared libraries.
14861 build_libtool_need_lc=$archive_cmds_need_lc
14862 
14863 # Whether or not to disallow shared libs when runtime libs are static.
14864 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14865 
14866 # Compiler flag to allow reflexive dlopens.
14867 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14868 
14869 # Compiler flag to generate shared objects directly from archives.
14870 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14871 
14872 # Whether the compiler copes with passing no objects directly.
14873 compiler_needs_object=$lt_compiler_needs_object
14874 
14875 # Create an old-style archive from a shared archive.
14876 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14877 
14878 # Create a temporary old-style archive to link instead of a shared archive.
14879 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14880 
14881 # Commands used to build a shared archive.
14882 archive_cmds=$lt_archive_cmds
14883 archive_expsym_cmds=$lt_archive_expsym_cmds
14884 
14885 # Commands used to build a loadable module if different from building
14886 # a shared archive.
14887 module_cmds=$lt_module_cmds
14888 module_expsym_cmds=$lt_module_expsym_cmds
14889 
14890 # Whether we are building with GNU ld or not.
14891 with_gnu_ld=$lt_with_gnu_ld
14892 
14893 # Flag that allows shared libraries with undefined symbols to be built.
14894 allow_undefined_flag=$lt_allow_undefined_flag
14895 
14896 # Flag that enforces no undefined symbols.
14897 no_undefined_flag=$lt_no_undefined_flag
14898 
14899 # Flag to hardcode \$libdir into a binary during linking.
14900 # This must work even if \$libdir does not exist
14901 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14902 
14903 # Whether we need a single "-rpath" flag with a separated argument.
14904 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14905 
14906 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14907 # DIR into the resulting binary.
14908 hardcode_direct=$hardcode_direct
14909 
14910 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14911 # DIR into the resulting binary and the resulting library dependency is
14912 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14913 # library is relocated.
14914 hardcode_direct_absolute=$hardcode_direct_absolute
14915 
14916 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14917 # into the resulting binary.
14918 hardcode_minus_L=$hardcode_minus_L
14919 
14920 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14921 # into the resulting binary.
14922 hardcode_shlibpath_var=$hardcode_shlibpath_var
14923 
14924 # Set to "yes" if building a shared library automatically hardcodes DIR
14925 # into the library and all subsequent libraries and executables linked
14926 # against it.
14927 hardcode_automatic=$hardcode_automatic
14928 
14929 # Set to yes if linker adds runtime paths of dependent libraries
14930 # to runtime path list.
14931 inherit_rpath=$inherit_rpath
14932 
14933 # Whether libtool must link a program against all its dependency libraries.
14934 link_all_deplibs=$link_all_deplibs
14935 
14936 # Set to "yes" if exported symbols are required.
14937 always_export_symbols=$always_export_symbols
14938 
14939 # The commands to list exported symbols.
14940 export_symbols_cmds=$lt_export_symbols_cmds
14941 
14942 # Symbols that should not be listed in the preloaded symbols.
14943 exclude_expsyms=$lt_exclude_expsyms
14944 
14945 # Symbols that must always be exported.
14946 include_expsyms=$lt_include_expsyms
14947 
14948 # Commands necessary for linking programs (against libraries) with templates.
14949 prelink_cmds=$lt_prelink_cmds
14950 
14951 # Commands necessary for finishing linking programs.
14952 postlink_cmds=$lt_postlink_cmds
14953 
14954 # Specify filename containing input files.
14955 file_list_spec=$lt_file_list_spec
14956 
14957 # How to hardcode a shared library path into an executable.
14958 hardcode_action=$hardcode_action
14959 
14960 # ### END LIBTOOL CONFIG
14961 
14962 _LT_EOF
14963 
14964   case $host_os in
14965   aix3*)
14966     cat <<\_LT_EOF >> "$cfgfile"
14967 # AIX sometimes has problems with the GCC collect2 program.  For some
14968 # reason, if we set the COLLECT_NAMES environment variable, the problems
14969 # vanish in a puff of smoke.
14970 if test "X${COLLECT_NAMES+set}" != Xset; then
14971   COLLECT_NAMES=
14972   export COLLECT_NAMES
14973 fi
14974 _LT_EOF
14975     ;;
14976   esac
14977 
14978 
14979 ltmain="$ac_aux_dir/ltmain.sh"
14980 
14981 
14982   # We use sed instead of cat because bash on DJGPP gets confused if
14983   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
14984   # text mode, it properly converts lines to CR/LF.  This bash problem
14985   # is reportedly fixed, but why not run on old versions too?
14986   sed '$q' "$ltmain" >> "$cfgfile" \
14987      || (rm -f "$cfgfile"; exit 1)
14988 
14989   if test x"$xsi_shell" = xyes; then
14990   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
14991 func_dirname ()\
14992 {\
14993 \    case ${1} in\
14994 \      */*) func_dirname_result="${1%/*}${2}" ;;\
14995 \      *  ) func_dirname_result="${3}" ;;\
14996 \    esac\
14997 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
14998   && mv -f "$cfgfile.tmp" "$cfgfile" \
14999     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15000 test 0 -eq $? || _lt_function_replace_fail=:
15001 
15002 
15003   sed -e '/^func_basename ()$/,/^} # func_basename /c\
15004 func_basename ()\
15005 {\
15006 \    func_basename_result="${1##*/}"\
15007 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
15008   && mv -f "$cfgfile.tmp" "$cfgfile" \
15009     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15010 test 0 -eq $? || _lt_function_replace_fail=:
15011 
15012 
15013   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
15014 func_dirname_and_basename ()\
15015 {\
15016 \    case ${1} in\
15017 \      */*) func_dirname_result="${1%/*}${2}" ;;\
15018 \      *  ) func_dirname_result="${3}" ;;\
15019 \    esac\
15020 \    func_basename_result="${1##*/}"\
15021 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
15022   && mv -f "$cfgfile.tmp" "$cfgfile" \
15023     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15024 test 0 -eq $? || _lt_function_replace_fail=:
15025 
15026 
15027   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
15028 func_stripname ()\
15029 {\
15030 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
15031 \    # positional parameters, so assign one to ordinary parameter first.\
15032 \    func_stripname_result=${3}\
15033 \    func_stripname_result=${func_stripname_result#"${1}"}\
15034 \    func_stripname_result=${func_stripname_result%"${2}"}\
15035 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
15036   && mv -f "$cfgfile.tmp" "$cfgfile" \
15037     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15038 test 0 -eq $? || _lt_function_replace_fail=:
15039 
15040 
15041   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
15042 func_split_long_opt ()\
15043 {\
15044 \    func_split_long_opt_name=${1%%=*}\
15045 \    func_split_long_opt_arg=${1#*=}\
15046 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
15047   && mv -f "$cfgfile.tmp" "$cfgfile" \
15048     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15049 test 0 -eq $? || _lt_function_replace_fail=:
15050 
15051 
15052   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
15053 func_split_short_opt ()\
15054 {\
15055 \    func_split_short_opt_arg=${1#??}\
15056 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
15057 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
15058   && mv -f "$cfgfile.tmp" "$cfgfile" \
15059     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15060 test 0 -eq $? || _lt_function_replace_fail=:
15061 
15062 
15063   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
15064 func_lo2o ()\
15065 {\
15066 \    case ${1} in\
15067 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
15068 \      *)    func_lo2o_result=${1} ;;\
15069 \    esac\
15070 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
15071   && mv -f "$cfgfile.tmp" "$cfgfile" \
15072     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15073 test 0 -eq $? || _lt_function_replace_fail=:
15074 
15075 
15076   sed -e '/^func_xform ()$/,/^} # func_xform /c\
15077 func_xform ()\
15078 {\
15079     func_xform_result=${1%.*}.lo\
15080 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
15081   && mv -f "$cfgfile.tmp" "$cfgfile" \
15082     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15083 test 0 -eq $? || _lt_function_replace_fail=:
15084 
15085 
15086   sed -e '/^func_arith ()$/,/^} # func_arith /c\
15087 func_arith ()\
15088 {\
15089     func_arith_result=$(( $* ))\
15090 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
15091   && mv -f "$cfgfile.tmp" "$cfgfile" \
15092     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15093 test 0 -eq $? || _lt_function_replace_fail=:
15094 
15095 
15096   sed -e '/^func_len ()$/,/^} # func_len /c\
15097 func_len ()\
15098 {\
15099     func_len_result=${#1}\
15100 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
15101   && mv -f "$cfgfile.tmp" "$cfgfile" \
15102     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15103 test 0 -eq $? || _lt_function_replace_fail=:
15104 
15105 fi
15106 
15107 if test x"$lt_shell_append" = xyes; then
15108   sed -e '/^func_append ()$/,/^} # func_append /c\
15109 func_append ()\
15110 {\
15111     eval "${1}+=\\${2}"\
15112 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
15113   && mv -f "$cfgfile.tmp" "$cfgfile" \
15114     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15115 test 0 -eq $? || _lt_function_replace_fail=:
15116 
15117 
15118   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
15119 func_append_quoted ()\
15120 {\
15121 \    func_quote_for_eval "${2}"\
15122 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
15123 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
15124   && mv -f "$cfgfile.tmp" "$cfgfile" \
15125     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15126 test 0 -eq $? || _lt_function_replace_fail=:
15127 
15128 
15129   # Save a `func_append' function call where possible by direct use of '+='
15130   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
15131     && mv -f "$cfgfile.tmp" "$cfgfile" \
15132       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15133   test 0 -eq $? || _lt_function_replace_fail=:
15134 else
15135   # Save a `func_append' function call even when '+=' is not available
15136   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
15137     && mv -f "$cfgfile.tmp" "$cfgfile" \
15138       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15139   test 0 -eq $? || _lt_function_replace_fail=:
15140 fi
15141 
15142 if test x"$_lt_function_replace_fail" = x":"; then
15143   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
15144 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
15145 fi
15146 
15147 
15148    mv -f "$cfgfile" "$ofile" ||
15149     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15150   chmod +x "$ofile"
15151 
15152  ;;
15153 
15154   esac
15155 done # for ac_tag
15156 
15157 
15158 as_fn_exit 0
15159 _ACEOF
15160 ac_clean_files=$ac_clean_files_save
15161 
15162 test $ac_write_fail = 0 ||
15163   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15164 
15165 
15166 # configure is writing to config.log, and then calls config.status.
15167 # config.status does its own redirection, appending to config.log.
15168 # Unfortunately, on DOS this fails, as config.log is still kept open
15169 # by configure, so config.status won't be able to write to it; its
15170 # output is simply discarded.  So we exec the FD to /dev/null,
15171 # effectively closing config.log, so it can be properly (re)opened and
15172 # appended to by config.status.  When coming back to configure, we
15173 # need to make the FD available again.
15174 if test "$no_create" != yes; then
15175   ac_cs_success=:
15176   ac_config_status_args=
15177   test "$silent" = yes &&
15178     ac_config_status_args="$ac_config_status_args --quiet"
15179   exec 5>/dev/null
15180   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15181   exec 5>>config.log
15182   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15183   # would make configure fail if this is the last instruction.
15184   $ac_cs_success || as_fn_exit 1
15185 fi
15186 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15187   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15188 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15189 fi
15190 
15191 
15192 echo .
15193 echo "
15194 
15195   libcap-ng Version:      $VERSION
15196   Target:                 $target
15197   Installation prefix:    $prefix
15198   Compiler:               $CC
15199   Compiler flags:
15200 `echo $CFLAGS | fmt -w 50 | sed 's,^,                          ,'`
15201 "
15202