• Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for libnfnetlink 1.0.1.
4 #
5 #
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
7 #
8 #
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
14 
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18   emulate sh
19   NULLCMD=:
20   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21   # is contrary to our usage.  Disable this feature.
22   alias -g '${1+"$@"}'='"$@"'
23   setopt NO_GLOB_SUBST
24 else
25   case `(set -o) 2>/dev/null` in #(
26   *posix*) :
27     set -o posix ;; #(
28   *) :
29      ;;
30 esac
31 fi
32 
33 
34 as_nl='
35 '
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45   as_echo='print -r --'
46   as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48   as_echo='printf %s\n'
49   as_echo_n='printf %s'
50 else
51   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53     as_echo_n='/usr/ucb/echo -n'
54   else
55     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56     as_echo_n_body='eval
57       arg=$1;
58       case $arg in #(
59       *"$as_nl"*)
60 	expr "X$arg" : "X\\(.*\\)$as_nl";
61 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62       esac;
63       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64     '
65     export as_echo_n_body
66     as_echo_n='sh -c $as_echo_n_body as_echo'
67   fi
68   export as_echo_body
69   as_echo='sh -c $as_echo_body as_echo'
70 fi
71 
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74   PATH_SEPARATOR=:
75   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77       PATH_SEPARATOR=';'
78   }
79 fi
80 
81 
82 # IFS
83 # We need space, tab and new line, in precisely that order.  Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" ""	$as_nl"
88 
89 # Find who we are.  Look in the path if we contain no directory separator.
90 as_myself=
91 case $0 in #((
92   *[\\/]* ) as_myself=$0 ;;
93   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94 for as_dir in $PATH
95 do
96   IFS=$as_save_IFS
97   test -z "$as_dir" && as_dir=.
98     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99   done
100 IFS=$as_save_IFS
101 
102      ;;
103 esac
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
107   as_myself=$0
108 fi
109 if test ! -f "$as_myself"; then
110   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111   exit 1
112 fi
113 
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there.  '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121 done
122 PS1='$ '
123 PS2='> '
124 PS4='+ '
125 
126 # NLS nuisances.
127 LC_ALL=C
128 export LC_ALL
129 LANGUAGE=C
130 export LANGUAGE
131 
132 # CDPATH.
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134 
135 # Use a proper internal environment variable to ensure we don't fall
136   # into an infinite loop, continuously re-executing ourselves.
137   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138     _as_can_reexec=no; export _as_can_reexec;
139     # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
143 BASH_ENV=/dev/null
144 ENV=/dev/null
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146 case $- in # ((((
147   *v*x* | *x*v* ) as_opts=-vx ;;
148   *v* ) as_opts=-v ;;
149   *x* ) as_opts=-x ;;
150   * ) as_opts= ;;
151 esac
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156 as_fn_exit 255
157   fi
158   # We don't want this to propagate to other subprocesses.
159           { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162   emulate sh
163   NULLCMD=:
164   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165   # is contrary to our usage.  Disable this feature.
166   alias -g '\${1+\"\$@\"}'='\"\$@\"'
167   setopt NO_GLOB_SUBST
168 else
169   case \`(set -o) 2>/dev/null\` in #(
170   *posix*) :
171     set -o posix ;; #(
172   *) :
173      ;;
174 esac
175 fi
176 "
177   as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
182 
183 exitcode=0
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
189 
190 else
191   exitcode=1; echo positional parameters were not saved.
192 fi
193 test x\$exitcode = x0 || exit 1
194 test -x / || exit 1"
195   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 
200   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
201     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
202     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
203     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204     PATH=/empty FPATH=/empty; export PATH FPATH
205     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
206       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
207 test \$(( 1 + 1 )) = 2 || exit 1"
208   if (eval "$as_required") 2>/dev/null; then :
209   as_have_required=yes
210 else
211   as_have_required=no
212 fi
213   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
214 
215 else
216   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
217 as_found=false
218 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
219 do
220   IFS=$as_save_IFS
221   test -z "$as_dir" && as_dir=.
222   as_found=:
223   case $as_dir in #(
224 	 /*)
225 	   for as_base in sh bash ksh sh5; do
226 	     # Try only shells that exist, to save several forks.
227 	     as_shell=$as_dir/$as_base
228 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
229 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
230   CONFIG_SHELL=$as_shell as_have_required=yes
231 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
232   break 2
233 fi
234 fi
235 	   done;;
236        esac
237   as_found=false
238 done
239 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
240 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
241   CONFIG_SHELL=$SHELL as_have_required=yes
242 fi; }
243 IFS=$as_save_IFS
244 
245 
246       if test "x$CONFIG_SHELL" != x; then :
247   export CONFIG_SHELL
248              # We cannot yet assume a decent shell, so we have to provide a
249 # neutralization value for shells without unset; and this also
250 # works around shells that cannot unset nonexistent variables.
251 # Preserve -v and -x to the replacement shell.
252 BASH_ENV=/dev/null
253 ENV=/dev/null
254 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
255 case $- in # ((((
256   *v*x* | *x*v* ) as_opts=-vx ;;
257   *v* ) as_opts=-v ;;
258   *x* ) as_opts=-x ;;
259   * ) as_opts= ;;
260 esac
261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262 # Admittedly, this is quite paranoid, since all the known shells bail
263 # out after a failed `exec'.
264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
265 exit 255
266 fi
267 
268     if test x$as_have_required = xno; then :
269   $as_echo "$0: This script requires a shell more modern than all"
270   $as_echo "$0: the shells that I found on your system."
271   if test x${ZSH_VERSION+set} = xset ; then
272     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
274   else
275     $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276 $0: including any error possibly output before this
277 $0: message. Then install a modern shell, or manually run
278 $0: the script under such a shell if you do have one."
279   fi
280   exit 1
281 fi
282 fi
283 fi
284 SHELL=${CONFIG_SHELL-/bin/sh}
285 export SHELL
286 # Unset more variables known to interfere with behavior of common tools.
287 CLICOLOR_FORCE= GREP_OPTIONS=
288 unset CLICOLOR_FORCE GREP_OPTIONS
289 
290 ## --------------------- ##
291 ## M4sh Shell Functions. ##
292 ## --------------------- ##
293 # as_fn_unset VAR
294 # ---------------
295 # Portably unset VAR.
296 as_fn_unset ()
297 {
298   { eval $1=; unset $1;}
299 }
300 as_unset=as_fn_unset
301 
302 # as_fn_set_status STATUS
303 # -----------------------
304 # Set $? to STATUS, without forking.
305 as_fn_set_status ()
306 {
307   return $1
308 } # as_fn_set_status
309 
310 # as_fn_exit STATUS
311 # -----------------
312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
313 as_fn_exit ()
314 {
315   set +e
316   as_fn_set_status $1
317   exit $1
318 } # as_fn_exit
319 
320 # as_fn_mkdir_p
321 # -------------
322 # Create "$as_dir" as a directory, including parents if necessary.
323 as_fn_mkdir_p ()
324 {
325 
326   case $as_dir in #(
327   -*) as_dir=./$as_dir;;
328   esac
329   test -d "$as_dir" || eval $as_mkdir_p || {
330     as_dirs=
331     while :; do
332       case $as_dir in #(
333       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
334       *) as_qdir=$as_dir;;
335       esac
336       as_dirs="'$as_qdir' $as_dirs"
337       as_dir=`$as_dirname -- "$as_dir" ||
338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339 	 X"$as_dir" : 'X\(//\)[^/]' \| \
340 	 X"$as_dir" : 'X\(//\)$' \| \
341 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342 $as_echo X"$as_dir" |
343     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
344 	    s//\1/
345 	    q
346 	  }
347 	  /^X\(\/\/\)[^/].*/{
348 	    s//\1/
349 	    q
350 	  }
351 	  /^X\(\/\/\)$/{
352 	    s//\1/
353 	    q
354 	  }
355 	  /^X\(\/\).*/{
356 	    s//\1/
357 	    q
358 	  }
359 	  s/.*/./; q'`
360       test -d "$as_dir" && break
361     done
362     test -z "$as_dirs" || eval "mkdir $as_dirs"
363   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
364 
365 
366 } # as_fn_mkdir_p
367 
368 # as_fn_executable_p FILE
369 # -----------------------
370 # Test if FILE is an executable regular file.
371 as_fn_executable_p ()
372 {
373   test -f "$1" && test -x "$1"
374 } # as_fn_executable_p
375 # as_fn_append VAR VALUE
376 # ----------------------
377 # Append the text in VALUE to the end of the definition contained in VAR. Take
378 # advantage of any shell optimizations that allow amortized linear growth over
379 # repeated appends, instead of the typical quadratic growth present in naive
380 # implementations.
381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
382   eval 'as_fn_append ()
383   {
384     eval $1+=\$2
385   }'
386 else
387   as_fn_append ()
388   {
389     eval $1=\$$1\$2
390   }
391 fi # as_fn_append
392 
393 # as_fn_arith ARG...
394 # ------------------
395 # Perform arithmetic evaluation on the ARGs, and store the result in the
396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
397 # must be portable across $(()) and expr.
398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
399   eval 'as_fn_arith ()
400   {
401     as_val=$(( $* ))
402   }'
403 else
404   as_fn_arith ()
405   {
406     as_val=`expr "$@" || test $? -eq 1`
407   }
408 fi # as_fn_arith
409 
410 
411 # as_fn_error STATUS ERROR [LINENO LOG_FD]
412 # ----------------------------------------
413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415 # script with STATUS, using 1 if that was 0.
416 as_fn_error ()
417 {
418   as_status=$1; test $as_status -eq 0 && as_status=1
419   if test "$4"; then
420     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
421     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
422   fi
423   $as_echo "$as_me: error: $2" >&2
424   as_fn_exit $as_status
425 } # as_fn_error
426 
427 if expr a : '\(a\)' >/dev/null 2>&1 &&
428    test "X`expr 00001 : '.*\(...\)'`" = X001; then
429   as_expr=expr
430 else
431   as_expr=false
432 fi
433 
434 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435   as_basename=basename
436 else
437   as_basename=false
438 fi
439 
440 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
441   as_dirname=dirname
442 else
443   as_dirname=false
444 fi
445 
446 as_me=`$as_basename -- "$0" ||
447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448 	 X"$0" : 'X\(//\)$' \| \
449 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
450 $as_echo X/"$0" |
451     sed '/^.*\/\([^/][^/]*\)\/*$/{
452 	    s//\1/
453 	    q
454 	  }
455 	  /^X\/\(\/\/\)$/{
456 	    s//\1/
457 	    q
458 	  }
459 	  /^X\/\(\/\).*/{
460 	    s//\1/
461 	    q
462 	  }
463 	  s/.*/./; q'`
464 
465 # Avoid depending upon Character Ranges.
466 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
467 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
469 as_cr_digits='0123456789'
470 as_cr_alnum=$as_cr_Letters$as_cr_digits
471 
472 
473   as_lineno_1=$LINENO as_lineno_1a=$LINENO
474   as_lineno_2=$LINENO as_lineno_2a=$LINENO
475   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
477   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
478   sed -n '
479     p
480     /[$]LINENO/=
481   ' <$as_myself |
482     sed '
483       s/[$]LINENO.*/&-/
484       t lineno
485       b
486       :lineno
487       N
488       :loop
489       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
490       t loop
491       s/-\n.*//
492     ' >$as_me.lineno &&
493   chmod +x "$as_me.lineno" ||
494     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
495 
496   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497   # already done that, so ensure we don't try to do so again and fall
498   # in an infinite loop.  This has already happened in practice.
499   _as_can_reexec=no; export _as_can_reexec
500   # Don't try to exec as it changes $[0], causing all sort of problems
501   # (the dirname of $[0] is not the place where we might find the
502   # original and so on.  Autoconf is especially sensitive to this).
503   . "./$as_me.lineno"
504   # Exit status is that of the last command.
505   exit
506 }
507 
508 ECHO_C= ECHO_N= ECHO_T=
509 case `echo -n x` in #(((((
510 -n*)
511   case `echo 'xy\c'` in
512   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
513   xy)  ECHO_C='\c';;
514   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
515        ECHO_T='	';;
516   esac;;
517 *)
518   ECHO_N='-n';;
519 esac
520 
521 rm -f conf$$ conf$$.exe conf$$.file
522 if test -d conf$$.dir; then
523   rm -f conf$$.dir/conf$$.file
524 else
525   rm -f conf$$.dir
526   mkdir conf$$.dir 2>/dev/null
527 fi
528 if (echo >conf$$.file) 2>/dev/null; then
529   if ln -s conf$$.file conf$$ 2>/dev/null; then
530     as_ln_s='ln -s'
531     # ... but there are two gotchas:
532     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534     # In both cases, we have to default to `cp -pR'.
535     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
536       as_ln_s='cp -pR'
537   elif ln conf$$.file conf$$ 2>/dev/null; then
538     as_ln_s=ln
539   else
540     as_ln_s='cp -pR'
541   fi
542 else
543   as_ln_s='cp -pR'
544 fi
545 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
546 rmdir conf$$.dir 2>/dev/null
547 
548 if mkdir -p . 2>/dev/null; then
549   as_mkdir_p='mkdir -p "$as_dir"'
550 else
551   test -d ./-p && rmdir ./-p
552   as_mkdir_p=false
553 fi
554 
555 as_test_x='test -x'
556 as_executable_p=as_fn_executable_p
557 
558 # Sed expression to map a string onto a valid CPP name.
559 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
560 
561 # Sed expression to map a string onto a valid variable name.
562 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
563 
564 SHELL=${CONFIG_SHELL-/bin/sh}
565 
566 
567 test -n "$DJDIR" || exec 7<&0 </dev/null
568 exec 6>&1
569 
570 # Name of the host.
571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572 # so uname gets run too.
573 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
574 
575 #
576 # Initializations.
577 #
578 ac_default_prefix=/usr/local
579 ac_clean_files=
580 ac_config_libobj_dir=.
581 LIBOBJS=
582 cross_compiling=no
583 subdirs=
584 MFLAGS=
585 MAKEFLAGS=
586 
587 # Identity of this package.
588 PACKAGE_NAME='libnfnetlink'
589 PACKAGE_TARNAME='libnfnetlink'
590 PACKAGE_VERSION='1.0.1'
591 PACKAGE_STRING='libnfnetlink 1.0.1'
592 PACKAGE_BUGREPORT=''
593 PACKAGE_URL=''
594 
595 # Factoring default headers for most tests.
596 ac_includes_default="\
597 #include <stdio.h>
598 #ifdef HAVE_SYS_TYPES_H
599 # include <sys/types.h>
600 #endif
601 #ifdef HAVE_SYS_STAT_H
602 # include <sys/stat.h>
603 #endif
604 #ifdef STDC_HEADERS
605 # include <stdlib.h>
606 # include <stddef.h>
607 #else
608 # ifdef HAVE_STDLIB_H
609 #  include <stdlib.h>
610 # endif
611 #endif
612 #ifdef HAVE_STRING_H
613 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
614 #  include <memory.h>
615 # endif
616 # include <string.h>
617 #endif
618 #ifdef HAVE_STRINGS_H
619 # include <strings.h>
620 #endif
621 #ifdef HAVE_INTTYPES_H
622 # include <inttypes.h>
623 #endif
624 #ifdef HAVE_STDINT_H
625 # include <stdint.h>
626 #endif
627 #ifdef HAVE_UNISTD_H
628 # include <unistd.h>
629 #endif"
630 
631 ac_subst_vars='am__EXEEXT_FALSE
632 am__EXEEXT_TRUE
633 LTLIBOBJS
634 LIBOBJS
635 CPP
636 OTOOL64
637 OTOOL
638 LIPO
639 NMEDIT
640 DSYMUTIL
641 MANIFEST_TOOL
642 RANLIB
643 ac_ct_AR
644 AR
645 DLLTOOL
646 OBJDUMP
647 LN_S
648 NM
649 ac_ct_DUMPBIN
650 DUMPBIN
651 LD
652 FGREP
653 EGREP
654 GREP
655 SED
656 LIBTOOL
657 am__fastdepCC_FALSE
658 am__fastdepCC_TRUE
659 CCDEPMODE
660 am__nodep
661 AMDEPBACKSLASH
662 AMDEP_FALSE
663 AMDEP_TRUE
664 am__quote
665 am__include
666 DEPDIR
667 OBJEXT
668 EXEEXT
669 ac_ct_CC
670 CPPFLAGS
671 LDFLAGS
672 CFLAGS
673 CC
674 AM_BACKSLASH
675 AM_DEFAULT_VERBOSITY
676 AM_DEFAULT_V
677 AM_V
678 am__untar
679 am__tar
680 AMTAR
681 am__leading_dot
682 SET_MAKE
683 AWK
684 mkdir_p
685 MKDIR_P
686 INSTALL_STRIP_PROGRAM
687 STRIP
688 install_sh
689 MAKEINFO
690 AUTOHEADER
691 AUTOMAKE
692 AUTOCONF
693 ACLOCAL
694 VERSION
695 PACKAGE
696 CYGPATH_W
697 am__isrc
698 INSTALL_DATA
699 INSTALL_SCRIPT
700 INSTALL_PROGRAM
701 host_os
702 host_vendor
703 host_cpu
704 host
705 build_os
706 build_vendor
707 build_cpu
708 build
709 target_alias
710 host_alias
711 build_alias
712 LIBS
713 ECHO_T
714 ECHO_N
715 ECHO_C
716 DEFS
717 mandir
718 localedir
719 libdir
720 psdir
721 pdfdir
722 dvidir
723 htmldir
724 infodir
725 docdir
726 oldincludedir
727 includedir
728 localstatedir
729 sharedstatedir
730 sysconfdir
731 datadir
732 datarootdir
733 libexecdir
734 sbindir
735 bindir
736 program_transform_name
737 prefix
738 exec_prefix
739 PACKAGE_URL
740 PACKAGE_BUGREPORT
741 PACKAGE_STRING
742 PACKAGE_VERSION
743 PACKAGE_TARNAME
744 PACKAGE_NAME
745 PATH_SEPARATOR
746 SHELL'
747 ac_subst_files=''
748 ac_user_opts='
749 enable_option_checking
750 enable_silent_rules
751 enable_dependency_tracking
752 enable_static
753 enable_shared
754 with_pic
755 enable_fast_install
756 with_gnu_ld
757 with_sysroot
758 enable_libtool_lock
759 '
760       ac_precious_vars='build_alias
761 host_alias
762 target_alias
763 CC
764 CFLAGS
765 LDFLAGS
766 LIBS
767 CPPFLAGS
768 CPP'
769 
770 
771 # Initialize some variables set by options.
772 ac_init_help=
773 ac_init_version=false
774 ac_unrecognized_opts=
775 ac_unrecognized_sep=
776 # The variables have the same names as the options, with
777 # dashes changed to underlines.
778 cache_file=/dev/null
779 exec_prefix=NONE
780 no_create=
781 no_recursion=
782 prefix=NONE
783 program_prefix=NONE
784 program_suffix=NONE
785 program_transform_name=s,x,x,
786 silent=
787 site=
788 srcdir=
789 verbose=
790 x_includes=NONE
791 x_libraries=NONE
792 
793 # Installation directory options.
794 # These are left unexpanded so users can "make install exec_prefix=/foo"
795 # and all the variables that are supposed to be based on exec_prefix
796 # by default will actually change.
797 # Use braces instead of parens because sh, perl, etc. also accept them.
798 # (The list follows the same order as the GNU Coding Standards.)
799 bindir='${exec_prefix}/bin'
800 sbindir='${exec_prefix}/sbin'
801 libexecdir='${exec_prefix}/libexec'
802 datarootdir='${prefix}/share'
803 datadir='${datarootdir}'
804 sysconfdir='${prefix}/etc'
805 sharedstatedir='${prefix}/com'
806 localstatedir='${prefix}/var'
807 includedir='${prefix}/include'
808 oldincludedir='/usr/include'
809 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
810 infodir='${datarootdir}/info'
811 htmldir='${docdir}'
812 dvidir='${docdir}'
813 pdfdir='${docdir}'
814 psdir='${docdir}'
815 libdir='${exec_prefix}/lib'
816 localedir='${datarootdir}/locale'
817 mandir='${datarootdir}/man'
818 
819 ac_prev=
820 ac_dashdash=
821 for ac_option
822 do
823   # If the previous option needs an argument, assign it.
824   if test -n "$ac_prev"; then
825     eval $ac_prev=\$ac_option
826     ac_prev=
827     continue
828   fi
829 
830   case $ac_option in
831   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
832   *=)   ac_optarg= ;;
833   *)    ac_optarg=yes ;;
834   esac
835 
836   # Accept the important Cygnus configure options, so we can diagnose typos.
837 
838   case $ac_dashdash$ac_option in
839   --)
840     ac_dashdash=yes ;;
841 
842   -bindir | --bindir | --bindi | --bind | --bin | --bi)
843     ac_prev=bindir ;;
844   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
845     bindir=$ac_optarg ;;
846 
847   -build | --build | --buil | --bui | --bu)
848     ac_prev=build_alias ;;
849   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
850     build_alias=$ac_optarg ;;
851 
852   -cache-file | --cache-file | --cache-fil | --cache-fi \
853   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
854     ac_prev=cache_file ;;
855   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
856   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
857     cache_file=$ac_optarg ;;
858 
859   --config-cache | -C)
860     cache_file=config.cache ;;
861 
862   -datadir | --datadir | --datadi | --datad)
863     ac_prev=datadir ;;
864   -datadir=* | --datadir=* | --datadi=* | --datad=*)
865     datadir=$ac_optarg ;;
866 
867   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
868   | --dataroo | --dataro | --datar)
869     ac_prev=datarootdir ;;
870   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
871   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
872     datarootdir=$ac_optarg ;;
873 
874   -disable-* | --disable-*)
875     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
876     # Reject names that are not valid shell variable names.
877     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
878       as_fn_error $? "invalid feature name: $ac_useropt"
879     ac_useropt_orig=$ac_useropt
880     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
881     case $ac_user_opts in
882       *"
883 "enable_$ac_useropt"
884 "*) ;;
885       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
886 	 ac_unrecognized_sep=', ';;
887     esac
888     eval enable_$ac_useropt=no ;;
889 
890   -docdir | --docdir | --docdi | --doc | --do)
891     ac_prev=docdir ;;
892   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
893     docdir=$ac_optarg ;;
894 
895   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
896     ac_prev=dvidir ;;
897   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
898     dvidir=$ac_optarg ;;
899 
900   -enable-* | --enable-*)
901     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
902     # Reject names that are not valid shell variable names.
903     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
904       as_fn_error $? "invalid feature name: $ac_useropt"
905     ac_useropt_orig=$ac_useropt
906     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
907     case $ac_user_opts in
908       *"
909 "enable_$ac_useropt"
910 "*) ;;
911       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
912 	 ac_unrecognized_sep=', ';;
913     esac
914     eval enable_$ac_useropt=\$ac_optarg ;;
915 
916   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
917   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
918   | --exec | --exe | --ex)
919     ac_prev=exec_prefix ;;
920   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
921   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
922   | --exec=* | --exe=* | --ex=*)
923     exec_prefix=$ac_optarg ;;
924 
925   -gas | --gas | --ga | --g)
926     # Obsolete; use --with-gas.
927     with_gas=yes ;;
928 
929   -help | --help | --hel | --he | -h)
930     ac_init_help=long ;;
931   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
932     ac_init_help=recursive ;;
933   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
934     ac_init_help=short ;;
935 
936   -host | --host | --hos | --ho)
937     ac_prev=host_alias ;;
938   -host=* | --host=* | --hos=* | --ho=*)
939     host_alias=$ac_optarg ;;
940 
941   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
942     ac_prev=htmldir ;;
943   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
944   | --ht=*)
945     htmldir=$ac_optarg ;;
946 
947   -includedir | --includedir | --includedi | --included | --include \
948   | --includ | --inclu | --incl | --inc)
949     ac_prev=includedir ;;
950   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
951   | --includ=* | --inclu=* | --incl=* | --inc=*)
952     includedir=$ac_optarg ;;
953 
954   -infodir | --infodir | --infodi | --infod | --info | --inf)
955     ac_prev=infodir ;;
956   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
957     infodir=$ac_optarg ;;
958 
959   -libdir | --libdir | --libdi | --libd)
960     ac_prev=libdir ;;
961   -libdir=* | --libdir=* | --libdi=* | --libd=*)
962     libdir=$ac_optarg ;;
963 
964   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
965   | --libexe | --libex | --libe)
966     ac_prev=libexecdir ;;
967   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
968   | --libexe=* | --libex=* | --libe=*)
969     libexecdir=$ac_optarg ;;
970 
971   -localedir | --localedir | --localedi | --localed | --locale)
972     ac_prev=localedir ;;
973   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
974     localedir=$ac_optarg ;;
975 
976   -localstatedir | --localstatedir | --localstatedi | --localstated \
977   | --localstate | --localstat | --localsta | --localst | --locals)
978     ac_prev=localstatedir ;;
979   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
980   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
981     localstatedir=$ac_optarg ;;
982 
983   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
984     ac_prev=mandir ;;
985   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
986     mandir=$ac_optarg ;;
987 
988   -nfp | --nfp | --nf)
989     # Obsolete; use --without-fp.
990     with_fp=no ;;
991 
992   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
993   | --no-cr | --no-c | -n)
994     no_create=yes ;;
995 
996   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
997   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
998     no_recursion=yes ;;
999 
1000   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1001   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1002   | --oldin | --oldi | --old | --ol | --o)
1003     ac_prev=oldincludedir ;;
1004   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1005   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1006   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1007     oldincludedir=$ac_optarg ;;
1008 
1009   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1010     ac_prev=prefix ;;
1011   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1012     prefix=$ac_optarg ;;
1013 
1014   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1015   | --program-pre | --program-pr | --program-p)
1016     ac_prev=program_prefix ;;
1017   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1018   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1019     program_prefix=$ac_optarg ;;
1020 
1021   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1022   | --program-suf | --program-su | --program-s)
1023     ac_prev=program_suffix ;;
1024   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1025   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1026     program_suffix=$ac_optarg ;;
1027 
1028   -program-transform-name | --program-transform-name \
1029   | --program-transform-nam | --program-transform-na \
1030   | --program-transform-n | --program-transform- \
1031   | --program-transform | --program-transfor \
1032   | --program-transfo | --program-transf \
1033   | --program-trans | --program-tran \
1034   | --progr-tra | --program-tr | --program-t)
1035     ac_prev=program_transform_name ;;
1036   -program-transform-name=* | --program-transform-name=* \
1037   | --program-transform-nam=* | --program-transform-na=* \
1038   | --program-transform-n=* | --program-transform-=* \
1039   | --program-transform=* | --program-transfor=* \
1040   | --program-transfo=* | --program-transf=* \
1041   | --program-trans=* | --program-tran=* \
1042   | --progr-tra=* | --program-tr=* | --program-t=*)
1043     program_transform_name=$ac_optarg ;;
1044 
1045   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1046     ac_prev=pdfdir ;;
1047   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1048     pdfdir=$ac_optarg ;;
1049 
1050   -psdir | --psdir | --psdi | --psd | --ps)
1051     ac_prev=psdir ;;
1052   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1053     psdir=$ac_optarg ;;
1054 
1055   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1056   | -silent | --silent | --silen | --sile | --sil)
1057     silent=yes ;;
1058 
1059   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1060     ac_prev=sbindir ;;
1061   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1062   | --sbi=* | --sb=*)
1063     sbindir=$ac_optarg ;;
1064 
1065   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1066   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1067   | --sharedst | --shareds | --shared | --share | --shar \
1068   | --sha | --sh)
1069     ac_prev=sharedstatedir ;;
1070   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1071   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1072   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1073   | --sha=* | --sh=*)
1074     sharedstatedir=$ac_optarg ;;
1075 
1076   -site | --site | --sit)
1077     ac_prev=site ;;
1078   -site=* | --site=* | --sit=*)
1079     site=$ac_optarg ;;
1080 
1081   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1082     ac_prev=srcdir ;;
1083   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1084     srcdir=$ac_optarg ;;
1085 
1086   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1087   | --syscon | --sysco | --sysc | --sys | --sy)
1088     ac_prev=sysconfdir ;;
1089   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1090   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1091     sysconfdir=$ac_optarg ;;
1092 
1093   -target | --target | --targe | --targ | --tar | --ta | --t)
1094     ac_prev=target_alias ;;
1095   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1096     target_alias=$ac_optarg ;;
1097 
1098   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1099     verbose=yes ;;
1100 
1101   -version | --version | --versio | --versi | --vers | -V)
1102     ac_init_version=: ;;
1103 
1104   -with-* | --with-*)
1105     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1106     # Reject names that are not valid shell variable names.
1107     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1108       as_fn_error $? "invalid package name: $ac_useropt"
1109     ac_useropt_orig=$ac_useropt
1110     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1111     case $ac_user_opts in
1112       *"
1113 "with_$ac_useropt"
1114 "*) ;;
1115       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1116 	 ac_unrecognized_sep=', ';;
1117     esac
1118     eval with_$ac_useropt=\$ac_optarg ;;
1119 
1120   -without-* | --without-*)
1121     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1122     # Reject names that are not valid shell variable names.
1123     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1124       as_fn_error $? "invalid package name: $ac_useropt"
1125     ac_useropt_orig=$ac_useropt
1126     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1127     case $ac_user_opts in
1128       *"
1129 "with_$ac_useropt"
1130 "*) ;;
1131       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1132 	 ac_unrecognized_sep=', ';;
1133     esac
1134     eval with_$ac_useropt=no ;;
1135 
1136   --x)
1137     # Obsolete; use --with-x.
1138     with_x=yes ;;
1139 
1140   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1141   | --x-incl | --x-inc | --x-in | --x-i)
1142     ac_prev=x_includes ;;
1143   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1144   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1145     x_includes=$ac_optarg ;;
1146 
1147   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1148   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1149     ac_prev=x_libraries ;;
1150   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1151   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1152     x_libraries=$ac_optarg ;;
1153 
1154   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1155 Try \`$0 --help' for more information"
1156     ;;
1157 
1158   *=*)
1159     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1160     # Reject names that are not valid shell variable names.
1161     case $ac_envvar in #(
1162       '' | [0-9]* | *[!_$as_cr_alnum]* )
1163       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1164     esac
1165     eval $ac_envvar=\$ac_optarg
1166     export $ac_envvar ;;
1167 
1168   *)
1169     # FIXME: should be removed in autoconf 3.0.
1170     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1171     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1172       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1173     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1174     ;;
1175 
1176   esac
1177 done
1178 
1179 if test -n "$ac_prev"; then
1180   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1181   as_fn_error $? "missing argument to $ac_option"
1182 fi
1183 
1184 if test -n "$ac_unrecognized_opts"; then
1185   case $enable_option_checking in
1186     no) ;;
1187     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1188     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1189   esac
1190 fi
1191 
1192 # Check all directory arguments for consistency.
1193 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1194 		datadir sysconfdir sharedstatedir localstatedir includedir \
1195 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1196 		libdir localedir mandir
1197 do
1198   eval ac_val=\$$ac_var
1199   # Remove trailing slashes.
1200   case $ac_val in
1201     */ )
1202       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1203       eval $ac_var=\$ac_val;;
1204   esac
1205   # Be sure to have absolute directory names.
1206   case $ac_val in
1207     [\\/$]* | ?:[\\/]* )  continue;;
1208     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1209   esac
1210   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1211 done
1212 
1213 # There might be people who depend on the old broken behavior: `$host'
1214 # used to hold the argument of --host etc.
1215 # FIXME: To remove some day.
1216 build=$build_alias
1217 host=$host_alias
1218 target=$target_alias
1219 
1220 # FIXME: To remove some day.
1221 if test "x$host_alias" != x; then
1222   if test "x$build_alias" = x; then
1223     cross_compiling=maybe
1224   elif test "x$build_alias" != "x$host_alias"; then
1225     cross_compiling=yes
1226   fi
1227 fi
1228 
1229 ac_tool_prefix=
1230 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1231 
1232 test "$silent" = yes && exec 6>/dev/null
1233 
1234 
1235 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1236 ac_ls_di=`ls -di .` &&
1237 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1238   as_fn_error $? "working directory cannot be determined"
1239 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1240   as_fn_error $? "pwd does not report name of working directory"
1241 
1242 
1243 # Find the source files, if location was not specified.
1244 if test -z "$srcdir"; then
1245   ac_srcdir_defaulted=yes
1246   # Try the directory containing this script, then the parent directory.
1247   ac_confdir=`$as_dirname -- "$as_myself" ||
1248 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1249 	 X"$as_myself" : 'X\(//\)[^/]' \| \
1250 	 X"$as_myself" : 'X\(//\)$' \| \
1251 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1252 $as_echo X"$as_myself" |
1253     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1254 	    s//\1/
1255 	    q
1256 	  }
1257 	  /^X\(\/\/\)[^/].*/{
1258 	    s//\1/
1259 	    q
1260 	  }
1261 	  /^X\(\/\/\)$/{
1262 	    s//\1/
1263 	    q
1264 	  }
1265 	  /^X\(\/\).*/{
1266 	    s//\1/
1267 	    q
1268 	  }
1269 	  s/.*/./; q'`
1270   srcdir=$ac_confdir
1271   if test ! -r "$srcdir/$ac_unique_file"; then
1272     srcdir=..
1273   fi
1274 else
1275   ac_srcdir_defaulted=no
1276 fi
1277 if test ! -r "$srcdir/$ac_unique_file"; then
1278   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1279   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1280 fi
1281 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1282 ac_abs_confdir=`(
1283 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1284 	pwd)`
1285 # When building in place, set srcdir=.
1286 if test "$ac_abs_confdir" = "$ac_pwd"; then
1287   srcdir=.
1288 fi
1289 # Remove unnecessary trailing slashes from srcdir.
1290 # Double slashes in file names in object file debugging info
1291 # mess up M-x gdb in Emacs.
1292 case $srcdir in
1293 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1294 esac
1295 for ac_var in $ac_precious_vars; do
1296   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1297   eval ac_env_${ac_var}_value=\$${ac_var}
1298   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1299   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1300 done
1301 
1302 #
1303 # Report the --help message.
1304 #
1305 if test "$ac_init_help" = "long"; then
1306   # Omit some internal or obsolete options to make the list less imposing.
1307   # This message is too long to be a string in the A/UX 3.1 sh.
1308   cat <<_ACEOF
1309 \`configure' configures libnfnetlink 1.0.1 to adapt to many kinds of systems.
1310 
1311 Usage: $0 [OPTION]... [VAR=VALUE]...
1312 
1313 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1314 VAR=VALUE.  See below for descriptions of some of the useful variables.
1315 
1316 Defaults for the options are specified in brackets.
1317 
1318 Configuration:
1319   -h, --help              display this help and exit
1320       --help=short        display options specific to this package
1321       --help=recursive    display the short help of all the included packages
1322   -V, --version           display version information and exit
1323   -q, --quiet, --silent   do not print \`checking ...' messages
1324       --cache-file=FILE   cache test results in FILE [disabled]
1325   -C, --config-cache      alias for \`--cache-file=config.cache'
1326   -n, --no-create         do not create output files
1327       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1328 
1329 Installation directories:
1330   --prefix=PREFIX         install architecture-independent files in PREFIX
1331                           [$ac_default_prefix]
1332   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1333                           [PREFIX]
1334 
1335 By default, \`make install' will install all the files in
1336 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1337 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1338 for instance \`--prefix=\$HOME'.
1339 
1340 For better control, use the options below.
1341 
1342 Fine tuning of the installation directories:
1343   --bindir=DIR            user executables [EPREFIX/bin]
1344   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1345   --libexecdir=DIR        program executables [EPREFIX/libexec]
1346   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1347   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1348   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1349   --libdir=DIR            object code libraries [EPREFIX/lib]
1350   --includedir=DIR        C header files [PREFIX/include]
1351   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1352   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1353   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1354   --infodir=DIR           info documentation [DATAROOTDIR/info]
1355   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1356   --mandir=DIR            man documentation [DATAROOTDIR/man]
1357   --docdir=DIR            documentation root [DATAROOTDIR/doc/libnfnetlink]
1358   --htmldir=DIR           html documentation [DOCDIR]
1359   --dvidir=DIR            dvi documentation [DOCDIR]
1360   --pdfdir=DIR            pdf documentation [DOCDIR]
1361   --psdir=DIR             ps documentation [DOCDIR]
1362 _ACEOF
1363 
1364   cat <<\_ACEOF
1365 
1366 Program names:
1367   --program-prefix=PREFIX            prepend PREFIX to installed program names
1368   --program-suffix=SUFFIX            append SUFFIX to installed program names
1369   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1370 
1371 System types:
1372   --build=BUILD     configure for building on BUILD [guessed]
1373   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1374 _ACEOF
1375 fi
1376 
1377 if test -n "$ac_init_help"; then
1378   case $ac_init_help in
1379      short | recursive ) echo "Configuration of libnfnetlink 1.0.1:";;
1380    esac
1381   cat <<\_ACEOF
1382 
1383 Optional Features:
1384   --disable-option-checking  ignore unrecognized --enable/--with options
1385   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1386   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1387   --enable-silent-rules          less verbose build output (undo: `make V=1')
1388   --disable-silent-rules         verbose build output (undo: `make V=0')
1389   --disable-dependency-tracking  speeds up one-time build
1390   --enable-dependency-tracking   do not reject slow dependency extractors
1391   --enable-static[=PKGS]  build static libraries [default=no]
1392   --enable-shared[=PKGS]  build shared libraries [default=yes]
1393   --enable-fast-install[=PKGS]
1394                           optimize for fast installation [default=yes]
1395   --disable-libtool-lock  avoid locking (might break parallel builds)
1396 
1397 Optional Packages:
1398   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1399   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1400   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1401                           both]
1402   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1403   --with-sysroot=DIR Search for dependent libraries within DIR
1404                         (or the compiler's sysroot if not specified).
1405 
1406 Some influential environment variables:
1407   CC          C compiler command
1408   CFLAGS      C compiler flags
1409   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1410               nonstandard directory <lib dir>
1411   LIBS        libraries to pass to the linker, e.g. -l<library>
1412   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1413               you have headers in a nonstandard directory <include dir>
1414   CPP         C preprocessor
1415 
1416 Use these variables to override the choices made by `configure' or to help
1417 it to find libraries and programs with nonstandard names/locations.
1418 
1419 Report bugs to the package provider.
1420 _ACEOF
1421 ac_status=$?
1422 fi
1423 
1424 if test "$ac_init_help" = "recursive"; then
1425   # If there are subdirs, report their specific --help.
1426   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1427     test -d "$ac_dir" ||
1428       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1429       continue
1430     ac_builddir=.
1431 
1432 case "$ac_dir" in
1433 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1434 *)
1435   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1436   # A ".." for each directory in $ac_dir_suffix.
1437   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1438   case $ac_top_builddir_sub in
1439   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1440   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1441   esac ;;
1442 esac
1443 ac_abs_top_builddir=$ac_pwd
1444 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1445 # for backward compatibility:
1446 ac_top_builddir=$ac_top_build_prefix
1447 
1448 case $srcdir in
1449   .)  # We are building in place.
1450     ac_srcdir=.
1451     ac_top_srcdir=$ac_top_builddir_sub
1452     ac_abs_top_srcdir=$ac_pwd ;;
1453   [\\/]* | ?:[\\/]* )  # Absolute name.
1454     ac_srcdir=$srcdir$ac_dir_suffix;
1455     ac_top_srcdir=$srcdir
1456     ac_abs_top_srcdir=$srcdir ;;
1457   *) # Relative name.
1458     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1459     ac_top_srcdir=$ac_top_build_prefix$srcdir
1460     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1461 esac
1462 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1463 
1464     cd "$ac_dir" || { ac_status=$?; continue; }
1465     # Check for guested configure.
1466     if test -f "$ac_srcdir/configure.gnu"; then
1467       echo &&
1468       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1469     elif test -f "$ac_srcdir/configure"; then
1470       echo &&
1471       $SHELL "$ac_srcdir/configure" --help=recursive
1472     else
1473       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1474     fi || ac_status=$?
1475     cd "$ac_pwd" || { ac_status=$?; break; }
1476   done
1477 fi
1478 
1479 test -n "$ac_init_help" && exit $ac_status
1480 if $ac_init_version; then
1481   cat <<\_ACEOF
1482 libnfnetlink configure 1.0.1
1483 generated by GNU Autoconf 2.69
1484 
1485 Copyright (C) 2012 Free Software Foundation, Inc.
1486 This configure script is free software; the Free Software Foundation
1487 gives unlimited permission to copy, distribute and modify it.
1488 _ACEOF
1489   exit
1490 fi
1491 
1492 ## ------------------------ ##
1493 ## Autoconf initialization. ##
1494 ## ------------------------ ##
1495 
1496 # ac_fn_c_try_compile LINENO
1497 # --------------------------
1498 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1499 ac_fn_c_try_compile ()
1500 {
1501   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1502   rm -f conftest.$ac_objext
1503   if { { ac_try="$ac_compile"
1504 case "(($ac_try" in
1505   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1506   *) ac_try_echo=$ac_try;;
1507 esac
1508 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1509 $as_echo "$ac_try_echo"; } >&5
1510   (eval "$ac_compile") 2>conftest.err
1511   ac_status=$?
1512   if test -s conftest.err; then
1513     grep -v '^ *+' conftest.err >conftest.er1
1514     cat conftest.er1 >&5
1515     mv -f conftest.er1 conftest.err
1516   fi
1517   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1518   test $ac_status = 0; } && {
1519 	 test -z "$ac_c_werror_flag" ||
1520 	 test ! -s conftest.err
1521        } && test -s conftest.$ac_objext; then :
1522   ac_retval=0
1523 else
1524   $as_echo "$as_me: failed program was:" >&5
1525 sed 's/^/| /' conftest.$ac_ext >&5
1526 
1527 	ac_retval=1
1528 fi
1529   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1530   as_fn_set_status $ac_retval
1531 
1532 } # ac_fn_c_try_compile
1533 
1534 # ac_fn_c_try_link LINENO
1535 # -----------------------
1536 # Try to link conftest.$ac_ext, and return whether this succeeded.
1537 ac_fn_c_try_link ()
1538 {
1539   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1540   rm -f conftest.$ac_objext conftest$ac_exeext
1541   if { { ac_try="$ac_link"
1542 case "(($ac_try" in
1543   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1544   *) ac_try_echo=$ac_try;;
1545 esac
1546 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1547 $as_echo "$ac_try_echo"; } >&5
1548   (eval "$ac_link") 2>conftest.err
1549   ac_status=$?
1550   if test -s conftest.err; then
1551     grep -v '^ *+' conftest.err >conftest.er1
1552     cat conftest.er1 >&5
1553     mv -f conftest.er1 conftest.err
1554   fi
1555   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1556   test $ac_status = 0; } && {
1557 	 test -z "$ac_c_werror_flag" ||
1558 	 test ! -s conftest.err
1559        } && test -s conftest$ac_exeext && {
1560 	 test "$cross_compiling" = yes ||
1561 	 test -x conftest$ac_exeext
1562        }; then :
1563   ac_retval=0
1564 else
1565   $as_echo "$as_me: failed program was:" >&5
1566 sed 's/^/| /' conftest.$ac_ext >&5
1567 
1568 	ac_retval=1
1569 fi
1570   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1571   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1572   # interfere with the next link command; also delete a directory that is
1573   # left behind by Apple's compiler.  We do this before executing the actions.
1574   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1575   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1576   as_fn_set_status $ac_retval
1577 
1578 } # ac_fn_c_try_link
1579 
1580 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1581 # -------------------------------------------------------
1582 # Tests whether HEADER exists and can be compiled using the include files in
1583 # INCLUDES, setting the cache variable VAR accordingly.
1584 ac_fn_c_check_header_compile ()
1585 {
1586   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1587   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1588 $as_echo_n "checking for $2... " >&6; }
1589 if eval \${$3+:} false; then :
1590   $as_echo_n "(cached) " >&6
1591 else
1592   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1593 /* end confdefs.h.  */
1594 $4
1595 #include <$2>
1596 _ACEOF
1597 if ac_fn_c_try_compile "$LINENO"; then :
1598   eval "$3=yes"
1599 else
1600   eval "$3=no"
1601 fi
1602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1603 fi
1604 eval ac_res=\$$3
1605 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1606 $as_echo "$ac_res" >&6; }
1607   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1608 
1609 } # ac_fn_c_check_header_compile
1610 
1611 # ac_fn_c_try_cpp LINENO
1612 # ----------------------
1613 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1614 ac_fn_c_try_cpp ()
1615 {
1616   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1617   if { { ac_try="$ac_cpp conftest.$ac_ext"
1618 case "(($ac_try" in
1619   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1620   *) ac_try_echo=$ac_try;;
1621 esac
1622 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1623 $as_echo "$ac_try_echo"; } >&5
1624   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1625   ac_status=$?
1626   if test -s conftest.err; then
1627     grep -v '^ *+' conftest.err >conftest.er1
1628     cat conftest.er1 >&5
1629     mv -f conftest.er1 conftest.err
1630   fi
1631   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1632   test $ac_status = 0; } > conftest.i && {
1633 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1634 	 test ! -s conftest.err
1635        }; then :
1636   ac_retval=0
1637 else
1638   $as_echo "$as_me: failed program was:" >&5
1639 sed 's/^/| /' conftest.$ac_ext >&5
1640 
1641     ac_retval=1
1642 fi
1643   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1644   as_fn_set_status $ac_retval
1645 
1646 } # ac_fn_c_try_cpp
1647 
1648 # ac_fn_c_try_run LINENO
1649 # ----------------------
1650 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1651 # that executables *can* be run.
1652 ac_fn_c_try_run ()
1653 {
1654   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1655   if { { ac_try="$ac_link"
1656 case "(($ac_try" in
1657   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1658   *) ac_try_echo=$ac_try;;
1659 esac
1660 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1661 $as_echo "$ac_try_echo"; } >&5
1662   (eval "$ac_link") 2>&5
1663   ac_status=$?
1664   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1665   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1666   { { case "(($ac_try" in
1667   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1668   *) ac_try_echo=$ac_try;;
1669 esac
1670 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1671 $as_echo "$ac_try_echo"; } >&5
1672   (eval "$ac_try") 2>&5
1673   ac_status=$?
1674   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1675   test $ac_status = 0; }; }; then :
1676   ac_retval=0
1677 else
1678   $as_echo "$as_me: program exited with status $ac_status" >&5
1679        $as_echo "$as_me: failed program was:" >&5
1680 sed 's/^/| /' conftest.$ac_ext >&5
1681 
1682        ac_retval=$ac_status
1683 fi
1684   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1685   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1686   as_fn_set_status $ac_retval
1687 
1688 } # ac_fn_c_try_run
1689 
1690 # ac_fn_c_check_func LINENO FUNC VAR
1691 # ----------------------------------
1692 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1693 ac_fn_c_check_func ()
1694 {
1695   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1696   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1697 $as_echo_n "checking for $2... " >&6; }
1698 if eval \${$3+:} false; then :
1699   $as_echo_n "(cached) " >&6
1700 else
1701   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1702 /* end confdefs.h.  */
1703 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1704    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1705 #define $2 innocuous_$2
1706 
1707 /* System header to define __stub macros and hopefully few prototypes,
1708     which can conflict with char $2 (); below.
1709     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1710     <limits.h> exists even on freestanding compilers.  */
1711 
1712 #ifdef __STDC__
1713 # include <limits.h>
1714 #else
1715 # include <assert.h>
1716 #endif
1717 
1718 #undef $2
1719 
1720 /* Override any GCC internal prototype to avoid an error.
1721    Use char because int might match the return type of a GCC
1722    builtin and then its argument prototype would still apply.  */
1723 #ifdef __cplusplus
1724 extern "C"
1725 #endif
1726 char $2 ();
1727 /* The GNU C library defines this for functions which it implements
1728     to always fail with ENOSYS.  Some functions are actually named
1729     something starting with __ and the normal name is an alias.  */
1730 #if defined __stub_$2 || defined __stub___$2
1731 choke me
1732 #endif
1733 
1734 int
1735 main ()
1736 {
1737 return $2 ();
1738   ;
1739   return 0;
1740 }
1741 _ACEOF
1742 if ac_fn_c_try_link "$LINENO"; then :
1743   eval "$3=yes"
1744 else
1745   eval "$3=no"
1746 fi
1747 rm -f core conftest.err conftest.$ac_objext \
1748     conftest$ac_exeext conftest.$ac_ext
1749 fi
1750 eval ac_res=\$$3
1751 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1752 $as_echo "$ac_res" >&6; }
1753   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1754 
1755 } # ac_fn_c_check_func
1756 cat >config.log <<_ACEOF
1757 This file contains any messages produced by compilers while
1758 running configure, to aid debugging if configure makes a mistake.
1759 
1760 It was created by libnfnetlink $as_me 1.0.1, which was
1761 generated by GNU Autoconf 2.69.  Invocation command line was
1762 
1763   $ $0 $@
1764 
1765 _ACEOF
1766 exec 5>>config.log
1767 {
1768 cat <<_ASUNAME
1769 ## --------- ##
1770 ## Platform. ##
1771 ## --------- ##
1772 
1773 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1774 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1775 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1776 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1777 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1778 
1779 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1780 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1781 
1782 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1783 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1784 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1785 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1786 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1787 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1788 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1789 
1790 _ASUNAME
1791 
1792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1793 for as_dir in $PATH
1794 do
1795   IFS=$as_save_IFS
1796   test -z "$as_dir" && as_dir=.
1797     $as_echo "PATH: $as_dir"
1798   done
1799 IFS=$as_save_IFS
1800 
1801 } >&5
1802 
1803 cat >&5 <<_ACEOF
1804 
1805 
1806 ## ----------- ##
1807 ## Core tests. ##
1808 ## ----------- ##
1809 
1810 _ACEOF
1811 
1812 
1813 # Keep a trace of the command line.
1814 # Strip out --no-create and --no-recursion so they do not pile up.
1815 # Strip out --silent because we don't want to record it for future runs.
1816 # Also quote any args containing shell meta-characters.
1817 # Make two passes to allow for proper duplicate-argument suppression.
1818 ac_configure_args=
1819 ac_configure_args0=
1820 ac_configure_args1=
1821 ac_must_keep_next=false
1822 for ac_pass in 1 2
1823 do
1824   for ac_arg
1825   do
1826     case $ac_arg in
1827     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1828     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1829     | -silent | --silent | --silen | --sile | --sil)
1830       continue ;;
1831     *\'*)
1832       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1833     esac
1834     case $ac_pass in
1835     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1836     2)
1837       as_fn_append ac_configure_args1 " '$ac_arg'"
1838       if test $ac_must_keep_next = true; then
1839 	ac_must_keep_next=false # Got value, back to normal.
1840       else
1841 	case $ac_arg in
1842 	  *=* | --config-cache | -C | -disable-* | --disable-* \
1843 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1844 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1845 	  | -with-* | --with-* | -without-* | --without-* | --x)
1846 	    case "$ac_configure_args0 " in
1847 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1848 	    esac
1849 	    ;;
1850 	  -* ) ac_must_keep_next=true ;;
1851 	esac
1852       fi
1853       as_fn_append ac_configure_args " '$ac_arg'"
1854       ;;
1855     esac
1856   done
1857 done
1858 { ac_configure_args0=; unset ac_configure_args0;}
1859 { ac_configure_args1=; unset ac_configure_args1;}
1860 
1861 # When interrupted or exit'd, cleanup temporary files, and complete
1862 # config.log.  We remove comments because anyway the quotes in there
1863 # would cause problems or look ugly.
1864 # WARNING: Use '\'' to represent an apostrophe within the trap.
1865 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1866 trap 'exit_status=$?
1867   # Save into config.log some information that might help in debugging.
1868   {
1869     echo
1870 
1871     $as_echo "## ---------------- ##
1872 ## Cache variables. ##
1873 ## ---------------- ##"
1874     echo
1875     # The following way of writing the cache mishandles newlines in values,
1876 (
1877   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1878     eval ac_val=\$$ac_var
1879     case $ac_val in #(
1880     *${as_nl}*)
1881       case $ac_var in #(
1882       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1883 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1884       esac
1885       case $ac_var in #(
1886       _ | IFS | as_nl) ;; #(
1887       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1888       *) { eval $ac_var=; unset $ac_var;} ;;
1889       esac ;;
1890     esac
1891   done
1892   (set) 2>&1 |
1893     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1894     *${as_nl}ac_space=\ *)
1895       sed -n \
1896 	"s/'\''/'\''\\\\'\'''\''/g;
1897 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1898       ;; #(
1899     *)
1900       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1901       ;;
1902     esac |
1903     sort
1904 )
1905     echo
1906 
1907     $as_echo "## ----------------- ##
1908 ## Output variables. ##
1909 ## ----------------- ##"
1910     echo
1911     for ac_var in $ac_subst_vars
1912     do
1913       eval ac_val=\$$ac_var
1914       case $ac_val in
1915       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1916       esac
1917       $as_echo "$ac_var='\''$ac_val'\''"
1918     done | sort
1919     echo
1920 
1921     if test -n "$ac_subst_files"; then
1922       $as_echo "## ------------------- ##
1923 ## File substitutions. ##
1924 ## ------------------- ##"
1925       echo
1926       for ac_var in $ac_subst_files
1927       do
1928 	eval ac_val=\$$ac_var
1929 	case $ac_val in
1930 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1931 	esac
1932 	$as_echo "$ac_var='\''$ac_val'\''"
1933       done | sort
1934       echo
1935     fi
1936 
1937     if test -s confdefs.h; then
1938       $as_echo "## ----------- ##
1939 ## confdefs.h. ##
1940 ## ----------- ##"
1941       echo
1942       cat confdefs.h
1943       echo
1944     fi
1945     test "$ac_signal" != 0 &&
1946       $as_echo "$as_me: caught signal $ac_signal"
1947     $as_echo "$as_me: exit $exit_status"
1948   } >&5
1949   rm -f core *.core core.conftest.* &&
1950     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1951     exit $exit_status
1952 ' 0
1953 for ac_signal in 1 2 13 15; do
1954   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1955 done
1956 ac_signal=0
1957 
1958 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1959 rm -f -r conftest* confdefs.h
1960 
1961 $as_echo "/* confdefs.h */" > confdefs.h
1962 
1963 # Predefined preprocessor variables.
1964 
1965 cat >>confdefs.h <<_ACEOF
1966 #define PACKAGE_NAME "$PACKAGE_NAME"
1967 _ACEOF
1968 
1969 cat >>confdefs.h <<_ACEOF
1970 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1971 _ACEOF
1972 
1973 cat >>confdefs.h <<_ACEOF
1974 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1975 _ACEOF
1976 
1977 cat >>confdefs.h <<_ACEOF
1978 #define PACKAGE_STRING "$PACKAGE_STRING"
1979 _ACEOF
1980 
1981 cat >>confdefs.h <<_ACEOF
1982 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1983 _ACEOF
1984 
1985 cat >>confdefs.h <<_ACEOF
1986 #define PACKAGE_URL "$PACKAGE_URL"
1987 _ACEOF
1988 
1989 
1990 # Let the site file select an alternate cache file if it wants to.
1991 # Prefer an explicitly selected file to automatically selected ones.
1992 ac_site_file1=NONE
1993 ac_site_file2=NONE
1994 if test -n "$CONFIG_SITE"; then
1995   # We do not want a PATH search for config.site.
1996   case $CONFIG_SITE in #((
1997     -*)  ac_site_file1=./$CONFIG_SITE;;
1998     */*) ac_site_file1=$CONFIG_SITE;;
1999     *)   ac_site_file1=./$CONFIG_SITE;;
2000   esac
2001 elif test "x$prefix" != xNONE; then
2002   ac_site_file1=$prefix/share/config.site
2003   ac_site_file2=$prefix/etc/config.site
2004 else
2005   ac_site_file1=$ac_default_prefix/share/config.site
2006   ac_site_file2=$ac_default_prefix/etc/config.site
2007 fi
2008 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2009 do
2010   test "x$ac_site_file" = xNONE && continue
2011   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2012     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2013 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2014     sed 's/^/| /' "$ac_site_file" >&5
2015     . "$ac_site_file" \
2016       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2017 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2018 as_fn_error $? "failed to load site script $ac_site_file
2019 See \`config.log' for more details" "$LINENO" 5; }
2020   fi
2021 done
2022 
2023 if test -r "$cache_file"; then
2024   # Some versions of bash will fail to source /dev/null (special files
2025   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2026   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2027     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2028 $as_echo "$as_me: loading cache $cache_file" >&6;}
2029     case $cache_file in
2030       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2031       *)                      . "./$cache_file";;
2032     esac
2033   fi
2034 else
2035   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2036 $as_echo "$as_me: creating cache $cache_file" >&6;}
2037   >$cache_file
2038 fi
2039 
2040 # Check that the precious variables saved in the cache have kept the same
2041 # value.
2042 ac_cache_corrupted=false
2043 for ac_var in $ac_precious_vars; do
2044   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2045   eval ac_new_set=\$ac_env_${ac_var}_set
2046   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2047   eval ac_new_val=\$ac_env_${ac_var}_value
2048   case $ac_old_set,$ac_new_set in
2049     set,)
2050       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2051 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2052       ac_cache_corrupted=: ;;
2053     ,set)
2054       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2055 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2056       ac_cache_corrupted=: ;;
2057     ,);;
2058     *)
2059       if test "x$ac_old_val" != "x$ac_new_val"; then
2060 	# differences in whitespace do not lead to failure.
2061 	ac_old_val_w=`echo x $ac_old_val`
2062 	ac_new_val_w=`echo x $ac_new_val`
2063 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2064 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2065 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2066 	  ac_cache_corrupted=:
2067 	else
2068 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2069 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2070 	  eval $ac_var=\$ac_old_val
2071 	fi
2072 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2073 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2074 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2075 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2076       fi;;
2077   esac
2078   # Pass precious variables to config.status.
2079   if test "$ac_new_set" = set; then
2080     case $ac_new_val in
2081     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2082     *) ac_arg=$ac_var=$ac_new_val ;;
2083     esac
2084     case " $ac_configure_args " in
2085       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2086       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2087     esac
2088   fi
2089 done
2090 if $ac_cache_corrupted; then
2091   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2092 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2093   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2094 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2095   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2096 fi
2097 ## -------------------- ##
2098 ## Main body of script. ##
2099 ## -------------------- ##
2100 
2101 ac_ext=c
2102 ac_cpp='$CPP $CPPFLAGS'
2103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2106 
2107 
2108 ac_aux_dir=
2109 for ac_dir in build-aux "$srcdir"/build-aux; do
2110   if test -f "$ac_dir/install-sh"; then
2111     ac_aux_dir=$ac_dir
2112     ac_install_sh="$ac_aux_dir/install-sh -c"
2113     break
2114   elif test -f "$ac_dir/install.sh"; then
2115     ac_aux_dir=$ac_dir
2116     ac_install_sh="$ac_aux_dir/install.sh -c"
2117     break
2118   elif test -f "$ac_dir/shtool"; then
2119     ac_aux_dir=$ac_dir
2120     ac_install_sh="$ac_aux_dir/shtool install -c"
2121     break
2122   fi
2123 done
2124 if test -z "$ac_aux_dir"; then
2125   as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2126 fi
2127 
2128 # These three variables are undocumented and unsupported,
2129 # and are intended to be withdrawn in a future Autoconf release.
2130 # They can cause serious problems if a builder's source tree is in a directory
2131 # whose full name contains unusual characters.
2132 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2133 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2134 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2135 
2136 
2137 
2138 # Make sure we can run config.sub.
2139 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2140   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2141 
2142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2143 $as_echo_n "checking build system type... " >&6; }
2144 if ${ac_cv_build+:} false; then :
2145   $as_echo_n "(cached) " >&6
2146 else
2147   ac_build_alias=$build_alias
2148 test "x$ac_build_alias" = x &&
2149   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2150 test "x$ac_build_alias" = x &&
2151   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2152 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2153   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2154 
2155 fi
2156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2157 $as_echo "$ac_cv_build" >&6; }
2158 case $ac_cv_build in
2159 *-*-*) ;;
2160 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2161 esac
2162 build=$ac_cv_build
2163 ac_save_IFS=$IFS; IFS='-'
2164 set x $ac_cv_build
2165 shift
2166 build_cpu=$1
2167 build_vendor=$2
2168 shift; shift
2169 # Remember, the first character of IFS is used to create $*,
2170 # except with old shells:
2171 build_os=$*
2172 IFS=$ac_save_IFS
2173 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2174 
2175 
2176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2177 $as_echo_n "checking host system type... " >&6; }
2178 if ${ac_cv_host+:} false; then :
2179   $as_echo_n "(cached) " >&6
2180 else
2181   if test "x$host_alias" = x; then
2182   ac_cv_host=$ac_cv_build
2183 else
2184   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2185     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2186 fi
2187 
2188 fi
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2190 $as_echo "$ac_cv_host" >&6; }
2191 case $ac_cv_host in
2192 *-*-*) ;;
2193 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2194 esac
2195 host=$ac_cv_host
2196 ac_save_IFS=$IFS; IFS='-'
2197 set x $ac_cv_host
2198 shift
2199 host_cpu=$1
2200 host_vendor=$2
2201 shift; shift
2202 # Remember, the first character of IFS is used to create $*,
2203 # except with old shells:
2204 host_os=$*
2205 IFS=$ac_save_IFS
2206 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2207 
2208 
2209 
2210 am__api_version='1.11'
2211 
2212 # Find a good install program.  We prefer a C program (faster),
2213 # so one script is as good as another.  But avoid the broken or
2214 # incompatible versions:
2215 # SysV /etc/install, /usr/sbin/install
2216 # SunOS /usr/etc/install
2217 # IRIX /sbin/install
2218 # AIX /bin/install
2219 # AmigaOS /C/install, which installs bootblocks on floppy discs
2220 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2221 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2222 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2223 # OS/2's system install, which has a completely different semantic
2224 # ./install, which can be erroneously created by make from ./install.sh.
2225 # Reject install programs that cannot install multiple files.
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2227 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2228 if test -z "$INSTALL"; then
2229 if ${ac_cv_path_install+:} false; then :
2230   $as_echo_n "(cached) " >&6
2231 else
2232   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2233 for as_dir in $PATH
2234 do
2235   IFS=$as_save_IFS
2236   test -z "$as_dir" && as_dir=.
2237     # Account for people who put trailing slashes in PATH elements.
2238 case $as_dir/ in #((
2239   ./ | .// | /[cC]/* | \
2240   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2241   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2242   /usr/ucb/* ) ;;
2243   *)
2244     # OSF1 and SCO ODT 3.0 have their own names for install.
2245     # Don't use installbsd from OSF since it installs stuff as root
2246     # by default.
2247     for ac_prog in ginstall scoinst install; do
2248       for ac_exec_ext in '' $ac_executable_extensions; do
2249 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2250 	  if test $ac_prog = install &&
2251 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2252 	    # AIX install.  It has an incompatible calling convention.
2253 	    :
2254 	  elif test $ac_prog = install &&
2255 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2256 	    # program-specific install script used by HP pwplus--don't use.
2257 	    :
2258 	  else
2259 	    rm -rf conftest.one conftest.two conftest.dir
2260 	    echo one > conftest.one
2261 	    echo two > conftest.two
2262 	    mkdir conftest.dir
2263 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2264 	      test -s conftest.one && test -s conftest.two &&
2265 	      test -s conftest.dir/conftest.one &&
2266 	      test -s conftest.dir/conftest.two
2267 	    then
2268 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2269 	      break 3
2270 	    fi
2271 	  fi
2272 	fi
2273       done
2274     done
2275     ;;
2276 esac
2277 
2278   done
2279 IFS=$as_save_IFS
2280 
2281 rm -rf conftest.one conftest.two conftest.dir
2282 
2283 fi
2284   if test "${ac_cv_path_install+set}" = set; then
2285     INSTALL=$ac_cv_path_install
2286   else
2287     # As a last resort, use the slow shell script.  Don't cache a
2288     # value for INSTALL within a source directory, because that will
2289     # break other packages using the cache if that directory is
2290     # removed, or if the value is a relative name.
2291     INSTALL=$ac_install_sh
2292   fi
2293 fi
2294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2295 $as_echo "$INSTALL" >&6; }
2296 
2297 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2298 # It thinks the first close brace ends the variable substitution.
2299 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2300 
2301 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2302 
2303 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2304 
2305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2306 $as_echo_n "checking whether build environment is sane... " >&6; }
2307 # Just in case
2308 sleep 1
2309 echo timestamp > conftest.file
2310 # Reject unsafe characters in $srcdir or the absolute working directory
2311 # name.  Accept space and tab only in the latter.
2312 am_lf='
2313 '
2314 case `pwd` in
2315   *[\\\"\#\$\&\'\`$am_lf]*)
2316     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2317 esac
2318 case $srcdir in
2319   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2320     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2321 esac
2322 
2323 # Do `set' in a subshell so we don't clobber the current shell's
2324 # arguments.  Must try -L first in case configure is actually a
2325 # symlink; some systems play weird games with the mod time of symlinks
2326 # (eg FreeBSD returns the mod time of the symlink's containing
2327 # directory).
2328 if (
2329    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2330    if test "$*" = "X"; then
2331       # -L didn't work.
2332       set X `ls -t "$srcdir/configure" conftest.file`
2333    fi
2334    rm -f conftest.file
2335    if test "$*" != "X $srcdir/configure conftest.file" \
2336       && test "$*" != "X conftest.file $srcdir/configure"; then
2337 
2338       # If neither matched, then we have a broken ls.  This can happen
2339       # if, for instance, CONFIG_SHELL is bash and it inherits a
2340       # broken ls alias from the environment.  This has actually
2341       # happened.  Such a system could not be considered "sane".
2342       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2343 alias in your environment" "$LINENO" 5
2344    fi
2345 
2346    test "$2" = conftest.file
2347    )
2348 then
2349    # Ok.
2350    :
2351 else
2352    as_fn_error $? "newly created file is older than distributed files!
2353 Check your system clock" "$LINENO" 5
2354 fi
2355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2356 $as_echo "yes" >&6; }
2357 test "$program_prefix" != NONE &&
2358   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2359 # Use a double $ so make ignores it.
2360 test "$program_suffix" != NONE &&
2361   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2362 # Double any \ or $.
2363 # By default was `s,x,x', remove it if useless.
2364 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2365 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2366 
2367 # expand $ac_aux_dir to an absolute path
2368 am_aux_dir=`cd $ac_aux_dir && pwd`
2369 
2370 if test x"${MISSING+set}" != xset; then
2371   case $am_aux_dir in
2372   *\ * | *\	*)
2373     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2374   *)
2375     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2376   esac
2377 fi
2378 # Use eval to expand $SHELL
2379 if eval "$MISSING --run true"; then
2380   am_missing_run="$MISSING --run "
2381 else
2382   am_missing_run=
2383   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2384 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2385 fi
2386 
2387 if test x"${install_sh}" != xset; then
2388   case $am_aux_dir in
2389   *\ * | *\	*)
2390     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2391   *)
2392     install_sh="\${SHELL} $am_aux_dir/install-sh"
2393   esac
2394 fi
2395 
2396 # Installed binaries are usually stripped using `strip' when the user
2397 # run `make install-strip'.  However `strip' might not be the right
2398 # tool to use in cross-compilation environments, therefore Automake
2399 # will honor the `STRIP' environment variable to overrule this program.
2400 if test "$cross_compiling" != no; then
2401   if test -n "$ac_tool_prefix"; then
2402   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2403 set dummy ${ac_tool_prefix}strip; ac_word=$2
2404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2405 $as_echo_n "checking for $ac_word... " >&6; }
2406 if ${ac_cv_prog_STRIP+:} false; then :
2407   $as_echo_n "(cached) " >&6
2408 else
2409   if test -n "$STRIP"; then
2410   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2411 else
2412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2413 for as_dir in $PATH
2414 do
2415   IFS=$as_save_IFS
2416   test -z "$as_dir" && as_dir=.
2417     for ac_exec_ext in '' $ac_executable_extensions; do
2418   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2419     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2420     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2421     break 2
2422   fi
2423 done
2424   done
2425 IFS=$as_save_IFS
2426 
2427 fi
2428 fi
2429 STRIP=$ac_cv_prog_STRIP
2430 if test -n "$STRIP"; then
2431   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2432 $as_echo "$STRIP" >&6; }
2433 else
2434   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2435 $as_echo "no" >&6; }
2436 fi
2437 
2438 
2439 fi
2440 if test -z "$ac_cv_prog_STRIP"; then
2441   ac_ct_STRIP=$STRIP
2442   # Extract the first word of "strip", so it can be a program name with args.
2443 set dummy strip; ac_word=$2
2444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2445 $as_echo_n "checking for $ac_word... " >&6; }
2446 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2447   $as_echo_n "(cached) " >&6
2448 else
2449   if test -n "$ac_ct_STRIP"; then
2450   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2451 else
2452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2453 for as_dir in $PATH
2454 do
2455   IFS=$as_save_IFS
2456   test -z "$as_dir" && as_dir=.
2457     for ac_exec_ext in '' $ac_executable_extensions; do
2458   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2459     ac_cv_prog_ac_ct_STRIP="strip"
2460     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2461     break 2
2462   fi
2463 done
2464   done
2465 IFS=$as_save_IFS
2466 
2467 fi
2468 fi
2469 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2470 if test -n "$ac_ct_STRIP"; then
2471   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2472 $as_echo "$ac_ct_STRIP" >&6; }
2473 else
2474   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2475 $as_echo "no" >&6; }
2476 fi
2477 
2478   if test "x$ac_ct_STRIP" = x; then
2479     STRIP=":"
2480   else
2481     case $cross_compiling:$ac_tool_warned in
2482 yes:)
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2484 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2485 ac_tool_warned=yes ;;
2486 esac
2487     STRIP=$ac_ct_STRIP
2488   fi
2489 else
2490   STRIP="$ac_cv_prog_STRIP"
2491 fi
2492 
2493 fi
2494 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2495 
2496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2497 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2498 if test -z "$MKDIR_P"; then
2499   if ${ac_cv_path_mkdir+:} false; then :
2500   $as_echo_n "(cached) " >&6
2501 else
2502   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2503 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2504 do
2505   IFS=$as_save_IFS
2506   test -z "$as_dir" && as_dir=.
2507     for ac_prog in mkdir gmkdir; do
2508 	 for ac_exec_ext in '' $ac_executable_extensions; do
2509 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2510 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2511 	     'mkdir (GNU coreutils) '* | \
2512 	     'mkdir (coreutils) '* | \
2513 	     'mkdir (fileutils) '4.1*)
2514 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2515 	       break 3;;
2516 	   esac
2517 	 done
2518        done
2519   done
2520 IFS=$as_save_IFS
2521 
2522 fi
2523 
2524   test -d ./--version && rmdir ./--version
2525   if test "${ac_cv_path_mkdir+set}" = set; then
2526     MKDIR_P="$ac_cv_path_mkdir -p"
2527   else
2528     # As a last resort, use the slow shell script.  Don't cache a
2529     # value for MKDIR_P within a source directory, because that will
2530     # break other packages using the cache if that directory is
2531     # removed, or if the value is a relative name.
2532     MKDIR_P="$ac_install_sh -d"
2533   fi
2534 fi
2535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2536 $as_echo "$MKDIR_P" >&6; }
2537 
2538 mkdir_p="$MKDIR_P"
2539 case $mkdir_p in
2540   [\\/$]* | ?:[\\/]*) ;;
2541   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2542 esac
2543 
2544 for ac_prog in gawk mawk nawk awk
2545 do
2546   # Extract the first word of "$ac_prog", so it can be a program name with args.
2547 set dummy $ac_prog; ac_word=$2
2548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2549 $as_echo_n "checking for $ac_word... " >&6; }
2550 if ${ac_cv_prog_AWK+:} false; then :
2551   $as_echo_n "(cached) " >&6
2552 else
2553   if test -n "$AWK"; then
2554   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2555 else
2556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2557 for as_dir in $PATH
2558 do
2559   IFS=$as_save_IFS
2560   test -z "$as_dir" && as_dir=.
2561     for ac_exec_ext in '' $ac_executable_extensions; do
2562   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2563     ac_cv_prog_AWK="$ac_prog"
2564     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2565     break 2
2566   fi
2567 done
2568   done
2569 IFS=$as_save_IFS
2570 
2571 fi
2572 fi
2573 AWK=$ac_cv_prog_AWK
2574 if test -n "$AWK"; then
2575   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2576 $as_echo "$AWK" >&6; }
2577 else
2578   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2579 $as_echo "no" >&6; }
2580 fi
2581 
2582 
2583   test -n "$AWK" && break
2584 done
2585 
2586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2587 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2588 set x ${MAKE-make}
2589 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2590 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2591   $as_echo_n "(cached) " >&6
2592 else
2593   cat >conftest.make <<\_ACEOF
2594 SHELL = /bin/sh
2595 all:
2596 	@echo '@@@%%%=$(MAKE)=@@@%%%'
2597 _ACEOF
2598 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2599 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2600   *@@@%%%=?*=@@@%%%*)
2601     eval ac_cv_prog_make_${ac_make}_set=yes;;
2602   *)
2603     eval ac_cv_prog_make_${ac_make}_set=no;;
2604 esac
2605 rm -f conftest.make
2606 fi
2607 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2608   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2609 $as_echo "yes" >&6; }
2610   SET_MAKE=
2611 else
2612   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2613 $as_echo "no" >&6; }
2614   SET_MAKE="MAKE=${MAKE-make}"
2615 fi
2616 
2617 rm -rf .tst 2>/dev/null
2618 mkdir .tst 2>/dev/null
2619 if test -d .tst; then
2620   am__leading_dot=.
2621 else
2622   am__leading_dot=_
2623 fi
2624 rmdir .tst 2>/dev/null
2625 
2626 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2627   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2628   # is not polluted with repeated "-I."
2629   am__isrc=' -I$(srcdir)'
2630   # test to see if srcdir already configured
2631   if test -f $srcdir/config.status; then
2632     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2633   fi
2634 fi
2635 
2636 # test whether we have cygpath
2637 if test -z "$CYGPATH_W"; then
2638   if (cygpath --version) >/dev/null 2>/dev/null; then
2639     CYGPATH_W='cygpath -w'
2640   else
2641     CYGPATH_W=echo
2642   fi
2643 fi
2644 
2645 
2646 # Define the identity of the package.
2647  PACKAGE='libnfnetlink'
2648  VERSION='1.0.1'
2649 
2650 
2651 cat >>confdefs.h <<_ACEOF
2652 #define PACKAGE "$PACKAGE"
2653 _ACEOF
2654 
2655 
2656 cat >>confdefs.h <<_ACEOF
2657 #define VERSION "$VERSION"
2658 _ACEOF
2659 
2660 # Some tools Automake needs.
2661 
2662 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2663 
2664 
2665 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2666 
2667 
2668 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2669 
2670 
2671 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2672 
2673 
2674 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2675 
2676 # We need awk for the "check" target.  The system "awk" is bad on
2677 # some platforms.
2678 # Always define AMTAR for backward compatibility.  Yes, it's still used
2679 # in the wild :-(  We should find a proper way to deprecate it ...
2680 AMTAR='$${TAR-tar}'
2681 
2682 
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
2684 $as_echo_n "checking how to create a pax tar archive... " >&6; }
2685 # Loop over all known methods to create a tar archive until one works.
2686 _am_tools='gnutar  pax cpio none'
2687 _am_tools=${am_cv_prog_tar_pax-$_am_tools}
2688 # Do not fold the above two line into one, because Tru64 sh and
2689 # Solaris sh will not grok spaces in the rhs of `-'.
2690 for _am_tool in $_am_tools
2691 do
2692   case $_am_tool in
2693   gnutar)
2694     for _am_tar in tar gnutar gtar;
2695     do
2696       { echo "$as_me:$LINENO: $_am_tar --version" >&5
2697    ($_am_tar --version) >&5 2>&5
2698    ac_status=$?
2699    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2700    (exit $ac_status); } && break
2701     done
2702     am__tar="$_am_tar --format=posix -chf - "'"$$tardir"'
2703     am__tar_="$_am_tar --format=posix -chf - "'"$tardir"'
2704     am__untar="$_am_tar -xf -"
2705     ;;
2706   plaintar)
2707     # Must skip GNU tar: if it does not support --format= it doesn't create
2708     # ustar tarball either.
2709     (tar --version) >/dev/null 2>&1 && continue
2710     am__tar='tar chf - "$$tardir"'
2711     am__tar_='tar chf - "$tardir"'
2712     am__untar='tar xf -'
2713     ;;
2714   pax)
2715     am__tar='pax -L -x pax -w "$$tardir"'
2716     am__tar_='pax -L -x pax -w "$tardir"'
2717     am__untar='pax -r'
2718     ;;
2719   cpio)
2720     am__tar='find "$$tardir" -print | cpio -o -H pax -L'
2721     am__tar_='find "$tardir" -print | cpio -o -H pax -L'
2722     am__untar='cpio -i -H pax -d'
2723     ;;
2724   none)
2725     am__tar=false
2726     am__tar_=false
2727     am__untar=false
2728     ;;
2729   esac
2730 
2731   # If the value was cached, stop now.  We just wanted to have am__tar
2732   # and am__untar set.
2733   test -n "${am_cv_prog_tar_pax}" && break
2734 
2735   # tar/untar a dummy directory, and stop if the command works
2736   rm -rf conftest.dir
2737   mkdir conftest.dir
2738   echo GrepMe > conftest.dir/file
2739   { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2740    (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2741    ac_status=$?
2742    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2743    (exit $ac_status); }
2744   rm -rf conftest.dir
2745   if test -s conftest.tar; then
2746     { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2747    ($am__untar <conftest.tar) >&5 2>&5
2748    ac_status=$?
2749    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2750    (exit $ac_status); }
2751     grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2752   fi
2753 done
2754 rm -rf conftest.dir
2755 
2756 if ${am_cv_prog_tar_pax+:} false; then :
2757   $as_echo_n "(cached) " >&6
2758 else
2759   am_cv_prog_tar_pax=$_am_tool
2760 fi
2761 
2762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
2763 $as_echo "$am_cv_prog_tar_pax" >&6; }
2764 
2765 
2766 
2767 
2768 
2769 
2770 # Check whether --enable-silent-rules was given.
2771 if test "${enable_silent_rules+set}" = set; then :
2772   enableval=$enable_silent_rules;
2773 fi
2774 
2775 case $enable_silent_rules in
2776 yes) AM_DEFAULT_VERBOSITY=0;;
2777 no)  AM_DEFAULT_VERBOSITY=1;;
2778 *)   AM_DEFAULT_VERBOSITY=0;;
2779 esac
2780 am_make=${MAKE-make}
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2782 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2783 if ${am_cv_make_support_nested_variables+:} false; then :
2784   $as_echo_n "(cached) " >&6
2785 else
2786   if $as_echo 'TRUE=$(BAR$(V))
2787 BAR0=false
2788 BAR1=true
2789 V=1
2790 am__doit:
2791 	@$(TRUE)
2792 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2793   am_cv_make_support_nested_variables=yes
2794 else
2795   am_cv_make_support_nested_variables=no
2796 fi
2797 fi
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2799 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2800 if test $am_cv_make_support_nested_variables = yes; then
2801     AM_V='$(V)'
2802   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2803 else
2804   AM_V=$AM_DEFAULT_VERBOSITY
2805   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2806 fi
2807 AM_BACKSLASH='\'
2808 
2809 
2810 ac_ext=c
2811 ac_cpp='$CPP $CPPFLAGS'
2812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2815 if test -n "$ac_tool_prefix"; then
2816   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2817 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2819 $as_echo_n "checking for $ac_word... " >&6; }
2820 if ${ac_cv_prog_CC+:} false; then :
2821   $as_echo_n "(cached) " >&6
2822 else
2823   if test -n "$CC"; then
2824   ac_cv_prog_CC="$CC" # Let the user override the test.
2825 else
2826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2827 for as_dir in $PATH
2828 do
2829   IFS=$as_save_IFS
2830   test -z "$as_dir" && as_dir=.
2831     for ac_exec_ext in '' $ac_executable_extensions; do
2832   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2833     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2834     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2835     break 2
2836   fi
2837 done
2838   done
2839 IFS=$as_save_IFS
2840 
2841 fi
2842 fi
2843 CC=$ac_cv_prog_CC
2844 if test -n "$CC"; then
2845   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2846 $as_echo "$CC" >&6; }
2847 else
2848   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2849 $as_echo "no" >&6; }
2850 fi
2851 
2852 
2853 fi
2854 if test -z "$ac_cv_prog_CC"; then
2855   ac_ct_CC=$CC
2856   # Extract the first word of "gcc", so it can be a program name with args.
2857 set dummy gcc; ac_word=$2
2858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2859 $as_echo_n "checking for $ac_word... " >&6; }
2860 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2861   $as_echo_n "(cached) " >&6
2862 else
2863   if test -n "$ac_ct_CC"; then
2864   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2865 else
2866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2867 for as_dir in $PATH
2868 do
2869   IFS=$as_save_IFS
2870   test -z "$as_dir" && as_dir=.
2871     for ac_exec_ext in '' $ac_executable_extensions; do
2872   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2873     ac_cv_prog_ac_ct_CC="gcc"
2874     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2875     break 2
2876   fi
2877 done
2878   done
2879 IFS=$as_save_IFS
2880 
2881 fi
2882 fi
2883 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2884 if test -n "$ac_ct_CC"; then
2885   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2886 $as_echo "$ac_ct_CC" >&6; }
2887 else
2888   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2889 $as_echo "no" >&6; }
2890 fi
2891 
2892   if test "x$ac_ct_CC" = x; then
2893     CC=""
2894   else
2895     case $cross_compiling:$ac_tool_warned in
2896 yes:)
2897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2898 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2899 ac_tool_warned=yes ;;
2900 esac
2901     CC=$ac_ct_CC
2902   fi
2903 else
2904   CC="$ac_cv_prog_CC"
2905 fi
2906 
2907 if test -z "$CC"; then
2908           if test -n "$ac_tool_prefix"; then
2909     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2910 set dummy ${ac_tool_prefix}cc; ac_word=$2
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2912 $as_echo_n "checking for $ac_word... " >&6; }
2913 if ${ac_cv_prog_CC+:} false; then :
2914   $as_echo_n "(cached) " >&6
2915 else
2916   if test -n "$CC"; then
2917   ac_cv_prog_CC="$CC" # Let the user override the test.
2918 else
2919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2920 for as_dir in $PATH
2921 do
2922   IFS=$as_save_IFS
2923   test -z "$as_dir" && as_dir=.
2924     for ac_exec_ext in '' $ac_executable_extensions; do
2925   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2926     ac_cv_prog_CC="${ac_tool_prefix}cc"
2927     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2928     break 2
2929   fi
2930 done
2931   done
2932 IFS=$as_save_IFS
2933 
2934 fi
2935 fi
2936 CC=$ac_cv_prog_CC
2937 if test -n "$CC"; then
2938   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2939 $as_echo "$CC" >&6; }
2940 else
2941   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2942 $as_echo "no" >&6; }
2943 fi
2944 
2945 
2946   fi
2947 fi
2948 if test -z "$CC"; then
2949   # Extract the first word of "cc", so it can be a program name with args.
2950 set dummy cc; ac_word=$2
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2952 $as_echo_n "checking for $ac_word... " >&6; }
2953 if ${ac_cv_prog_CC+:} false; then :
2954   $as_echo_n "(cached) " >&6
2955 else
2956   if test -n "$CC"; then
2957   ac_cv_prog_CC="$CC" # Let the user override the test.
2958 else
2959   ac_prog_rejected=no
2960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2961 for as_dir in $PATH
2962 do
2963   IFS=$as_save_IFS
2964   test -z "$as_dir" && as_dir=.
2965     for ac_exec_ext in '' $ac_executable_extensions; do
2966   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2967     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2968        ac_prog_rejected=yes
2969        continue
2970      fi
2971     ac_cv_prog_CC="cc"
2972     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2973     break 2
2974   fi
2975 done
2976   done
2977 IFS=$as_save_IFS
2978 
2979 if test $ac_prog_rejected = yes; then
2980   # We found a bogon in the path, so make sure we never use it.
2981   set dummy $ac_cv_prog_CC
2982   shift
2983   if test $# != 0; then
2984     # We chose a different compiler from the bogus one.
2985     # However, it has the same basename, so the bogon will be chosen
2986     # first if we set CC to just the basename; use the full file name.
2987     shift
2988     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2989   fi
2990 fi
2991 fi
2992 fi
2993 CC=$ac_cv_prog_CC
2994 if test -n "$CC"; then
2995   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2996 $as_echo "$CC" >&6; }
2997 else
2998   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2999 $as_echo "no" >&6; }
3000 fi
3001 
3002 
3003 fi
3004 if test -z "$CC"; then
3005   if test -n "$ac_tool_prefix"; then
3006   for ac_prog in cl.exe
3007   do
3008     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3009 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3011 $as_echo_n "checking for $ac_word... " >&6; }
3012 if ${ac_cv_prog_CC+:} false; then :
3013   $as_echo_n "(cached) " >&6
3014 else
3015   if test -n "$CC"; then
3016   ac_cv_prog_CC="$CC" # Let the user override the test.
3017 else
3018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3019 for as_dir in $PATH
3020 do
3021   IFS=$as_save_IFS
3022   test -z "$as_dir" && as_dir=.
3023     for ac_exec_ext in '' $ac_executable_extensions; do
3024   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3025     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3026     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3027     break 2
3028   fi
3029 done
3030   done
3031 IFS=$as_save_IFS
3032 
3033 fi
3034 fi
3035 CC=$ac_cv_prog_CC
3036 if test -n "$CC"; then
3037   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3038 $as_echo "$CC" >&6; }
3039 else
3040   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3041 $as_echo "no" >&6; }
3042 fi
3043 
3044 
3045     test -n "$CC" && break
3046   done
3047 fi
3048 if test -z "$CC"; then
3049   ac_ct_CC=$CC
3050   for ac_prog in cl.exe
3051 do
3052   # Extract the first word of "$ac_prog", so it can be a program name with args.
3053 set dummy $ac_prog; ac_word=$2
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3055 $as_echo_n "checking for $ac_word... " >&6; }
3056 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3057   $as_echo_n "(cached) " >&6
3058 else
3059   if test -n "$ac_ct_CC"; then
3060   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3061 else
3062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3063 for as_dir in $PATH
3064 do
3065   IFS=$as_save_IFS
3066   test -z "$as_dir" && as_dir=.
3067     for ac_exec_ext in '' $ac_executable_extensions; do
3068   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3069     ac_cv_prog_ac_ct_CC="$ac_prog"
3070     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3071     break 2
3072   fi
3073 done
3074   done
3075 IFS=$as_save_IFS
3076 
3077 fi
3078 fi
3079 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3080 if test -n "$ac_ct_CC"; then
3081   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3082 $as_echo "$ac_ct_CC" >&6; }
3083 else
3084   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3085 $as_echo "no" >&6; }
3086 fi
3087 
3088 
3089   test -n "$ac_ct_CC" && break
3090 done
3091 
3092   if test "x$ac_ct_CC" = x; then
3093     CC=""
3094   else
3095     case $cross_compiling:$ac_tool_warned in
3096 yes:)
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3098 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3099 ac_tool_warned=yes ;;
3100 esac
3101     CC=$ac_ct_CC
3102   fi
3103 fi
3104 
3105 fi
3106 
3107 
3108 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3109 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3110 as_fn_error $? "no acceptable C compiler found in \$PATH
3111 See \`config.log' for more details" "$LINENO" 5; }
3112 
3113 # Provide some information about the compiler.
3114 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3115 set X $ac_compile
3116 ac_compiler=$2
3117 for ac_option in --version -v -V -qversion; do
3118   { { ac_try="$ac_compiler $ac_option >&5"
3119 case "(($ac_try" in
3120   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3121   *) ac_try_echo=$ac_try;;
3122 esac
3123 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3124 $as_echo "$ac_try_echo"; } >&5
3125   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3126   ac_status=$?
3127   if test -s conftest.err; then
3128     sed '10a\
3129 ... rest of stderr output deleted ...
3130          10q' conftest.err >conftest.er1
3131     cat conftest.er1 >&5
3132   fi
3133   rm -f conftest.er1 conftest.err
3134   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3135   test $ac_status = 0; }
3136 done
3137 
3138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3139 /* end confdefs.h.  */
3140 
3141 int
3142 main ()
3143 {
3144 
3145   ;
3146   return 0;
3147 }
3148 _ACEOF
3149 ac_clean_files_save=$ac_clean_files
3150 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3151 # Try to create an executable without -o first, disregard a.out.
3152 # It will help us diagnose broken compilers, and finding out an intuition
3153 # of exeext.
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3155 $as_echo_n "checking whether the C compiler works... " >&6; }
3156 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3157 
3158 # The possible output files:
3159 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3160 
3161 ac_rmfiles=
3162 for ac_file in $ac_files
3163 do
3164   case $ac_file in
3165     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3166     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3167   esac
3168 done
3169 rm -f $ac_rmfiles
3170 
3171 if { { ac_try="$ac_link_default"
3172 case "(($ac_try" in
3173   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3174   *) ac_try_echo=$ac_try;;
3175 esac
3176 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3177 $as_echo "$ac_try_echo"; } >&5
3178   (eval "$ac_link_default") 2>&5
3179   ac_status=$?
3180   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3181   test $ac_status = 0; }; then :
3182   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3183 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3184 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3185 # so that the user can short-circuit this test for compilers unknown to
3186 # Autoconf.
3187 for ac_file in $ac_files ''
3188 do
3189   test -f "$ac_file" || continue
3190   case $ac_file in
3191     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3192 	;;
3193     [ab].out )
3194 	# We found the default executable, but exeext='' is most
3195 	# certainly right.
3196 	break;;
3197     *.* )
3198 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3199 	then :; else
3200 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3201 	fi
3202 	# We set ac_cv_exeext here because the later test for it is not
3203 	# safe: cross compilers may not add the suffix if given an `-o'
3204 	# argument, so we may need to know it at that point already.
3205 	# Even if this section looks crufty: it has the advantage of
3206 	# actually working.
3207 	break;;
3208     * )
3209 	break;;
3210   esac
3211 done
3212 test "$ac_cv_exeext" = no && ac_cv_exeext=
3213 
3214 else
3215   ac_file=''
3216 fi
3217 if test -z "$ac_file"; then :
3218   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3219 $as_echo "no" >&6; }
3220 $as_echo "$as_me: failed program was:" >&5
3221 sed 's/^/| /' conftest.$ac_ext >&5
3222 
3223 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3224 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3225 as_fn_error 77 "C compiler cannot create executables
3226 See \`config.log' for more details" "$LINENO" 5; }
3227 else
3228   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3229 $as_echo "yes" >&6; }
3230 fi
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3232 $as_echo_n "checking for C compiler default output file name... " >&6; }
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3234 $as_echo "$ac_file" >&6; }
3235 ac_exeext=$ac_cv_exeext
3236 
3237 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3238 ac_clean_files=$ac_clean_files_save
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3240 $as_echo_n "checking for suffix of executables... " >&6; }
3241 if { { ac_try="$ac_link"
3242 case "(($ac_try" in
3243   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3244   *) ac_try_echo=$ac_try;;
3245 esac
3246 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3247 $as_echo "$ac_try_echo"; } >&5
3248   (eval "$ac_link") 2>&5
3249   ac_status=$?
3250   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3251   test $ac_status = 0; }; then :
3252   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3253 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3254 # work properly (i.e., refer to `conftest.exe'), while it won't with
3255 # `rm'.
3256 for ac_file in conftest.exe conftest conftest.*; do
3257   test -f "$ac_file" || continue
3258   case $ac_file in
3259     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3260     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3261 	  break;;
3262     * ) break;;
3263   esac
3264 done
3265 else
3266   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3267 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3268 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3269 See \`config.log' for more details" "$LINENO" 5; }
3270 fi
3271 rm -f conftest conftest$ac_cv_exeext
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3273 $as_echo "$ac_cv_exeext" >&6; }
3274 
3275 rm -f conftest.$ac_ext
3276 EXEEXT=$ac_cv_exeext
3277 ac_exeext=$EXEEXT
3278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3279 /* end confdefs.h.  */
3280 #include <stdio.h>
3281 int
3282 main ()
3283 {
3284 FILE *f = fopen ("conftest.out", "w");
3285  return ferror (f) || fclose (f) != 0;
3286 
3287   ;
3288   return 0;
3289 }
3290 _ACEOF
3291 ac_clean_files="$ac_clean_files conftest.out"
3292 # Check that the compiler produces executables we can run.  If not, either
3293 # the compiler is broken, or we cross compile.
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3295 $as_echo_n "checking whether we are cross compiling... " >&6; }
3296 if test "$cross_compiling" != yes; then
3297   { { ac_try="$ac_link"
3298 case "(($ac_try" in
3299   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3300   *) ac_try_echo=$ac_try;;
3301 esac
3302 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3303 $as_echo "$ac_try_echo"; } >&5
3304   (eval "$ac_link") 2>&5
3305   ac_status=$?
3306   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3307   test $ac_status = 0; }
3308   if { ac_try='./conftest$ac_cv_exeext'
3309   { { case "(($ac_try" in
3310   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3311   *) ac_try_echo=$ac_try;;
3312 esac
3313 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3314 $as_echo "$ac_try_echo"; } >&5
3315   (eval "$ac_try") 2>&5
3316   ac_status=$?
3317   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3318   test $ac_status = 0; }; }; then
3319     cross_compiling=no
3320   else
3321     if test "$cross_compiling" = maybe; then
3322 	cross_compiling=yes
3323     else
3324 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3325 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3326 as_fn_error $? "cannot run C compiled programs.
3327 If you meant to cross compile, use \`--host'.
3328 See \`config.log' for more details" "$LINENO" 5; }
3329     fi
3330   fi
3331 fi
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3333 $as_echo "$cross_compiling" >&6; }
3334 
3335 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3336 ac_clean_files=$ac_clean_files_save
3337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3338 $as_echo_n "checking for suffix of object files... " >&6; }
3339 if ${ac_cv_objext+:} false; then :
3340   $as_echo_n "(cached) " >&6
3341 else
3342   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3343 /* end confdefs.h.  */
3344 
3345 int
3346 main ()
3347 {
3348 
3349   ;
3350   return 0;
3351 }
3352 _ACEOF
3353 rm -f conftest.o conftest.obj
3354 if { { ac_try="$ac_compile"
3355 case "(($ac_try" in
3356   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3357   *) ac_try_echo=$ac_try;;
3358 esac
3359 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3360 $as_echo "$ac_try_echo"; } >&5
3361   (eval "$ac_compile") 2>&5
3362   ac_status=$?
3363   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3364   test $ac_status = 0; }; then :
3365   for ac_file in conftest.o conftest.obj conftest.*; do
3366   test -f "$ac_file" || continue;
3367   case $ac_file in
3368     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3369     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3370        break;;
3371   esac
3372 done
3373 else
3374   $as_echo "$as_me: failed program was:" >&5
3375 sed 's/^/| /' conftest.$ac_ext >&5
3376 
3377 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3378 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3379 as_fn_error $? "cannot compute suffix of object files: cannot compile
3380 See \`config.log' for more details" "$LINENO" 5; }
3381 fi
3382 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3383 fi
3384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3385 $as_echo "$ac_cv_objext" >&6; }
3386 OBJEXT=$ac_cv_objext
3387 ac_objext=$OBJEXT
3388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3389 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3390 if ${ac_cv_c_compiler_gnu+:} false; then :
3391   $as_echo_n "(cached) " >&6
3392 else
3393   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3394 /* end confdefs.h.  */
3395 
3396 int
3397 main ()
3398 {
3399 #ifndef __GNUC__
3400        choke me
3401 #endif
3402 
3403   ;
3404   return 0;
3405 }
3406 _ACEOF
3407 if ac_fn_c_try_compile "$LINENO"; then :
3408   ac_compiler_gnu=yes
3409 else
3410   ac_compiler_gnu=no
3411 fi
3412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3413 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3414 
3415 fi
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3417 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3418 if test $ac_compiler_gnu = yes; then
3419   GCC=yes
3420 else
3421   GCC=
3422 fi
3423 ac_test_CFLAGS=${CFLAGS+set}
3424 ac_save_CFLAGS=$CFLAGS
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3426 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3427 if ${ac_cv_prog_cc_g+:} false; then :
3428   $as_echo_n "(cached) " >&6
3429 else
3430   ac_save_c_werror_flag=$ac_c_werror_flag
3431    ac_c_werror_flag=yes
3432    ac_cv_prog_cc_g=no
3433    CFLAGS="-g"
3434    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3435 /* end confdefs.h.  */
3436 
3437 int
3438 main ()
3439 {
3440 
3441   ;
3442   return 0;
3443 }
3444 _ACEOF
3445 if ac_fn_c_try_compile "$LINENO"; then :
3446   ac_cv_prog_cc_g=yes
3447 else
3448   CFLAGS=""
3449       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3450 /* end confdefs.h.  */
3451 
3452 int
3453 main ()
3454 {
3455 
3456   ;
3457   return 0;
3458 }
3459 _ACEOF
3460 if ac_fn_c_try_compile "$LINENO"; then :
3461 
3462 else
3463   ac_c_werror_flag=$ac_save_c_werror_flag
3464 	 CFLAGS="-g"
3465 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3466 /* end confdefs.h.  */
3467 
3468 int
3469 main ()
3470 {
3471 
3472   ;
3473   return 0;
3474 }
3475 _ACEOF
3476 if ac_fn_c_try_compile "$LINENO"; then :
3477   ac_cv_prog_cc_g=yes
3478 fi
3479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3480 fi
3481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3482 fi
3483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3484    ac_c_werror_flag=$ac_save_c_werror_flag
3485 fi
3486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3487 $as_echo "$ac_cv_prog_cc_g" >&6; }
3488 if test "$ac_test_CFLAGS" = set; then
3489   CFLAGS=$ac_save_CFLAGS
3490 elif test $ac_cv_prog_cc_g = yes; then
3491   if test "$GCC" = yes; then
3492     CFLAGS="-g -O2"
3493   else
3494     CFLAGS="-g"
3495   fi
3496 else
3497   if test "$GCC" = yes; then
3498     CFLAGS="-O2"
3499   else
3500     CFLAGS=
3501   fi
3502 fi
3503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3504 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3505 if ${ac_cv_prog_cc_c89+:} false; then :
3506   $as_echo_n "(cached) " >&6
3507 else
3508   ac_cv_prog_cc_c89=no
3509 ac_save_CC=$CC
3510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3511 /* end confdefs.h.  */
3512 #include <stdarg.h>
3513 #include <stdio.h>
3514 struct stat;
3515 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3516 struct buf { int x; };
3517 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3518 static char *e (p, i)
3519      char **p;
3520      int i;
3521 {
3522   return p[i];
3523 }
3524 static char *f (char * (*g) (char **, int), char **p, ...)
3525 {
3526   char *s;
3527   va_list v;
3528   va_start (v,p);
3529   s = g (p, va_arg (v,int));
3530   va_end (v);
3531   return s;
3532 }
3533 
3534 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3535    function prototypes and stuff, but not '\xHH' hex character constants.
3536    These don't provoke an error unfortunately, instead are silently treated
3537    as 'x'.  The following induces an error, until -std is added to get
3538    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3539    array size at least.  It's necessary to write '\x00'==0 to get something
3540    that's true only with -std.  */
3541 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3542 
3543 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3544    inside strings and character constants.  */
3545 #define FOO(x) 'x'
3546 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3547 
3548 int test (int i, double x);
3549 struct s1 {int (*f) (int a);};
3550 struct s2 {int (*f) (double a);};
3551 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3552 int argc;
3553 char **argv;
3554 int
3555 main ()
3556 {
3557 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3558   ;
3559   return 0;
3560 }
3561 _ACEOF
3562 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3563 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3564 do
3565   CC="$ac_save_CC $ac_arg"
3566   if ac_fn_c_try_compile "$LINENO"; then :
3567   ac_cv_prog_cc_c89=$ac_arg
3568 fi
3569 rm -f core conftest.err conftest.$ac_objext
3570   test "x$ac_cv_prog_cc_c89" != "xno" && break
3571 done
3572 rm -f conftest.$ac_ext
3573 CC=$ac_save_CC
3574 
3575 fi
3576 # AC_CACHE_VAL
3577 case "x$ac_cv_prog_cc_c89" in
3578   x)
3579     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3580 $as_echo "none needed" >&6; } ;;
3581   xno)
3582     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3583 $as_echo "unsupported" >&6; } ;;
3584   *)
3585     CC="$CC $ac_cv_prog_cc_c89"
3586     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3587 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3588 esac
3589 if test "x$ac_cv_prog_cc_c89" != xno; then :
3590 
3591 fi
3592 
3593 ac_ext=c
3594 ac_cpp='$CPP $CPPFLAGS'
3595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3598 DEPDIR="${am__leading_dot}deps"
3599 
3600 ac_config_commands="$ac_config_commands depfiles"
3601 
3602 
3603 am_make=${MAKE-make}
3604 cat > confinc << 'END'
3605 am__doit:
3606 	@echo this is the am__doit target
3607 .PHONY: am__doit
3608 END
3609 # If we don't find an include directive, just comment out the code.
3610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3611 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3612 am__include="#"
3613 am__quote=
3614 _am_result=none
3615 # First try GNU make style include.
3616 echo "include confinc" > confmf
3617 # Ignore all kinds of additional output from `make'.
3618 case `$am_make -s -f confmf 2> /dev/null` in #(
3619 *the\ am__doit\ target*)
3620   am__include=include
3621   am__quote=
3622   _am_result=GNU
3623   ;;
3624 esac
3625 # Now try BSD make style include.
3626 if test "$am__include" = "#"; then
3627    echo '.include "confinc"' > confmf
3628    case `$am_make -s -f confmf 2> /dev/null` in #(
3629    *the\ am__doit\ target*)
3630      am__include=.include
3631      am__quote="\""
3632      _am_result=BSD
3633      ;;
3634    esac
3635 fi
3636 
3637 
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3639 $as_echo "$_am_result" >&6; }
3640 rm -f confinc confmf
3641 
3642 # Check whether --enable-dependency-tracking was given.
3643 if test "${enable_dependency_tracking+set}" = set; then :
3644   enableval=$enable_dependency_tracking;
3645 fi
3646 
3647 if test "x$enable_dependency_tracking" != xno; then
3648   am_depcomp="$ac_aux_dir/depcomp"
3649   AMDEPBACKSLASH='\'
3650   am__nodep='_no'
3651 fi
3652  if test "x$enable_dependency_tracking" != xno; then
3653   AMDEP_TRUE=
3654   AMDEP_FALSE='#'
3655 else
3656   AMDEP_TRUE='#'
3657   AMDEP_FALSE=
3658 fi
3659 
3660 
3661 
3662 depcc="$CC"   am_compiler_list=
3663 
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3665 $as_echo_n "checking dependency style of $depcc... " >&6; }
3666 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3667   $as_echo_n "(cached) " >&6
3668 else
3669   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3670   # We make a subdir and do the tests there.  Otherwise we can end up
3671   # making bogus files that we don't know about and never remove.  For
3672   # instance it was reported that on HP-UX the gcc test will end up
3673   # making a dummy file named `D' -- because `-MD' means `put the output
3674   # in D'.
3675   rm -rf conftest.dir
3676   mkdir conftest.dir
3677   # Copy depcomp to subdir because otherwise we won't find it if we're
3678   # using a relative directory.
3679   cp "$am_depcomp" conftest.dir
3680   cd conftest.dir
3681   # We will build objects and dependencies in a subdirectory because
3682   # it helps to detect inapplicable dependency modes.  For instance
3683   # both Tru64's cc and ICC support -MD to output dependencies as a
3684   # side effect of compilation, but ICC will put the dependencies in
3685   # the current directory while Tru64 will put them in the object
3686   # directory.
3687   mkdir sub
3688 
3689   am_cv_CC_dependencies_compiler_type=none
3690   if test "$am_compiler_list" = ""; then
3691      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3692   fi
3693   am__universal=false
3694   case " $depcc " in #(
3695      *\ -arch\ *\ -arch\ *) am__universal=true ;;
3696      esac
3697 
3698   for depmode in $am_compiler_list; do
3699     # Setup a source with many dependencies, because some compilers
3700     # like to wrap large dependency lists on column 80 (with \), and
3701     # we should not choose a depcomp mode which is confused by this.
3702     #
3703     # We need to recreate these files for each test, as the compiler may
3704     # overwrite some of them when testing with obscure command lines.
3705     # This happens at least with the AIX C compiler.
3706     : > sub/conftest.c
3707     for i in 1 2 3 4 5 6; do
3708       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3709       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3710       # Solaris 8's {/usr,}/bin/sh.
3711       touch sub/conftst$i.h
3712     done
3713     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3714 
3715     # We check with `-c' and `-o' for the sake of the "dashmstdout"
3716     # mode.  It turns out that the SunPro C++ compiler does not properly
3717     # handle `-M -o', and we need to detect this.  Also, some Intel
3718     # versions had trouble with output in subdirs
3719     am__obj=sub/conftest.${OBJEXT-o}
3720     am__minus_obj="-o $am__obj"
3721     case $depmode in
3722     gcc)
3723       # This depmode causes a compiler race in universal mode.
3724       test "$am__universal" = false || continue
3725       ;;
3726     nosideeffect)
3727       # after this tag, mechanisms are not by side-effect, so they'll
3728       # only be used when explicitly requested
3729       if test "x$enable_dependency_tracking" = xyes; then
3730 	continue
3731       else
3732 	break
3733       fi
3734       ;;
3735     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3736       # This compiler won't grok `-c -o', but also, the minuso test has
3737       # not run yet.  These depmodes are late enough in the game, and
3738       # so weak that their functioning should not be impacted.
3739       am__obj=conftest.${OBJEXT-o}
3740       am__minus_obj=
3741       ;;
3742     none) break ;;
3743     esac
3744     if depmode=$depmode \
3745        source=sub/conftest.c object=$am__obj \
3746        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3747        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3748          >/dev/null 2>conftest.err &&
3749        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3750        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3751        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3752        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3753       # icc doesn't choke on unknown options, it will just issue warnings
3754       # or remarks (even with -Werror).  So we grep stderr for any message
3755       # that says an option was ignored or not supported.
3756       # When given -MP, icc 7.0 and 7.1 complain thusly:
3757       #   icc: Command line warning: ignoring option '-M'; no argument required
3758       # The diagnosis changed in icc 8.0:
3759       #   icc: Command line remark: option '-MP' not supported
3760       if (grep 'ignoring option' conftest.err ||
3761           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3762         am_cv_CC_dependencies_compiler_type=$depmode
3763         break
3764       fi
3765     fi
3766   done
3767 
3768   cd ..
3769   rm -rf conftest.dir
3770 else
3771   am_cv_CC_dependencies_compiler_type=none
3772 fi
3773 
3774 fi
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3776 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3777 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3778 
3779  if
3780   test "x$enable_dependency_tracking" != xno \
3781   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3782   am__fastdepCC_TRUE=
3783   am__fastdepCC_FALSE='#'
3784 else
3785   am__fastdepCC_TRUE='#'
3786   am__fastdepCC_FALSE=
3787 fi
3788 
3789 
3790 if test "x$CC" != xcc; then
3791   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
3792 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
3793 else
3794   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
3795 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
3796 fi
3797 set dummy $CC; ac_cc=`$as_echo "$2" |
3798 		      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3799 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
3800   $as_echo_n "(cached) " >&6
3801 else
3802   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3803 /* end confdefs.h.  */
3804 
3805 int
3806 main ()
3807 {
3808 
3809   ;
3810   return 0;
3811 }
3812 _ACEOF
3813 # Make sure it works both with $CC and with simple cc.
3814 # We do the test twice because some compilers refuse to overwrite an
3815 # existing .o file with -o, though they will create one.
3816 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3817 rm -f conftest2.*
3818 if { { case "(($ac_try" in
3819   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3820   *) ac_try_echo=$ac_try;;
3821 esac
3822 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3823 $as_echo "$ac_try_echo"; } >&5
3824   (eval "$ac_try") 2>&5
3825   ac_status=$?
3826   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3827   test $ac_status = 0; } &&
3828    test -f conftest2.$ac_objext && { { case "(($ac_try" in
3829   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3830   *) ac_try_echo=$ac_try;;
3831 esac
3832 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3833 $as_echo "$ac_try_echo"; } >&5
3834   (eval "$ac_try") 2>&5
3835   ac_status=$?
3836   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3837   test $ac_status = 0; };
3838 then
3839   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
3840   if test "x$CC" != xcc; then
3841     # Test first that cc exists at all.
3842     if { ac_try='cc -c conftest.$ac_ext >&5'
3843   { { case "(($ac_try" in
3844   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3845   *) ac_try_echo=$ac_try;;
3846 esac
3847 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3848 $as_echo "$ac_try_echo"; } >&5
3849   (eval "$ac_try") 2>&5
3850   ac_status=$?
3851   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3852   test $ac_status = 0; }; }; then
3853       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3854       rm -f conftest2.*
3855       if { { case "(($ac_try" in
3856   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3857   *) ac_try_echo=$ac_try;;
3858 esac
3859 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3860 $as_echo "$ac_try_echo"; } >&5
3861   (eval "$ac_try") 2>&5
3862   ac_status=$?
3863   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3864   test $ac_status = 0; } &&
3865 	 test -f conftest2.$ac_objext && { { case "(($ac_try" in
3866   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3867   *) ac_try_echo=$ac_try;;
3868 esac
3869 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3870 $as_echo "$ac_try_echo"; } >&5
3871   (eval "$ac_try") 2>&5
3872   ac_status=$?
3873   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3874   test $ac_status = 0; };
3875       then
3876 	# cc works too.
3877 	:
3878       else
3879 	# cc exists but doesn't like -o.
3880 	eval ac_cv_prog_cc_${ac_cc}_c_o=no
3881       fi
3882     fi
3883   fi
3884 else
3885   eval ac_cv_prog_cc_${ac_cc}_c_o=no
3886 fi
3887 rm -f core conftest*
3888 
3889 fi
3890 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
3891   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3892 $as_echo "yes" >&6; }
3893 else
3894   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3895 $as_echo "no" >&6; }
3896 
3897 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
3898 
3899 fi
3900 
3901 # FIXME: we rely on the cache variable name because
3902 # there is no other way.
3903 set dummy $CC
3904 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3905 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
3906 if test "$am_t" != yes; then
3907    # Losing compiler, so override with the script.
3908    # FIXME: It is wrong to rewrite CC.
3909    # But if we don't then we get into trouble of one sort or another.
3910    # A longer-term fix would be to have automake use am__CC in this case,
3911    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3912    CC="$am_aux_dir/compile $CC"
3913 fi
3914 
3915 
3916 # Check whether --enable-static was given.
3917 if test "${enable_static+set}" = set; then :
3918   enableval=$enable_static; p=${PACKAGE-default}
3919     case $enableval in
3920     yes) enable_static=yes ;;
3921     no) enable_static=no ;;
3922     *)
3923      enable_static=no
3924       # Look at the argument we got.  We use all the common list separators.
3925       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3926       for pkg in $enableval; do
3927 	IFS="$lt_save_ifs"
3928 	if test "X$pkg" = "X$p"; then
3929 	  enable_static=yes
3930 	fi
3931       done
3932       IFS="$lt_save_ifs"
3933       ;;
3934     esac
3935 else
3936   enable_static=no
3937 fi
3938 
3939 
3940 
3941 
3942 
3943 
3944 
3945 
3946 
3947 case `pwd` in
3948   *\ * | *\	*)
3949     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3950 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3951 esac
3952 
3953 
3954 
3955 macro_version='2.4.2'
3956 macro_revision='1.3337'
3957 
3958 
3959 
3960 
3961 
3962 
3963 
3964 
3965 
3966 
3967 
3968 
3969 
3970 ltmain="$ac_aux_dir/ltmain.sh"
3971 
3972 # Backslashify metacharacters that are still active within
3973 # double-quoted strings.
3974 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3975 
3976 # Same as above, but do not quote variable references.
3977 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3978 
3979 # Sed substitution to delay expansion of an escaped shell variable in a
3980 # double_quote_subst'ed string.
3981 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3982 
3983 # Sed substitution to delay expansion of an escaped single quote.
3984 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3985 
3986 # Sed substitution to avoid accidental globbing in evaled expressions
3987 no_glob_subst='s/\*/\\\*/g'
3988 
3989 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3990 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3991 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3992 
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3994 $as_echo_n "checking how to print strings... " >&6; }
3995 # Test print first, because it will be a builtin if present.
3996 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3997    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3998   ECHO='print -r --'
3999 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4000   ECHO='printf %s\n'
4001 else
4002   # Use this function as a fallback that always works.
4003   func_fallback_echo ()
4004   {
4005     eval 'cat <<_LTECHO_EOF
4006 $1
4007 _LTECHO_EOF'
4008   }
4009   ECHO='func_fallback_echo'
4010 fi
4011 
4012 # func_echo_all arg...
4013 # Invoke $ECHO with all args, space-separated.
4014 func_echo_all ()
4015 {
4016     $ECHO ""
4017 }
4018 
4019 case "$ECHO" in
4020   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4021 $as_echo "printf" >&6; } ;;
4022   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4023 $as_echo "print -r" >&6; } ;;
4024   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4025 $as_echo "cat" >&6; } ;;
4026 esac
4027 
4028 
4029 
4030 
4031 
4032 
4033 
4034 
4035 
4036 
4037 
4038 
4039 
4040 
4041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4042 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4043 if ${ac_cv_path_SED+:} false; then :
4044   $as_echo_n "(cached) " >&6
4045 else
4046             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4047      for ac_i in 1 2 3 4 5 6 7; do
4048        ac_script="$ac_script$as_nl$ac_script"
4049      done
4050      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4051      { ac_script=; unset ac_script;}
4052      if test -z "$SED"; then
4053   ac_path_SED_found=false
4054   # Loop through the user's path and test for each of PROGNAME-LIST
4055   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4056 for as_dir in $PATH
4057 do
4058   IFS=$as_save_IFS
4059   test -z "$as_dir" && as_dir=.
4060     for ac_prog in sed gsed; do
4061     for ac_exec_ext in '' $ac_executable_extensions; do
4062       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4063       as_fn_executable_p "$ac_path_SED" || continue
4064 # Check for GNU ac_path_SED and select it if it is found.
4065   # Check for GNU $ac_path_SED
4066 case `"$ac_path_SED" --version 2>&1` in
4067 *GNU*)
4068   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4069 *)
4070   ac_count=0
4071   $as_echo_n 0123456789 >"conftest.in"
4072   while :
4073   do
4074     cat "conftest.in" "conftest.in" >"conftest.tmp"
4075     mv "conftest.tmp" "conftest.in"
4076     cp "conftest.in" "conftest.nl"
4077     $as_echo '' >> "conftest.nl"
4078     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4079     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4080     as_fn_arith $ac_count + 1 && ac_count=$as_val
4081     if test $ac_count -gt ${ac_path_SED_max-0}; then
4082       # Best one so far, save it but keep looking for a better one
4083       ac_cv_path_SED="$ac_path_SED"
4084       ac_path_SED_max=$ac_count
4085     fi
4086     # 10*(2^10) chars as input seems more than enough
4087     test $ac_count -gt 10 && break
4088   done
4089   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4090 esac
4091 
4092       $ac_path_SED_found && break 3
4093     done
4094   done
4095   done
4096 IFS=$as_save_IFS
4097   if test -z "$ac_cv_path_SED"; then
4098     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4099   fi
4100 else
4101   ac_cv_path_SED=$SED
4102 fi
4103 
4104 fi
4105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4106 $as_echo "$ac_cv_path_SED" >&6; }
4107  SED="$ac_cv_path_SED"
4108   rm -f conftest.sed
4109 
4110 test -z "$SED" && SED=sed
4111 Xsed="$SED -e 1s/^X//"
4112 
4113 
4114 
4115 
4116 
4117 
4118 
4119 
4120 
4121 
4122 
4123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4124 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4125 if ${ac_cv_path_GREP+:} false; then :
4126   $as_echo_n "(cached) " >&6
4127 else
4128   if test -z "$GREP"; then
4129   ac_path_GREP_found=false
4130   # Loop through the user's path and test for each of PROGNAME-LIST
4131   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4132 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4133 do
4134   IFS=$as_save_IFS
4135   test -z "$as_dir" && as_dir=.
4136     for ac_prog in grep ggrep; do
4137     for ac_exec_ext in '' $ac_executable_extensions; do
4138       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4139       as_fn_executable_p "$ac_path_GREP" || continue
4140 # Check for GNU ac_path_GREP and select it if it is found.
4141   # Check for GNU $ac_path_GREP
4142 case `"$ac_path_GREP" --version 2>&1` in
4143 *GNU*)
4144   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4145 *)
4146   ac_count=0
4147   $as_echo_n 0123456789 >"conftest.in"
4148   while :
4149   do
4150     cat "conftest.in" "conftest.in" >"conftest.tmp"
4151     mv "conftest.tmp" "conftest.in"
4152     cp "conftest.in" "conftest.nl"
4153     $as_echo 'GREP' >> "conftest.nl"
4154     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4155     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4156     as_fn_arith $ac_count + 1 && ac_count=$as_val
4157     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4158       # Best one so far, save it but keep looking for a better one
4159       ac_cv_path_GREP="$ac_path_GREP"
4160       ac_path_GREP_max=$ac_count
4161     fi
4162     # 10*(2^10) chars as input seems more than enough
4163     test $ac_count -gt 10 && break
4164   done
4165   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4166 esac
4167 
4168       $ac_path_GREP_found && break 3
4169     done
4170   done
4171   done
4172 IFS=$as_save_IFS
4173   if test -z "$ac_cv_path_GREP"; then
4174     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4175   fi
4176 else
4177   ac_cv_path_GREP=$GREP
4178 fi
4179 
4180 fi
4181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4182 $as_echo "$ac_cv_path_GREP" >&6; }
4183  GREP="$ac_cv_path_GREP"
4184 
4185 
4186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4187 $as_echo_n "checking for egrep... " >&6; }
4188 if ${ac_cv_path_EGREP+:} false; then :
4189   $as_echo_n "(cached) " >&6
4190 else
4191   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4192    then ac_cv_path_EGREP="$GREP -E"
4193    else
4194      if test -z "$EGREP"; then
4195   ac_path_EGREP_found=false
4196   # Loop through the user's path and test for each of PROGNAME-LIST
4197   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4198 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4199 do
4200   IFS=$as_save_IFS
4201   test -z "$as_dir" && as_dir=.
4202     for ac_prog in egrep; do
4203     for ac_exec_ext in '' $ac_executable_extensions; do
4204       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4205       as_fn_executable_p "$ac_path_EGREP" || continue
4206 # Check for GNU ac_path_EGREP and select it if it is found.
4207   # Check for GNU $ac_path_EGREP
4208 case `"$ac_path_EGREP" --version 2>&1` in
4209 *GNU*)
4210   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4211 *)
4212   ac_count=0
4213   $as_echo_n 0123456789 >"conftest.in"
4214   while :
4215   do
4216     cat "conftest.in" "conftest.in" >"conftest.tmp"
4217     mv "conftest.tmp" "conftest.in"
4218     cp "conftest.in" "conftest.nl"
4219     $as_echo 'EGREP' >> "conftest.nl"
4220     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4221     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4222     as_fn_arith $ac_count + 1 && ac_count=$as_val
4223     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4224       # Best one so far, save it but keep looking for a better one
4225       ac_cv_path_EGREP="$ac_path_EGREP"
4226       ac_path_EGREP_max=$ac_count
4227     fi
4228     # 10*(2^10) chars as input seems more than enough
4229     test $ac_count -gt 10 && break
4230   done
4231   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4232 esac
4233 
4234       $ac_path_EGREP_found && break 3
4235     done
4236   done
4237   done
4238 IFS=$as_save_IFS
4239   if test -z "$ac_cv_path_EGREP"; then
4240     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4241   fi
4242 else
4243   ac_cv_path_EGREP=$EGREP
4244 fi
4245 
4246    fi
4247 fi
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4249 $as_echo "$ac_cv_path_EGREP" >&6; }
4250  EGREP="$ac_cv_path_EGREP"
4251 
4252 
4253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4254 $as_echo_n "checking for fgrep... " >&6; }
4255 if ${ac_cv_path_FGREP+:} false; then :
4256   $as_echo_n "(cached) " >&6
4257 else
4258   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4259    then ac_cv_path_FGREP="$GREP -F"
4260    else
4261      if test -z "$FGREP"; then
4262   ac_path_FGREP_found=false
4263   # Loop through the user's path and test for each of PROGNAME-LIST
4264   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4265 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4266 do
4267   IFS=$as_save_IFS
4268   test -z "$as_dir" && as_dir=.
4269     for ac_prog in fgrep; do
4270     for ac_exec_ext in '' $ac_executable_extensions; do
4271       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4272       as_fn_executable_p "$ac_path_FGREP" || continue
4273 # Check for GNU ac_path_FGREP and select it if it is found.
4274   # Check for GNU $ac_path_FGREP
4275 case `"$ac_path_FGREP" --version 2>&1` in
4276 *GNU*)
4277   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4278 *)
4279   ac_count=0
4280   $as_echo_n 0123456789 >"conftest.in"
4281   while :
4282   do
4283     cat "conftest.in" "conftest.in" >"conftest.tmp"
4284     mv "conftest.tmp" "conftest.in"
4285     cp "conftest.in" "conftest.nl"
4286     $as_echo 'FGREP' >> "conftest.nl"
4287     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4288     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4289     as_fn_arith $ac_count + 1 && ac_count=$as_val
4290     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4291       # Best one so far, save it but keep looking for a better one
4292       ac_cv_path_FGREP="$ac_path_FGREP"
4293       ac_path_FGREP_max=$ac_count
4294     fi
4295     # 10*(2^10) chars as input seems more than enough
4296     test $ac_count -gt 10 && break
4297   done
4298   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4299 esac
4300 
4301       $ac_path_FGREP_found && break 3
4302     done
4303   done
4304   done
4305 IFS=$as_save_IFS
4306   if test -z "$ac_cv_path_FGREP"; then
4307     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4308   fi
4309 else
4310   ac_cv_path_FGREP=$FGREP
4311 fi
4312 
4313    fi
4314 fi
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4316 $as_echo "$ac_cv_path_FGREP" >&6; }
4317  FGREP="$ac_cv_path_FGREP"
4318 
4319 
4320 test -z "$GREP" && GREP=grep
4321 
4322 
4323 
4324 
4325 
4326 
4327 
4328 
4329 
4330 
4331 
4332 
4333 
4334 
4335 
4336 
4337 
4338 
4339 
4340 # Check whether --with-gnu-ld was given.
4341 if test "${with_gnu_ld+set}" = set; then :
4342   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4343 else
4344   with_gnu_ld=no
4345 fi
4346 
4347 ac_prog=ld
4348 if test "$GCC" = yes; then
4349   # Check if gcc -print-prog-name=ld gives a path.
4350   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4351 $as_echo_n "checking for ld used by $CC... " >&6; }
4352   case $host in
4353   *-*-mingw*)
4354     # gcc leaves a trailing carriage return which upsets mingw
4355     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4356   *)
4357     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4358   esac
4359   case $ac_prog in
4360     # Accept absolute paths.
4361     [\\/]* | ?:[\\/]*)
4362       re_direlt='/[^/][^/]*/\.\./'
4363       # Canonicalize the pathname of ld
4364       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4365       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4366 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4367       done
4368       test -z "$LD" && LD="$ac_prog"
4369       ;;
4370   "")
4371     # If it fails, then pretend we aren't using GCC.
4372     ac_prog=ld
4373     ;;
4374   *)
4375     # If it is relative, then search for the first ld in PATH.
4376     with_gnu_ld=unknown
4377     ;;
4378   esac
4379 elif test "$with_gnu_ld" = yes; then
4380   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4381 $as_echo_n "checking for GNU ld... " >&6; }
4382 else
4383   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4384 $as_echo_n "checking for non-GNU ld... " >&6; }
4385 fi
4386 if ${lt_cv_path_LD+:} false; then :
4387   $as_echo_n "(cached) " >&6
4388 else
4389   if test -z "$LD"; then
4390   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4391   for ac_dir in $PATH; do
4392     IFS="$lt_save_ifs"
4393     test -z "$ac_dir" && ac_dir=.
4394     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4395       lt_cv_path_LD="$ac_dir/$ac_prog"
4396       # Check to see if the program is GNU ld.  I'd rather use --version,
4397       # but apparently some variants of GNU ld only accept -v.
4398       # Break only if it was the GNU/non-GNU ld that we prefer.
4399       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4400       *GNU* | *'with BFD'*)
4401 	test "$with_gnu_ld" != no && break
4402 	;;
4403       *)
4404 	test "$with_gnu_ld" != yes && break
4405 	;;
4406       esac
4407     fi
4408   done
4409   IFS="$lt_save_ifs"
4410 else
4411   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4412 fi
4413 fi
4414 
4415 LD="$lt_cv_path_LD"
4416 if test -n "$LD"; then
4417   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4418 $as_echo "$LD" >&6; }
4419 else
4420   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4421 $as_echo "no" >&6; }
4422 fi
4423 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4425 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4426 if ${lt_cv_prog_gnu_ld+:} false; then :
4427   $as_echo_n "(cached) " >&6
4428 else
4429   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4430 case `$LD -v 2>&1 </dev/null` in
4431 *GNU* | *'with BFD'*)
4432   lt_cv_prog_gnu_ld=yes
4433   ;;
4434 *)
4435   lt_cv_prog_gnu_ld=no
4436   ;;
4437 esac
4438 fi
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4440 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4441 with_gnu_ld=$lt_cv_prog_gnu_ld
4442 
4443 
4444 
4445 
4446 
4447 
4448 
4449 
4450 
4451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4452 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4453 if ${lt_cv_path_NM+:} false; then :
4454   $as_echo_n "(cached) " >&6
4455 else
4456   if test -n "$NM"; then
4457   # Let the user override the test.
4458   lt_cv_path_NM="$NM"
4459 else
4460   lt_nm_to_check="${ac_tool_prefix}nm"
4461   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4462     lt_nm_to_check="$lt_nm_to_check nm"
4463   fi
4464   for lt_tmp_nm in $lt_nm_to_check; do
4465     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4466     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4467       IFS="$lt_save_ifs"
4468       test -z "$ac_dir" && ac_dir=.
4469       tmp_nm="$ac_dir/$lt_tmp_nm"
4470       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4471 	# Check to see if the nm accepts a BSD-compat flag.
4472 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
4473 	#   nm: unknown option "B" ignored
4474 	# Tru64's nm complains that /dev/null is an invalid object file
4475 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4476 	*/dev/null* | *'Invalid file or object type'*)
4477 	  lt_cv_path_NM="$tmp_nm -B"
4478 	  break
4479 	  ;;
4480 	*)
4481 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4482 	  */dev/null*)
4483 	    lt_cv_path_NM="$tmp_nm -p"
4484 	    break
4485 	    ;;
4486 	  *)
4487 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4488 	    continue # so that we can try to find one that supports BSD flags
4489 	    ;;
4490 	  esac
4491 	  ;;
4492 	esac
4493       fi
4494     done
4495     IFS="$lt_save_ifs"
4496   done
4497   : ${lt_cv_path_NM=no}
4498 fi
4499 fi
4500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4501 $as_echo "$lt_cv_path_NM" >&6; }
4502 if test "$lt_cv_path_NM" != "no"; then
4503   NM="$lt_cv_path_NM"
4504 else
4505   # Didn't find any BSD compatible name lister, look for dumpbin.
4506   if test -n "$DUMPBIN"; then :
4507     # Let the user override the test.
4508   else
4509     if test -n "$ac_tool_prefix"; then
4510   for ac_prog in dumpbin "link -dump"
4511   do
4512     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4513 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4515 $as_echo_n "checking for $ac_word... " >&6; }
4516 if ${ac_cv_prog_DUMPBIN+:} false; then :
4517   $as_echo_n "(cached) " >&6
4518 else
4519   if test -n "$DUMPBIN"; then
4520   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4521 else
4522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4523 for as_dir in $PATH
4524 do
4525   IFS=$as_save_IFS
4526   test -z "$as_dir" && as_dir=.
4527     for ac_exec_ext in '' $ac_executable_extensions; do
4528   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4529     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4530     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4531     break 2
4532   fi
4533 done
4534   done
4535 IFS=$as_save_IFS
4536 
4537 fi
4538 fi
4539 DUMPBIN=$ac_cv_prog_DUMPBIN
4540 if test -n "$DUMPBIN"; then
4541   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4542 $as_echo "$DUMPBIN" >&6; }
4543 else
4544   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4545 $as_echo "no" >&6; }
4546 fi
4547 
4548 
4549     test -n "$DUMPBIN" && break
4550   done
4551 fi
4552 if test -z "$DUMPBIN"; then
4553   ac_ct_DUMPBIN=$DUMPBIN
4554   for ac_prog in dumpbin "link -dump"
4555 do
4556   # Extract the first word of "$ac_prog", so it can be a program name with args.
4557 set dummy $ac_prog; ac_word=$2
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4559 $as_echo_n "checking for $ac_word... " >&6; }
4560 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4561   $as_echo_n "(cached) " >&6
4562 else
4563   if test -n "$ac_ct_DUMPBIN"; then
4564   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4565 else
4566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4567 for as_dir in $PATH
4568 do
4569   IFS=$as_save_IFS
4570   test -z "$as_dir" && as_dir=.
4571     for ac_exec_ext in '' $ac_executable_extensions; do
4572   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4573     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4574     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4575     break 2
4576   fi
4577 done
4578   done
4579 IFS=$as_save_IFS
4580 
4581 fi
4582 fi
4583 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4584 if test -n "$ac_ct_DUMPBIN"; then
4585   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4586 $as_echo "$ac_ct_DUMPBIN" >&6; }
4587 else
4588   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4589 $as_echo "no" >&6; }
4590 fi
4591 
4592 
4593   test -n "$ac_ct_DUMPBIN" && break
4594 done
4595 
4596   if test "x$ac_ct_DUMPBIN" = x; then
4597     DUMPBIN=":"
4598   else
4599     case $cross_compiling:$ac_tool_warned in
4600 yes:)
4601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4602 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4603 ac_tool_warned=yes ;;
4604 esac
4605     DUMPBIN=$ac_ct_DUMPBIN
4606   fi
4607 fi
4608 
4609     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4610     *COFF*)
4611       DUMPBIN="$DUMPBIN -symbols"
4612       ;;
4613     *)
4614       DUMPBIN=:
4615       ;;
4616     esac
4617   fi
4618 
4619   if test "$DUMPBIN" != ":"; then
4620     NM="$DUMPBIN"
4621   fi
4622 fi
4623 test -z "$NM" && NM=nm
4624 
4625 
4626 
4627 
4628 
4629 
4630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4631 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4632 if ${lt_cv_nm_interface+:} false; then :
4633   $as_echo_n "(cached) " >&6
4634 else
4635   lt_cv_nm_interface="BSD nm"
4636   echo "int some_variable = 0;" > conftest.$ac_ext
4637   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4638   (eval "$ac_compile" 2>conftest.err)
4639   cat conftest.err >&5
4640   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4641   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4642   cat conftest.err >&5
4643   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4644   cat conftest.out >&5
4645   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4646     lt_cv_nm_interface="MS dumpbin"
4647   fi
4648   rm -f conftest*
4649 fi
4650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4651 $as_echo "$lt_cv_nm_interface" >&6; }
4652 
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4654 $as_echo_n "checking whether ln -s works... " >&6; }
4655 LN_S=$as_ln_s
4656 if test "$LN_S" = "ln -s"; then
4657   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4658 $as_echo "yes" >&6; }
4659 else
4660   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4661 $as_echo "no, using $LN_S" >&6; }
4662 fi
4663 
4664 # find the maximum length of command line arguments
4665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4666 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4667 if ${lt_cv_sys_max_cmd_len+:} false; then :
4668   $as_echo_n "(cached) " >&6
4669 else
4670     i=0
4671   teststring="ABCD"
4672 
4673   case $build_os in
4674   msdosdjgpp*)
4675     # On DJGPP, this test can blow up pretty badly due to problems in libc
4676     # (any single argument exceeding 2000 bytes causes a buffer overrun
4677     # during glob expansion).  Even if it were fixed, the result of this
4678     # check would be larger than it should be.
4679     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4680     ;;
4681 
4682   gnu*)
4683     # Under GNU Hurd, this test is not required because there is
4684     # no limit to the length of command line arguments.
4685     # Libtool will interpret -1 as no limit whatsoever
4686     lt_cv_sys_max_cmd_len=-1;
4687     ;;
4688 
4689   cygwin* | mingw* | cegcc*)
4690     # On Win9x/ME, this test blows up -- it succeeds, but takes
4691     # about 5 minutes as the teststring grows exponentially.
4692     # Worse, since 9x/ME are not pre-emptively multitasking,
4693     # you end up with a "frozen" computer, even though with patience
4694     # the test eventually succeeds (with a max line length of 256k).
4695     # Instead, let's just punt: use the minimum linelength reported by
4696     # all of the supported platforms: 8192 (on NT/2K/XP).
4697     lt_cv_sys_max_cmd_len=8192;
4698     ;;
4699 
4700   mint*)
4701     # On MiNT this can take a long time and run out of memory.
4702     lt_cv_sys_max_cmd_len=8192;
4703     ;;
4704 
4705   amigaos*)
4706     # On AmigaOS with pdksh, this test takes hours, literally.
4707     # So we just punt and use a minimum line length of 8192.
4708     lt_cv_sys_max_cmd_len=8192;
4709     ;;
4710 
4711   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4712     # This has been around since 386BSD, at least.  Likely further.
4713     if test -x /sbin/sysctl; then
4714       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4715     elif test -x /usr/sbin/sysctl; then
4716       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4717     else
4718       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
4719     fi
4720     # And add a safety zone
4721     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4722     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4723     ;;
4724 
4725   interix*)
4726     # We know the value 262144 and hardcode it with a safety zone (like BSD)
4727     lt_cv_sys_max_cmd_len=196608
4728     ;;
4729 
4730   os2*)
4731     # The test takes a long time on OS/2.
4732     lt_cv_sys_max_cmd_len=8192
4733     ;;
4734 
4735   osf*)
4736     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4737     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4738     # nice to cause kernel panics so lets avoid the loop below.
4739     # First set a reasonable default.
4740     lt_cv_sys_max_cmd_len=16384
4741     #
4742     if test -x /sbin/sysconfig; then
4743       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4744         *1*) lt_cv_sys_max_cmd_len=-1 ;;
4745       esac
4746     fi
4747     ;;
4748   sco3.2v5*)
4749     lt_cv_sys_max_cmd_len=102400
4750     ;;
4751   sysv5* | sco5v6* | sysv4.2uw2*)
4752     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4753     if test -n "$kargmax"; then
4754       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
4755     else
4756       lt_cv_sys_max_cmd_len=32768
4757     fi
4758     ;;
4759   *)
4760     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4761     if test -n "$lt_cv_sys_max_cmd_len"; then
4762       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4763       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4764     else
4765       # Make teststring a little bigger before we do anything with it.
4766       # a 1K string should be a reasonable start.
4767       for i in 1 2 3 4 5 6 7 8 ; do
4768         teststring=$teststring$teststring
4769       done
4770       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4771       # If test is not a shell built-in, we'll probably end up computing a
4772       # maximum length that is only half of the actual maximum length, but
4773       # we can't tell.
4774       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
4775 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4776 	      test $i != 17 # 1/2 MB should be enough
4777       do
4778         i=`expr $i + 1`
4779         teststring=$teststring$teststring
4780       done
4781       # Only check the string length outside the loop.
4782       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4783       teststring=
4784       # Add a significant safety factor because C++ compilers can tack on
4785       # massive amounts of additional arguments before passing them to the
4786       # linker.  It appears as though 1/2 is a usable value.
4787       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4788     fi
4789     ;;
4790   esac
4791 
4792 fi
4793 
4794 if test -n $lt_cv_sys_max_cmd_len ; then
4795   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4796 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4797 else
4798   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4799 $as_echo "none" >&6; }
4800 fi
4801 max_cmd_len=$lt_cv_sys_max_cmd_len
4802 
4803 
4804 
4805 
4806 
4807 
4808 : ${CP="cp -f"}
4809 : ${MV="mv -f"}
4810 : ${RM="rm -f"}
4811 
4812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4813 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4814 # Try some XSI features
4815 xsi_shell=no
4816 ( _lt_dummy="a/b/c"
4817   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4818       = c,a/b,b/c, \
4819     && eval 'test $(( 1 + 1 )) -eq 2 \
4820     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4821   && xsi_shell=yes
4822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4823 $as_echo "$xsi_shell" >&6; }
4824 
4825 
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4827 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4828 lt_shell_append=no
4829 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4830     >/dev/null 2>&1 \
4831   && lt_shell_append=yes
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4833 $as_echo "$lt_shell_append" >&6; }
4834 
4835 
4836 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4837   lt_unset=unset
4838 else
4839   lt_unset=false
4840 fi
4841 
4842 
4843 
4844 
4845 
4846 # test EBCDIC or ASCII
4847 case `echo X|tr X '\101'` in
4848  A) # ASCII based system
4849     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4850   lt_SP2NL='tr \040 \012'
4851   lt_NL2SP='tr \015\012 \040\040'
4852   ;;
4853  *) # EBCDIC based system
4854   lt_SP2NL='tr \100 \n'
4855   lt_NL2SP='tr \r\n \100\100'
4856   ;;
4857 esac
4858 
4859 
4860 
4861 
4862 
4863 
4864 
4865 
4866 
4867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4868 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4869 if ${lt_cv_to_host_file_cmd+:} false; then :
4870   $as_echo_n "(cached) " >&6
4871 else
4872   case $host in
4873   *-*-mingw* )
4874     case $build in
4875       *-*-mingw* ) # actually msys
4876         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4877         ;;
4878       *-*-cygwin* )
4879         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4880         ;;
4881       * ) # otherwise, assume *nix
4882         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4883         ;;
4884     esac
4885     ;;
4886   *-*-cygwin* )
4887     case $build in
4888       *-*-mingw* ) # actually msys
4889         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4890         ;;
4891       *-*-cygwin* )
4892         lt_cv_to_host_file_cmd=func_convert_file_noop
4893         ;;
4894       * ) # otherwise, assume *nix
4895         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4896         ;;
4897     esac
4898     ;;
4899   * ) # unhandled hosts (and "normal" native builds)
4900     lt_cv_to_host_file_cmd=func_convert_file_noop
4901     ;;
4902 esac
4903 
4904 fi
4905 
4906 to_host_file_cmd=$lt_cv_to_host_file_cmd
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4908 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
4909 
4910 
4911 
4912 
4913 
4914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4915 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4916 if ${lt_cv_to_tool_file_cmd+:} false; then :
4917   $as_echo_n "(cached) " >&6
4918 else
4919   #assume ordinary cross tools, or native build.
4920 lt_cv_to_tool_file_cmd=func_convert_file_noop
4921 case $host in
4922   *-*-mingw* )
4923     case $build in
4924       *-*-mingw* ) # actually msys
4925         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
4926         ;;
4927     esac
4928     ;;
4929 esac
4930 
4931 fi
4932 
4933 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
4935 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4936 
4937 
4938 
4939 
4940 
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4942 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4943 if ${lt_cv_ld_reload_flag+:} false; then :
4944   $as_echo_n "(cached) " >&6
4945 else
4946   lt_cv_ld_reload_flag='-r'
4947 fi
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4949 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4950 reload_flag=$lt_cv_ld_reload_flag
4951 case $reload_flag in
4952 "" | " "*) ;;
4953 *) reload_flag=" $reload_flag" ;;
4954 esac
4955 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4956 case $host_os in
4957   cygwin* | mingw* | pw32* | cegcc*)
4958     if test "$GCC" != yes; then
4959       reload_cmds=false
4960     fi
4961     ;;
4962   darwin*)
4963     if test "$GCC" = yes; then
4964       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4965     else
4966       reload_cmds='$LD$reload_flag -o $output$reload_objs'
4967     fi
4968     ;;
4969 esac
4970 
4971 
4972 
4973 
4974 
4975 
4976 
4977 
4978 
4979 if test -n "$ac_tool_prefix"; then
4980   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4981 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4983 $as_echo_n "checking for $ac_word... " >&6; }
4984 if ${ac_cv_prog_OBJDUMP+:} false; then :
4985   $as_echo_n "(cached) " >&6
4986 else
4987   if test -n "$OBJDUMP"; then
4988   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4989 else
4990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4991 for as_dir in $PATH
4992 do
4993   IFS=$as_save_IFS
4994   test -z "$as_dir" && as_dir=.
4995     for ac_exec_ext in '' $ac_executable_extensions; do
4996   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4997     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4998     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4999     break 2
5000   fi
5001 done
5002   done
5003 IFS=$as_save_IFS
5004 
5005 fi
5006 fi
5007 OBJDUMP=$ac_cv_prog_OBJDUMP
5008 if test -n "$OBJDUMP"; then
5009   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5010 $as_echo "$OBJDUMP" >&6; }
5011 else
5012   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5013 $as_echo "no" >&6; }
5014 fi
5015 
5016 
5017 fi
5018 if test -z "$ac_cv_prog_OBJDUMP"; then
5019   ac_ct_OBJDUMP=$OBJDUMP
5020   # Extract the first word of "objdump", so it can be a program name with args.
5021 set dummy objdump; ac_word=$2
5022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5023 $as_echo_n "checking for $ac_word... " >&6; }
5024 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5025   $as_echo_n "(cached) " >&6
5026 else
5027   if test -n "$ac_ct_OBJDUMP"; then
5028   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5029 else
5030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5031 for as_dir in $PATH
5032 do
5033   IFS=$as_save_IFS
5034   test -z "$as_dir" && as_dir=.
5035     for ac_exec_ext in '' $ac_executable_extensions; do
5036   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5037     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5038     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5039     break 2
5040   fi
5041 done
5042   done
5043 IFS=$as_save_IFS
5044 
5045 fi
5046 fi
5047 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5048 if test -n "$ac_ct_OBJDUMP"; then
5049   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5050 $as_echo "$ac_ct_OBJDUMP" >&6; }
5051 else
5052   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5053 $as_echo "no" >&6; }
5054 fi
5055 
5056   if test "x$ac_ct_OBJDUMP" = x; then
5057     OBJDUMP="false"
5058   else
5059     case $cross_compiling:$ac_tool_warned in
5060 yes:)
5061 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5062 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5063 ac_tool_warned=yes ;;
5064 esac
5065     OBJDUMP=$ac_ct_OBJDUMP
5066   fi
5067 else
5068   OBJDUMP="$ac_cv_prog_OBJDUMP"
5069 fi
5070 
5071 test -z "$OBJDUMP" && OBJDUMP=objdump
5072 
5073 
5074 
5075 
5076 
5077 
5078 
5079 
5080 
5081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5082 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5083 if ${lt_cv_deplibs_check_method+:} false; then :
5084   $as_echo_n "(cached) " >&6
5085 else
5086   lt_cv_file_magic_cmd='$MAGIC_CMD'
5087 lt_cv_file_magic_test_file=
5088 lt_cv_deplibs_check_method='unknown'
5089 # Need to set the preceding variable on all platforms that support
5090 # interlibrary dependencies.
5091 # 'none' -- dependencies not supported.
5092 # `unknown' -- same as none, but documents that we really don't know.
5093 # 'pass_all' -- all dependencies passed with no checks.
5094 # 'test_compile' -- check by making test program.
5095 # 'file_magic [[regex]]' -- check by looking for files in library path
5096 # which responds to the $file_magic_cmd with a given extended regex.
5097 # If you have `file' or equivalent on your system and you're not sure
5098 # whether `pass_all' will *always* work, you probably want this one.
5099 
5100 case $host_os in
5101 aix[4-9]*)
5102   lt_cv_deplibs_check_method=pass_all
5103   ;;
5104 
5105 beos*)
5106   lt_cv_deplibs_check_method=pass_all
5107   ;;
5108 
5109 bsdi[45]*)
5110   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5111   lt_cv_file_magic_cmd='/usr/bin/file -L'
5112   lt_cv_file_magic_test_file=/shlib/libc.so
5113   ;;
5114 
5115 cygwin*)
5116   # func_win32_libid is a shell function defined in ltmain.sh
5117   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5118   lt_cv_file_magic_cmd='func_win32_libid'
5119   ;;
5120 
5121 mingw* | pw32*)
5122   # Base MSYS/MinGW do not provide the 'file' command needed by
5123   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5124   # unless we find 'file', for example because we are cross-compiling.
5125   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5126   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5127     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5128     lt_cv_file_magic_cmd='func_win32_libid'
5129   else
5130     # Keep this pattern in sync with the one in func_win32_libid.
5131     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5132     lt_cv_file_magic_cmd='$OBJDUMP -f'
5133   fi
5134   ;;
5135 
5136 cegcc*)
5137   # use the weaker test based on 'objdump'. See mingw*.
5138   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5139   lt_cv_file_magic_cmd='$OBJDUMP -f'
5140   ;;
5141 
5142 darwin* | rhapsody*)
5143   lt_cv_deplibs_check_method=pass_all
5144   ;;
5145 
5146 freebsd* | dragonfly*)
5147   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5148     case $host_cpu in
5149     i*86 )
5150       # Not sure whether the presence of OpenBSD here was a mistake.
5151       # Let's accept both of them until this is cleared up.
5152       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5153       lt_cv_file_magic_cmd=/usr/bin/file
5154       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5155       ;;
5156     esac
5157   else
5158     lt_cv_deplibs_check_method=pass_all
5159   fi
5160   ;;
5161 
5162 haiku*)
5163   lt_cv_deplibs_check_method=pass_all
5164   ;;
5165 
5166 hpux10.20* | hpux11*)
5167   lt_cv_file_magic_cmd=/usr/bin/file
5168   case $host_cpu in
5169   ia64*)
5170     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5171     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5172     ;;
5173   hppa*64*)
5174     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]'
5175     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5176     ;;
5177   *)
5178     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5179     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5180     ;;
5181   esac
5182   ;;
5183 
5184 interix[3-9]*)
5185   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5186   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5187   ;;
5188 
5189 irix5* | irix6* | nonstopux*)
5190   case $LD in
5191   *-32|*"-32 ") libmagic=32-bit;;
5192   *-n32|*"-n32 ") libmagic=N32;;
5193   *-64|*"-64 ") libmagic=64-bit;;
5194   *) libmagic=never-match;;
5195   esac
5196   lt_cv_deplibs_check_method=pass_all
5197   ;;
5198 
5199 # This must be glibc/ELF.
5200 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5201   lt_cv_deplibs_check_method=pass_all
5202   ;;
5203 
5204 netbsd* | netbsdelf*-gnu)
5205   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5206     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5207   else
5208     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5209   fi
5210   ;;
5211 
5212 newos6*)
5213   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5214   lt_cv_file_magic_cmd=/usr/bin/file
5215   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5216   ;;
5217 
5218 *nto* | *qnx*)
5219   lt_cv_deplibs_check_method=pass_all
5220   ;;
5221 
5222 openbsd*)
5223   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5224     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5225   else
5226     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5227   fi
5228   ;;
5229 
5230 osf3* | osf4* | osf5*)
5231   lt_cv_deplibs_check_method=pass_all
5232   ;;
5233 
5234 rdos*)
5235   lt_cv_deplibs_check_method=pass_all
5236   ;;
5237 
5238 solaris*)
5239   lt_cv_deplibs_check_method=pass_all
5240   ;;
5241 
5242 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5243   lt_cv_deplibs_check_method=pass_all
5244   ;;
5245 
5246 sysv4 | sysv4.3*)
5247   case $host_vendor in
5248   motorola)
5249     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]'
5250     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5251     ;;
5252   ncr)
5253     lt_cv_deplibs_check_method=pass_all
5254     ;;
5255   sequent)
5256     lt_cv_file_magic_cmd='/bin/file'
5257     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5258     ;;
5259   sni)
5260     lt_cv_file_magic_cmd='/bin/file'
5261     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5262     lt_cv_file_magic_test_file=/lib/libc.so
5263     ;;
5264   siemens)
5265     lt_cv_deplibs_check_method=pass_all
5266     ;;
5267   pc)
5268     lt_cv_deplibs_check_method=pass_all
5269     ;;
5270   esac
5271   ;;
5272 
5273 tpf*)
5274   lt_cv_deplibs_check_method=pass_all
5275   ;;
5276 esac
5277 
5278 fi
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5280 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5281 
5282 file_magic_glob=
5283 want_nocaseglob=no
5284 if test "$build" = "$host"; then
5285   case $host_os in
5286   mingw* | pw32*)
5287     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5288       want_nocaseglob=yes
5289     else
5290       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5291     fi
5292     ;;
5293   esac
5294 fi
5295 
5296 file_magic_cmd=$lt_cv_file_magic_cmd
5297 deplibs_check_method=$lt_cv_deplibs_check_method
5298 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5299 
5300 
5301 
5302 
5303 
5304 
5305 
5306 
5307 
5308 
5309 
5310 
5311 
5312 
5313 
5314 
5315 
5316 
5317 
5318 
5319 
5320 
5321 if test -n "$ac_tool_prefix"; then
5322   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5323 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5325 $as_echo_n "checking for $ac_word... " >&6; }
5326 if ${ac_cv_prog_DLLTOOL+:} false; then :
5327   $as_echo_n "(cached) " >&6
5328 else
5329   if test -n "$DLLTOOL"; then
5330   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5331 else
5332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5333 for as_dir in $PATH
5334 do
5335   IFS=$as_save_IFS
5336   test -z "$as_dir" && as_dir=.
5337     for ac_exec_ext in '' $ac_executable_extensions; do
5338   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5339     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5340     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5341     break 2
5342   fi
5343 done
5344   done
5345 IFS=$as_save_IFS
5346 
5347 fi
5348 fi
5349 DLLTOOL=$ac_cv_prog_DLLTOOL
5350 if test -n "$DLLTOOL"; then
5351   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5352 $as_echo "$DLLTOOL" >&6; }
5353 else
5354   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5355 $as_echo "no" >&6; }
5356 fi
5357 
5358 
5359 fi
5360 if test -z "$ac_cv_prog_DLLTOOL"; then
5361   ac_ct_DLLTOOL=$DLLTOOL
5362   # Extract the first word of "dlltool", so it can be a program name with args.
5363 set dummy dlltool; ac_word=$2
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5365 $as_echo_n "checking for $ac_word... " >&6; }
5366 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5367   $as_echo_n "(cached) " >&6
5368 else
5369   if test -n "$ac_ct_DLLTOOL"; then
5370   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5371 else
5372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5373 for as_dir in $PATH
5374 do
5375   IFS=$as_save_IFS
5376   test -z "$as_dir" && as_dir=.
5377     for ac_exec_ext in '' $ac_executable_extensions; do
5378   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5379     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5380     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5381     break 2
5382   fi
5383 done
5384   done
5385 IFS=$as_save_IFS
5386 
5387 fi
5388 fi
5389 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5390 if test -n "$ac_ct_DLLTOOL"; then
5391   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5392 $as_echo "$ac_ct_DLLTOOL" >&6; }
5393 else
5394   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5395 $as_echo "no" >&6; }
5396 fi
5397 
5398   if test "x$ac_ct_DLLTOOL" = x; then
5399     DLLTOOL="false"
5400   else
5401     case $cross_compiling:$ac_tool_warned in
5402 yes:)
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5404 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5405 ac_tool_warned=yes ;;
5406 esac
5407     DLLTOOL=$ac_ct_DLLTOOL
5408   fi
5409 else
5410   DLLTOOL="$ac_cv_prog_DLLTOOL"
5411 fi
5412 
5413 test -z "$DLLTOOL" && DLLTOOL=dlltool
5414 
5415 
5416 
5417 
5418 
5419 
5420 
5421 
5422 
5423 
5424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5425 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5426 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5427   $as_echo_n "(cached) " >&6
5428 else
5429   lt_cv_sharedlib_from_linklib_cmd='unknown'
5430 
5431 case $host_os in
5432 cygwin* | mingw* | pw32* | cegcc*)
5433   # two different shell functions defined in ltmain.sh
5434   # decide which to use based on capabilities of $DLLTOOL
5435   case `$DLLTOOL --help 2>&1` in
5436   *--identify-strict*)
5437     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5438     ;;
5439   *)
5440     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5441     ;;
5442   esac
5443   ;;
5444 *)
5445   # fallback: assume linklib IS sharedlib
5446   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5447   ;;
5448 esac
5449 
5450 fi
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5452 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5453 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5454 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5455 
5456 
5457 
5458 
5459 
5460 
5461 
5462 
5463 if test -n "$ac_tool_prefix"; then
5464   for ac_prog in ar
5465   do
5466     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5467 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5469 $as_echo_n "checking for $ac_word... " >&6; }
5470 if ${ac_cv_prog_AR+:} false; then :
5471   $as_echo_n "(cached) " >&6
5472 else
5473   if test -n "$AR"; then
5474   ac_cv_prog_AR="$AR" # Let the user override the test.
5475 else
5476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5477 for as_dir in $PATH
5478 do
5479   IFS=$as_save_IFS
5480   test -z "$as_dir" && as_dir=.
5481     for ac_exec_ext in '' $ac_executable_extensions; do
5482   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5483     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5484     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5485     break 2
5486   fi
5487 done
5488   done
5489 IFS=$as_save_IFS
5490 
5491 fi
5492 fi
5493 AR=$ac_cv_prog_AR
5494 if test -n "$AR"; then
5495   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5496 $as_echo "$AR" >&6; }
5497 else
5498   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5499 $as_echo "no" >&6; }
5500 fi
5501 
5502 
5503     test -n "$AR" && break
5504   done
5505 fi
5506 if test -z "$AR"; then
5507   ac_ct_AR=$AR
5508   for ac_prog in ar
5509 do
5510   # Extract the first word of "$ac_prog", so it can be a program name with args.
5511 set dummy $ac_prog; ac_word=$2
5512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5513 $as_echo_n "checking for $ac_word... " >&6; }
5514 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5515   $as_echo_n "(cached) " >&6
5516 else
5517   if test -n "$ac_ct_AR"; then
5518   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5519 else
5520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5521 for as_dir in $PATH
5522 do
5523   IFS=$as_save_IFS
5524   test -z "$as_dir" && as_dir=.
5525     for ac_exec_ext in '' $ac_executable_extensions; do
5526   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5527     ac_cv_prog_ac_ct_AR="$ac_prog"
5528     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5529     break 2
5530   fi
5531 done
5532   done
5533 IFS=$as_save_IFS
5534 
5535 fi
5536 fi
5537 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5538 if test -n "$ac_ct_AR"; then
5539   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5540 $as_echo "$ac_ct_AR" >&6; }
5541 else
5542   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5543 $as_echo "no" >&6; }
5544 fi
5545 
5546 
5547   test -n "$ac_ct_AR" && break
5548 done
5549 
5550   if test "x$ac_ct_AR" = x; then
5551     AR="false"
5552   else
5553     case $cross_compiling:$ac_tool_warned in
5554 yes:)
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5556 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5557 ac_tool_warned=yes ;;
5558 esac
5559     AR=$ac_ct_AR
5560   fi
5561 fi
5562 
5563 : ${AR=ar}
5564 : ${AR_FLAGS=cru}
5565 
5566 
5567 
5568 
5569 
5570 
5571 
5572 
5573 
5574 
5575 
5576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5577 $as_echo_n "checking for archiver @FILE support... " >&6; }
5578 if ${lt_cv_ar_at_file+:} false; then :
5579   $as_echo_n "(cached) " >&6
5580 else
5581   lt_cv_ar_at_file=no
5582    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5583 /* end confdefs.h.  */
5584 
5585 int
5586 main ()
5587 {
5588 
5589   ;
5590   return 0;
5591 }
5592 _ACEOF
5593 if ac_fn_c_try_compile "$LINENO"; then :
5594   echo conftest.$ac_objext > conftest.lst
5595       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5596       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5597   (eval $lt_ar_try) 2>&5
5598   ac_status=$?
5599   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5600   test $ac_status = 0; }
5601       if test "$ac_status" -eq 0; then
5602 	# Ensure the archiver fails upon bogus file names.
5603 	rm -f conftest.$ac_objext libconftest.a
5604 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5605   (eval $lt_ar_try) 2>&5
5606   ac_status=$?
5607   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5608   test $ac_status = 0; }
5609 	if test "$ac_status" -ne 0; then
5610           lt_cv_ar_at_file=@
5611         fi
5612       fi
5613       rm -f conftest.* libconftest.a
5614 
5615 fi
5616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5617 
5618 fi
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5620 $as_echo "$lt_cv_ar_at_file" >&6; }
5621 
5622 if test "x$lt_cv_ar_at_file" = xno; then
5623   archiver_list_spec=
5624 else
5625   archiver_list_spec=$lt_cv_ar_at_file
5626 fi
5627 
5628 
5629 
5630 
5631 
5632 
5633 
5634 if test -n "$ac_tool_prefix"; then
5635   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5636 set dummy ${ac_tool_prefix}strip; ac_word=$2
5637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5638 $as_echo_n "checking for $ac_word... " >&6; }
5639 if ${ac_cv_prog_STRIP+:} false; then :
5640   $as_echo_n "(cached) " >&6
5641 else
5642   if test -n "$STRIP"; then
5643   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5644 else
5645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5646 for as_dir in $PATH
5647 do
5648   IFS=$as_save_IFS
5649   test -z "$as_dir" && as_dir=.
5650     for ac_exec_ext in '' $ac_executable_extensions; do
5651   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5652     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5653     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5654     break 2
5655   fi
5656 done
5657   done
5658 IFS=$as_save_IFS
5659 
5660 fi
5661 fi
5662 STRIP=$ac_cv_prog_STRIP
5663 if test -n "$STRIP"; then
5664   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5665 $as_echo "$STRIP" >&6; }
5666 else
5667   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5668 $as_echo "no" >&6; }
5669 fi
5670 
5671 
5672 fi
5673 if test -z "$ac_cv_prog_STRIP"; then
5674   ac_ct_STRIP=$STRIP
5675   # Extract the first word of "strip", so it can be a program name with args.
5676 set dummy strip; ac_word=$2
5677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5678 $as_echo_n "checking for $ac_word... " >&6; }
5679 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5680   $as_echo_n "(cached) " >&6
5681 else
5682   if test -n "$ac_ct_STRIP"; then
5683   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5684 else
5685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5686 for as_dir in $PATH
5687 do
5688   IFS=$as_save_IFS
5689   test -z "$as_dir" && as_dir=.
5690     for ac_exec_ext in '' $ac_executable_extensions; do
5691   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5692     ac_cv_prog_ac_ct_STRIP="strip"
5693     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5694     break 2
5695   fi
5696 done
5697   done
5698 IFS=$as_save_IFS
5699 
5700 fi
5701 fi
5702 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5703 if test -n "$ac_ct_STRIP"; then
5704   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5705 $as_echo "$ac_ct_STRIP" >&6; }
5706 else
5707   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5708 $as_echo "no" >&6; }
5709 fi
5710 
5711   if test "x$ac_ct_STRIP" = x; then
5712     STRIP=":"
5713   else
5714     case $cross_compiling:$ac_tool_warned in
5715 yes:)
5716 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5717 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5718 ac_tool_warned=yes ;;
5719 esac
5720     STRIP=$ac_ct_STRIP
5721   fi
5722 else
5723   STRIP="$ac_cv_prog_STRIP"
5724 fi
5725 
5726 test -z "$STRIP" && STRIP=:
5727 
5728 
5729 
5730 
5731 
5732 
5733 if test -n "$ac_tool_prefix"; then
5734   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5735 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5737 $as_echo_n "checking for $ac_word... " >&6; }
5738 if ${ac_cv_prog_RANLIB+:} false; then :
5739   $as_echo_n "(cached) " >&6
5740 else
5741   if test -n "$RANLIB"; then
5742   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5743 else
5744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5745 for as_dir in $PATH
5746 do
5747   IFS=$as_save_IFS
5748   test -z "$as_dir" && as_dir=.
5749     for ac_exec_ext in '' $ac_executable_extensions; do
5750   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5751     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5752     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5753     break 2
5754   fi
5755 done
5756   done
5757 IFS=$as_save_IFS
5758 
5759 fi
5760 fi
5761 RANLIB=$ac_cv_prog_RANLIB
5762 if test -n "$RANLIB"; then
5763   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5764 $as_echo "$RANLIB" >&6; }
5765 else
5766   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5767 $as_echo "no" >&6; }
5768 fi
5769 
5770 
5771 fi
5772 if test -z "$ac_cv_prog_RANLIB"; then
5773   ac_ct_RANLIB=$RANLIB
5774   # Extract the first word of "ranlib", so it can be a program name with args.
5775 set dummy ranlib; ac_word=$2
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5777 $as_echo_n "checking for $ac_word... " >&6; }
5778 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5779   $as_echo_n "(cached) " >&6
5780 else
5781   if test -n "$ac_ct_RANLIB"; then
5782   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5783 else
5784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5785 for as_dir in $PATH
5786 do
5787   IFS=$as_save_IFS
5788   test -z "$as_dir" && as_dir=.
5789     for ac_exec_ext in '' $ac_executable_extensions; do
5790   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5791     ac_cv_prog_ac_ct_RANLIB="ranlib"
5792     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5793     break 2
5794   fi
5795 done
5796   done
5797 IFS=$as_save_IFS
5798 
5799 fi
5800 fi
5801 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5802 if test -n "$ac_ct_RANLIB"; then
5803   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5804 $as_echo "$ac_ct_RANLIB" >&6; }
5805 else
5806   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5807 $as_echo "no" >&6; }
5808 fi
5809 
5810   if test "x$ac_ct_RANLIB" = x; then
5811     RANLIB=":"
5812   else
5813     case $cross_compiling:$ac_tool_warned in
5814 yes:)
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5816 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5817 ac_tool_warned=yes ;;
5818 esac
5819     RANLIB=$ac_ct_RANLIB
5820   fi
5821 else
5822   RANLIB="$ac_cv_prog_RANLIB"
5823 fi
5824 
5825 test -z "$RANLIB" && RANLIB=:
5826 
5827 
5828 
5829 
5830 
5831 
5832 # Determine commands to create old-style static archives.
5833 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5834 old_postinstall_cmds='chmod 644 $oldlib'
5835 old_postuninstall_cmds=
5836 
5837 if test -n "$RANLIB"; then
5838   case $host_os in
5839   openbsd*)
5840     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5841     ;;
5842   *)
5843     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5844     ;;
5845   esac
5846   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5847 fi
5848 
5849 case $host_os in
5850   darwin*)
5851     lock_old_archive_extraction=yes ;;
5852   *)
5853     lock_old_archive_extraction=no ;;
5854 esac
5855 
5856 
5857 
5858 
5859 
5860 
5861 
5862 
5863 
5864 
5865 
5866 
5867 
5868 
5869 
5870 
5871 
5872 
5873 
5874 
5875 
5876 
5877 
5878 
5879 
5880 
5881 
5882 
5883 
5884 
5885 
5886 
5887 
5888 
5889 
5890 
5891 
5892 
5893 
5894 # If no C compiler was specified, use CC.
5895 LTCC=${LTCC-"$CC"}
5896 
5897 # If no C compiler flags were specified, use CFLAGS.
5898 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5899 
5900 # Allow CC to be a program name with arguments.
5901 compiler=$CC
5902 
5903 
5904 # Check for command to grab the raw symbol name followed by C symbol from nm.
5905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5906 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5907 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5908   $as_echo_n "(cached) " >&6
5909 else
5910 
5911 # These are sane defaults that work on at least a few old systems.
5912 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
5913 
5914 # Character class describing NM global symbol codes.
5915 symcode='[BCDEGRST]'
5916 
5917 # Regexp to match symbols that can be accessed directly from C.
5918 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5919 
5920 # Define system-specific variables.
5921 case $host_os in
5922 aix*)
5923   symcode='[BCDT]'
5924   ;;
5925 cygwin* | mingw* | pw32* | cegcc*)
5926   symcode='[ABCDGISTW]'
5927   ;;
5928 hpux*)
5929   if test "$host_cpu" = ia64; then
5930     symcode='[ABCDEGRST]'
5931   fi
5932   ;;
5933 irix* | nonstopux*)
5934   symcode='[BCDEGRST]'
5935   ;;
5936 osf*)
5937   symcode='[BCDEGQRST]'
5938   ;;
5939 solaris*)
5940   symcode='[BDRT]'
5941   ;;
5942 sco3.2v5*)
5943   symcode='[DT]'
5944   ;;
5945 sysv4.2uw2*)
5946   symcode='[DT]'
5947   ;;
5948 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5949   symcode='[ABDT]'
5950   ;;
5951 sysv4)
5952   symcode='[DFNSTU]'
5953   ;;
5954 esac
5955 
5956 # If we're using GNU nm, then use its standard symbol codes.
5957 case `$NM -V 2>&1` in
5958 *GNU* | *'with BFD'*)
5959   symcode='[ABCDGIRSTW]' ;;
5960 esac
5961 
5962 # Transform an extracted symbol line into a proper C declaration.
5963 # Some systems (esp. on ia64) link data and code symbols differently,
5964 # so use this general approach.
5965 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5966 
5967 # Transform an extracted symbol line into symbol name and symbol address
5968 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
5969 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'"
5970 
5971 # Handle CRLF in mingw tool chain
5972 opt_cr=
5973 case $build_os in
5974 mingw*)
5975   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5976   ;;
5977 esac
5978 
5979 # Try without a prefix underscore, then with it.
5980 for ac_symprfx in "" "_"; do
5981 
5982   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5983   symxfrm="\\1 $ac_symprfx\\2 \\2"
5984 
5985   # Write the raw and C identifiers.
5986   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5987     # Fake it for dumpbin and say T for any non-static function
5988     # and D for any global variable.
5989     # Also find C++ and __fastcall symbols from MSVC++,
5990     # which start with @ or ?.
5991     lt_cv_sys_global_symbol_pipe="$AWK '"\
5992 "     {last_section=section; section=\$ 3};"\
5993 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
5994 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5995 "     \$ 0!~/External *\|/{next};"\
5996 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5997 "     {if(hide[section]) next};"\
5998 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5999 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6000 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6001 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6002 "     ' prfx=^$ac_symprfx"
6003   else
6004     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6005   fi
6006   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6007 
6008   # Check to see that the pipe works correctly.
6009   pipe_works=no
6010 
6011   rm -f conftest*
6012   cat > conftest.$ac_ext <<_LT_EOF
6013 #ifdef __cplusplus
6014 extern "C" {
6015 #endif
6016 char nm_test_var;
6017 void nm_test_func(void);
6018 void nm_test_func(void){}
6019 #ifdef __cplusplus
6020 }
6021 #endif
6022 int main(){nm_test_var='a';nm_test_func();return(0);}
6023 _LT_EOF
6024 
6025   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6026   (eval $ac_compile) 2>&5
6027   ac_status=$?
6028   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6029   test $ac_status = 0; }; then
6030     # Now try to grab the symbols.
6031     nlist=conftest.nm
6032     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6033   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6034   ac_status=$?
6035   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6036   test $ac_status = 0; } && test -s "$nlist"; then
6037       # Try sorting and uniquifying the output.
6038       if sort "$nlist" | uniq > "$nlist"T; then
6039 	mv -f "$nlist"T "$nlist"
6040       else
6041 	rm -f "$nlist"T
6042       fi
6043 
6044       # Make sure that we snagged all the symbols we need.
6045       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6046 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6047 	  cat <<_LT_EOF > conftest.$ac_ext
6048 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6049 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6050 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6051    relocations are performed -- see ld's documentation on pseudo-relocs.  */
6052 # define LT_DLSYM_CONST
6053 #elif defined(__osf__)
6054 /* This system does not cope well with relocations in const data.  */
6055 # define LT_DLSYM_CONST
6056 #else
6057 # define LT_DLSYM_CONST const
6058 #endif
6059 
6060 #ifdef __cplusplus
6061 extern "C" {
6062 #endif
6063 
6064 _LT_EOF
6065 	  # Now generate the symbol file.
6066 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6067 
6068 	  cat <<_LT_EOF >> conftest.$ac_ext
6069 
6070 /* The mapping between symbol names and symbols.  */
6071 LT_DLSYM_CONST struct {
6072   const char *name;
6073   void       *address;
6074 }
6075 lt__PROGRAM__LTX_preloaded_symbols[] =
6076 {
6077   { "@PROGRAM@", (void *) 0 },
6078 _LT_EOF
6079 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6080 	  cat <<\_LT_EOF >> conftest.$ac_ext
6081   {0, (void *) 0}
6082 };
6083 
6084 /* This works around a problem in FreeBSD linker */
6085 #ifdef FREEBSD_WORKAROUND
6086 static const void *lt_preloaded_setup() {
6087   return lt__PROGRAM__LTX_preloaded_symbols;
6088 }
6089 #endif
6090 
6091 #ifdef __cplusplus
6092 }
6093 #endif
6094 _LT_EOF
6095 	  # Now try linking the two files.
6096 	  mv conftest.$ac_objext conftstm.$ac_objext
6097 	  lt_globsym_save_LIBS=$LIBS
6098 	  lt_globsym_save_CFLAGS=$CFLAGS
6099 	  LIBS="conftstm.$ac_objext"
6100 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6101 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6102   (eval $ac_link) 2>&5
6103   ac_status=$?
6104   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6105   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6106 	    pipe_works=yes
6107 	  fi
6108 	  LIBS=$lt_globsym_save_LIBS
6109 	  CFLAGS=$lt_globsym_save_CFLAGS
6110 	else
6111 	  echo "cannot find nm_test_func in $nlist" >&5
6112 	fi
6113       else
6114 	echo "cannot find nm_test_var in $nlist" >&5
6115       fi
6116     else
6117       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6118     fi
6119   else
6120     echo "$progname: failed program was:" >&5
6121     cat conftest.$ac_ext >&5
6122   fi
6123   rm -rf conftest* conftst*
6124 
6125   # Do not use the global_symbol_pipe unless it works.
6126   if test "$pipe_works" = yes; then
6127     break
6128   else
6129     lt_cv_sys_global_symbol_pipe=
6130   fi
6131 done
6132 
6133 fi
6134 
6135 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6136   lt_cv_sys_global_symbol_to_cdecl=
6137 fi
6138 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6139   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6140 $as_echo "failed" >&6; }
6141 else
6142   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6143 $as_echo "ok" >&6; }
6144 fi
6145 
6146 # Response file support.
6147 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6148   nm_file_list_spec='@'
6149 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6150   nm_file_list_spec='@'
6151 fi
6152 
6153 
6154 
6155 
6156 
6157 
6158 
6159 
6160 
6161 
6162 
6163 
6164 
6165 
6166 
6167 
6168 
6169 
6170 
6171 
6172 
6173 
6174 
6175 
6176 
6177 
6178 
6179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6180 $as_echo_n "checking for sysroot... " >&6; }
6181 
6182 # Check whether --with-sysroot was given.
6183 if test "${with_sysroot+set}" = set; then :
6184   withval=$with_sysroot;
6185 else
6186   with_sysroot=no
6187 fi
6188 
6189 
6190 lt_sysroot=
6191 case ${with_sysroot} in #(
6192  yes)
6193    if test "$GCC" = yes; then
6194      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6195    fi
6196    ;; #(
6197  /*)
6198    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6199    ;; #(
6200  no|'')
6201    ;; #(
6202  *)
6203    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6204 $as_echo "${with_sysroot}" >&6; }
6205    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6206    ;;
6207 esac
6208 
6209  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6210 $as_echo "${lt_sysroot:-no}" >&6; }
6211 
6212 
6213 
6214 
6215 
6216 # Check whether --enable-libtool-lock was given.
6217 if test "${enable_libtool_lock+set}" = set; then :
6218   enableval=$enable_libtool_lock;
6219 fi
6220 
6221 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6222 
6223 # Some flags need to be propagated to the compiler or linker for good
6224 # libtool support.
6225 case $host in
6226 ia64-*-hpux*)
6227   # Find out which ABI we are using.
6228   echo 'int i;' > conftest.$ac_ext
6229   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6230   (eval $ac_compile) 2>&5
6231   ac_status=$?
6232   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6233   test $ac_status = 0; }; then
6234     case `/usr/bin/file conftest.$ac_objext` in
6235       *ELF-32*)
6236 	HPUX_IA64_MODE="32"
6237 	;;
6238       *ELF-64*)
6239 	HPUX_IA64_MODE="64"
6240 	;;
6241     esac
6242   fi
6243   rm -rf conftest*
6244   ;;
6245 *-*-irix6*)
6246   # Find out which ABI we are using.
6247   echo '#line '$LINENO' "configure"' > 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     if test "$lt_cv_prog_gnu_ld" = yes; then
6254       case `/usr/bin/file conftest.$ac_objext` in
6255 	*32-bit*)
6256 	  LD="${LD-ld} -melf32bsmip"
6257 	  ;;
6258 	*N32*)
6259 	  LD="${LD-ld} -melf32bmipn32"
6260 	  ;;
6261 	*64-bit*)
6262 	  LD="${LD-ld} -melf64bmip"
6263 	;;
6264       esac
6265     else
6266       case `/usr/bin/file conftest.$ac_objext` in
6267 	*32-bit*)
6268 	  LD="${LD-ld} -32"
6269 	  ;;
6270 	*N32*)
6271 	  LD="${LD-ld} -n32"
6272 	  ;;
6273 	*64-bit*)
6274 	  LD="${LD-ld} -64"
6275 	  ;;
6276       esac
6277     fi
6278   fi
6279   rm -rf conftest*
6280   ;;
6281 
6282 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6283 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6284   # Find out which ABI we are using.
6285   echo 'int i;' > conftest.$ac_ext
6286   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6287   (eval $ac_compile) 2>&5
6288   ac_status=$?
6289   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6290   test $ac_status = 0; }; then
6291     case `/usr/bin/file conftest.o` in
6292       *32-bit*)
6293 	case $host in
6294 	  x86_64-*kfreebsd*-gnu)
6295 	    LD="${LD-ld} -m elf_i386_fbsd"
6296 	    ;;
6297 	  x86_64-*linux*)
6298 	    LD="${LD-ld} -m elf_i386"
6299 	    ;;
6300 	  ppc64-*linux*|powerpc64-*linux*)
6301 	    LD="${LD-ld} -m elf32ppclinux"
6302 	    ;;
6303 	  s390x-*linux*)
6304 	    LD="${LD-ld} -m elf_s390"
6305 	    ;;
6306 	  sparc64-*linux*)
6307 	    LD="${LD-ld} -m elf32_sparc"
6308 	    ;;
6309 	esac
6310 	;;
6311       *64-bit*)
6312 	case $host in
6313 	  x86_64-*kfreebsd*-gnu)
6314 	    LD="${LD-ld} -m elf_x86_64_fbsd"
6315 	    ;;
6316 	  x86_64-*linux*)
6317 	    LD="${LD-ld} -m elf_x86_64"
6318 	    ;;
6319 	  ppc*-*linux*|powerpc*-*linux*)
6320 	    LD="${LD-ld} -m elf64ppc"
6321 	    ;;
6322 	  s390*-*linux*|s390*-*tpf*)
6323 	    LD="${LD-ld} -m elf64_s390"
6324 	    ;;
6325 	  sparc*-*linux*)
6326 	    LD="${LD-ld} -m elf64_sparc"
6327 	    ;;
6328 	esac
6329 	;;
6330     esac
6331   fi
6332   rm -rf conftest*
6333   ;;
6334 
6335 *-*-sco3.2v5*)
6336   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6337   SAVE_CFLAGS="$CFLAGS"
6338   CFLAGS="$CFLAGS -belf"
6339   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6340 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6341 if ${lt_cv_cc_needs_belf+:} false; then :
6342   $as_echo_n "(cached) " >&6
6343 else
6344   ac_ext=c
6345 ac_cpp='$CPP $CPPFLAGS'
6346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6349 
6350      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6351 /* end confdefs.h.  */
6352 
6353 int
6354 main ()
6355 {
6356 
6357   ;
6358   return 0;
6359 }
6360 _ACEOF
6361 if ac_fn_c_try_link "$LINENO"; then :
6362   lt_cv_cc_needs_belf=yes
6363 else
6364   lt_cv_cc_needs_belf=no
6365 fi
6366 rm -f core conftest.err conftest.$ac_objext \
6367     conftest$ac_exeext conftest.$ac_ext
6368      ac_ext=c
6369 ac_cpp='$CPP $CPPFLAGS'
6370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6373 
6374 fi
6375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6376 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6377   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6378     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6379     CFLAGS="$SAVE_CFLAGS"
6380   fi
6381   ;;
6382 *-*solaris*)
6383   # Find out which ABI we are using.
6384   echo 'int i;' > conftest.$ac_ext
6385   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6386   (eval $ac_compile) 2>&5
6387   ac_status=$?
6388   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6389   test $ac_status = 0; }; then
6390     case `/usr/bin/file conftest.o` in
6391     *64-bit*)
6392       case $lt_cv_prog_gnu_ld in
6393       yes*)
6394         case $host in
6395         i?86-*-solaris*)
6396           LD="${LD-ld} -m elf_x86_64"
6397           ;;
6398         sparc*-*-solaris*)
6399           LD="${LD-ld} -m elf64_sparc"
6400           ;;
6401         esac
6402         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6403         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6404           LD="${LD-ld}_sol2"
6405         fi
6406         ;;
6407       *)
6408 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6409 	  LD="${LD-ld} -64"
6410 	fi
6411 	;;
6412       esac
6413       ;;
6414     esac
6415   fi
6416   rm -rf conftest*
6417   ;;
6418 esac
6419 
6420 need_locks="$enable_libtool_lock"
6421 
6422 if test -n "$ac_tool_prefix"; then
6423   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6424 set dummy ${ac_tool_prefix}mt; ac_word=$2
6425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6426 $as_echo_n "checking for $ac_word... " >&6; }
6427 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6428   $as_echo_n "(cached) " >&6
6429 else
6430   if test -n "$MANIFEST_TOOL"; then
6431   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6432 else
6433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6434 for as_dir in $PATH
6435 do
6436   IFS=$as_save_IFS
6437   test -z "$as_dir" && as_dir=.
6438     for ac_exec_ext in '' $ac_executable_extensions; do
6439   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6440     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6441     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6442     break 2
6443   fi
6444 done
6445   done
6446 IFS=$as_save_IFS
6447 
6448 fi
6449 fi
6450 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6451 if test -n "$MANIFEST_TOOL"; then
6452   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6453 $as_echo "$MANIFEST_TOOL" >&6; }
6454 else
6455   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6456 $as_echo "no" >&6; }
6457 fi
6458 
6459 
6460 fi
6461 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6462   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6463   # Extract the first word of "mt", so it can be a program name with args.
6464 set dummy mt; ac_word=$2
6465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6466 $as_echo_n "checking for $ac_word... " >&6; }
6467 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6468   $as_echo_n "(cached) " >&6
6469 else
6470   if test -n "$ac_ct_MANIFEST_TOOL"; then
6471   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6472 else
6473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6474 for as_dir in $PATH
6475 do
6476   IFS=$as_save_IFS
6477   test -z "$as_dir" && as_dir=.
6478     for ac_exec_ext in '' $ac_executable_extensions; do
6479   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6480     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6481     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6482     break 2
6483   fi
6484 done
6485   done
6486 IFS=$as_save_IFS
6487 
6488 fi
6489 fi
6490 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6491 if test -n "$ac_ct_MANIFEST_TOOL"; then
6492   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6493 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6494 else
6495   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6496 $as_echo "no" >&6; }
6497 fi
6498 
6499   if test "x$ac_ct_MANIFEST_TOOL" = x; then
6500     MANIFEST_TOOL=":"
6501   else
6502     case $cross_compiling:$ac_tool_warned in
6503 yes:)
6504 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6505 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6506 ac_tool_warned=yes ;;
6507 esac
6508     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6509   fi
6510 else
6511   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6512 fi
6513 
6514 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6516 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6517 if ${lt_cv_path_mainfest_tool+:} false; then :
6518   $as_echo_n "(cached) " >&6
6519 else
6520   lt_cv_path_mainfest_tool=no
6521   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6522   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6523   cat conftest.err >&5
6524   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6525     lt_cv_path_mainfest_tool=yes
6526   fi
6527   rm -f conftest*
6528 fi
6529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6530 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6531 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6532   MANIFEST_TOOL=:
6533 fi
6534 
6535 
6536 
6537 
6538 
6539 
6540   case $host_os in
6541     rhapsody* | darwin*)
6542     if test -n "$ac_tool_prefix"; then
6543   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6544 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6546 $as_echo_n "checking for $ac_word... " >&6; }
6547 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6548   $as_echo_n "(cached) " >&6
6549 else
6550   if test -n "$DSYMUTIL"; then
6551   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6552 else
6553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6554 for as_dir in $PATH
6555 do
6556   IFS=$as_save_IFS
6557   test -z "$as_dir" && as_dir=.
6558     for ac_exec_ext in '' $ac_executable_extensions; do
6559   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6560     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6561     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6562     break 2
6563   fi
6564 done
6565   done
6566 IFS=$as_save_IFS
6567 
6568 fi
6569 fi
6570 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6571 if test -n "$DSYMUTIL"; then
6572   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6573 $as_echo "$DSYMUTIL" >&6; }
6574 else
6575   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6576 $as_echo "no" >&6; }
6577 fi
6578 
6579 
6580 fi
6581 if test -z "$ac_cv_prog_DSYMUTIL"; then
6582   ac_ct_DSYMUTIL=$DSYMUTIL
6583   # Extract the first word of "dsymutil", so it can be a program name with args.
6584 set dummy dsymutil; ac_word=$2
6585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6586 $as_echo_n "checking for $ac_word... " >&6; }
6587 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6588   $as_echo_n "(cached) " >&6
6589 else
6590   if test -n "$ac_ct_DSYMUTIL"; then
6591   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6592 else
6593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6594 for as_dir in $PATH
6595 do
6596   IFS=$as_save_IFS
6597   test -z "$as_dir" && as_dir=.
6598     for ac_exec_ext in '' $ac_executable_extensions; do
6599   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6600     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6601     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6602     break 2
6603   fi
6604 done
6605   done
6606 IFS=$as_save_IFS
6607 
6608 fi
6609 fi
6610 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6611 if test -n "$ac_ct_DSYMUTIL"; then
6612   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6613 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6614 else
6615   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6616 $as_echo "no" >&6; }
6617 fi
6618 
6619   if test "x$ac_ct_DSYMUTIL" = x; then
6620     DSYMUTIL=":"
6621   else
6622     case $cross_compiling:$ac_tool_warned in
6623 yes:)
6624 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6625 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6626 ac_tool_warned=yes ;;
6627 esac
6628     DSYMUTIL=$ac_ct_DSYMUTIL
6629   fi
6630 else
6631   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6632 fi
6633 
6634     if test -n "$ac_tool_prefix"; then
6635   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6636 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6638 $as_echo_n "checking for $ac_word... " >&6; }
6639 if ${ac_cv_prog_NMEDIT+:} false; then :
6640   $as_echo_n "(cached) " >&6
6641 else
6642   if test -n "$NMEDIT"; then
6643   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6644 else
6645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6646 for as_dir in $PATH
6647 do
6648   IFS=$as_save_IFS
6649   test -z "$as_dir" && as_dir=.
6650     for ac_exec_ext in '' $ac_executable_extensions; do
6651   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6652     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6653     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6654     break 2
6655   fi
6656 done
6657   done
6658 IFS=$as_save_IFS
6659 
6660 fi
6661 fi
6662 NMEDIT=$ac_cv_prog_NMEDIT
6663 if test -n "$NMEDIT"; then
6664   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6665 $as_echo "$NMEDIT" >&6; }
6666 else
6667   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6668 $as_echo "no" >&6; }
6669 fi
6670 
6671 
6672 fi
6673 if test -z "$ac_cv_prog_NMEDIT"; then
6674   ac_ct_NMEDIT=$NMEDIT
6675   # Extract the first word of "nmedit", so it can be a program name with args.
6676 set dummy nmedit; ac_word=$2
6677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6678 $as_echo_n "checking for $ac_word... " >&6; }
6679 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6680   $as_echo_n "(cached) " >&6
6681 else
6682   if test -n "$ac_ct_NMEDIT"; then
6683   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6684 else
6685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6686 for as_dir in $PATH
6687 do
6688   IFS=$as_save_IFS
6689   test -z "$as_dir" && as_dir=.
6690     for ac_exec_ext in '' $ac_executable_extensions; do
6691   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6692     ac_cv_prog_ac_ct_NMEDIT="nmedit"
6693     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6694     break 2
6695   fi
6696 done
6697   done
6698 IFS=$as_save_IFS
6699 
6700 fi
6701 fi
6702 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6703 if test -n "$ac_ct_NMEDIT"; then
6704   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6705 $as_echo "$ac_ct_NMEDIT" >&6; }
6706 else
6707   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6708 $as_echo "no" >&6; }
6709 fi
6710 
6711   if test "x$ac_ct_NMEDIT" = x; then
6712     NMEDIT=":"
6713   else
6714     case $cross_compiling:$ac_tool_warned in
6715 yes:)
6716 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6717 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6718 ac_tool_warned=yes ;;
6719 esac
6720     NMEDIT=$ac_ct_NMEDIT
6721   fi
6722 else
6723   NMEDIT="$ac_cv_prog_NMEDIT"
6724 fi
6725 
6726     if test -n "$ac_tool_prefix"; then
6727   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6728 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6730 $as_echo_n "checking for $ac_word... " >&6; }
6731 if ${ac_cv_prog_LIPO+:} false; then :
6732   $as_echo_n "(cached) " >&6
6733 else
6734   if test -n "$LIPO"; then
6735   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6736 else
6737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6738 for as_dir in $PATH
6739 do
6740   IFS=$as_save_IFS
6741   test -z "$as_dir" && as_dir=.
6742     for ac_exec_ext in '' $ac_executable_extensions; do
6743   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6744     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6745     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6746     break 2
6747   fi
6748 done
6749   done
6750 IFS=$as_save_IFS
6751 
6752 fi
6753 fi
6754 LIPO=$ac_cv_prog_LIPO
6755 if test -n "$LIPO"; then
6756   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6757 $as_echo "$LIPO" >&6; }
6758 else
6759   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6760 $as_echo "no" >&6; }
6761 fi
6762 
6763 
6764 fi
6765 if test -z "$ac_cv_prog_LIPO"; then
6766   ac_ct_LIPO=$LIPO
6767   # Extract the first word of "lipo", so it can be a program name with args.
6768 set dummy lipo; ac_word=$2
6769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6770 $as_echo_n "checking for $ac_word... " >&6; }
6771 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6772   $as_echo_n "(cached) " >&6
6773 else
6774   if test -n "$ac_ct_LIPO"; then
6775   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6776 else
6777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6778 for as_dir in $PATH
6779 do
6780   IFS=$as_save_IFS
6781   test -z "$as_dir" && as_dir=.
6782     for ac_exec_ext in '' $ac_executable_extensions; do
6783   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6784     ac_cv_prog_ac_ct_LIPO="lipo"
6785     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6786     break 2
6787   fi
6788 done
6789   done
6790 IFS=$as_save_IFS
6791 
6792 fi
6793 fi
6794 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6795 if test -n "$ac_ct_LIPO"; then
6796   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6797 $as_echo "$ac_ct_LIPO" >&6; }
6798 else
6799   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6800 $as_echo "no" >&6; }
6801 fi
6802 
6803   if test "x$ac_ct_LIPO" = x; then
6804     LIPO=":"
6805   else
6806     case $cross_compiling:$ac_tool_warned in
6807 yes:)
6808 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6809 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6810 ac_tool_warned=yes ;;
6811 esac
6812     LIPO=$ac_ct_LIPO
6813   fi
6814 else
6815   LIPO="$ac_cv_prog_LIPO"
6816 fi
6817 
6818     if test -n "$ac_tool_prefix"; then
6819   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6820 set dummy ${ac_tool_prefix}otool; ac_word=$2
6821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6822 $as_echo_n "checking for $ac_word... " >&6; }
6823 if ${ac_cv_prog_OTOOL+:} false; then :
6824   $as_echo_n "(cached) " >&6
6825 else
6826   if test -n "$OTOOL"; then
6827   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6828 else
6829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6830 for as_dir in $PATH
6831 do
6832   IFS=$as_save_IFS
6833   test -z "$as_dir" && as_dir=.
6834     for ac_exec_ext in '' $ac_executable_extensions; do
6835   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6836     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6837     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6838     break 2
6839   fi
6840 done
6841   done
6842 IFS=$as_save_IFS
6843 
6844 fi
6845 fi
6846 OTOOL=$ac_cv_prog_OTOOL
6847 if test -n "$OTOOL"; then
6848   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6849 $as_echo "$OTOOL" >&6; }
6850 else
6851   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6852 $as_echo "no" >&6; }
6853 fi
6854 
6855 
6856 fi
6857 if test -z "$ac_cv_prog_OTOOL"; then
6858   ac_ct_OTOOL=$OTOOL
6859   # Extract the first word of "otool", so it can be a program name with args.
6860 set dummy otool; ac_word=$2
6861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6862 $as_echo_n "checking for $ac_word... " >&6; }
6863 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6864   $as_echo_n "(cached) " >&6
6865 else
6866   if test -n "$ac_ct_OTOOL"; then
6867   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6868 else
6869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6870 for as_dir in $PATH
6871 do
6872   IFS=$as_save_IFS
6873   test -z "$as_dir" && as_dir=.
6874     for ac_exec_ext in '' $ac_executable_extensions; do
6875   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6876     ac_cv_prog_ac_ct_OTOOL="otool"
6877     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6878     break 2
6879   fi
6880 done
6881   done
6882 IFS=$as_save_IFS
6883 
6884 fi
6885 fi
6886 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6887 if test -n "$ac_ct_OTOOL"; then
6888   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6889 $as_echo "$ac_ct_OTOOL" >&6; }
6890 else
6891   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6892 $as_echo "no" >&6; }
6893 fi
6894 
6895   if test "x$ac_ct_OTOOL" = x; then
6896     OTOOL=":"
6897   else
6898     case $cross_compiling:$ac_tool_warned in
6899 yes:)
6900 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6901 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6902 ac_tool_warned=yes ;;
6903 esac
6904     OTOOL=$ac_ct_OTOOL
6905   fi
6906 else
6907   OTOOL="$ac_cv_prog_OTOOL"
6908 fi
6909 
6910     if test -n "$ac_tool_prefix"; then
6911   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6912 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6914 $as_echo_n "checking for $ac_word... " >&6; }
6915 if ${ac_cv_prog_OTOOL64+:} false; then :
6916   $as_echo_n "(cached) " >&6
6917 else
6918   if test -n "$OTOOL64"; then
6919   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6920 else
6921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6922 for as_dir in $PATH
6923 do
6924   IFS=$as_save_IFS
6925   test -z "$as_dir" && as_dir=.
6926     for ac_exec_ext in '' $ac_executable_extensions; do
6927   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6928     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6929     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6930     break 2
6931   fi
6932 done
6933   done
6934 IFS=$as_save_IFS
6935 
6936 fi
6937 fi
6938 OTOOL64=$ac_cv_prog_OTOOL64
6939 if test -n "$OTOOL64"; then
6940   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6941 $as_echo "$OTOOL64" >&6; }
6942 else
6943   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6944 $as_echo "no" >&6; }
6945 fi
6946 
6947 
6948 fi
6949 if test -z "$ac_cv_prog_OTOOL64"; then
6950   ac_ct_OTOOL64=$OTOOL64
6951   # Extract the first word of "otool64", so it can be a program name with args.
6952 set dummy otool64; ac_word=$2
6953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6954 $as_echo_n "checking for $ac_word... " >&6; }
6955 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
6956   $as_echo_n "(cached) " >&6
6957 else
6958   if test -n "$ac_ct_OTOOL64"; then
6959   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6960 else
6961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6962 for as_dir in $PATH
6963 do
6964   IFS=$as_save_IFS
6965   test -z "$as_dir" && as_dir=.
6966     for ac_exec_ext in '' $ac_executable_extensions; do
6967   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6968     ac_cv_prog_ac_ct_OTOOL64="otool64"
6969     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6970     break 2
6971   fi
6972 done
6973   done
6974 IFS=$as_save_IFS
6975 
6976 fi
6977 fi
6978 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6979 if test -n "$ac_ct_OTOOL64"; then
6980   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6981 $as_echo "$ac_ct_OTOOL64" >&6; }
6982 else
6983   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6984 $as_echo "no" >&6; }
6985 fi
6986 
6987   if test "x$ac_ct_OTOOL64" = x; then
6988     OTOOL64=":"
6989   else
6990     case $cross_compiling:$ac_tool_warned in
6991 yes:)
6992 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6993 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6994 ac_tool_warned=yes ;;
6995 esac
6996     OTOOL64=$ac_ct_OTOOL64
6997   fi
6998 else
6999   OTOOL64="$ac_cv_prog_OTOOL64"
7000 fi
7001 
7002 
7003 
7004 
7005 
7006 
7007 
7008 
7009 
7010 
7011 
7012 
7013 
7014 
7015 
7016 
7017 
7018 
7019 
7020 
7021 
7022 
7023 
7024 
7025 
7026 
7027 
7028     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7029 $as_echo_n "checking for -single_module linker flag... " >&6; }
7030 if ${lt_cv_apple_cc_single_mod+:} false; then :
7031   $as_echo_n "(cached) " >&6
7032 else
7033   lt_cv_apple_cc_single_mod=no
7034       if test -z "${LT_MULTI_MODULE}"; then
7035 	# By default we will add the -single_module flag. You can override
7036 	# by either setting the environment variable LT_MULTI_MODULE
7037 	# non-empty at configure time, or by adding -multi_module to the
7038 	# link flags.
7039 	rm -rf libconftest.dylib*
7040 	echo "int foo(void){return 1;}" > conftest.c
7041 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7042 -dynamiclib -Wl,-single_module conftest.c" >&5
7043 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7044 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7045         _lt_result=$?
7046 	# If there is a non-empty error log, and "single_module"
7047 	# appears in it, assume the flag caused a linker warning
7048         if test -s conftest.err && $GREP single_module conftest.err; then
7049 	  cat conftest.err >&5
7050 	# Otherwise, if the output was created with a 0 exit code from
7051 	# the compiler, it worked.
7052 	elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7053 	  lt_cv_apple_cc_single_mod=yes
7054 	else
7055 	  cat conftest.err >&5
7056 	fi
7057 	rm -rf libconftest.dylib*
7058 	rm -f conftest.*
7059       fi
7060 fi
7061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7062 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7063 
7064     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7065 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7066 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7067   $as_echo_n "(cached) " >&6
7068 else
7069   lt_cv_ld_exported_symbols_list=no
7070       save_LDFLAGS=$LDFLAGS
7071       echo "_main" > conftest.sym
7072       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7073       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7074 /* end confdefs.h.  */
7075 
7076 int
7077 main ()
7078 {
7079 
7080   ;
7081   return 0;
7082 }
7083 _ACEOF
7084 if ac_fn_c_try_link "$LINENO"; then :
7085   lt_cv_ld_exported_symbols_list=yes
7086 else
7087   lt_cv_ld_exported_symbols_list=no
7088 fi
7089 rm -f core conftest.err conftest.$ac_objext \
7090     conftest$ac_exeext conftest.$ac_ext
7091 	LDFLAGS="$save_LDFLAGS"
7092 
7093 fi
7094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7095 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7096 
7097     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7098 $as_echo_n "checking for -force_load linker flag... " >&6; }
7099 if ${lt_cv_ld_force_load+:} false; then :
7100   $as_echo_n "(cached) " >&6
7101 else
7102   lt_cv_ld_force_load=no
7103       cat > conftest.c << _LT_EOF
7104 int forced_loaded() { return 2;}
7105 _LT_EOF
7106       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7107       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7108       echo "$AR cru libconftest.a conftest.o" >&5
7109       $AR cru libconftest.a conftest.o 2>&5
7110       echo "$RANLIB libconftest.a" >&5
7111       $RANLIB libconftest.a 2>&5
7112       cat > conftest.c << _LT_EOF
7113 int main() { return 0;}
7114 _LT_EOF
7115       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7116       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7117       _lt_result=$?
7118       if test -s conftest.err && $GREP force_load conftest.err; then
7119 	cat conftest.err >&5
7120       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7121 	lt_cv_ld_force_load=yes
7122       else
7123 	cat conftest.err >&5
7124       fi
7125         rm -f conftest.err libconftest.a conftest conftest.c
7126         rm -rf conftest.dSYM
7127 
7128 fi
7129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7130 $as_echo "$lt_cv_ld_force_load" >&6; }
7131     case $host_os in
7132     rhapsody* | darwin1.[012])
7133       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7134     darwin1.*)
7135       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7136     darwin*) # darwin 5.x on
7137       # if running on 10.5 or later, the deployment target defaults
7138       # to the OS version, if on x86, and 10.4, the deployment
7139       # target defaults to 10.4. Don't you love it?
7140       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7141 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7142 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7143 	10.[012]*)
7144 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7145 	10.*)
7146 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7147       esac
7148     ;;
7149   esac
7150     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7151       _lt_dar_single_mod='$single_module'
7152     fi
7153     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7154       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7155     else
7156       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7157     fi
7158     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7159       _lt_dsymutil='~$DSYMUTIL $lib || :'
7160     else
7161       _lt_dsymutil=
7162     fi
7163     ;;
7164   esac
7165 
7166 ac_ext=c
7167 ac_cpp='$CPP $CPPFLAGS'
7168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7172 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7173 # On Suns, sometimes $CPP names a directory.
7174 if test -n "$CPP" && test -d "$CPP"; then
7175   CPP=
7176 fi
7177 if test -z "$CPP"; then
7178   if ${ac_cv_prog_CPP+:} false; then :
7179   $as_echo_n "(cached) " >&6
7180 else
7181       # Double quotes because CPP needs to be expanded
7182     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7183     do
7184       ac_preproc_ok=false
7185 for ac_c_preproc_warn_flag in '' yes
7186 do
7187   # Use a header file that comes with gcc, so configuring glibc
7188   # with a fresh cross-compiler works.
7189   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7190   # <limits.h> exists even on freestanding compilers.
7191   # On the NeXT, cc -E runs the code through the compiler's parser,
7192   # not just through cpp. "Syntax error" is here to catch this case.
7193   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7194 /* end confdefs.h.  */
7195 #ifdef __STDC__
7196 # include <limits.h>
7197 #else
7198 # include <assert.h>
7199 #endif
7200 		     Syntax error
7201 _ACEOF
7202 if ac_fn_c_try_cpp "$LINENO"; then :
7203 
7204 else
7205   # Broken: fails on valid input.
7206 continue
7207 fi
7208 rm -f conftest.err conftest.i conftest.$ac_ext
7209 
7210   # OK, works on sane cases.  Now check whether nonexistent headers
7211   # can be detected and how.
7212   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7213 /* end confdefs.h.  */
7214 #include <ac_nonexistent.h>
7215 _ACEOF
7216 if ac_fn_c_try_cpp "$LINENO"; then :
7217   # Broken: success on invalid input.
7218 continue
7219 else
7220   # Passes both tests.
7221 ac_preproc_ok=:
7222 break
7223 fi
7224 rm -f conftest.err conftest.i conftest.$ac_ext
7225 
7226 done
7227 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7228 rm -f conftest.i conftest.err conftest.$ac_ext
7229 if $ac_preproc_ok; then :
7230   break
7231 fi
7232 
7233     done
7234     ac_cv_prog_CPP=$CPP
7235 
7236 fi
7237   CPP=$ac_cv_prog_CPP
7238 else
7239   ac_cv_prog_CPP=$CPP
7240 fi
7241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7242 $as_echo "$CPP" >&6; }
7243 ac_preproc_ok=false
7244 for ac_c_preproc_warn_flag in '' yes
7245 do
7246   # Use a header file that comes with gcc, so configuring glibc
7247   # with a fresh cross-compiler works.
7248   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7249   # <limits.h> exists even on freestanding compilers.
7250   # On the NeXT, cc -E runs the code through the compiler's parser,
7251   # not just through cpp. "Syntax error" is here to catch this case.
7252   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7253 /* end confdefs.h.  */
7254 #ifdef __STDC__
7255 # include <limits.h>
7256 #else
7257 # include <assert.h>
7258 #endif
7259 		     Syntax error
7260 _ACEOF
7261 if ac_fn_c_try_cpp "$LINENO"; then :
7262 
7263 else
7264   # Broken: fails on valid input.
7265 continue
7266 fi
7267 rm -f conftest.err conftest.i conftest.$ac_ext
7268 
7269   # OK, works on sane cases.  Now check whether nonexistent headers
7270   # can be detected and how.
7271   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7272 /* end confdefs.h.  */
7273 #include <ac_nonexistent.h>
7274 _ACEOF
7275 if ac_fn_c_try_cpp "$LINENO"; then :
7276   # Broken: success on invalid input.
7277 continue
7278 else
7279   # Passes both tests.
7280 ac_preproc_ok=:
7281 break
7282 fi
7283 rm -f conftest.err conftest.i conftest.$ac_ext
7284 
7285 done
7286 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7287 rm -f conftest.i conftest.err conftest.$ac_ext
7288 if $ac_preproc_ok; then :
7289 
7290 else
7291   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7292 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7293 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7294 See \`config.log' for more details" "$LINENO" 5; }
7295 fi
7296 
7297 ac_ext=c
7298 ac_cpp='$CPP $CPPFLAGS'
7299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7302 
7303 
7304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7305 $as_echo_n "checking for ANSI C header files... " >&6; }
7306 if ${ac_cv_header_stdc+:} false; then :
7307   $as_echo_n "(cached) " >&6
7308 else
7309   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7310 /* end confdefs.h.  */
7311 #include <stdlib.h>
7312 #include <stdarg.h>
7313 #include <string.h>
7314 #include <float.h>
7315 
7316 int
7317 main ()
7318 {
7319 
7320   ;
7321   return 0;
7322 }
7323 _ACEOF
7324 if ac_fn_c_try_compile "$LINENO"; then :
7325   ac_cv_header_stdc=yes
7326 else
7327   ac_cv_header_stdc=no
7328 fi
7329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7330 
7331 if test $ac_cv_header_stdc = yes; then
7332   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7333   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7334 /* end confdefs.h.  */
7335 #include <string.h>
7336 
7337 _ACEOF
7338 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7339   $EGREP "memchr" >/dev/null 2>&1; then :
7340 
7341 else
7342   ac_cv_header_stdc=no
7343 fi
7344 rm -f conftest*
7345 
7346 fi
7347 
7348 if test $ac_cv_header_stdc = yes; then
7349   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7350   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7351 /* end confdefs.h.  */
7352 #include <stdlib.h>
7353 
7354 _ACEOF
7355 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7356   $EGREP "free" >/dev/null 2>&1; then :
7357 
7358 else
7359   ac_cv_header_stdc=no
7360 fi
7361 rm -f conftest*
7362 
7363 fi
7364 
7365 if test $ac_cv_header_stdc = yes; then
7366   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7367   if test "$cross_compiling" = yes; then :
7368   :
7369 else
7370   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7371 /* end confdefs.h.  */
7372 #include <ctype.h>
7373 #include <stdlib.h>
7374 #if ((' ' & 0x0FF) == 0x020)
7375 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7376 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7377 #else
7378 # define ISLOWER(c) \
7379 		   (('a' <= (c) && (c) <= 'i') \
7380 		     || ('j' <= (c) && (c) <= 'r') \
7381 		     || ('s' <= (c) && (c) <= 'z'))
7382 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7383 #endif
7384 
7385 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7386 int
7387 main ()
7388 {
7389   int i;
7390   for (i = 0; i < 256; i++)
7391     if (XOR (islower (i), ISLOWER (i))
7392 	|| toupper (i) != TOUPPER (i))
7393       return 2;
7394   return 0;
7395 }
7396 _ACEOF
7397 if ac_fn_c_try_run "$LINENO"; then :
7398 
7399 else
7400   ac_cv_header_stdc=no
7401 fi
7402 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7403   conftest.$ac_objext conftest.beam conftest.$ac_ext
7404 fi
7405 
7406 fi
7407 fi
7408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7409 $as_echo "$ac_cv_header_stdc" >&6; }
7410 if test $ac_cv_header_stdc = yes; then
7411 
7412 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7413 
7414 fi
7415 
7416 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7417 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7418 		  inttypes.h stdint.h unistd.h
7419 do :
7420   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7421 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7422 "
7423 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7424   cat >>confdefs.h <<_ACEOF
7425 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7426 _ACEOF
7427 
7428 fi
7429 
7430 done
7431 
7432 
7433 for ac_header in dlfcn.h
7434 do :
7435   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7436 "
7437 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7438   cat >>confdefs.h <<_ACEOF
7439 #define HAVE_DLFCN_H 1
7440 _ACEOF
7441 
7442 fi
7443 
7444 done
7445 
7446 
7447 
7448 
7449 
7450 # Set options
7451 
7452 
7453 
7454         enable_dlopen=no
7455 
7456 
7457   enable_win32_dll=no
7458 
7459 
7460             # Check whether --enable-shared was given.
7461 if test "${enable_shared+set}" = set; then :
7462   enableval=$enable_shared; p=${PACKAGE-default}
7463     case $enableval in
7464     yes) enable_shared=yes ;;
7465     no) enable_shared=no ;;
7466     *)
7467       enable_shared=no
7468       # Look at the argument we got.  We use all the common list separators.
7469       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7470       for pkg in $enableval; do
7471 	IFS="$lt_save_ifs"
7472 	if test "X$pkg" = "X$p"; then
7473 	  enable_shared=yes
7474 	fi
7475       done
7476       IFS="$lt_save_ifs"
7477       ;;
7478     esac
7479 else
7480   enable_shared=yes
7481 fi
7482 
7483 
7484 
7485 
7486 
7487 
7488 
7489 
7490 
7491 
7492 
7493 # Check whether --with-pic was given.
7494 if test "${with_pic+set}" = set; then :
7495   withval=$with_pic; lt_p=${PACKAGE-default}
7496     case $withval in
7497     yes|no) pic_mode=$withval ;;
7498     *)
7499       pic_mode=default
7500       # Look at the argument we got.  We use all the common list separators.
7501       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7502       for lt_pkg in $withval; do
7503 	IFS="$lt_save_ifs"
7504 	if test "X$lt_pkg" = "X$lt_p"; then
7505 	  pic_mode=yes
7506 	fi
7507       done
7508       IFS="$lt_save_ifs"
7509       ;;
7510     esac
7511 else
7512   pic_mode=default
7513 fi
7514 
7515 
7516 test -z "$pic_mode" && pic_mode=default
7517 
7518 
7519 
7520 
7521 
7522 
7523 
7524   # Check whether --enable-fast-install was given.
7525 if test "${enable_fast_install+set}" = set; then :
7526   enableval=$enable_fast_install; p=${PACKAGE-default}
7527     case $enableval in
7528     yes) enable_fast_install=yes ;;
7529     no) enable_fast_install=no ;;
7530     *)
7531       enable_fast_install=no
7532       # Look at the argument we got.  We use all the common list separators.
7533       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7534       for pkg in $enableval; do
7535 	IFS="$lt_save_ifs"
7536 	if test "X$pkg" = "X$p"; then
7537 	  enable_fast_install=yes
7538 	fi
7539       done
7540       IFS="$lt_save_ifs"
7541       ;;
7542     esac
7543 else
7544   enable_fast_install=yes
7545 fi
7546 
7547 
7548 
7549 
7550 
7551 
7552 
7553 
7554 
7555 
7556 
7557 # This can be used to rebuild libtool when needed
7558 LIBTOOL_DEPS="$ltmain"
7559 
7560 # Always use our own libtool.
7561 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7562 
7563 
7564 
7565 
7566 
7567 
7568 
7569 
7570 
7571 
7572 
7573 
7574 
7575 
7576 
7577 
7578 
7579 
7580 
7581 
7582 
7583 
7584 
7585 
7586 
7587 
7588 
7589 
7590 
7591 
7592 test -z "$LN_S" && LN_S="ln -s"
7593 
7594 
7595 
7596 
7597 
7598 
7599 
7600 
7601 
7602 
7603 
7604 
7605 
7606 
7607 if test -n "${ZSH_VERSION+set}" ; then
7608    setopt NO_GLOB_SUBST
7609 fi
7610 
7611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7612 $as_echo_n "checking for objdir... " >&6; }
7613 if ${lt_cv_objdir+:} false; then :
7614   $as_echo_n "(cached) " >&6
7615 else
7616   rm -f .libs 2>/dev/null
7617 mkdir .libs 2>/dev/null
7618 if test -d .libs; then
7619   lt_cv_objdir=.libs
7620 else
7621   # MS-DOS does not allow filenames that begin with a dot.
7622   lt_cv_objdir=_libs
7623 fi
7624 rmdir .libs 2>/dev/null
7625 fi
7626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7627 $as_echo "$lt_cv_objdir" >&6; }
7628 objdir=$lt_cv_objdir
7629 
7630 
7631 
7632 
7633 
7634 cat >>confdefs.h <<_ACEOF
7635 #define LT_OBJDIR "$lt_cv_objdir/"
7636 _ACEOF
7637 
7638 
7639 
7640 
7641 case $host_os in
7642 aix3*)
7643   # AIX sometimes has problems with the GCC collect2 program.  For some
7644   # reason, if we set the COLLECT_NAMES environment variable, the problems
7645   # vanish in a puff of smoke.
7646   if test "X${COLLECT_NAMES+set}" != Xset; then
7647     COLLECT_NAMES=
7648     export COLLECT_NAMES
7649   fi
7650   ;;
7651 esac
7652 
7653 # Global variables:
7654 ofile=libtool
7655 can_build_shared=yes
7656 
7657 # All known linkers require a `.a' archive for static linking (except MSVC,
7658 # which needs '.lib').
7659 libext=a
7660 
7661 with_gnu_ld="$lt_cv_prog_gnu_ld"
7662 
7663 old_CC="$CC"
7664 old_CFLAGS="$CFLAGS"
7665 
7666 # Set sane defaults for various variables
7667 test -z "$CC" && CC=cc
7668 test -z "$LTCC" && LTCC=$CC
7669 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7670 test -z "$LD" && LD=ld
7671 test -z "$ac_objext" && ac_objext=o
7672 
7673 for cc_temp in $compiler""; do
7674   case $cc_temp in
7675     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7676     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7677     \-*) ;;
7678     *) break;;
7679   esac
7680 done
7681 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7682 
7683 
7684 # Only perform the check for file, if the check method requires it
7685 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7686 case $deplibs_check_method in
7687 file_magic*)
7688   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7689     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7690 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7691 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7692   $as_echo_n "(cached) " >&6
7693 else
7694   case $MAGIC_CMD in
7695 [\\/*] |  ?:[\\/]*)
7696   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7697   ;;
7698 *)
7699   lt_save_MAGIC_CMD="$MAGIC_CMD"
7700   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7701   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7702   for ac_dir in $ac_dummy; do
7703     IFS="$lt_save_ifs"
7704     test -z "$ac_dir" && ac_dir=.
7705     if test -f $ac_dir/${ac_tool_prefix}file; then
7706       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7707       if test -n "$file_magic_test_file"; then
7708 	case $deplibs_check_method in
7709 	"file_magic "*)
7710 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7711 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7712 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7713 	    $EGREP "$file_magic_regex" > /dev/null; then
7714 	    :
7715 	  else
7716 	    cat <<_LT_EOF 1>&2
7717 
7718 *** Warning: the command libtool uses to detect shared libraries,
7719 *** $file_magic_cmd, produces output that libtool cannot recognize.
7720 *** The result is that libtool may fail to recognize shared libraries
7721 *** as such.  This will affect the creation of libtool libraries that
7722 *** depend on shared libraries, but programs linked with such libtool
7723 *** libraries will work regardless of this problem.  Nevertheless, you
7724 *** may want to report the problem to your system manager and/or to
7725 *** bug-libtool@gnu.org
7726 
7727 _LT_EOF
7728 	  fi ;;
7729 	esac
7730       fi
7731       break
7732     fi
7733   done
7734   IFS="$lt_save_ifs"
7735   MAGIC_CMD="$lt_save_MAGIC_CMD"
7736   ;;
7737 esac
7738 fi
7739 
7740 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7741 if test -n "$MAGIC_CMD"; then
7742   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7743 $as_echo "$MAGIC_CMD" >&6; }
7744 else
7745   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7746 $as_echo "no" >&6; }
7747 fi
7748 
7749 
7750 
7751 
7752 
7753 if test -z "$lt_cv_path_MAGIC_CMD"; then
7754   if test -n "$ac_tool_prefix"; then
7755     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7756 $as_echo_n "checking for file... " >&6; }
7757 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7758   $as_echo_n "(cached) " >&6
7759 else
7760   case $MAGIC_CMD in
7761 [\\/*] |  ?:[\\/]*)
7762   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7763   ;;
7764 *)
7765   lt_save_MAGIC_CMD="$MAGIC_CMD"
7766   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7767   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7768   for ac_dir in $ac_dummy; do
7769     IFS="$lt_save_ifs"
7770     test -z "$ac_dir" && ac_dir=.
7771     if test -f $ac_dir/file; then
7772       lt_cv_path_MAGIC_CMD="$ac_dir/file"
7773       if test -n "$file_magic_test_file"; then
7774 	case $deplibs_check_method in
7775 	"file_magic "*)
7776 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7777 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7778 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7779 	    $EGREP "$file_magic_regex" > /dev/null; then
7780 	    :
7781 	  else
7782 	    cat <<_LT_EOF 1>&2
7783 
7784 *** Warning: the command libtool uses to detect shared libraries,
7785 *** $file_magic_cmd, produces output that libtool cannot recognize.
7786 *** The result is that libtool may fail to recognize shared libraries
7787 *** as such.  This will affect the creation of libtool libraries that
7788 *** depend on shared libraries, but programs linked with such libtool
7789 *** libraries will work regardless of this problem.  Nevertheless, you
7790 *** may want to report the problem to your system manager and/or to
7791 *** bug-libtool@gnu.org
7792 
7793 _LT_EOF
7794 	  fi ;;
7795 	esac
7796       fi
7797       break
7798     fi
7799   done
7800   IFS="$lt_save_ifs"
7801   MAGIC_CMD="$lt_save_MAGIC_CMD"
7802   ;;
7803 esac
7804 fi
7805 
7806 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7807 if test -n "$MAGIC_CMD"; then
7808   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7809 $as_echo "$MAGIC_CMD" >&6; }
7810 else
7811   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7812 $as_echo "no" >&6; }
7813 fi
7814 
7815 
7816   else
7817     MAGIC_CMD=:
7818   fi
7819 fi
7820 
7821   fi
7822   ;;
7823 esac
7824 
7825 # Use C for the default configuration in the libtool script
7826 
7827 lt_save_CC="$CC"
7828 ac_ext=c
7829 ac_cpp='$CPP $CPPFLAGS'
7830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7833 
7834 
7835 # Source file extension for C test sources.
7836 ac_ext=c
7837 
7838 # Object file extension for compiled C test sources.
7839 objext=o
7840 objext=$objext
7841 
7842 # Code to be used in simple compile tests
7843 lt_simple_compile_test_code="int some_variable = 0;"
7844 
7845 # Code to be used in simple link tests
7846 lt_simple_link_test_code='int main(){return(0);}'
7847 
7848 
7849 
7850 
7851 
7852 
7853 
7854 # If no C compiler was specified, use CC.
7855 LTCC=${LTCC-"$CC"}
7856 
7857 # If no C compiler flags were specified, use CFLAGS.
7858 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7859 
7860 # Allow CC to be a program name with arguments.
7861 compiler=$CC
7862 
7863 # Save the default compiler, since it gets overwritten when the other
7864 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7865 compiler_DEFAULT=$CC
7866 
7867 # save warnings/boilerplate of simple test code
7868 ac_outfile=conftest.$ac_objext
7869 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7870 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7871 _lt_compiler_boilerplate=`cat conftest.err`
7872 $RM conftest*
7873 
7874 ac_outfile=conftest.$ac_objext
7875 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7876 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7877 _lt_linker_boilerplate=`cat conftest.err`
7878 $RM -r conftest*
7879 
7880 
7881 ## CAVEAT EMPTOR:
7882 ## There is no encapsulation within the following macros, do not change
7883 ## the running order or otherwise move them around unless you know exactly
7884 ## what you are doing...
7885 if test -n "$compiler"; then
7886 
7887 lt_prog_compiler_no_builtin_flag=
7888 
7889 if test "$GCC" = yes; then
7890   case $cc_basename in
7891   nvcc*)
7892     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7893   *)
7894     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7895   esac
7896 
7897   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7898 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7899 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7900   $as_echo_n "(cached) " >&6
7901 else
7902   lt_cv_prog_compiler_rtti_exceptions=no
7903    ac_outfile=conftest.$ac_objext
7904    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7905    lt_compiler_flag="-fno-rtti -fno-exceptions"
7906    # Insert the option either (1) after the last *FLAGS variable, or
7907    # (2) before a word containing "conftest.", or (3) at the end.
7908    # Note that $ac_compile itself does not contain backslashes and begins
7909    # with a dollar sign (not a hyphen), so the echo should work correctly.
7910    # The option is referenced via a variable to avoid confusing sed.
7911    lt_compile=`echo "$ac_compile" | $SED \
7912    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7913    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7914    -e 's:$: $lt_compiler_flag:'`
7915    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7916    (eval "$lt_compile" 2>conftest.err)
7917    ac_status=$?
7918    cat conftest.err >&5
7919    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7920    if (exit $ac_status) && test -s "$ac_outfile"; then
7921      # The compiler can only warn and ignore the option if not recognized
7922      # So say no if there are warnings other than the usual output.
7923      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7924      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7925      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7926        lt_cv_prog_compiler_rtti_exceptions=yes
7927      fi
7928    fi
7929    $RM conftest*
7930 
7931 fi
7932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7933 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7934 
7935 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7936     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7937 else
7938     :
7939 fi
7940 
7941 fi
7942 
7943 
7944 
7945 
7946 
7947 
7948   lt_prog_compiler_wl=
7949 lt_prog_compiler_pic=
7950 lt_prog_compiler_static=
7951 
7952 
7953   if test "$GCC" = yes; then
7954     lt_prog_compiler_wl='-Wl,'
7955     lt_prog_compiler_static='-static'
7956 
7957     case $host_os in
7958       aix*)
7959       # All AIX code is PIC.
7960       if test "$host_cpu" = ia64; then
7961 	# AIX 5 now supports IA64 processor
7962 	lt_prog_compiler_static='-Bstatic'
7963       fi
7964       ;;
7965 
7966     amigaos*)
7967       case $host_cpu in
7968       powerpc)
7969             # see comment about AmigaOS4 .so support
7970             lt_prog_compiler_pic='-fPIC'
7971         ;;
7972       m68k)
7973             # FIXME: we need at least 68020 code to build shared libraries, but
7974             # adding the `-m68020' flag to GCC prevents building anything better,
7975             # like `-m68040'.
7976             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7977         ;;
7978       esac
7979       ;;
7980 
7981     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7982       # PIC is the default for these OSes.
7983       ;;
7984 
7985     mingw* | cygwin* | pw32* | os2* | cegcc*)
7986       # This hack is so that the source file can tell whether it is being
7987       # built for inclusion in a dll (and should export symbols for example).
7988       # Although the cygwin gcc ignores -fPIC, still need this for old-style
7989       # (--disable-auto-import) libraries
7990       lt_prog_compiler_pic='-DDLL_EXPORT'
7991       ;;
7992 
7993     darwin* | rhapsody*)
7994       # PIC is the default on this platform
7995       # Common symbols not allowed in MH_DYLIB files
7996       lt_prog_compiler_pic='-fno-common'
7997       ;;
7998 
7999     haiku*)
8000       # PIC is the default for Haiku.
8001       # The "-static" flag exists, but is broken.
8002       lt_prog_compiler_static=
8003       ;;
8004 
8005     hpux*)
8006       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8007       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8008       # sets the default TLS model and affects inlining.
8009       case $host_cpu in
8010       hppa*64*)
8011 	# +Z the default
8012 	;;
8013       *)
8014 	lt_prog_compiler_pic='-fPIC'
8015 	;;
8016       esac
8017       ;;
8018 
8019     interix[3-9]*)
8020       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8021       # Instead, we relocate shared libraries at runtime.
8022       ;;
8023 
8024     msdosdjgpp*)
8025       # Just because we use GCC doesn't mean we suddenly get shared libraries
8026       # on systems that don't support them.
8027       lt_prog_compiler_can_build_shared=no
8028       enable_shared=no
8029       ;;
8030 
8031     *nto* | *qnx*)
8032       # QNX uses GNU C++, but need to define -shared option too, otherwise
8033       # it will coredump.
8034       lt_prog_compiler_pic='-fPIC -shared'
8035       ;;
8036 
8037     sysv4*MP*)
8038       if test -d /usr/nec; then
8039 	lt_prog_compiler_pic=-Kconform_pic
8040       fi
8041       ;;
8042 
8043     *)
8044       lt_prog_compiler_pic='-fPIC'
8045       ;;
8046     esac
8047 
8048     case $cc_basename in
8049     nvcc*) # Cuda Compiler Driver 2.2
8050       lt_prog_compiler_wl='-Xlinker '
8051       if test -n "$lt_prog_compiler_pic"; then
8052         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8053       fi
8054       ;;
8055     esac
8056   else
8057     # PORTME Check for flag to pass linker flags through the system compiler.
8058     case $host_os in
8059     aix*)
8060       lt_prog_compiler_wl='-Wl,'
8061       if test "$host_cpu" = ia64; then
8062 	# AIX 5 now supports IA64 processor
8063 	lt_prog_compiler_static='-Bstatic'
8064       else
8065 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8066       fi
8067       ;;
8068 
8069     mingw* | cygwin* | pw32* | os2* | cegcc*)
8070       # This hack is so that the source file can tell whether it is being
8071       # built for inclusion in a dll (and should export symbols for example).
8072       lt_prog_compiler_pic='-DDLL_EXPORT'
8073       ;;
8074 
8075     hpux9* | hpux10* | hpux11*)
8076       lt_prog_compiler_wl='-Wl,'
8077       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8078       # not for PA HP-UX.
8079       case $host_cpu in
8080       hppa*64*|ia64*)
8081 	# +Z the default
8082 	;;
8083       *)
8084 	lt_prog_compiler_pic='+Z'
8085 	;;
8086       esac
8087       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8088       lt_prog_compiler_static='${wl}-a ${wl}archive'
8089       ;;
8090 
8091     irix5* | irix6* | nonstopux*)
8092       lt_prog_compiler_wl='-Wl,'
8093       # PIC (with -KPIC) is the default.
8094       lt_prog_compiler_static='-non_shared'
8095       ;;
8096 
8097     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8098       case $cc_basename in
8099       # old Intel for x86_64 which still supported -KPIC.
8100       ecc*)
8101 	lt_prog_compiler_wl='-Wl,'
8102 	lt_prog_compiler_pic='-KPIC'
8103 	lt_prog_compiler_static='-static'
8104         ;;
8105       # icc used to be incompatible with GCC.
8106       # ICC 10 doesn't accept -KPIC any more.
8107       icc* | ifort*)
8108 	lt_prog_compiler_wl='-Wl,'
8109 	lt_prog_compiler_pic='-fPIC'
8110 	lt_prog_compiler_static='-static'
8111         ;;
8112       # Lahey Fortran 8.1.
8113       lf95*)
8114 	lt_prog_compiler_wl='-Wl,'
8115 	lt_prog_compiler_pic='--shared'
8116 	lt_prog_compiler_static='--static'
8117 	;;
8118       nagfor*)
8119 	# NAG Fortran compiler
8120 	lt_prog_compiler_wl='-Wl,-Wl,,'
8121 	lt_prog_compiler_pic='-PIC'
8122 	lt_prog_compiler_static='-Bstatic'
8123 	;;
8124       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8125         # Portland Group compilers (*not* the Pentium gcc compiler,
8126 	# which looks to be a dead project)
8127 	lt_prog_compiler_wl='-Wl,'
8128 	lt_prog_compiler_pic='-fpic'
8129 	lt_prog_compiler_static='-Bstatic'
8130         ;;
8131       ccc*)
8132         lt_prog_compiler_wl='-Wl,'
8133         # All Alpha code is PIC.
8134         lt_prog_compiler_static='-non_shared'
8135         ;;
8136       xl* | bgxl* | bgf* | mpixl*)
8137 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8138 	lt_prog_compiler_wl='-Wl,'
8139 	lt_prog_compiler_pic='-qpic'
8140 	lt_prog_compiler_static='-qstaticlink'
8141 	;;
8142       *)
8143 	case `$CC -V 2>&1 | sed 5q` in
8144 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8145 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
8146 	  lt_prog_compiler_pic='-KPIC'
8147 	  lt_prog_compiler_static='-Bstatic'
8148 	  lt_prog_compiler_wl=''
8149 	  ;;
8150 	*Sun\ F* | *Sun*Fortran*)
8151 	  lt_prog_compiler_pic='-KPIC'
8152 	  lt_prog_compiler_static='-Bstatic'
8153 	  lt_prog_compiler_wl='-Qoption ld '
8154 	  ;;
8155 	*Sun\ C*)
8156 	  # Sun C 5.9
8157 	  lt_prog_compiler_pic='-KPIC'
8158 	  lt_prog_compiler_static='-Bstatic'
8159 	  lt_prog_compiler_wl='-Wl,'
8160 	  ;;
8161         *Intel*\ [CF]*Compiler*)
8162 	  lt_prog_compiler_wl='-Wl,'
8163 	  lt_prog_compiler_pic='-fPIC'
8164 	  lt_prog_compiler_static='-static'
8165 	  ;;
8166 	*Portland\ Group*)
8167 	  lt_prog_compiler_wl='-Wl,'
8168 	  lt_prog_compiler_pic='-fpic'
8169 	  lt_prog_compiler_static='-Bstatic'
8170 	  ;;
8171 	esac
8172 	;;
8173       esac
8174       ;;
8175 
8176     newsos6)
8177       lt_prog_compiler_pic='-KPIC'
8178       lt_prog_compiler_static='-Bstatic'
8179       ;;
8180 
8181     *nto* | *qnx*)
8182       # QNX uses GNU C++, but need to define -shared option too, otherwise
8183       # it will coredump.
8184       lt_prog_compiler_pic='-fPIC -shared'
8185       ;;
8186 
8187     osf3* | osf4* | osf5*)
8188       lt_prog_compiler_wl='-Wl,'
8189       # All OSF/1 code is PIC.
8190       lt_prog_compiler_static='-non_shared'
8191       ;;
8192 
8193     rdos*)
8194       lt_prog_compiler_static='-non_shared'
8195       ;;
8196 
8197     solaris*)
8198       lt_prog_compiler_pic='-KPIC'
8199       lt_prog_compiler_static='-Bstatic'
8200       case $cc_basename in
8201       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8202 	lt_prog_compiler_wl='-Qoption ld ';;
8203       *)
8204 	lt_prog_compiler_wl='-Wl,';;
8205       esac
8206       ;;
8207 
8208     sunos4*)
8209       lt_prog_compiler_wl='-Qoption ld '
8210       lt_prog_compiler_pic='-PIC'
8211       lt_prog_compiler_static='-Bstatic'
8212       ;;
8213 
8214     sysv4 | sysv4.2uw2* | sysv4.3*)
8215       lt_prog_compiler_wl='-Wl,'
8216       lt_prog_compiler_pic='-KPIC'
8217       lt_prog_compiler_static='-Bstatic'
8218       ;;
8219 
8220     sysv4*MP*)
8221       if test -d /usr/nec ;then
8222 	lt_prog_compiler_pic='-Kconform_pic'
8223 	lt_prog_compiler_static='-Bstatic'
8224       fi
8225       ;;
8226 
8227     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8228       lt_prog_compiler_wl='-Wl,'
8229       lt_prog_compiler_pic='-KPIC'
8230       lt_prog_compiler_static='-Bstatic'
8231       ;;
8232 
8233     unicos*)
8234       lt_prog_compiler_wl='-Wl,'
8235       lt_prog_compiler_can_build_shared=no
8236       ;;
8237 
8238     uts4*)
8239       lt_prog_compiler_pic='-pic'
8240       lt_prog_compiler_static='-Bstatic'
8241       ;;
8242 
8243     *)
8244       lt_prog_compiler_can_build_shared=no
8245       ;;
8246     esac
8247   fi
8248 
8249 case $host_os in
8250   # For platforms which do not support PIC, -DPIC is meaningless:
8251   *djgpp*)
8252     lt_prog_compiler_pic=
8253     ;;
8254   *)
8255     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8256     ;;
8257 esac
8258 
8259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8260 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8261 if ${lt_cv_prog_compiler_pic+:} false; then :
8262   $as_echo_n "(cached) " >&6
8263 else
8264   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8265 fi
8266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8267 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8268 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8269 
8270 #
8271 # Check to make sure the PIC flag actually works.
8272 #
8273 if test -n "$lt_prog_compiler_pic"; then
8274   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8275 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8276 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8277   $as_echo_n "(cached) " >&6
8278 else
8279   lt_cv_prog_compiler_pic_works=no
8280    ac_outfile=conftest.$ac_objext
8281    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8282    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8283    # Insert the option either (1) after the last *FLAGS variable, or
8284    # (2) before a word containing "conftest.", or (3) at the end.
8285    # Note that $ac_compile itself does not contain backslashes and begins
8286    # with a dollar sign (not a hyphen), so the echo should work correctly.
8287    # The option is referenced via a variable to avoid confusing sed.
8288    lt_compile=`echo "$ac_compile" | $SED \
8289    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8290    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8291    -e 's:$: $lt_compiler_flag:'`
8292    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8293    (eval "$lt_compile" 2>conftest.err)
8294    ac_status=$?
8295    cat conftest.err >&5
8296    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8297    if (exit $ac_status) && test -s "$ac_outfile"; then
8298      # The compiler can only warn and ignore the option if not recognized
8299      # So say no if there are warnings other than the usual output.
8300      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8301      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8302      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8303        lt_cv_prog_compiler_pic_works=yes
8304      fi
8305    fi
8306    $RM conftest*
8307 
8308 fi
8309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8310 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8311 
8312 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8313     case $lt_prog_compiler_pic in
8314      "" | " "*) ;;
8315      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8316      esac
8317 else
8318     lt_prog_compiler_pic=
8319      lt_prog_compiler_can_build_shared=no
8320 fi
8321 
8322 fi
8323 
8324 
8325 
8326 
8327 
8328 
8329 
8330 
8331 
8332 
8333 
8334 #
8335 # Check to make sure the static flag actually works.
8336 #
8337 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8339 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8340 if ${lt_cv_prog_compiler_static_works+:} false; then :
8341   $as_echo_n "(cached) " >&6
8342 else
8343   lt_cv_prog_compiler_static_works=no
8344    save_LDFLAGS="$LDFLAGS"
8345    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8346    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8347    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8348      # The linker can only warn and ignore the option if not recognized
8349      # So say no if there are warnings
8350      if test -s conftest.err; then
8351        # Append any errors to the config.log.
8352        cat conftest.err 1>&5
8353        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8354        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8355        if diff conftest.exp conftest.er2 >/dev/null; then
8356          lt_cv_prog_compiler_static_works=yes
8357        fi
8358      else
8359        lt_cv_prog_compiler_static_works=yes
8360      fi
8361    fi
8362    $RM -r conftest*
8363    LDFLAGS="$save_LDFLAGS"
8364 
8365 fi
8366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8367 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8368 
8369 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8370     :
8371 else
8372     lt_prog_compiler_static=
8373 fi
8374 
8375 
8376 
8377 
8378 
8379 
8380 
8381   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8382 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8383 if ${lt_cv_prog_compiler_c_o+:} false; then :
8384   $as_echo_n "(cached) " >&6
8385 else
8386   lt_cv_prog_compiler_c_o=no
8387    $RM -r conftest 2>/dev/null
8388    mkdir conftest
8389    cd conftest
8390    mkdir out
8391    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8392 
8393    lt_compiler_flag="-o out/conftest2.$ac_objext"
8394    # Insert the option either (1) after the last *FLAGS variable, or
8395    # (2) before a word containing "conftest.", or (3) at the end.
8396    # Note that $ac_compile itself does not contain backslashes and begins
8397    # with a dollar sign (not a hyphen), so the echo should work correctly.
8398    lt_compile=`echo "$ac_compile" | $SED \
8399    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8400    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8401    -e 's:$: $lt_compiler_flag:'`
8402    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8403    (eval "$lt_compile" 2>out/conftest.err)
8404    ac_status=$?
8405    cat out/conftest.err >&5
8406    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8407    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8408    then
8409      # The compiler can only warn and ignore the option if not recognized
8410      # So say no if there are warnings
8411      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8412      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8413      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8414        lt_cv_prog_compiler_c_o=yes
8415      fi
8416    fi
8417    chmod u+w . 2>&5
8418    $RM conftest*
8419    # SGI C++ compiler will create directory out/ii_files/ for
8420    # template instantiation
8421    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8422    $RM out/* && rmdir out
8423    cd ..
8424    $RM -r conftest
8425    $RM conftest*
8426 
8427 fi
8428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8429 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8430 
8431 
8432 
8433 
8434 
8435 
8436   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8437 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8438 if ${lt_cv_prog_compiler_c_o+:} false; then :
8439   $as_echo_n "(cached) " >&6
8440 else
8441   lt_cv_prog_compiler_c_o=no
8442    $RM -r conftest 2>/dev/null
8443    mkdir conftest
8444    cd conftest
8445    mkdir out
8446    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8447 
8448    lt_compiler_flag="-o out/conftest2.$ac_objext"
8449    # Insert the option either (1) after the last *FLAGS variable, or
8450    # (2) before a word containing "conftest.", or (3) at the end.
8451    # Note that $ac_compile itself does not contain backslashes and begins
8452    # with a dollar sign (not a hyphen), so the echo should work correctly.
8453    lt_compile=`echo "$ac_compile" | $SED \
8454    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8455    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8456    -e 's:$: $lt_compiler_flag:'`
8457    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8458    (eval "$lt_compile" 2>out/conftest.err)
8459    ac_status=$?
8460    cat out/conftest.err >&5
8461    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8462    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8463    then
8464      # The compiler can only warn and ignore the option if not recognized
8465      # So say no if there are warnings
8466      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8467      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8468      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8469        lt_cv_prog_compiler_c_o=yes
8470      fi
8471    fi
8472    chmod u+w . 2>&5
8473    $RM conftest*
8474    # SGI C++ compiler will create directory out/ii_files/ for
8475    # template instantiation
8476    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8477    $RM out/* && rmdir out
8478    cd ..
8479    $RM -r conftest
8480    $RM conftest*
8481 
8482 fi
8483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8484 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8485 
8486 
8487 
8488 
8489 hard_links="nottested"
8490 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8491   # do not overwrite the value of need_locks provided by the user
8492   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8493 $as_echo_n "checking if we can lock with hard links... " >&6; }
8494   hard_links=yes
8495   $RM conftest*
8496   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8497   touch conftest.a
8498   ln conftest.a conftest.b 2>&5 || hard_links=no
8499   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8500   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8501 $as_echo "$hard_links" >&6; }
8502   if test "$hard_links" = no; then
8503     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8504 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8505     need_locks=warn
8506   fi
8507 else
8508   need_locks=no
8509 fi
8510 
8511 
8512 
8513 
8514 
8515 
8516   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8517 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8518 
8519   runpath_var=
8520   allow_undefined_flag=
8521   always_export_symbols=no
8522   archive_cmds=
8523   archive_expsym_cmds=
8524   compiler_needs_object=no
8525   enable_shared_with_static_runtimes=no
8526   export_dynamic_flag_spec=
8527   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8528   hardcode_automatic=no
8529   hardcode_direct=no
8530   hardcode_direct_absolute=no
8531   hardcode_libdir_flag_spec=
8532   hardcode_libdir_separator=
8533   hardcode_minus_L=no
8534   hardcode_shlibpath_var=unsupported
8535   inherit_rpath=no
8536   link_all_deplibs=unknown
8537   module_cmds=
8538   module_expsym_cmds=
8539   old_archive_from_new_cmds=
8540   old_archive_from_expsyms_cmds=
8541   thread_safe_flag_spec=
8542   whole_archive_flag_spec=
8543   # include_expsyms should be a list of space-separated symbols to be *always*
8544   # included in the symbol list
8545   include_expsyms=
8546   # exclude_expsyms can be an extended regexp of symbols to exclude
8547   # it will be wrapped by ` (' and `)$', so one must not match beginning or
8548   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8549   # as well as any symbol that contains `d'.
8550   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8551   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8552   # platforms (ab)use it in PIC code, but their linkers get confused if
8553   # the symbol is explicitly referenced.  Since portable code cannot
8554   # rely on this symbol name, it's probably fine to never include it in
8555   # preloaded symbol tables.
8556   # Exclude shared library initialization/finalization symbols.
8557   extract_expsyms_cmds=
8558 
8559   case $host_os in
8560   cygwin* | mingw* | pw32* | cegcc*)
8561     # FIXME: the MSVC++ port hasn't been tested in a loooong time
8562     # When not using gcc, we currently assume that we are using
8563     # Microsoft Visual C++.
8564     if test "$GCC" != yes; then
8565       with_gnu_ld=no
8566     fi
8567     ;;
8568   interix*)
8569     # we just hope/assume this is gcc and not c89 (= MSVC++)
8570     with_gnu_ld=yes
8571     ;;
8572   openbsd*)
8573     with_gnu_ld=no
8574     ;;
8575   linux* | k*bsd*-gnu | gnu*)
8576     link_all_deplibs=no
8577     ;;
8578   esac
8579 
8580   ld_shlibs=yes
8581 
8582   # On some targets, GNU ld is compatible enough with the native linker
8583   # that we're better off using the native interface for both.
8584   lt_use_gnu_ld_interface=no
8585   if test "$with_gnu_ld" = yes; then
8586     case $host_os in
8587       aix*)
8588 	# The AIX port of GNU ld has always aspired to compatibility
8589 	# with the native linker.  However, as the warning in the GNU ld
8590 	# block says, versions before 2.19.5* couldn't really create working
8591 	# shared libraries, regardless of the interface used.
8592 	case `$LD -v 2>&1` in
8593 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8594 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8595 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8596 	  *)
8597 	    lt_use_gnu_ld_interface=yes
8598 	    ;;
8599 	esac
8600 	;;
8601       *)
8602 	lt_use_gnu_ld_interface=yes
8603 	;;
8604     esac
8605   fi
8606 
8607   if test "$lt_use_gnu_ld_interface" = yes; then
8608     # If archive_cmds runs LD, not CC, wlarc should be empty
8609     wlarc='${wl}'
8610 
8611     # Set some defaults for GNU ld with shared library support. These
8612     # are reset later if shared libraries are not supported. Putting them
8613     # here allows them to be overridden if necessary.
8614     runpath_var=LD_RUN_PATH
8615     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8616     export_dynamic_flag_spec='${wl}--export-dynamic'
8617     # ancient GNU ld didn't support --whole-archive et. al.
8618     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8619       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8620     else
8621       whole_archive_flag_spec=
8622     fi
8623     supports_anon_versioning=no
8624     case `$LD -v 2>&1` in
8625       *GNU\ gold*) supports_anon_versioning=yes ;;
8626       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8627       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8628       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8629       *\ 2.11.*) ;; # other 2.11 versions
8630       *) supports_anon_versioning=yes ;;
8631     esac
8632 
8633     # See if GNU ld supports shared libraries.
8634     case $host_os in
8635     aix[3-9]*)
8636       # On AIX/PPC, the GNU linker is very broken
8637       if test "$host_cpu" != ia64; then
8638 	ld_shlibs=no
8639 	cat <<_LT_EOF 1>&2
8640 
8641 *** Warning: the GNU linker, at least up to release 2.19, is reported
8642 *** to be unable to reliably create shared libraries on AIX.
8643 *** Therefore, libtool is disabling shared libraries support.  If you
8644 *** really care for shared libraries, you may want to install binutils
8645 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8646 *** You will then need to restart the configuration process.
8647 
8648 _LT_EOF
8649       fi
8650       ;;
8651 
8652     amigaos*)
8653       case $host_cpu in
8654       powerpc)
8655             # see comment about AmigaOS4 .so support
8656             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8657             archive_expsym_cmds=''
8658         ;;
8659       m68k)
8660             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)'
8661             hardcode_libdir_flag_spec='-L$libdir'
8662             hardcode_minus_L=yes
8663         ;;
8664       esac
8665       ;;
8666 
8667     beos*)
8668       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8669 	allow_undefined_flag=unsupported
8670 	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8671 	# support --undefined.  This deserves some investigation.  FIXME
8672 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8673       else
8674 	ld_shlibs=no
8675       fi
8676       ;;
8677 
8678     cygwin* | mingw* | pw32* | cegcc*)
8679       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8680       # as there is no search path for DLLs.
8681       hardcode_libdir_flag_spec='-L$libdir'
8682       export_dynamic_flag_spec='${wl}--export-all-symbols'
8683       allow_undefined_flag=unsupported
8684       always_export_symbols=no
8685       enable_shared_with_static_runtimes=yes
8686       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'
8687       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8688 
8689       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8690         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8691 	# If the export-symbols file already is a .def file (1st line
8692 	# is EXPORTS), use it as is; otherwise, prepend...
8693 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8694 	  cp $export_symbols $output_objdir/$soname.def;
8695 	else
8696 	  echo EXPORTS > $output_objdir/$soname.def;
8697 	  cat $export_symbols >> $output_objdir/$soname.def;
8698 	fi~
8699 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8700       else
8701 	ld_shlibs=no
8702       fi
8703       ;;
8704 
8705     haiku*)
8706       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8707       link_all_deplibs=yes
8708       ;;
8709 
8710     interix[3-9]*)
8711       hardcode_direct=no
8712       hardcode_shlibpath_var=no
8713       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8714       export_dynamic_flag_spec='${wl}-E'
8715       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8716       # Instead, shared libraries are loaded at an image base (0x10000000 by
8717       # default) and relocated if they conflict, which is a slow very memory
8718       # consuming and fragmenting process.  To avoid this, we pick a random,
8719       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8720       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
8721       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8722       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'
8723       ;;
8724 
8725     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8726       tmp_diet=no
8727       if test "$host_os" = linux-dietlibc; then
8728 	case $cc_basename in
8729 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
8730 	esac
8731       fi
8732       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8733 	 && test "$tmp_diet" = no
8734       then
8735 	tmp_addflag=' $pic_flag'
8736 	tmp_sharedflag='-shared'
8737 	case $cc_basename,$host_cpu in
8738         pgcc*)				# Portland Group C compiler
8739 	  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'
8740 	  tmp_addflag=' $pic_flag'
8741 	  ;;
8742 	pgf77* | pgf90* | pgf95* | pgfortran*)
8743 					# Portland Group f77 and f90 compilers
8744 	  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'
8745 	  tmp_addflag=' $pic_flag -Mnomain' ;;
8746 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
8747 	  tmp_addflag=' -i_dynamic' ;;
8748 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
8749 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
8750 	ifc* | ifort*)			# Intel Fortran compiler
8751 	  tmp_addflag=' -nofor_main' ;;
8752 	lf95*)				# Lahey Fortran 8.1
8753 	  whole_archive_flag_spec=
8754 	  tmp_sharedflag='--shared' ;;
8755 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8756 	  tmp_sharedflag='-qmkshrobj'
8757 	  tmp_addflag= ;;
8758 	nvcc*)	# Cuda Compiler Driver 2.2
8759 	  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'
8760 	  compiler_needs_object=yes
8761 	  ;;
8762 	esac
8763 	case `$CC -V 2>&1 | sed 5q` in
8764 	*Sun\ C*)			# Sun C 5.9
8765 	  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'
8766 	  compiler_needs_object=yes
8767 	  tmp_sharedflag='-G' ;;
8768 	*Sun\ F*)			# Sun Fortran 8.3
8769 	  tmp_sharedflag='-G' ;;
8770 	esac
8771 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8772 
8773         if test "x$supports_anon_versioning" = xyes; then
8774           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8775 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8776 	    echo "local: *; };" >> $output_objdir/$libname.ver~
8777 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8778         fi
8779 
8780 	case $cc_basename in
8781 	xlf* | bgf* | bgxlf* | mpixlf*)
8782 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8783 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8784 	  hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8785 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8786 	  if test "x$supports_anon_versioning" = xyes; then
8787 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8788 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8789 	      echo "local: *; };" >> $output_objdir/$libname.ver~
8790 	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8791 	  fi
8792 	  ;;
8793 	esac
8794       else
8795         ld_shlibs=no
8796       fi
8797       ;;
8798 
8799     netbsd* | netbsdelf*-gnu)
8800       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8801 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8802 	wlarc=
8803       else
8804 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8805 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8806       fi
8807       ;;
8808 
8809     solaris*)
8810       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8811 	ld_shlibs=no
8812 	cat <<_LT_EOF 1>&2
8813 
8814 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8815 *** create shared libraries on Solaris systems.  Therefore, libtool
8816 *** is disabling shared libraries support.  We urge you to upgrade GNU
8817 *** binutils to release 2.9.1 or newer.  Another option is to modify
8818 *** your PATH or compiler configuration so that the native linker is
8819 *** used, and then restart.
8820 
8821 _LT_EOF
8822       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8823 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8824 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8825       else
8826 	ld_shlibs=no
8827       fi
8828       ;;
8829 
8830     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8831       case `$LD -v 2>&1` in
8832         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8833 	ld_shlibs=no
8834 	cat <<_LT_EOF 1>&2
8835 
8836 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8837 *** reliably create shared libraries on SCO systems.  Therefore, libtool
8838 *** is disabling shared libraries support.  We urge you to upgrade GNU
8839 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
8840 *** your PATH or compiler configuration so that the native linker is
8841 *** used, and then restart.
8842 
8843 _LT_EOF
8844 	;;
8845 	*)
8846 	  # For security reasons, it is highly recommended that you always
8847 	  # use absolute paths for naming shared libraries, and exclude the
8848 	  # DT_RUNPATH tag from executables and libraries.  But doing so
8849 	  # requires that you compile everything twice, which is a pain.
8850 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8851 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8852 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8853 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8854 	  else
8855 	    ld_shlibs=no
8856 	  fi
8857 	;;
8858       esac
8859       ;;
8860 
8861     sunos4*)
8862       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8863       wlarc=
8864       hardcode_direct=yes
8865       hardcode_shlibpath_var=no
8866       ;;
8867 
8868     *)
8869       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8870 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8871 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8872       else
8873 	ld_shlibs=no
8874       fi
8875       ;;
8876     esac
8877 
8878     if test "$ld_shlibs" = no; then
8879       runpath_var=
8880       hardcode_libdir_flag_spec=
8881       export_dynamic_flag_spec=
8882       whole_archive_flag_spec=
8883     fi
8884   else
8885     # PORTME fill in a description of your system's linker (not GNU ld)
8886     case $host_os in
8887     aix3*)
8888       allow_undefined_flag=unsupported
8889       always_export_symbols=yes
8890       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'
8891       # Note: this linker hardcodes the directories in LIBPATH if there
8892       # are no directories specified by -L.
8893       hardcode_minus_L=yes
8894       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8895 	# Neither direct hardcoding nor static linking is supported with a
8896 	# broken collect2.
8897 	hardcode_direct=unsupported
8898       fi
8899       ;;
8900 
8901     aix[4-9]*)
8902       if test "$host_cpu" = ia64; then
8903 	# On IA64, the linker does run time linking by default, so we don't
8904 	# have to do anything special.
8905 	aix_use_runtimelinking=no
8906 	exp_sym_flag='-Bexport'
8907 	no_entry_flag=""
8908       else
8909 	# If we're using GNU nm, then we don't want the "-C" option.
8910 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
8911 	# Also, AIX nm treats weak defined symbols like other global
8912 	# defined symbols, whereas GNU nm marks them as "W".
8913 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8914 	  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'
8915 	else
8916 	  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'
8917 	fi
8918 	aix_use_runtimelinking=no
8919 
8920 	# Test if we are trying to use run time linking or normal
8921 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
8922 	# need to do runtime linking.
8923 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8924 	  for ld_flag in $LDFLAGS; do
8925 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8926 	    aix_use_runtimelinking=yes
8927 	    break
8928 	  fi
8929 	  done
8930 	  ;;
8931 	esac
8932 
8933 	exp_sym_flag='-bexport'
8934 	no_entry_flag='-bnoentry'
8935       fi
8936 
8937       # When large executables or shared objects are built, AIX ld can
8938       # have problems creating the table of contents.  If linking a library
8939       # or program results in "error TOC overflow" add -mminimal-toc to
8940       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
8941       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8942 
8943       archive_cmds=''
8944       hardcode_direct=yes
8945       hardcode_direct_absolute=yes
8946       hardcode_libdir_separator=':'
8947       link_all_deplibs=yes
8948       file_list_spec='${wl}-f,'
8949 
8950       if test "$GCC" = yes; then
8951 	case $host_os in aix4.[012]|aix4.[012].*)
8952 	# We only want to do this on AIX 4.2 and lower, the check
8953 	# below for broken collect2 doesn't work under 4.3+
8954 	  collect2name=`${CC} -print-prog-name=collect2`
8955 	  if test -f "$collect2name" &&
8956 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8957 	  then
8958 	  # We have reworked collect2
8959 	  :
8960 	  else
8961 	  # We have old collect2
8962 	  hardcode_direct=unsupported
8963 	  # It fails to find uninstalled libraries when the uninstalled
8964 	  # path is not listed in the libpath.  Setting hardcode_minus_L
8965 	  # to unsupported forces relinking
8966 	  hardcode_minus_L=yes
8967 	  hardcode_libdir_flag_spec='-L$libdir'
8968 	  hardcode_libdir_separator=
8969 	  fi
8970 	  ;;
8971 	esac
8972 	shared_flag='-shared'
8973 	if test "$aix_use_runtimelinking" = yes; then
8974 	  shared_flag="$shared_flag "'${wl}-G'
8975 	fi
8976 	link_all_deplibs=no
8977       else
8978 	# not using gcc
8979 	if test "$host_cpu" = ia64; then
8980 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8981 	# chokes on -Wl,-G. The following line is correct:
8982 	  shared_flag='-G'
8983 	else
8984 	  if test "$aix_use_runtimelinking" = yes; then
8985 	    shared_flag='${wl}-G'
8986 	  else
8987 	    shared_flag='${wl}-bM:SRE'
8988 	  fi
8989 	fi
8990       fi
8991 
8992       export_dynamic_flag_spec='${wl}-bexpall'
8993       # It seems that -bexpall does not export symbols beginning with
8994       # underscore (_), so it is better to generate a list of symbols to export.
8995       always_export_symbols=yes
8996       if test "$aix_use_runtimelinking" = yes; then
8997 	# Warning - without using the other runtime loading flags (-brtl),
8998 	# -berok will link without error, but may produce a broken library.
8999 	allow_undefined_flag='-berok'
9000         # Determine the default libpath from the value encoded in an
9001         # empty executable.
9002         if test "${lt_cv_aix_libpath+set}" = set; then
9003   aix_libpath=$lt_cv_aix_libpath
9004 else
9005   if ${lt_cv_aix_libpath_+:} false; then :
9006   $as_echo_n "(cached) " >&6
9007 else
9008   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9009 /* end confdefs.h.  */
9010 
9011 int
9012 main ()
9013 {
9014 
9015   ;
9016   return 0;
9017 }
9018 _ACEOF
9019 if ac_fn_c_try_link "$LINENO"; then :
9020 
9021   lt_aix_libpath_sed='
9022       /Import File Strings/,/^$/ {
9023 	  /^0/ {
9024 	      s/^0  *\([^ ]*\) *$/\1/
9025 	      p
9026 	  }
9027       }'
9028   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9029   # Check for a 64-bit object if we didn't find anything.
9030   if test -z "$lt_cv_aix_libpath_"; then
9031     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9032   fi
9033 fi
9034 rm -f core conftest.err conftest.$ac_objext \
9035     conftest$ac_exeext conftest.$ac_ext
9036   if test -z "$lt_cv_aix_libpath_"; then
9037     lt_cv_aix_libpath_="/usr/lib:/lib"
9038   fi
9039 
9040 fi
9041 
9042   aix_libpath=$lt_cv_aix_libpath_
9043 fi
9044 
9045         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9046         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"
9047       else
9048 	if test "$host_cpu" = ia64; then
9049 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9050 	  allow_undefined_flag="-z nodefs"
9051 	  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"
9052 	else
9053 	 # Determine the default libpath from the value encoded in an
9054 	 # empty executable.
9055 	 if test "${lt_cv_aix_libpath+set}" = set; then
9056   aix_libpath=$lt_cv_aix_libpath
9057 else
9058   if ${lt_cv_aix_libpath_+:} false; then :
9059   $as_echo_n "(cached) " >&6
9060 else
9061   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9062 /* end confdefs.h.  */
9063 
9064 int
9065 main ()
9066 {
9067 
9068   ;
9069   return 0;
9070 }
9071 _ACEOF
9072 if ac_fn_c_try_link "$LINENO"; then :
9073 
9074   lt_aix_libpath_sed='
9075       /Import File Strings/,/^$/ {
9076 	  /^0/ {
9077 	      s/^0  *\([^ ]*\) *$/\1/
9078 	      p
9079 	  }
9080       }'
9081   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9082   # Check for a 64-bit object if we didn't find anything.
9083   if test -z "$lt_cv_aix_libpath_"; then
9084     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9085   fi
9086 fi
9087 rm -f core conftest.err conftest.$ac_objext \
9088     conftest$ac_exeext conftest.$ac_ext
9089   if test -z "$lt_cv_aix_libpath_"; then
9090     lt_cv_aix_libpath_="/usr/lib:/lib"
9091   fi
9092 
9093 fi
9094 
9095   aix_libpath=$lt_cv_aix_libpath_
9096 fi
9097 
9098 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9099 	  # Warning - without using the other run time loading flags,
9100 	  # -berok will link without error, but may produce a broken library.
9101 	  no_undefined_flag=' ${wl}-bernotok'
9102 	  allow_undefined_flag=' ${wl}-berok'
9103 	  if test "$with_gnu_ld" = yes; then
9104 	    # We only use this code for GNU lds that support --whole-archive.
9105 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9106 	  else
9107 	    # Exported symbols can be pulled into shared objects from archives
9108 	    whole_archive_flag_spec='$convenience'
9109 	  fi
9110 	  archive_cmds_need_lc=yes
9111 	  # This is similar to how AIX traditionally builds its shared libraries.
9112 	  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'
9113 	fi
9114       fi
9115       ;;
9116 
9117     amigaos*)
9118       case $host_cpu in
9119       powerpc)
9120             # see comment about AmigaOS4 .so support
9121             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9122             archive_expsym_cmds=''
9123         ;;
9124       m68k)
9125             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)'
9126             hardcode_libdir_flag_spec='-L$libdir'
9127             hardcode_minus_L=yes
9128         ;;
9129       esac
9130       ;;
9131 
9132     bsdi[45]*)
9133       export_dynamic_flag_spec=-rdynamic
9134       ;;
9135 
9136     cygwin* | mingw* | pw32* | cegcc*)
9137       # When not using gcc, we currently assume that we are using
9138       # Microsoft Visual C++.
9139       # hardcode_libdir_flag_spec is actually meaningless, as there is
9140       # no search path for DLLs.
9141       case $cc_basename in
9142       cl*)
9143 	# Native MSVC
9144 	hardcode_libdir_flag_spec=' '
9145 	allow_undefined_flag=unsupported
9146 	always_export_symbols=yes
9147 	file_list_spec='@'
9148 	# Tell ltmain to make .lib files, not .a files.
9149 	libext=lib
9150 	# Tell ltmain to make .dll files, not .so files.
9151 	shrext_cmds=".dll"
9152 	# FIXME: Setting linknames here is a bad hack.
9153 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9154 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9155 	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9156 	  else
9157 	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9158 	  fi~
9159 	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9160 	  linknames='
9161 	# The linker will not automatically build a static lib if we build a DLL.
9162 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9163 	enable_shared_with_static_runtimes=yes
9164 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9165 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9166 	# Don't use ranlib
9167 	old_postinstall_cmds='chmod 644 $oldlib'
9168 	postlink_cmds='lt_outputfile="@OUTPUT@"~
9169 	  lt_tool_outputfile="@TOOL_OUTPUT@"~
9170 	  case $lt_outputfile in
9171 	    *.exe|*.EXE) ;;
9172 	    *)
9173 	      lt_outputfile="$lt_outputfile.exe"
9174 	      lt_tool_outputfile="$lt_tool_outputfile.exe"
9175 	      ;;
9176 	  esac~
9177 	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9178 	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9179 	    $RM "$lt_outputfile.manifest";
9180 	  fi'
9181 	;;
9182       *)
9183 	# Assume MSVC wrapper
9184 	hardcode_libdir_flag_spec=' '
9185 	allow_undefined_flag=unsupported
9186 	# Tell ltmain to make .lib files, not .a files.
9187 	libext=lib
9188 	# Tell ltmain to make .dll files, not .so files.
9189 	shrext_cmds=".dll"
9190 	# FIXME: Setting linknames here is a bad hack.
9191 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9192 	# The linker will automatically build a .lib file if we build a DLL.
9193 	old_archive_from_new_cmds='true'
9194 	# FIXME: Should let the user specify the lib program.
9195 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9196 	enable_shared_with_static_runtimes=yes
9197 	;;
9198       esac
9199       ;;
9200 
9201     darwin* | rhapsody*)
9202 
9203 
9204   archive_cmds_need_lc=no
9205   hardcode_direct=no
9206   hardcode_automatic=yes
9207   hardcode_shlibpath_var=unsupported
9208   if test "$lt_cv_ld_force_load" = "yes"; then
9209     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\"`'
9210 
9211   else
9212     whole_archive_flag_spec=''
9213   fi
9214   link_all_deplibs=yes
9215   allow_undefined_flag="$_lt_dar_allow_undefined"
9216   case $cc_basename in
9217      ifort*) _lt_dar_can_shared=yes ;;
9218      *) _lt_dar_can_shared=$GCC ;;
9219   esac
9220   if test "$_lt_dar_can_shared" = "yes"; then
9221     output_verbose_link_cmd=func_echo_all
9222     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9223     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9224     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}"
9225     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}"
9226 
9227   else
9228   ld_shlibs=no
9229   fi
9230 
9231       ;;
9232 
9233     dgux*)
9234       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9235       hardcode_libdir_flag_spec='-L$libdir'
9236       hardcode_shlibpath_var=no
9237       ;;
9238 
9239     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9240     # support.  Future versions do this automatically, but an explicit c++rt0.o
9241     # does not break anything, and helps significantly (at the cost of a little
9242     # extra space).
9243     freebsd2.2*)
9244       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9245       hardcode_libdir_flag_spec='-R$libdir'
9246       hardcode_direct=yes
9247       hardcode_shlibpath_var=no
9248       ;;
9249 
9250     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9251     freebsd2.*)
9252       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9253       hardcode_direct=yes
9254       hardcode_minus_L=yes
9255       hardcode_shlibpath_var=no
9256       ;;
9257 
9258     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9259     freebsd* | dragonfly*)
9260       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9261       hardcode_libdir_flag_spec='-R$libdir'
9262       hardcode_direct=yes
9263       hardcode_shlibpath_var=no
9264       ;;
9265 
9266     hpux9*)
9267       if test "$GCC" = yes; then
9268 	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'
9269       else
9270 	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'
9271       fi
9272       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9273       hardcode_libdir_separator=:
9274       hardcode_direct=yes
9275 
9276       # hardcode_minus_L: Not really in the search PATH,
9277       # but as the default location of the library.
9278       hardcode_minus_L=yes
9279       export_dynamic_flag_spec='${wl}-E'
9280       ;;
9281 
9282     hpux10*)
9283       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9284 	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9285       else
9286 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9287       fi
9288       if test "$with_gnu_ld" = no; then
9289 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9290 	hardcode_libdir_separator=:
9291 	hardcode_direct=yes
9292 	hardcode_direct_absolute=yes
9293 	export_dynamic_flag_spec='${wl}-E'
9294 	# hardcode_minus_L: Not really in the search PATH,
9295 	# but as the default location of the library.
9296 	hardcode_minus_L=yes
9297       fi
9298       ;;
9299 
9300     hpux11*)
9301       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9302 	case $host_cpu in
9303 	hppa*64*)
9304 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9305 	  ;;
9306 	ia64*)
9307 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9308 	  ;;
9309 	*)
9310 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9311 	  ;;
9312 	esac
9313       else
9314 	case $host_cpu in
9315 	hppa*64*)
9316 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9317 	  ;;
9318 	ia64*)
9319 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9320 	  ;;
9321 	*)
9322 
9323 	  # Older versions of the 11.00 compiler do not understand -b yet
9324 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9325 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9326 $as_echo_n "checking if $CC understands -b... " >&6; }
9327 if ${lt_cv_prog_compiler__b+:} false; then :
9328   $as_echo_n "(cached) " >&6
9329 else
9330   lt_cv_prog_compiler__b=no
9331    save_LDFLAGS="$LDFLAGS"
9332    LDFLAGS="$LDFLAGS -b"
9333    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9334    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9335      # The linker can only warn and ignore the option if not recognized
9336      # So say no if there are warnings
9337      if test -s conftest.err; then
9338        # Append any errors to the config.log.
9339        cat conftest.err 1>&5
9340        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9341        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9342        if diff conftest.exp conftest.er2 >/dev/null; then
9343          lt_cv_prog_compiler__b=yes
9344        fi
9345      else
9346        lt_cv_prog_compiler__b=yes
9347      fi
9348    fi
9349    $RM -r conftest*
9350    LDFLAGS="$save_LDFLAGS"
9351 
9352 fi
9353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9354 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9355 
9356 if test x"$lt_cv_prog_compiler__b" = xyes; then
9357     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9358 else
9359     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9360 fi
9361 
9362 	  ;;
9363 	esac
9364       fi
9365       if test "$with_gnu_ld" = no; then
9366 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9367 	hardcode_libdir_separator=:
9368 
9369 	case $host_cpu in
9370 	hppa*64*|ia64*)
9371 	  hardcode_direct=no
9372 	  hardcode_shlibpath_var=no
9373 	  ;;
9374 	*)
9375 	  hardcode_direct=yes
9376 	  hardcode_direct_absolute=yes
9377 	  export_dynamic_flag_spec='${wl}-E'
9378 
9379 	  # hardcode_minus_L: Not really in the search PATH,
9380 	  # but as the default location of the library.
9381 	  hardcode_minus_L=yes
9382 	  ;;
9383 	esac
9384       fi
9385       ;;
9386 
9387     irix5* | irix6* | nonstopux*)
9388       if test "$GCC" = yes; then
9389 	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'
9390 	# Try to use the -exported_symbol ld option, if it does not
9391 	# work, assume that -exports_file does not work either and
9392 	# implicitly export all symbols.
9393 	# This should be the same for all languages, so no per-tag cache variable.
9394 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9395 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9396 if ${lt_cv_irix_exported_symbol+:} false; then :
9397   $as_echo_n "(cached) " >&6
9398 else
9399   save_LDFLAGS="$LDFLAGS"
9400 	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9401 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9402 /* end confdefs.h.  */
9403 int foo (void) { return 0; }
9404 _ACEOF
9405 if ac_fn_c_try_link "$LINENO"; then :
9406   lt_cv_irix_exported_symbol=yes
9407 else
9408   lt_cv_irix_exported_symbol=no
9409 fi
9410 rm -f core conftest.err conftest.$ac_objext \
9411     conftest$ac_exeext conftest.$ac_ext
9412            LDFLAGS="$save_LDFLAGS"
9413 fi
9414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9415 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9416 	if test "$lt_cv_irix_exported_symbol" = yes; then
9417           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'
9418 	fi
9419       else
9420 	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'
9421 	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'
9422       fi
9423       archive_cmds_need_lc='no'
9424       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9425       hardcode_libdir_separator=:
9426       inherit_rpath=yes
9427       link_all_deplibs=yes
9428       ;;
9429 
9430     netbsd* | netbsdelf*-gnu)
9431       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9432 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9433       else
9434 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9435       fi
9436       hardcode_libdir_flag_spec='-R$libdir'
9437       hardcode_direct=yes
9438       hardcode_shlibpath_var=no
9439       ;;
9440 
9441     newsos6)
9442       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9443       hardcode_direct=yes
9444       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9445       hardcode_libdir_separator=:
9446       hardcode_shlibpath_var=no
9447       ;;
9448 
9449     *nto* | *qnx*)
9450       ;;
9451 
9452     openbsd*)
9453       if test -f /usr/libexec/ld.so; then
9454 	hardcode_direct=yes
9455 	hardcode_shlibpath_var=no
9456 	hardcode_direct_absolute=yes
9457 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9458 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9459 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9460 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9461 	  export_dynamic_flag_spec='${wl}-E'
9462 	else
9463 	  case $host_os in
9464 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9465 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9466 	     hardcode_libdir_flag_spec='-R$libdir'
9467 	     ;;
9468 	   *)
9469 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9470 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9471 	     ;;
9472 	  esac
9473 	fi
9474       else
9475 	ld_shlibs=no
9476       fi
9477       ;;
9478 
9479     os2*)
9480       hardcode_libdir_flag_spec='-L$libdir'
9481       hardcode_minus_L=yes
9482       allow_undefined_flag=unsupported
9483       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'
9484       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9485       ;;
9486 
9487     osf3*)
9488       if test "$GCC" = yes; then
9489 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9490 	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'
9491       else
9492 	allow_undefined_flag=' -expect_unresolved \*'
9493 	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'
9494       fi
9495       archive_cmds_need_lc='no'
9496       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9497       hardcode_libdir_separator=:
9498       ;;
9499 
9500     osf4* | osf5*)	# as osf3* with the addition of -msym flag
9501       if test "$GCC" = yes; then
9502 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9503 	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'
9504 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9505       else
9506 	allow_undefined_flag=' -expect_unresolved \*'
9507 	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'
9508 	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~
9509 	$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'
9510 
9511 	# Both c and cxx compiler support -rpath directly
9512 	hardcode_libdir_flag_spec='-rpath $libdir'
9513       fi
9514       archive_cmds_need_lc='no'
9515       hardcode_libdir_separator=:
9516       ;;
9517 
9518     solaris*)
9519       no_undefined_flag=' -z defs'
9520       if test "$GCC" = yes; then
9521 	wlarc='${wl}'
9522 	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9523 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9524 	  $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'
9525       else
9526 	case `$CC -V 2>&1` in
9527 	*"Compilers 5.0"*)
9528 	  wlarc=''
9529 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9530 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9531 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9532 	  ;;
9533 	*)
9534 	  wlarc='${wl}'
9535 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9536 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9537 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9538 	  ;;
9539 	esac
9540       fi
9541       hardcode_libdir_flag_spec='-R$libdir'
9542       hardcode_shlibpath_var=no
9543       case $host_os in
9544       solaris2.[0-5] | solaris2.[0-5].*) ;;
9545       *)
9546 	# The compiler driver will combine and reorder linker options,
9547 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
9548 	# but is careful enough not to reorder.
9549 	# Supported since Solaris 2.6 (maybe 2.5.1?)
9550 	if test "$GCC" = yes; then
9551 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9552 	else
9553 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9554 	fi
9555 	;;
9556       esac
9557       link_all_deplibs=yes
9558       ;;
9559 
9560     sunos4*)
9561       if test "x$host_vendor" = xsequent; then
9562 	# Use $CC to link under sequent, because it throws in some extra .o
9563 	# files that make .init and .fini sections work.
9564 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9565       else
9566 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9567       fi
9568       hardcode_libdir_flag_spec='-L$libdir'
9569       hardcode_direct=yes
9570       hardcode_minus_L=yes
9571       hardcode_shlibpath_var=no
9572       ;;
9573 
9574     sysv4)
9575       case $host_vendor in
9576 	sni)
9577 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9578 	  hardcode_direct=yes # is this really true???
9579 	;;
9580 	siemens)
9581 	  ## LD is ld it makes a PLAMLIB
9582 	  ## CC just makes a GrossModule.
9583 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9584 	  reload_cmds='$CC -r -o $output$reload_objs'
9585 	  hardcode_direct=no
9586         ;;
9587 	motorola)
9588 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9589 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9590 	;;
9591       esac
9592       runpath_var='LD_RUN_PATH'
9593       hardcode_shlibpath_var=no
9594       ;;
9595 
9596     sysv4.3*)
9597       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9598       hardcode_shlibpath_var=no
9599       export_dynamic_flag_spec='-Bexport'
9600       ;;
9601 
9602     sysv4*MP*)
9603       if test -d /usr/nec; then
9604 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9605 	hardcode_shlibpath_var=no
9606 	runpath_var=LD_RUN_PATH
9607 	hardcode_runpath_var=yes
9608 	ld_shlibs=yes
9609       fi
9610       ;;
9611 
9612     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9613       no_undefined_flag='${wl}-z,text'
9614       archive_cmds_need_lc=no
9615       hardcode_shlibpath_var=no
9616       runpath_var='LD_RUN_PATH'
9617 
9618       if test "$GCC" = yes; then
9619 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9620 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9621       else
9622 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9623 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9624       fi
9625       ;;
9626 
9627     sysv5* | sco3.2v5* | sco5v6*)
9628       # Note: We can NOT use -z defs as we might desire, because we do not
9629       # link with -lc, and that would cause any symbols used from libc to
9630       # always be unresolved, which means just about no library would
9631       # ever link correctly.  If we're not using GNU ld we use -z text
9632       # though, which does catch some bad symbols but isn't as heavy-handed
9633       # as -z defs.
9634       no_undefined_flag='${wl}-z,text'
9635       allow_undefined_flag='${wl}-z,nodefs'
9636       archive_cmds_need_lc=no
9637       hardcode_shlibpath_var=no
9638       hardcode_libdir_flag_spec='${wl}-R,$libdir'
9639       hardcode_libdir_separator=':'
9640       link_all_deplibs=yes
9641       export_dynamic_flag_spec='${wl}-Bexport'
9642       runpath_var='LD_RUN_PATH'
9643 
9644       if test "$GCC" = yes; then
9645 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9646 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9647       else
9648 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9649 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9650       fi
9651       ;;
9652 
9653     uts4*)
9654       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9655       hardcode_libdir_flag_spec='-L$libdir'
9656       hardcode_shlibpath_var=no
9657       ;;
9658 
9659     *)
9660       ld_shlibs=no
9661       ;;
9662     esac
9663 
9664     if test x$host_vendor = xsni; then
9665       case $host in
9666       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9667 	export_dynamic_flag_spec='${wl}-Blargedynsym'
9668 	;;
9669       esac
9670     fi
9671   fi
9672 
9673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9674 $as_echo "$ld_shlibs" >&6; }
9675 test "$ld_shlibs" = no && can_build_shared=no
9676 
9677 with_gnu_ld=$with_gnu_ld
9678 
9679 
9680 
9681 
9682 
9683 
9684 
9685 
9686 
9687 
9688 
9689 
9690 
9691 
9692 
9693 #
9694 # Do we need to explicitly link libc?
9695 #
9696 case "x$archive_cmds_need_lc" in
9697 x|xyes)
9698   # Assume -lc should be added
9699   archive_cmds_need_lc=yes
9700 
9701   if test "$enable_shared" = yes && test "$GCC" = yes; then
9702     case $archive_cmds in
9703     *'~'*)
9704       # FIXME: we may have to deal with multi-command sequences.
9705       ;;
9706     '$CC '*)
9707       # Test whether the compiler implicitly links with -lc since on some
9708       # systems, -lgcc has to come before -lc. If gcc already passes -lc
9709       # to ld, don't add -lc before -lgcc.
9710       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9711 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9712 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9713   $as_echo_n "(cached) " >&6
9714 else
9715   $RM conftest*
9716 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9717 
9718 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9719   (eval $ac_compile) 2>&5
9720   ac_status=$?
9721   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9722   test $ac_status = 0; } 2>conftest.err; then
9723 	  soname=conftest
9724 	  lib=conftest
9725 	  libobjs=conftest.$ac_objext
9726 	  deplibs=
9727 	  wl=$lt_prog_compiler_wl
9728 	  pic_flag=$lt_prog_compiler_pic
9729 	  compiler_flags=-v
9730 	  linker_flags=-v
9731 	  verstring=
9732 	  output_objdir=.
9733 	  libname=conftest
9734 	  lt_save_allow_undefined_flag=$allow_undefined_flag
9735 	  allow_undefined_flag=
9736 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9737   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9738   ac_status=$?
9739   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9740   test $ac_status = 0; }
9741 	  then
9742 	    lt_cv_archive_cmds_need_lc=no
9743 	  else
9744 	    lt_cv_archive_cmds_need_lc=yes
9745 	  fi
9746 	  allow_undefined_flag=$lt_save_allow_undefined_flag
9747 	else
9748 	  cat conftest.err 1>&5
9749 	fi
9750 	$RM conftest*
9751 
9752 fi
9753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9754 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9755       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9756       ;;
9757     esac
9758   fi
9759   ;;
9760 esac
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 
9803 
9804 
9805 
9806 
9807 
9808 
9809 
9810 
9811 
9812 
9813 
9814 
9815 
9816 
9817 
9818 
9819 
9820 
9821 
9822 
9823 
9824 
9825 
9826 
9827 
9828 
9829 
9830 
9831 
9832 
9833 
9834 
9835 
9836 
9837 
9838 
9839 
9840 
9841 
9842 
9843 
9844 
9845 
9846 
9847 
9848 
9849 
9850 
9851 
9852 
9853 
9854 
9855 
9856 
9857 
9858 
9859 
9860 
9861 
9862 
9863 
9864 
9865 
9866 
9867 
9868 
9869 
9870 
9871 
9872 
9873 
9874 
9875 
9876 
9877 
9878 
9879 
9880 
9881 
9882 
9883 
9884 
9885 
9886 
9887 
9888 
9889 
9890 
9891 
9892 
9893 
9894 
9895 
9896 
9897 
9898 
9899 
9900 
9901 
9902 
9903 
9904 
9905 
9906 
9907 
9908 
9909 
9910 
9911 
9912 
9913   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9914 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9915 
9916 if test "$GCC" = yes; then
9917   case $host_os in
9918     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9919     *) lt_awk_arg="/^libraries:/" ;;
9920   esac
9921   case $host_os in
9922     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
9923     *) lt_sed_strip_eq="s,=/,/,g" ;;
9924   esac
9925   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9926   case $lt_search_path_spec in
9927   *\;*)
9928     # if the path contains ";" then we assume it to be the separator
9929     # otherwise default to the standard path separator (i.e. ":") - it is
9930     # assumed that no part of a normal pathname contains ";" but that should
9931     # okay in the real world where ";" in dirpaths is itself problematic.
9932     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9933     ;;
9934   *)
9935     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9936     ;;
9937   esac
9938   # Ok, now we have the path, separated by spaces, we can step through it
9939   # and add multilib dir if necessary.
9940   lt_tmp_lt_search_path_spec=
9941   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9942   for lt_sys_path in $lt_search_path_spec; do
9943     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9944       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9945     else
9946       test -d "$lt_sys_path" && \
9947 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9948     fi
9949   done
9950   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9951 BEGIN {RS=" "; FS="/|\n";} {
9952   lt_foo="";
9953   lt_count=0;
9954   for (lt_i = NF; lt_i > 0; lt_i--) {
9955     if ($lt_i != "" && $lt_i != ".") {
9956       if ($lt_i == "..") {
9957         lt_count++;
9958       } else {
9959         if (lt_count == 0) {
9960           lt_foo="/" $lt_i lt_foo;
9961         } else {
9962           lt_count--;
9963         }
9964       }
9965     }
9966   }
9967   if (lt_foo != "") { lt_freq[lt_foo]++; }
9968   if (lt_freq[lt_foo] == 1) { print lt_foo; }
9969 }'`
9970   # AWK program above erroneously prepends '/' to C:/dos/paths
9971   # for these hosts.
9972   case $host_os in
9973     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
9974       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9975   esac
9976   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9977 else
9978   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9979 fi
9980 library_names_spec=
9981 libname_spec='lib$name'
9982 soname_spec=
9983 shrext_cmds=".so"
9984 postinstall_cmds=
9985 postuninstall_cmds=
9986 finish_cmds=
9987 finish_eval=
9988 shlibpath_var=
9989 shlibpath_overrides_runpath=unknown
9990 version_type=none
9991 dynamic_linker="$host_os ld.so"
9992 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9993 need_lib_prefix=unknown
9994 hardcode_into_libs=no
9995 
9996 # when you set need_version to no, make sure it does not cause -set_version
9997 # flags to be left without arguments
9998 need_version=unknown
9999 
10000 case $host_os in
10001 aix3*)
10002   version_type=linux # correct to gnu/linux during the next big refactor
10003   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10004   shlibpath_var=LIBPATH
10005 
10006   # AIX 3 has no versioning support, so we append a major version to the name.
10007   soname_spec='${libname}${release}${shared_ext}$major'
10008   ;;
10009 
10010 aix[4-9]*)
10011   version_type=linux # correct to gnu/linux during the next big refactor
10012   need_lib_prefix=no
10013   need_version=no
10014   hardcode_into_libs=yes
10015   if test "$host_cpu" = ia64; then
10016     # AIX 5 supports IA64
10017     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10018     shlibpath_var=LD_LIBRARY_PATH
10019   else
10020     # With GCC up to 2.95.x, collect2 would create an import file
10021     # for dependence libraries.  The import file would start with
10022     # the line `#! .'.  This would cause the generated library to
10023     # depend on `.', always an invalid library.  This was fixed in
10024     # development snapshots of GCC prior to 3.0.
10025     case $host_os in
10026       aix4 | aix4.[01] | aix4.[01].*)
10027       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10028 	   echo ' yes '
10029 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10030 	:
10031       else
10032 	can_build_shared=no
10033       fi
10034       ;;
10035     esac
10036     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10037     # soname into executable. Probably we can add versioning support to
10038     # collect2, so additional links can be useful in future.
10039     if test "$aix_use_runtimelinking" = yes; then
10040       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10041       # instead of lib<name>.a to let people know that these are not
10042       # typical AIX shared libraries.
10043       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10044     else
10045       # We preserve .a as extension for shared libraries through AIX4.2
10046       # and later when we are not doing run time linking.
10047       library_names_spec='${libname}${release}.a $libname.a'
10048       soname_spec='${libname}${release}${shared_ext}$major'
10049     fi
10050     shlibpath_var=LIBPATH
10051   fi
10052   ;;
10053 
10054 amigaos*)
10055   case $host_cpu in
10056   powerpc)
10057     # Since July 2007 AmigaOS4 officially supports .so libraries.
10058     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10059     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10060     ;;
10061   m68k)
10062     library_names_spec='$libname.ixlibrary $libname.a'
10063     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10064     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'
10065     ;;
10066   esac
10067   ;;
10068 
10069 beos*)
10070   library_names_spec='${libname}${shared_ext}'
10071   dynamic_linker="$host_os ld.so"
10072   shlibpath_var=LIBRARY_PATH
10073   ;;
10074 
10075 bsdi[45]*)
10076   version_type=linux # correct to gnu/linux during the next big refactor
10077   need_version=no
10078   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10079   soname_spec='${libname}${release}${shared_ext}$major'
10080   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10081   shlibpath_var=LD_LIBRARY_PATH
10082   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10083   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10084   # the default ld.so.conf also contains /usr/contrib/lib and
10085   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10086   # libtool to hard-code these into programs
10087   ;;
10088 
10089 cygwin* | mingw* | pw32* | cegcc*)
10090   version_type=windows
10091   shrext_cmds=".dll"
10092   need_version=no
10093   need_lib_prefix=no
10094 
10095   case $GCC,$cc_basename in
10096   yes,*)
10097     # gcc
10098     library_names_spec='$libname.dll.a'
10099     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10100     postinstall_cmds='base_file=`basename \${file}`~
10101       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10102       dldir=$destdir/`dirname \$dlpath`~
10103       test -d \$dldir || mkdir -p \$dldir~
10104       $install_prog $dir/$dlname \$dldir/$dlname~
10105       chmod a+x \$dldir/$dlname~
10106       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10107         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10108       fi'
10109     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10110       dlpath=$dir/\$dldll~
10111        $RM \$dlpath'
10112     shlibpath_overrides_runpath=yes
10113 
10114     case $host_os in
10115     cygwin*)
10116       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10117       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10118 
10119       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10120       ;;
10121     mingw* | cegcc*)
10122       # MinGW DLLs use traditional 'lib' prefix
10123       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10124       ;;
10125     pw32*)
10126       # pw32 DLLs use 'pw' prefix rather than 'lib'
10127       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10128       ;;
10129     esac
10130     dynamic_linker='Win32 ld.exe'
10131     ;;
10132 
10133   *,cl*)
10134     # Native MSVC
10135     libname_spec='$name'
10136     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10137     library_names_spec='${libname}.dll.lib'
10138 
10139     case $build_os in
10140     mingw*)
10141       sys_lib_search_path_spec=
10142       lt_save_ifs=$IFS
10143       IFS=';'
10144       for lt_path in $LIB
10145       do
10146         IFS=$lt_save_ifs
10147         # Let DOS variable expansion print the short 8.3 style file name.
10148         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10149         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10150       done
10151       IFS=$lt_save_ifs
10152       # Convert to MSYS style.
10153       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10154       ;;
10155     cygwin*)
10156       # Convert to unix form, then to dos form, then back to unix form
10157       # but this time dos style (no spaces!) so that the unix form looks
10158       # like /cygdrive/c/PROGRA~1:/cygdr...
10159       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10160       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10161       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10162       ;;
10163     *)
10164       sys_lib_search_path_spec="$LIB"
10165       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10166         # It is most probably a Windows format PATH.
10167         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10168       else
10169         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10170       fi
10171       # FIXME: find the short name or the path components, as spaces are
10172       # common. (e.g. "Program Files" -> "PROGRA~1")
10173       ;;
10174     esac
10175 
10176     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10177     postinstall_cmds='base_file=`basename \${file}`~
10178       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10179       dldir=$destdir/`dirname \$dlpath`~
10180       test -d \$dldir || mkdir -p \$dldir~
10181       $install_prog $dir/$dlname \$dldir/$dlname'
10182     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10183       dlpath=$dir/\$dldll~
10184        $RM \$dlpath'
10185     shlibpath_overrides_runpath=yes
10186     dynamic_linker='Win32 link.exe'
10187     ;;
10188 
10189   *)
10190     # Assume MSVC wrapper
10191     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10192     dynamic_linker='Win32 ld.exe'
10193     ;;
10194   esac
10195   # FIXME: first we should search . and the directory the executable is in
10196   shlibpath_var=PATH
10197   ;;
10198 
10199 darwin* | rhapsody*)
10200   dynamic_linker="$host_os dyld"
10201   version_type=darwin
10202   need_lib_prefix=no
10203   need_version=no
10204   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10205   soname_spec='${libname}${release}${major}$shared_ext'
10206   shlibpath_overrides_runpath=yes
10207   shlibpath_var=DYLD_LIBRARY_PATH
10208   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10209 
10210   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10211   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10212   ;;
10213 
10214 dgux*)
10215   version_type=linux # correct to gnu/linux during the next big refactor
10216   need_lib_prefix=no
10217   need_version=no
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   shlibpath_var=LD_LIBRARY_PATH
10221   ;;
10222 
10223 freebsd* | dragonfly*)
10224   # DragonFly does not have aout.  When/if they implement a new
10225   # versioning mechanism, adjust this.
10226   if test -x /usr/bin/objformat; then
10227     objformat=`/usr/bin/objformat`
10228   else
10229     case $host_os in
10230     freebsd[23].*) objformat=aout ;;
10231     *) objformat=elf ;;
10232     esac
10233   fi
10234   version_type=freebsd-$objformat
10235   case $version_type in
10236     freebsd-elf*)
10237       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10238       need_version=no
10239       need_lib_prefix=no
10240       ;;
10241     freebsd-*)
10242       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10243       need_version=yes
10244       ;;
10245   esac
10246   shlibpath_var=LD_LIBRARY_PATH
10247   case $host_os in
10248   freebsd2.*)
10249     shlibpath_overrides_runpath=yes
10250     ;;
10251   freebsd3.[01]* | freebsdelf3.[01]*)
10252     shlibpath_overrides_runpath=yes
10253     hardcode_into_libs=yes
10254     ;;
10255   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10256   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10257     shlibpath_overrides_runpath=no
10258     hardcode_into_libs=yes
10259     ;;
10260   *) # from 4.6 on, and DragonFly
10261     shlibpath_overrides_runpath=yes
10262     hardcode_into_libs=yes
10263     ;;
10264   esac
10265   ;;
10266 
10267 haiku*)
10268   version_type=linux # correct to gnu/linux during the next big refactor
10269   need_lib_prefix=no
10270   need_version=no
10271   dynamic_linker="$host_os runtime_loader"
10272   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10273   soname_spec='${libname}${release}${shared_ext}$major'
10274   shlibpath_var=LIBRARY_PATH
10275   shlibpath_overrides_runpath=yes
10276   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10277   hardcode_into_libs=yes
10278   ;;
10279 
10280 hpux9* | hpux10* | hpux11*)
10281   # Give a soname corresponding to the major version so that dld.sl refuses to
10282   # link against other versions.
10283   version_type=sunos
10284   need_lib_prefix=no
10285   need_version=no
10286   case $host_cpu in
10287   ia64*)
10288     shrext_cmds='.so'
10289     hardcode_into_libs=yes
10290     dynamic_linker="$host_os dld.so"
10291     shlibpath_var=LD_LIBRARY_PATH
10292     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10293     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10294     soname_spec='${libname}${release}${shared_ext}$major'
10295     if test "X$HPUX_IA64_MODE" = X32; then
10296       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10297     else
10298       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10299     fi
10300     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10301     ;;
10302   hppa*64*)
10303     shrext_cmds='.sl'
10304     hardcode_into_libs=yes
10305     dynamic_linker="$host_os dld.sl"
10306     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10307     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10308     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10309     soname_spec='${libname}${release}${shared_ext}$major'
10310     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10311     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10312     ;;
10313   *)
10314     shrext_cmds='.sl'
10315     dynamic_linker="$host_os dld.sl"
10316     shlibpath_var=SHLIB_PATH
10317     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10318     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10319     soname_spec='${libname}${release}${shared_ext}$major'
10320     ;;
10321   esac
10322   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10323   postinstall_cmds='chmod 555 $lib'
10324   # or fails outright, so override atomically:
10325   install_override_mode=555
10326   ;;
10327 
10328 interix[3-9]*)
10329   version_type=linux # correct to gnu/linux during the next big refactor
10330   need_lib_prefix=no
10331   need_version=no
10332   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10333   soname_spec='${libname}${release}${shared_ext}$major'
10334   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10335   shlibpath_var=LD_LIBRARY_PATH
10336   shlibpath_overrides_runpath=no
10337   hardcode_into_libs=yes
10338   ;;
10339 
10340 irix5* | irix6* | nonstopux*)
10341   case $host_os in
10342     nonstopux*) version_type=nonstopux ;;
10343     *)
10344 	if test "$lt_cv_prog_gnu_ld" = yes; then
10345 		version_type=linux # correct to gnu/linux during the next big refactor
10346 	else
10347 		version_type=irix
10348 	fi ;;
10349   esac
10350   need_lib_prefix=no
10351   need_version=no
10352   soname_spec='${libname}${release}${shared_ext}$major'
10353   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10354   case $host_os in
10355   irix5* | nonstopux*)
10356     libsuff= shlibsuff=
10357     ;;
10358   *)
10359     case $LD in # libtool.m4 will add one of these switches to LD
10360     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10361       libsuff= shlibsuff= libmagic=32-bit;;
10362     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10363       libsuff=32 shlibsuff=N32 libmagic=N32;;
10364     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10365       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10366     *) libsuff= shlibsuff= libmagic=never-match;;
10367     esac
10368     ;;
10369   esac
10370   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10371   shlibpath_overrides_runpath=no
10372   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10373   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10374   hardcode_into_libs=yes
10375   ;;
10376 
10377 # No shared lib support for Linux oldld, aout, or coff.
10378 linux*oldld* | linux*aout* | linux*coff*)
10379   dynamic_linker=no
10380   ;;
10381 
10382 # This must be glibc/ELF.
10383 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10384   version_type=linux # correct to gnu/linux during the next big refactor
10385   need_lib_prefix=no
10386   need_version=no
10387   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10388   soname_spec='${libname}${release}${shared_ext}$major'
10389   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10390   shlibpath_var=LD_LIBRARY_PATH
10391   shlibpath_overrides_runpath=no
10392 
10393   # Some binutils ld are patched to set DT_RUNPATH
10394   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10395   $as_echo_n "(cached) " >&6
10396 else
10397   lt_cv_shlibpath_overrides_runpath=no
10398     save_LDFLAGS=$LDFLAGS
10399     save_libdir=$libdir
10400     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10401 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10402     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10403 /* end confdefs.h.  */
10404 
10405 int
10406 main ()
10407 {
10408 
10409   ;
10410   return 0;
10411 }
10412 _ACEOF
10413 if ac_fn_c_try_link "$LINENO"; then :
10414   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10415   lt_cv_shlibpath_overrides_runpath=yes
10416 fi
10417 fi
10418 rm -f core conftest.err conftest.$ac_objext \
10419     conftest$ac_exeext conftest.$ac_ext
10420     LDFLAGS=$save_LDFLAGS
10421     libdir=$save_libdir
10422 
10423 fi
10424 
10425   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10426 
10427   # This implies no fast_install, which is unacceptable.
10428   # Some rework will be needed to allow for fast_install
10429   # before this can be enabled.
10430   hardcode_into_libs=yes
10431 
10432   # Append ld.so.conf contents to the search path
10433   if test -f /etc/ld.so.conf; then
10434     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' ' '`
10435     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10436   fi
10437 
10438   # We used to test for /lib/ld.so.1 and disable shared libraries on
10439   # powerpc, because MkLinux only supported shared libraries with the
10440   # GNU dynamic linker.  Since this was broken with cross compilers,
10441   # most powerpc-linux boxes support dynamic linking these days and
10442   # people can always --disable-shared, the test was removed, and we
10443   # assume the GNU/Linux dynamic linker is in use.
10444   dynamic_linker='GNU/Linux ld.so'
10445   ;;
10446 
10447 netbsdelf*-gnu)
10448   version_type=linux
10449   need_lib_prefix=no
10450   need_version=no
10451   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10452   soname_spec='${libname}${release}${shared_ext}$major'
10453   shlibpath_var=LD_LIBRARY_PATH
10454   shlibpath_overrides_runpath=no
10455   hardcode_into_libs=yes
10456   dynamic_linker='NetBSD ld.elf_so'
10457   ;;
10458 
10459 netbsd*)
10460   version_type=sunos
10461   need_lib_prefix=no
10462   need_version=no
10463   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10464     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10465     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10466     dynamic_linker='NetBSD (a.out) ld.so'
10467   else
10468     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10469     soname_spec='${libname}${release}${shared_ext}$major'
10470     dynamic_linker='NetBSD ld.elf_so'
10471   fi
10472   shlibpath_var=LD_LIBRARY_PATH
10473   shlibpath_overrides_runpath=yes
10474   hardcode_into_libs=yes
10475   ;;
10476 
10477 newsos6)
10478   version_type=linux # correct to gnu/linux during the next big refactor
10479   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10480   shlibpath_var=LD_LIBRARY_PATH
10481   shlibpath_overrides_runpath=yes
10482   ;;
10483 
10484 *nto* | *qnx*)
10485   version_type=qnx
10486   need_lib_prefix=no
10487   need_version=no
10488   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10489   soname_spec='${libname}${release}${shared_ext}$major'
10490   shlibpath_var=LD_LIBRARY_PATH
10491   shlibpath_overrides_runpath=no
10492   hardcode_into_libs=yes
10493   dynamic_linker='ldqnx.so'
10494   ;;
10495 
10496 openbsd*)
10497   version_type=sunos
10498   sys_lib_dlsearch_path_spec="/usr/lib"
10499   need_lib_prefix=no
10500   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10501   case $host_os in
10502     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
10503     *)				need_version=no  ;;
10504   esac
10505   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10506   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10507   shlibpath_var=LD_LIBRARY_PATH
10508   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10509     case $host_os in
10510       openbsd2.[89] | openbsd2.[89].*)
10511 	shlibpath_overrides_runpath=no
10512 	;;
10513       *)
10514 	shlibpath_overrides_runpath=yes
10515 	;;
10516       esac
10517   else
10518     shlibpath_overrides_runpath=yes
10519   fi
10520   ;;
10521 
10522 os2*)
10523   libname_spec='$name'
10524   shrext_cmds=".dll"
10525   need_lib_prefix=no
10526   library_names_spec='$libname${shared_ext} $libname.a'
10527   dynamic_linker='OS/2 ld.exe'
10528   shlibpath_var=LIBPATH
10529   ;;
10530 
10531 osf3* | osf4* | osf5*)
10532   version_type=osf
10533   need_lib_prefix=no
10534   need_version=no
10535   soname_spec='${libname}${release}${shared_ext}$major'
10536   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10537   shlibpath_var=LD_LIBRARY_PATH
10538   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10539   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10540   ;;
10541 
10542 rdos*)
10543   dynamic_linker=no
10544   ;;
10545 
10546 solaris*)
10547   version_type=linux # correct to gnu/linux during the next big refactor
10548   need_lib_prefix=no
10549   need_version=no
10550   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10551   soname_spec='${libname}${release}${shared_ext}$major'
10552   shlibpath_var=LD_LIBRARY_PATH
10553   shlibpath_overrides_runpath=yes
10554   hardcode_into_libs=yes
10555   # ldd complains unless libraries are executable
10556   postinstall_cmds='chmod +x $lib'
10557   ;;
10558 
10559 sunos4*)
10560   version_type=sunos
10561   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10562   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10563   shlibpath_var=LD_LIBRARY_PATH
10564   shlibpath_overrides_runpath=yes
10565   if test "$with_gnu_ld" = yes; then
10566     need_lib_prefix=no
10567   fi
10568   need_version=yes
10569   ;;
10570 
10571 sysv4 | sysv4.3*)
10572   version_type=linux # correct to gnu/linux during the next big refactor
10573   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10574   soname_spec='${libname}${release}${shared_ext}$major'
10575   shlibpath_var=LD_LIBRARY_PATH
10576   case $host_vendor in
10577     sni)
10578       shlibpath_overrides_runpath=no
10579       need_lib_prefix=no
10580       runpath_var=LD_RUN_PATH
10581       ;;
10582     siemens)
10583       need_lib_prefix=no
10584       ;;
10585     motorola)
10586       need_lib_prefix=no
10587       need_version=no
10588       shlibpath_overrides_runpath=no
10589       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10590       ;;
10591   esac
10592   ;;
10593 
10594 sysv4*MP*)
10595   if test -d /usr/nec ;then
10596     version_type=linux # correct to gnu/linux during the next big refactor
10597     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10598     soname_spec='$libname${shared_ext}.$major'
10599     shlibpath_var=LD_LIBRARY_PATH
10600   fi
10601   ;;
10602 
10603 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10604   version_type=freebsd-elf
10605   need_lib_prefix=no
10606   need_version=no
10607   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10608   soname_spec='${libname}${release}${shared_ext}$major'
10609   shlibpath_var=LD_LIBRARY_PATH
10610   shlibpath_overrides_runpath=yes
10611   hardcode_into_libs=yes
10612   if test "$with_gnu_ld" = yes; then
10613     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10614   else
10615     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10616     case $host_os in
10617       sco3.2v5*)
10618         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10619 	;;
10620     esac
10621   fi
10622   sys_lib_dlsearch_path_spec='/usr/lib'
10623   ;;
10624 
10625 tpf*)
10626   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10627   version_type=linux # correct to gnu/linux during the next big refactor
10628   need_lib_prefix=no
10629   need_version=no
10630   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10631   shlibpath_var=LD_LIBRARY_PATH
10632   shlibpath_overrides_runpath=no
10633   hardcode_into_libs=yes
10634   ;;
10635 
10636 uts4*)
10637   version_type=linux # correct to gnu/linux during the next big refactor
10638   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10639   soname_spec='${libname}${release}${shared_ext}$major'
10640   shlibpath_var=LD_LIBRARY_PATH
10641   ;;
10642 
10643 *)
10644   dynamic_linker=no
10645   ;;
10646 esac
10647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10648 $as_echo "$dynamic_linker" >&6; }
10649 test "$dynamic_linker" = no && can_build_shared=no
10650 
10651 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10652 if test "$GCC" = yes; then
10653   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10654 fi
10655 
10656 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10657   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10658 fi
10659 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10660   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10661 fi
10662 
10663 
10664 
10665 
10666 
10667 
10668 
10669 
10670 
10671 
10672 
10673 
10674 
10675 
10676 
10677 
10678 
10679 
10680 
10681 
10682 
10683 
10684 
10685 
10686 
10687 
10688 
10689 
10690 
10691 
10692 
10693 
10694 
10695 
10696 
10697 
10698 
10699 
10700 
10701 
10702 
10703 
10704 
10705 
10706 
10707 
10708 
10709 
10710 
10711 
10712 
10713 
10714 
10715 
10716 
10717 
10718 
10719 
10720 
10721 
10722 
10723 
10724 
10725 
10726 
10727 
10728 
10729 
10730 
10731 
10732 
10733 
10734 
10735 
10736 
10737 
10738 
10739 
10740 
10741 
10742 
10743 
10744 
10745 
10746 
10747 
10748 
10749 
10750 
10751 
10752 
10753 
10754   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10755 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10756 hardcode_action=
10757 if test -n "$hardcode_libdir_flag_spec" ||
10758    test -n "$runpath_var" ||
10759    test "X$hardcode_automatic" = "Xyes" ; then
10760 
10761   # We can hardcode non-existent directories.
10762   if test "$hardcode_direct" != no &&
10763      # If the only mechanism to avoid hardcoding is shlibpath_var, we
10764      # have to relink, otherwise we might link with an installed library
10765      # when we should be linking with a yet-to-be-installed one
10766      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10767      test "$hardcode_minus_L" != no; then
10768     # Linking always hardcodes the temporary library directory.
10769     hardcode_action=relink
10770   else
10771     # We can link without hardcoding, and we can hardcode nonexisting dirs.
10772     hardcode_action=immediate
10773   fi
10774 else
10775   # We cannot hardcode anything, or else we can only hardcode existing
10776   # directories.
10777   hardcode_action=unsupported
10778 fi
10779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10780 $as_echo "$hardcode_action" >&6; }
10781 
10782 if test "$hardcode_action" = relink ||
10783    test "$inherit_rpath" = yes; then
10784   # Fast installation is not supported
10785   enable_fast_install=no
10786 elif test "$shlibpath_overrides_runpath" = yes ||
10787      test "$enable_shared" = no; then
10788   # Fast installation is not necessary
10789   enable_fast_install=needless
10790 fi
10791 
10792 
10793 
10794 
10795 
10796 
10797   if test "x$enable_dlopen" != xyes; then
10798   enable_dlopen=unknown
10799   enable_dlopen_self=unknown
10800   enable_dlopen_self_static=unknown
10801 else
10802   lt_cv_dlopen=no
10803   lt_cv_dlopen_libs=
10804 
10805   case $host_os in
10806   beos*)
10807     lt_cv_dlopen="load_add_on"
10808     lt_cv_dlopen_libs=
10809     lt_cv_dlopen_self=yes
10810     ;;
10811 
10812   mingw* | pw32* | cegcc*)
10813     lt_cv_dlopen="LoadLibrary"
10814     lt_cv_dlopen_libs=
10815     ;;
10816 
10817   cygwin*)
10818     lt_cv_dlopen="dlopen"
10819     lt_cv_dlopen_libs=
10820     ;;
10821 
10822   darwin*)
10823   # if libdl is installed we need to link against it
10824     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10825 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10826 if ${ac_cv_lib_dl_dlopen+:} false; then :
10827   $as_echo_n "(cached) " >&6
10828 else
10829   ac_check_lib_save_LIBS=$LIBS
10830 LIBS="-ldl  $LIBS"
10831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10832 /* end confdefs.h.  */
10833 
10834 /* Override any GCC internal prototype to avoid an error.
10835    Use char because int might match the return type of a GCC
10836    builtin and then its argument prototype would still apply.  */
10837 #ifdef __cplusplus
10838 extern "C"
10839 #endif
10840 char dlopen ();
10841 int
10842 main ()
10843 {
10844 return dlopen ();
10845   ;
10846   return 0;
10847 }
10848 _ACEOF
10849 if ac_fn_c_try_link "$LINENO"; then :
10850   ac_cv_lib_dl_dlopen=yes
10851 else
10852   ac_cv_lib_dl_dlopen=no
10853 fi
10854 rm -f core conftest.err conftest.$ac_objext \
10855     conftest$ac_exeext conftest.$ac_ext
10856 LIBS=$ac_check_lib_save_LIBS
10857 fi
10858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10859 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10860 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10861   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10862 else
10863 
10864     lt_cv_dlopen="dyld"
10865     lt_cv_dlopen_libs=
10866     lt_cv_dlopen_self=yes
10867 
10868 fi
10869 
10870     ;;
10871 
10872   *)
10873     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10874 if test "x$ac_cv_func_shl_load" = xyes; then :
10875   lt_cv_dlopen="shl_load"
10876 else
10877   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10878 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10879 if ${ac_cv_lib_dld_shl_load+:} false; then :
10880   $as_echo_n "(cached) " >&6
10881 else
10882   ac_check_lib_save_LIBS=$LIBS
10883 LIBS="-ldld  $LIBS"
10884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10885 /* end confdefs.h.  */
10886 
10887 /* Override any GCC internal prototype to avoid an error.
10888    Use char because int might match the return type of a GCC
10889    builtin and then its argument prototype would still apply.  */
10890 #ifdef __cplusplus
10891 extern "C"
10892 #endif
10893 char shl_load ();
10894 int
10895 main ()
10896 {
10897 return shl_load ();
10898   ;
10899   return 0;
10900 }
10901 _ACEOF
10902 if ac_fn_c_try_link "$LINENO"; then :
10903   ac_cv_lib_dld_shl_load=yes
10904 else
10905   ac_cv_lib_dld_shl_load=no
10906 fi
10907 rm -f core conftest.err conftest.$ac_objext \
10908     conftest$ac_exeext conftest.$ac_ext
10909 LIBS=$ac_check_lib_save_LIBS
10910 fi
10911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10912 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10913 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
10914   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10915 else
10916   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10917 if test "x$ac_cv_func_dlopen" = xyes; then :
10918   lt_cv_dlopen="dlopen"
10919 else
10920   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10921 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10922 if ${ac_cv_lib_dl_dlopen+:} false; then :
10923   $as_echo_n "(cached) " >&6
10924 else
10925   ac_check_lib_save_LIBS=$LIBS
10926 LIBS="-ldl  $LIBS"
10927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10928 /* end confdefs.h.  */
10929 
10930 /* Override any GCC internal prototype to avoid an error.
10931    Use char because int might match the return type of a GCC
10932    builtin and then its argument prototype would still apply.  */
10933 #ifdef __cplusplus
10934 extern "C"
10935 #endif
10936 char dlopen ();
10937 int
10938 main ()
10939 {
10940 return dlopen ();
10941   ;
10942   return 0;
10943 }
10944 _ACEOF
10945 if ac_fn_c_try_link "$LINENO"; then :
10946   ac_cv_lib_dl_dlopen=yes
10947 else
10948   ac_cv_lib_dl_dlopen=no
10949 fi
10950 rm -f core conftest.err conftest.$ac_objext \
10951     conftest$ac_exeext conftest.$ac_ext
10952 LIBS=$ac_check_lib_save_LIBS
10953 fi
10954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10955 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10956 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10957   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10958 else
10959   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10960 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10961 if ${ac_cv_lib_svld_dlopen+:} false; then :
10962   $as_echo_n "(cached) " >&6
10963 else
10964   ac_check_lib_save_LIBS=$LIBS
10965 LIBS="-lsvld  $LIBS"
10966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10967 /* end confdefs.h.  */
10968 
10969 /* Override any GCC internal prototype to avoid an error.
10970    Use char because int might match the return type of a GCC
10971    builtin and then its argument prototype would still apply.  */
10972 #ifdef __cplusplus
10973 extern "C"
10974 #endif
10975 char dlopen ();
10976 int
10977 main ()
10978 {
10979 return dlopen ();
10980   ;
10981   return 0;
10982 }
10983 _ACEOF
10984 if ac_fn_c_try_link "$LINENO"; then :
10985   ac_cv_lib_svld_dlopen=yes
10986 else
10987   ac_cv_lib_svld_dlopen=no
10988 fi
10989 rm -f core conftest.err conftest.$ac_objext \
10990     conftest$ac_exeext conftest.$ac_ext
10991 LIBS=$ac_check_lib_save_LIBS
10992 fi
10993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10994 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10995 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
10996   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10997 else
10998   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10999 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11000 if ${ac_cv_lib_dld_dld_link+:} false; then :
11001   $as_echo_n "(cached) " >&6
11002 else
11003   ac_check_lib_save_LIBS=$LIBS
11004 LIBS="-ldld  $LIBS"
11005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11006 /* end confdefs.h.  */
11007 
11008 /* Override any GCC internal prototype to avoid an error.
11009    Use char because int might match the return type of a GCC
11010    builtin and then its argument prototype would still apply.  */
11011 #ifdef __cplusplus
11012 extern "C"
11013 #endif
11014 char dld_link ();
11015 int
11016 main ()
11017 {
11018 return dld_link ();
11019   ;
11020   return 0;
11021 }
11022 _ACEOF
11023 if ac_fn_c_try_link "$LINENO"; then :
11024   ac_cv_lib_dld_dld_link=yes
11025 else
11026   ac_cv_lib_dld_dld_link=no
11027 fi
11028 rm -f core conftest.err conftest.$ac_objext \
11029     conftest$ac_exeext conftest.$ac_ext
11030 LIBS=$ac_check_lib_save_LIBS
11031 fi
11032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11033 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11034 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11035   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11036 fi
11037 
11038 
11039 fi
11040 
11041 
11042 fi
11043 
11044 
11045 fi
11046 
11047 
11048 fi
11049 
11050 
11051 fi
11052 
11053     ;;
11054   esac
11055 
11056   if test "x$lt_cv_dlopen" != xno; then
11057     enable_dlopen=yes
11058   else
11059     enable_dlopen=no
11060   fi
11061 
11062   case $lt_cv_dlopen in
11063   dlopen)
11064     save_CPPFLAGS="$CPPFLAGS"
11065     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11066 
11067     save_LDFLAGS="$LDFLAGS"
11068     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11069 
11070     save_LIBS="$LIBS"
11071     LIBS="$lt_cv_dlopen_libs $LIBS"
11072 
11073     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11074 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11075 if ${lt_cv_dlopen_self+:} false; then :
11076   $as_echo_n "(cached) " >&6
11077 else
11078   	  if test "$cross_compiling" = yes; then :
11079   lt_cv_dlopen_self=cross
11080 else
11081   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11082   lt_status=$lt_dlunknown
11083   cat > conftest.$ac_ext <<_LT_EOF
11084 #line $LINENO "configure"
11085 #include "confdefs.h"
11086 
11087 #if HAVE_DLFCN_H
11088 #include <dlfcn.h>
11089 #endif
11090 
11091 #include <stdio.h>
11092 
11093 #ifdef RTLD_GLOBAL
11094 #  define LT_DLGLOBAL		RTLD_GLOBAL
11095 #else
11096 #  ifdef DL_GLOBAL
11097 #    define LT_DLGLOBAL		DL_GLOBAL
11098 #  else
11099 #    define LT_DLGLOBAL		0
11100 #  endif
11101 #endif
11102 
11103 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11104    find out it does not work in some platform. */
11105 #ifndef LT_DLLAZY_OR_NOW
11106 #  ifdef RTLD_LAZY
11107 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
11108 #  else
11109 #    ifdef DL_LAZY
11110 #      define LT_DLLAZY_OR_NOW		DL_LAZY
11111 #    else
11112 #      ifdef RTLD_NOW
11113 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
11114 #      else
11115 #        ifdef DL_NOW
11116 #          define LT_DLLAZY_OR_NOW	DL_NOW
11117 #        else
11118 #          define LT_DLLAZY_OR_NOW	0
11119 #        endif
11120 #      endif
11121 #    endif
11122 #  endif
11123 #endif
11124 
11125 /* When -fvisbility=hidden is used, assume the code has been annotated
11126    correspondingly for the symbols needed.  */
11127 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11128 int fnord () __attribute__((visibility("default")));
11129 #endif
11130 
11131 int fnord () { return 42; }
11132 int main ()
11133 {
11134   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11135   int status = $lt_dlunknown;
11136 
11137   if (self)
11138     {
11139       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11140       else
11141         {
11142 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11143           else puts (dlerror ());
11144 	}
11145       /* dlclose (self); */
11146     }
11147   else
11148     puts (dlerror ());
11149 
11150   return status;
11151 }
11152 _LT_EOF
11153   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11154   (eval $ac_link) 2>&5
11155   ac_status=$?
11156   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11157   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11158     (./conftest; exit; ) >&5 2>/dev/null
11159     lt_status=$?
11160     case x$lt_status in
11161       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11162       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11163       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11164     esac
11165   else :
11166     # compilation failed
11167     lt_cv_dlopen_self=no
11168   fi
11169 fi
11170 rm -fr conftest*
11171 
11172 
11173 fi
11174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11175 $as_echo "$lt_cv_dlopen_self" >&6; }
11176 
11177     if test "x$lt_cv_dlopen_self" = xyes; then
11178       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11179       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11180 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11181 if ${lt_cv_dlopen_self_static+:} false; then :
11182   $as_echo_n "(cached) " >&6
11183 else
11184   	  if test "$cross_compiling" = yes; then :
11185   lt_cv_dlopen_self_static=cross
11186 else
11187   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11188   lt_status=$lt_dlunknown
11189   cat > conftest.$ac_ext <<_LT_EOF
11190 #line $LINENO "configure"
11191 #include "confdefs.h"
11192 
11193 #if HAVE_DLFCN_H
11194 #include <dlfcn.h>
11195 #endif
11196 
11197 #include <stdio.h>
11198 
11199 #ifdef RTLD_GLOBAL
11200 #  define LT_DLGLOBAL		RTLD_GLOBAL
11201 #else
11202 #  ifdef DL_GLOBAL
11203 #    define LT_DLGLOBAL		DL_GLOBAL
11204 #  else
11205 #    define LT_DLGLOBAL		0
11206 #  endif
11207 #endif
11208 
11209 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11210    find out it does not work in some platform. */
11211 #ifndef LT_DLLAZY_OR_NOW
11212 #  ifdef RTLD_LAZY
11213 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
11214 #  else
11215 #    ifdef DL_LAZY
11216 #      define LT_DLLAZY_OR_NOW		DL_LAZY
11217 #    else
11218 #      ifdef RTLD_NOW
11219 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
11220 #      else
11221 #        ifdef DL_NOW
11222 #          define LT_DLLAZY_OR_NOW	DL_NOW
11223 #        else
11224 #          define LT_DLLAZY_OR_NOW	0
11225 #        endif
11226 #      endif
11227 #    endif
11228 #  endif
11229 #endif
11230 
11231 /* When -fvisbility=hidden is used, assume the code has been annotated
11232    correspondingly for the symbols needed.  */
11233 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11234 int fnord () __attribute__((visibility("default")));
11235 #endif
11236 
11237 int fnord () { return 42; }
11238 int main ()
11239 {
11240   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11241   int status = $lt_dlunknown;
11242 
11243   if (self)
11244     {
11245       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11246       else
11247         {
11248 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11249           else puts (dlerror ());
11250 	}
11251       /* dlclose (self); */
11252     }
11253   else
11254     puts (dlerror ());
11255 
11256   return status;
11257 }
11258 _LT_EOF
11259   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11260   (eval $ac_link) 2>&5
11261   ac_status=$?
11262   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11263   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11264     (./conftest; exit; ) >&5 2>/dev/null
11265     lt_status=$?
11266     case x$lt_status in
11267       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11268       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11269       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11270     esac
11271   else :
11272     # compilation failed
11273     lt_cv_dlopen_self_static=no
11274   fi
11275 fi
11276 rm -fr conftest*
11277 
11278 
11279 fi
11280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11281 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11282     fi
11283 
11284     CPPFLAGS="$save_CPPFLAGS"
11285     LDFLAGS="$save_LDFLAGS"
11286     LIBS="$save_LIBS"
11287     ;;
11288   esac
11289 
11290   case $lt_cv_dlopen_self in
11291   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11292   *) enable_dlopen_self=unknown ;;
11293   esac
11294 
11295   case $lt_cv_dlopen_self_static in
11296   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11297   *) enable_dlopen_self_static=unknown ;;
11298   esac
11299 fi
11300 
11301 
11302 
11303 
11304 
11305 
11306 
11307 
11308 
11309 
11310 
11311 
11312 
11313 
11314 
11315 
11316 
11317 striplib=
11318 old_striplib=
11319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11320 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11321 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11322   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11323   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11324   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11325 $as_echo "yes" >&6; }
11326 else
11327 # FIXME - insert some real tests, host_os isn't really good enough
11328   case $host_os in
11329   darwin*)
11330     if test -n "$STRIP" ; then
11331       striplib="$STRIP -x"
11332       old_striplib="$STRIP -S"
11333       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11334 $as_echo "yes" >&6; }
11335     else
11336       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11337 $as_echo "no" >&6; }
11338     fi
11339     ;;
11340   *)
11341     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11342 $as_echo "no" >&6; }
11343     ;;
11344   esac
11345 fi
11346 
11347 
11348 
11349 
11350 
11351 
11352 
11353 
11354 
11355 
11356 
11357 
11358   # Report which library types will actually be built
11359   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11360 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11361   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11362 $as_echo "$can_build_shared" >&6; }
11363 
11364   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11365 $as_echo_n "checking whether to build shared libraries... " >&6; }
11366   test "$can_build_shared" = "no" && enable_shared=no
11367 
11368   # On AIX, shared libraries and static libraries use the same namespace, and
11369   # are all built from PIC.
11370   case $host_os in
11371   aix3*)
11372     test "$enable_shared" = yes && enable_static=no
11373     if test -n "$RANLIB"; then
11374       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11375       postinstall_cmds='$RANLIB $lib'
11376     fi
11377     ;;
11378 
11379   aix[4-9]*)
11380     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11381       test "$enable_shared" = yes && enable_static=no
11382     fi
11383     ;;
11384   esac
11385   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11386 $as_echo "$enable_shared" >&6; }
11387 
11388   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11389 $as_echo_n "checking whether to build static libraries... " >&6; }
11390   # Make sure either enable_shared or enable_static is yes.
11391   test "$enable_shared" = yes || enable_static=yes
11392   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11393 $as_echo "$enable_static" >&6; }
11394 
11395 
11396 
11397 
11398 fi
11399 ac_ext=c
11400 ac_cpp='$CPP $CPPFLAGS'
11401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11404 
11405 CC="$lt_save_CC"
11406 
11407 
11408 
11409 
11410 
11411 
11412 
11413 
11414 
11415 
11416 
11417 
11418 
11419 
11420 
11421         ac_config_commands="$ac_config_commands libtool"
11422 
11423 
11424 
11425 
11426 # Only expand once:
11427 
11428 
11429 
11430 case "$host" in
11431 *-*-linux*) ;;
11432 *) as_fn_error $? "Linux only, dude!" "$LINENO" 5;;
11433 esac
11434 
11435 
11436 
11437 
11438 ac_config_files="$ac_config_files Makefile src/Makefile include/Makefile include/libnfnetlink/Makefile utils/Makefile libnfnetlink.pc"
11439 
11440 cat >confcache <<\_ACEOF
11441 # This file is a shell script that caches the results of configure
11442 # tests run on this system so they can be shared between configure
11443 # scripts and configure runs, see configure's option --config-cache.
11444 # It is not useful on other systems.  If it contains results you don't
11445 # want to keep, you may remove or edit it.
11446 #
11447 # config.status only pays attention to the cache file if you give it
11448 # the --recheck option to rerun configure.
11449 #
11450 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11451 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11452 # following values.
11453 
11454 _ACEOF
11455 
11456 # The following way of writing the cache mishandles newlines in values,
11457 # but we know of no workaround that is simple, portable, and efficient.
11458 # So, we kill variables containing newlines.
11459 # Ultrix sh set writes to stderr and can't be redirected directly,
11460 # and sets the high bit in the cache file unless we assign to the vars.
11461 (
11462   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
11463     eval ac_val=\$$ac_var
11464     case $ac_val in #(
11465     *${as_nl}*)
11466       case $ac_var in #(
11467       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
11468 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
11469       esac
11470       case $ac_var in #(
11471       _ | IFS | as_nl) ;; #(
11472       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
11473       *) { eval $ac_var=; unset $ac_var;} ;;
11474       esac ;;
11475     esac
11476   done
11477 
11478   (set) 2>&1 |
11479     case $as_nl`(ac_space=' '; set) 2>&1` in #(
11480     *${as_nl}ac_space=\ *)
11481       # `set' does not quote correctly, so add quotes: double-quote
11482       # substitution turns \\\\ into \\, and sed turns \\ into \.
11483       sed -n \
11484 	"s/'/'\\\\''/g;
11485 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11486       ;; #(
11487     *)
11488       # `set' quotes correctly as required by POSIX, so do not add quotes.
11489       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11490       ;;
11491     esac |
11492     sort
11493 ) |
11494   sed '
11495      /^ac_cv_env_/b end
11496      t clear
11497      :clear
11498      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11499      t end
11500      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11501      :end' >>confcache
11502 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
11503   if test -w "$cache_file"; then
11504     if test "x$cache_file" != "x/dev/null"; then
11505       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
11506 $as_echo "$as_me: updating cache $cache_file" >&6;}
11507       if test ! -f "$cache_file" || test -h "$cache_file"; then
11508 	cat confcache >"$cache_file"
11509       else
11510         case $cache_file in #(
11511         */* | ?:*)
11512 	  mv -f confcache "$cache_file"$$ &&
11513 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
11514         *)
11515 	  mv -f confcache "$cache_file" ;;
11516 	esac
11517       fi
11518     fi
11519   else
11520     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
11521 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11522   fi
11523 fi
11524 rm -f confcache
11525 
11526 test "x$prefix" = xNONE && prefix=$ac_default_prefix
11527 # Let make expand exec_prefix.
11528 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
11529 
11530 # Transform confdefs.h into DEFS.
11531 # Protect against shell expansion while executing Makefile rules.
11532 # Protect against Makefile macro expansion.
11533 #
11534 # If the first sed substitution is executed (which looks for macros that
11535 # take arguments), then branch to the quote section.  Otherwise,
11536 # look for a macro that doesn't take arguments.
11537 ac_script='
11538 :mline
11539 /\\$/{
11540  N
11541  s,\\\n,,
11542  b mline
11543 }
11544 t clear
11545 :clear
11546 s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
11547 t quote
11548 s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
11549 t quote
11550 b any
11551 :quote
11552 s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
11553 s/\[/\\&/g
11554 s/\]/\\&/g
11555 s/\$/$$/g
11556 H
11557 :any
11558 ${
11559 	g
11560 	s/^\n//
11561 	s/\n/ /g
11562 	p
11563 }
11564 '
11565 DEFS=`sed -n "$ac_script" confdefs.h`
11566 
11567 
11568 ac_libobjs=
11569 ac_ltlibobjs=
11570 U=
11571 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
11572   # 1. Remove the extension, and $U if already installed.
11573   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
11574   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
11575   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
11576   #    will be set to the directory where LIBOBJS objects are built.
11577   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
11578   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
11579 done
11580 LIBOBJS=$ac_libobjs
11581 
11582 LTLIBOBJS=$ac_ltlibobjs
11583 
11584 
11585  if test -n "$EXEEXT"; then
11586   am__EXEEXT_TRUE=
11587   am__EXEEXT_FALSE='#'
11588 else
11589   am__EXEEXT_TRUE='#'
11590   am__EXEEXT_FALSE=
11591 fi
11592 
11593 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
11594   as_fn_error $? "conditional \"AMDEP\" was never defined.
11595 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11596 fi
11597 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11598   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
11599 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11600 fi
11601 
11602 : "${CONFIG_STATUS=./config.status}"
11603 ac_write_fail=0
11604 ac_clean_files_save=$ac_clean_files
11605 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
11606 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
11607 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
11608 as_write_fail=0
11609 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
11610 #! $SHELL
11611 # Generated by $as_me.
11612 # Run this file to recreate the current configuration.
11613 # Compiler output produced by configure, useful for debugging
11614 # configure, is in config.log if it exists.
11615 
11616 debug=false
11617 ac_cs_recheck=false
11618 ac_cs_silent=false
11619 
11620 SHELL=\${CONFIG_SHELL-$SHELL}
11621 export SHELL
11622 _ASEOF
11623 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
11624 ## -------------------- ##
11625 ## M4sh Initialization. ##
11626 ## -------------------- ##
11627 
11628 # Be more Bourne compatible
11629 DUALCASE=1; export DUALCASE # for MKS sh
11630 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
11631   emulate sh
11632   NULLCMD=:
11633   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
11634   # is contrary to our usage.  Disable this feature.
11635   alias -g '${1+"$@"}'='"$@"'
11636   setopt NO_GLOB_SUBST
11637 else
11638   case `(set -o) 2>/dev/null` in #(
11639   *posix*) :
11640     set -o posix ;; #(
11641   *) :
11642      ;;
11643 esac
11644 fi
11645 
11646 
11647 as_nl='
11648 '
11649 export as_nl
11650 # Printing a long string crashes Solaris 7 /usr/bin/printf.
11651 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
11652 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
11653 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
11654 # Prefer a ksh shell builtin over an external printf program on Solaris,
11655 # but without wasting forks for bash or zsh.
11656 if test -z "$BASH_VERSION$ZSH_VERSION" \
11657     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
11658   as_echo='print -r --'
11659   as_echo_n='print -rn --'
11660 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
11661   as_echo='printf %s\n'
11662   as_echo_n='printf %s'
11663 else
11664   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
11665     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
11666     as_echo_n='/usr/ucb/echo -n'
11667   else
11668     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
11669     as_echo_n_body='eval
11670       arg=$1;
11671       case $arg in #(
11672       *"$as_nl"*)
11673 	expr "X$arg" : "X\\(.*\\)$as_nl";
11674 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
11675       esac;
11676       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
11677     '
11678     export as_echo_n_body
11679     as_echo_n='sh -c $as_echo_n_body as_echo'
11680   fi
11681   export as_echo_body
11682   as_echo='sh -c $as_echo_body as_echo'
11683 fi
11684 
11685 # The user is always right.
11686 if test "${PATH_SEPARATOR+set}" != set; then
11687   PATH_SEPARATOR=:
11688   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
11689     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
11690       PATH_SEPARATOR=';'
11691   }
11692 fi
11693 
11694 
11695 # IFS
11696 # We need space, tab and new line, in precisely that order.  Quoting is
11697 # there to prevent editors from complaining about space-tab.
11698 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
11699 # splitting by setting IFS to empty value.)
11700 IFS=" ""	$as_nl"
11701 
11702 # Find who we are.  Look in the path if we contain no directory separator.
11703 as_myself=
11704 case $0 in #((
11705   *[\\/]* ) as_myself=$0 ;;
11706   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11707 for as_dir in $PATH
11708 do
11709   IFS=$as_save_IFS
11710   test -z "$as_dir" && as_dir=.
11711     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11712   done
11713 IFS=$as_save_IFS
11714 
11715      ;;
11716 esac
11717 # We did not find ourselves, most probably we were run as `sh COMMAND'
11718 # in which case we are not to be found in the path.
11719 if test "x$as_myself" = x; then
11720   as_myself=$0
11721 fi
11722 if test ! -f "$as_myself"; then
11723   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
11724   exit 1
11725 fi
11726 
11727 # Unset variables that we do not need and which cause bugs (e.g. in
11728 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
11729 # suppresses any "Segmentation fault" message there.  '((' could
11730 # trigger a bug in pdksh 5.2.14.
11731 for as_var in BASH_ENV ENV MAIL MAILPATH
11732 do eval test x\${$as_var+set} = xset \
11733   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
11734 done
11735 PS1='$ '
11736 PS2='> '
11737 PS4='+ '
11738 
11739 # NLS nuisances.
11740 LC_ALL=C
11741 export LC_ALL
11742 LANGUAGE=C
11743 export LANGUAGE
11744 
11745 # CDPATH.
11746 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
11747 
11748 
11749 # as_fn_error STATUS ERROR [LINENO LOG_FD]
11750 # ----------------------------------------
11751 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
11752 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
11753 # script with STATUS, using 1 if that was 0.
11754 as_fn_error ()
11755 {
11756   as_status=$1; test $as_status -eq 0 && as_status=1
11757   if test "$4"; then
11758     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
11759     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
11760   fi
11761   $as_echo "$as_me: error: $2" >&2
11762   as_fn_exit $as_status
11763 } # as_fn_error
11764 
11765 
11766 # as_fn_set_status STATUS
11767 # -----------------------
11768 # Set $? to STATUS, without forking.
11769 as_fn_set_status ()
11770 {
11771   return $1
11772 } # as_fn_set_status
11773 
11774 # as_fn_exit STATUS
11775 # -----------------
11776 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
11777 as_fn_exit ()
11778 {
11779   set +e
11780   as_fn_set_status $1
11781   exit $1
11782 } # as_fn_exit
11783 
11784 # as_fn_unset VAR
11785 # ---------------
11786 # Portably unset VAR.
11787 as_fn_unset ()
11788 {
11789   { eval $1=; unset $1;}
11790 }
11791 as_unset=as_fn_unset
11792 # as_fn_append VAR VALUE
11793 # ----------------------
11794 # Append the text in VALUE to the end of the definition contained in VAR. Take
11795 # advantage of any shell optimizations that allow amortized linear growth over
11796 # repeated appends, instead of the typical quadratic growth present in naive
11797 # implementations.
11798 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
11799   eval 'as_fn_append ()
11800   {
11801     eval $1+=\$2
11802   }'
11803 else
11804   as_fn_append ()
11805   {
11806     eval $1=\$$1\$2
11807   }
11808 fi # as_fn_append
11809 
11810 # as_fn_arith ARG...
11811 # ------------------
11812 # Perform arithmetic evaluation on the ARGs, and store the result in the
11813 # global $as_val. Take advantage of shells that can avoid forks. The arguments
11814 # must be portable across $(()) and expr.
11815 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
11816   eval 'as_fn_arith ()
11817   {
11818     as_val=$(( $* ))
11819   }'
11820 else
11821   as_fn_arith ()
11822   {
11823     as_val=`expr "$@" || test $? -eq 1`
11824   }
11825 fi # as_fn_arith
11826 
11827 
11828 if expr a : '\(a\)' >/dev/null 2>&1 &&
11829    test "X`expr 00001 : '.*\(...\)'`" = X001; then
11830   as_expr=expr
11831 else
11832   as_expr=false
11833 fi
11834 
11835 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
11836   as_basename=basename
11837 else
11838   as_basename=false
11839 fi
11840 
11841 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
11842   as_dirname=dirname
11843 else
11844   as_dirname=false
11845 fi
11846 
11847 as_me=`$as_basename -- "$0" ||
11848 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11849 	 X"$0" : 'X\(//\)$' \| \
11850 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
11851 $as_echo X/"$0" |
11852     sed '/^.*\/\([^/][^/]*\)\/*$/{
11853 	    s//\1/
11854 	    q
11855 	  }
11856 	  /^X\/\(\/\/\)$/{
11857 	    s//\1/
11858 	    q
11859 	  }
11860 	  /^X\/\(\/\).*/{
11861 	    s//\1/
11862 	    q
11863 	  }
11864 	  s/.*/./; q'`
11865 
11866 # Avoid depending upon Character Ranges.
11867 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
11868 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11869 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
11870 as_cr_digits='0123456789'
11871 as_cr_alnum=$as_cr_Letters$as_cr_digits
11872 
11873 ECHO_C= ECHO_N= ECHO_T=
11874 case `echo -n x` in #(((((
11875 -n*)
11876   case `echo 'xy\c'` in
11877   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
11878   xy)  ECHO_C='\c';;
11879   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
11880        ECHO_T='	';;
11881   esac;;
11882 *)
11883   ECHO_N='-n';;
11884 esac
11885 
11886 rm -f conf$$ conf$$.exe conf$$.file
11887 if test -d conf$$.dir; then
11888   rm -f conf$$.dir/conf$$.file
11889 else
11890   rm -f conf$$.dir
11891   mkdir conf$$.dir 2>/dev/null
11892 fi
11893 if (echo >conf$$.file) 2>/dev/null; then
11894   if ln -s conf$$.file conf$$ 2>/dev/null; then
11895     as_ln_s='ln -s'
11896     # ... but there are two gotchas:
11897     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
11898     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
11899     # In both cases, we have to default to `cp -pR'.
11900     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
11901       as_ln_s='cp -pR'
11902   elif ln conf$$.file conf$$ 2>/dev/null; then
11903     as_ln_s=ln
11904   else
11905     as_ln_s='cp -pR'
11906   fi
11907 else
11908   as_ln_s='cp -pR'
11909 fi
11910 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
11911 rmdir conf$$.dir 2>/dev/null
11912 
11913 
11914 # as_fn_mkdir_p
11915 # -------------
11916 # Create "$as_dir" as a directory, including parents if necessary.
11917 as_fn_mkdir_p ()
11918 {
11919 
11920   case $as_dir in #(
11921   -*) as_dir=./$as_dir;;
11922   esac
11923   test -d "$as_dir" || eval $as_mkdir_p || {
11924     as_dirs=
11925     while :; do
11926       case $as_dir in #(
11927       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
11928       *) as_qdir=$as_dir;;
11929       esac
11930       as_dirs="'$as_qdir' $as_dirs"
11931       as_dir=`$as_dirname -- "$as_dir" ||
11932 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11933 	 X"$as_dir" : 'X\(//\)[^/]' \| \
11934 	 X"$as_dir" : 'X\(//\)$' \| \
11935 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11936 $as_echo X"$as_dir" |
11937     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11938 	    s//\1/
11939 	    q
11940 	  }
11941 	  /^X\(\/\/\)[^/].*/{
11942 	    s//\1/
11943 	    q
11944 	  }
11945 	  /^X\(\/\/\)$/{
11946 	    s//\1/
11947 	    q
11948 	  }
11949 	  /^X\(\/\).*/{
11950 	    s//\1/
11951 	    q
11952 	  }
11953 	  s/.*/./; q'`
11954       test -d "$as_dir" && break
11955     done
11956     test -z "$as_dirs" || eval "mkdir $as_dirs"
11957   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
11958 
11959 
11960 } # as_fn_mkdir_p
11961 if mkdir -p . 2>/dev/null; then
11962   as_mkdir_p='mkdir -p "$as_dir"'
11963 else
11964   test -d ./-p && rmdir ./-p
11965   as_mkdir_p=false
11966 fi
11967 
11968 
11969 # as_fn_executable_p FILE
11970 # -----------------------
11971 # Test if FILE is an executable regular file.
11972 as_fn_executable_p ()
11973 {
11974   test -f "$1" && test -x "$1"
11975 } # as_fn_executable_p
11976 as_test_x='test -x'
11977 as_executable_p=as_fn_executable_p
11978 
11979 # Sed expression to map a string onto a valid CPP name.
11980 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11981 
11982 # Sed expression to map a string onto a valid variable name.
11983 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11984 
11985 
11986 exec 6>&1
11987 ## ----------------------------------- ##
11988 ## Main body of $CONFIG_STATUS script. ##
11989 ## ----------------------------------- ##
11990 _ASEOF
11991 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
11992 
11993 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11994 # Save the log message, to keep $0 and so on meaningful, and to
11995 # report actual input values of CONFIG_FILES etc. instead of their
11996 # values after options handling.
11997 ac_log="
11998 This file was extended by libnfnetlink $as_me 1.0.1, which was
11999 generated by GNU Autoconf 2.69.  Invocation command line was
12000 
12001   CONFIG_FILES    = $CONFIG_FILES
12002   CONFIG_HEADERS  = $CONFIG_HEADERS
12003   CONFIG_LINKS    = $CONFIG_LINKS
12004   CONFIG_COMMANDS = $CONFIG_COMMANDS
12005   $ $0 $@
12006 
12007 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12008 "
12009 
12010 _ACEOF
12011 
12012 case $ac_config_files in *"
12013 "*) set x $ac_config_files; shift; ac_config_files=$*;;
12014 esac
12015 
12016 
12017 
12018 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12019 # Files that config.status was made for.
12020 config_files="$ac_config_files"
12021 config_commands="$ac_config_commands"
12022 
12023 _ACEOF
12024 
12025 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12026 ac_cs_usage="\
12027 \`$as_me' instantiates files and other configuration actions
12028 from templates according to the current configuration.  Unless the files
12029 and actions are specified as TAGs, all are instantiated by default.
12030 
12031 Usage: $0 [OPTION]... [TAG]...
12032 
12033   -h, --help       print this help, then exit
12034   -V, --version    print version number and configuration settings, then exit
12035       --config     print configuration, then exit
12036   -q, --quiet, --silent
12037                    do not print progress messages
12038   -d, --debug      don't remove temporary files
12039       --recheck    update $as_me by reconfiguring in the same conditions
12040       --file=FILE[:TEMPLATE]
12041                    instantiate the configuration file FILE
12042 
12043 Configuration files:
12044 $config_files
12045 
12046 Configuration commands:
12047 $config_commands
12048 
12049 Report bugs to the package provider."
12050 
12051 _ACEOF
12052 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12053 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
12054 ac_cs_version="\\
12055 libnfnetlink config.status 1.0.1
12056 configured by $0, generated by GNU Autoconf 2.69,
12057   with options \\"\$ac_cs_config\\"
12058 
12059 Copyright (C) 2012 Free Software Foundation, Inc.
12060 This config.status script is free software; the Free Software Foundation
12061 gives unlimited permission to copy, distribute and modify it."
12062 
12063 ac_pwd='$ac_pwd'
12064 srcdir='$srcdir'
12065 INSTALL='$INSTALL'
12066 MKDIR_P='$MKDIR_P'
12067 AWK='$AWK'
12068 test -n "\$AWK" || AWK=awk
12069 _ACEOF
12070 
12071 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12072 # The default lists apply if the user does not specify any file.
12073 ac_need_defaults=:
12074 while test $# != 0
12075 do
12076   case $1 in
12077   --*=?*)
12078     ac_option=`expr "X$1" : 'X\([^=]*\)='`
12079     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
12080     ac_shift=:
12081     ;;
12082   --*=)
12083     ac_option=`expr "X$1" : 'X\([^=]*\)='`
12084     ac_optarg=
12085     ac_shift=:
12086     ;;
12087   *)
12088     ac_option=$1
12089     ac_optarg=$2
12090     ac_shift=shift
12091     ;;
12092   esac
12093 
12094   case $ac_option in
12095   # Handling of the options.
12096   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
12097     ac_cs_recheck=: ;;
12098   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
12099     $as_echo "$ac_cs_version"; exit ;;
12100   --config | --confi | --conf | --con | --co | --c )
12101     $as_echo "$ac_cs_config"; exit ;;
12102   --debug | --debu | --deb | --de | --d | -d )
12103     debug=: ;;
12104   --file | --fil | --fi | --f )
12105     $ac_shift
12106     case $ac_optarg in
12107     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12108     '') as_fn_error $? "missing file argument" ;;
12109     esac
12110     as_fn_append CONFIG_FILES " '$ac_optarg'"
12111     ac_need_defaults=false;;
12112   --he | --h |  --help | --hel | -h )
12113     $as_echo "$ac_cs_usage"; exit ;;
12114   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
12115   | -silent | --silent | --silen | --sile | --sil | --si | --s)
12116     ac_cs_silent=: ;;
12117 
12118   # This is an error.
12119   -*) as_fn_error $? "unrecognized option: \`$1'
12120 Try \`$0 --help' for more information." ;;
12121 
12122   *) as_fn_append ac_config_targets " $1"
12123      ac_need_defaults=false ;;
12124 
12125   esac
12126   shift
12127 done
12128 
12129 ac_configure_extra_args=
12130 
12131 if $ac_cs_silent; then
12132   exec 6>/dev/null
12133   ac_configure_extra_args="$ac_configure_extra_args --silent"
12134 fi
12135 
12136 _ACEOF
12137 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12138 if \$ac_cs_recheck; then
12139   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12140   shift
12141   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
12142   CONFIG_SHELL='$SHELL'
12143   export CONFIG_SHELL
12144   exec "\$@"
12145 fi
12146 
12147 _ACEOF
12148 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12149 exec 5>>config.log
12150 {
12151   echo
12152   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12153 ## Running $as_me. ##
12154 _ASBOX
12155   $as_echo "$ac_log"
12156 } >&5
12157 
12158 _ACEOF
12159 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12160 #
12161 # INIT-COMMANDS
12162 #
12163 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
12164 
12165 
12166 # The HP-UX ksh and POSIX shell print the target directory to stdout
12167 # if CDPATH is set.
12168 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12169 
12170 sed_quote_subst='$sed_quote_subst'
12171 double_quote_subst='$double_quote_subst'
12172 delay_variable_subst='$delay_variable_subst'
12173 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
12174 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
12175 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
12176 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
12177 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
12178 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
12179 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
12180 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
12181 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
12182 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
12183 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
12184 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
12185 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
12186 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
12187 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
12188 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
12189 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
12190 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
12191 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
12192 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
12193 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
12194 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
12195 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
12196 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
12197 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
12198 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
12199 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
12200 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
12201 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
12202 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
12203 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
12204 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
12205 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
12206 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
12207 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
12208 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
12209 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
12210 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
12211 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
12212 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
12213 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
12214 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
12215 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
12216 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
12217 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
12218 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12219 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12220 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
12221 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
12222 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
12223 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
12224 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
12225 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
12226 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
12227 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
12228 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
12229 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"`'
12230 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
12231 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
12232 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
12233 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
12234 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
12235 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
12236 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
12237 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
12238 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
12239 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
12240 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
12241 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
12242 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
12243 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
12244 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
12245 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
12246 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
12247 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
12248 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12249 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
12250 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
12251 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
12252 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
12253 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
12254 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
12255 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12256 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
12257 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12258 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
12259 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12260 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
12261 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
12262 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
12263 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
12264 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
12265 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
12266 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
12267 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
12268 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
12269 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
12270 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
12271 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
12272 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
12273 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
12274 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
12275 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
12276 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
12277 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
12278 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
12279 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
12280 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
12281 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
12282 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
12283 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
12284 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
12285 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
12286 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
12287 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
12288 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
12289 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
12290 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12291 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12292 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
12293 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
12294 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
12295 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
12296 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
12297 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
12298 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
12299 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
12300 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
12301 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
12302 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
12303 
12304 LTCC='$LTCC'
12305 LTCFLAGS='$LTCFLAGS'
12306 compiler='$compiler_DEFAULT'
12307 
12308 # A function that is used when there is no print builtin or printf.
12309 func_fallback_echo ()
12310 {
12311   eval 'cat <<_LTECHO_EOF
12312 \$1
12313 _LTECHO_EOF'
12314 }
12315 
12316 # Quote evaled strings.
12317 for var in SHELL \
12318 ECHO \
12319 PATH_SEPARATOR \
12320 SED \
12321 GREP \
12322 EGREP \
12323 FGREP \
12324 LD \
12325 NM \
12326 LN_S \
12327 lt_SP2NL \
12328 lt_NL2SP \
12329 reload_flag \
12330 OBJDUMP \
12331 deplibs_check_method \
12332 file_magic_cmd \
12333 file_magic_glob \
12334 want_nocaseglob \
12335 DLLTOOL \
12336 sharedlib_from_linklib_cmd \
12337 AR \
12338 AR_FLAGS \
12339 archiver_list_spec \
12340 STRIP \
12341 RANLIB \
12342 CC \
12343 CFLAGS \
12344 compiler \
12345 lt_cv_sys_global_symbol_pipe \
12346 lt_cv_sys_global_symbol_to_cdecl \
12347 lt_cv_sys_global_symbol_to_c_name_address \
12348 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
12349 nm_file_list_spec \
12350 lt_prog_compiler_no_builtin_flag \
12351 lt_prog_compiler_pic \
12352 lt_prog_compiler_wl \
12353 lt_prog_compiler_static \
12354 lt_cv_prog_compiler_c_o \
12355 need_locks \
12356 MANIFEST_TOOL \
12357 DSYMUTIL \
12358 NMEDIT \
12359 LIPO \
12360 OTOOL \
12361 OTOOL64 \
12362 shrext_cmds \
12363 export_dynamic_flag_spec \
12364 whole_archive_flag_spec \
12365 compiler_needs_object \
12366 with_gnu_ld \
12367 allow_undefined_flag \
12368 no_undefined_flag \
12369 hardcode_libdir_flag_spec \
12370 hardcode_libdir_separator \
12371 exclude_expsyms \
12372 include_expsyms \
12373 file_list_spec \
12374 variables_saved_for_relink \
12375 libname_spec \
12376 library_names_spec \
12377 soname_spec \
12378 install_override_mode \
12379 finish_eval \
12380 old_striplib \
12381 striplib; do
12382     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12383     *[\\\\\\\`\\"\\\$]*)
12384       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
12385       ;;
12386     *)
12387       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12388       ;;
12389     esac
12390 done
12391 
12392 # Double-quote double-evaled strings.
12393 for var in reload_cmds \
12394 old_postinstall_cmds \
12395 old_postuninstall_cmds \
12396 old_archive_cmds \
12397 extract_expsyms_cmds \
12398 old_archive_from_new_cmds \
12399 old_archive_from_expsyms_cmds \
12400 archive_cmds \
12401 archive_expsym_cmds \
12402 module_cmds \
12403 module_expsym_cmds \
12404 export_symbols_cmds \
12405 prelink_cmds \
12406 postlink_cmds \
12407 postinstall_cmds \
12408 postuninstall_cmds \
12409 finish_cmds \
12410 sys_lib_search_path_spec \
12411 sys_lib_dlsearch_path_spec; do
12412     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12413     *[\\\\\\\`\\"\\\$]*)
12414       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
12415       ;;
12416     *)
12417       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12418       ;;
12419     esac
12420 done
12421 
12422 ac_aux_dir='$ac_aux_dir'
12423 xsi_shell='$xsi_shell'
12424 lt_shell_append='$lt_shell_append'
12425 
12426 # See if we are running on zsh, and set the options which allow our
12427 # commands through without removal of \ escapes INIT.
12428 if test -n "\${ZSH_VERSION+set}" ; then
12429    setopt NO_GLOB_SUBST
12430 fi
12431 
12432 
12433     PACKAGE='$PACKAGE'
12434     VERSION='$VERSION'
12435     TIMESTAMP='$TIMESTAMP'
12436     RM='$RM'
12437     ofile='$ofile'
12438 
12439 
12440 
12441 
12442 _ACEOF
12443 
12444 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12445 
12446 # Handling of arguments.
12447 for ac_config_target in $ac_config_targets
12448 do
12449   case $ac_config_target in
12450     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
12451     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
12452     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
12453     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
12454     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
12455     "include/libnfnetlink/Makefile") CONFIG_FILES="$CONFIG_FILES include/libnfnetlink/Makefile" ;;
12456     "utils/Makefile") CONFIG_FILES="$CONFIG_FILES utils/Makefile" ;;
12457     "libnfnetlink.pc") CONFIG_FILES="$CONFIG_FILES libnfnetlink.pc" ;;
12458 
12459   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
12460   esac
12461 done
12462 
12463 
12464 # If the user did not use the arguments to specify the items to instantiate,
12465 # then the envvar interface is used.  Set only those that are not.
12466 # We use the long form for the default assignment because of an extremely
12467 # bizarre bug on SunOS 4.1.3.
12468 if $ac_need_defaults; then
12469   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
12470   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
12471 fi
12472 
12473 # Have a temporary directory for convenience.  Make it in the build tree
12474 # simply because there is no reason against having it here, and in addition,
12475 # creating and moving files from /tmp can sometimes cause problems.
12476 # Hook for its removal unless debugging.
12477 # Note that there is a small window in which the directory will not be cleaned:
12478 # after its creation but before its name has been assigned to `$tmp'.
12479 $debug ||
12480 {
12481   tmp= ac_tmp=
12482   trap 'exit_status=$?
12483   : "${ac_tmp:=$tmp}"
12484   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
12485 ' 0
12486   trap 'as_fn_exit 1' 1 2 13 15
12487 }
12488 # Create a (secure) tmp directory for tmp files.
12489 
12490 {
12491   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
12492   test -d "$tmp"
12493 }  ||
12494 {
12495   tmp=./conf$$-$RANDOM
12496   (umask 077 && mkdir "$tmp")
12497 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
12498 ac_tmp=$tmp
12499 
12500 # Set up the scripts for CONFIG_FILES section.
12501 # No need to generate them if there are no CONFIG_FILES.
12502 # This happens for instance with `./config.status config.h'.
12503 if test -n "$CONFIG_FILES"; then
12504 
12505 
12506 ac_cr=`echo X | tr X '\015'`
12507 # On cygwin, bash can eat \r inside `` if the user requested igncr.
12508 # But we know of no other shell where ac_cr would be empty at this
12509 # point, so we can use a bashism as a fallback.
12510 if test "x$ac_cr" = x; then
12511   eval ac_cr=\$\'\\r\'
12512 fi
12513 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
12514 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
12515   ac_cs_awk_cr='\\r'
12516 else
12517   ac_cs_awk_cr=$ac_cr
12518 fi
12519 
12520 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
12521 _ACEOF
12522 
12523 
12524 {
12525   echo "cat >conf$$subs.awk <<_ACEOF" &&
12526   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
12527   echo "_ACEOF"
12528 } >conf$$subs.sh ||
12529   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
12530 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
12531 ac_delim='%!_!# '
12532 for ac_last_try in false false false false false :; do
12533   . ./conf$$subs.sh ||
12534     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
12535 
12536   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
12537   if test $ac_delim_n = $ac_delim_num; then
12538     break
12539   elif $ac_last_try; then
12540     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
12541   else
12542     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
12543   fi
12544 done
12545 rm -f conf$$subs.sh
12546 
12547 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12548 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
12549 _ACEOF
12550 sed -n '
12551 h
12552 s/^/S["/; s/!.*/"]=/
12553 p
12554 g
12555 s/^[^!]*!//
12556 :repl
12557 t repl
12558 s/'"$ac_delim"'$//
12559 t delim
12560 :nl
12561 h
12562 s/\(.\{148\}\)..*/\1/
12563 t more1
12564 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
12565 p
12566 n
12567 b repl
12568 :more1
12569 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
12570 p
12571 g
12572 s/.\{148\}//
12573 t nl
12574 :delim
12575 h
12576 s/\(.\{148\}\)..*/\1/
12577 t more2
12578 s/["\\]/\\&/g; s/^/"/; s/$/"/
12579 p
12580 b
12581 :more2
12582 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
12583 p
12584 g
12585 s/.\{148\}//
12586 t delim
12587 ' <conf$$subs.awk | sed '
12588 /^[^""]/{
12589   N
12590   s/\n//
12591 }
12592 ' >>$CONFIG_STATUS || ac_write_fail=1
12593 rm -f conf$$subs.awk
12594 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12595 _ACAWK
12596 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
12597   for (key in S) S_is_set[key] = 1
12598   FS = ""
12599 
12600 }
12601 {
12602   line = $ 0
12603   nfields = split(line, field, "@")
12604   substed = 0
12605   len = length(field[1])
12606   for (i = 2; i < nfields; i++) {
12607     key = field[i]
12608     keylen = length(key)
12609     if (S_is_set[key]) {
12610       value = S[key]
12611       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
12612       len += length(value) + length(field[++i])
12613       substed = 1
12614     } else
12615       len += 1 + keylen
12616   }
12617 
12618   print line
12619 }
12620 
12621 _ACAWK
12622 _ACEOF
12623 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12624 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
12625   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
12626 else
12627   cat
12628 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
12629   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
12630 _ACEOF
12631 
12632 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
12633 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
12634 # trailing colons and then remove the whole line if VPATH becomes empty
12635 # (actually we leave an empty line to preserve line numbers).
12636 if test "x$srcdir" = x.; then
12637   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
12638 h
12639 s///
12640 s/^/:/
12641 s/[	 ]*$/:/
12642 s/:\$(srcdir):/:/g
12643 s/:\${srcdir}:/:/g
12644 s/:@srcdir@:/:/g
12645 s/^:*//
12646 s/:*$//
12647 x
12648 s/\(=[	 ]*\).*/\1/
12649 G
12650 s/\n//
12651 s/^[^=]*=[	 ]*$//
12652 }'
12653 fi
12654 
12655 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12656 fi # test -n "$CONFIG_FILES"
12657 
12658 
12659 eval set X "  :F $CONFIG_FILES      :C $CONFIG_COMMANDS"
12660 shift
12661 for ac_tag
12662 do
12663   case $ac_tag in
12664   :[FHLC]) ac_mode=$ac_tag; continue;;
12665   esac
12666   case $ac_mode$ac_tag in
12667   :[FHL]*:*);;
12668   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
12669   :[FH]-) ac_tag=-:-;;
12670   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
12671   esac
12672   ac_save_IFS=$IFS
12673   IFS=:
12674   set x $ac_tag
12675   IFS=$ac_save_IFS
12676   shift
12677   ac_file=$1
12678   shift
12679 
12680   case $ac_mode in
12681   :L) ac_source=$1;;
12682   :[FH])
12683     ac_file_inputs=
12684     for ac_f
12685     do
12686       case $ac_f in
12687       -) ac_f="$ac_tmp/stdin";;
12688       *) # Look for the file first in the build tree, then in the source tree
12689 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
12690 	 # because $ac_f cannot contain `:'.
12691 	 test -f "$ac_f" ||
12692 	   case $ac_f in
12693 	   [\\/$]*) false;;
12694 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
12695 	   esac ||
12696 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
12697       esac
12698       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
12699       as_fn_append ac_file_inputs " '$ac_f'"
12700     done
12701 
12702     # Let's still pretend it is `configure' which instantiates (i.e., don't
12703     # use $as_me), people would be surprised to read:
12704     #    /* config.h.  Generated by config.status.  */
12705     configure_input='Generated from '`
12706 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
12707 	`' by configure.'
12708     if test x"$ac_file" != x-; then
12709       configure_input="$ac_file.  $configure_input"
12710       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
12711 $as_echo "$as_me: creating $ac_file" >&6;}
12712     fi
12713     # Neutralize special characters interpreted by sed in replacement strings.
12714     case $configure_input in #(
12715     *\&* | *\|* | *\\* )
12716        ac_sed_conf_input=`$as_echo "$configure_input" |
12717        sed 's/[\\\\&|]/\\\\&/g'`;; #(
12718     *) ac_sed_conf_input=$configure_input;;
12719     esac
12720 
12721     case $ac_tag in
12722     *:-:* | *:-) cat >"$ac_tmp/stdin" \
12723       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
12724     esac
12725     ;;
12726   esac
12727 
12728   ac_dir=`$as_dirname -- "$ac_file" ||
12729 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12730 	 X"$ac_file" : 'X\(//\)[^/]' \| \
12731 	 X"$ac_file" : 'X\(//\)$' \| \
12732 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
12733 $as_echo X"$ac_file" |
12734     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12735 	    s//\1/
12736 	    q
12737 	  }
12738 	  /^X\(\/\/\)[^/].*/{
12739 	    s//\1/
12740 	    q
12741 	  }
12742 	  /^X\(\/\/\)$/{
12743 	    s//\1/
12744 	    q
12745 	  }
12746 	  /^X\(\/\).*/{
12747 	    s//\1/
12748 	    q
12749 	  }
12750 	  s/.*/./; q'`
12751   as_dir="$ac_dir"; as_fn_mkdir_p
12752   ac_builddir=.
12753 
12754 case "$ac_dir" in
12755 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
12756 *)
12757   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
12758   # A ".." for each directory in $ac_dir_suffix.
12759   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
12760   case $ac_top_builddir_sub in
12761   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
12762   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
12763   esac ;;
12764 esac
12765 ac_abs_top_builddir=$ac_pwd
12766 ac_abs_builddir=$ac_pwd$ac_dir_suffix
12767 # for backward compatibility:
12768 ac_top_builddir=$ac_top_build_prefix
12769 
12770 case $srcdir in
12771   .)  # We are building in place.
12772     ac_srcdir=.
12773     ac_top_srcdir=$ac_top_builddir_sub
12774     ac_abs_top_srcdir=$ac_pwd ;;
12775   [\\/]* | ?:[\\/]* )  # Absolute name.
12776     ac_srcdir=$srcdir$ac_dir_suffix;
12777     ac_top_srcdir=$srcdir
12778     ac_abs_top_srcdir=$srcdir ;;
12779   *) # Relative name.
12780     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
12781     ac_top_srcdir=$ac_top_build_prefix$srcdir
12782     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
12783 esac
12784 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
12785 
12786 
12787   case $ac_mode in
12788   :F)
12789   #
12790   # CONFIG_FILE
12791   #
12792 
12793   case $INSTALL in
12794   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
12795   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
12796   esac
12797   ac_MKDIR_P=$MKDIR_P
12798   case $MKDIR_P in
12799   [\\/$]* | ?:[\\/]* ) ;;
12800   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
12801   esac
12802 _ACEOF
12803 
12804 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12805 # If the template does not know about datarootdir, expand it.
12806 # FIXME: This hack should be removed a few years after 2.60.
12807 ac_datarootdir_hack=; ac_datarootdir_seen=
12808 ac_sed_dataroot='
12809 /datarootdir/ {
12810   p
12811   q
12812 }
12813 /@datadir@/p
12814 /@docdir@/p
12815 /@infodir@/p
12816 /@localedir@/p
12817 /@mandir@/p'
12818 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
12819 *datarootdir*) ac_datarootdir_seen=yes;;
12820 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
12821   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
12822 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
12823 _ACEOF
12824 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12825   ac_datarootdir_hack='
12826   s&@datadir@&$datadir&g
12827   s&@docdir@&$docdir&g
12828   s&@infodir@&$infodir&g
12829   s&@localedir@&$localedir&g
12830   s&@mandir@&$mandir&g
12831   s&\\\${datarootdir}&$datarootdir&g' ;;
12832 esac
12833 _ACEOF
12834 
12835 # Neutralize VPATH when `$srcdir' = `.'.
12836 # Shell code in configure.ac might set extrasub.
12837 # FIXME: do we really want to maintain this feature?
12838 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12839 ac_sed_extra="$ac_vpsub
12840 $extrasub
12841 _ACEOF
12842 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12843 :t
12844 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
12845 s|@configure_input@|$ac_sed_conf_input|;t t
12846 s&@top_builddir@&$ac_top_builddir_sub&;t t
12847 s&@top_build_prefix@&$ac_top_build_prefix&;t t
12848 s&@srcdir@&$ac_srcdir&;t t
12849 s&@abs_srcdir@&$ac_abs_srcdir&;t t
12850 s&@top_srcdir@&$ac_top_srcdir&;t t
12851 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
12852 s&@builddir@&$ac_builddir&;t t
12853 s&@abs_builddir@&$ac_abs_builddir&;t t
12854 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
12855 s&@INSTALL@&$ac_INSTALL&;t t
12856 s&@MKDIR_P@&$ac_MKDIR_P&;t t
12857 $ac_datarootdir_hack
12858 "
12859 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
12860   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
12861 
12862 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
12863   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
12864   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
12865       "$ac_tmp/out"`; test -z "$ac_out"; } &&
12866   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
12867 which seems to be undefined.  Please make sure it is defined" >&5
12868 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
12869 which seems to be undefined.  Please make sure it is defined" >&2;}
12870 
12871   rm -f "$ac_tmp/stdin"
12872   case $ac_file in
12873   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
12874   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
12875   esac \
12876   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
12877  ;;
12878 
12879 
12880   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
12881 $as_echo "$as_me: executing $ac_file commands" >&6;}
12882  ;;
12883   esac
12884 
12885 
12886   case $ac_file$ac_mode in
12887     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
12888   # Autoconf 2.62 quotes --file arguments for eval, but not when files
12889   # are listed without --file.  Let's play safe and only enable the eval
12890   # if we detect the quoting.
12891   case $CONFIG_FILES in
12892   *\'*) eval set x "$CONFIG_FILES" ;;
12893   *)   set x $CONFIG_FILES ;;
12894   esac
12895   shift
12896   for mf
12897   do
12898     # Strip MF so we end up with the name of the file.
12899     mf=`echo "$mf" | sed -e 's/:.*$//'`
12900     # Check whether this is an Automake generated Makefile or not.
12901     # We used to match only the files named `Makefile.in', but
12902     # some people rename them; so instead we look at the file content.
12903     # Grep'ing the first line is not enough: some people post-process
12904     # each Makefile.in and add a new line on top of each file to say so.
12905     # Grep'ing the whole file is not good either: AIX grep has a line
12906     # limit of 2048, but all sed's we know have understand at least 4000.
12907     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
12908       dirpart=`$as_dirname -- "$mf" ||
12909 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12910 	 X"$mf" : 'X\(//\)[^/]' \| \
12911 	 X"$mf" : 'X\(//\)$' \| \
12912 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
12913 $as_echo X"$mf" |
12914     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12915 	    s//\1/
12916 	    q
12917 	  }
12918 	  /^X\(\/\/\)[^/].*/{
12919 	    s//\1/
12920 	    q
12921 	  }
12922 	  /^X\(\/\/\)$/{
12923 	    s//\1/
12924 	    q
12925 	  }
12926 	  /^X\(\/\).*/{
12927 	    s//\1/
12928 	    q
12929 	  }
12930 	  s/.*/./; q'`
12931     else
12932       continue
12933     fi
12934     # Extract the definition of DEPDIR, am__include, and am__quote
12935     # from the Makefile without running `make'.
12936     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
12937     test -z "$DEPDIR" && continue
12938     am__include=`sed -n 's/^am__include = //p' < "$mf"`
12939     test -z "am__include" && continue
12940     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
12941     # When using ansi2knr, U may be empty or an underscore; expand it
12942     U=`sed -n 's/^U = //p' < "$mf"`
12943     # Find all dependency output files, they are included files with
12944     # $(DEPDIR) in their names.  We invoke sed twice because it is the
12945     # simplest approach to changing $(DEPDIR) to its actual value in the
12946     # expansion.
12947     for file in `sed -n "
12948       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
12949 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
12950       # Make sure the directory exists.
12951       test -f "$dirpart/$file" && continue
12952       fdir=`$as_dirname -- "$file" ||
12953 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12954 	 X"$file" : 'X\(//\)[^/]' \| \
12955 	 X"$file" : 'X\(//\)$' \| \
12956 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
12957 $as_echo X"$file" |
12958     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12959 	    s//\1/
12960 	    q
12961 	  }
12962 	  /^X\(\/\/\)[^/].*/{
12963 	    s//\1/
12964 	    q
12965 	  }
12966 	  /^X\(\/\/\)$/{
12967 	    s//\1/
12968 	    q
12969 	  }
12970 	  /^X\(\/\).*/{
12971 	    s//\1/
12972 	    q
12973 	  }
12974 	  s/.*/./; q'`
12975       as_dir=$dirpart/$fdir; as_fn_mkdir_p
12976       # echo "creating $dirpart/$file"
12977       echo '# dummy' > "$dirpart/$file"
12978     done
12979   done
12980 }
12981  ;;
12982     "libtool":C)
12983 
12984     # See if we are running on zsh, and set the options which allow our
12985     # commands through without removal of \ escapes.
12986     if test -n "${ZSH_VERSION+set}" ; then
12987       setopt NO_GLOB_SUBST
12988     fi
12989 
12990     cfgfile="${ofile}T"
12991     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
12992     $RM "$cfgfile"
12993 
12994     cat <<_LT_EOF >> "$cfgfile"
12995 #! $SHELL
12996 
12997 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
12998 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
12999 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13000 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
13001 #
13002 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
13003 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
13004 #                 Foundation, Inc.
13005 #   Written by Gordon Matzigkeit, 1996
13006 #
13007 #   This file is part of GNU Libtool.
13008 #
13009 # GNU Libtool is free software; you can redistribute it and/or
13010 # modify it under the terms of the GNU General Public License as
13011 # published by the Free Software Foundation; either version 2 of
13012 # the License, or (at your option) any later version.
13013 #
13014 # As a special exception to the GNU General Public License,
13015 # if you distribute this file as part of a program or library that
13016 # is built using GNU Libtool, you may include this file under the
13017 # same distribution terms that you use for the rest of that program.
13018 #
13019 # GNU Libtool is distributed in the hope that it will be useful,
13020 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13021 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13022 # GNU General Public License for more details.
13023 #
13024 # You should have received a copy of the GNU General Public License
13025 # along with GNU Libtool; see the file COPYING.  If not, a copy
13026 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
13027 # obtained by writing to the Free Software Foundation, Inc.,
13028 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
13029 
13030 
13031 # The names of the tagged configurations supported by this script.
13032 available_tags=""
13033 
13034 # ### BEGIN LIBTOOL CONFIG
13035 
13036 # Whether or not to build static libraries.
13037 build_old_libs=$enable_static
13038 
13039 # Which release of libtool.m4 was used?
13040 macro_version=$macro_version
13041 macro_revision=$macro_revision
13042 
13043 # Whether or not to build shared libraries.
13044 build_libtool_libs=$enable_shared
13045 
13046 # What type of objects to build.
13047 pic_mode=$pic_mode
13048 
13049 # Whether or not to optimize for fast installation.
13050 fast_install=$enable_fast_install
13051 
13052 # Shell to use when invoking shell scripts.
13053 SHELL=$lt_SHELL
13054 
13055 # An echo program that protects backslashes.
13056 ECHO=$lt_ECHO
13057 
13058 # The PATH separator for the build system.
13059 PATH_SEPARATOR=$lt_PATH_SEPARATOR
13060 
13061 # The host system.
13062 host_alias=$host_alias
13063 host=$host
13064 host_os=$host_os
13065 
13066 # The build system.
13067 build_alias=$build_alias
13068 build=$build
13069 build_os=$build_os
13070 
13071 # A sed program that does not truncate output.
13072 SED=$lt_SED
13073 
13074 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
13075 Xsed="\$SED -e 1s/^X//"
13076 
13077 # A grep program that handles long lines.
13078 GREP=$lt_GREP
13079 
13080 # An ERE matcher.
13081 EGREP=$lt_EGREP
13082 
13083 # A literal string matcher.
13084 FGREP=$lt_FGREP
13085 
13086 # A BSD- or MS-compatible name lister.
13087 NM=$lt_NM
13088 
13089 # Whether we need soft or hard links.
13090 LN_S=$lt_LN_S
13091 
13092 # What is the maximum length of a command?
13093 max_cmd_len=$max_cmd_len
13094 
13095 # Object file suffix (normally "o").
13096 objext=$ac_objext
13097 
13098 # Executable file suffix (normally "").
13099 exeext=$exeext
13100 
13101 # whether the shell understands "unset".
13102 lt_unset=$lt_unset
13103 
13104 # turn spaces into newlines.
13105 SP2NL=$lt_lt_SP2NL
13106 
13107 # turn newlines into spaces.
13108 NL2SP=$lt_lt_NL2SP
13109 
13110 # convert \$build file names to \$host format.
13111 to_host_file_cmd=$lt_cv_to_host_file_cmd
13112 
13113 # convert \$build files to toolchain format.
13114 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
13115 
13116 # An object symbol dumper.
13117 OBJDUMP=$lt_OBJDUMP
13118 
13119 # Method to check whether dependent libraries are shared objects.
13120 deplibs_check_method=$lt_deplibs_check_method
13121 
13122 # Command to use when deplibs_check_method = "file_magic".
13123 file_magic_cmd=$lt_file_magic_cmd
13124 
13125 # How to find potential files when deplibs_check_method = "file_magic".
13126 file_magic_glob=$lt_file_magic_glob
13127 
13128 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
13129 want_nocaseglob=$lt_want_nocaseglob
13130 
13131 # DLL creation program.
13132 DLLTOOL=$lt_DLLTOOL
13133 
13134 # Command to associate shared and link libraries.
13135 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
13136 
13137 # The archiver.
13138 AR=$lt_AR
13139 
13140 # Flags to create an archive.
13141 AR_FLAGS=$lt_AR_FLAGS
13142 
13143 # How to feed a file listing to the archiver.
13144 archiver_list_spec=$lt_archiver_list_spec
13145 
13146 # A symbol stripping program.
13147 STRIP=$lt_STRIP
13148 
13149 # Commands used to install an old-style archive.
13150 RANLIB=$lt_RANLIB
13151 old_postinstall_cmds=$lt_old_postinstall_cmds
13152 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13153 
13154 # Whether to use a lock for old archive extraction.
13155 lock_old_archive_extraction=$lock_old_archive_extraction
13156 
13157 # A C compiler.
13158 LTCC=$lt_CC
13159 
13160 # LTCC compiler flags.
13161 LTCFLAGS=$lt_CFLAGS
13162 
13163 # Take the output of nm and produce a listing of raw symbols and C names.
13164 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13165 
13166 # Transform the output of nm in a proper C declaration.
13167 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13168 
13169 # Transform the output of nm in a C name address pair.
13170 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13171 
13172 # Transform the output of nm in a C name address pair when lib prefix is needed.
13173 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
13174 
13175 # Specify filename containing input files for \$NM.
13176 nm_file_list_spec=$lt_nm_file_list_spec
13177 
13178 # The root where to search for dependent libraries,and in which our libraries should be installed.
13179 lt_sysroot=$lt_sysroot
13180 
13181 # The name of the directory that contains temporary libtool files.
13182 objdir=$objdir
13183 
13184 # Used to examine libraries when file_magic_cmd begins with "file".
13185 MAGIC_CMD=$MAGIC_CMD
13186 
13187 # Must we lock files when doing compilation?
13188 need_locks=$lt_need_locks
13189 
13190 # Manifest tool.
13191 MANIFEST_TOOL=$lt_MANIFEST_TOOL
13192 
13193 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
13194 DSYMUTIL=$lt_DSYMUTIL
13195 
13196 # Tool to change global to local symbols on Mac OS X.
13197 NMEDIT=$lt_NMEDIT
13198 
13199 # Tool to manipulate fat objects and archives on Mac OS X.
13200 LIPO=$lt_LIPO
13201 
13202 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
13203 OTOOL=$lt_OTOOL
13204 
13205 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
13206 OTOOL64=$lt_OTOOL64
13207 
13208 # Old archive suffix (normally "a").
13209 libext=$libext
13210 
13211 # Shared library suffix (normally ".so").
13212 shrext_cmds=$lt_shrext_cmds
13213 
13214 # The commands to extract the exported symbol list from a shared archive.
13215 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13216 
13217 # Variables whose values should be saved in libtool wrapper scripts and
13218 # restored at link time.
13219 variables_saved_for_relink=$lt_variables_saved_for_relink
13220 
13221 # Do we need the "lib" prefix for modules?
13222 need_lib_prefix=$need_lib_prefix
13223 
13224 # Do we need a version for libraries?
13225 need_version=$need_version
13226 
13227 # Library versioning type.
13228 version_type=$version_type
13229 
13230 # Shared library runtime path variable.
13231 runpath_var=$runpath_var
13232 
13233 # Shared library path variable.
13234 shlibpath_var=$shlibpath_var
13235 
13236 # Is shlibpath searched before the hard-coded library search path?
13237 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13238 
13239 # Format of library name prefix.
13240 libname_spec=$lt_libname_spec
13241 
13242 # List of archive names.  First name is the real one, the rest are links.
13243 # The last name is the one that the linker finds with -lNAME
13244 library_names_spec=$lt_library_names_spec
13245 
13246 # The coded name of the library, if different from the real name.
13247 soname_spec=$lt_soname_spec
13248 
13249 # Permission mode override for installation of shared libraries.
13250 install_override_mode=$lt_install_override_mode
13251 
13252 # Command to use after installation of a shared archive.
13253 postinstall_cmds=$lt_postinstall_cmds
13254 
13255 # Command to use after uninstallation of a shared archive.
13256 postuninstall_cmds=$lt_postuninstall_cmds
13257 
13258 # Commands used to finish a libtool library installation in a directory.
13259 finish_cmds=$lt_finish_cmds
13260 
13261 # As "finish_cmds", except a single script fragment to be evaled but
13262 # not shown.
13263 finish_eval=$lt_finish_eval
13264 
13265 # Whether we should hardcode library paths into libraries.
13266 hardcode_into_libs=$hardcode_into_libs
13267 
13268 # Compile-time system search path for libraries.
13269 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13270 
13271 # Run-time system search path for libraries.
13272 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13273 
13274 # Whether dlopen is supported.
13275 dlopen_support=$enable_dlopen
13276 
13277 # Whether dlopen of programs is supported.
13278 dlopen_self=$enable_dlopen_self
13279 
13280 # Whether dlopen of statically linked programs is supported.
13281 dlopen_self_static=$enable_dlopen_self_static
13282 
13283 # Commands to strip libraries.
13284 old_striplib=$lt_old_striplib
13285 striplib=$lt_striplib
13286 
13287 
13288 # The linker used to build libraries.
13289 LD=$lt_LD
13290 
13291 # How to create reloadable object files.
13292 reload_flag=$lt_reload_flag
13293 reload_cmds=$lt_reload_cmds
13294 
13295 # Commands used to build an old-style archive.
13296 old_archive_cmds=$lt_old_archive_cmds
13297 
13298 # A language specific compiler.
13299 CC=$lt_compiler
13300 
13301 # Is the compiler the GNU compiler?
13302 with_gcc=$GCC
13303 
13304 # Compiler flag to turn off builtin functions.
13305 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
13306 
13307 # Additional compiler flags for building library objects.
13308 pic_flag=$lt_lt_prog_compiler_pic
13309 
13310 # How to pass a linker flag through the compiler.
13311 wl=$lt_lt_prog_compiler_wl
13312 
13313 # Compiler flag to prevent dynamic linking.
13314 link_static_flag=$lt_lt_prog_compiler_static
13315 
13316 # Does compiler simultaneously support -c and -o options?
13317 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
13318 
13319 # Whether or not to add -lc for building shared libraries.
13320 build_libtool_need_lc=$archive_cmds_need_lc
13321 
13322 # Whether or not to disallow shared libs when runtime libs are static.
13323 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
13324 
13325 # Compiler flag to allow reflexive dlopens.
13326 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
13327 
13328 # Compiler flag to generate shared objects directly from archives.
13329 whole_archive_flag_spec=$lt_whole_archive_flag_spec
13330 
13331 # Whether the compiler copes with passing no objects directly.
13332 compiler_needs_object=$lt_compiler_needs_object
13333 
13334 # Create an old-style archive from a shared archive.
13335 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
13336 
13337 # Create a temporary old-style archive to link instead of a shared archive.
13338 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
13339 
13340 # Commands used to build a shared archive.
13341 archive_cmds=$lt_archive_cmds
13342 archive_expsym_cmds=$lt_archive_expsym_cmds
13343 
13344 # Commands used to build a loadable module if different from building
13345 # a shared archive.
13346 module_cmds=$lt_module_cmds
13347 module_expsym_cmds=$lt_module_expsym_cmds
13348 
13349 # Whether we are building with GNU ld or not.
13350 with_gnu_ld=$lt_with_gnu_ld
13351 
13352 # Flag that allows shared libraries with undefined symbols to be built.
13353 allow_undefined_flag=$lt_allow_undefined_flag
13354 
13355 # Flag that enforces no undefined symbols.
13356 no_undefined_flag=$lt_no_undefined_flag
13357 
13358 # Flag to hardcode \$libdir into a binary during linking.
13359 # This must work even if \$libdir does not exist
13360 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
13361 
13362 # Whether we need a single "-rpath" flag with a separated argument.
13363 hardcode_libdir_separator=$lt_hardcode_libdir_separator
13364 
13365 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13366 # DIR into the resulting binary.
13367 hardcode_direct=$hardcode_direct
13368 
13369 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13370 # DIR into the resulting binary and the resulting library dependency is
13371 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
13372 # library is relocated.
13373 hardcode_direct_absolute=$hardcode_direct_absolute
13374 
13375 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
13376 # into the resulting binary.
13377 hardcode_minus_L=$hardcode_minus_L
13378 
13379 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
13380 # into the resulting binary.
13381 hardcode_shlibpath_var=$hardcode_shlibpath_var
13382 
13383 # Set to "yes" if building a shared library automatically hardcodes DIR
13384 # into the library and all subsequent libraries and executables linked
13385 # against it.
13386 hardcode_automatic=$hardcode_automatic
13387 
13388 # Set to yes if linker adds runtime paths of dependent libraries
13389 # to runtime path list.
13390 inherit_rpath=$inherit_rpath
13391 
13392 # Whether libtool must link a program against all its dependency libraries.
13393 link_all_deplibs=$link_all_deplibs
13394 
13395 # Set to "yes" if exported symbols are required.
13396 always_export_symbols=$always_export_symbols
13397 
13398 # The commands to list exported symbols.
13399 export_symbols_cmds=$lt_export_symbols_cmds
13400 
13401 # Symbols that should not be listed in the preloaded symbols.
13402 exclude_expsyms=$lt_exclude_expsyms
13403 
13404 # Symbols that must always be exported.
13405 include_expsyms=$lt_include_expsyms
13406 
13407 # Commands necessary for linking programs (against libraries) with templates.
13408 prelink_cmds=$lt_prelink_cmds
13409 
13410 # Commands necessary for finishing linking programs.
13411 postlink_cmds=$lt_postlink_cmds
13412 
13413 # Specify filename containing input files.
13414 file_list_spec=$lt_file_list_spec
13415 
13416 # How to hardcode a shared library path into an executable.
13417 hardcode_action=$hardcode_action
13418 
13419 # ### END LIBTOOL CONFIG
13420 
13421 _LT_EOF
13422 
13423   case $host_os in
13424   aix3*)
13425     cat <<\_LT_EOF >> "$cfgfile"
13426 # AIX sometimes has problems with the GCC collect2 program.  For some
13427 # reason, if we set the COLLECT_NAMES environment variable, the problems
13428 # vanish in a puff of smoke.
13429 if test "X${COLLECT_NAMES+set}" != Xset; then
13430   COLLECT_NAMES=
13431   export COLLECT_NAMES
13432 fi
13433 _LT_EOF
13434     ;;
13435   esac
13436 
13437 
13438 ltmain="$ac_aux_dir/ltmain.sh"
13439 
13440 
13441   # We use sed instead of cat because bash on DJGPP gets confused if
13442   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
13443   # text mode, it properly converts lines to CR/LF.  This bash problem
13444   # is reportedly fixed, but why not run on old versions too?
13445   sed '$q' "$ltmain" >> "$cfgfile" \
13446      || (rm -f "$cfgfile"; exit 1)
13447 
13448   if test x"$xsi_shell" = xyes; then
13449   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
13450 func_dirname ()\
13451 {\
13452 \    case ${1} in\
13453 \      */*) func_dirname_result="${1%/*}${2}" ;;\
13454 \      *  ) func_dirname_result="${3}" ;;\
13455 \    esac\
13456 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
13457   && mv -f "$cfgfile.tmp" "$cfgfile" \
13458     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13459 test 0 -eq $? || _lt_function_replace_fail=:
13460 
13461 
13462   sed -e '/^func_basename ()$/,/^} # func_basename /c\
13463 func_basename ()\
13464 {\
13465 \    func_basename_result="${1##*/}"\
13466 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
13467   && mv -f "$cfgfile.tmp" "$cfgfile" \
13468     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13469 test 0 -eq $? || _lt_function_replace_fail=:
13470 
13471 
13472   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
13473 func_dirname_and_basename ()\
13474 {\
13475 \    case ${1} in\
13476 \      */*) func_dirname_result="${1%/*}${2}" ;;\
13477 \      *  ) func_dirname_result="${3}" ;;\
13478 \    esac\
13479 \    func_basename_result="${1##*/}"\
13480 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
13481   && mv -f "$cfgfile.tmp" "$cfgfile" \
13482     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13483 test 0 -eq $? || _lt_function_replace_fail=:
13484 
13485 
13486   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
13487 func_stripname ()\
13488 {\
13489 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
13490 \    # positional parameters, so assign one to ordinary parameter first.\
13491 \    func_stripname_result=${3}\
13492 \    func_stripname_result=${func_stripname_result#"${1}"}\
13493 \    func_stripname_result=${func_stripname_result%"${2}"}\
13494 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
13495   && mv -f "$cfgfile.tmp" "$cfgfile" \
13496     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13497 test 0 -eq $? || _lt_function_replace_fail=:
13498 
13499 
13500   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
13501 func_split_long_opt ()\
13502 {\
13503 \    func_split_long_opt_name=${1%%=*}\
13504 \    func_split_long_opt_arg=${1#*=}\
13505 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
13506   && mv -f "$cfgfile.tmp" "$cfgfile" \
13507     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13508 test 0 -eq $? || _lt_function_replace_fail=:
13509 
13510 
13511   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
13512 func_split_short_opt ()\
13513 {\
13514 \    func_split_short_opt_arg=${1#??}\
13515 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
13516 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
13517   && mv -f "$cfgfile.tmp" "$cfgfile" \
13518     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13519 test 0 -eq $? || _lt_function_replace_fail=:
13520 
13521 
13522   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
13523 func_lo2o ()\
13524 {\
13525 \    case ${1} in\
13526 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
13527 \      *)    func_lo2o_result=${1} ;;\
13528 \    esac\
13529 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
13530   && mv -f "$cfgfile.tmp" "$cfgfile" \
13531     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13532 test 0 -eq $? || _lt_function_replace_fail=:
13533 
13534 
13535   sed -e '/^func_xform ()$/,/^} # func_xform /c\
13536 func_xform ()\
13537 {\
13538     func_xform_result=${1%.*}.lo\
13539 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
13540   && mv -f "$cfgfile.tmp" "$cfgfile" \
13541     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13542 test 0 -eq $? || _lt_function_replace_fail=:
13543 
13544 
13545   sed -e '/^func_arith ()$/,/^} # func_arith /c\
13546 func_arith ()\
13547 {\
13548     func_arith_result=$(( $* ))\
13549 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
13550   && mv -f "$cfgfile.tmp" "$cfgfile" \
13551     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13552 test 0 -eq $? || _lt_function_replace_fail=:
13553 
13554 
13555   sed -e '/^func_len ()$/,/^} # func_len /c\
13556 func_len ()\
13557 {\
13558     func_len_result=${#1}\
13559 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
13560   && mv -f "$cfgfile.tmp" "$cfgfile" \
13561     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13562 test 0 -eq $? || _lt_function_replace_fail=:
13563 
13564 fi
13565 
13566 if test x"$lt_shell_append" = xyes; then
13567   sed -e '/^func_append ()$/,/^} # func_append /c\
13568 func_append ()\
13569 {\
13570     eval "${1}+=\\${2}"\
13571 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
13572   && mv -f "$cfgfile.tmp" "$cfgfile" \
13573     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13574 test 0 -eq $? || _lt_function_replace_fail=:
13575 
13576 
13577   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
13578 func_append_quoted ()\
13579 {\
13580 \    func_quote_for_eval "${2}"\
13581 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
13582 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
13583   && mv -f "$cfgfile.tmp" "$cfgfile" \
13584     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13585 test 0 -eq $? || _lt_function_replace_fail=:
13586 
13587 
13588   # Save a `func_append' function call where possible by direct use of '+='
13589   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
13590     && mv -f "$cfgfile.tmp" "$cfgfile" \
13591       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13592   test 0 -eq $? || _lt_function_replace_fail=:
13593 else
13594   # Save a `func_append' function call even when '+=' is not available
13595   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
13596     && mv -f "$cfgfile.tmp" "$cfgfile" \
13597       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13598   test 0 -eq $? || _lt_function_replace_fail=:
13599 fi
13600 
13601 if test x"$_lt_function_replace_fail" = x":"; then
13602   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
13603 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
13604 fi
13605 
13606 
13607    mv -f "$cfgfile" "$ofile" ||
13608     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
13609   chmod +x "$ofile"
13610 
13611  ;;
13612 
13613   esac
13614 done # for ac_tag
13615 
13616 
13617 as_fn_exit 0
13618 _ACEOF
13619 ac_clean_files=$ac_clean_files_save
13620 
13621 test $ac_write_fail = 0 ||
13622   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
13623 
13624 
13625 # configure is writing to config.log, and then calls config.status.
13626 # config.status does its own redirection, appending to config.log.
13627 # Unfortunately, on DOS this fails, as config.log is still kept open
13628 # by configure, so config.status won't be able to write to it; its
13629 # output is simply discarded.  So we exec the FD to /dev/null,
13630 # effectively closing config.log, so it can be properly (re)opened and
13631 # appended to by config.status.  When coming back to configure, we
13632 # need to make the FD available again.
13633 if test "$no_create" != yes; then
13634   ac_cs_success=:
13635   ac_config_status_args=
13636   test "$silent" = yes &&
13637     ac_config_status_args="$ac_config_status_args --quiet"
13638   exec 5>/dev/null
13639   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
13640   exec 5>>config.log
13641   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13642   # would make configure fail if this is the last instruction.
13643   $ac_cs_success || as_fn_exit 1
13644 fi
13645 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
13646   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
13647 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
13648 fi
13649 
13650