xref: /netbsd-src/crypto/external/bsd/netpgp/dist/configure (revision 23e62cae6d414dfeb8356c8d9175fe38c60f08be)
1#! /bin/sh
2# From configure.ac Revision: 1.37 .
3# Guess values for system-dependent variables and create Makefiles.
4# Generated by GNU Autoconf 2.63 for netpgp 20101104.
5#
6# Report bugs to <Alistair Crooks <agc@netbsd.org> c0596823>.
7#
8# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
10# This configure script is free software; the Free Software Foundation
11# gives unlimited permission to copy, distribute and modify it.
12## --------------------- ##
13## M4sh Initialization.  ##
14## --------------------- ##
15
16# Be more Bourne compatible
17DUALCASE=1; export DUALCASE # for MKS sh
18if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19  emulate sh
20  NULLCMD=:
21  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22  # is contrary to our usage.  Disable this feature.
23  alias -g '${1+"$@"}'='"$@"'
24  setopt NO_GLOB_SUBST
25else
26  case `(set -o) 2>/dev/null` in
27  *posix*) set -o posix ;;
28esac
29
30fi
31
32
33
34
35# PATH needs CR
36# Avoid depending upon Character Ranges.
37as_cr_letters='abcdefghijklmnopqrstuvwxyz'
38as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39as_cr_Letters=$as_cr_letters$as_cr_LETTERS
40as_cr_digits='0123456789'
41as_cr_alnum=$as_cr_Letters$as_cr_digits
42
43as_nl='
44'
45export as_nl
46# Printing a long string crashes Solaris 7 /usr/bin/printf.
47as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
48as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
49as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
50if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51  as_echo='printf %s\n'
52  as_echo_n='printf %s'
53else
54  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
55    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
56    as_echo_n='/usr/ucb/echo -n'
57  else
58    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
59    as_echo_n_body='eval
60      arg=$1;
61      case $arg in
62      *"$as_nl"*)
63	expr "X$arg" : "X\\(.*\\)$as_nl";
64	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65      esac;
66      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67    '
68    export as_echo_n_body
69    as_echo_n='sh -c $as_echo_n_body as_echo'
70  fi
71  export as_echo_body
72  as_echo='sh -c $as_echo_body as_echo'
73fi
74
75# The user is always right.
76if test "${PATH_SEPARATOR+set}" != set; then
77  PATH_SEPARATOR=:
78  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
79    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
80      PATH_SEPARATOR=';'
81  }
82fi
83
84# Support unset when possible.
85if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
86  as_unset=unset
87else
88  as_unset=false
89fi
90
91
92# IFS
93# We need space, tab and new line, in precisely that order.  Quoting is
94# there to prevent editors from complaining about space-tab.
95# (If _AS_PATH_WALK were called with IFS unset, it would disable word
96# splitting by setting IFS to empty value.)
97IFS=" ""	$as_nl"
98
99# Find who we are.  Look in the path if we contain no directory separator.
100case $0 in
101  *[\\/]* ) as_myself=$0 ;;
102  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
103for as_dir in $PATH
104do
105  IFS=$as_save_IFS
106  test -z "$as_dir" && as_dir=.
107  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108done
109IFS=$as_save_IFS
110
111     ;;
112esac
113# We did not find ourselves, most probably we were run as `sh COMMAND'
114# in which case we are not to be found in the path.
115if test "x$as_myself" = x; then
116  as_myself=$0
117fi
118if test ! -f "$as_myself"; then
119  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
120  { (exit 1); exit 1; }
121fi
122
123# Work around bugs in pre-3.0 UWIN ksh.
124for as_var in ENV MAIL MAILPATH
125do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
126done
127PS1='$ '
128PS2='> '
129PS4='+ '
130
131# NLS nuisances.
132LC_ALL=C
133export LC_ALL
134LANGUAGE=C
135export LANGUAGE
136
137# Required to use basename.
138if expr a : '\(a\)' >/dev/null 2>&1 &&
139   test "X`expr 00001 : '.*\(...\)'`" = X001; then
140  as_expr=expr
141else
142  as_expr=false
143fi
144
145if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
146  as_basename=basename
147else
148  as_basename=false
149fi
150
151
152# Name of the executable.
153as_me=`$as_basename -- "$0" ||
154$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
155	 X"$0" : 'X\(//\)$' \| \
156	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
157$as_echo X/"$0" |
158    sed '/^.*\/\([^/][^/]*\)\/*$/{
159	    s//\1/
160	    q
161	  }
162	  /^X\/\(\/\/\)$/{
163	    s//\1/
164	    q
165	  }
166	  /^X\/\(\/\).*/{
167	    s//\1/
168	    q
169	  }
170	  s/.*/./; q'`
171
172# CDPATH.
173$as_unset CDPATH
174
175
176if test "x$CONFIG_SHELL" = x; then
177  if (eval ":") 2>/dev/null; then
178  as_have_required=yes
179else
180  as_have_required=no
181fi
182
183  if test $as_have_required = yes &&	 (eval ":
184(as_func_return () {
185  (exit \$1)
186}
187as_func_success () {
188  as_func_return 0
189}
190as_func_failure () {
191  as_func_return 1
192}
193as_func_ret_success () {
194  return 0
195}
196as_func_ret_failure () {
197  return 1
198}
199
200exitcode=0
201if as_func_success; then
202  :
203else
204  exitcode=1
205  echo as_func_success failed.
206fi
207
208if as_func_failure; then
209  exitcode=1
210  echo as_func_failure succeeded.
211fi
212
213if as_func_ret_success; then
214  :
215else
216  exitcode=1
217  echo as_func_ret_success failed.
218fi
219
220if as_func_ret_failure; then
221  exitcode=1
222  echo as_func_ret_failure succeeded.
223fi
224
225if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
226  :
227else
228  exitcode=1
229  echo positional parameters were not saved.
230fi
231
232test \$exitcode = 0) || { (exit 1); exit 1; }
233
234(
235  as_lineno_1=\$LINENO
236  as_lineno_2=\$LINENO
237  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
238  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
239") 2> /dev/null; then
240  :
241else
242  as_candidate_shells=
243    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
244for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
245do
246  IFS=$as_save_IFS
247  test -z "$as_dir" && as_dir=.
248  case $as_dir in
249	 /*)
250	   for as_base in sh bash ksh sh5; do
251	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
252	   done;;
253       esac
254done
255IFS=$as_save_IFS
256
257
258      for as_shell in $as_candidate_shells $SHELL; do
259	 # Try only shells that exist, to save several forks.
260	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
261		{ ("$as_shell") 2> /dev/null <<\_ASEOF
262if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
263  emulate sh
264  NULLCMD=:
265  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
266  # is contrary to our usage.  Disable this feature.
267  alias -g '${1+"$@"}'='"$@"'
268  setopt NO_GLOB_SUBST
269else
270  case `(set -o) 2>/dev/null` in
271  *posix*) set -o posix ;;
272esac
273
274fi
275
276
277:
278_ASEOF
279}; then
280  CONFIG_SHELL=$as_shell
281	       as_have_required=yes
282	       if { "$as_shell" 2> /dev/null <<\_ASEOF
283if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
284  emulate sh
285  NULLCMD=:
286  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
287  # is contrary to our usage.  Disable this feature.
288  alias -g '${1+"$@"}'='"$@"'
289  setopt NO_GLOB_SUBST
290else
291  case `(set -o) 2>/dev/null` in
292  *posix*) set -o posix ;;
293esac
294
295fi
296
297
298:
299(as_func_return () {
300  (exit $1)
301}
302as_func_success () {
303  as_func_return 0
304}
305as_func_failure () {
306  as_func_return 1
307}
308as_func_ret_success () {
309  return 0
310}
311as_func_ret_failure () {
312  return 1
313}
314
315exitcode=0
316if as_func_success; then
317  :
318else
319  exitcode=1
320  echo as_func_success failed.
321fi
322
323if as_func_failure; then
324  exitcode=1
325  echo as_func_failure succeeded.
326fi
327
328if as_func_ret_success; then
329  :
330else
331  exitcode=1
332  echo as_func_ret_success failed.
333fi
334
335if as_func_ret_failure; then
336  exitcode=1
337  echo as_func_ret_failure succeeded.
338fi
339
340if ( set x; as_func_ret_success y && test x = "$1" ); then
341  :
342else
343  exitcode=1
344  echo positional parameters were not saved.
345fi
346
347test $exitcode = 0) || { (exit 1); exit 1; }
348
349(
350  as_lineno_1=$LINENO
351  as_lineno_2=$LINENO
352  test "x$as_lineno_1" != "x$as_lineno_2" &&
353  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
354
355_ASEOF
356}; then
357  break
358fi
359
360fi
361
362      done
363
364      if test "x$CONFIG_SHELL" != x; then
365  for as_var in BASH_ENV ENV
366	do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
367	done
368	export CONFIG_SHELL
369	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
370fi
371
372
373    if test $as_have_required = no; then
374  echo This script requires a shell more modern than all the
375      echo shells that I found on your system.  Please install a
376      echo modern shell, or manually run the script under such a
377      echo shell if you do have one.
378      { (exit 1); exit 1; }
379fi
380
381
382fi
383
384fi
385
386
387
388(eval "as_func_return () {
389  (exit \$1)
390}
391as_func_success () {
392  as_func_return 0
393}
394as_func_failure () {
395  as_func_return 1
396}
397as_func_ret_success () {
398  return 0
399}
400as_func_ret_failure () {
401  return 1
402}
403
404exitcode=0
405if as_func_success; then
406  :
407else
408  exitcode=1
409  echo as_func_success failed.
410fi
411
412if as_func_failure; then
413  exitcode=1
414  echo as_func_failure succeeded.
415fi
416
417if as_func_ret_success; then
418  :
419else
420  exitcode=1
421  echo as_func_ret_success failed.
422fi
423
424if as_func_ret_failure; then
425  exitcode=1
426  echo as_func_ret_failure succeeded.
427fi
428
429if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
430  :
431else
432  exitcode=1
433  echo positional parameters were not saved.
434fi
435
436test \$exitcode = 0") || {
437  echo No shell found that supports shell functions.
438  echo Please tell bug-autoconf@gnu.org about your system,
439  echo including any error possibly output before this message.
440  echo This can help us improve future autoconf versions.
441  echo Configuration will now proceed without shell functions.
442}
443
444
445
446  as_lineno_1=$LINENO
447  as_lineno_2=$LINENO
448  test "x$as_lineno_1" != "x$as_lineno_2" &&
449  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
450
451  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
452  # uniformly replaced by the line number.  The first 'sed' inserts a
453  # line-number line after each line using $LINENO; the second 'sed'
454  # does the real work.  The second script uses 'N' to pair each
455  # line-number line with the line containing $LINENO, and appends
456  # trailing '-' during substitution so that $LINENO is not a special
457  # case at line end.
458  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
459  # scripts with optimization help from Paolo Bonzini.  Blame Lee
460  # E. McMahon (1931-1989) for sed's syntax.  :-)
461  sed -n '
462    p
463    /[$]LINENO/=
464  ' <$as_myself |
465    sed '
466      s/[$]LINENO.*/&-/
467      t lineno
468      b
469      :lineno
470      N
471      :loop
472      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
473      t loop
474      s/-\n.*//
475    ' >$as_me.lineno &&
476  chmod +x "$as_me.lineno" ||
477    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
478   { (exit 1); exit 1; }; }
479
480  # Don't try to exec as it changes $[0], causing all sort of problems
481  # (the dirname of $[0] is not the place where we might find the
482  # original and so on.  Autoconf is especially sensitive to this).
483  . "./$as_me.lineno"
484  # Exit status is that of the last command.
485  exit
486}
487
488
489if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
490  as_dirname=dirname
491else
492  as_dirname=false
493fi
494
495ECHO_C= ECHO_N= ECHO_T=
496case `echo -n x` in
497-n*)
498  case `echo 'x\c'` in
499  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
500  *)   ECHO_C='\c';;
501  esac;;
502*)
503  ECHO_N='-n';;
504esac
505if expr a : '\(a\)' >/dev/null 2>&1 &&
506   test "X`expr 00001 : '.*\(...\)'`" = X001; then
507  as_expr=expr
508else
509  as_expr=false
510fi
511
512rm -f conf$$ conf$$.exe conf$$.file
513if test -d conf$$.dir; then
514  rm -f conf$$.dir/conf$$.file
515else
516  rm -f conf$$.dir
517  mkdir conf$$.dir 2>/dev/null
518fi
519if (echo >conf$$.file) 2>/dev/null; then
520  if ln -s conf$$.file conf$$ 2>/dev/null; then
521    as_ln_s='ln -s'
522    # ... but there are two gotchas:
523    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
524    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
525    # In both cases, we have to default to `cp -p'.
526    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
527      as_ln_s='cp -p'
528  elif ln conf$$.file conf$$ 2>/dev/null; then
529    as_ln_s=ln
530  else
531    as_ln_s='cp -p'
532  fi
533else
534  as_ln_s='cp -p'
535fi
536rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
537rmdir conf$$.dir 2>/dev/null
538
539if mkdir -p . 2>/dev/null; then
540  as_mkdir_p=:
541else
542  test -d ./-p && rmdir ./-p
543  as_mkdir_p=false
544fi
545
546if test -x / >/dev/null 2>&1; then
547  as_test_x='test -x'
548else
549  if ls -dL / >/dev/null 2>&1; then
550    as_ls_L_option=L
551  else
552    as_ls_L_option=
553  fi
554  as_test_x='
555    eval sh -c '\''
556      if test -d "$1"; then
557	test -d "$1/.";
558      else
559	case $1 in
560	-*)set "./$1";;
561	esac;
562	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
563	???[sx]*):;;*)false;;esac;fi
564    '\'' sh
565  '
566fi
567as_executable_p=$as_test_x
568
569# Sed expression to map a string onto a valid CPP name.
570as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
571
572# Sed expression to map a string onto a valid variable name.
573as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
574
575
576
577
578# Check that we are running under the correct shell.
579SHELL=${CONFIG_SHELL-/bin/sh}
580
581case X$lt_ECHO in
582X*--fallback-echo)
583  # Remove one level of quotation (which was required for Make).
584  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
585  ;;
586esac
587
588ECHO=${lt_ECHO-echo}
589if test "X$1" = X--no-reexec; then
590  # Discard the --no-reexec flag, and continue.
591  shift
592elif test "X$1" = X--fallback-echo; then
593  # Avoid inline document here, it may be left over
594  :
595elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
596  # Yippee, $ECHO works!
597  :
598else
599  # Restart under the correct shell.
600  exec $SHELL "$0" --no-reexec ${1+"$@"}
601fi
602
603if test "X$1" = X--fallback-echo; then
604  # used as fallback echo
605  shift
606  cat <<_LT_EOF
607$*
608_LT_EOF
609  exit 0
610fi
611
612# The HP-UX ksh and POSIX shell print the target directory to stdout
613# if CDPATH is set.
614(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
615
616if test -z "$lt_ECHO"; then
617  if test "X${echo_test_string+set}" != Xset; then
618    # find a string as large as possible, as long as the shell can cope with it
619    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
620      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
621      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
622	 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
623      then
624        break
625      fi
626    done
627  fi
628
629  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
630     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
631     test "X$echo_testing_string" = "X$echo_test_string"; then
632    :
633  else
634    # The Solaris, AIX, and Digital Unix default echo programs unquote
635    # backslashes.  This makes it impossible to quote backslashes using
636    #   echo "$something" | sed 's/\\/\\\\/g'
637    #
638    # So, first we look for a working echo in the user's PATH.
639
640    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
641    for dir in $PATH /usr/ucb; do
642      IFS="$lt_save_ifs"
643      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
644         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
645         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
646         test "X$echo_testing_string" = "X$echo_test_string"; then
647        ECHO="$dir/echo"
648        break
649      fi
650    done
651    IFS="$lt_save_ifs"
652
653    if test "X$ECHO" = Xecho; then
654      # We didn't find a better echo, so look for alternatives.
655      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
656         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
657         test "X$echo_testing_string" = "X$echo_test_string"; then
658        # This shell has a builtin print -r that does the trick.
659        ECHO='print -r'
660      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
661	   test "X$CONFIG_SHELL" != X/bin/ksh; then
662        # If we have ksh, try running configure again with it.
663        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
664        export ORIGINAL_CONFIG_SHELL
665        CONFIG_SHELL=/bin/ksh
666        export CONFIG_SHELL
667        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
668      else
669        # Try using printf.
670        ECHO='printf %s\n'
671        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
672	   echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
673	   test "X$echo_testing_string" = "X$echo_test_string"; then
674	  # Cool, printf works
675	  :
676        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
677	     test "X$echo_testing_string" = 'X\t' &&
678	     echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
679	     test "X$echo_testing_string" = "X$echo_test_string"; then
680	  CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
681	  export CONFIG_SHELL
682	  SHELL="$CONFIG_SHELL"
683	  export SHELL
684	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
685        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
686	     test "X$echo_testing_string" = 'X\t' &&
687	     echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
688	     test "X$echo_testing_string" = "X$echo_test_string"; then
689	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
690        else
691	  # maybe with a smaller string...
692	  prev=:
693
694	  for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
695	    if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
696	    then
697	      break
698	    fi
699	    prev="$cmd"
700	  done
701
702	  if test "$prev" != 'sed 50q "$0"'; then
703	    echo_test_string=`eval $prev`
704	    export echo_test_string
705	    exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
706	  else
707	    # Oops.  We lost completely, so just stick with echo.
708	    ECHO=echo
709	  fi
710        fi
711      fi
712    fi
713  fi
714fi
715
716# Copy echo and quote the copy suitably for passing to libtool from
717# the Makefile, instead of quoting the original, which is used later.
718lt_ECHO=$ECHO
719if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
720   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
721fi
722
723
724
725
726exec 7<&0 </dev/null 6>&1
727
728# Name of the host.
729# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
730# so uname gets run too.
731ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
732
733#
734# Initializations.
735#
736ac_default_prefix=/usr/local
737ac_clean_files=
738ac_config_libobj_dir=.
739LIBOBJS=
740cross_compiling=no
741subdirs=
742MFLAGS=
743MAKEFLAGS=
744SHELL=${CONFIG_SHELL-/bin/sh}
745
746# Identity of this package.
747PACKAGE_NAME='netpgp'
748PACKAGE_TARNAME='netpgp'
749PACKAGE_VERSION='20101104'
750PACKAGE_STRING='netpgp 20101104'
751PACKAGE_BUGREPORT='Alistair Crooks <agc@netbsd.org> c0596823'
752
753ac_unique_file="src/netpgp/netpgp.c"
754# Factoring default headers for most tests.
755ac_includes_default="\
756#include <stdio.h>
757#ifdef HAVE_SYS_TYPES_H
758# include <sys/types.h>
759#endif
760#ifdef HAVE_SYS_STAT_H
761# include <sys/stat.h>
762#endif
763#ifdef STDC_HEADERS
764# include <stdlib.h>
765# include <stddef.h>
766#else
767# ifdef HAVE_STDLIB_H
768#  include <stdlib.h>
769# endif
770#endif
771#ifdef HAVE_STRING_H
772# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
773#  include <memory.h>
774# endif
775# include <string.h>
776#endif
777#ifdef HAVE_STRINGS_H
778# include <strings.h>
779#endif
780#ifdef HAVE_INTTYPES_H
781# include <inttypes.h>
782#endif
783#ifdef HAVE_STDINT_H
784# include <stdint.h>
785#endif
786#ifdef HAVE_UNISTD_H
787# include <unistd.h>
788#endif"
789
790ac_subst_vars='LTLIBOBJS
791LIBOBJS
792AUTOM4TE
793OPENSSL_LDFLAGS
794OPENSSL_LIBS
795OPENSSL_INCLUDES
796PKG_CONFIG
797WARNCFLAGS
798CPP
799OTOOL64
800OTOOL
801LIPO
802NMEDIT
803DSYMUTIL
804lt_ECHO
805RANLIB
806AR
807OBJDUMP
808LN_S
809NM
810ac_ct_DUMPBIN
811DUMPBIN
812LD
813FGREP
814EGREP
815GREP
816SED
817LIBTOOL
818am__fastdepCC_FALSE
819am__fastdepCC_TRUE
820CCDEPMODE
821AMDEPBACKSLASH
822AMDEP_FALSE
823AMDEP_TRUE
824am__quote
825am__include
826DEPDIR
827OBJEXT
828EXEEXT
829ac_ct_CC
830CPPFLAGS
831LDFLAGS
832CFLAGS
833CC
834CANONICAL_HOST
835host_os
836host_vendor
837host_cpu
838host
839build_os
840build_vendor
841build_cpu
842build
843MAINT
844MAINTAINER_MODE_FALSE
845MAINTAINER_MODE_TRUE
846am__untar
847am__tar
848AMTAR
849am__leading_dot
850SET_MAKE
851AWK
852mkdir_p
853MKDIR_P
854INSTALL_STRIP_PROGRAM
855STRIP
856install_sh
857MAKEINFO
858AUTOHEADER
859AUTOMAKE
860AUTOCONF
861ACLOCAL
862VERSION
863PACKAGE
864CYGPATH_W
865am__isrc
866INSTALL_DATA
867INSTALL_SCRIPT
868INSTALL_PROGRAM
869target_alias
870host_alias
871build_alias
872LIBS
873ECHO_T
874ECHO_N
875ECHO_C
876DEFS
877mandir
878localedir
879libdir
880psdir
881pdfdir
882dvidir
883htmldir
884infodir
885docdir
886oldincludedir
887includedir
888localstatedir
889sharedstatedir
890sysconfdir
891datadir
892datarootdir
893libexecdir
894sbindir
895bindir
896program_transform_name
897prefix
898exec_prefix
899PACKAGE_BUGREPORT
900PACKAGE_STRING
901PACKAGE_VERSION
902PACKAGE_TARNAME
903PACKAGE_NAME
904PATH_SEPARATOR
905SHELL'
906ac_subst_files=''
907ac_user_opts='
908enable_option_checking
909enable_maintainer_mode
910enable_dependency_tracking
911enable_shared
912enable_static
913with_pic
914enable_fast_install
915with_gnu_ld
916enable_libtool_lock
917with_openssl
918'
919      ac_precious_vars='build_alias
920host_alias
921target_alias
922CC
923CFLAGS
924LDFLAGS
925LIBS
926CPPFLAGS
927CPP'
928
929
930# Initialize some variables set by options.
931ac_init_help=
932ac_init_version=false
933ac_unrecognized_opts=
934ac_unrecognized_sep=
935# The variables have the same names as the options, with
936# dashes changed to underlines.
937cache_file=/dev/null
938exec_prefix=NONE
939no_create=
940no_recursion=
941prefix=NONE
942program_prefix=NONE
943program_suffix=NONE
944program_transform_name=s,x,x,
945silent=
946site=
947srcdir=
948verbose=
949x_includes=NONE
950x_libraries=NONE
951
952# Installation directory options.
953# These are left unexpanded so users can "make install exec_prefix=/foo"
954# and all the variables that are supposed to be based on exec_prefix
955# by default will actually change.
956# Use braces instead of parens because sh, perl, etc. also accept them.
957# (The list follows the same order as the GNU Coding Standards.)
958bindir='${exec_prefix}/bin'
959sbindir='${exec_prefix}/sbin'
960libexecdir='${exec_prefix}/libexec'
961datarootdir='${prefix}/share'
962datadir='${datarootdir}'
963sysconfdir='${prefix}/etc'
964sharedstatedir='${prefix}/com'
965localstatedir='${prefix}/var'
966includedir='${prefix}/include'
967oldincludedir='/usr/include'
968docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
969infodir='${datarootdir}/info'
970htmldir='${docdir}'
971dvidir='${docdir}'
972pdfdir='${docdir}'
973psdir='${docdir}'
974libdir='${exec_prefix}/lib'
975localedir='${datarootdir}/locale'
976mandir='${datarootdir}/man'
977
978ac_prev=
979ac_dashdash=
980for ac_option
981do
982  # If the previous option needs an argument, assign it.
983  if test -n "$ac_prev"; then
984    eval $ac_prev=\$ac_option
985    ac_prev=
986    continue
987  fi
988
989  case $ac_option in
990  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
991  *)	ac_optarg=yes ;;
992  esac
993
994  # Accept the important Cygnus configure options, so we can diagnose typos.
995
996  case $ac_dashdash$ac_option in
997  --)
998    ac_dashdash=yes ;;
999
1000  -bindir | --bindir | --bindi | --bind | --bin | --bi)
1001    ac_prev=bindir ;;
1002  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1003    bindir=$ac_optarg ;;
1004
1005  -build | --build | --buil | --bui | --bu)
1006    ac_prev=build_alias ;;
1007  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1008    build_alias=$ac_optarg ;;
1009
1010  -cache-file | --cache-file | --cache-fil | --cache-fi \
1011  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1012    ac_prev=cache_file ;;
1013  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1014  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1015    cache_file=$ac_optarg ;;
1016
1017  --config-cache | -C)
1018    cache_file=config.cache ;;
1019
1020  -datadir | --datadir | --datadi | --datad)
1021    ac_prev=datadir ;;
1022  -datadir=* | --datadir=* | --datadi=* | --datad=*)
1023    datadir=$ac_optarg ;;
1024
1025  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1026  | --dataroo | --dataro | --datar)
1027    ac_prev=datarootdir ;;
1028  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1029  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1030    datarootdir=$ac_optarg ;;
1031
1032  -disable-* | --disable-*)
1033    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1034    # Reject names that are not valid shell variable names.
1035    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1036      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1037   { (exit 1); exit 1; }; }
1038    ac_useropt_orig=$ac_useropt
1039    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1040    case $ac_user_opts in
1041      *"
1042"enable_$ac_useropt"
1043"*) ;;
1044      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1045	 ac_unrecognized_sep=', ';;
1046    esac
1047    eval enable_$ac_useropt=no ;;
1048
1049  -docdir | --docdir | --docdi | --doc | --do)
1050    ac_prev=docdir ;;
1051  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1052    docdir=$ac_optarg ;;
1053
1054  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1055    ac_prev=dvidir ;;
1056  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1057    dvidir=$ac_optarg ;;
1058
1059  -enable-* | --enable-*)
1060    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1061    # Reject names that are not valid shell variable names.
1062    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1063      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1064   { (exit 1); exit 1; }; }
1065    ac_useropt_orig=$ac_useropt
1066    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1067    case $ac_user_opts in
1068      *"
1069"enable_$ac_useropt"
1070"*) ;;
1071      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1072	 ac_unrecognized_sep=', ';;
1073    esac
1074    eval enable_$ac_useropt=\$ac_optarg ;;
1075
1076  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1077  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1078  | --exec | --exe | --ex)
1079    ac_prev=exec_prefix ;;
1080  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1081  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1082  | --exec=* | --exe=* | --ex=*)
1083    exec_prefix=$ac_optarg ;;
1084
1085  -gas | --gas | --ga | --g)
1086    # Obsolete; use --with-gas.
1087    with_gas=yes ;;
1088
1089  -help | --help | --hel | --he | -h)
1090    ac_init_help=long ;;
1091  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1092    ac_init_help=recursive ;;
1093  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1094    ac_init_help=short ;;
1095
1096  -host | --host | --hos | --ho)
1097    ac_prev=host_alias ;;
1098  -host=* | --host=* | --hos=* | --ho=*)
1099    host_alias=$ac_optarg ;;
1100
1101  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1102    ac_prev=htmldir ;;
1103  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1104  | --ht=*)
1105    htmldir=$ac_optarg ;;
1106
1107  -includedir | --includedir | --includedi | --included | --include \
1108  | --includ | --inclu | --incl | --inc)
1109    ac_prev=includedir ;;
1110  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1111  | --includ=* | --inclu=* | --incl=* | --inc=*)
1112    includedir=$ac_optarg ;;
1113
1114  -infodir | --infodir | --infodi | --infod | --info | --inf)
1115    ac_prev=infodir ;;
1116  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1117    infodir=$ac_optarg ;;
1118
1119  -libdir | --libdir | --libdi | --libd)
1120    ac_prev=libdir ;;
1121  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1122    libdir=$ac_optarg ;;
1123
1124  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1125  | --libexe | --libex | --libe)
1126    ac_prev=libexecdir ;;
1127  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1128  | --libexe=* | --libex=* | --libe=*)
1129    libexecdir=$ac_optarg ;;
1130
1131  -localedir | --localedir | --localedi | --localed | --locale)
1132    ac_prev=localedir ;;
1133  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1134    localedir=$ac_optarg ;;
1135
1136  -localstatedir | --localstatedir | --localstatedi | --localstated \
1137  | --localstate | --localstat | --localsta | --localst | --locals)
1138    ac_prev=localstatedir ;;
1139  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1140  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1141    localstatedir=$ac_optarg ;;
1142
1143  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1144    ac_prev=mandir ;;
1145  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1146    mandir=$ac_optarg ;;
1147
1148  -nfp | --nfp | --nf)
1149    # Obsolete; use --without-fp.
1150    with_fp=no ;;
1151
1152  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1153  | --no-cr | --no-c | -n)
1154    no_create=yes ;;
1155
1156  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1157  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1158    no_recursion=yes ;;
1159
1160  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1161  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1162  | --oldin | --oldi | --old | --ol | --o)
1163    ac_prev=oldincludedir ;;
1164  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1165  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1166  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1167    oldincludedir=$ac_optarg ;;
1168
1169  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1170    ac_prev=prefix ;;
1171  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1172    prefix=$ac_optarg ;;
1173
1174  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1175  | --program-pre | --program-pr | --program-p)
1176    ac_prev=program_prefix ;;
1177  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1178  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1179    program_prefix=$ac_optarg ;;
1180
1181  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1182  | --program-suf | --program-su | --program-s)
1183    ac_prev=program_suffix ;;
1184  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1185  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1186    program_suffix=$ac_optarg ;;
1187
1188  -program-transform-name | --program-transform-name \
1189  | --program-transform-nam | --program-transform-na \
1190  | --program-transform-n | --program-transform- \
1191  | --program-transform | --program-transfor \
1192  | --program-transfo | --program-transf \
1193  | --program-trans | --program-tran \
1194  | --progr-tra | --program-tr | --program-t)
1195    ac_prev=program_transform_name ;;
1196  -program-transform-name=* | --program-transform-name=* \
1197  | --program-transform-nam=* | --program-transform-na=* \
1198  | --program-transform-n=* | --program-transform-=* \
1199  | --program-transform=* | --program-transfor=* \
1200  | --program-transfo=* | --program-transf=* \
1201  | --program-trans=* | --program-tran=* \
1202  | --progr-tra=* | --program-tr=* | --program-t=*)
1203    program_transform_name=$ac_optarg ;;
1204
1205  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1206    ac_prev=pdfdir ;;
1207  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1208    pdfdir=$ac_optarg ;;
1209
1210  -psdir | --psdir | --psdi | --psd | --ps)
1211    ac_prev=psdir ;;
1212  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1213    psdir=$ac_optarg ;;
1214
1215  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1216  | -silent | --silent | --silen | --sile | --sil)
1217    silent=yes ;;
1218
1219  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1220    ac_prev=sbindir ;;
1221  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1222  | --sbi=* | --sb=*)
1223    sbindir=$ac_optarg ;;
1224
1225  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1226  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1227  | --sharedst | --shareds | --shared | --share | --shar \
1228  | --sha | --sh)
1229    ac_prev=sharedstatedir ;;
1230  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1231  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1232  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1233  | --sha=* | --sh=*)
1234    sharedstatedir=$ac_optarg ;;
1235
1236  -site | --site | --sit)
1237    ac_prev=site ;;
1238  -site=* | --site=* | --sit=*)
1239    site=$ac_optarg ;;
1240
1241  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1242    ac_prev=srcdir ;;
1243  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1244    srcdir=$ac_optarg ;;
1245
1246  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1247  | --syscon | --sysco | --sysc | --sys | --sy)
1248    ac_prev=sysconfdir ;;
1249  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1250  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1251    sysconfdir=$ac_optarg ;;
1252
1253  -target | --target | --targe | --targ | --tar | --ta | --t)
1254    ac_prev=target_alias ;;
1255  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1256    target_alias=$ac_optarg ;;
1257
1258  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1259    verbose=yes ;;
1260
1261  -version | --version | --versio | --versi | --vers | -V)
1262    ac_init_version=: ;;
1263
1264  -with-* | --with-*)
1265    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1266    # Reject names that are not valid shell variable names.
1267    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1268      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1269   { (exit 1); exit 1; }; }
1270    ac_useropt_orig=$ac_useropt
1271    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1272    case $ac_user_opts in
1273      *"
1274"with_$ac_useropt"
1275"*) ;;
1276      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1277	 ac_unrecognized_sep=', ';;
1278    esac
1279    eval with_$ac_useropt=\$ac_optarg ;;
1280
1281  -without-* | --without-*)
1282    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1283    # Reject names that are not valid shell variable names.
1284    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1285      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1286   { (exit 1); exit 1; }; }
1287    ac_useropt_orig=$ac_useropt
1288    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1289    case $ac_user_opts in
1290      *"
1291"with_$ac_useropt"
1292"*) ;;
1293      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1294	 ac_unrecognized_sep=', ';;
1295    esac
1296    eval with_$ac_useropt=no ;;
1297
1298  --x)
1299    # Obsolete; use --with-x.
1300    with_x=yes ;;
1301
1302  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1303  | --x-incl | --x-inc | --x-in | --x-i)
1304    ac_prev=x_includes ;;
1305  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1306  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1307    x_includes=$ac_optarg ;;
1308
1309  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1310  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1311    ac_prev=x_libraries ;;
1312  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1313  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1314    x_libraries=$ac_optarg ;;
1315
1316  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1317Try \`$0 --help' for more information." >&2
1318   { (exit 1); exit 1; }; }
1319    ;;
1320
1321  *=*)
1322    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1323    # Reject names that are not valid shell variable names.
1324    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1325      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1326   { (exit 1); exit 1; }; }
1327    eval $ac_envvar=\$ac_optarg
1328    export $ac_envvar ;;
1329
1330  *)
1331    # FIXME: should be removed in autoconf 3.0.
1332    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1333    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1334      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1335    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1336    ;;
1337
1338  esac
1339done
1340
1341if test -n "$ac_prev"; then
1342  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1343  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1344   { (exit 1); exit 1; }; }
1345fi
1346
1347if test -n "$ac_unrecognized_opts"; then
1348  case $enable_option_checking in
1349    no) ;;
1350    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1351   { (exit 1); exit 1; }; } ;;
1352    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1353  esac
1354fi
1355
1356# Check all directory arguments for consistency.
1357for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1358		datadir sysconfdir sharedstatedir localstatedir includedir \
1359		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1360		libdir localedir mandir
1361do
1362  eval ac_val=\$$ac_var
1363  # Remove trailing slashes.
1364  case $ac_val in
1365    */ )
1366      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1367      eval $ac_var=\$ac_val;;
1368  esac
1369  # Be sure to have absolute directory names.
1370  case $ac_val in
1371    [\\/$]* | ?:[\\/]* )  continue;;
1372    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1373  esac
1374  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1375   { (exit 1); exit 1; }; }
1376done
1377
1378# There might be people who depend on the old broken behavior: `$host'
1379# used to hold the argument of --host etc.
1380# FIXME: To remove some day.
1381build=$build_alias
1382host=$host_alias
1383target=$target_alias
1384
1385# FIXME: To remove some day.
1386if test "x$host_alias" != x; then
1387  if test "x$build_alias" = x; then
1388    cross_compiling=maybe
1389    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1390    If a cross compiler is detected then cross compile mode will be used." >&2
1391  elif test "x$build_alias" != "x$host_alias"; then
1392    cross_compiling=yes
1393  fi
1394fi
1395
1396ac_tool_prefix=
1397test -n "$host_alias" && ac_tool_prefix=$host_alias-
1398
1399test "$silent" = yes && exec 6>/dev/null
1400
1401
1402ac_pwd=`pwd` && test -n "$ac_pwd" &&
1403ac_ls_di=`ls -di .` &&
1404ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1405  { $as_echo "$as_me: error: working directory cannot be determined" >&2
1406   { (exit 1); exit 1; }; }
1407test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1408  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1409   { (exit 1); exit 1; }; }
1410
1411
1412# Find the source files, if location was not specified.
1413if test -z "$srcdir"; then
1414  ac_srcdir_defaulted=yes
1415  # Try the directory containing this script, then the parent directory.
1416  ac_confdir=`$as_dirname -- "$as_myself" ||
1417$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1418	 X"$as_myself" : 'X\(//\)[^/]' \| \
1419	 X"$as_myself" : 'X\(//\)$' \| \
1420	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1421$as_echo X"$as_myself" |
1422    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1423	    s//\1/
1424	    q
1425	  }
1426	  /^X\(\/\/\)[^/].*/{
1427	    s//\1/
1428	    q
1429	  }
1430	  /^X\(\/\/\)$/{
1431	    s//\1/
1432	    q
1433	  }
1434	  /^X\(\/\).*/{
1435	    s//\1/
1436	    q
1437	  }
1438	  s/.*/./; q'`
1439  srcdir=$ac_confdir
1440  if test ! -r "$srcdir/$ac_unique_file"; then
1441    srcdir=..
1442  fi
1443else
1444  ac_srcdir_defaulted=no
1445fi
1446if test ! -r "$srcdir/$ac_unique_file"; then
1447  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1448  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1449   { (exit 1); exit 1; }; }
1450fi
1451ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1452ac_abs_confdir=`(
1453	cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1454   { (exit 1); exit 1; }; }
1455	pwd)`
1456# When building in place, set srcdir=.
1457if test "$ac_abs_confdir" = "$ac_pwd"; then
1458  srcdir=.
1459fi
1460# Remove unnecessary trailing slashes from srcdir.
1461# Double slashes in file names in object file debugging info
1462# mess up M-x gdb in Emacs.
1463case $srcdir in
1464*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1465esac
1466for ac_var in $ac_precious_vars; do
1467  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1468  eval ac_env_${ac_var}_value=\$${ac_var}
1469  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1470  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1471done
1472
1473#
1474# Report the --help message.
1475#
1476if test "$ac_init_help" = "long"; then
1477  # Omit some internal or obsolete options to make the list less imposing.
1478  # This message is too long to be a string in the A/UX 3.1 sh.
1479  cat <<_ACEOF
1480\`configure' configures netpgp 20101104 to adapt to many kinds of systems.
1481
1482Usage: $0 [OPTION]... [VAR=VALUE]...
1483
1484To assign environment variables (e.g., CC, CFLAGS...), specify them as
1485VAR=VALUE.  See below for descriptions of some of the useful variables.
1486
1487Defaults for the options are specified in brackets.
1488
1489Configuration:
1490  -h, --help              display this help and exit
1491      --help=short        display options specific to this package
1492      --help=recursive    display the short help of all the included packages
1493  -V, --version           display version information and exit
1494  -q, --quiet, --silent   do not print \`checking...' messages
1495      --cache-file=FILE   cache test results in FILE [disabled]
1496  -C, --config-cache      alias for \`--cache-file=config.cache'
1497  -n, --no-create         do not create output files
1498      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1499
1500Installation directories:
1501  --prefix=PREFIX         install architecture-independent files in PREFIX
1502                          [$ac_default_prefix]
1503  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1504                          [PREFIX]
1505
1506By default, \`make install' will install all the files in
1507\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1508an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1509for instance \`--prefix=\$HOME'.
1510
1511For better control, use the options below.
1512
1513Fine tuning of the installation directories:
1514  --bindir=DIR            user executables [EPREFIX/bin]
1515  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1516  --libexecdir=DIR        program executables [EPREFIX/libexec]
1517  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1518  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1519  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1520  --libdir=DIR            object code libraries [EPREFIX/lib]
1521  --includedir=DIR        C header files [PREFIX/include]
1522  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1523  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1524  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1525  --infodir=DIR           info documentation [DATAROOTDIR/info]
1526  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1527  --mandir=DIR            man documentation [DATAROOTDIR/man]
1528  --docdir=DIR            documentation root [DATAROOTDIR/doc/netpgp]
1529  --htmldir=DIR           html documentation [DOCDIR]
1530  --dvidir=DIR            dvi documentation [DOCDIR]
1531  --pdfdir=DIR            pdf documentation [DOCDIR]
1532  --psdir=DIR             ps documentation [DOCDIR]
1533_ACEOF
1534
1535  cat <<\_ACEOF
1536
1537Program names:
1538  --program-prefix=PREFIX            prepend PREFIX to installed program names
1539  --program-suffix=SUFFIX            append SUFFIX to installed program names
1540  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1541
1542System types:
1543  --build=BUILD     configure for building on BUILD [guessed]
1544  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1545_ACEOF
1546fi
1547
1548if test -n "$ac_init_help"; then
1549  case $ac_init_help in
1550     short | recursive ) echo "Configuration of netpgp 20101104:";;
1551   esac
1552  cat <<\_ACEOF
1553
1554Optional Features:
1555  --disable-option-checking  ignore unrecognized --enable/--with options
1556  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1557  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1558  --enable-maintainer-mode  enable make rules and dependencies not useful
1559			  (and sometimes confusing) to the casual installer
1560  --disable-dependency-tracking  speeds up one-time build
1561  --enable-dependency-tracking   do not reject slow dependency extractors
1562  --enable-shared[=PKGS]  build shared libraries [default=yes]
1563  --enable-static[=PKGS]  build static libraries [default=yes]
1564  --enable-fast-install[=PKGS]
1565                          optimize for fast installation [default=yes]
1566  --disable-libtool-lock  avoid locking (might break parallel builds)
1567
1568Optional Packages:
1569  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1570  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1571  --with-pic              try to use only PIC/non-PIC objects [default=use
1572                          both]
1573  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1574  --with-openssl=DIR      root of the OpenSSL directory
1575
1576Some influential environment variables:
1577  CC          C compiler command
1578  CFLAGS      C compiler flags
1579  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1580              nonstandard directory <lib dir>
1581  LIBS        libraries to pass to the linker, e.g. -l<library>
1582  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1583              you have headers in a nonstandard directory <include dir>
1584  CPP         C preprocessor
1585
1586Use these variables to override the choices made by `configure' or to help
1587it to find libraries and programs with nonstandard names/locations.
1588
1589Report bugs to <Alistair Crooks <agc@netbsd.org> c0596823>.
1590_ACEOF
1591ac_status=$?
1592fi
1593
1594if test "$ac_init_help" = "recursive"; then
1595  # If there are subdirs, report their specific --help.
1596  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1597    test -d "$ac_dir" ||
1598      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1599      continue
1600    ac_builddir=.
1601
1602case "$ac_dir" in
1603.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1604*)
1605  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1606  # A ".." for each directory in $ac_dir_suffix.
1607  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1608  case $ac_top_builddir_sub in
1609  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1610  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1611  esac ;;
1612esac
1613ac_abs_top_builddir=$ac_pwd
1614ac_abs_builddir=$ac_pwd$ac_dir_suffix
1615# for backward compatibility:
1616ac_top_builddir=$ac_top_build_prefix
1617
1618case $srcdir in
1619  .)  # We are building in place.
1620    ac_srcdir=.
1621    ac_top_srcdir=$ac_top_builddir_sub
1622    ac_abs_top_srcdir=$ac_pwd ;;
1623  [\\/]* | ?:[\\/]* )  # Absolute name.
1624    ac_srcdir=$srcdir$ac_dir_suffix;
1625    ac_top_srcdir=$srcdir
1626    ac_abs_top_srcdir=$srcdir ;;
1627  *) # Relative name.
1628    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1629    ac_top_srcdir=$ac_top_build_prefix$srcdir
1630    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1631esac
1632ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1633
1634    cd "$ac_dir" || { ac_status=$?; continue; }
1635    # Check for guested configure.
1636    if test -f "$ac_srcdir/configure.gnu"; then
1637      echo &&
1638      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1639    elif test -f "$ac_srcdir/configure"; then
1640      echo &&
1641      $SHELL "$ac_srcdir/configure" --help=recursive
1642    else
1643      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1644    fi || ac_status=$?
1645    cd "$ac_pwd" || { ac_status=$?; break; }
1646  done
1647fi
1648
1649test -n "$ac_init_help" && exit $ac_status
1650if $ac_init_version; then
1651  cat <<\_ACEOF
1652netpgp configure 20101104
1653generated by GNU Autoconf 2.63
1654
1655Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
16562002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1657This configure script is free software; the Free Software Foundation
1658gives unlimited permission to copy, distribute and modify it.
1659_ACEOF
1660  exit
1661fi
1662cat >config.log <<_ACEOF
1663This file contains any messages produced by compilers while
1664running configure, to aid debugging if configure makes a mistake.
1665
1666It was created by netpgp $as_me 20101104, which was
1667generated by GNU Autoconf 2.63.  Invocation command line was
1668
1669  $ $0 $@
1670
1671_ACEOF
1672exec 5>>config.log
1673{
1674cat <<_ASUNAME
1675## --------- ##
1676## Platform. ##
1677## --------- ##
1678
1679hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1680uname -m = `(uname -m) 2>/dev/null || echo unknown`
1681uname -r = `(uname -r) 2>/dev/null || echo unknown`
1682uname -s = `(uname -s) 2>/dev/null || echo unknown`
1683uname -v = `(uname -v) 2>/dev/null || echo unknown`
1684
1685/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1686/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1687
1688/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1689/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1690/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1691/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1692/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1693/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1694/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1695
1696_ASUNAME
1697
1698as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1699for as_dir in $PATH
1700do
1701  IFS=$as_save_IFS
1702  test -z "$as_dir" && as_dir=.
1703  $as_echo "PATH: $as_dir"
1704done
1705IFS=$as_save_IFS
1706
1707} >&5
1708
1709cat >&5 <<_ACEOF
1710
1711
1712## ----------- ##
1713## Core tests. ##
1714## ----------- ##
1715
1716_ACEOF
1717
1718
1719# Keep a trace of the command line.
1720# Strip out --no-create and --no-recursion so they do not pile up.
1721# Strip out --silent because we don't want to record it for future runs.
1722# Also quote any args containing shell meta-characters.
1723# Make two passes to allow for proper duplicate-argument suppression.
1724ac_configure_args=
1725ac_configure_args0=
1726ac_configure_args1=
1727ac_must_keep_next=false
1728for ac_pass in 1 2
1729do
1730  for ac_arg
1731  do
1732    case $ac_arg in
1733    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1734    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1735    | -silent | --silent | --silen | --sile | --sil)
1736      continue ;;
1737    *\'*)
1738      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1739    esac
1740    case $ac_pass in
1741    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1742    2)
1743      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1744      if test $ac_must_keep_next = true; then
1745	ac_must_keep_next=false # Got value, back to normal.
1746      else
1747	case $ac_arg in
1748	  *=* | --config-cache | -C | -disable-* | --disable-* \
1749	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1750	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1751	  | -with-* | --with-* | -without-* | --without-* | --x)
1752	    case "$ac_configure_args0 " in
1753	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1754	    esac
1755	    ;;
1756	  -* ) ac_must_keep_next=true ;;
1757	esac
1758      fi
1759      ac_configure_args="$ac_configure_args '$ac_arg'"
1760      ;;
1761    esac
1762  done
1763done
1764$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1765$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1766
1767# When interrupted or exit'd, cleanup temporary files, and complete
1768# config.log.  We remove comments because anyway the quotes in there
1769# would cause problems or look ugly.
1770# WARNING: Use '\'' to represent an apostrophe within the trap.
1771# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1772trap 'exit_status=$?
1773  # Save into config.log some information that might help in debugging.
1774  {
1775    echo
1776
1777    cat <<\_ASBOX
1778## ---------------- ##
1779## Cache variables. ##
1780## ---------------- ##
1781_ASBOX
1782    echo
1783    # The following way of writing the cache mishandles newlines in values,
1784(
1785  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1786    eval ac_val=\$$ac_var
1787    case $ac_val in #(
1788    *${as_nl}*)
1789      case $ac_var in #(
1790      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1791$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1792      esac
1793      case $ac_var in #(
1794      _ | IFS | as_nl) ;; #(
1795      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1796      *) $as_unset $ac_var ;;
1797      esac ;;
1798    esac
1799  done
1800  (set) 2>&1 |
1801    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1802    *${as_nl}ac_space=\ *)
1803      sed -n \
1804	"s/'\''/'\''\\\\'\'''\''/g;
1805	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1806      ;; #(
1807    *)
1808      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1809      ;;
1810    esac |
1811    sort
1812)
1813    echo
1814
1815    cat <<\_ASBOX
1816## ----------------- ##
1817## Output variables. ##
1818## ----------------- ##
1819_ASBOX
1820    echo
1821    for ac_var in $ac_subst_vars
1822    do
1823      eval ac_val=\$$ac_var
1824      case $ac_val in
1825      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1826      esac
1827      $as_echo "$ac_var='\''$ac_val'\''"
1828    done | sort
1829    echo
1830
1831    if test -n "$ac_subst_files"; then
1832      cat <<\_ASBOX
1833## ------------------- ##
1834## File substitutions. ##
1835## ------------------- ##
1836_ASBOX
1837      echo
1838      for ac_var in $ac_subst_files
1839      do
1840	eval ac_val=\$$ac_var
1841	case $ac_val in
1842	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1843	esac
1844	$as_echo "$ac_var='\''$ac_val'\''"
1845      done | sort
1846      echo
1847    fi
1848
1849    if test -s confdefs.h; then
1850      cat <<\_ASBOX
1851## ----------- ##
1852## confdefs.h. ##
1853## ----------- ##
1854_ASBOX
1855      echo
1856      cat confdefs.h
1857      echo
1858    fi
1859    test "$ac_signal" != 0 &&
1860      $as_echo "$as_me: caught signal $ac_signal"
1861    $as_echo "$as_me: exit $exit_status"
1862  } >&5
1863  rm -f core *.core core.conftest.* &&
1864    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1865    exit $exit_status
1866' 0
1867for ac_signal in 1 2 13 15; do
1868  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1869done
1870ac_signal=0
1871
1872# confdefs.h avoids OS command line length limits that DEFS can exceed.
1873rm -f -r conftest* confdefs.h
1874
1875# Predefined preprocessor variables.
1876
1877cat >>confdefs.h <<_ACEOF
1878#define PACKAGE_NAME "$PACKAGE_NAME"
1879_ACEOF
1880
1881
1882cat >>confdefs.h <<_ACEOF
1883#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1884_ACEOF
1885
1886
1887cat >>confdefs.h <<_ACEOF
1888#define PACKAGE_VERSION "$PACKAGE_VERSION"
1889_ACEOF
1890
1891
1892cat >>confdefs.h <<_ACEOF
1893#define PACKAGE_STRING "$PACKAGE_STRING"
1894_ACEOF
1895
1896
1897cat >>confdefs.h <<_ACEOF
1898#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1899_ACEOF
1900
1901
1902# Let the site file select an alternate cache file if it wants to.
1903# Prefer an explicitly selected file to automatically selected ones.
1904ac_site_file1=NONE
1905ac_site_file2=NONE
1906if test -n "$CONFIG_SITE"; then
1907  ac_site_file1=$CONFIG_SITE
1908elif test "x$prefix" != xNONE; then
1909  ac_site_file1=$prefix/share/config.site
1910  ac_site_file2=$prefix/etc/config.site
1911else
1912  ac_site_file1=$ac_default_prefix/share/config.site
1913  ac_site_file2=$ac_default_prefix/etc/config.site
1914fi
1915for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1916do
1917  test "x$ac_site_file" = xNONE && continue
1918  if test -r "$ac_site_file"; then
1919    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1920$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1921    sed 's/^/| /' "$ac_site_file" >&5
1922    . "$ac_site_file"
1923  fi
1924done
1925
1926if test -r "$cache_file"; then
1927  # Some versions of bash will fail to source /dev/null (special
1928  # files actually), so we avoid doing that.
1929  if test -f "$cache_file"; then
1930    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1931$as_echo "$as_me: loading cache $cache_file" >&6;}
1932    case $cache_file in
1933      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1934      *)                      . "./$cache_file";;
1935    esac
1936  fi
1937else
1938  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1939$as_echo "$as_me: creating cache $cache_file" >&6;}
1940  >$cache_file
1941fi
1942
1943# Check that the precious variables saved in the cache have kept the same
1944# value.
1945ac_cache_corrupted=false
1946for ac_var in $ac_precious_vars; do
1947  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1948  eval ac_new_set=\$ac_env_${ac_var}_set
1949  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1950  eval ac_new_val=\$ac_env_${ac_var}_value
1951  case $ac_old_set,$ac_new_set in
1952    set,)
1953      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1954$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1955      ac_cache_corrupted=: ;;
1956    ,set)
1957      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1958$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1959      ac_cache_corrupted=: ;;
1960    ,);;
1961    *)
1962      if test "x$ac_old_val" != "x$ac_new_val"; then
1963	# differences in whitespace do not lead to failure.
1964	ac_old_val_w=`echo x $ac_old_val`
1965	ac_new_val_w=`echo x $ac_new_val`
1966	if test "$ac_old_val_w" != "$ac_new_val_w"; then
1967	  { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1968$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1969	  ac_cache_corrupted=:
1970	else
1971	  { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1972$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1973	  eval $ac_var=\$ac_old_val
1974	fi
1975	{ $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
1976$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1977	{ $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
1978$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1979      fi;;
1980  esac
1981  # Pass precious variables to config.status.
1982  if test "$ac_new_set" = set; then
1983    case $ac_new_val in
1984    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1985    *) ac_arg=$ac_var=$ac_new_val ;;
1986    esac
1987    case " $ac_configure_args " in
1988      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1989      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1990    esac
1991  fi
1992done
1993if $ac_cache_corrupted; then
1994  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1995$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1996  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1997$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1998  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1999$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2000   { (exit 1); exit 1; }; }
2001fi
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027ac_ext=c
2028ac_cpp='$CPP $CPPFLAGS'
2029ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2030ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2031ac_compiler_gnu=$ac_cv_c_compiler_gnu
2032
2033
2034
2035
2036
2037## --------------------- ##
2038## M4sh Initialization.  ##
2039## --------------------- ##
2040
2041# Be more Bourne compatible
2042DUALCASE=1; export DUALCASE # for MKS sh
2043if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2044  emulate sh
2045  NULLCMD=:
2046  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2047  # is contrary to our usage.  Disable this feature.
2048  alias -g '${1+"$@"}'='"$@"'
2049  setopt NO_GLOB_SUBST
2050else
2051  case `(set -o) 2>/dev/null` in
2052  *posix*) set -o posix ;;
2053esac
2054
2055fi
2056
2057
2058
2059
2060# PATH needs CR
2061# Avoid depending upon Character Ranges.
2062as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2063as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2064as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2065as_cr_digits='0123456789'
2066as_cr_alnum=$as_cr_Letters$as_cr_digits
2067
2068as_nl='
2069'
2070export as_nl
2071# Printing a long string crashes Solaris 7 /usr/bin/printf.
2072as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2073as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2074as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2075if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2076  as_echo='printf %s\n'
2077  as_echo_n='printf %s'
2078else
2079  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2080    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
2081    as_echo_n='/usr/ucb/echo -n'
2082  else
2083    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2084    as_echo_n_body='eval
2085      arg=$1;
2086      case $arg in
2087      *"$as_nl"*)
2088	expr "X$arg" : "X\\(.*\\)$as_nl";
2089	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2090      esac;
2091      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
2092    '
2093    export as_echo_n_body
2094    as_echo_n='sh -c $as_echo_n_body as_echo'
2095  fi
2096  export as_echo_body
2097  as_echo='sh -c $as_echo_body as_echo'
2098fi
2099
2100# The user is always right.
2101if test "${PATH_SEPARATOR+set}" != set; then
2102  PATH_SEPARATOR=:
2103  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2104    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2105      PATH_SEPARATOR=';'
2106  }
2107fi
2108
2109# Support unset when possible.
2110if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2111  as_unset=unset
2112else
2113  as_unset=false
2114fi
2115
2116
2117# IFS
2118# We need space, tab and new line, in precisely that order.  Quoting is
2119# there to prevent editors from complaining about space-tab.
2120# (If _AS_PATH_WALK were called with IFS unset, it would disable word
2121# splitting by setting IFS to empty value.)
2122IFS=" ""	$as_nl"
2123
2124# Find who we are.  Look in the path if we contain no directory separator.
2125case $0 in
2126  *[\\/]* ) as_myself=$0 ;;
2127  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2128for as_dir in $PATH
2129do
2130  IFS=$as_save_IFS
2131  test -z "$as_dir" && as_dir=.
2132  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2133done
2134IFS=$as_save_IFS
2135
2136     ;;
2137esac
2138# We did not find ourselves, most probably we were run as `sh COMMAND'
2139# in which case we are not to be found in the path.
2140if test "x$as_myself" = x; then
2141  as_myself=$0
2142fi
2143if test ! -f "$as_myself"; then
2144  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2145  { (exit 1); exit 1; }
2146fi
2147
2148# Work around bugs in pre-3.0 UWIN ksh.
2149for as_var in ENV MAIL MAILPATH
2150do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2151done
2152PS1='$ '
2153PS2='> '
2154PS4='+ '
2155
2156# NLS nuisances.
2157LC_ALL=C
2158export LC_ALL
2159LANGUAGE=C
2160export LANGUAGE
2161
2162# Required to use basename.
2163if expr a : '\(a\)' >/dev/null 2>&1 &&
2164   test "X`expr 00001 : '.*\(...\)'`" = X001; then
2165  as_expr=expr
2166else
2167  as_expr=false
2168fi
2169
2170if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2171  as_basename=basename
2172else
2173  as_basename=false
2174fi
2175
2176
2177# Name of the executable.
2178as_me=`$as_basename -- "$0" ||
2179$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2180	 X"$0" : 'X\(//\)$' \| \
2181	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2182$as_echo X/"$0" |
2183    sed '/^.*\/\([^/][^/]*\)\/*$/{
2184	    s//\1/
2185	    q
2186	  }
2187	  /^X\/\(\/\/\)$/{
2188	    s//\1/
2189	    q
2190	  }
2191	  /^X\/\(\/\).*/{
2192	    s//\1/
2193	    q
2194	  }
2195	  s/.*/./; q'`
2196
2197# CDPATH.
2198$as_unset CDPATH
2199
2200
2201
2202ac_aux_dir=
2203for ac_dir in buildaux "$srcdir"/buildaux; do
2204  if test -f "$ac_dir/install-sh"; then
2205    ac_aux_dir=$ac_dir
2206    ac_install_sh="$ac_aux_dir/install-sh -c"
2207    break
2208  elif test -f "$ac_dir/install.sh"; then
2209    ac_aux_dir=$ac_dir
2210    ac_install_sh="$ac_aux_dir/install.sh -c"
2211    break
2212  elif test -f "$ac_dir/shtool"; then
2213    ac_aux_dir=$ac_dir
2214    ac_install_sh="$ac_aux_dir/shtool install -c"
2215    break
2216  fi
2217done
2218if test -z "$ac_aux_dir"; then
2219  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in buildaux \"$srcdir\"/buildaux" >&5
2220$as_echo "$as_me: error: cannot find install-sh or install.sh in buildaux \"$srcdir\"/buildaux" >&2;}
2221   { (exit 1); exit 1; }; }
2222fi
2223
2224# These three variables are undocumented and unsupported,
2225# and are intended to be withdrawn in a future Autoconf release.
2226# They can cause serious problems if a builder's source tree is in a directory
2227# whose full name contains unusual characters.
2228ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2229ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2230ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2231
2232
2233ac_config_headers="$ac_config_headers src/lib/config.h"
2234
2235
2236am__api_version='1.10'
2237
2238# Find a good install program.  We prefer a C program (faster),
2239# so one script is as good as another.  But avoid the broken or
2240# incompatible versions:
2241# SysV /etc/install, /usr/sbin/install
2242# SunOS /usr/etc/install
2243# IRIX /sbin/install
2244# AIX /bin/install
2245# AmigaOS /C/install, which installs bootblocks on floppy discs
2246# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2247# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2248# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2249# OS/2's system install, which has a completely different semantic
2250# ./install, which can be erroneously created by make from ./install.sh.
2251# Reject install programs that cannot install multiple files.
2252{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2253$as_echo_n "checking for a BSD-compatible install... " >&6; }
2254if test -z "$INSTALL"; then
2255if test "${ac_cv_path_install+set}" = set; then
2256  $as_echo_n "(cached) " >&6
2257else
2258  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2259for as_dir in $PATH
2260do
2261  IFS=$as_save_IFS
2262  test -z "$as_dir" && as_dir=.
2263  # Account for people who put trailing slashes in PATH elements.
2264case $as_dir/ in
2265  ./ | .// | /cC/* | \
2266  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2267  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2268  /usr/ucb/* ) ;;
2269  *)
2270    # OSF1 and SCO ODT 3.0 have their own names for install.
2271    # Don't use installbsd from OSF since it installs stuff as root
2272    # by default.
2273    for ac_prog in ginstall scoinst install; do
2274      for ac_exec_ext in '' $ac_executable_extensions; do
2275	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2276	  if test $ac_prog = install &&
2277	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2278	    # AIX install.  It has an incompatible calling convention.
2279	    :
2280	  elif test $ac_prog = install &&
2281	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2282	    # program-specific install script used by HP pwplus--don't use.
2283	    :
2284	  else
2285	    rm -rf conftest.one conftest.two conftest.dir
2286	    echo one > conftest.one
2287	    echo two > conftest.two
2288	    mkdir conftest.dir
2289	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2290	      test -s conftest.one && test -s conftest.two &&
2291	      test -s conftest.dir/conftest.one &&
2292	      test -s conftest.dir/conftest.two
2293	    then
2294	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2295	      break 3
2296	    fi
2297	  fi
2298	fi
2299      done
2300    done
2301    ;;
2302esac
2303
2304done
2305IFS=$as_save_IFS
2306
2307rm -rf conftest.one conftest.two conftest.dir
2308
2309fi
2310  if test "${ac_cv_path_install+set}" = set; then
2311    INSTALL=$ac_cv_path_install
2312  else
2313    # As a last resort, use the slow shell script.  Don't cache a
2314    # value for INSTALL within a source directory, because that will
2315    # break other packages using the cache if that directory is
2316    # removed, or if the value is a relative name.
2317    INSTALL=$ac_install_sh
2318  fi
2319fi
2320{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
2321$as_echo "$INSTALL" >&6; }
2322
2323# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2324# It thinks the first close brace ends the variable substitution.
2325test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2326
2327test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2328
2329test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2330
2331{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2332$as_echo_n "checking whether build environment is sane... " >&6; }
2333# Just in case
2334sleep 1
2335echo timestamp > conftest.file
2336# Do `set' in a subshell so we don't clobber the current shell's
2337# arguments.  Must try -L first in case configure is actually a
2338# symlink; some systems play weird games with the mod time of symlinks
2339# (eg FreeBSD returns the mod time of the symlink's containing
2340# directory).
2341if (
2342   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2343   if test "$*" = "X"; then
2344      # -L didn't work.
2345      set X `ls -t $srcdir/configure conftest.file`
2346   fi
2347   rm -f conftest.file
2348   if test "$*" != "X $srcdir/configure conftest.file" \
2349      && test "$*" != "X conftest.file $srcdir/configure"; then
2350
2351      # If neither matched, then we have a broken ls.  This can happen
2352      # if, for instance, CONFIG_SHELL is bash and it inherits a
2353      # broken ls alias from the environment.  This has actually
2354      # happened.  Such a system could not be considered "sane".
2355      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2356alias in your environment" >&5
2357$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2358alias in your environment" >&2;}
2359   { (exit 1); exit 1; }; }
2360   fi
2361
2362   test "$2" = conftest.file
2363   )
2364then
2365   # Ok.
2366   :
2367else
2368   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2369Check your system clock" >&5
2370$as_echo "$as_me: error: newly created file is older than distributed files!
2371Check your system clock" >&2;}
2372   { (exit 1); exit 1; }; }
2373fi
2374{ $as_echo "$as_me:$LINENO: result: yes" >&5
2375$as_echo "yes" >&6; }
2376test "$program_prefix" != NONE &&
2377  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2378# Use a double $ so make ignores it.
2379test "$program_suffix" != NONE &&
2380  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2381# Double any \ or $.
2382# By default was `s,x,x', remove it if useless.
2383ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2384program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2385
2386# expand $ac_aux_dir to an absolute path
2387am_aux_dir=`cd $ac_aux_dir && pwd`
2388
2389test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2390# Use eval to expand $SHELL
2391if eval "$MISSING --run true"; then
2392  am_missing_run="$MISSING --run "
2393else
2394  am_missing_run=
2395  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2396$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2397fi
2398
2399{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2400$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2401if test -z "$MKDIR_P"; then
2402  if test "${ac_cv_path_mkdir+set}" = set; then
2403  $as_echo_n "(cached) " >&6
2404else
2405  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2406for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2407do
2408  IFS=$as_save_IFS
2409  test -z "$as_dir" && as_dir=.
2410  for ac_prog in mkdir gmkdir; do
2411	 for ac_exec_ext in '' $ac_executable_extensions; do
2412	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2413	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2414	     'mkdir (GNU coreutils) '* | \
2415	     'mkdir (coreutils) '* | \
2416	     'mkdir (fileutils) '4.1*)
2417	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2418	       break 3;;
2419	   esac
2420	 done
2421       done
2422done
2423IFS=$as_save_IFS
2424
2425fi
2426
2427  if test "${ac_cv_path_mkdir+set}" = set; then
2428    MKDIR_P="$ac_cv_path_mkdir -p"
2429  else
2430    # As a last resort, use the slow shell script.  Don't cache a
2431    # value for MKDIR_P within a source directory, because that will
2432    # break other packages using the cache if that directory is
2433    # removed, or if the value is a relative name.
2434    test -d ./--version && rmdir ./--version
2435    MKDIR_P="$ac_install_sh -d"
2436  fi
2437fi
2438{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2439$as_echo "$MKDIR_P" >&6; }
2440
2441mkdir_p="$MKDIR_P"
2442case $mkdir_p in
2443  [\\/$]* | ?:[\\/]*) ;;
2444  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2445esac
2446
2447for ac_prog in gawk mawk nawk awk
2448do
2449  # Extract the first word of "$ac_prog", so it can be a program name with args.
2450set dummy $ac_prog; ac_word=$2
2451{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2452$as_echo_n "checking for $ac_word... " >&6; }
2453if test "${ac_cv_prog_AWK+set}" = set; then
2454  $as_echo_n "(cached) " >&6
2455else
2456  if test -n "$AWK"; then
2457  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2458else
2459as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2460for as_dir in $PATH
2461do
2462  IFS=$as_save_IFS
2463  test -z "$as_dir" && as_dir=.
2464  for ac_exec_ext in '' $ac_executable_extensions; do
2465  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2466    ac_cv_prog_AWK="$ac_prog"
2467    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2468    break 2
2469  fi
2470done
2471done
2472IFS=$as_save_IFS
2473
2474fi
2475fi
2476AWK=$ac_cv_prog_AWK
2477if test -n "$AWK"; then
2478  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2479$as_echo "$AWK" >&6; }
2480else
2481  { $as_echo "$as_me:$LINENO: result: no" >&5
2482$as_echo "no" >&6; }
2483fi
2484
2485
2486  test -n "$AWK" && break
2487done
2488
2489{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2490$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2491set x ${MAKE-make}
2492ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2493if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2494  $as_echo_n "(cached) " >&6
2495else
2496  cat >conftest.make <<\_ACEOF
2497SHELL = /bin/sh
2498all:
2499	@echo '@@@%%%=$(MAKE)=@@@%%%'
2500_ACEOF
2501# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2502case `${MAKE-make} -f conftest.make 2>/dev/null` in
2503  *@@@%%%=?*=@@@%%%*)
2504    eval ac_cv_prog_make_${ac_make}_set=yes;;
2505  *)
2506    eval ac_cv_prog_make_${ac_make}_set=no;;
2507esac
2508rm -f conftest.make
2509fi
2510if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2511  { $as_echo "$as_me:$LINENO: result: yes" >&5
2512$as_echo "yes" >&6; }
2513  SET_MAKE=
2514else
2515  { $as_echo "$as_me:$LINENO: result: no" >&5
2516$as_echo "no" >&6; }
2517  SET_MAKE="MAKE=${MAKE-make}"
2518fi
2519
2520rm -rf .tst 2>/dev/null
2521mkdir .tst 2>/dev/null
2522if test -d .tst; then
2523  am__leading_dot=.
2524else
2525  am__leading_dot=_
2526fi
2527rmdir .tst 2>/dev/null
2528
2529if test "`cd $srcdir && pwd`" != "`pwd`"; then
2530  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2531  # is not polluted with repeated "-I."
2532  am__isrc=' -I$(srcdir)'
2533  # test to see if srcdir already configured
2534  if test -f $srcdir/config.status; then
2535    { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2536$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2537   { (exit 1); exit 1; }; }
2538  fi
2539fi
2540
2541# test whether we have cygpath
2542if test -z "$CYGPATH_W"; then
2543  if (cygpath --version) >/dev/null 2>/dev/null; then
2544    CYGPATH_W='cygpath -w'
2545  else
2546    CYGPATH_W=echo
2547  fi
2548fi
2549
2550
2551# Define the identity of the package.
2552 PACKAGE='netpgp'
2553 VERSION='20101104'
2554
2555
2556cat >>confdefs.h <<_ACEOF
2557#define PACKAGE "$PACKAGE"
2558_ACEOF
2559
2560
2561cat >>confdefs.h <<_ACEOF
2562#define VERSION "$VERSION"
2563_ACEOF
2564
2565# Some tools Automake needs.
2566
2567ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2568
2569
2570AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2571
2572
2573AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2574
2575
2576AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2577
2578
2579MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2580
2581install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2582
2583# Installed binaries are usually stripped using `strip' when the user
2584# run `make install-strip'.  However `strip' might not be the right
2585# tool to use in cross-compilation environments, therefore Automake
2586# will honor the `STRIP' environment variable to overrule this program.
2587if test "$cross_compiling" != no; then
2588  if test -n "$ac_tool_prefix"; then
2589  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2590set dummy ${ac_tool_prefix}strip; ac_word=$2
2591{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2592$as_echo_n "checking for $ac_word... " >&6; }
2593if test "${ac_cv_prog_STRIP+set}" = set; then
2594  $as_echo_n "(cached) " >&6
2595else
2596  if test -n "$STRIP"; then
2597  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2598else
2599as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2600for as_dir in $PATH
2601do
2602  IFS=$as_save_IFS
2603  test -z "$as_dir" && as_dir=.
2604  for ac_exec_ext in '' $ac_executable_extensions; do
2605  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2606    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2607    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2608    break 2
2609  fi
2610done
2611done
2612IFS=$as_save_IFS
2613
2614fi
2615fi
2616STRIP=$ac_cv_prog_STRIP
2617if test -n "$STRIP"; then
2618  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2619$as_echo "$STRIP" >&6; }
2620else
2621  { $as_echo "$as_me:$LINENO: result: no" >&5
2622$as_echo "no" >&6; }
2623fi
2624
2625
2626fi
2627if test -z "$ac_cv_prog_STRIP"; then
2628  ac_ct_STRIP=$STRIP
2629  # Extract the first word of "strip", so it can be a program name with args.
2630set dummy strip; ac_word=$2
2631{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2632$as_echo_n "checking for $ac_word... " >&6; }
2633if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2634  $as_echo_n "(cached) " >&6
2635else
2636  if test -n "$ac_ct_STRIP"; then
2637  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2638else
2639as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2640for as_dir in $PATH
2641do
2642  IFS=$as_save_IFS
2643  test -z "$as_dir" && as_dir=.
2644  for ac_exec_ext in '' $ac_executable_extensions; do
2645  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2646    ac_cv_prog_ac_ct_STRIP="strip"
2647    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2648    break 2
2649  fi
2650done
2651done
2652IFS=$as_save_IFS
2653
2654fi
2655fi
2656ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2657if test -n "$ac_ct_STRIP"; then
2658  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2659$as_echo "$ac_ct_STRIP" >&6; }
2660else
2661  { $as_echo "$as_me:$LINENO: result: no" >&5
2662$as_echo "no" >&6; }
2663fi
2664
2665  if test "x$ac_ct_STRIP" = x; then
2666    STRIP=":"
2667  else
2668    case $cross_compiling:$ac_tool_warned in
2669yes:)
2670{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2671$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2672ac_tool_warned=yes ;;
2673esac
2674    STRIP=$ac_ct_STRIP
2675  fi
2676else
2677  STRIP="$ac_cv_prog_STRIP"
2678fi
2679
2680fi
2681INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2682
2683# We need awk for the "check" target.  The system "awk" is bad on
2684# some platforms.
2685# Always define AMTAR for backward compatibility.
2686
2687AMTAR=${AMTAR-"${am_missing_run}tar"}
2688
2689am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2690
2691
2692
2693
2694
2695{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2696$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2697    # Check whether --enable-maintainer-mode was given.
2698if test "${enable_maintainer_mode+set}" = set; then
2699  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2700else
2701  USE_MAINTAINER_MODE=no
2702fi
2703
2704  { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2705$as_echo "$USE_MAINTAINER_MODE" >&6; }
2706   if test $USE_MAINTAINER_MODE = yes; then
2707  MAINTAINER_MODE_TRUE=
2708  MAINTAINER_MODE_FALSE='#'
2709else
2710  MAINTAINER_MODE_TRUE='#'
2711  MAINTAINER_MODE_FALSE=
2712fi
2713
2714  MAINT=$MAINTAINER_MODE_TRUE
2715
2716
2717
2718# Make sure we can run config.sub.
2719$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2720  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2721$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2722   { (exit 1); exit 1; }; }
2723
2724{ $as_echo "$as_me:$LINENO: checking build system type" >&5
2725$as_echo_n "checking build system type... " >&6; }
2726if test "${ac_cv_build+set}" = set; then
2727  $as_echo_n "(cached) " >&6
2728else
2729  ac_build_alias=$build_alias
2730test "x$ac_build_alias" = x &&
2731  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2732test "x$ac_build_alias" = x &&
2733  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2734$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2735   { (exit 1); exit 1; }; }
2736ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2737  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2738$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2739   { (exit 1); exit 1; }; }
2740
2741fi
2742{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2743$as_echo "$ac_cv_build" >&6; }
2744case $ac_cv_build in
2745*-*-*) ;;
2746*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2747$as_echo "$as_me: error: invalid value of canonical build" >&2;}
2748   { (exit 1); exit 1; }; };;
2749esac
2750build=$ac_cv_build
2751ac_save_IFS=$IFS; IFS='-'
2752set x $ac_cv_build
2753shift
2754build_cpu=$1
2755build_vendor=$2
2756shift; shift
2757# Remember, the first character of IFS is used to create $*,
2758# except with old shells:
2759build_os=$*
2760IFS=$ac_save_IFS
2761case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2762
2763
2764{ $as_echo "$as_me:$LINENO: checking host system type" >&5
2765$as_echo_n "checking host system type... " >&6; }
2766if test "${ac_cv_host+set}" = set; then
2767  $as_echo_n "(cached) " >&6
2768else
2769  if test "x$host_alias" = x; then
2770  ac_cv_host=$ac_cv_build
2771else
2772  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2773    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2774$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2775   { (exit 1); exit 1; }; }
2776fi
2777
2778fi
2779{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2780$as_echo "$ac_cv_host" >&6; }
2781case $ac_cv_host in
2782*-*-*) ;;
2783*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2784$as_echo "$as_me: error: invalid value of canonical host" >&2;}
2785   { (exit 1); exit 1; }; };;
2786esac
2787host=$ac_cv_host
2788ac_save_IFS=$IFS; IFS='-'
2789set x $ac_cv_host
2790shift
2791host_cpu=$1
2792host_vendor=$2
2793shift; shift
2794# Remember, the first character of IFS is used to create $*,
2795# except with old shells:
2796host_os=$*
2797IFS=$ac_save_IFS
2798case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2799
2800
2801CANONICAL_HOST=$host
2802
2803
2804# Checks for programs.
2805#
2806{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2807$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2808set x ${MAKE-make}
2809ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2810if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2811  $as_echo_n "(cached) " >&6
2812else
2813  cat >conftest.make <<\_ACEOF
2814SHELL = /bin/sh
2815all:
2816	@echo '@@@%%%=$(MAKE)=@@@%%%'
2817_ACEOF
2818# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2819case `${MAKE-make} -f conftest.make 2>/dev/null` in
2820  *@@@%%%=?*=@@@%%%*)
2821    eval ac_cv_prog_make_${ac_make}_set=yes;;
2822  *)
2823    eval ac_cv_prog_make_${ac_make}_set=no;;
2824esac
2825rm -f conftest.make
2826fi
2827if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2828  { $as_echo "$as_me:$LINENO: result: yes" >&5
2829$as_echo "yes" >&6; }
2830  SET_MAKE=
2831else
2832  { $as_echo "$as_me:$LINENO: result: no" >&5
2833$as_echo "no" >&6; }
2834  SET_MAKE="MAKE=${MAKE-make}"
2835fi
2836
2837for ac_prog in gawk mawk nawk awk
2838do
2839  # Extract the first word of "$ac_prog", so it can be a program name with args.
2840set dummy $ac_prog; ac_word=$2
2841{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2842$as_echo_n "checking for $ac_word... " >&6; }
2843if test "${ac_cv_prog_AWK+set}" = set; then
2844  $as_echo_n "(cached) " >&6
2845else
2846  if test -n "$AWK"; then
2847  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2848else
2849as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2850for as_dir in $PATH
2851do
2852  IFS=$as_save_IFS
2853  test -z "$as_dir" && as_dir=.
2854  for ac_exec_ext in '' $ac_executable_extensions; do
2855  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2856    ac_cv_prog_AWK="$ac_prog"
2857    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2858    break 2
2859  fi
2860done
2861done
2862IFS=$as_save_IFS
2863
2864fi
2865fi
2866AWK=$ac_cv_prog_AWK
2867if test -n "$AWK"; then
2868  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2869$as_echo "$AWK" >&6; }
2870else
2871  { $as_echo "$as_me:$LINENO: result: no" >&5
2872$as_echo "no" >&6; }
2873fi
2874
2875
2876  test -n "$AWK" && break
2877done
2878
2879ac_ext=c
2880ac_cpp='$CPP $CPPFLAGS'
2881ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2882ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2883ac_compiler_gnu=$ac_cv_c_compiler_gnu
2884if test -n "$ac_tool_prefix"; then
2885  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2886set dummy ${ac_tool_prefix}gcc; ac_word=$2
2887{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2888$as_echo_n "checking for $ac_word... " >&6; }
2889if test "${ac_cv_prog_CC+set}" = set; then
2890  $as_echo_n "(cached) " >&6
2891else
2892  if test -n "$CC"; then
2893  ac_cv_prog_CC="$CC" # Let the user override the test.
2894else
2895as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2896for as_dir in $PATH
2897do
2898  IFS=$as_save_IFS
2899  test -z "$as_dir" && as_dir=.
2900  for ac_exec_ext in '' $ac_executable_extensions; do
2901  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2902    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2903    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2904    break 2
2905  fi
2906done
2907done
2908IFS=$as_save_IFS
2909
2910fi
2911fi
2912CC=$ac_cv_prog_CC
2913if test -n "$CC"; then
2914  { $as_echo "$as_me:$LINENO: result: $CC" >&5
2915$as_echo "$CC" >&6; }
2916else
2917  { $as_echo "$as_me:$LINENO: result: no" >&5
2918$as_echo "no" >&6; }
2919fi
2920
2921
2922fi
2923if test -z "$ac_cv_prog_CC"; then
2924  ac_ct_CC=$CC
2925  # Extract the first word of "gcc", so it can be a program name with args.
2926set dummy gcc; ac_word=$2
2927{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2928$as_echo_n "checking for $ac_word... " >&6; }
2929if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2930  $as_echo_n "(cached) " >&6
2931else
2932  if test -n "$ac_ct_CC"; then
2933  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2934else
2935as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2936for as_dir in $PATH
2937do
2938  IFS=$as_save_IFS
2939  test -z "$as_dir" && as_dir=.
2940  for ac_exec_ext in '' $ac_executable_extensions; do
2941  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2942    ac_cv_prog_ac_ct_CC="gcc"
2943    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2944    break 2
2945  fi
2946done
2947done
2948IFS=$as_save_IFS
2949
2950fi
2951fi
2952ac_ct_CC=$ac_cv_prog_ac_ct_CC
2953if test -n "$ac_ct_CC"; then
2954  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2955$as_echo "$ac_ct_CC" >&6; }
2956else
2957  { $as_echo "$as_me:$LINENO: result: no" >&5
2958$as_echo "no" >&6; }
2959fi
2960
2961  if test "x$ac_ct_CC" = x; then
2962    CC=""
2963  else
2964    case $cross_compiling:$ac_tool_warned in
2965yes:)
2966{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2967$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2968ac_tool_warned=yes ;;
2969esac
2970    CC=$ac_ct_CC
2971  fi
2972else
2973  CC="$ac_cv_prog_CC"
2974fi
2975
2976if test -z "$CC"; then
2977          if test -n "$ac_tool_prefix"; then
2978    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2979set dummy ${ac_tool_prefix}cc; ac_word=$2
2980{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2981$as_echo_n "checking for $ac_word... " >&6; }
2982if test "${ac_cv_prog_CC+set}" = set; then
2983  $as_echo_n "(cached) " >&6
2984else
2985  if test -n "$CC"; then
2986  ac_cv_prog_CC="$CC" # Let the user override the test.
2987else
2988as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2989for as_dir in $PATH
2990do
2991  IFS=$as_save_IFS
2992  test -z "$as_dir" && as_dir=.
2993  for ac_exec_ext in '' $ac_executable_extensions; do
2994  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2995    ac_cv_prog_CC="${ac_tool_prefix}cc"
2996    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2997    break 2
2998  fi
2999done
3000done
3001IFS=$as_save_IFS
3002
3003fi
3004fi
3005CC=$ac_cv_prog_CC
3006if test -n "$CC"; then
3007  { $as_echo "$as_me:$LINENO: result: $CC" >&5
3008$as_echo "$CC" >&6; }
3009else
3010  { $as_echo "$as_me:$LINENO: result: no" >&5
3011$as_echo "no" >&6; }
3012fi
3013
3014
3015  fi
3016fi
3017if test -z "$CC"; then
3018  # Extract the first word of "cc", so it can be a program name with args.
3019set dummy cc; ac_word=$2
3020{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3021$as_echo_n "checking for $ac_word... " >&6; }
3022if test "${ac_cv_prog_CC+set}" = set; then
3023  $as_echo_n "(cached) " >&6
3024else
3025  if test -n "$CC"; then
3026  ac_cv_prog_CC="$CC" # Let the user override the test.
3027else
3028  ac_prog_rejected=no
3029as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3030for as_dir in $PATH
3031do
3032  IFS=$as_save_IFS
3033  test -z "$as_dir" && as_dir=.
3034  for ac_exec_ext in '' $ac_executable_extensions; do
3035  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3036    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3037       ac_prog_rejected=yes
3038       continue
3039     fi
3040    ac_cv_prog_CC="cc"
3041    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3042    break 2
3043  fi
3044done
3045done
3046IFS=$as_save_IFS
3047
3048if test $ac_prog_rejected = yes; then
3049  # We found a bogon in the path, so make sure we never use it.
3050  set dummy $ac_cv_prog_CC
3051  shift
3052  if test $# != 0; then
3053    # We chose a different compiler from the bogus one.
3054    # However, it has the same basename, so the bogon will be chosen
3055    # first if we set CC to just the basename; use the full file name.
3056    shift
3057    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3058  fi
3059fi
3060fi
3061fi
3062CC=$ac_cv_prog_CC
3063if test -n "$CC"; then
3064  { $as_echo "$as_me:$LINENO: result: $CC" >&5
3065$as_echo "$CC" >&6; }
3066else
3067  { $as_echo "$as_me:$LINENO: result: no" >&5
3068$as_echo "no" >&6; }
3069fi
3070
3071
3072fi
3073if test -z "$CC"; then
3074  if test -n "$ac_tool_prefix"; then
3075  for ac_prog in cl.exe
3076  do
3077    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3078set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3079{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3080$as_echo_n "checking for $ac_word... " >&6; }
3081if test "${ac_cv_prog_CC+set}" = set; then
3082  $as_echo_n "(cached) " >&6
3083else
3084  if test -n "$CC"; then
3085  ac_cv_prog_CC="$CC" # Let the user override the test.
3086else
3087as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3088for as_dir in $PATH
3089do
3090  IFS=$as_save_IFS
3091  test -z "$as_dir" && as_dir=.
3092  for ac_exec_ext in '' $ac_executable_extensions; do
3093  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3094    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3095    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3096    break 2
3097  fi
3098done
3099done
3100IFS=$as_save_IFS
3101
3102fi
3103fi
3104CC=$ac_cv_prog_CC
3105if test -n "$CC"; then
3106  { $as_echo "$as_me:$LINENO: result: $CC" >&5
3107$as_echo "$CC" >&6; }
3108else
3109  { $as_echo "$as_me:$LINENO: result: no" >&5
3110$as_echo "no" >&6; }
3111fi
3112
3113
3114    test -n "$CC" && break
3115  done
3116fi
3117if test -z "$CC"; then
3118  ac_ct_CC=$CC
3119  for ac_prog in cl.exe
3120do
3121  # Extract the first word of "$ac_prog", so it can be a program name with args.
3122set dummy $ac_prog; ac_word=$2
3123{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3124$as_echo_n "checking for $ac_word... " >&6; }
3125if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3126  $as_echo_n "(cached) " >&6
3127else
3128  if test -n "$ac_ct_CC"; then
3129  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3130else
3131as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3132for as_dir in $PATH
3133do
3134  IFS=$as_save_IFS
3135  test -z "$as_dir" && as_dir=.
3136  for ac_exec_ext in '' $ac_executable_extensions; do
3137  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3138    ac_cv_prog_ac_ct_CC="$ac_prog"
3139    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3140    break 2
3141  fi
3142done
3143done
3144IFS=$as_save_IFS
3145
3146fi
3147fi
3148ac_ct_CC=$ac_cv_prog_ac_ct_CC
3149if test -n "$ac_ct_CC"; then
3150  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3151$as_echo "$ac_ct_CC" >&6; }
3152else
3153  { $as_echo "$as_me:$LINENO: result: no" >&5
3154$as_echo "no" >&6; }
3155fi
3156
3157
3158  test -n "$ac_ct_CC" && break
3159done
3160
3161  if test "x$ac_ct_CC" = x; then
3162    CC=""
3163  else
3164    case $cross_compiling:$ac_tool_warned in
3165yes:)
3166{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3167$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3168ac_tool_warned=yes ;;
3169esac
3170    CC=$ac_ct_CC
3171  fi
3172fi
3173
3174fi
3175
3176
3177test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3178$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3179{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3180See \`config.log' for more details." >&5
3181$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3182See \`config.log' for more details." >&2;}
3183   { (exit 1); exit 1; }; }; }
3184
3185# Provide some information about the compiler.
3186$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3187set X $ac_compile
3188ac_compiler=$2
3189{ (ac_try="$ac_compiler --version >&5"
3190case "(($ac_try" in
3191  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3192  *) ac_try_echo=$ac_try;;
3193esac
3194eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3195$as_echo "$ac_try_echo") >&5
3196  (eval "$ac_compiler --version >&5") 2>&5
3197  ac_status=$?
3198  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3199  (exit $ac_status); }
3200{ (ac_try="$ac_compiler -v >&5"
3201case "(($ac_try" in
3202  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3203  *) ac_try_echo=$ac_try;;
3204esac
3205eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3206$as_echo "$ac_try_echo") >&5
3207  (eval "$ac_compiler -v >&5") 2>&5
3208  ac_status=$?
3209  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3210  (exit $ac_status); }
3211{ (ac_try="$ac_compiler -V >&5"
3212case "(($ac_try" in
3213  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3214  *) ac_try_echo=$ac_try;;
3215esac
3216eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3217$as_echo "$ac_try_echo") >&5
3218  (eval "$ac_compiler -V >&5") 2>&5
3219  ac_status=$?
3220  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3221  (exit $ac_status); }
3222
3223cat >conftest.$ac_ext <<_ACEOF
3224/* confdefs.h.  */
3225_ACEOF
3226cat confdefs.h >>conftest.$ac_ext
3227cat >>conftest.$ac_ext <<_ACEOF
3228/* end confdefs.h.  */
3229
3230int
3231main ()
3232{
3233
3234  ;
3235  return 0;
3236}
3237_ACEOF
3238ac_clean_files_save=$ac_clean_files
3239ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3240# Try to create an executable without -o first, disregard a.out.
3241# It will help us diagnose broken compilers, and finding out an intuition
3242# of exeext.
3243{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3244$as_echo_n "checking for C compiler default output file name... " >&6; }
3245ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3246
3247# The possible output files:
3248ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3249
3250ac_rmfiles=
3251for ac_file in $ac_files
3252do
3253  case $ac_file in
3254    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3255    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3256  esac
3257done
3258rm -f $ac_rmfiles
3259
3260if { (ac_try="$ac_link_default"
3261case "(($ac_try" in
3262  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3263  *) ac_try_echo=$ac_try;;
3264esac
3265eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3266$as_echo "$ac_try_echo") >&5
3267  (eval "$ac_link_default") 2>&5
3268  ac_status=$?
3269  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3270  (exit $ac_status); }; then
3271  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3272# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3273# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3274# so that the user can short-circuit this test for compilers unknown to
3275# Autoconf.
3276for ac_file in $ac_files ''
3277do
3278  test -f "$ac_file" || continue
3279  case $ac_file in
3280    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3281	;;
3282    [ab].out )
3283	# We found the default executable, but exeext='' is most
3284	# certainly right.
3285	break;;
3286    *.* )
3287        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3288	then :; else
3289	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3290	fi
3291	# We set ac_cv_exeext here because the later test for it is not
3292	# safe: cross compilers may not add the suffix if given an `-o'
3293	# argument, so we may need to know it at that point already.
3294	# Even if this section looks crufty: it has the advantage of
3295	# actually working.
3296	break;;
3297    * )
3298	break;;
3299  esac
3300done
3301test "$ac_cv_exeext" = no && ac_cv_exeext=
3302
3303else
3304  ac_file=''
3305fi
3306
3307{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
3308$as_echo "$ac_file" >&6; }
3309if test -z "$ac_file"; then
3310  $as_echo "$as_me: failed program was:" >&5
3311sed 's/^/| /' conftest.$ac_ext >&5
3312
3313{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3314$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3315{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3316See \`config.log' for more details." >&5
3317$as_echo "$as_me: error: C compiler cannot create executables
3318See \`config.log' for more details." >&2;}
3319   { (exit 77); exit 77; }; }; }
3320fi
3321
3322ac_exeext=$ac_cv_exeext
3323
3324# Check that the compiler produces executables we can run.  If not, either
3325# the compiler is broken, or we cross compile.
3326{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3327$as_echo_n "checking whether the C compiler works... " >&6; }
3328# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3329# If not cross compiling, check that we can run a simple program.
3330if test "$cross_compiling" != yes; then
3331  if { ac_try='./$ac_file'
3332  { (case "(($ac_try" in
3333  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3334  *) ac_try_echo=$ac_try;;
3335esac
3336eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3337$as_echo "$ac_try_echo") >&5
3338  (eval "$ac_try") 2>&5
3339  ac_status=$?
3340  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3341  (exit $ac_status); }; }; then
3342    cross_compiling=no
3343  else
3344    if test "$cross_compiling" = maybe; then
3345	cross_compiling=yes
3346    else
3347	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3348$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3349{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3350If you meant to cross compile, use \`--host'.
3351See \`config.log' for more details." >&5
3352$as_echo "$as_me: error: cannot run C compiled programs.
3353If you meant to cross compile, use \`--host'.
3354See \`config.log' for more details." >&2;}
3355   { (exit 1); exit 1; }; }; }
3356    fi
3357  fi
3358fi
3359{ $as_echo "$as_me:$LINENO: result: yes" >&5
3360$as_echo "yes" >&6; }
3361
3362rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3363ac_clean_files=$ac_clean_files_save
3364# Check that the compiler produces executables we can run.  If not, either
3365# the compiler is broken, or we cross compile.
3366{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3367$as_echo_n "checking whether we are cross compiling... " >&6; }
3368{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3369$as_echo "$cross_compiling" >&6; }
3370
3371{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3372$as_echo_n "checking for suffix of executables... " >&6; }
3373if { (ac_try="$ac_link"
3374case "(($ac_try" in
3375  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3376  *) ac_try_echo=$ac_try;;
3377esac
3378eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3379$as_echo "$ac_try_echo") >&5
3380  (eval "$ac_link") 2>&5
3381  ac_status=$?
3382  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3383  (exit $ac_status); }; then
3384  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3385# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3386# work properly (i.e., refer to `conftest.exe'), while it won't with
3387# `rm'.
3388for ac_file in conftest.exe conftest conftest.*; do
3389  test -f "$ac_file" || continue
3390  case $ac_file in
3391    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3392    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3393	  break;;
3394    * ) break;;
3395  esac
3396done
3397else
3398  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3399$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3400{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3401See \`config.log' for more details." >&5
3402$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3403See \`config.log' for more details." >&2;}
3404   { (exit 1); exit 1; }; }; }
3405fi
3406
3407rm -f conftest$ac_cv_exeext
3408{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3409$as_echo "$ac_cv_exeext" >&6; }
3410
3411rm -f conftest.$ac_ext
3412EXEEXT=$ac_cv_exeext
3413ac_exeext=$EXEEXT
3414{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3415$as_echo_n "checking for suffix of object files... " >&6; }
3416if test "${ac_cv_objext+set}" = set; then
3417  $as_echo_n "(cached) " >&6
3418else
3419  cat >conftest.$ac_ext <<_ACEOF
3420/* confdefs.h.  */
3421_ACEOF
3422cat confdefs.h >>conftest.$ac_ext
3423cat >>conftest.$ac_ext <<_ACEOF
3424/* end confdefs.h.  */
3425
3426int
3427main ()
3428{
3429
3430  ;
3431  return 0;
3432}
3433_ACEOF
3434rm -f conftest.o conftest.obj
3435if { (ac_try="$ac_compile"
3436case "(($ac_try" in
3437  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3438  *) ac_try_echo=$ac_try;;
3439esac
3440eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3441$as_echo "$ac_try_echo") >&5
3442  (eval "$ac_compile") 2>&5
3443  ac_status=$?
3444  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3445  (exit $ac_status); }; then
3446  for ac_file in conftest.o conftest.obj conftest.*; do
3447  test -f "$ac_file" || continue;
3448  case $ac_file in
3449    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3450    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3451       break;;
3452  esac
3453done
3454else
3455  $as_echo "$as_me: failed program was:" >&5
3456sed 's/^/| /' conftest.$ac_ext >&5
3457
3458{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3459$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3460{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3461See \`config.log' for more details." >&5
3462$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3463See \`config.log' for more details." >&2;}
3464   { (exit 1); exit 1; }; }; }
3465fi
3466
3467rm -f conftest.$ac_cv_objext conftest.$ac_ext
3468fi
3469{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3470$as_echo "$ac_cv_objext" >&6; }
3471OBJEXT=$ac_cv_objext
3472ac_objext=$OBJEXT
3473{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3474$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3475if test "${ac_cv_c_compiler_gnu+set}" = set; then
3476  $as_echo_n "(cached) " >&6
3477else
3478  cat >conftest.$ac_ext <<_ACEOF
3479/* confdefs.h.  */
3480_ACEOF
3481cat confdefs.h >>conftest.$ac_ext
3482cat >>conftest.$ac_ext <<_ACEOF
3483/* end confdefs.h.  */
3484
3485int
3486main ()
3487{
3488#ifndef __GNUC__
3489       choke me
3490#endif
3491
3492  ;
3493  return 0;
3494}
3495_ACEOF
3496rm -f conftest.$ac_objext
3497if { (ac_try="$ac_compile"
3498case "(($ac_try" in
3499  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3500  *) ac_try_echo=$ac_try;;
3501esac
3502eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3503$as_echo "$ac_try_echo") >&5
3504  (eval "$ac_compile") 2>conftest.er1
3505  ac_status=$?
3506  grep -v '^ *+' conftest.er1 >conftest.err
3507  rm -f conftest.er1
3508  cat conftest.err >&5
3509  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3510  (exit $ac_status); } && {
3511	 test -z "$ac_c_werror_flag" ||
3512	 test ! -s conftest.err
3513       } && test -s conftest.$ac_objext; then
3514  ac_compiler_gnu=yes
3515else
3516  $as_echo "$as_me: failed program was:" >&5
3517sed 's/^/| /' conftest.$ac_ext >&5
3518
3519	ac_compiler_gnu=no
3520fi
3521
3522rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3523ac_cv_c_compiler_gnu=$ac_compiler_gnu
3524
3525fi
3526{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3527$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3528if test $ac_compiler_gnu = yes; then
3529  GCC=yes
3530else
3531  GCC=
3532fi
3533ac_test_CFLAGS=${CFLAGS+set}
3534ac_save_CFLAGS=$CFLAGS
3535{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3536$as_echo_n "checking whether $CC accepts -g... " >&6; }
3537if test "${ac_cv_prog_cc_g+set}" = set; then
3538  $as_echo_n "(cached) " >&6
3539else
3540  ac_save_c_werror_flag=$ac_c_werror_flag
3541   ac_c_werror_flag=yes
3542   ac_cv_prog_cc_g=no
3543   CFLAGS="-g"
3544   cat >conftest.$ac_ext <<_ACEOF
3545/* confdefs.h.  */
3546_ACEOF
3547cat confdefs.h >>conftest.$ac_ext
3548cat >>conftest.$ac_ext <<_ACEOF
3549/* end confdefs.h.  */
3550
3551int
3552main ()
3553{
3554
3555  ;
3556  return 0;
3557}
3558_ACEOF
3559rm -f conftest.$ac_objext
3560if { (ac_try="$ac_compile"
3561case "(($ac_try" in
3562  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3563  *) ac_try_echo=$ac_try;;
3564esac
3565eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3566$as_echo "$ac_try_echo") >&5
3567  (eval "$ac_compile") 2>conftest.er1
3568  ac_status=$?
3569  grep -v '^ *+' conftest.er1 >conftest.err
3570  rm -f conftest.er1
3571  cat conftest.err >&5
3572  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3573  (exit $ac_status); } && {
3574	 test -z "$ac_c_werror_flag" ||
3575	 test ! -s conftest.err
3576       } && test -s conftest.$ac_objext; then
3577  ac_cv_prog_cc_g=yes
3578else
3579  $as_echo "$as_me: failed program was:" >&5
3580sed 's/^/| /' conftest.$ac_ext >&5
3581
3582	CFLAGS=""
3583      cat >conftest.$ac_ext <<_ACEOF
3584/* confdefs.h.  */
3585_ACEOF
3586cat confdefs.h >>conftest.$ac_ext
3587cat >>conftest.$ac_ext <<_ACEOF
3588/* end confdefs.h.  */
3589
3590int
3591main ()
3592{
3593
3594  ;
3595  return 0;
3596}
3597_ACEOF
3598rm -f conftest.$ac_objext
3599if { (ac_try="$ac_compile"
3600case "(($ac_try" in
3601  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3602  *) ac_try_echo=$ac_try;;
3603esac
3604eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3605$as_echo "$ac_try_echo") >&5
3606  (eval "$ac_compile") 2>conftest.er1
3607  ac_status=$?
3608  grep -v '^ *+' conftest.er1 >conftest.err
3609  rm -f conftest.er1
3610  cat conftest.err >&5
3611  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3612  (exit $ac_status); } && {
3613	 test -z "$ac_c_werror_flag" ||
3614	 test ! -s conftest.err
3615       } && test -s conftest.$ac_objext; then
3616  :
3617else
3618  $as_echo "$as_me: failed program was:" >&5
3619sed 's/^/| /' conftest.$ac_ext >&5
3620
3621	ac_c_werror_flag=$ac_save_c_werror_flag
3622	 CFLAGS="-g"
3623	 cat >conftest.$ac_ext <<_ACEOF
3624/* confdefs.h.  */
3625_ACEOF
3626cat confdefs.h >>conftest.$ac_ext
3627cat >>conftest.$ac_ext <<_ACEOF
3628/* end confdefs.h.  */
3629
3630int
3631main ()
3632{
3633
3634  ;
3635  return 0;
3636}
3637_ACEOF
3638rm -f conftest.$ac_objext
3639if { (ac_try="$ac_compile"
3640case "(($ac_try" in
3641  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3642  *) ac_try_echo=$ac_try;;
3643esac
3644eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3645$as_echo "$ac_try_echo") >&5
3646  (eval "$ac_compile") 2>conftest.er1
3647  ac_status=$?
3648  grep -v '^ *+' conftest.er1 >conftest.err
3649  rm -f conftest.er1
3650  cat conftest.err >&5
3651  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3652  (exit $ac_status); } && {
3653	 test -z "$ac_c_werror_flag" ||
3654	 test ! -s conftest.err
3655       } && test -s conftest.$ac_objext; then
3656  ac_cv_prog_cc_g=yes
3657else
3658  $as_echo "$as_me: failed program was:" >&5
3659sed 's/^/| /' conftest.$ac_ext >&5
3660
3661
3662fi
3663
3664rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3665fi
3666
3667rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3668fi
3669
3670rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3671   ac_c_werror_flag=$ac_save_c_werror_flag
3672fi
3673{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3674$as_echo "$ac_cv_prog_cc_g" >&6; }
3675if test "$ac_test_CFLAGS" = set; then
3676  CFLAGS=$ac_save_CFLAGS
3677elif test $ac_cv_prog_cc_g = yes; then
3678  if test "$GCC" = yes; then
3679    CFLAGS="-g -O2"
3680  else
3681    CFLAGS="-g"
3682  fi
3683else
3684  if test "$GCC" = yes; then
3685    CFLAGS="-O2"
3686  else
3687    CFLAGS=
3688  fi
3689fi
3690{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3691$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3692if test "${ac_cv_prog_cc_c89+set}" = set; then
3693  $as_echo_n "(cached) " >&6
3694else
3695  ac_cv_prog_cc_c89=no
3696ac_save_CC=$CC
3697cat >conftest.$ac_ext <<_ACEOF
3698/* confdefs.h.  */
3699_ACEOF
3700cat confdefs.h >>conftest.$ac_ext
3701cat >>conftest.$ac_ext <<_ACEOF
3702/* end confdefs.h.  */
3703#include <stdarg.h>
3704#include <stdio.h>
3705#include <sys/types.h>
3706#include <sys/stat.h>
3707/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3708struct buf { int x; };
3709FILE * (*rcsopen) (struct buf *, struct stat *, int);
3710static char *e (p, i)
3711     char **p;
3712     int i;
3713{
3714  return p[i];
3715}
3716static char *f (char * (*g) (char **, int), char **p, ...)
3717{
3718  char *s;
3719  va_list v;
3720  va_start (v,p);
3721  s = g (p, va_arg (v,int));
3722  va_end (v);
3723  return s;
3724}
3725
3726/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3727   function prototypes and stuff, but not '\xHH' hex character constants.
3728   These don't provoke an error unfortunately, instead are silently treated
3729   as 'x'.  The following induces an error, until -std is added to get
3730   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3731   array size at least.  It's necessary to write '\x00'==0 to get something
3732   that's true only with -std.  */
3733int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3734
3735/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3736   inside strings and character constants.  */
3737#define FOO(x) 'x'
3738int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3739
3740int test (int i, double x);
3741struct s1 {int (*f) (int a);};
3742struct s2 {int (*f) (double a);};
3743int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3744int argc;
3745char **argv;
3746int
3747main ()
3748{
3749return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3750  ;
3751  return 0;
3752}
3753_ACEOF
3754for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3755	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3756do
3757  CC="$ac_save_CC $ac_arg"
3758  rm -f conftest.$ac_objext
3759if { (ac_try="$ac_compile"
3760case "(($ac_try" in
3761  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3762  *) ac_try_echo=$ac_try;;
3763esac
3764eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3765$as_echo "$ac_try_echo") >&5
3766  (eval "$ac_compile") 2>conftest.er1
3767  ac_status=$?
3768  grep -v '^ *+' conftest.er1 >conftest.err
3769  rm -f conftest.er1
3770  cat conftest.err >&5
3771  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3772  (exit $ac_status); } && {
3773	 test -z "$ac_c_werror_flag" ||
3774	 test ! -s conftest.err
3775       } && test -s conftest.$ac_objext; then
3776  ac_cv_prog_cc_c89=$ac_arg
3777else
3778  $as_echo "$as_me: failed program was:" >&5
3779sed 's/^/| /' conftest.$ac_ext >&5
3780
3781
3782fi
3783
3784rm -f core conftest.err conftest.$ac_objext
3785  test "x$ac_cv_prog_cc_c89" != "xno" && break
3786done
3787rm -f conftest.$ac_ext
3788CC=$ac_save_CC
3789
3790fi
3791# AC_CACHE_VAL
3792case "x$ac_cv_prog_cc_c89" in
3793  x)
3794    { $as_echo "$as_me:$LINENO: result: none needed" >&5
3795$as_echo "none needed" >&6; } ;;
3796  xno)
3797    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3798$as_echo "unsupported" >&6; } ;;
3799  *)
3800    CC="$CC $ac_cv_prog_cc_c89"
3801    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3802$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3803esac
3804
3805
3806ac_ext=c
3807ac_cpp='$CPP $CPPFLAGS'
3808ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3809ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3810ac_compiler_gnu=$ac_cv_c_compiler_gnu
3811DEPDIR="${am__leading_dot}deps"
3812
3813ac_config_commands="$ac_config_commands depfiles"
3814
3815
3816am_make=${MAKE-make}
3817cat > confinc << 'END'
3818am__doit:
3819	@echo done
3820.PHONY: am__doit
3821END
3822# If we don't find an include directive, just comment out the code.
3823{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3824$as_echo_n "checking for style of include used by $am_make... " >&6; }
3825am__include="#"
3826am__quote=
3827_am_result=none
3828# First try GNU make style include.
3829echo "include confinc" > confmf
3830# We grep out `Entering directory' and `Leaving directory'
3831# messages which can occur if `w' ends up in MAKEFLAGS.
3832# In particular we don't look at `^make:' because GNU make might
3833# be invoked under some other name (usually "gmake"), in which
3834# case it prints its new name instead of `make'.
3835if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3836   am__include=include
3837   am__quote=
3838   _am_result=GNU
3839fi
3840# Now try BSD make style include.
3841if test "$am__include" = "#"; then
3842   echo '.include "confinc"' > confmf
3843   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3844      am__include=.include
3845      am__quote="\""
3846      _am_result=BSD
3847   fi
3848fi
3849
3850
3851{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
3852$as_echo "$_am_result" >&6; }
3853rm -f confinc confmf
3854
3855# Check whether --enable-dependency-tracking was given.
3856if test "${enable_dependency_tracking+set}" = set; then
3857  enableval=$enable_dependency_tracking;
3858fi
3859
3860if test "x$enable_dependency_tracking" != xno; then
3861  am_depcomp="$ac_aux_dir/depcomp"
3862  AMDEPBACKSLASH='\'
3863fi
3864 if test "x$enable_dependency_tracking" != xno; then
3865  AMDEP_TRUE=
3866  AMDEP_FALSE='#'
3867else
3868  AMDEP_TRUE='#'
3869  AMDEP_FALSE=
3870fi
3871
3872
3873
3874depcc="$CC"   am_compiler_list=
3875
3876{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3877$as_echo_n "checking dependency style of $depcc... " >&6; }
3878if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3879  $as_echo_n "(cached) " >&6
3880else
3881  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3882  # We make a subdir and do the tests there.  Otherwise we can end up
3883  # making bogus files that we don't know about and never remove.  For
3884  # instance it was reported that on HP-UX the gcc test will end up
3885  # making a dummy file named `D' -- because `-MD' means `put the output
3886  # in D'.
3887  mkdir conftest.dir
3888  # Copy depcomp to subdir because otherwise we won't find it if we're
3889  # using a relative directory.
3890  cp "$am_depcomp" conftest.dir
3891  cd conftest.dir
3892  # We will build objects and dependencies in a subdirectory because
3893  # it helps to detect inapplicable dependency modes.  For instance
3894  # both Tru64's cc and ICC support -MD to output dependencies as a
3895  # side effect of compilation, but ICC will put the dependencies in
3896  # the current directory while Tru64 will put them in the object
3897  # directory.
3898  mkdir sub
3899
3900  am_cv_CC_dependencies_compiler_type=none
3901  if test "$am_compiler_list" = ""; then
3902     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3903  fi
3904  for depmode in $am_compiler_list; do
3905    # Setup a source with many dependencies, because some compilers
3906    # like to wrap large dependency lists on column 80 (with \), and
3907    # we should not choose a depcomp mode which is confused by this.
3908    #
3909    # We need to recreate these files for each test, as the compiler may
3910    # overwrite some of them when testing with obscure command lines.
3911    # This happens at least with the AIX C compiler.
3912    : > sub/conftest.c
3913    for i in 1 2 3 4 5 6; do
3914      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3915      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3916      # Solaris 8's {/usr,}/bin/sh.
3917      touch sub/conftst$i.h
3918    done
3919    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3920
3921    case $depmode in
3922    nosideeffect)
3923      # after this tag, mechanisms are not by side-effect, so they'll
3924      # only be used when explicitly requested
3925      if test "x$enable_dependency_tracking" = xyes; then
3926	continue
3927      else
3928	break
3929      fi
3930      ;;
3931    none) break ;;
3932    esac
3933    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3934    # mode.  It turns out that the SunPro C++ compiler does not properly
3935    # handle `-M -o', and we need to detect this.
3936    if depmode=$depmode \
3937       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3938       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3939       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3940         >/dev/null 2>conftest.err &&
3941       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3942       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3943       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3944       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3945      # icc doesn't choke on unknown options, it will just issue warnings
3946      # or remarks (even with -Werror).  So we grep stderr for any message
3947      # that says an option was ignored or not supported.
3948      # When given -MP, icc 7.0 and 7.1 complain thusly:
3949      #   icc: Command line warning: ignoring option '-M'; no argument required
3950      # The diagnosis changed in icc 8.0:
3951      #   icc: Command line remark: option '-MP' not supported
3952      if (grep 'ignoring option' conftest.err ||
3953          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3954        am_cv_CC_dependencies_compiler_type=$depmode
3955        break
3956      fi
3957    fi
3958  done
3959
3960  cd ..
3961  rm -rf conftest.dir
3962else
3963  am_cv_CC_dependencies_compiler_type=none
3964fi
3965
3966fi
3967{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3968$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3969CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3970
3971 if
3972  test "x$enable_dependency_tracking" != xno \
3973  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3974  am__fastdepCC_TRUE=
3975  am__fastdepCC_FALSE='#'
3976else
3977  am__fastdepCC_TRUE='#'
3978  am__fastdepCC_FALSE=
3979fi
3980
3981
3982# Find a good install program.  We prefer a C program (faster),
3983# so one script is as good as another.  But avoid the broken or
3984# incompatible versions:
3985# SysV /etc/install, /usr/sbin/install
3986# SunOS /usr/etc/install
3987# IRIX /sbin/install
3988# AIX /bin/install
3989# AmigaOS /C/install, which installs bootblocks on floppy discs
3990# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3991# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3992# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3993# OS/2's system install, which has a completely different semantic
3994# ./install, which can be erroneously created by make from ./install.sh.
3995# Reject install programs that cannot install multiple files.
3996{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3997$as_echo_n "checking for a BSD-compatible install... " >&6; }
3998if test -z "$INSTALL"; then
3999if test "${ac_cv_path_install+set}" = set; then
4000  $as_echo_n "(cached) " >&6
4001else
4002  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4003for as_dir in $PATH
4004do
4005  IFS=$as_save_IFS
4006  test -z "$as_dir" && as_dir=.
4007  # Account for people who put trailing slashes in PATH elements.
4008case $as_dir/ in
4009  ./ | .// | /cC/* | \
4010  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4011  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
4012  /usr/ucb/* ) ;;
4013  *)
4014    # OSF1 and SCO ODT 3.0 have their own names for install.
4015    # Don't use installbsd from OSF since it installs stuff as root
4016    # by default.
4017    for ac_prog in ginstall scoinst install; do
4018      for ac_exec_ext in '' $ac_executable_extensions; do
4019	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4020	  if test $ac_prog = install &&
4021	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4022	    # AIX install.  It has an incompatible calling convention.
4023	    :
4024	  elif test $ac_prog = install &&
4025	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4026	    # program-specific install script used by HP pwplus--don't use.
4027	    :
4028	  else
4029	    rm -rf conftest.one conftest.two conftest.dir
4030	    echo one > conftest.one
4031	    echo two > conftest.two
4032	    mkdir conftest.dir
4033	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
4034	      test -s conftest.one && test -s conftest.two &&
4035	      test -s conftest.dir/conftest.one &&
4036	      test -s conftest.dir/conftest.two
4037	    then
4038	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4039	      break 3
4040	    fi
4041	  fi
4042	fi
4043      done
4044    done
4045    ;;
4046esac
4047
4048done
4049IFS=$as_save_IFS
4050
4051rm -rf conftest.one conftest.two conftest.dir
4052
4053fi
4054  if test "${ac_cv_path_install+set}" = set; then
4055    INSTALL=$ac_cv_path_install
4056  else
4057    # As a last resort, use the slow shell script.  Don't cache a
4058    # value for INSTALL within a source directory, because that will
4059    # break other packages using the cache if that directory is
4060    # removed, or if the value is a relative name.
4061    INSTALL=$ac_install_sh
4062  fi
4063fi
4064{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
4065$as_echo "$INSTALL" >&6; }
4066
4067# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4068# It thinks the first close brace ends the variable substitution.
4069test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4070
4071test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4072
4073test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4074
4075case `pwd` in
4076  *\ * | *\	*)
4077    { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4078$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4079esac
4080
4081
4082
4083macro_version='2.2.6b'
4084macro_revision='1.3017'
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098ltmain="$ac_aux_dir/ltmain.sh"
4099
4100{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4101$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4102if test "${ac_cv_path_SED+set}" = set; then
4103  $as_echo_n "(cached) " >&6
4104else
4105            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4106     for ac_i in 1 2 3 4 5 6 7; do
4107       ac_script="$ac_script$as_nl$ac_script"
4108     done
4109     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4110     $as_unset ac_script || ac_script=
4111     if test -z "$SED"; then
4112  ac_path_SED_found=false
4113  # Loop through the user's path and test for each of PROGNAME-LIST
4114  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4115for as_dir in $PATH
4116do
4117  IFS=$as_save_IFS
4118  test -z "$as_dir" && as_dir=.
4119  for ac_prog in sed gsed; do
4120    for ac_exec_ext in '' $ac_executable_extensions; do
4121      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4122      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4123# Check for GNU ac_path_SED and select it if it is found.
4124  # Check for GNU $ac_path_SED
4125case `"$ac_path_SED" --version 2>&1` in
4126*GNU*)
4127  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4128*)
4129  ac_count=0
4130  $as_echo_n 0123456789 >"conftest.in"
4131  while :
4132  do
4133    cat "conftest.in" "conftest.in" >"conftest.tmp"
4134    mv "conftest.tmp" "conftest.in"
4135    cp "conftest.in" "conftest.nl"
4136    $as_echo '' >> "conftest.nl"
4137    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4138    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4139    ac_count=`expr $ac_count + 1`
4140    if test $ac_count -gt ${ac_path_SED_max-0}; then
4141      # Best one so far, save it but keep looking for a better one
4142      ac_cv_path_SED="$ac_path_SED"
4143      ac_path_SED_max=$ac_count
4144    fi
4145    # 10*(2^10) chars as input seems more than enough
4146    test $ac_count -gt 10 && break
4147  done
4148  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4149esac
4150
4151      $ac_path_SED_found && break 3
4152    done
4153  done
4154done
4155IFS=$as_save_IFS
4156  if test -z "$ac_cv_path_SED"; then
4157    { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
4158$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
4159   { (exit 1); exit 1; }; }
4160  fi
4161else
4162  ac_cv_path_SED=$SED
4163fi
4164
4165fi
4166{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
4167$as_echo "$ac_cv_path_SED" >&6; }
4168 SED="$ac_cv_path_SED"
4169  rm -f conftest.sed
4170
4171test -z "$SED" && SED=sed
4172Xsed="$SED -e 1s/^X//"
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4185$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4186if test "${ac_cv_path_GREP+set}" = set; then
4187  $as_echo_n "(cached) " >&6
4188else
4189  if test -z "$GREP"; then
4190  ac_path_GREP_found=false
4191  # Loop through the user's path and test for each of PROGNAME-LIST
4192  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4193for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4194do
4195  IFS=$as_save_IFS
4196  test -z "$as_dir" && as_dir=.
4197  for ac_prog in grep ggrep; do
4198    for ac_exec_ext in '' $ac_executable_extensions; do
4199      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4200      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4201# Check for GNU ac_path_GREP and select it if it is found.
4202  # Check for GNU $ac_path_GREP
4203case `"$ac_path_GREP" --version 2>&1` in
4204*GNU*)
4205  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4206*)
4207  ac_count=0
4208  $as_echo_n 0123456789 >"conftest.in"
4209  while :
4210  do
4211    cat "conftest.in" "conftest.in" >"conftest.tmp"
4212    mv "conftest.tmp" "conftest.in"
4213    cp "conftest.in" "conftest.nl"
4214    $as_echo 'GREP' >> "conftest.nl"
4215    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4216    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4217    ac_count=`expr $ac_count + 1`
4218    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4219      # Best one so far, save it but keep looking for a better one
4220      ac_cv_path_GREP="$ac_path_GREP"
4221      ac_path_GREP_max=$ac_count
4222    fi
4223    # 10*(2^10) chars as input seems more than enough
4224    test $ac_count -gt 10 && break
4225  done
4226  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4227esac
4228
4229      $ac_path_GREP_found && break 3
4230    done
4231  done
4232done
4233IFS=$as_save_IFS
4234  if test -z "$ac_cv_path_GREP"; then
4235    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4236$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4237   { (exit 1); exit 1; }; }
4238  fi
4239else
4240  ac_cv_path_GREP=$GREP
4241fi
4242
4243fi
4244{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4245$as_echo "$ac_cv_path_GREP" >&6; }
4246 GREP="$ac_cv_path_GREP"
4247
4248
4249{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
4250$as_echo_n "checking for egrep... " >&6; }
4251if test "${ac_cv_path_EGREP+set}" = set; then
4252  $as_echo_n "(cached) " >&6
4253else
4254  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4255   then ac_cv_path_EGREP="$GREP -E"
4256   else
4257     if test -z "$EGREP"; then
4258  ac_path_EGREP_found=false
4259  # Loop through the user's path and test for each of PROGNAME-LIST
4260  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4261for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4262do
4263  IFS=$as_save_IFS
4264  test -z "$as_dir" && as_dir=.
4265  for ac_prog in egrep; do
4266    for ac_exec_ext in '' $ac_executable_extensions; do
4267      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4268      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4269# Check for GNU ac_path_EGREP and select it if it is found.
4270  # Check for GNU $ac_path_EGREP
4271case `"$ac_path_EGREP" --version 2>&1` in
4272*GNU*)
4273  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4274*)
4275  ac_count=0
4276  $as_echo_n 0123456789 >"conftest.in"
4277  while :
4278  do
4279    cat "conftest.in" "conftest.in" >"conftest.tmp"
4280    mv "conftest.tmp" "conftest.in"
4281    cp "conftest.in" "conftest.nl"
4282    $as_echo 'EGREP' >> "conftest.nl"
4283    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4284    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4285    ac_count=`expr $ac_count + 1`
4286    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4287      # Best one so far, save it but keep looking for a better one
4288      ac_cv_path_EGREP="$ac_path_EGREP"
4289      ac_path_EGREP_max=$ac_count
4290    fi
4291    # 10*(2^10) chars as input seems more than enough
4292    test $ac_count -gt 10 && break
4293  done
4294  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4295esac
4296
4297      $ac_path_EGREP_found && break 3
4298    done
4299  done
4300done
4301IFS=$as_save_IFS
4302  if test -z "$ac_cv_path_EGREP"; then
4303    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4304$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4305   { (exit 1); exit 1; }; }
4306  fi
4307else
4308  ac_cv_path_EGREP=$EGREP
4309fi
4310
4311   fi
4312fi
4313{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4314$as_echo "$ac_cv_path_EGREP" >&6; }
4315 EGREP="$ac_cv_path_EGREP"
4316
4317
4318{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5
4319$as_echo_n "checking for fgrep... " >&6; }
4320if test "${ac_cv_path_FGREP+set}" = set; then
4321  $as_echo_n "(cached) " >&6
4322else
4323  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4324   then ac_cv_path_FGREP="$GREP -F"
4325   else
4326     if test -z "$FGREP"; then
4327  ac_path_FGREP_found=false
4328  # Loop through the user's path and test for each of PROGNAME-LIST
4329  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4330for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4331do
4332  IFS=$as_save_IFS
4333  test -z "$as_dir" && as_dir=.
4334  for ac_prog in fgrep; do
4335    for ac_exec_ext in '' $ac_executable_extensions; do
4336      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4337      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4338# Check for GNU ac_path_FGREP and select it if it is found.
4339  # Check for GNU $ac_path_FGREP
4340case `"$ac_path_FGREP" --version 2>&1` in
4341*GNU*)
4342  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4343*)
4344  ac_count=0
4345  $as_echo_n 0123456789 >"conftest.in"
4346  while :
4347  do
4348    cat "conftest.in" "conftest.in" >"conftest.tmp"
4349    mv "conftest.tmp" "conftest.in"
4350    cp "conftest.in" "conftest.nl"
4351    $as_echo 'FGREP' >> "conftest.nl"
4352    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4353    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4354    ac_count=`expr $ac_count + 1`
4355    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4356      # Best one so far, save it but keep looking for a better one
4357      ac_cv_path_FGREP="$ac_path_FGREP"
4358      ac_path_FGREP_max=$ac_count
4359    fi
4360    # 10*(2^10) chars as input seems more than enough
4361    test $ac_count -gt 10 && break
4362  done
4363  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4364esac
4365
4366      $ac_path_FGREP_found && break 3
4367    done
4368  done
4369done
4370IFS=$as_save_IFS
4371  if test -z "$ac_cv_path_FGREP"; then
4372    { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4373$as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4374   { (exit 1); exit 1; }; }
4375  fi
4376else
4377  ac_cv_path_FGREP=$FGREP
4378fi
4379
4380   fi
4381fi
4382{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
4383$as_echo "$ac_cv_path_FGREP" >&6; }
4384 FGREP="$ac_cv_path_FGREP"
4385
4386
4387test -z "$GREP" && GREP=grep
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407# Check whether --with-gnu-ld was given.
4408if test "${with_gnu_ld+set}" = set; then
4409  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4410else
4411  with_gnu_ld=no
4412fi
4413
4414ac_prog=ld
4415if test "$GCC" = yes; then
4416  # Check if gcc -print-prog-name=ld gives a path.
4417  { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4418$as_echo_n "checking for ld used by $CC... " >&6; }
4419  case $host in
4420  *-*-mingw*)
4421    # gcc leaves a trailing carriage return which upsets mingw
4422    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4423  *)
4424    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4425  esac
4426  case $ac_prog in
4427    # Accept absolute paths.
4428    [\\/]* | ?:[\\/]*)
4429      re_direlt='/[^/][^/]*/\.\./'
4430      # Canonicalize the pathname of ld
4431      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4432      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4433	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4434      done
4435      test -z "$LD" && LD="$ac_prog"
4436      ;;
4437  "")
4438    # If it fails, then pretend we aren't using GCC.
4439    ac_prog=ld
4440    ;;
4441  *)
4442    # If it is relative, then search for the first ld in PATH.
4443    with_gnu_ld=unknown
4444    ;;
4445  esac
4446elif test "$with_gnu_ld" = yes; then
4447  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
4448$as_echo_n "checking for GNU ld... " >&6; }
4449else
4450  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4451$as_echo_n "checking for non-GNU ld... " >&6; }
4452fi
4453if test "${lt_cv_path_LD+set}" = set; then
4454  $as_echo_n "(cached) " >&6
4455else
4456  if test -z "$LD"; then
4457  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4458  for ac_dir in $PATH; do
4459    IFS="$lt_save_ifs"
4460    test -z "$ac_dir" && ac_dir=.
4461    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4462      lt_cv_path_LD="$ac_dir/$ac_prog"
4463      # Check to see if the program is GNU ld.  I'd rather use --version,
4464      # but apparently some variants of GNU ld only accept -v.
4465      # Break only if it was the GNU/non-GNU ld that we prefer.
4466      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4467      *GNU* | *'with BFD'*)
4468	test "$with_gnu_ld" != no && break
4469	;;
4470      *)
4471	test "$with_gnu_ld" != yes && break
4472	;;
4473      esac
4474    fi
4475  done
4476  IFS="$lt_save_ifs"
4477else
4478  lt_cv_path_LD="$LD" # Let the user override the test with a path.
4479fi
4480fi
4481
4482LD="$lt_cv_path_LD"
4483if test -n "$LD"; then
4484  { $as_echo "$as_me:$LINENO: result: $LD" >&5
4485$as_echo "$LD" >&6; }
4486else
4487  { $as_echo "$as_me:$LINENO: result: no" >&5
4488$as_echo "no" >&6; }
4489fi
4490test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4491$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4492   { (exit 1); exit 1; }; }
4493{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4494$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4495if test "${lt_cv_prog_gnu_ld+set}" = set; then
4496  $as_echo_n "(cached) " >&6
4497else
4498  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4499case `$LD -v 2>&1 </dev/null` in
4500*GNU* | *'with BFD'*)
4501  lt_cv_prog_gnu_ld=yes
4502  ;;
4503*)
4504  lt_cv_prog_gnu_ld=no
4505  ;;
4506esac
4507fi
4508{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4509$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4510with_gnu_ld=$lt_cv_prog_gnu_ld
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520{ $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4521$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4522if test "${lt_cv_path_NM+set}" = set; then
4523  $as_echo_n "(cached) " >&6
4524else
4525  if test -n "$NM"; then
4526  # Let the user override the test.
4527  lt_cv_path_NM="$NM"
4528else
4529  lt_nm_to_check="${ac_tool_prefix}nm"
4530  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4531    lt_nm_to_check="$lt_nm_to_check nm"
4532  fi
4533  for lt_tmp_nm in $lt_nm_to_check; do
4534    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4535    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4536      IFS="$lt_save_ifs"
4537      test -z "$ac_dir" && ac_dir=.
4538      tmp_nm="$ac_dir/$lt_tmp_nm"
4539      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4540	# Check to see if the nm accepts a BSD-compat flag.
4541	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
4542	#   nm: unknown option "B" ignored
4543	# Tru64's nm complains that /dev/null is an invalid object file
4544	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4545	*/dev/null* | *'Invalid file or object type'*)
4546	  lt_cv_path_NM="$tmp_nm -B"
4547	  break
4548	  ;;
4549	*)
4550	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4551	  */dev/null*)
4552	    lt_cv_path_NM="$tmp_nm -p"
4553	    break
4554	    ;;
4555	  *)
4556	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4557	    continue # so that we can try to find one that supports BSD flags
4558	    ;;
4559	  esac
4560	  ;;
4561	esac
4562      fi
4563    done
4564    IFS="$lt_save_ifs"
4565  done
4566  : ${lt_cv_path_NM=no}
4567fi
4568fi
4569{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4570$as_echo "$lt_cv_path_NM" >&6; }
4571if test "$lt_cv_path_NM" != "no"; then
4572  NM="$lt_cv_path_NM"
4573else
4574  # Didn't find any BSD compatible name lister, look for dumpbin.
4575  if test -n "$ac_tool_prefix"; then
4576  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4577  do
4578    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4579set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4580{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4581$as_echo_n "checking for $ac_word... " >&6; }
4582if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4583  $as_echo_n "(cached) " >&6
4584else
4585  if test -n "$DUMPBIN"; then
4586  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4587else
4588as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4589for as_dir in $PATH
4590do
4591  IFS=$as_save_IFS
4592  test -z "$as_dir" && as_dir=.
4593  for ac_exec_ext in '' $ac_executable_extensions; do
4594  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4595    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4596    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4597    break 2
4598  fi
4599done
4600done
4601IFS=$as_save_IFS
4602
4603fi
4604fi
4605DUMPBIN=$ac_cv_prog_DUMPBIN
4606if test -n "$DUMPBIN"; then
4607  { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4608$as_echo "$DUMPBIN" >&6; }
4609else
4610  { $as_echo "$as_me:$LINENO: result: no" >&5
4611$as_echo "no" >&6; }
4612fi
4613
4614
4615    test -n "$DUMPBIN" && break
4616  done
4617fi
4618if test -z "$DUMPBIN"; then
4619  ac_ct_DUMPBIN=$DUMPBIN
4620  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4621do
4622  # Extract the first word of "$ac_prog", so it can be a program name with args.
4623set dummy $ac_prog; ac_word=$2
4624{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4625$as_echo_n "checking for $ac_word... " >&6; }
4626if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4627  $as_echo_n "(cached) " >&6
4628else
4629  if test -n "$ac_ct_DUMPBIN"; then
4630  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4631else
4632as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4633for as_dir in $PATH
4634do
4635  IFS=$as_save_IFS
4636  test -z "$as_dir" && as_dir=.
4637  for ac_exec_ext in '' $ac_executable_extensions; do
4638  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4639    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4640    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4641    break 2
4642  fi
4643done
4644done
4645IFS=$as_save_IFS
4646
4647fi
4648fi
4649ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4650if test -n "$ac_ct_DUMPBIN"; then
4651  { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4652$as_echo "$ac_ct_DUMPBIN" >&6; }
4653else
4654  { $as_echo "$as_me:$LINENO: result: no" >&5
4655$as_echo "no" >&6; }
4656fi
4657
4658
4659  test -n "$ac_ct_DUMPBIN" && break
4660done
4661
4662  if test "x$ac_ct_DUMPBIN" = x; then
4663    DUMPBIN=":"
4664  else
4665    case $cross_compiling:$ac_tool_warned in
4666yes:)
4667{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4668$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4669ac_tool_warned=yes ;;
4670esac
4671    DUMPBIN=$ac_ct_DUMPBIN
4672  fi
4673fi
4674
4675
4676  if test "$DUMPBIN" != ":"; then
4677    NM="$DUMPBIN"
4678  fi
4679fi
4680test -z "$NM" && NM=nm
4681
4682
4683
4684
4685
4686
4687{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4688$as_echo_n "checking the name lister ($NM) interface... " >&6; }
4689if test "${lt_cv_nm_interface+set}" = set; then
4690  $as_echo_n "(cached) " >&6
4691else
4692  lt_cv_nm_interface="BSD nm"
4693  echo "int some_variable = 0;" > conftest.$ac_ext
4694  (eval echo "\"\$as_me:4694: $ac_compile\"" >&5)
4695  (eval "$ac_compile" 2>conftest.err)
4696  cat conftest.err >&5
4697  (eval echo "\"\$as_me:4697: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4698  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4699  cat conftest.err >&5
4700  (eval echo "\"\$as_me:4700: output\"" >&5)
4701  cat conftest.out >&5
4702  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4703    lt_cv_nm_interface="MS dumpbin"
4704  fi
4705  rm -f conftest*
4706fi
4707{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4708$as_echo "$lt_cv_nm_interface" >&6; }
4709
4710{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
4711$as_echo_n "checking whether ln -s works... " >&6; }
4712LN_S=$as_ln_s
4713if test "$LN_S" = "ln -s"; then
4714  { $as_echo "$as_me:$LINENO: result: yes" >&5
4715$as_echo "yes" >&6; }
4716else
4717  { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4718$as_echo "no, using $LN_S" >&6; }
4719fi
4720
4721# find the maximum length of command line arguments
4722{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4723$as_echo_n "checking the maximum length of command line arguments... " >&6; }
4724if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4725  $as_echo_n "(cached) " >&6
4726else
4727    i=0
4728  teststring="ABCD"
4729
4730  case $build_os in
4731  msdosdjgpp*)
4732    # On DJGPP, this test can blow up pretty badly due to problems in libc
4733    # (any single argument exceeding 2000 bytes causes a buffer overrun
4734    # during glob expansion).  Even if it were fixed, the result of this
4735    # check would be larger than it should be.
4736    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4737    ;;
4738
4739  gnu*)
4740    # Under GNU Hurd, this test is not required because there is
4741    # no limit to the length of command line arguments.
4742    # Libtool will interpret -1 as no limit whatsoever
4743    lt_cv_sys_max_cmd_len=-1;
4744    ;;
4745
4746  cygwin* | mingw* | cegcc*)
4747    # On Win9x/ME, this test blows up -- it succeeds, but takes
4748    # about 5 minutes as the teststring grows exponentially.
4749    # Worse, since 9x/ME are not pre-emptively multitasking,
4750    # you end up with a "frozen" computer, even though with patience
4751    # the test eventually succeeds (with a max line length of 256k).
4752    # Instead, let's just punt: use the minimum linelength reported by
4753    # all of the supported platforms: 8192 (on NT/2K/XP).
4754    lt_cv_sys_max_cmd_len=8192;
4755    ;;
4756
4757  amigaos*)
4758    # On AmigaOS with pdksh, this test takes hours, literally.
4759    # So we just punt and use a minimum line length of 8192.
4760    lt_cv_sys_max_cmd_len=8192;
4761    ;;
4762
4763  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4764    # This has been around since 386BSD, at least.  Likely further.
4765    if test -x /sbin/sysctl; then
4766      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4767    elif test -x /usr/sbin/sysctl; then
4768      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4769    else
4770      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
4771    fi
4772    # And add a safety zone
4773    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4774    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4775    ;;
4776
4777  interix*)
4778    # We know the value 262144 and hardcode it with a safety zone (like BSD)
4779    lt_cv_sys_max_cmd_len=196608
4780    ;;
4781
4782  osf*)
4783    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4784    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4785    # nice to cause kernel panics so lets avoid the loop below.
4786    # First set a reasonable default.
4787    lt_cv_sys_max_cmd_len=16384
4788    #
4789    if test -x /sbin/sysconfig; then
4790      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4791        *1*) lt_cv_sys_max_cmd_len=-1 ;;
4792      esac
4793    fi
4794    ;;
4795  sco3.2v5*)
4796    lt_cv_sys_max_cmd_len=102400
4797    ;;
4798  sysv5* | sco5v6* | sysv4.2uw2*)
4799    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4800    if test -n "$kargmax"; then
4801      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
4802    else
4803      lt_cv_sys_max_cmd_len=32768
4804    fi
4805    ;;
4806  *)
4807    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4808    if test -n "$lt_cv_sys_max_cmd_len"; then
4809      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4810      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4811    else
4812      # Make teststring a little bigger before we do anything with it.
4813      # a 1K string should be a reasonable start.
4814      for i in 1 2 3 4 5 6 7 8 ; do
4815        teststring=$teststring$teststring
4816      done
4817      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4818      # If test is not a shell built-in, we'll probably end up computing a
4819      # maximum length that is only half of the actual maximum length, but
4820      # we can't tell.
4821      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4822	         = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4823	      test $i != 17 # 1/2 MB should be enough
4824      do
4825        i=`expr $i + 1`
4826        teststring=$teststring$teststring
4827      done
4828      # Only check the string length outside the loop.
4829      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4830      teststring=
4831      # Add a significant safety factor because C++ compilers can tack on
4832      # massive amounts of additional arguments before passing them to the
4833      # linker.  It appears as though 1/2 is a usable value.
4834      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4835    fi
4836    ;;
4837  esac
4838
4839fi
4840
4841if test -n $lt_cv_sys_max_cmd_len ; then
4842  { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4843$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4844else
4845  { $as_echo "$as_me:$LINENO: result: none" >&5
4846$as_echo "none" >&6; }
4847fi
4848max_cmd_len=$lt_cv_sys_max_cmd_len
4849
4850
4851
4852
4853
4854
4855: ${CP="cp -f"}
4856: ${MV="mv -f"}
4857: ${RM="rm -f"}
4858
4859{ $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4860$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4861# Try some XSI features
4862xsi_shell=no
4863( _lt_dummy="a/b/c"
4864  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4865      = c,a/b,, \
4866    && eval 'test $(( 1 + 1 )) -eq 2 \
4867    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4868  && xsi_shell=yes
4869{ $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
4870$as_echo "$xsi_shell" >&6; }
4871
4872
4873{ $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
4874$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4875lt_shell_append=no
4876( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4877    >/dev/null 2>&1 \
4878  && lt_shell_append=yes
4879{ $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
4880$as_echo "$lt_shell_append" >&6; }
4881
4882
4883if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4884  lt_unset=unset
4885else
4886  lt_unset=false
4887fi
4888
4889
4890
4891
4892
4893# test EBCDIC or ASCII
4894case `echo X|tr X '\101'` in
4895 A) # ASCII based system
4896    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4897  lt_SP2NL='tr \040 \012'
4898  lt_NL2SP='tr \015\012 \040\040'
4899  ;;
4900 *) # EBCDIC based system
4901  lt_SP2NL='tr \100 \n'
4902  lt_NL2SP='tr \r\n \100\100'
4903  ;;
4904esac
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4915$as_echo_n "checking for $LD option to reload object files... " >&6; }
4916if test "${lt_cv_ld_reload_flag+set}" = set; then
4917  $as_echo_n "(cached) " >&6
4918else
4919  lt_cv_ld_reload_flag='-r'
4920fi
4921{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4922$as_echo "$lt_cv_ld_reload_flag" >&6; }
4923reload_flag=$lt_cv_ld_reload_flag
4924case $reload_flag in
4925"" | " "*) ;;
4926*) reload_flag=" $reload_flag" ;;
4927esac
4928reload_cmds='$LD$reload_flag -o $output$reload_objs'
4929case $host_os in
4930  darwin*)
4931    if test "$GCC" = yes; then
4932      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4933    else
4934      reload_cmds='$LD$reload_flag -o $output$reload_objs'
4935    fi
4936    ;;
4937esac
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947if test -n "$ac_tool_prefix"; then
4948  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4949set dummy ${ac_tool_prefix}objdump; ac_word=$2
4950{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4951$as_echo_n "checking for $ac_word... " >&6; }
4952if test "${ac_cv_prog_OBJDUMP+set}" = set; then
4953  $as_echo_n "(cached) " >&6
4954else
4955  if test -n "$OBJDUMP"; then
4956  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4957else
4958as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4959for as_dir in $PATH
4960do
4961  IFS=$as_save_IFS
4962  test -z "$as_dir" && as_dir=.
4963  for ac_exec_ext in '' $ac_executable_extensions; do
4964  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4965    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4966    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4967    break 2
4968  fi
4969done
4970done
4971IFS=$as_save_IFS
4972
4973fi
4974fi
4975OBJDUMP=$ac_cv_prog_OBJDUMP
4976if test -n "$OBJDUMP"; then
4977  { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
4978$as_echo "$OBJDUMP" >&6; }
4979else
4980  { $as_echo "$as_me:$LINENO: result: no" >&5
4981$as_echo "no" >&6; }
4982fi
4983
4984
4985fi
4986if test -z "$ac_cv_prog_OBJDUMP"; then
4987  ac_ct_OBJDUMP=$OBJDUMP
4988  # Extract the first word of "objdump", so it can be a program name with args.
4989set dummy objdump; ac_word=$2
4990{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4991$as_echo_n "checking for $ac_word... " >&6; }
4992if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
4993  $as_echo_n "(cached) " >&6
4994else
4995  if test -n "$ac_ct_OBJDUMP"; then
4996  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4997else
4998as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4999for as_dir in $PATH
5000do
5001  IFS=$as_save_IFS
5002  test -z "$as_dir" && as_dir=.
5003  for ac_exec_ext in '' $ac_executable_extensions; do
5004  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5005    ac_cv_prog_ac_ct_OBJDUMP="objdump"
5006    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5007    break 2
5008  fi
5009done
5010done
5011IFS=$as_save_IFS
5012
5013fi
5014fi
5015ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5016if test -n "$ac_ct_OBJDUMP"; then
5017  { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
5018$as_echo "$ac_ct_OBJDUMP" >&6; }
5019else
5020  { $as_echo "$as_me:$LINENO: result: no" >&5
5021$as_echo "no" >&6; }
5022fi
5023
5024  if test "x$ac_ct_OBJDUMP" = x; then
5025    OBJDUMP="false"
5026  else
5027    case $cross_compiling:$ac_tool_warned in
5028yes:)
5029{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5030$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5031ac_tool_warned=yes ;;
5032esac
5033    OBJDUMP=$ac_ct_OBJDUMP
5034  fi
5035else
5036  OBJDUMP="$ac_cv_prog_OBJDUMP"
5037fi
5038
5039test -z "$OBJDUMP" && OBJDUMP=objdump
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
5050$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5051if test "${lt_cv_deplibs_check_method+set}" = set; then
5052  $as_echo_n "(cached) " >&6
5053else
5054  lt_cv_file_magic_cmd='$MAGIC_CMD'
5055lt_cv_file_magic_test_file=
5056lt_cv_deplibs_check_method='unknown'
5057# Need to set the preceding variable on all platforms that support
5058# interlibrary dependencies.
5059# 'none' -- dependencies not supported.
5060# `unknown' -- same as none, but documents that we really don't know.
5061# 'pass_all' -- all dependencies passed with no checks.
5062# 'test_compile' -- check by making test program.
5063# 'file_magic [[regex]]' -- check by looking for files in library path
5064# which responds to the $file_magic_cmd with a given extended regex.
5065# If you have `file' or equivalent on your system and you're not sure
5066# whether `pass_all' will *always* work, you probably want this one.
5067
5068case $host_os in
5069aix[4-9]*)
5070  lt_cv_deplibs_check_method=pass_all
5071  ;;
5072
5073beos*)
5074  lt_cv_deplibs_check_method=pass_all
5075  ;;
5076
5077bsdi[45]*)
5078  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5079  lt_cv_file_magic_cmd='/usr/bin/file -L'
5080  lt_cv_file_magic_test_file=/shlib/libc.so
5081  ;;
5082
5083cygwin*)
5084  # func_win32_libid is a shell function defined in ltmain.sh
5085  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5086  lt_cv_file_magic_cmd='func_win32_libid'
5087  ;;
5088
5089mingw* | pw32*)
5090  # Base MSYS/MinGW do not provide the 'file' command needed by
5091  # func_win32_libid shell function, so use a weaker test based on 'objdump',
5092  # unless we find 'file', for example because we are cross-compiling.
5093  if ( file / ) >/dev/null 2>&1; then
5094    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5095    lt_cv_file_magic_cmd='func_win32_libid'
5096  else
5097    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5098    lt_cv_file_magic_cmd='$OBJDUMP -f'
5099  fi
5100  ;;
5101
5102cegcc)
5103  # use the weaker test based on 'objdump'. See mingw*.
5104  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5105  lt_cv_file_magic_cmd='$OBJDUMP -f'
5106  ;;
5107
5108darwin* | rhapsody*)
5109  lt_cv_deplibs_check_method=pass_all
5110  ;;
5111
5112freebsd* | dragonfly*)
5113  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5114    case $host_cpu in
5115    i*86 )
5116      # Not sure whether the presence of OpenBSD here was a mistake.
5117      # Let's accept both of them until this is cleared up.
5118      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5119      lt_cv_file_magic_cmd=/usr/bin/file
5120      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5121      ;;
5122    esac
5123  else
5124    lt_cv_deplibs_check_method=pass_all
5125  fi
5126  ;;
5127
5128gnu*)
5129  lt_cv_deplibs_check_method=pass_all
5130  ;;
5131
5132hpux10.20* | hpux11*)
5133  lt_cv_file_magic_cmd=/usr/bin/file
5134  case $host_cpu in
5135  ia64*)
5136    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5137    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5138    ;;
5139  hppa*64*)
5140    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
5141    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5142    ;;
5143  *)
5144    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5145    lt_cv_file_magic_test_file=/usr/lib/libc.sl
5146    ;;
5147  esac
5148  ;;
5149
5150interix[3-9]*)
5151  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5152  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5153  ;;
5154
5155irix5* | irix6* | nonstopux*)
5156  case $LD in
5157  *-32|*"-32 ") libmagic=32-bit;;
5158  *-n32|*"-n32 ") libmagic=N32;;
5159  *-64|*"-64 ") libmagic=64-bit;;
5160  *) libmagic=never-match;;
5161  esac
5162  lt_cv_deplibs_check_method=pass_all
5163  ;;
5164
5165# This must be Linux ELF.
5166linux* | k*bsd*-gnu)
5167  lt_cv_deplibs_check_method=pass_all
5168  ;;
5169
5170netbsd*)
5171  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5172    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5173  else
5174    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5175  fi
5176  ;;
5177
5178newos6*)
5179  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5180  lt_cv_file_magic_cmd=/usr/bin/file
5181  lt_cv_file_magic_test_file=/usr/lib/libnls.so
5182  ;;
5183
5184*nto* | *qnx*)
5185  lt_cv_deplibs_check_method=pass_all
5186  ;;
5187
5188openbsd*)
5189  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5190    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5191  else
5192    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5193  fi
5194  ;;
5195
5196osf3* | osf4* | osf5*)
5197  lt_cv_deplibs_check_method=pass_all
5198  ;;
5199
5200rdos*)
5201  lt_cv_deplibs_check_method=pass_all
5202  ;;
5203
5204solaris*)
5205  lt_cv_deplibs_check_method=pass_all
5206  ;;
5207
5208sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5209  lt_cv_deplibs_check_method=pass_all
5210  ;;
5211
5212sysv4 | sysv4.3*)
5213  case $host_vendor in
5214  motorola)
5215    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]'
5216    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5217    ;;
5218  ncr)
5219    lt_cv_deplibs_check_method=pass_all
5220    ;;
5221  sequent)
5222    lt_cv_file_magic_cmd='/bin/file'
5223    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5224    ;;
5225  sni)
5226    lt_cv_file_magic_cmd='/bin/file'
5227    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5228    lt_cv_file_magic_test_file=/lib/libc.so
5229    ;;
5230  siemens)
5231    lt_cv_deplibs_check_method=pass_all
5232    ;;
5233  pc)
5234    lt_cv_deplibs_check_method=pass_all
5235    ;;
5236  esac
5237  ;;
5238
5239tpf*)
5240  lt_cv_deplibs_check_method=pass_all
5241  ;;
5242esac
5243
5244fi
5245{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5246$as_echo "$lt_cv_deplibs_check_method" >&6; }
5247file_magic_cmd=$lt_cv_file_magic_cmd
5248deplibs_check_method=$lt_cv_deplibs_check_method
5249test -z "$deplibs_check_method" && deplibs_check_method=unknown
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262if test -n "$ac_tool_prefix"; then
5263  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5264set dummy ${ac_tool_prefix}ar; ac_word=$2
5265{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5266$as_echo_n "checking for $ac_word... " >&6; }
5267if test "${ac_cv_prog_AR+set}" = set; then
5268  $as_echo_n "(cached) " >&6
5269else
5270  if test -n "$AR"; then
5271  ac_cv_prog_AR="$AR" # Let the user override the test.
5272else
5273as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5274for as_dir in $PATH
5275do
5276  IFS=$as_save_IFS
5277  test -z "$as_dir" && as_dir=.
5278  for ac_exec_ext in '' $ac_executable_extensions; do
5279  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5280    ac_cv_prog_AR="${ac_tool_prefix}ar"
5281    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5282    break 2
5283  fi
5284done
5285done
5286IFS=$as_save_IFS
5287
5288fi
5289fi
5290AR=$ac_cv_prog_AR
5291if test -n "$AR"; then
5292  { $as_echo "$as_me:$LINENO: result: $AR" >&5
5293$as_echo "$AR" >&6; }
5294else
5295  { $as_echo "$as_me:$LINENO: result: no" >&5
5296$as_echo "no" >&6; }
5297fi
5298
5299
5300fi
5301if test -z "$ac_cv_prog_AR"; then
5302  ac_ct_AR=$AR
5303  # Extract the first word of "ar", so it can be a program name with args.
5304set dummy ar; ac_word=$2
5305{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5306$as_echo_n "checking for $ac_word... " >&6; }
5307if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5308  $as_echo_n "(cached) " >&6
5309else
5310  if test -n "$ac_ct_AR"; then
5311  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5312else
5313as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5314for as_dir in $PATH
5315do
5316  IFS=$as_save_IFS
5317  test -z "$as_dir" && as_dir=.
5318  for ac_exec_ext in '' $ac_executable_extensions; do
5319  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5320    ac_cv_prog_ac_ct_AR="ar"
5321    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5322    break 2
5323  fi
5324done
5325done
5326IFS=$as_save_IFS
5327
5328fi
5329fi
5330ac_ct_AR=$ac_cv_prog_ac_ct_AR
5331if test -n "$ac_ct_AR"; then
5332  { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5333$as_echo "$ac_ct_AR" >&6; }
5334else
5335  { $as_echo "$as_me:$LINENO: result: no" >&5
5336$as_echo "no" >&6; }
5337fi
5338
5339  if test "x$ac_ct_AR" = x; then
5340    AR="false"
5341  else
5342    case $cross_compiling:$ac_tool_warned in
5343yes:)
5344{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5345$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5346ac_tool_warned=yes ;;
5347esac
5348    AR=$ac_ct_AR
5349  fi
5350else
5351  AR="$ac_cv_prog_AR"
5352fi
5353
5354test -z "$AR" && AR=ar
5355test -z "$AR_FLAGS" && AR_FLAGS=cru
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367if test -n "$ac_tool_prefix"; then
5368  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5369set dummy ${ac_tool_prefix}strip; ac_word=$2
5370{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5371$as_echo_n "checking for $ac_word... " >&6; }
5372if test "${ac_cv_prog_STRIP+set}" = set; then
5373  $as_echo_n "(cached) " >&6
5374else
5375  if test -n "$STRIP"; then
5376  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5377else
5378as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5379for as_dir in $PATH
5380do
5381  IFS=$as_save_IFS
5382  test -z "$as_dir" && as_dir=.
5383  for ac_exec_ext in '' $ac_executable_extensions; do
5384  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5385    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5386    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5387    break 2
5388  fi
5389done
5390done
5391IFS=$as_save_IFS
5392
5393fi
5394fi
5395STRIP=$ac_cv_prog_STRIP
5396if test -n "$STRIP"; then
5397  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
5398$as_echo "$STRIP" >&6; }
5399else
5400  { $as_echo "$as_me:$LINENO: result: no" >&5
5401$as_echo "no" >&6; }
5402fi
5403
5404
5405fi
5406if test -z "$ac_cv_prog_STRIP"; then
5407  ac_ct_STRIP=$STRIP
5408  # Extract the first word of "strip", so it can be a program name with args.
5409set dummy strip; ac_word=$2
5410{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5411$as_echo_n "checking for $ac_word... " >&6; }
5412if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5413  $as_echo_n "(cached) " >&6
5414else
5415  if test -n "$ac_ct_STRIP"; then
5416  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5417else
5418as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5419for as_dir in $PATH
5420do
5421  IFS=$as_save_IFS
5422  test -z "$as_dir" && as_dir=.
5423  for ac_exec_ext in '' $ac_executable_extensions; do
5424  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5425    ac_cv_prog_ac_ct_STRIP="strip"
5426    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5427    break 2
5428  fi
5429done
5430done
5431IFS=$as_save_IFS
5432
5433fi
5434fi
5435ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5436if test -n "$ac_ct_STRIP"; then
5437  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5438$as_echo "$ac_ct_STRIP" >&6; }
5439else
5440  { $as_echo "$as_me:$LINENO: result: no" >&5
5441$as_echo "no" >&6; }
5442fi
5443
5444  if test "x$ac_ct_STRIP" = x; then
5445    STRIP=":"
5446  else
5447    case $cross_compiling:$ac_tool_warned in
5448yes:)
5449{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5450$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5451ac_tool_warned=yes ;;
5452esac
5453    STRIP=$ac_ct_STRIP
5454  fi
5455else
5456  STRIP="$ac_cv_prog_STRIP"
5457fi
5458
5459test -z "$STRIP" && STRIP=:
5460
5461
5462
5463
5464
5465
5466if test -n "$ac_tool_prefix"; then
5467  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5468set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5469{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5470$as_echo_n "checking for $ac_word... " >&6; }
5471if test "${ac_cv_prog_RANLIB+set}" = set; then
5472  $as_echo_n "(cached) " >&6
5473else
5474  if test -n "$RANLIB"; then
5475  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5476else
5477as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5478for as_dir in $PATH
5479do
5480  IFS=$as_save_IFS
5481  test -z "$as_dir" && as_dir=.
5482  for ac_exec_ext in '' $ac_executable_extensions; do
5483  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5484    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5485    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5486    break 2
5487  fi
5488done
5489done
5490IFS=$as_save_IFS
5491
5492fi
5493fi
5494RANLIB=$ac_cv_prog_RANLIB
5495if test -n "$RANLIB"; then
5496  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
5497$as_echo "$RANLIB" >&6; }
5498else
5499  { $as_echo "$as_me:$LINENO: result: no" >&5
5500$as_echo "no" >&6; }
5501fi
5502
5503
5504fi
5505if test -z "$ac_cv_prog_RANLIB"; then
5506  ac_ct_RANLIB=$RANLIB
5507  # Extract the first word of "ranlib", so it can be a program name with args.
5508set dummy ranlib; ac_word=$2
5509{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5510$as_echo_n "checking for $ac_word... " >&6; }
5511if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5512  $as_echo_n "(cached) " >&6
5513else
5514  if test -n "$ac_ct_RANLIB"; then
5515  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5516else
5517as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5518for as_dir in $PATH
5519do
5520  IFS=$as_save_IFS
5521  test -z "$as_dir" && as_dir=.
5522  for ac_exec_ext in '' $ac_executable_extensions; do
5523  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5524    ac_cv_prog_ac_ct_RANLIB="ranlib"
5525    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5526    break 2
5527  fi
5528done
5529done
5530IFS=$as_save_IFS
5531
5532fi
5533fi
5534ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5535if test -n "$ac_ct_RANLIB"; then
5536  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5537$as_echo "$ac_ct_RANLIB" >&6; }
5538else
5539  { $as_echo "$as_me:$LINENO: result: no" >&5
5540$as_echo "no" >&6; }
5541fi
5542
5543  if test "x$ac_ct_RANLIB" = x; then
5544    RANLIB=":"
5545  else
5546    case $cross_compiling:$ac_tool_warned in
5547yes:)
5548{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5549$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5550ac_tool_warned=yes ;;
5551esac
5552    RANLIB=$ac_ct_RANLIB
5553  fi
5554else
5555  RANLIB="$ac_cv_prog_RANLIB"
5556fi
5557
5558test -z "$RANLIB" && RANLIB=:
5559
5560
5561
5562
5563
5564
5565# Determine commands to create old-style static archives.
5566old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5567old_postinstall_cmds='chmod 644 $oldlib'
5568old_postuninstall_cmds=
5569
5570if test -n "$RANLIB"; then
5571  case $host_os in
5572  openbsd*)
5573    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5574    ;;
5575  *)
5576    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5577    ;;
5578  esac
5579  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5580fi
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615# If no C compiler was specified, use CC.
5616LTCC=${LTCC-"$CC"}
5617
5618# If no C compiler flags were specified, use CFLAGS.
5619LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5620
5621# Allow CC to be a program name with arguments.
5622compiler=$CC
5623
5624
5625# Check for command to grab the raw symbol name followed by C symbol from nm.
5626{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5627$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5628if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5629  $as_echo_n "(cached) " >&6
5630else
5631
5632# These are sane defaults that work on at least a few old systems.
5633# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
5634
5635# Character class describing NM global symbol codes.
5636symcode='[BCDEGRST]'
5637
5638# Regexp to match symbols that can be accessed directly from C.
5639sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5640
5641# Define system-specific variables.
5642case $host_os in
5643aix*)
5644  symcode='[BCDT]'
5645  ;;
5646cygwin* | mingw* | pw32* | cegcc*)
5647  symcode='[ABCDGISTW]'
5648  ;;
5649hpux*)
5650  if test "$host_cpu" = ia64; then
5651    symcode='[ABCDEGRST]'
5652  fi
5653  ;;
5654irix* | nonstopux*)
5655  symcode='[BCDEGRST]'
5656  ;;
5657osf*)
5658  symcode='[BCDEGQRST]'
5659  ;;
5660solaris*)
5661  symcode='[BDRT]'
5662  ;;
5663sco3.2v5*)
5664  symcode='[DT]'
5665  ;;
5666sysv4.2uw2*)
5667  symcode='[DT]'
5668  ;;
5669sysv5* | sco5v6* | unixware* | OpenUNIX*)
5670  symcode='[ABDT]'
5671  ;;
5672sysv4)
5673  symcode='[DFNSTU]'
5674  ;;
5675esac
5676
5677# If we're using GNU nm, then use its standard symbol codes.
5678case `$NM -V 2>&1` in
5679*GNU* | *'with BFD'*)
5680  symcode='[ABCDGIRSTW]' ;;
5681esac
5682
5683# Transform an extracted symbol line into a proper C declaration.
5684# Some systems (esp. on ia64) link data and code symbols differently,
5685# so use this general approach.
5686lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5687
5688# Transform an extracted symbol line into symbol name and symbol address
5689lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
5690lt_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'"
5691
5692# Handle CRLF in mingw tool chain
5693opt_cr=
5694case $build_os in
5695mingw*)
5696  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5697  ;;
5698esac
5699
5700# Try without a prefix underscore, then with it.
5701for ac_symprfx in "" "_"; do
5702
5703  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5704  symxfrm="\\1 $ac_symprfx\\2 \\2"
5705
5706  # Write the raw and C identifiers.
5707  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5708    # Fake it for dumpbin and say T for any non-static function
5709    # and D for any global variable.
5710    # Also find C++ and __fastcall symbols from MSVC++,
5711    # which start with @ or ?.
5712    lt_cv_sys_global_symbol_pipe="$AWK '"\
5713"     {last_section=section; section=\$ 3};"\
5714"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5715"     \$ 0!~/External *\|/{next};"\
5716"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5717"     {if(hide[section]) next};"\
5718"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5719"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5720"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
5721"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5722"     ' prfx=^$ac_symprfx"
5723  else
5724    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5725  fi
5726
5727  # Check to see that the pipe works correctly.
5728  pipe_works=no
5729
5730  rm -f conftest*
5731  cat > conftest.$ac_ext <<_LT_EOF
5732#ifdef __cplusplus
5733extern "C" {
5734#endif
5735char nm_test_var;
5736void nm_test_func(void);
5737void nm_test_func(void){}
5738#ifdef __cplusplus
5739}
5740#endif
5741int main(){nm_test_var='a';nm_test_func();return(0);}
5742_LT_EOF
5743
5744  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5745  (eval $ac_compile) 2>&5
5746  ac_status=$?
5747  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5748  (exit $ac_status); }; then
5749    # Now try to grab the symbols.
5750    nlist=conftest.nm
5751    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5752  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5753  ac_status=$?
5754  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5755  (exit $ac_status); } && test -s "$nlist"; then
5756      # Try sorting and uniquifying the output.
5757      if sort "$nlist" | uniq > "$nlist"T; then
5758	mv -f "$nlist"T "$nlist"
5759      else
5760	rm -f "$nlist"T
5761      fi
5762
5763      # Make sure that we snagged all the symbols we need.
5764      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5765	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5766	  cat <<_LT_EOF > conftest.$ac_ext
5767#ifdef __cplusplus
5768extern "C" {
5769#endif
5770
5771_LT_EOF
5772	  # Now generate the symbol file.
5773	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5774
5775	  cat <<_LT_EOF >> conftest.$ac_ext
5776
5777/* The mapping between symbol names and symbols.  */
5778const struct {
5779  const char *name;
5780  void       *address;
5781}
5782lt__PROGRAM__LTX_preloaded_symbols[] =
5783{
5784  { "@PROGRAM@", (void *) 0 },
5785_LT_EOF
5786	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5787	  cat <<\_LT_EOF >> conftest.$ac_ext
5788  {0, (void *) 0}
5789};
5790
5791/* This works around a problem in FreeBSD linker */
5792#ifdef FREEBSD_WORKAROUND
5793static const void *lt_preloaded_setup() {
5794  return lt__PROGRAM__LTX_preloaded_symbols;
5795}
5796#endif
5797
5798#ifdef __cplusplus
5799}
5800#endif
5801_LT_EOF
5802	  # Now try linking the two files.
5803	  mv conftest.$ac_objext conftstm.$ac_objext
5804	  lt_save_LIBS="$LIBS"
5805	  lt_save_CFLAGS="$CFLAGS"
5806	  LIBS="conftstm.$ac_objext"
5807	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5808	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5809  (eval $ac_link) 2>&5
5810  ac_status=$?
5811  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5812  (exit $ac_status); } && test -s conftest${ac_exeext}; then
5813	    pipe_works=yes
5814	  fi
5815	  LIBS="$lt_save_LIBS"
5816	  CFLAGS="$lt_save_CFLAGS"
5817	else
5818	  echo "cannot find nm_test_func in $nlist" >&5
5819	fi
5820      else
5821	echo "cannot find nm_test_var in $nlist" >&5
5822      fi
5823    else
5824      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5825    fi
5826  else
5827    echo "$progname: failed program was:" >&5
5828    cat conftest.$ac_ext >&5
5829  fi
5830  rm -rf conftest* conftst*
5831
5832  # Do not use the global_symbol_pipe unless it works.
5833  if test "$pipe_works" = yes; then
5834    break
5835  else
5836    lt_cv_sys_global_symbol_pipe=
5837  fi
5838done
5839
5840fi
5841
5842if test -z "$lt_cv_sys_global_symbol_pipe"; then
5843  lt_cv_sys_global_symbol_to_cdecl=
5844fi
5845if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5846  { $as_echo "$as_me:$LINENO: result: failed" >&5
5847$as_echo "failed" >&6; }
5848else
5849  { $as_echo "$as_me:$LINENO: result: ok" >&5
5850$as_echo "ok" >&6; }
5851fi
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875# Check whether --enable-libtool-lock was given.
5876if test "${enable_libtool_lock+set}" = set; then
5877  enableval=$enable_libtool_lock;
5878fi
5879
5880test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5881
5882# Some flags need to be propagated to the compiler or linker for good
5883# libtool support.
5884case $host in
5885ia64-*-hpux*)
5886  # Find out which ABI we are using.
5887  echo 'int i;' > conftest.$ac_ext
5888  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5889  (eval $ac_compile) 2>&5
5890  ac_status=$?
5891  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5892  (exit $ac_status); }; then
5893    case `/usr/bin/file conftest.$ac_objext` in
5894      *ELF-32*)
5895	HPUX_IA64_MODE="32"
5896	;;
5897      *ELF-64*)
5898	HPUX_IA64_MODE="64"
5899	;;
5900    esac
5901  fi
5902  rm -rf conftest*
5903  ;;
5904*-*-irix6*)
5905  # Find out which ABI we are using.
5906  echo '#line 5906 "configure"' > conftest.$ac_ext
5907  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5908  (eval $ac_compile) 2>&5
5909  ac_status=$?
5910  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5911  (exit $ac_status); }; then
5912    if test "$lt_cv_prog_gnu_ld" = yes; then
5913      case `/usr/bin/file conftest.$ac_objext` in
5914	*32-bit*)
5915	  LD="${LD-ld} -melf32bsmip"
5916	  ;;
5917	*N32*)
5918	  LD="${LD-ld} -melf32bmipn32"
5919	  ;;
5920	*64-bit*)
5921	  LD="${LD-ld} -melf64bmip"
5922	;;
5923      esac
5924    else
5925      case `/usr/bin/file conftest.$ac_objext` in
5926	*32-bit*)
5927	  LD="${LD-ld} -32"
5928	  ;;
5929	*N32*)
5930	  LD="${LD-ld} -n32"
5931	  ;;
5932	*64-bit*)
5933	  LD="${LD-ld} -64"
5934	  ;;
5935      esac
5936    fi
5937  fi
5938  rm -rf conftest*
5939  ;;
5940
5941x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5942s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5943  # Find out which ABI we are using.
5944  echo 'int i;' > conftest.$ac_ext
5945  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5946  (eval $ac_compile) 2>&5
5947  ac_status=$?
5948  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5949  (exit $ac_status); }; then
5950    case `/usr/bin/file conftest.o` in
5951      *32-bit*)
5952	case $host in
5953	  x86_64-*kfreebsd*-gnu)
5954	    LD="${LD-ld} -m elf_i386_fbsd"
5955	    ;;
5956	  x86_64-*linux*)
5957	    LD="${LD-ld} -m elf_i386"
5958	    ;;
5959	  ppc64-*linux*|powerpc64-*linux*)
5960	    LD="${LD-ld} -m elf32ppclinux"
5961	    ;;
5962	  s390x-*linux*)
5963	    LD="${LD-ld} -m elf_s390"
5964	    ;;
5965	  sparc64-*linux*)
5966	    LD="${LD-ld} -m elf32_sparc"
5967	    ;;
5968	esac
5969	;;
5970      *64-bit*)
5971	case $host in
5972	  x86_64-*kfreebsd*-gnu)
5973	    LD="${LD-ld} -m elf_x86_64_fbsd"
5974	    ;;
5975	  x86_64-*linux*)
5976	    LD="${LD-ld} -m elf_x86_64"
5977	    ;;
5978	  ppc*-*linux*|powerpc*-*linux*)
5979	    LD="${LD-ld} -m elf64ppc"
5980	    ;;
5981	  s390*-*linux*|s390*-*tpf*)
5982	    LD="${LD-ld} -m elf64_s390"
5983	    ;;
5984	  sparc*-*linux*)
5985	    LD="${LD-ld} -m elf64_sparc"
5986	    ;;
5987	esac
5988	;;
5989    esac
5990  fi
5991  rm -rf conftest*
5992  ;;
5993
5994*-*-sco3.2v5*)
5995  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5996  SAVE_CFLAGS="$CFLAGS"
5997  CFLAGS="$CFLAGS -belf"
5998  { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5999$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6000if test "${lt_cv_cc_needs_belf+set}" = set; then
6001  $as_echo_n "(cached) " >&6
6002else
6003  ac_ext=c
6004ac_cpp='$CPP $CPPFLAGS'
6005ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6006ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6007ac_compiler_gnu=$ac_cv_c_compiler_gnu
6008
6009     cat >conftest.$ac_ext <<_ACEOF
6010/* confdefs.h.  */
6011_ACEOF
6012cat confdefs.h >>conftest.$ac_ext
6013cat >>conftest.$ac_ext <<_ACEOF
6014/* end confdefs.h.  */
6015
6016int
6017main ()
6018{
6019
6020  ;
6021  return 0;
6022}
6023_ACEOF
6024rm -f conftest.$ac_objext conftest$ac_exeext
6025if { (ac_try="$ac_link"
6026case "(($ac_try" in
6027  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6028  *) ac_try_echo=$ac_try;;
6029esac
6030eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6031$as_echo "$ac_try_echo") >&5
6032  (eval "$ac_link") 2>conftest.er1
6033  ac_status=$?
6034  grep -v '^ *+' conftest.er1 >conftest.err
6035  rm -f conftest.er1
6036  cat conftest.err >&5
6037  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6038  (exit $ac_status); } && {
6039	 test -z "$ac_c_werror_flag" ||
6040	 test ! -s conftest.err
6041       } && test -s conftest$ac_exeext && {
6042	 test "$cross_compiling" = yes ||
6043	 $as_test_x conftest$ac_exeext
6044       }; then
6045  lt_cv_cc_needs_belf=yes
6046else
6047  $as_echo "$as_me: failed program was:" >&5
6048sed 's/^/| /' conftest.$ac_ext >&5
6049
6050	lt_cv_cc_needs_belf=no
6051fi
6052
6053rm -rf conftest.dSYM
6054rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6055      conftest$ac_exeext conftest.$ac_ext
6056     ac_ext=c
6057ac_cpp='$CPP $CPPFLAGS'
6058ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6059ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6060ac_compiler_gnu=$ac_cv_c_compiler_gnu
6061
6062fi
6063{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
6064$as_echo "$lt_cv_cc_needs_belf" >&6; }
6065  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6066    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6067    CFLAGS="$SAVE_CFLAGS"
6068  fi
6069  ;;
6070sparc*-*solaris*)
6071  # Find out which ABI we are using.
6072  echo 'int i;' > conftest.$ac_ext
6073  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6074  (eval $ac_compile) 2>&5
6075  ac_status=$?
6076  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6077  (exit $ac_status); }; then
6078    case `/usr/bin/file conftest.o` in
6079    *64-bit*)
6080      case $lt_cv_prog_gnu_ld in
6081      yes*) LD="${LD-ld} -m elf64_sparc" ;;
6082      *)
6083	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6084	  LD="${LD-ld} -64"
6085	fi
6086	;;
6087      esac
6088      ;;
6089    esac
6090  fi
6091  rm -rf conftest*
6092  ;;
6093esac
6094
6095need_locks="$enable_libtool_lock"
6096
6097
6098  case $host_os in
6099    rhapsody* | darwin*)
6100    if test -n "$ac_tool_prefix"; then
6101  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6102set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6103{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6104$as_echo_n "checking for $ac_word... " >&6; }
6105if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
6106  $as_echo_n "(cached) " >&6
6107else
6108  if test -n "$DSYMUTIL"; then
6109  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6110else
6111as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6112for as_dir in $PATH
6113do
6114  IFS=$as_save_IFS
6115  test -z "$as_dir" && as_dir=.
6116  for ac_exec_ext in '' $ac_executable_extensions; do
6117  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6118    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6119    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6120    break 2
6121  fi
6122done
6123done
6124IFS=$as_save_IFS
6125
6126fi
6127fi
6128DSYMUTIL=$ac_cv_prog_DSYMUTIL
6129if test -n "$DSYMUTIL"; then
6130  { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
6131$as_echo "$DSYMUTIL" >&6; }
6132else
6133  { $as_echo "$as_me:$LINENO: result: no" >&5
6134$as_echo "no" >&6; }
6135fi
6136
6137
6138fi
6139if test -z "$ac_cv_prog_DSYMUTIL"; then
6140  ac_ct_DSYMUTIL=$DSYMUTIL
6141  # Extract the first word of "dsymutil", so it can be a program name with args.
6142set dummy dsymutil; ac_word=$2
6143{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6144$as_echo_n "checking for $ac_word... " >&6; }
6145if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
6146  $as_echo_n "(cached) " >&6
6147else
6148  if test -n "$ac_ct_DSYMUTIL"; then
6149  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6150else
6151as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6152for as_dir in $PATH
6153do
6154  IFS=$as_save_IFS
6155  test -z "$as_dir" && as_dir=.
6156  for ac_exec_ext in '' $ac_executable_extensions; do
6157  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6158    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6159    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6160    break 2
6161  fi
6162done
6163done
6164IFS=$as_save_IFS
6165
6166fi
6167fi
6168ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6169if test -n "$ac_ct_DSYMUTIL"; then
6170  { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
6171$as_echo "$ac_ct_DSYMUTIL" >&6; }
6172else
6173  { $as_echo "$as_me:$LINENO: result: no" >&5
6174$as_echo "no" >&6; }
6175fi
6176
6177  if test "x$ac_ct_DSYMUTIL" = x; then
6178    DSYMUTIL=":"
6179  else
6180    case $cross_compiling:$ac_tool_warned in
6181yes:)
6182{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6183$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6184ac_tool_warned=yes ;;
6185esac
6186    DSYMUTIL=$ac_ct_DSYMUTIL
6187  fi
6188else
6189  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6190fi
6191
6192    if test -n "$ac_tool_prefix"; then
6193  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6194set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6195{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6196$as_echo_n "checking for $ac_word... " >&6; }
6197if test "${ac_cv_prog_NMEDIT+set}" = set; then
6198  $as_echo_n "(cached) " >&6
6199else
6200  if test -n "$NMEDIT"; then
6201  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6202else
6203as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6204for as_dir in $PATH
6205do
6206  IFS=$as_save_IFS
6207  test -z "$as_dir" && as_dir=.
6208  for ac_exec_ext in '' $ac_executable_extensions; do
6209  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6210    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6211    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6212    break 2
6213  fi
6214done
6215done
6216IFS=$as_save_IFS
6217
6218fi
6219fi
6220NMEDIT=$ac_cv_prog_NMEDIT
6221if test -n "$NMEDIT"; then
6222  { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
6223$as_echo "$NMEDIT" >&6; }
6224else
6225  { $as_echo "$as_me:$LINENO: result: no" >&5
6226$as_echo "no" >&6; }
6227fi
6228
6229
6230fi
6231if test -z "$ac_cv_prog_NMEDIT"; then
6232  ac_ct_NMEDIT=$NMEDIT
6233  # Extract the first word of "nmedit", so it can be a program name with args.
6234set dummy nmedit; ac_word=$2
6235{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6236$as_echo_n "checking for $ac_word... " >&6; }
6237if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
6238  $as_echo_n "(cached) " >&6
6239else
6240  if test -n "$ac_ct_NMEDIT"; then
6241  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6242else
6243as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6244for as_dir in $PATH
6245do
6246  IFS=$as_save_IFS
6247  test -z "$as_dir" && as_dir=.
6248  for ac_exec_ext in '' $ac_executable_extensions; do
6249  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6250    ac_cv_prog_ac_ct_NMEDIT="nmedit"
6251    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6252    break 2
6253  fi
6254done
6255done
6256IFS=$as_save_IFS
6257
6258fi
6259fi
6260ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6261if test -n "$ac_ct_NMEDIT"; then
6262  { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
6263$as_echo "$ac_ct_NMEDIT" >&6; }
6264else
6265  { $as_echo "$as_me:$LINENO: result: no" >&5
6266$as_echo "no" >&6; }
6267fi
6268
6269  if test "x$ac_ct_NMEDIT" = x; then
6270    NMEDIT=":"
6271  else
6272    case $cross_compiling:$ac_tool_warned in
6273yes:)
6274{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6275$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6276ac_tool_warned=yes ;;
6277esac
6278    NMEDIT=$ac_ct_NMEDIT
6279  fi
6280else
6281  NMEDIT="$ac_cv_prog_NMEDIT"
6282fi
6283
6284    if test -n "$ac_tool_prefix"; then
6285  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6286set dummy ${ac_tool_prefix}lipo; ac_word=$2
6287{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6288$as_echo_n "checking for $ac_word... " >&6; }
6289if test "${ac_cv_prog_LIPO+set}" = set; then
6290  $as_echo_n "(cached) " >&6
6291else
6292  if test -n "$LIPO"; then
6293  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6294else
6295as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6296for as_dir in $PATH
6297do
6298  IFS=$as_save_IFS
6299  test -z "$as_dir" && as_dir=.
6300  for ac_exec_ext in '' $ac_executable_extensions; do
6301  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6302    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6303    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6304    break 2
6305  fi
6306done
6307done
6308IFS=$as_save_IFS
6309
6310fi
6311fi
6312LIPO=$ac_cv_prog_LIPO
6313if test -n "$LIPO"; then
6314  { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
6315$as_echo "$LIPO" >&6; }
6316else
6317  { $as_echo "$as_me:$LINENO: result: no" >&5
6318$as_echo "no" >&6; }
6319fi
6320
6321
6322fi
6323if test -z "$ac_cv_prog_LIPO"; then
6324  ac_ct_LIPO=$LIPO
6325  # Extract the first word of "lipo", so it can be a program name with args.
6326set dummy lipo; ac_word=$2
6327{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6328$as_echo_n "checking for $ac_word... " >&6; }
6329if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
6330  $as_echo_n "(cached) " >&6
6331else
6332  if test -n "$ac_ct_LIPO"; then
6333  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6334else
6335as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6336for as_dir in $PATH
6337do
6338  IFS=$as_save_IFS
6339  test -z "$as_dir" && as_dir=.
6340  for ac_exec_ext in '' $ac_executable_extensions; do
6341  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6342    ac_cv_prog_ac_ct_LIPO="lipo"
6343    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6344    break 2
6345  fi
6346done
6347done
6348IFS=$as_save_IFS
6349
6350fi
6351fi
6352ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6353if test -n "$ac_ct_LIPO"; then
6354  { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
6355$as_echo "$ac_ct_LIPO" >&6; }
6356else
6357  { $as_echo "$as_me:$LINENO: result: no" >&5
6358$as_echo "no" >&6; }
6359fi
6360
6361  if test "x$ac_ct_LIPO" = x; then
6362    LIPO=":"
6363  else
6364    case $cross_compiling:$ac_tool_warned in
6365yes:)
6366{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6367$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6368ac_tool_warned=yes ;;
6369esac
6370    LIPO=$ac_ct_LIPO
6371  fi
6372else
6373  LIPO="$ac_cv_prog_LIPO"
6374fi
6375
6376    if test -n "$ac_tool_prefix"; then
6377  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6378set dummy ${ac_tool_prefix}otool; ac_word=$2
6379{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6380$as_echo_n "checking for $ac_word... " >&6; }
6381if test "${ac_cv_prog_OTOOL+set}" = set; then
6382  $as_echo_n "(cached) " >&6
6383else
6384  if test -n "$OTOOL"; then
6385  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6386else
6387as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6388for as_dir in $PATH
6389do
6390  IFS=$as_save_IFS
6391  test -z "$as_dir" && as_dir=.
6392  for ac_exec_ext in '' $ac_executable_extensions; do
6393  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6394    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6395    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6396    break 2
6397  fi
6398done
6399done
6400IFS=$as_save_IFS
6401
6402fi
6403fi
6404OTOOL=$ac_cv_prog_OTOOL
6405if test -n "$OTOOL"; then
6406  { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
6407$as_echo "$OTOOL" >&6; }
6408else
6409  { $as_echo "$as_me:$LINENO: result: no" >&5
6410$as_echo "no" >&6; }
6411fi
6412
6413
6414fi
6415if test -z "$ac_cv_prog_OTOOL"; then
6416  ac_ct_OTOOL=$OTOOL
6417  # Extract the first word of "otool", so it can be a program name with args.
6418set dummy otool; ac_word=$2
6419{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6420$as_echo_n "checking for $ac_word... " >&6; }
6421if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
6422  $as_echo_n "(cached) " >&6
6423else
6424  if test -n "$ac_ct_OTOOL"; then
6425  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6426else
6427as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6428for as_dir in $PATH
6429do
6430  IFS=$as_save_IFS
6431  test -z "$as_dir" && as_dir=.
6432  for ac_exec_ext in '' $ac_executable_extensions; do
6433  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6434    ac_cv_prog_ac_ct_OTOOL="otool"
6435    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6436    break 2
6437  fi
6438done
6439done
6440IFS=$as_save_IFS
6441
6442fi
6443fi
6444ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6445if test -n "$ac_ct_OTOOL"; then
6446  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
6447$as_echo "$ac_ct_OTOOL" >&6; }
6448else
6449  { $as_echo "$as_me:$LINENO: result: no" >&5
6450$as_echo "no" >&6; }
6451fi
6452
6453  if test "x$ac_ct_OTOOL" = x; then
6454    OTOOL=":"
6455  else
6456    case $cross_compiling:$ac_tool_warned in
6457yes:)
6458{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6459$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6460ac_tool_warned=yes ;;
6461esac
6462    OTOOL=$ac_ct_OTOOL
6463  fi
6464else
6465  OTOOL="$ac_cv_prog_OTOOL"
6466fi
6467
6468    if test -n "$ac_tool_prefix"; then
6469  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6470set dummy ${ac_tool_prefix}otool64; ac_word=$2
6471{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6472$as_echo_n "checking for $ac_word... " >&6; }
6473if test "${ac_cv_prog_OTOOL64+set}" = set; then
6474  $as_echo_n "(cached) " >&6
6475else
6476  if test -n "$OTOOL64"; then
6477  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6478else
6479as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6480for as_dir in $PATH
6481do
6482  IFS=$as_save_IFS
6483  test -z "$as_dir" && as_dir=.
6484  for ac_exec_ext in '' $ac_executable_extensions; do
6485  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6486    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6487    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6488    break 2
6489  fi
6490done
6491done
6492IFS=$as_save_IFS
6493
6494fi
6495fi
6496OTOOL64=$ac_cv_prog_OTOOL64
6497if test -n "$OTOOL64"; then
6498  { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
6499$as_echo "$OTOOL64" >&6; }
6500else
6501  { $as_echo "$as_me:$LINENO: result: no" >&5
6502$as_echo "no" >&6; }
6503fi
6504
6505
6506fi
6507if test -z "$ac_cv_prog_OTOOL64"; then
6508  ac_ct_OTOOL64=$OTOOL64
6509  # Extract the first word of "otool64", so it can be a program name with args.
6510set dummy otool64; ac_word=$2
6511{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6512$as_echo_n "checking for $ac_word... " >&6; }
6513if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
6514  $as_echo_n "(cached) " >&6
6515else
6516  if test -n "$ac_ct_OTOOL64"; then
6517  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6518else
6519as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6520for as_dir in $PATH
6521do
6522  IFS=$as_save_IFS
6523  test -z "$as_dir" && as_dir=.
6524  for ac_exec_ext in '' $ac_executable_extensions; do
6525  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6526    ac_cv_prog_ac_ct_OTOOL64="otool64"
6527    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6528    break 2
6529  fi
6530done
6531done
6532IFS=$as_save_IFS
6533
6534fi
6535fi
6536ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6537if test -n "$ac_ct_OTOOL64"; then
6538  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
6539$as_echo "$ac_ct_OTOOL64" >&6; }
6540else
6541  { $as_echo "$as_me:$LINENO: result: no" >&5
6542$as_echo "no" >&6; }
6543fi
6544
6545  if test "x$ac_ct_OTOOL64" = x; then
6546    OTOOL64=":"
6547  else
6548    case $cross_compiling:$ac_tool_warned in
6549yes:)
6550{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6551$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6552ac_tool_warned=yes ;;
6553esac
6554    OTOOL64=$ac_ct_OTOOL64
6555  fi
6556else
6557  OTOOL64="$ac_cv_prog_OTOOL64"
6558fi
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586    { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
6587$as_echo_n "checking for -single_module linker flag... " >&6; }
6588if test "${lt_cv_apple_cc_single_mod+set}" = set; then
6589  $as_echo_n "(cached) " >&6
6590else
6591  lt_cv_apple_cc_single_mod=no
6592      if test -z "${LT_MULTI_MODULE}"; then
6593	# By default we will add the -single_module flag. You can override
6594	# by either setting the environment variable LT_MULTI_MODULE
6595	# non-empty at configure time, or by adding -multi_module to the
6596	# link flags.
6597	rm -rf libconftest.dylib*
6598	echo "int foo(void){return 1;}" > conftest.c
6599	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6600-dynamiclib -Wl,-single_module conftest.c" >&5
6601	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6602	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6603        _lt_result=$?
6604	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6605	  lt_cv_apple_cc_single_mod=yes
6606	else
6607	  cat conftest.err >&5
6608	fi
6609	rm -rf libconftest.dylib*
6610	rm -f conftest.*
6611      fi
6612fi
6613{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
6614$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6615    { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
6616$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6617if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
6618  $as_echo_n "(cached) " >&6
6619else
6620  lt_cv_ld_exported_symbols_list=no
6621      save_LDFLAGS=$LDFLAGS
6622      echo "_main" > conftest.sym
6623      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6624      cat >conftest.$ac_ext <<_ACEOF
6625/* confdefs.h.  */
6626_ACEOF
6627cat confdefs.h >>conftest.$ac_ext
6628cat >>conftest.$ac_ext <<_ACEOF
6629/* end confdefs.h.  */
6630
6631int
6632main ()
6633{
6634
6635  ;
6636  return 0;
6637}
6638_ACEOF
6639rm -f conftest.$ac_objext conftest$ac_exeext
6640if { (ac_try="$ac_link"
6641case "(($ac_try" in
6642  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6643  *) ac_try_echo=$ac_try;;
6644esac
6645eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6646$as_echo "$ac_try_echo") >&5
6647  (eval "$ac_link") 2>conftest.er1
6648  ac_status=$?
6649  grep -v '^ *+' conftest.er1 >conftest.err
6650  rm -f conftest.er1
6651  cat conftest.err >&5
6652  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6653  (exit $ac_status); } && {
6654	 test -z "$ac_c_werror_flag" ||
6655	 test ! -s conftest.err
6656       } && test -s conftest$ac_exeext && {
6657	 test "$cross_compiling" = yes ||
6658	 $as_test_x conftest$ac_exeext
6659       }; then
6660  lt_cv_ld_exported_symbols_list=yes
6661else
6662  $as_echo "$as_me: failed program was:" >&5
6663sed 's/^/| /' conftest.$ac_ext >&5
6664
6665	lt_cv_ld_exported_symbols_list=no
6666fi
6667
6668rm -rf conftest.dSYM
6669rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6670      conftest$ac_exeext conftest.$ac_ext
6671	LDFLAGS="$save_LDFLAGS"
6672
6673fi
6674{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
6675$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6676    case $host_os in
6677    rhapsody* | darwin1.[012])
6678      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6679    darwin1.*)
6680      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6681    darwin*) # darwin 5.x on
6682      # if running on 10.5 or later, the deployment target defaults
6683      # to the OS version, if on x86, and 10.4, the deployment
6684      # target defaults to 10.4. Don't you love it?
6685      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6686	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6687	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6688	10.[012]*)
6689	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6690	10.*)
6691	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6692      esac
6693    ;;
6694  esac
6695    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6696      _lt_dar_single_mod='$single_module'
6697    fi
6698    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6699      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6700    else
6701      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6702    fi
6703    if test "$DSYMUTIL" != ":"; then
6704      _lt_dsymutil='~$DSYMUTIL $lib || :'
6705    else
6706      _lt_dsymutil=
6707    fi
6708    ;;
6709  esac
6710
6711ac_ext=c
6712ac_cpp='$CPP $CPPFLAGS'
6713ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6714ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6715ac_compiler_gnu=$ac_cv_c_compiler_gnu
6716{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
6717$as_echo_n "checking how to run the C preprocessor... " >&6; }
6718# On Suns, sometimes $CPP names a directory.
6719if test -n "$CPP" && test -d "$CPP"; then
6720  CPP=
6721fi
6722if test -z "$CPP"; then
6723  if test "${ac_cv_prog_CPP+set}" = set; then
6724  $as_echo_n "(cached) " >&6
6725else
6726      # Double quotes because CPP needs to be expanded
6727    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6728    do
6729      ac_preproc_ok=false
6730for ac_c_preproc_warn_flag in '' yes
6731do
6732  # Use a header file that comes with gcc, so configuring glibc
6733  # with a fresh cross-compiler works.
6734  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6735  # <limits.h> exists even on freestanding compilers.
6736  # On the NeXT, cc -E runs the code through the compiler's parser,
6737  # not just through cpp. "Syntax error" is here to catch this case.
6738  cat >conftest.$ac_ext <<_ACEOF
6739/* confdefs.h.  */
6740_ACEOF
6741cat confdefs.h >>conftest.$ac_ext
6742cat >>conftest.$ac_ext <<_ACEOF
6743/* end confdefs.h.  */
6744#ifdef __STDC__
6745# include <limits.h>
6746#else
6747# include <assert.h>
6748#endif
6749		     Syntax error
6750_ACEOF
6751if { (ac_try="$ac_cpp conftest.$ac_ext"
6752case "(($ac_try" in
6753  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6754  *) ac_try_echo=$ac_try;;
6755esac
6756eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6757$as_echo "$ac_try_echo") >&5
6758  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6759  ac_status=$?
6760  grep -v '^ *+' conftest.er1 >conftest.err
6761  rm -f conftest.er1
6762  cat conftest.err >&5
6763  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6764  (exit $ac_status); } >/dev/null && {
6765	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6766	 test ! -s conftest.err
6767       }; then
6768  :
6769else
6770  $as_echo "$as_me: failed program was:" >&5
6771sed 's/^/| /' conftest.$ac_ext >&5
6772
6773  # Broken: fails on valid input.
6774continue
6775fi
6776
6777rm -f conftest.err conftest.$ac_ext
6778
6779  # OK, works on sane cases.  Now check whether nonexistent headers
6780  # can be detected and how.
6781  cat >conftest.$ac_ext <<_ACEOF
6782/* confdefs.h.  */
6783_ACEOF
6784cat confdefs.h >>conftest.$ac_ext
6785cat >>conftest.$ac_ext <<_ACEOF
6786/* end confdefs.h.  */
6787#include <ac_nonexistent.h>
6788_ACEOF
6789if { (ac_try="$ac_cpp conftest.$ac_ext"
6790case "(($ac_try" in
6791  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6792  *) ac_try_echo=$ac_try;;
6793esac
6794eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6795$as_echo "$ac_try_echo") >&5
6796  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6797  ac_status=$?
6798  grep -v '^ *+' conftest.er1 >conftest.err
6799  rm -f conftest.er1
6800  cat conftest.err >&5
6801  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6802  (exit $ac_status); } >/dev/null && {
6803	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6804	 test ! -s conftest.err
6805       }; then
6806  # Broken: success on invalid input.
6807continue
6808else
6809  $as_echo "$as_me: failed program was:" >&5
6810sed 's/^/| /' conftest.$ac_ext >&5
6811
6812  # Passes both tests.
6813ac_preproc_ok=:
6814break
6815fi
6816
6817rm -f conftest.err conftest.$ac_ext
6818
6819done
6820# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6821rm -f conftest.err conftest.$ac_ext
6822if $ac_preproc_ok; then
6823  break
6824fi
6825
6826    done
6827    ac_cv_prog_CPP=$CPP
6828
6829fi
6830  CPP=$ac_cv_prog_CPP
6831else
6832  ac_cv_prog_CPP=$CPP
6833fi
6834{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
6835$as_echo "$CPP" >&6; }
6836ac_preproc_ok=false
6837for ac_c_preproc_warn_flag in '' yes
6838do
6839  # Use a header file that comes with gcc, so configuring glibc
6840  # with a fresh cross-compiler works.
6841  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6842  # <limits.h> exists even on freestanding compilers.
6843  # On the NeXT, cc -E runs the code through the compiler's parser,
6844  # not just through cpp. "Syntax error" is here to catch this case.
6845  cat >conftest.$ac_ext <<_ACEOF
6846/* confdefs.h.  */
6847_ACEOF
6848cat confdefs.h >>conftest.$ac_ext
6849cat >>conftest.$ac_ext <<_ACEOF
6850/* end confdefs.h.  */
6851#ifdef __STDC__
6852# include <limits.h>
6853#else
6854# include <assert.h>
6855#endif
6856		     Syntax error
6857_ACEOF
6858if { (ac_try="$ac_cpp conftest.$ac_ext"
6859case "(($ac_try" in
6860  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6861  *) ac_try_echo=$ac_try;;
6862esac
6863eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6864$as_echo "$ac_try_echo") >&5
6865  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6866  ac_status=$?
6867  grep -v '^ *+' conftest.er1 >conftest.err
6868  rm -f conftest.er1
6869  cat conftest.err >&5
6870  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6871  (exit $ac_status); } >/dev/null && {
6872	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6873	 test ! -s conftest.err
6874       }; then
6875  :
6876else
6877  $as_echo "$as_me: failed program was:" >&5
6878sed 's/^/| /' conftest.$ac_ext >&5
6879
6880  # Broken: fails on valid input.
6881continue
6882fi
6883
6884rm -f conftest.err conftest.$ac_ext
6885
6886  # OK, works on sane cases.  Now check whether nonexistent headers
6887  # can be detected and how.
6888  cat >conftest.$ac_ext <<_ACEOF
6889/* confdefs.h.  */
6890_ACEOF
6891cat confdefs.h >>conftest.$ac_ext
6892cat >>conftest.$ac_ext <<_ACEOF
6893/* end confdefs.h.  */
6894#include <ac_nonexistent.h>
6895_ACEOF
6896if { (ac_try="$ac_cpp conftest.$ac_ext"
6897case "(($ac_try" in
6898  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6899  *) ac_try_echo=$ac_try;;
6900esac
6901eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6902$as_echo "$ac_try_echo") >&5
6903  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6904  ac_status=$?
6905  grep -v '^ *+' conftest.er1 >conftest.err
6906  rm -f conftest.er1
6907  cat conftest.err >&5
6908  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6909  (exit $ac_status); } >/dev/null && {
6910	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6911	 test ! -s conftest.err
6912       }; then
6913  # Broken: success on invalid input.
6914continue
6915else
6916  $as_echo "$as_me: failed program was:" >&5
6917sed 's/^/| /' conftest.$ac_ext >&5
6918
6919  # Passes both tests.
6920ac_preproc_ok=:
6921break
6922fi
6923
6924rm -f conftest.err conftest.$ac_ext
6925
6926done
6927# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6928rm -f conftest.err conftest.$ac_ext
6929if $ac_preproc_ok; then
6930  :
6931else
6932  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
6933$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6934{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6935See \`config.log' for more details." >&5
6936$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6937See \`config.log' for more details." >&2;}
6938   { (exit 1); exit 1; }; }; }
6939fi
6940
6941ac_ext=c
6942ac_cpp='$CPP $CPPFLAGS'
6943ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6944ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6945ac_compiler_gnu=$ac_cv_c_compiler_gnu
6946
6947
6948{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6949$as_echo_n "checking for ANSI C header files... " >&6; }
6950if test "${ac_cv_header_stdc+set}" = set; then
6951  $as_echo_n "(cached) " >&6
6952else
6953  cat >conftest.$ac_ext <<_ACEOF
6954/* confdefs.h.  */
6955_ACEOF
6956cat confdefs.h >>conftest.$ac_ext
6957cat >>conftest.$ac_ext <<_ACEOF
6958/* end confdefs.h.  */
6959#include <stdlib.h>
6960#include <stdarg.h>
6961#include <string.h>
6962#include <float.h>
6963
6964int
6965main ()
6966{
6967
6968  ;
6969  return 0;
6970}
6971_ACEOF
6972rm -f conftest.$ac_objext
6973if { (ac_try="$ac_compile"
6974case "(($ac_try" in
6975  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6976  *) ac_try_echo=$ac_try;;
6977esac
6978eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6979$as_echo "$ac_try_echo") >&5
6980  (eval "$ac_compile") 2>conftest.er1
6981  ac_status=$?
6982  grep -v '^ *+' conftest.er1 >conftest.err
6983  rm -f conftest.er1
6984  cat conftest.err >&5
6985  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6986  (exit $ac_status); } && {
6987	 test -z "$ac_c_werror_flag" ||
6988	 test ! -s conftest.err
6989       } && test -s conftest.$ac_objext; then
6990  ac_cv_header_stdc=yes
6991else
6992  $as_echo "$as_me: failed program was:" >&5
6993sed 's/^/| /' conftest.$ac_ext >&5
6994
6995	ac_cv_header_stdc=no
6996fi
6997
6998rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6999
7000if test $ac_cv_header_stdc = yes; then
7001  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7002  cat >conftest.$ac_ext <<_ACEOF
7003/* confdefs.h.  */
7004_ACEOF
7005cat confdefs.h >>conftest.$ac_ext
7006cat >>conftest.$ac_ext <<_ACEOF
7007/* end confdefs.h.  */
7008#include <string.h>
7009
7010_ACEOF
7011if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7012  $EGREP "memchr" >/dev/null 2>&1; then
7013  :
7014else
7015  ac_cv_header_stdc=no
7016fi
7017rm -f conftest*
7018
7019fi
7020
7021if test $ac_cv_header_stdc = yes; then
7022  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7023  cat >conftest.$ac_ext <<_ACEOF
7024/* confdefs.h.  */
7025_ACEOF
7026cat confdefs.h >>conftest.$ac_ext
7027cat >>conftest.$ac_ext <<_ACEOF
7028/* end confdefs.h.  */
7029#include <stdlib.h>
7030
7031_ACEOF
7032if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7033  $EGREP "free" >/dev/null 2>&1; then
7034  :
7035else
7036  ac_cv_header_stdc=no
7037fi
7038rm -f conftest*
7039
7040fi
7041
7042if test $ac_cv_header_stdc = yes; then
7043  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7044  if test "$cross_compiling" = yes; then
7045  :
7046else
7047  cat >conftest.$ac_ext <<_ACEOF
7048/* confdefs.h.  */
7049_ACEOF
7050cat confdefs.h >>conftest.$ac_ext
7051cat >>conftest.$ac_ext <<_ACEOF
7052/* end confdefs.h.  */
7053#include <ctype.h>
7054#include <stdlib.h>
7055#if ((' ' & 0x0FF) == 0x020)
7056# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7057# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7058#else
7059# define ISLOWER(c) \
7060		   (('a' <= (c) && (c) <= 'i') \
7061		     || ('j' <= (c) && (c) <= 'r') \
7062		     || ('s' <= (c) && (c) <= 'z'))
7063# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7064#endif
7065
7066#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7067int
7068main ()
7069{
7070  int i;
7071  for (i = 0; i < 256; i++)
7072    if (XOR (islower (i), ISLOWER (i))
7073	|| toupper (i) != TOUPPER (i))
7074      return 2;
7075  return 0;
7076}
7077_ACEOF
7078rm -f conftest$ac_exeext
7079if { (ac_try="$ac_link"
7080case "(($ac_try" in
7081  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7082  *) ac_try_echo=$ac_try;;
7083esac
7084eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7085$as_echo "$ac_try_echo") >&5
7086  (eval "$ac_link") 2>&5
7087  ac_status=$?
7088  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7089  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7090  { (case "(($ac_try" in
7091  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7092  *) ac_try_echo=$ac_try;;
7093esac
7094eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7095$as_echo "$ac_try_echo") >&5
7096  (eval "$ac_try") 2>&5
7097  ac_status=$?
7098  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7099  (exit $ac_status); }; }; then
7100  :
7101else
7102  $as_echo "$as_me: program exited with status $ac_status" >&5
7103$as_echo "$as_me: failed program was:" >&5
7104sed 's/^/| /' conftest.$ac_ext >&5
7105
7106( exit $ac_status )
7107ac_cv_header_stdc=no
7108fi
7109rm -rf conftest.dSYM
7110rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7111fi
7112
7113
7114fi
7115fi
7116{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7117$as_echo "$ac_cv_header_stdc" >&6; }
7118if test $ac_cv_header_stdc = yes; then
7119
7120cat >>confdefs.h <<\_ACEOF
7121#define STDC_HEADERS 1
7122_ACEOF
7123
7124fi
7125
7126# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7137		  inttypes.h stdint.h unistd.h
7138do
7139as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7140{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7141$as_echo_n "checking for $ac_header... " >&6; }
7142if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7143  $as_echo_n "(cached) " >&6
7144else
7145  cat >conftest.$ac_ext <<_ACEOF
7146/* confdefs.h.  */
7147_ACEOF
7148cat confdefs.h >>conftest.$ac_ext
7149cat >>conftest.$ac_ext <<_ACEOF
7150/* end confdefs.h.  */
7151$ac_includes_default
7152
7153#include <$ac_header>
7154_ACEOF
7155rm -f conftest.$ac_objext
7156if { (ac_try="$ac_compile"
7157case "(($ac_try" in
7158  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7159  *) ac_try_echo=$ac_try;;
7160esac
7161eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7162$as_echo "$ac_try_echo") >&5
7163  (eval "$ac_compile") 2>conftest.er1
7164  ac_status=$?
7165  grep -v '^ *+' conftest.er1 >conftest.err
7166  rm -f conftest.er1
7167  cat conftest.err >&5
7168  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7169  (exit $ac_status); } && {
7170	 test -z "$ac_c_werror_flag" ||
7171	 test ! -s conftest.err
7172       } && test -s conftest.$ac_objext; then
7173  eval "$as_ac_Header=yes"
7174else
7175  $as_echo "$as_me: failed program was:" >&5
7176sed 's/^/| /' conftest.$ac_ext >&5
7177
7178	eval "$as_ac_Header=no"
7179fi
7180
7181rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7182fi
7183ac_res=`eval 'as_val=${'$as_ac_Header'}
7184		 $as_echo "$as_val"'`
7185	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7186$as_echo "$ac_res" >&6; }
7187as_val=`eval 'as_val=${'$as_ac_Header'}
7188		 $as_echo "$as_val"'`
7189   if test "x$as_val" = x""yes; then
7190  cat >>confdefs.h <<_ACEOF
7191#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7192_ACEOF
7193
7194fi
7195
7196done
7197
7198
7199
7200for ac_header in dlfcn.h
7201do
7202as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7203{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7204$as_echo_n "checking for $ac_header... " >&6; }
7205if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7206  $as_echo_n "(cached) " >&6
7207else
7208  cat >conftest.$ac_ext <<_ACEOF
7209/* confdefs.h.  */
7210_ACEOF
7211cat confdefs.h >>conftest.$ac_ext
7212cat >>conftest.$ac_ext <<_ACEOF
7213/* end confdefs.h.  */
7214$ac_includes_default
7215
7216#include <$ac_header>
7217_ACEOF
7218rm -f conftest.$ac_objext
7219if { (ac_try="$ac_compile"
7220case "(($ac_try" in
7221  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7222  *) ac_try_echo=$ac_try;;
7223esac
7224eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7225$as_echo "$ac_try_echo") >&5
7226  (eval "$ac_compile") 2>conftest.er1
7227  ac_status=$?
7228  grep -v '^ *+' conftest.er1 >conftest.err
7229  rm -f conftest.er1
7230  cat conftest.err >&5
7231  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7232  (exit $ac_status); } && {
7233	 test -z "$ac_c_werror_flag" ||
7234	 test ! -s conftest.err
7235       } && test -s conftest.$ac_objext; then
7236  eval "$as_ac_Header=yes"
7237else
7238  $as_echo "$as_me: failed program was:" >&5
7239sed 's/^/| /' conftest.$ac_ext >&5
7240
7241	eval "$as_ac_Header=no"
7242fi
7243
7244rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7245fi
7246ac_res=`eval 'as_val=${'$as_ac_Header'}
7247		 $as_echo "$as_val"'`
7248	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7249$as_echo "$ac_res" >&6; }
7250as_val=`eval 'as_val=${'$as_ac_Header'}
7251		 $as_echo "$as_val"'`
7252   if test "x$as_val" = x""yes; then
7253  cat >>confdefs.h <<_ACEOF
7254#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7255_ACEOF
7256
7257fi
7258
7259done
7260
7261
7262
7263# Set options
7264
7265
7266
7267        enable_dlopen=no
7268
7269
7270  enable_win32_dll=no
7271
7272
7273            # Check whether --enable-shared was given.
7274if test "${enable_shared+set}" = set; then
7275  enableval=$enable_shared; p=${PACKAGE-default}
7276    case $enableval in
7277    yes) enable_shared=yes ;;
7278    no) enable_shared=no ;;
7279    *)
7280      enable_shared=no
7281      # Look at the argument we got.  We use all the common list separators.
7282      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7283      for pkg in $enableval; do
7284	IFS="$lt_save_ifs"
7285	if test "X$pkg" = "X$p"; then
7286	  enable_shared=yes
7287	fi
7288      done
7289      IFS="$lt_save_ifs"
7290      ;;
7291    esac
7292else
7293  enable_shared=yes
7294fi
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304  # Check whether --enable-static was given.
7305if test "${enable_static+set}" = set; then
7306  enableval=$enable_static; p=${PACKAGE-default}
7307    case $enableval in
7308    yes) enable_static=yes ;;
7309    no) enable_static=no ;;
7310    *)
7311     enable_static=no
7312      # Look at the argument we got.  We use all the common list separators.
7313      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7314      for pkg in $enableval; do
7315	IFS="$lt_save_ifs"
7316	if test "X$pkg" = "X$p"; then
7317	  enable_static=yes
7318	fi
7319      done
7320      IFS="$lt_save_ifs"
7321      ;;
7322    esac
7323else
7324  enable_static=yes
7325fi
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335
7336# Check whether --with-pic was given.
7337if test "${with_pic+set}" = set; then
7338  withval=$with_pic; pic_mode="$withval"
7339else
7340  pic_mode=default
7341fi
7342
7343
7344test -z "$pic_mode" && pic_mode=default
7345
7346
7347
7348
7349
7350
7351
7352  # Check whether --enable-fast-install was given.
7353if test "${enable_fast_install+set}" = set; then
7354  enableval=$enable_fast_install; p=${PACKAGE-default}
7355    case $enableval in
7356    yes) enable_fast_install=yes ;;
7357    no) enable_fast_install=no ;;
7358    *)
7359      enable_fast_install=no
7360      # Look at the argument we got.  We use all the common list separators.
7361      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7362      for pkg in $enableval; do
7363	IFS="$lt_save_ifs"
7364	if test "X$pkg" = "X$p"; then
7365	  enable_fast_install=yes
7366	fi
7367      done
7368      IFS="$lt_save_ifs"
7369      ;;
7370    esac
7371else
7372  enable_fast_install=yes
7373fi
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
7385# This can be used to rebuild libtool when needed
7386LIBTOOL_DEPS="$ltmain"
7387
7388# Always use our own libtool.
7389LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415test -z "$LN_S" && LN_S="ln -s"
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430if test -n "${ZSH_VERSION+set}" ; then
7431   setopt NO_GLOB_SUBST
7432fi
7433
7434{ $as_echo "$as_me:$LINENO: checking for objdir" >&5
7435$as_echo_n "checking for objdir... " >&6; }
7436if test "${lt_cv_objdir+set}" = set; then
7437  $as_echo_n "(cached) " >&6
7438else
7439  rm -f .libs 2>/dev/null
7440mkdir .libs 2>/dev/null
7441if test -d .libs; then
7442  lt_cv_objdir=.libs
7443else
7444  # MS-DOS does not allow filenames that begin with a dot.
7445  lt_cv_objdir=_libs
7446fi
7447rmdir .libs 2>/dev/null
7448fi
7449{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7450$as_echo "$lt_cv_objdir" >&6; }
7451objdir=$lt_cv_objdir
7452
7453
7454
7455
7456
7457cat >>confdefs.h <<_ACEOF
7458#define LT_OBJDIR "$lt_cv_objdir/"
7459_ACEOF
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477case $host_os in
7478aix3*)
7479  # AIX sometimes has problems with the GCC collect2 program.  For some
7480  # reason, if we set the COLLECT_NAMES environment variable, the problems
7481  # vanish in a puff of smoke.
7482  if test "X${COLLECT_NAMES+set}" != Xset; then
7483    COLLECT_NAMES=
7484    export COLLECT_NAMES
7485  fi
7486  ;;
7487esac
7488
7489# Sed substitution that helps us do robust quoting.  It backslashifies
7490# metacharacters that are still active within double-quoted strings.
7491sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7492
7493# Same as above, but do not quote variable references.
7494double_quote_subst='s/\(["`\\]\)/\\\1/g'
7495
7496# Sed substitution to delay expansion of an escaped shell variable in a
7497# double_quote_subst'ed string.
7498delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7499
7500# Sed substitution to delay expansion of an escaped single quote.
7501delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7502
7503# Sed substitution to avoid accidental globbing in evaled expressions
7504no_glob_subst='s/\*/\\\*/g'
7505
7506# Global variables:
7507ofile=libtool
7508can_build_shared=yes
7509
7510# All known linkers require a `.a' archive for static linking (except MSVC,
7511# which needs '.lib').
7512libext=a
7513
7514with_gnu_ld="$lt_cv_prog_gnu_ld"
7515
7516old_CC="$CC"
7517old_CFLAGS="$CFLAGS"
7518
7519# Set sane defaults for various variables
7520test -z "$CC" && CC=cc
7521test -z "$LTCC" && LTCC=$CC
7522test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7523test -z "$LD" && LD=ld
7524test -z "$ac_objext" && ac_objext=o
7525
7526for cc_temp in $compiler""; do
7527  case $cc_temp in
7528    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7529    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7530    \-*) ;;
7531    *) break;;
7532  esac
7533done
7534cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7535
7536
7537# Only perform the check for file, if the check method requires it
7538test -z "$MAGIC_CMD" && MAGIC_CMD=file
7539case $deplibs_check_method in
7540file_magic*)
7541  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7542    { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7543$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7544if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7545  $as_echo_n "(cached) " >&6
7546else
7547  case $MAGIC_CMD in
7548[\\/*] |  ?:[\\/]*)
7549  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7550  ;;
7551*)
7552  lt_save_MAGIC_CMD="$MAGIC_CMD"
7553  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7554  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7555  for ac_dir in $ac_dummy; do
7556    IFS="$lt_save_ifs"
7557    test -z "$ac_dir" && ac_dir=.
7558    if test -f $ac_dir/${ac_tool_prefix}file; then
7559      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7560      if test -n "$file_magic_test_file"; then
7561	case $deplibs_check_method in
7562	"file_magic "*)
7563	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7564	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7565	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7566	    $EGREP "$file_magic_regex" > /dev/null; then
7567	    :
7568	  else
7569	    cat <<_LT_EOF 1>&2
7570
7571*** Warning: the command libtool uses to detect shared libraries,
7572*** $file_magic_cmd, produces output that libtool cannot recognize.
7573*** The result is that libtool may fail to recognize shared libraries
7574*** as such.  This will affect the creation of libtool libraries that
7575*** depend on shared libraries, but programs linked with such libtool
7576*** libraries will work regardless of this problem.  Nevertheless, you
7577*** may want to report the problem to your system manager and/or to
7578*** bug-libtool@gnu.org
7579
7580_LT_EOF
7581	  fi ;;
7582	esac
7583      fi
7584      break
7585    fi
7586  done
7587  IFS="$lt_save_ifs"
7588  MAGIC_CMD="$lt_save_MAGIC_CMD"
7589  ;;
7590esac
7591fi
7592
7593MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7594if test -n "$MAGIC_CMD"; then
7595  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7596$as_echo "$MAGIC_CMD" >&6; }
7597else
7598  { $as_echo "$as_me:$LINENO: result: no" >&5
7599$as_echo "no" >&6; }
7600fi
7601
7602
7603
7604
7605
7606if test -z "$lt_cv_path_MAGIC_CMD"; then
7607  if test -n "$ac_tool_prefix"; then
7608    { $as_echo "$as_me:$LINENO: checking for file" >&5
7609$as_echo_n "checking for file... " >&6; }
7610if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7611  $as_echo_n "(cached) " >&6
7612else
7613  case $MAGIC_CMD in
7614[\\/*] |  ?:[\\/]*)
7615  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7616  ;;
7617*)
7618  lt_save_MAGIC_CMD="$MAGIC_CMD"
7619  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7620  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7621  for ac_dir in $ac_dummy; do
7622    IFS="$lt_save_ifs"
7623    test -z "$ac_dir" && ac_dir=.
7624    if test -f $ac_dir/file; then
7625      lt_cv_path_MAGIC_CMD="$ac_dir/file"
7626      if test -n "$file_magic_test_file"; then
7627	case $deplibs_check_method in
7628	"file_magic "*)
7629	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7630	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7631	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7632	    $EGREP "$file_magic_regex" > /dev/null; then
7633	    :
7634	  else
7635	    cat <<_LT_EOF 1>&2
7636
7637*** Warning: the command libtool uses to detect shared libraries,
7638*** $file_magic_cmd, produces output that libtool cannot recognize.
7639*** The result is that libtool may fail to recognize shared libraries
7640*** as such.  This will affect the creation of libtool libraries that
7641*** depend on shared libraries, but programs linked with such libtool
7642*** libraries will work regardless of this problem.  Nevertheless, you
7643*** may want to report the problem to your system manager and/or to
7644*** bug-libtool@gnu.org
7645
7646_LT_EOF
7647	  fi ;;
7648	esac
7649      fi
7650      break
7651    fi
7652  done
7653  IFS="$lt_save_ifs"
7654  MAGIC_CMD="$lt_save_MAGIC_CMD"
7655  ;;
7656esac
7657fi
7658
7659MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7660if test -n "$MAGIC_CMD"; then
7661  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7662$as_echo "$MAGIC_CMD" >&6; }
7663else
7664  { $as_echo "$as_me:$LINENO: result: no" >&5
7665$as_echo "no" >&6; }
7666fi
7667
7668
7669  else
7670    MAGIC_CMD=:
7671  fi
7672fi
7673
7674  fi
7675  ;;
7676esac
7677
7678# Use C for the default configuration in the libtool script
7679
7680lt_save_CC="$CC"
7681ac_ext=c
7682ac_cpp='$CPP $CPPFLAGS'
7683ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7684ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7685ac_compiler_gnu=$ac_cv_c_compiler_gnu
7686
7687
7688# Source file extension for C test sources.
7689ac_ext=c
7690
7691# Object file extension for compiled C test sources.
7692objext=o
7693objext=$objext
7694
7695# Code to be used in simple compile tests
7696lt_simple_compile_test_code="int some_variable = 0;"
7697
7698# Code to be used in simple link tests
7699lt_simple_link_test_code='int main(){return(0);}'
7700
7701
7702
7703
7704
7705
7706
7707# If no C compiler was specified, use CC.
7708LTCC=${LTCC-"$CC"}
7709
7710# If no C compiler flags were specified, use CFLAGS.
7711LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7712
7713# Allow CC to be a program name with arguments.
7714compiler=$CC
7715
7716# Save the default compiler, since it gets overwritten when the other
7717# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7718compiler_DEFAULT=$CC
7719
7720# save warnings/boilerplate of simple test code
7721ac_outfile=conftest.$ac_objext
7722echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7723eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7724_lt_compiler_boilerplate=`cat conftest.err`
7725$RM conftest*
7726
7727ac_outfile=conftest.$ac_objext
7728echo "$lt_simple_link_test_code" >conftest.$ac_ext
7729eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7730_lt_linker_boilerplate=`cat conftest.err`
7731$RM -r conftest*
7732
7733
7734if test -n "$compiler"; then
7735
7736lt_prog_compiler_no_builtin_flag=
7737
7738if test "$GCC" = yes; then
7739  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7740
7741  { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7742$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7743if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7744  $as_echo_n "(cached) " >&6
7745else
7746  lt_cv_prog_compiler_rtti_exceptions=no
7747   ac_outfile=conftest.$ac_objext
7748   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7749   lt_compiler_flag="-fno-rtti -fno-exceptions"
7750   # Insert the option either (1) after the last *FLAGS variable, or
7751   # (2) before a word containing "conftest.", or (3) at the end.
7752   # Note that $ac_compile itself does not contain backslashes and begins
7753   # with a dollar sign (not a hyphen), so the echo should work correctly.
7754   # The option is referenced via a variable to avoid confusing sed.
7755   lt_compile=`echo "$ac_compile" | $SED \
7756   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7757   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7758   -e 's:$: $lt_compiler_flag:'`
7759   (eval echo "\"\$as_me:7759: $lt_compile\"" >&5)
7760   (eval "$lt_compile" 2>conftest.err)
7761   ac_status=$?
7762   cat conftest.err >&5
7763   echo "$as_me:7763: \$? = $ac_status" >&5
7764   if (exit $ac_status) && test -s "$ac_outfile"; then
7765     # The compiler can only warn and ignore the option if not recognized
7766     # So say no if there are warnings other than the usual output.
7767     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7768     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7769     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7770       lt_cv_prog_compiler_rtti_exceptions=yes
7771     fi
7772   fi
7773   $RM conftest*
7774
7775fi
7776{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7777$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7778
7779if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7780    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7781else
7782    :
7783fi
7784
7785fi
7786
7787
7788
7789
7790
7791
7792  lt_prog_compiler_wl=
7793lt_prog_compiler_pic=
7794lt_prog_compiler_static=
7795
7796{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7797$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7798
7799  if test "$GCC" = yes; then
7800    lt_prog_compiler_wl='-Wl,'
7801    lt_prog_compiler_static='-static'
7802
7803    case $host_os in
7804      aix*)
7805      # All AIX code is PIC.
7806      if test "$host_cpu" = ia64; then
7807	# AIX 5 now supports IA64 processor
7808	lt_prog_compiler_static='-Bstatic'
7809      fi
7810      ;;
7811
7812    amigaos*)
7813      case $host_cpu in
7814      powerpc)
7815            # see comment about AmigaOS4 .so support
7816            lt_prog_compiler_pic='-fPIC'
7817        ;;
7818      m68k)
7819            # FIXME: we need at least 68020 code to build shared libraries, but
7820            # adding the `-m68020' flag to GCC prevents building anything better,
7821            # like `-m68040'.
7822            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7823        ;;
7824      esac
7825      ;;
7826
7827    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7828      # PIC is the default for these OSes.
7829      ;;
7830
7831    mingw* | cygwin* | pw32* | os2* | cegcc*)
7832      # This hack is so that the source file can tell whether it is being
7833      # built for inclusion in a dll (and should export symbols for example).
7834      # Although the cygwin gcc ignores -fPIC, still need this for old-style
7835      # (--disable-auto-import) libraries
7836      lt_prog_compiler_pic='-DDLL_EXPORT'
7837      ;;
7838
7839    darwin* | rhapsody*)
7840      # PIC is the default on this platform
7841      # Common symbols not allowed in MH_DYLIB files
7842      lt_prog_compiler_pic='-fno-common'
7843      ;;
7844
7845    hpux*)
7846      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7847      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
7848      # sets the default TLS model and affects inlining.
7849      case $host_cpu in
7850      hppa*64*)
7851	# +Z the default
7852	;;
7853      *)
7854	lt_prog_compiler_pic='-fPIC'
7855	;;
7856      esac
7857      ;;
7858
7859    interix[3-9]*)
7860      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7861      # Instead, we relocate shared libraries at runtime.
7862      ;;
7863
7864    msdosdjgpp*)
7865      # Just because we use GCC doesn't mean we suddenly get shared libraries
7866      # on systems that don't support them.
7867      lt_prog_compiler_can_build_shared=no
7868      enable_shared=no
7869      ;;
7870
7871    *nto* | *qnx*)
7872      # QNX uses GNU C++, but need to define -shared option too, otherwise
7873      # it will coredump.
7874      lt_prog_compiler_pic='-fPIC -shared'
7875      ;;
7876
7877    sysv4*MP*)
7878      if test -d /usr/nec; then
7879	lt_prog_compiler_pic=-Kconform_pic
7880      fi
7881      ;;
7882
7883    *)
7884      lt_prog_compiler_pic='-fPIC'
7885      ;;
7886    esac
7887  else
7888    # PORTME Check for flag to pass linker flags through the system compiler.
7889    case $host_os in
7890    aix*)
7891      lt_prog_compiler_wl='-Wl,'
7892      if test "$host_cpu" = ia64; then
7893	# AIX 5 now supports IA64 processor
7894	lt_prog_compiler_static='-Bstatic'
7895      else
7896	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7897      fi
7898      ;;
7899
7900    mingw* | cygwin* | pw32* | os2* | cegcc*)
7901      # This hack is so that the source file can tell whether it is being
7902      # built for inclusion in a dll (and should export symbols for example).
7903      lt_prog_compiler_pic='-DDLL_EXPORT'
7904      ;;
7905
7906    hpux9* | hpux10* | hpux11*)
7907      lt_prog_compiler_wl='-Wl,'
7908      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7909      # not for PA HP-UX.
7910      case $host_cpu in
7911      hppa*64*|ia64*)
7912	# +Z the default
7913	;;
7914      *)
7915	lt_prog_compiler_pic='+Z'
7916	;;
7917      esac
7918      # Is there a better lt_prog_compiler_static that works with the bundled CC?
7919      lt_prog_compiler_static='${wl}-a ${wl}archive'
7920      ;;
7921
7922    irix5* | irix6* | nonstopux*)
7923      lt_prog_compiler_wl='-Wl,'
7924      # PIC (with -KPIC) is the default.
7925      lt_prog_compiler_static='-non_shared'
7926      ;;
7927
7928    linux* | k*bsd*-gnu)
7929      case $cc_basename in
7930      # old Intel for x86_64 which still supported -KPIC.
7931      ecc*)
7932	lt_prog_compiler_wl='-Wl,'
7933	lt_prog_compiler_pic='-KPIC'
7934	lt_prog_compiler_static='-static'
7935        ;;
7936      # icc used to be incompatible with GCC.
7937      # ICC 10 doesn't accept -KPIC any more.
7938      icc* | ifort*)
7939	lt_prog_compiler_wl='-Wl,'
7940	lt_prog_compiler_pic='-fPIC'
7941	lt_prog_compiler_static='-static'
7942        ;;
7943      # Lahey Fortran 8.1.
7944      lf95*)
7945	lt_prog_compiler_wl='-Wl,'
7946	lt_prog_compiler_pic='--shared'
7947	lt_prog_compiler_static='--static'
7948	;;
7949      pgcc* | pgf77* | pgf90* | pgf95*)
7950        # Portland Group compilers (*not* the Pentium gcc compiler,
7951	# which looks to be a dead project)
7952	lt_prog_compiler_wl='-Wl,'
7953	lt_prog_compiler_pic='-fpic'
7954	lt_prog_compiler_static='-Bstatic'
7955        ;;
7956      ccc*)
7957        lt_prog_compiler_wl='-Wl,'
7958        # All Alpha code is PIC.
7959        lt_prog_compiler_static='-non_shared'
7960        ;;
7961      xl*)
7962	# IBM XL C 8.0/Fortran 10.1 on PPC
7963	lt_prog_compiler_wl='-Wl,'
7964	lt_prog_compiler_pic='-qpic'
7965	lt_prog_compiler_static='-qstaticlink'
7966	;;
7967      *)
7968	case `$CC -V 2>&1 | sed 5q` in
7969	*Sun\ C*)
7970	  # Sun C 5.9
7971	  lt_prog_compiler_pic='-KPIC'
7972	  lt_prog_compiler_static='-Bstatic'
7973	  lt_prog_compiler_wl='-Wl,'
7974	  ;;
7975	*Sun\ F*)
7976	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
7977	  lt_prog_compiler_pic='-KPIC'
7978	  lt_prog_compiler_static='-Bstatic'
7979	  lt_prog_compiler_wl=''
7980	  ;;
7981	esac
7982	;;
7983      esac
7984      ;;
7985
7986    newsos6)
7987      lt_prog_compiler_pic='-KPIC'
7988      lt_prog_compiler_static='-Bstatic'
7989      ;;
7990
7991    *nto* | *qnx*)
7992      # QNX uses GNU C++, but need to define -shared option too, otherwise
7993      # it will coredump.
7994      lt_prog_compiler_pic='-fPIC -shared'
7995      ;;
7996
7997    osf3* | osf4* | osf5*)
7998      lt_prog_compiler_wl='-Wl,'
7999      # All OSF/1 code is PIC.
8000      lt_prog_compiler_static='-non_shared'
8001      ;;
8002
8003    rdos*)
8004      lt_prog_compiler_static='-non_shared'
8005      ;;
8006
8007    solaris*)
8008      lt_prog_compiler_pic='-KPIC'
8009      lt_prog_compiler_static='-Bstatic'
8010      case $cc_basename in
8011      f77* | f90* | f95*)
8012	lt_prog_compiler_wl='-Qoption ld ';;
8013      *)
8014	lt_prog_compiler_wl='-Wl,';;
8015      esac
8016      ;;
8017
8018    sunos4*)
8019      lt_prog_compiler_wl='-Qoption ld '
8020      lt_prog_compiler_pic='-PIC'
8021      lt_prog_compiler_static='-Bstatic'
8022      ;;
8023
8024    sysv4 | sysv4.2uw2* | sysv4.3*)
8025      lt_prog_compiler_wl='-Wl,'
8026      lt_prog_compiler_pic='-KPIC'
8027      lt_prog_compiler_static='-Bstatic'
8028      ;;
8029
8030    sysv4*MP*)
8031      if test -d /usr/nec ;then
8032	lt_prog_compiler_pic='-Kconform_pic'
8033	lt_prog_compiler_static='-Bstatic'
8034      fi
8035      ;;
8036
8037    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8038      lt_prog_compiler_wl='-Wl,'
8039      lt_prog_compiler_pic='-KPIC'
8040      lt_prog_compiler_static='-Bstatic'
8041      ;;
8042
8043    unicos*)
8044      lt_prog_compiler_wl='-Wl,'
8045      lt_prog_compiler_can_build_shared=no
8046      ;;
8047
8048    uts4*)
8049      lt_prog_compiler_pic='-pic'
8050      lt_prog_compiler_static='-Bstatic'
8051      ;;
8052
8053    *)
8054      lt_prog_compiler_can_build_shared=no
8055      ;;
8056    esac
8057  fi
8058
8059case $host_os in
8060  # For platforms which do not support PIC, -DPIC is meaningless:
8061  *djgpp*)
8062    lt_prog_compiler_pic=
8063    ;;
8064  *)
8065    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8066    ;;
8067esac
8068{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
8069$as_echo "$lt_prog_compiler_pic" >&6; }
8070
8071
8072
8073
8074
8075
8076#
8077# Check to make sure the PIC flag actually works.
8078#
8079if test -n "$lt_prog_compiler_pic"; then
8080  { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8081$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8082if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
8083  $as_echo_n "(cached) " >&6
8084else
8085  lt_cv_prog_compiler_pic_works=no
8086   ac_outfile=conftest.$ac_objext
8087   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8088   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8089   # Insert the option either (1) after the last *FLAGS variable, or
8090   # (2) before a word containing "conftest.", or (3) at the end.
8091   # Note that $ac_compile itself does not contain backslashes and begins
8092   # with a dollar sign (not a hyphen), so the echo should work correctly.
8093   # The option is referenced via a variable to avoid confusing sed.
8094   lt_compile=`echo "$ac_compile" | $SED \
8095   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8096   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8097   -e 's:$: $lt_compiler_flag:'`
8098   (eval echo "\"\$as_me:8098: $lt_compile\"" >&5)
8099   (eval "$lt_compile" 2>conftest.err)
8100   ac_status=$?
8101   cat conftest.err >&5
8102   echo "$as_me:8102: \$? = $ac_status" >&5
8103   if (exit $ac_status) && test -s "$ac_outfile"; then
8104     # The compiler can only warn and ignore the option if not recognized
8105     # So say no if there are warnings other than the usual output.
8106     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8107     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8108     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8109       lt_cv_prog_compiler_pic_works=yes
8110     fi
8111   fi
8112   $RM conftest*
8113
8114fi
8115{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
8116$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8117
8118if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8119    case $lt_prog_compiler_pic in
8120     "" | " "*) ;;
8121     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8122     esac
8123else
8124    lt_prog_compiler_pic=
8125     lt_prog_compiler_can_build_shared=no
8126fi
8127
8128fi
8129
8130
8131
8132
8133
8134
8135#
8136# Check to make sure the static flag actually works.
8137#
8138wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8139{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8140$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8141if test "${lt_cv_prog_compiler_static_works+set}" = set; then
8142  $as_echo_n "(cached) " >&6
8143else
8144  lt_cv_prog_compiler_static_works=no
8145   save_LDFLAGS="$LDFLAGS"
8146   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8147   echo "$lt_simple_link_test_code" > conftest.$ac_ext
8148   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8149     # The linker can only warn and ignore the option if not recognized
8150     # So say no if there are warnings
8151     if test -s conftest.err; then
8152       # Append any errors to the config.log.
8153       cat conftest.err 1>&5
8154       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8155       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8156       if diff conftest.exp conftest.er2 >/dev/null; then
8157         lt_cv_prog_compiler_static_works=yes
8158       fi
8159     else
8160       lt_cv_prog_compiler_static_works=yes
8161     fi
8162   fi
8163   $RM -r conftest*
8164   LDFLAGS="$save_LDFLAGS"
8165
8166fi
8167{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
8168$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8169
8170if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8171    :
8172else
8173    lt_prog_compiler_static=
8174fi
8175
8176
8177
8178
8179
8180
8181
8182  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8183$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8184if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8185  $as_echo_n "(cached) " >&6
8186else
8187  lt_cv_prog_compiler_c_o=no
8188   $RM -r conftest 2>/dev/null
8189   mkdir conftest
8190   cd conftest
8191   mkdir out
8192   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8193
8194   lt_compiler_flag="-o out/conftest2.$ac_objext"
8195   # Insert the option either (1) after the last *FLAGS variable, or
8196   # (2) before a word containing "conftest.", or (3) at the end.
8197   # Note that $ac_compile itself does not contain backslashes and begins
8198   # with a dollar sign (not a hyphen), so the echo should work correctly.
8199   lt_compile=`echo "$ac_compile" | $SED \
8200   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8201   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8202   -e 's:$: $lt_compiler_flag:'`
8203   (eval echo "\"\$as_me:8203: $lt_compile\"" >&5)
8204   (eval "$lt_compile" 2>out/conftest.err)
8205   ac_status=$?
8206   cat out/conftest.err >&5
8207   echo "$as_me:8207: \$? = $ac_status" >&5
8208   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8209   then
8210     # The compiler can only warn and ignore the option if not recognized
8211     # So say no if there are warnings
8212     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8213     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8214     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8215       lt_cv_prog_compiler_c_o=yes
8216     fi
8217   fi
8218   chmod u+w . 2>&5
8219   $RM conftest*
8220   # SGI C++ compiler will create directory out/ii_files/ for
8221   # template instantiation
8222   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8223   $RM out/* && rmdir out
8224   cd ..
8225   $RM -r conftest
8226   $RM conftest*
8227
8228fi
8229{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8230$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8231
8232
8233
8234
8235
8236
8237  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8238$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8239if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8240  $as_echo_n "(cached) " >&6
8241else
8242  lt_cv_prog_compiler_c_o=no
8243   $RM -r conftest 2>/dev/null
8244   mkdir conftest
8245   cd conftest
8246   mkdir out
8247   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8248
8249   lt_compiler_flag="-o out/conftest2.$ac_objext"
8250   # Insert the option either (1) after the last *FLAGS variable, or
8251   # (2) before a word containing "conftest.", or (3) at the end.
8252   # Note that $ac_compile itself does not contain backslashes and begins
8253   # with a dollar sign (not a hyphen), so the echo should work correctly.
8254   lt_compile=`echo "$ac_compile" | $SED \
8255   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8256   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8257   -e 's:$: $lt_compiler_flag:'`
8258   (eval echo "\"\$as_me:8258: $lt_compile\"" >&5)
8259   (eval "$lt_compile" 2>out/conftest.err)
8260   ac_status=$?
8261   cat out/conftest.err >&5
8262   echo "$as_me:8262: \$? = $ac_status" >&5
8263   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8264   then
8265     # The compiler can only warn and ignore the option if not recognized
8266     # So say no if there are warnings
8267     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8268     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8269     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8270       lt_cv_prog_compiler_c_o=yes
8271     fi
8272   fi
8273   chmod u+w . 2>&5
8274   $RM conftest*
8275   # SGI C++ compiler will create directory out/ii_files/ for
8276   # template instantiation
8277   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8278   $RM out/* && rmdir out
8279   cd ..
8280   $RM -r conftest
8281   $RM conftest*
8282
8283fi
8284{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8285$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8286
8287
8288
8289
8290hard_links="nottested"
8291if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8292  # do not overwrite the value of need_locks provided by the user
8293  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8294$as_echo_n "checking if we can lock with hard links... " >&6; }
8295  hard_links=yes
8296  $RM conftest*
8297  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8298  touch conftest.a
8299  ln conftest.a conftest.b 2>&5 || hard_links=no
8300  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8301  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
8302$as_echo "$hard_links" >&6; }
8303  if test "$hard_links" = no; then
8304    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8305$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8306    need_locks=warn
8307  fi
8308else
8309  need_locks=no
8310fi
8311
8312
8313
8314
8315
8316
8317  { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8318$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8319
8320  runpath_var=
8321  allow_undefined_flag=
8322  always_export_symbols=no
8323  archive_cmds=
8324  archive_expsym_cmds=
8325  compiler_needs_object=no
8326  enable_shared_with_static_runtimes=no
8327  export_dynamic_flag_spec=
8328  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8329  hardcode_automatic=no
8330  hardcode_direct=no
8331  hardcode_direct_absolute=no
8332  hardcode_libdir_flag_spec=
8333  hardcode_libdir_flag_spec_ld=
8334  hardcode_libdir_separator=
8335  hardcode_minus_L=no
8336  hardcode_shlibpath_var=unsupported
8337  inherit_rpath=no
8338  link_all_deplibs=unknown
8339  module_cmds=
8340  module_expsym_cmds=
8341  old_archive_from_new_cmds=
8342  old_archive_from_expsyms_cmds=
8343  thread_safe_flag_spec=
8344  whole_archive_flag_spec=
8345  # include_expsyms should be a list of space-separated symbols to be *always*
8346  # included in the symbol list
8347  include_expsyms=
8348  # exclude_expsyms can be an extended regexp of symbols to exclude
8349  # it will be wrapped by ` (' and `)$', so one must not match beginning or
8350  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8351  # as well as any symbol that contains `d'.
8352  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8353  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8354  # platforms (ab)use it in PIC code, but their linkers get confused if
8355  # the symbol is explicitly referenced.  Since portable code cannot
8356  # rely on this symbol name, it's probably fine to never include it in
8357  # preloaded symbol tables.
8358  # Exclude shared library initialization/finalization symbols.
8359  extract_expsyms_cmds=
8360
8361  case $host_os in
8362  cygwin* | mingw* | pw32* | cegcc*)
8363    # FIXME: the MSVC++ port hasn't been tested in a loooong time
8364    # When not using gcc, we currently assume that we are using
8365    # Microsoft Visual C++.
8366    if test "$GCC" != yes; then
8367      with_gnu_ld=no
8368    fi
8369    ;;
8370  interix*)
8371    # we just hope/assume this is gcc and not c89 (= MSVC++)
8372    with_gnu_ld=yes
8373    ;;
8374  openbsd*)
8375    with_gnu_ld=no
8376    ;;
8377  esac
8378
8379  ld_shlibs=yes
8380  if test "$with_gnu_ld" = yes; then
8381    # If archive_cmds runs LD, not CC, wlarc should be empty
8382    wlarc='${wl}'
8383
8384    # Set some defaults for GNU ld with shared library support. These
8385    # are reset later if shared libraries are not supported. Putting them
8386    # here allows them to be overridden if necessary.
8387    runpath_var=LD_RUN_PATH
8388    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8389    export_dynamic_flag_spec='${wl}--export-dynamic'
8390    # ancient GNU ld didn't support --whole-archive et. al.
8391    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8392      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8393    else
8394      whole_archive_flag_spec=
8395    fi
8396    supports_anon_versioning=no
8397    case `$LD -v 2>&1` in
8398      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8399      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8400      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8401      *\ 2.11.*) ;; # other 2.11 versions
8402      *) supports_anon_versioning=yes ;;
8403    esac
8404
8405    # See if GNU ld supports shared libraries.
8406    case $host_os in
8407    aix[3-9]*)
8408      # On AIX/PPC, the GNU linker is very broken
8409      if test "$host_cpu" != ia64; then
8410	ld_shlibs=no
8411	cat <<_LT_EOF 1>&2
8412
8413*** Warning: the GNU linker, at least up to release 2.9.1, is reported
8414*** to be unable to reliably create shared libraries on AIX.
8415*** Therefore, libtool is disabling shared libraries support.  If you
8416*** really care for shared libraries, you may want to modify your PATH
8417*** so that a non-GNU linker is found, and then restart.
8418
8419_LT_EOF
8420      fi
8421      ;;
8422
8423    amigaos*)
8424      case $host_cpu in
8425      powerpc)
8426            # see comment about AmigaOS4 .so support
8427            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8428            archive_expsym_cmds=''
8429        ;;
8430      m68k)
8431            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)'
8432            hardcode_libdir_flag_spec='-L$libdir'
8433            hardcode_minus_L=yes
8434        ;;
8435      esac
8436      ;;
8437
8438    beos*)
8439      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8440	allow_undefined_flag=unsupported
8441	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8442	# support --undefined.  This deserves some investigation.  FIXME
8443	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8444      else
8445	ld_shlibs=no
8446      fi
8447      ;;
8448
8449    cygwin* | mingw* | pw32* | cegcc*)
8450      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8451      # as there is no search path for DLLs.
8452      hardcode_libdir_flag_spec='-L$libdir'
8453      allow_undefined_flag=unsupported
8454      always_export_symbols=no
8455      enable_shared_with_static_runtimes=yes
8456      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8457
8458      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8459        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8460	# If the export-symbols file already is a .def file (1st line
8461	# is EXPORTS), use it as is; otherwise, prepend...
8462	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8463	  cp $export_symbols $output_objdir/$soname.def;
8464	else
8465	  echo EXPORTS > $output_objdir/$soname.def;
8466	  cat $export_symbols >> $output_objdir/$soname.def;
8467	fi~
8468	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8469      else
8470	ld_shlibs=no
8471      fi
8472      ;;
8473
8474    interix[3-9]*)
8475      hardcode_direct=no
8476      hardcode_shlibpath_var=no
8477      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8478      export_dynamic_flag_spec='${wl}-E'
8479      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8480      # Instead, shared libraries are loaded at an image base (0x10000000 by
8481      # default) and relocated if they conflict, which is a slow very memory
8482      # consuming and fragmenting process.  To avoid this, we pick a random,
8483      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8484      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
8485      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8486      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'
8487      ;;
8488
8489    gnu* | linux* | tpf* | k*bsd*-gnu)
8490      tmp_diet=no
8491      if test "$host_os" = linux-dietlibc; then
8492	case $cc_basename in
8493	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
8494	esac
8495      fi
8496      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8497	 && test "$tmp_diet" = no
8498      then
8499	tmp_addflag=
8500	tmp_sharedflag='-shared'
8501	case $cc_basename,$host_cpu in
8502        pgcc*)				# Portland Group C compiler
8503	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8504	  tmp_addflag=' $pic_flag'
8505	  ;;
8506	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
8507	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8508	  tmp_addflag=' $pic_flag -Mnomain' ;;
8509	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
8510	  tmp_addflag=' -i_dynamic' ;;
8511	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
8512	  tmp_addflag=' -i_dynamic -nofor_main' ;;
8513	ifc* | ifort*)			# Intel Fortran compiler
8514	  tmp_addflag=' -nofor_main' ;;
8515	lf95*)				# Lahey Fortran 8.1
8516	  whole_archive_flag_spec=
8517	  tmp_sharedflag='--shared' ;;
8518	xl[cC]*)			# IBM XL C 8.0 on PPC (deal with xlf below)
8519	  tmp_sharedflag='-qmkshrobj'
8520	  tmp_addflag= ;;
8521	esac
8522	case `$CC -V 2>&1 | sed 5q` in
8523	*Sun\ C*)			# Sun C 5.9
8524	  whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8525	  compiler_needs_object=yes
8526	  tmp_sharedflag='-G' ;;
8527	*Sun\ F*)			# Sun Fortran 8.3
8528	  tmp_sharedflag='-G' ;;
8529	esac
8530	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8531
8532        if test "x$supports_anon_versioning" = xyes; then
8533          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8534	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8535	    echo "local: *; };" >> $output_objdir/$libname.ver~
8536	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8537        fi
8538
8539	case $cc_basename in
8540	xlf*)
8541	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8542	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8543	  hardcode_libdir_flag_spec=
8544	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
8545	  archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8546	  if test "x$supports_anon_versioning" = xyes; then
8547	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8548	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8549	      echo "local: *; };" >> $output_objdir/$libname.ver~
8550	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8551	  fi
8552	  ;;
8553	esac
8554      else
8555        ld_shlibs=no
8556      fi
8557      ;;
8558
8559    netbsd*)
8560      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8561	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8562	wlarc=
8563      else
8564	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8565	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8566      fi
8567      ;;
8568
8569    solaris*)
8570      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8571	ld_shlibs=no
8572	cat <<_LT_EOF 1>&2
8573
8574*** Warning: The releases 2.8.* of the GNU linker cannot reliably
8575*** create shared libraries on Solaris systems.  Therefore, libtool
8576*** is disabling shared libraries support.  We urge you to upgrade GNU
8577*** binutils to release 2.9.1 or newer.  Another option is to modify
8578*** your PATH or compiler configuration so that the native linker is
8579*** used, and then restart.
8580
8581_LT_EOF
8582      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8583	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8584	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8585      else
8586	ld_shlibs=no
8587      fi
8588      ;;
8589
8590    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8591      case `$LD -v 2>&1` in
8592        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8593	ld_shlibs=no
8594	cat <<_LT_EOF 1>&2
8595
8596*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8597*** reliably create shared libraries on SCO systems.  Therefore, libtool
8598*** is disabling shared libraries support.  We urge you to upgrade GNU
8599*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
8600*** your PATH or compiler configuration so that the native linker is
8601*** used, and then restart.
8602
8603_LT_EOF
8604	;;
8605	*)
8606	  # For security reasons, it is highly recommended that you always
8607	  # use absolute paths for naming shared libraries, and exclude the
8608	  # DT_RUNPATH tag from executables and libraries.  But doing so
8609	  # requires that you compile everything twice, which is a pain.
8610	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8611	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8612	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8613	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8614	  else
8615	    ld_shlibs=no
8616	  fi
8617	;;
8618      esac
8619      ;;
8620
8621    sunos4*)
8622      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8623      wlarc=
8624      hardcode_direct=yes
8625      hardcode_shlibpath_var=no
8626      ;;
8627
8628    *)
8629      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8630	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8631	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8632      else
8633	ld_shlibs=no
8634      fi
8635      ;;
8636    esac
8637
8638    if test "$ld_shlibs" = no; then
8639      runpath_var=
8640      hardcode_libdir_flag_spec=
8641      export_dynamic_flag_spec=
8642      whole_archive_flag_spec=
8643    fi
8644  else
8645    # PORTME fill in a description of your system's linker (not GNU ld)
8646    case $host_os in
8647    aix3*)
8648      allow_undefined_flag=unsupported
8649      always_export_symbols=yes
8650      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'
8651      # Note: this linker hardcodes the directories in LIBPATH if there
8652      # are no directories specified by -L.
8653      hardcode_minus_L=yes
8654      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8655	# Neither direct hardcoding nor static linking is supported with a
8656	# broken collect2.
8657	hardcode_direct=unsupported
8658      fi
8659      ;;
8660
8661    aix[4-9]*)
8662      if test "$host_cpu" = ia64; then
8663	# On IA64, the linker does run time linking by default, so we don't
8664	# have to do anything special.
8665	aix_use_runtimelinking=no
8666	exp_sym_flag='-Bexport'
8667	no_entry_flag=""
8668      else
8669	# If we're using GNU nm, then we don't want the "-C" option.
8670	# -C means demangle to AIX nm, but means don't demangle with GNU nm
8671	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8672	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8673	else
8674	  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'
8675	fi
8676	aix_use_runtimelinking=no
8677
8678	# Test if we are trying to use run time linking or normal
8679	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
8680	# need to do runtime linking.
8681	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8682	  for ld_flag in $LDFLAGS; do
8683	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8684	    aix_use_runtimelinking=yes
8685	    break
8686	  fi
8687	  done
8688	  ;;
8689	esac
8690
8691	exp_sym_flag='-bexport'
8692	no_entry_flag='-bnoentry'
8693      fi
8694
8695      # When large executables or shared objects are built, AIX ld can
8696      # have problems creating the table of contents.  If linking a library
8697      # or program results in "error TOC overflow" add -mminimal-toc to
8698      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
8699      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8700
8701      archive_cmds=''
8702      hardcode_direct=yes
8703      hardcode_direct_absolute=yes
8704      hardcode_libdir_separator=':'
8705      link_all_deplibs=yes
8706      file_list_spec='${wl}-f,'
8707
8708      if test "$GCC" = yes; then
8709	case $host_os in aix4.[012]|aix4.[012].*)
8710	# We only want to do this on AIX 4.2 and lower, the check
8711	# below for broken collect2 doesn't work under 4.3+
8712	  collect2name=`${CC} -print-prog-name=collect2`
8713	  if test -f "$collect2name" &&
8714	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8715	  then
8716	  # We have reworked collect2
8717	  :
8718	  else
8719	  # We have old collect2
8720	  hardcode_direct=unsupported
8721	  # It fails to find uninstalled libraries when the uninstalled
8722	  # path is not listed in the libpath.  Setting hardcode_minus_L
8723	  # to unsupported forces relinking
8724	  hardcode_minus_L=yes
8725	  hardcode_libdir_flag_spec='-L$libdir'
8726	  hardcode_libdir_separator=
8727	  fi
8728	  ;;
8729	esac
8730	shared_flag='-shared'
8731	if test "$aix_use_runtimelinking" = yes; then
8732	  shared_flag="$shared_flag "'${wl}-G'
8733	fi
8734      else
8735	# not using gcc
8736	if test "$host_cpu" = ia64; then
8737	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8738	# chokes on -Wl,-G. The following line is correct:
8739	  shared_flag='-G'
8740	else
8741	  if test "$aix_use_runtimelinking" = yes; then
8742	    shared_flag='${wl}-G'
8743	  else
8744	    shared_flag='${wl}-bM:SRE'
8745	  fi
8746	fi
8747      fi
8748
8749      export_dynamic_flag_spec='${wl}-bexpall'
8750      # It seems that -bexpall does not export symbols beginning with
8751      # underscore (_), so it is better to generate a list of symbols to export.
8752      always_export_symbols=yes
8753      if test "$aix_use_runtimelinking" = yes; then
8754	# Warning - without using the other runtime loading flags (-brtl),
8755	# -berok will link without error, but may produce a broken library.
8756	allow_undefined_flag='-berok'
8757        # Determine the default libpath from the value encoded in an
8758        # empty executable.
8759        cat >conftest.$ac_ext <<_ACEOF
8760/* confdefs.h.  */
8761_ACEOF
8762cat confdefs.h >>conftest.$ac_ext
8763cat >>conftest.$ac_ext <<_ACEOF
8764/* end confdefs.h.  */
8765
8766int
8767main ()
8768{
8769
8770  ;
8771  return 0;
8772}
8773_ACEOF
8774rm -f conftest.$ac_objext conftest$ac_exeext
8775if { (ac_try="$ac_link"
8776case "(($ac_try" in
8777  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8778  *) ac_try_echo=$ac_try;;
8779esac
8780eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8781$as_echo "$ac_try_echo") >&5
8782  (eval "$ac_link") 2>conftest.er1
8783  ac_status=$?
8784  grep -v '^ *+' conftest.er1 >conftest.err
8785  rm -f conftest.er1
8786  cat conftest.err >&5
8787  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8788  (exit $ac_status); } && {
8789	 test -z "$ac_c_werror_flag" ||
8790	 test ! -s conftest.err
8791       } && test -s conftest$ac_exeext && {
8792	 test "$cross_compiling" = yes ||
8793	 $as_test_x conftest$ac_exeext
8794       }; then
8795
8796lt_aix_libpath_sed='
8797    /Import File Strings/,/^$/ {
8798	/^0/ {
8799	    s/^0  *\(.*\)$/\1/
8800	    p
8801	}
8802    }'
8803aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8804# Check for a 64-bit object if we didn't find anything.
8805if test -z "$aix_libpath"; then
8806  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8807fi
8808else
8809  $as_echo "$as_me: failed program was:" >&5
8810sed 's/^/| /' conftest.$ac_ext >&5
8811
8812
8813fi
8814
8815rm -rf conftest.dSYM
8816rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8817      conftest$ac_exeext conftest.$ac_ext
8818if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8819
8820        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8821        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8822      else
8823	if test "$host_cpu" = ia64; then
8824	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8825	  allow_undefined_flag="-z nodefs"
8826	  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"
8827	else
8828	 # Determine the default libpath from the value encoded in an
8829	 # empty executable.
8830	 cat >conftest.$ac_ext <<_ACEOF
8831/* confdefs.h.  */
8832_ACEOF
8833cat confdefs.h >>conftest.$ac_ext
8834cat >>conftest.$ac_ext <<_ACEOF
8835/* end confdefs.h.  */
8836
8837int
8838main ()
8839{
8840
8841  ;
8842  return 0;
8843}
8844_ACEOF
8845rm -f conftest.$ac_objext conftest$ac_exeext
8846if { (ac_try="$ac_link"
8847case "(($ac_try" in
8848  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8849  *) ac_try_echo=$ac_try;;
8850esac
8851eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8852$as_echo "$ac_try_echo") >&5
8853  (eval "$ac_link") 2>conftest.er1
8854  ac_status=$?
8855  grep -v '^ *+' conftest.er1 >conftest.err
8856  rm -f conftest.er1
8857  cat conftest.err >&5
8858  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8859  (exit $ac_status); } && {
8860	 test -z "$ac_c_werror_flag" ||
8861	 test ! -s conftest.err
8862       } && test -s conftest$ac_exeext && {
8863	 test "$cross_compiling" = yes ||
8864	 $as_test_x conftest$ac_exeext
8865       }; then
8866
8867lt_aix_libpath_sed='
8868    /Import File Strings/,/^$/ {
8869	/^0/ {
8870	    s/^0  *\(.*\)$/\1/
8871	    p
8872	}
8873    }'
8874aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8875# Check for a 64-bit object if we didn't find anything.
8876if test -z "$aix_libpath"; then
8877  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8878fi
8879else
8880  $as_echo "$as_me: failed program was:" >&5
8881sed 's/^/| /' conftest.$ac_ext >&5
8882
8883
8884fi
8885
8886rm -rf conftest.dSYM
8887rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8888      conftest$ac_exeext conftest.$ac_ext
8889if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8890
8891	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8892	  # Warning - without using the other run time loading flags,
8893	  # -berok will link without error, but may produce a broken library.
8894	  no_undefined_flag=' ${wl}-bernotok'
8895	  allow_undefined_flag=' ${wl}-berok'
8896	  # Exported symbols can be pulled into shared objects from archives
8897	  whole_archive_flag_spec='$convenience'
8898	  archive_cmds_need_lc=yes
8899	  # This is similar to how AIX traditionally builds its shared libraries.
8900	  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'
8901	fi
8902      fi
8903      ;;
8904
8905    amigaos*)
8906      case $host_cpu in
8907      powerpc)
8908            # see comment about AmigaOS4 .so support
8909            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8910            archive_expsym_cmds=''
8911        ;;
8912      m68k)
8913            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)'
8914            hardcode_libdir_flag_spec='-L$libdir'
8915            hardcode_minus_L=yes
8916        ;;
8917      esac
8918      ;;
8919
8920    bsdi[45]*)
8921      export_dynamic_flag_spec=-rdynamic
8922      ;;
8923
8924    cygwin* | mingw* | pw32* | cegcc*)
8925      # When not using gcc, we currently assume that we are using
8926      # Microsoft Visual C++.
8927      # hardcode_libdir_flag_spec is actually meaningless, as there is
8928      # no search path for DLLs.
8929      hardcode_libdir_flag_spec=' '
8930      allow_undefined_flag=unsupported
8931      # Tell ltmain to make .lib files, not .a files.
8932      libext=lib
8933      # Tell ltmain to make .dll files, not .so files.
8934      shrext_cmds=".dll"
8935      # FIXME: Setting linknames here is a bad hack.
8936      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8937      # The linker will automatically build a .lib file if we build a DLL.
8938      old_archive_from_new_cmds='true'
8939      # FIXME: Should let the user specify the lib program.
8940      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8941      fix_srcfile_path='`cygpath -w "$srcfile"`'
8942      enable_shared_with_static_runtimes=yes
8943      ;;
8944
8945    darwin* | rhapsody*)
8946
8947
8948  archive_cmds_need_lc=no
8949  hardcode_direct=no
8950  hardcode_automatic=yes
8951  hardcode_shlibpath_var=unsupported
8952  whole_archive_flag_spec=''
8953  link_all_deplibs=yes
8954  allow_undefined_flag="$_lt_dar_allow_undefined"
8955  case $cc_basename in
8956     ifort*) _lt_dar_can_shared=yes ;;
8957     *) _lt_dar_can_shared=$GCC ;;
8958  esac
8959  if test "$_lt_dar_can_shared" = "yes"; then
8960    output_verbose_link_cmd=echo
8961    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8962    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8963    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}"
8964    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}"
8965
8966  else
8967  ld_shlibs=no
8968  fi
8969
8970      ;;
8971
8972    dgux*)
8973      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8974      hardcode_libdir_flag_spec='-L$libdir'
8975      hardcode_shlibpath_var=no
8976      ;;
8977
8978    freebsd1*)
8979      ld_shlibs=no
8980      ;;
8981
8982    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8983    # support.  Future versions do this automatically, but an explicit c++rt0.o
8984    # does not break anything, and helps significantly (at the cost of a little
8985    # extra space).
8986    freebsd2.2*)
8987      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8988      hardcode_libdir_flag_spec='-R$libdir'
8989      hardcode_direct=yes
8990      hardcode_shlibpath_var=no
8991      ;;
8992
8993    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8994    freebsd2*)
8995      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8996      hardcode_direct=yes
8997      hardcode_minus_L=yes
8998      hardcode_shlibpath_var=no
8999      ;;
9000
9001    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9002    freebsd* | dragonfly*)
9003      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9004      hardcode_libdir_flag_spec='-R$libdir'
9005      hardcode_direct=yes
9006      hardcode_shlibpath_var=no
9007      ;;
9008
9009    hpux9*)
9010      if test "$GCC" = yes; then
9011	archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9012      else
9013	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'
9014      fi
9015      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9016      hardcode_libdir_separator=:
9017      hardcode_direct=yes
9018
9019      # hardcode_minus_L: Not really in the search PATH,
9020      # but as the default location of the library.
9021      hardcode_minus_L=yes
9022      export_dynamic_flag_spec='${wl}-E'
9023      ;;
9024
9025    hpux10*)
9026      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9027	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9028      else
9029	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9030      fi
9031      if test "$with_gnu_ld" = no; then
9032	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9033	hardcode_libdir_flag_spec_ld='+b $libdir'
9034	hardcode_libdir_separator=:
9035	hardcode_direct=yes
9036	hardcode_direct_absolute=yes
9037	export_dynamic_flag_spec='${wl}-E'
9038	# hardcode_minus_L: Not really in the search PATH,
9039	# but as the default location of the library.
9040	hardcode_minus_L=yes
9041      fi
9042      ;;
9043
9044    hpux11*)
9045      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9046	case $host_cpu in
9047	hppa*64*)
9048	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9049	  ;;
9050	ia64*)
9051	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9052	  ;;
9053	*)
9054	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9055	  ;;
9056	esac
9057      else
9058	case $host_cpu in
9059	hppa*64*)
9060	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9061	  ;;
9062	ia64*)
9063	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9064	  ;;
9065	*)
9066	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9067	  ;;
9068	esac
9069      fi
9070      if test "$with_gnu_ld" = no; then
9071	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9072	hardcode_libdir_separator=:
9073
9074	case $host_cpu in
9075	hppa*64*|ia64*)
9076	  hardcode_direct=no
9077	  hardcode_shlibpath_var=no
9078	  ;;
9079	*)
9080	  hardcode_direct=yes
9081	  hardcode_direct_absolute=yes
9082	  export_dynamic_flag_spec='${wl}-E'
9083
9084	  # hardcode_minus_L: Not really in the search PATH,
9085	  # but as the default location of the library.
9086	  hardcode_minus_L=yes
9087	  ;;
9088	esac
9089      fi
9090      ;;
9091
9092    irix5* | irix6* | nonstopux*)
9093      if test "$GCC" = yes; then
9094	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9095	# Try to use the -exported_symbol ld option, if it does not
9096	# work, assume that -exports_file does not work either and
9097	# implicitly export all symbols.
9098        save_LDFLAGS="$LDFLAGS"
9099        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9100        cat >conftest.$ac_ext <<_ACEOF
9101int foo(void) {}
9102_ACEOF
9103rm -f conftest.$ac_objext conftest$ac_exeext
9104if { (ac_try="$ac_link"
9105case "(($ac_try" in
9106  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9107  *) ac_try_echo=$ac_try;;
9108esac
9109eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9110$as_echo "$ac_try_echo") >&5
9111  (eval "$ac_link") 2>conftest.er1
9112  ac_status=$?
9113  grep -v '^ *+' conftest.er1 >conftest.err
9114  rm -f conftest.er1
9115  cat conftest.err >&5
9116  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9117  (exit $ac_status); } && {
9118	 test -z "$ac_c_werror_flag" ||
9119	 test ! -s conftest.err
9120       } && test -s conftest$ac_exeext && {
9121	 test "$cross_compiling" = yes ||
9122	 $as_test_x conftest$ac_exeext
9123       }; then
9124  archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9125
9126else
9127  $as_echo "$as_me: failed program was:" >&5
9128sed 's/^/| /' conftest.$ac_ext >&5
9129
9130
9131fi
9132
9133rm -rf conftest.dSYM
9134rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9135      conftest$ac_exeext conftest.$ac_ext
9136        LDFLAGS="$save_LDFLAGS"
9137      else
9138	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9139	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9140      fi
9141      archive_cmds_need_lc='no'
9142      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9143      hardcode_libdir_separator=:
9144      inherit_rpath=yes
9145      link_all_deplibs=yes
9146      ;;
9147
9148    netbsd*)
9149      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9150	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9151      else
9152	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9153      fi
9154      hardcode_libdir_flag_spec='-R$libdir'
9155      hardcode_direct=yes
9156      hardcode_shlibpath_var=no
9157      ;;
9158
9159    newsos6)
9160      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9161      hardcode_direct=yes
9162      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9163      hardcode_libdir_separator=:
9164      hardcode_shlibpath_var=no
9165      ;;
9166
9167    *nto* | *qnx*)
9168      ;;
9169
9170    openbsd*)
9171      if test -f /usr/libexec/ld.so; then
9172	hardcode_direct=yes
9173	hardcode_shlibpath_var=no
9174	hardcode_direct_absolute=yes
9175	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9176	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9177	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9178	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9179	  export_dynamic_flag_spec='${wl}-E'
9180	else
9181	  case $host_os in
9182	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9183	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9184	     hardcode_libdir_flag_spec='-R$libdir'
9185	     ;;
9186	   *)
9187	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9188	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9189	     ;;
9190	  esac
9191	fi
9192      else
9193	ld_shlibs=no
9194      fi
9195      ;;
9196
9197    os2*)
9198      hardcode_libdir_flag_spec='-L$libdir'
9199      hardcode_minus_L=yes
9200      allow_undefined_flag=unsupported
9201      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'
9202      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9203      ;;
9204
9205    osf3*)
9206      if test "$GCC" = yes; then
9207	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9208	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9209      else
9210	allow_undefined_flag=' -expect_unresolved \*'
9211	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9212      fi
9213      archive_cmds_need_lc='no'
9214      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9215      hardcode_libdir_separator=:
9216      ;;
9217
9218    osf4* | osf5*)	# as osf3* with the addition of -msym flag
9219      if test "$GCC" = yes; then
9220	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9221	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9222	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9223      else
9224	allow_undefined_flag=' -expect_unresolved \*'
9225	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9226	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~
9227	$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9228
9229	# Both c and cxx compiler support -rpath directly
9230	hardcode_libdir_flag_spec='-rpath $libdir'
9231      fi
9232      archive_cmds_need_lc='no'
9233      hardcode_libdir_separator=:
9234      ;;
9235
9236    solaris*)
9237      no_undefined_flag=' -z defs'
9238      if test "$GCC" = yes; then
9239	wlarc='${wl}'
9240	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9241	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9242	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9243      else
9244	case `$CC -V 2>&1` in
9245	*"Compilers 5.0"*)
9246	  wlarc=''
9247	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9248	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9249	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9250	  ;;
9251	*)
9252	  wlarc='${wl}'
9253	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9254	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9255	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9256	  ;;
9257	esac
9258      fi
9259      hardcode_libdir_flag_spec='-R$libdir'
9260      hardcode_shlibpath_var=no
9261      case $host_os in
9262      solaris2.[0-5] | solaris2.[0-5].*) ;;
9263      *)
9264	# The compiler driver will combine and reorder linker options,
9265	# but understands `-z linker_flag'.  GCC discards it without `$wl',
9266	# but is careful enough not to reorder.
9267	# Supported since Solaris 2.6 (maybe 2.5.1?)
9268	if test "$GCC" = yes; then
9269	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9270	else
9271	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9272	fi
9273	;;
9274      esac
9275      link_all_deplibs=yes
9276      ;;
9277
9278    sunos4*)
9279      if test "x$host_vendor" = xsequent; then
9280	# Use $CC to link under sequent, because it throws in some extra .o
9281	# files that make .init and .fini sections work.
9282	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9283      else
9284	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9285      fi
9286      hardcode_libdir_flag_spec='-L$libdir'
9287      hardcode_direct=yes
9288      hardcode_minus_L=yes
9289      hardcode_shlibpath_var=no
9290      ;;
9291
9292    sysv4)
9293      case $host_vendor in
9294	sni)
9295	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9296	  hardcode_direct=yes # is this really true???
9297	;;
9298	siemens)
9299	  ## LD is ld it makes a PLAMLIB
9300	  ## CC just makes a GrossModule.
9301	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9302	  reload_cmds='$CC -r -o $output$reload_objs'
9303	  hardcode_direct=no
9304        ;;
9305	motorola)
9306	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9307	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9308	;;
9309      esac
9310      runpath_var='LD_RUN_PATH'
9311      hardcode_shlibpath_var=no
9312      ;;
9313
9314    sysv4.3*)
9315      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9316      hardcode_shlibpath_var=no
9317      export_dynamic_flag_spec='-Bexport'
9318      ;;
9319
9320    sysv4*MP*)
9321      if test -d /usr/nec; then
9322	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9323	hardcode_shlibpath_var=no
9324	runpath_var=LD_RUN_PATH
9325	hardcode_runpath_var=yes
9326	ld_shlibs=yes
9327      fi
9328      ;;
9329
9330    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9331      no_undefined_flag='${wl}-z,text'
9332      archive_cmds_need_lc=no
9333      hardcode_shlibpath_var=no
9334      runpath_var='LD_RUN_PATH'
9335
9336      if test "$GCC" = yes; then
9337	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9338	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9339      else
9340	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9341	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9342      fi
9343      ;;
9344
9345    sysv5* | sco3.2v5* | sco5v6*)
9346      # Note: We can NOT use -z defs as we might desire, because we do not
9347      # link with -lc, and that would cause any symbols used from libc to
9348      # always be unresolved, which means just about no library would
9349      # ever link correctly.  If we're not using GNU ld we use -z text
9350      # though, which does catch some bad symbols but isn't as heavy-handed
9351      # as -z defs.
9352      no_undefined_flag='${wl}-z,text'
9353      allow_undefined_flag='${wl}-z,nodefs'
9354      archive_cmds_need_lc=no
9355      hardcode_shlibpath_var=no
9356      hardcode_libdir_flag_spec='${wl}-R,$libdir'
9357      hardcode_libdir_separator=':'
9358      link_all_deplibs=yes
9359      export_dynamic_flag_spec='${wl}-Bexport'
9360      runpath_var='LD_RUN_PATH'
9361
9362      if test "$GCC" = yes; then
9363	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9364	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9365      else
9366	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9367	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9368      fi
9369      ;;
9370
9371    uts4*)
9372      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9373      hardcode_libdir_flag_spec='-L$libdir'
9374      hardcode_shlibpath_var=no
9375      ;;
9376
9377    *)
9378      ld_shlibs=no
9379      ;;
9380    esac
9381
9382    if test x$host_vendor = xsni; then
9383      case $host in
9384      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9385	export_dynamic_flag_spec='${wl}-Blargedynsym'
9386	;;
9387      esac
9388    fi
9389  fi
9390
9391{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9392$as_echo "$ld_shlibs" >&6; }
9393test "$ld_shlibs" = no && can_build_shared=no
9394
9395with_gnu_ld=$with_gnu_ld
9396
9397
9398
9399
9400
9401
9402
9403
9404
9405
9406
9407
9408
9409
9410
9411#
9412# Do we need to explicitly link libc?
9413#
9414case "x$archive_cmds_need_lc" in
9415x|xyes)
9416  # Assume -lc should be added
9417  archive_cmds_need_lc=yes
9418
9419  if test "$enable_shared" = yes && test "$GCC" = yes; then
9420    case $archive_cmds in
9421    *'~'*)
9422      # FIXME: we may have to deal with multi-command sequences.
9423      ;;
9424    '$CC '*)
9425      # Test whether the compiler implicitly links with -lc since on some
9426      # systems, -lgcc has to come before -lc. If gcc already passes -lc
9427      # to ld, don't add -lc before -lgcc.
9428      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9429$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9430      $RM conftest*
9431      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9432
9433      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9434  (eval $ac_compile) 2>&5
9435  ac_status=$?
9436  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9437  (exit $ac_status); } 2>conftest.err; then
9438        soname=conftest
9439        lib=conftest
9440        libobjs=conftest.$ac_objext
9441        deplibs=
9442        wl=$lt_prog_compiler_wl
9443	pic_flag=$lt_prog_compiler_pic
9444        compiler_flags=-v
9445        linker_flags=-v
9446        verstring=
9447        output_objdir=.
9448        libname=conftest
9449        lt_save_allow_undefined_flag=$allow_undefined_flag
9450        allow_undefined_flag=
9451        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
9452  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9453  ac_status=$?
9454  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9455  (exit $ac_status); }
9456        then
9457	  archive_cmds_need_lc=no
9458        else
9459	  archive_cmds_need_lc=yes
9460        fi
9461        allow_undefined_flag=$lt_save_allow_undefined_flag
9462      else
9463        cat conftest.err 1>&5
9464      fi
9465      $RM conftest*
9466      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9467$as_echo "$archive_cmds_need_lc" >&6; }
9468      ;;
9469    esac
9470  fi
9471  ;;
9472esac
9473
9474
9475
9476
9477
9478
9479
9480
9481
9482
9483
9484
9485
9486
9487
9488
9489
9490
9491
9492
9493
9494
9495
9496
9497
9498
9499
9500
9501
9502
9503
9504
9505
9506
9507
9508
9509
9510
9511
9512
9513
9514
9515
9516
9517
9518
9519
9520
9521
9522
9523
9524
9525
9526
9527
9528
9529
9530
9531
9532
9533
9534
9535
9536
9537
9538
9539
9540
9541
9542
9543
9544
9545
9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
9579
9580
9581
9582
9583
9584
9585
9586
9587
9588
9589
9590
9591
9592
9593
9594
9595
9596
9597
9598
9599
9600
9601
9602
9603
9604
9605
9606
9607
9608
9609
9610
9611
9612
9613
9614
9615
9616
9617
9618
9619
9620
9621
9622
9623
9624
9625
9626
9627
9628
9629
9630  { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9631$as_echo_n "checking dynamic linker characteristics... " >&6; }
9632
9633if test "$GCC" = yes; then
9634  case $host_os in
9635    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9636    *) lt_awk_arg="/^libraries:/" ;;
9637  esac
9638  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9639  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9640    # if the path contains ";" then we assume it to be the separator
9641    # otherwise default to the standard path separator (i.e. ":") - it is
9642    # assumed that no part of a normal pathname contains ";" but that should
9643    # okay in the real world where ";" in dirpaths is itself problematic.
9644    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9645  else
9646    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9647  fi
9648  # Ok, now we have the path, separated by spaces, we can step through it
9649  # and add multilib dir if necessary.
9650  lt_tmp_lt_search_path_spec=
9651  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9652  for lt_sys_path in $lt_search_path_spec; do
9653    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9654      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9655    else
9656      test -d "$lt_sys_path" && \
9657	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9658    fi
9659  done
9660  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9661BEGIN {RS=" "; FS="/|\n";} {
9662  lt_foo="";
9663  lt_count=0;
9664  for (lt_i = NF; lt_i > 0; lt_i--) {
9665    if ($lt_i != "" && $lt_i != ".") {
9666      if ($lt_i == "..") {
9667        lt_count++;
9668      } else {
9669        if (lt_count == 0) {
9670          lt_foo="/" $lt_i lt_foo;
9671        } else {
9672          lt_count--;
9673        }
9674      }
9675    }
9676  }
9677  if (lt_foo != "") { lt_freq[lt_foo]++; }
9678  if (lt_freq[lt_foo] == 1) { print lt_foo; }
9679}'`
9680  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9681else
9682  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9683fi
9684library_names_spec=
9685libname_spec='lib$name'
9686soname_spec=
9687shrext_cmds=".so"
9688postinstall_cmds=
9689postuninstall_cmds=
9690finish_cmds=
9691finish_eval=
9692shlibpath_var=
9693shlibpath_overrides_runpath=unknown
9694version_type=none
9695dynamic_linker="$host_os ld.so"
9696sys_lib_dlsearch_path_spec="/lib /usr/lib"
9697need_lib_prefix=unknown
9698hardcode_into_libs=no
9699
9700# when you set need_version to no, make sure it does not cause -set_version
9701# flags to be left without arguments
9702need_version=unknown
9703
9704case $host_os in
9705aix3*)
9706  version_type=linux
9707  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9708  shlibpath_var=LIBPATH
9709
9710  # AIX 3 has no versioning support, so we append a major version to the name.
9711  soname_spec='${libname}${release}${shared_ext}$major'
9712  ;;
9713
9714aix[4-9]*)
9715  version_type=linux
9716  need_lib_prefix=no
9717  need_version=no
9718  hardcode_into_libs=yes
9719  if test "$host_cpu" = ia64; then
9720    # AIX 5 supports IA64
9721    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9722    shlibpath_var=LD_LIBRARY_PATH
9723  else
9724    # With GCC up to 2.95.x, collect2 would create an import file
9725    # for dependence libraries.  The import file would start with
9726    # the line `#! .'.  This would cause the generated library to
9727    # depend on `.', always an invalid library.  This was fixed in
9728    # development snapshots of GCC prior to 3.0.
9729    case $host_os in
9730      aix4 | aix4.[01] | aix4.[01].*)
9731      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9732	   echo ' yes '
9733	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9734	:
9735      else
9736	can_build_shared=no
9737      fi
9738      ;;
9739    esac
9740    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9741    # soname into executable. Probably we can add versioning support to
9742    # collect2, so additional links can be useful in future.
9743    if test "$aix_use_runtimelinking" = yes; then
9744      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9745      # instead of lib<name>.a to let people know that these are not
9746      # typical AIX shared libraries.
9747      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9748    else
9749      # We preserve .a as extension for shared libraries through AIX4.2
9750      # and later when we are not doing run time linking.
9751      library_names_spec='${libname}${release}.a $libname.a'
9752      soname_spec='${libname}${release}${shared_ext}$major'
9753    fi
9754    shlibpath_var=LIBPATH
9755  fi
9756  ;;
9757
9758amigaos*)
9759  case $host_cpu in
9760  powerpc)
9761    # Since July 2007 AmigaOS4 officially supports .so libraries.
9762    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9763    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9764    ;;
9765  m68k)
9766    library_names_spec='$libname.ixlibrary $libname.a'
9767    # Create ${libname}_ixlibrary.a entries in /sys/libs.
9768    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''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'
9769    ;;
9770  esac
9771  ;;
9772
9773beos*)
9774  library_names_spec='${libname}${shared_ext}'
9775  dynamic_linker="$host_os ld.so"
9776  shlibpath_var=LIBRARY_PATH
9777  ;;
9778
9779bsdi[45]*)
9780  version_type=linux
9781  need_version=no
9782  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9783  soname_spec='${libname}${release}${shared_ext}$major'
9784  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9785  shlibpath_var=LD_LIBRARY_PATH
9786  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9787  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9788  # the default ld.so.conf also contains /usr/contrib/lib and
9789  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9790  # libtool to hard-code these into programs
9791  ;;
9792
9793cygwin* | mingw* | pw32* | cegcc*)
9794  version_type=windows
9795  shrext_cmds=".dll"
9796  need_version=no
9797  need_lib_prefix=no
9798
9799  case $GCC,$host_os in
9800  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9801    library_names_spec='$libname.dll.a'
9802    # DLL is installed to $(libdir)/../bin by postinstall_cmds
9803    postinstall_cmds='base_file=`basename \${file}`~
9804      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9805      dldir=$destdir/`dirname \$dlpath`~
9806      test -d \$dldir || mkdir -p \$dldir~
9807      $install_prog $dir/$dlname \$dldir/$dlname~
9808      chmod a+x \$dldir/$dlname~
9809      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9810        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9811      fi'
9812    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9813      dlpath=$dir/\$dldll~
9814       $RM \$dlpath'
9815    shlibpath_overrides_runpath=yes
9816
9817    case $host_os in
9818    cygwin*)
9819      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9820      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9821      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9822      ;;
9823    mingw* | cegcc*)
9824      # MinGW DLLs use traditional 'lib' prefix
9825      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9826      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9827      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9828        # It is most probably a Windows format PATH printed by
9829        # mingw gcc, but we are running on Cygwin. Gcc prints its search
9830        # path with ; separators, and with drive letters. We can handle the
9831        # drive letters (cygwin fileutils understands them), so leave them,
9832        # especially as we might pass files found there to a mingw objdump,
9833        # which wouldn't understand a cygwinified path. Ahh.
9834        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9835      else
9836        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9837      fi
9838      ;;
9839    pw32*)
9840      # pw32 DLLs use 'pw' prefix rather than 'lib'
9841      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9842      ;;
9843    esac
9844    ;;
9845
9846  *)
9847    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9848    ;;
9849  esac
9850  dynamic_linker='Win32 ld.exe'
9851  # FIXME: first we should search . and the directory the executable is in
9852  shlibpath_var=PATH
9853  ;;
9854
9855darwin* | rhapsody*)
9856  dynamic_linker="$host_os dyld"
9857  version_type=darwin
9858  need_lib_prefix=no
9859  need_version=no
9860  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9861  soname_spec='${libname}${release}${major}$shared_ext'
9862  shlibpath_overrides_runpath=yes
9863  shlibpath_var=DYLD_LIBRARY_PATH
9864  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9865
9866  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9867  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9868  ;;
9869
9870dgux*)
9871  version_type=linux
9872  need_lib_prefix=no
9873  need_version=no
9874  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9875  soname_spec='${libname}${release}${shared_ext}$major'
9876  shlibpath_var=LD_LIBRARY_PATH
9877  ;;
9878
9879freebsd1*)
9880  dynamic_linker=no
9881  ;;
9882
9883freebsd* | dragonfly*)
9884  # DragonFly does not have aout.  When/if they implement a new
9885  # versioning mechanism, adjust this.
9886  if test -x /usr/bin/objformat; then
9887    objformat=`/usr/bin/objformat`
9888  else
9889    case $host_os in
9890    freebsd[123]*) objformat=aout ;;
9891    *) objformat=elf ;;
9892    esac
9893  fi
9894  version_type=freebsd-$objformat
9895  case $version_type in
9896    freebsd-elf*)
9897      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9898      need_version=no
9899      need_lib_prefix=no
9900      ;;
9901    freebsd-*)
9902      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9903      need_version=yes
9904      ;;
9905  esac
9906  shlibpath_var=LD_LIBRARY_PATH
9907  case $host_os in
9908  freebsd2*)
9909    shlibpath_overrides_runpath=yes
9910    ;;
9911  freebsd3.[01]* | freebsdelf3.[01]*)
9912    shlibpath_overrides_runpath=yes
9913    hardcode_into_libs=yes
9914    ;;
9915  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9916  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9917    shlibpath_overrides_runpath=no
9918    hardcode_into_libs=yes
9919    ;;
9920  *) # from 4.6 on, and DragonFly
9921    shlibpath_overrides_runpath=yes
9922    hardcode_into_libs=yes
9923    ;;
9924  esac
9925  ;;
9926
9927gnu*)
9928  version_type=linux
9929  need_lib_prefix=no
9930  need_version=no
9931  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9932  soname_spec='${libname}${release}${shared_ext}$major'
9933  shlibpath_var=LD_LIBRARY_PATH
9934  hardcode_into_libs=yes
9935  ;;
9936
9937hpux9* | hpux10* | hpux11*)
9938  # Give a soname corresponding to the major version so that dld.sl refuses to
9939  # link against other versions.
9940  version_type=sunos
9941  need_lib_prefix=no
9942  need_version=no
9943  case $host_cpu in
9944  ia64*)
9945    shrext_cmds='.so'
9946    hardcode_into_libs=yes
9947    dynamic_linker="$host_os dld.so"
9948    shlibpath_var=LD_LIBRARY_PATH
9949    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9950    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9951    soname_spec='${libname}${release}${shared_ext}$major'
9952    if test "X$HPUX_IA64_MODE" = X32; then
9953      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9954    else
9955      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9956    fi
9957    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9958    ;;
9959  hppa*64*)
9960    shrext_cmds='.sl'
9961    hardcode_into_libs=yes
9962    dynamic_linker="$host_os dld.sl"
9963    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9964    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9965    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9966    soname_spec='${libname}${release}${shared_ext}$major'
9967    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9968    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9969    ;;
9970  *)
9971    shrext_cmds='.sl'
9972    dynamic_linker="$host_os dld.sl"
9973    shlibpath_var=SHLIB_PATH
9974    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9975    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9976    soname_spec='${libname}${release}${shared_ext}$major'
9977    ;;
9978  esac
9979  # HP-UX runs *really* slowly unless shared libraries are mode 555.
9980  postinstall_cmds='chmod 555 $lib'
9981  ;;
9982
9983interix[3-9]*)
9984  version_type=linux
9985  need_lib_prefix=no
9986  need_version=no
9987  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9988  soname_spec='${libname}${release}${shared_ext}$major'
9989  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9990  shlibpath_var=LD_LIBRARY_PATH
9991  shlibpath_overrides_runpath=no
9992  hardcode_into_libs=yes
9993  ;;
9994
9995irix5* | irix6* | nonstopux*)
9996  case $host_os in
9997    nonstopux*) version_type=nonstopux ;;
9998    *)
9999	if test "$lt_cv_prog_gnu_ld" = yes; then
10000		version_type=linux
10001	else
10002		version_type=irix
10003	fi ;;
10004  esac
10005  need_lib_prefix=no
10006  need_version=no
10007  soname_spec='${libname}${release}${shared_ext}$major'
10008  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10009  case $host_os in
10010  irix5* | nonstopux*)
10011    libsuff= shlibsuff=
10012    ;;
10013  *)
10014    case $LD in # libtool.m4 will add one of these switches to LD
10015    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10016      libsuff= shlibsuff= libmagic=32-bit;;
10017    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10018      libsuff=32 shlibsuff=N32 libmagic=N32;;
10019    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10020      libsuff=64 shlibsuff=64 libmagic=64-bit;;
10021    *) libsuff= shlibsuff= libmagic=never-match;;
10022    esac
10023    ;;
10024  esac
10025  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10026  shlibpath_overrides_runpath=no
10027  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10028  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10029  hardcode_into_libs=yes
10030  ;;
10031
10032# No shared lib support for Linux oldld, aout, or coff.
10033linux*oldld* | linux*aout* | linux*coff*)
10034  dynamic_linker=no
10035  ;;
10036
10037# This must be Linux ELF.
10038linux* | k*bsd*-gnu)
10039  version_type=linux
10040  need_lib_prefix=no
10041  need_version=no
10042  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10043  soname_spec='${libname}${release}${shared_ext}$major'
10044  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10045  shlibpath_var=LD_LIBRARY_PATH
10046  shlibpath_overrides_runpath=no
10047  # Some binutils ld are patched to set DT_RUNPATH
10048  save_LDFLAGS=$LDFLAGS
10049  save_libdir=$libdir
10050  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10051       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10052  cat >conftest.$ac_ext <<_ACEOF
10053/* confdefs.h.  */
10054_ACEOF
10055cat confdefs.h >>conftest.$ac_ext
10056cat >>conftest.$ac_ext <<_ACEOF
10057/* end confdefs.h.  */
10058
10059int
10060main ()
10061{
10062
10063  ;
10064  return 0;
10065}
10066_ACEOF
10067rm -f conftest.$ac_objext conftest$ac_exeext
10068if { (ac_try="$ac_link"
10069case "(($ac_try" in
10070  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10071  *) ac_try_echo=$ac_try;;
10072esac
10073eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10074$as_echo "$ac_try_echo") >&5
10075  (eval "$ac_link") 2>conftest.er1
10076  ac_status=$?
10077  grep -v '^ *+' conftest.er1 >conftest.err
10078  rm -f conftest.er1
10079  cat conftest.err >&5
10080  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10081  (exit $ac_status); } && {
10082	 test -z "$ac_c_werror_flag" ||
10083	 test ! -s conftest.err
10084       } && test -s conftest$ac_exeext && {
10085	 test "$cross_compiling" = yes ||
10086	 $as_test_x conftest$ac_exeext
10087       }; then
10088  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
10089  shlibpath_overrides_runpath=yes
10090fi
10091
10092else
10093  $as_echo "$as_me: failed program was:" >&5
10094sed 's/^/| /' conftest.$ac_ext >&5
10095
10096
10097fi
10098
10099rm -rf conftest.dSYM
10100rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10101      conftest$ac_exeext conftest.$ac_ext
10102  LDFLAGS=$save_LDFLAGS
10103  libdir=$save_libdir
10104
10105  # This implies no fast_install, which is unacceptable.
10106  # Some rework will be needed to allow for fast_install
10107  # before this can be enabled.
10108  hardcode_into_libs=yes
10109
10110  # Append ld.so.conf contents to the search path
10111  if test -f /etc/ld.so.conf; then
10112    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;/^$/d' | tr '\n' ' '`
10113    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10114  fi
10115
10116  # We used to test for /lib/ld.so.1 and disable shared libraries on
10117  # powerpc, because MkLinux only supported shared libraries with the
10118  # GNU dynamic linker.  Since this was broken with cross compilers,
10119  # most powerpc-linux boxes support dynamic linking these days and
10120  # people can always --disable-shared, the test was removed, and we
10121  # assume the GNU/Linux dynamic linker is in use.
10122  dynamic_linker='GNU/Linux ld.so'
10123  ;;
10124
10125netbsd*)
10126  version_type=sunos
10127  need_lib_prefix=no
10128  need_version=no
10129  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10130    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10131    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10132    dynamic_linker='NetBSD (a.out) ld.so'
10133  else
10134    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10135    soname_spec='${libname}${release}${shared_ext}$major'
10136    dynamic_linker='NetBSD ld.elf_so'
10137  fi
10138  shlibpath_var=LD_LIBRARY_PATH
10139  shlibpath_overrides_runpath=yes
10140  hardcode_into_libs=yes
10141  ;;
10142
10143newsos6)
10144  version_type=linux
10145  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10146  shlibpath_var=LD_LIBRARY_PATH
10147  shlibpath_overrides_runpath=yes
10148  ;;
10149
10150*nto* | *qnx*)
10151  version_type=qnx
10152  need_lib_prefix=no
10153  need_version=no
10154  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10155  soname_spec='${libname}${release}${shared_ext}$major'
10156  shlibpath_var=LD_LIBRARY_PATH
10157  shlibpath_overrides_runpath=no
10158  hardcode_into_libs=yes
10159  dynamic_linker='ldqnx.so'
10160  ;;
10161
10162openbsd*)
10163  version_type=sunos
10164  sys_lib_dlsearch_path_spec="/usr/lib"
10165  need_lib_prefix=no
10166  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10167  case $host_os in
10168    openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
10169    *)				need_version=no  ;;
10170  esac
10171  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10172  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10173  shlibpath_var=LD_LIBRARY_PATH
10174  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10175    case $host_os in
10176      openbsd2.[89] | openbsd2.[89].*)
10177	shlibpath_overrides_runpath=no
10178	;;
10179      *)
10180	shlibpath_overrides_runpath=yes
10181	;;
10182      esac
10183  else
10184    shlibpath_overrides_runpath=yes
10185  fi
10186  ;;
10187
10188os2*)
10189  libname_spec='$name'
10190  shrext_cmds=".dll"
10191  need_lib_prefix=no
10192  library_names_spec='$libname${shared_ext} $libname.a'
10193  dynamic_linker='OS/2 ld.exe'
10194  shlibpath_var=LIBPATH
10195  ;;
10196
10197osf3* | osf4* | osf5*)
10198  version_type=osf
10199  need_lib_prefix=no
10200  need_version=no
10201  soname_spec='${libname}${release}${shared_ext}$major'
10202  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10203  shlibpath_var=LD_LIBRARY_PATH
10204  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10205  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10206  ;;
10207
10208rdos*)
10209  dynamic_linker=no
10210  ;;
10211
10212solaris*)
10213  version_type=linux
10214  need_lib_prefix=no
10215  need_version=no
10216  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10217  soname_spec='${libname}${release}${shared_ext}$major'
10218  shlibpath_var=LD_LIBRARY_PATH
10219  shlibpath_overrides_runpath=yes
10220  hardcode_into_libs=yes
10221  # ldd complains unless libraries are executable
10222  postinstall_cmds='chmod +x $lib'
10223  ;;
10224
10225sunos4*)
10226  version_type=sunos
10227  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10228  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10229  shlibpath_var=LD_LIBRARY_PATH
10230  shlibpath_overrides_runpath=yes
10231  if test "$with_gnu_ld" = yes; then
10232    need_lib_prefix=no
10233  fi
10234  need_version=yes
10235  ;;
10236
10237sysv4 | sysv4.3*)
10238  version_type=linux
10239  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10240  soname_spec='${libname}${release}${shared_ext}$major'
10241  shlibpath_var=LD_LIBRARY_PATH
10242  case $host_vendor in
10243    sni)
10244      shlibpath_overrides_runpath=no
10245      need_lib_prefix=no
10246      runpath_var=LD_RUN_PATH
10247      ;;
10248    siemens)
10249      need_lib_prefix=no
10250      ;;
10251    motorola)
10252      need_lib_prefix=no
10253      need_version=no
10254      shlibpath_overrides_runpath=no
10255      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10256      ;;
10257  esac
10258  ;;
10259
10260sysv4*MP*)
10261  if test -d /usr/nec ;then
10262    version_type=linux
10263    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10264    soname_spec='$libname${shared_ext}.$major'
10265    shlibpath_var=LD_LIBRARY_PATH
10266  fi
10267  ;;
10268
10269sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10270  version_type=freebsd-elf
10271  need_lib_prefix=no
10272  need_version=no
10273  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10274  soname_spec='${libname}${release}${shared_ext}$major'
10275  shlibpath_var=LD_LIBRARY_PATH
10276  shlibpath_overrides_runpath=yes
10277  hardcode_into_libs=yes
10278  if test "$with_gnu_ld" = yes; then
10279    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10280  else
10281    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10282    case $host_os in
10283      sco3.2v5*)
10284        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10285	;;
10286    esac
10287  fi
10288  sys_lib_dlsearch_path_spec='/usr/lib'
10289  ;;
10290
10291tpf*)
10292  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10293  version_type=linux
10294  need_lib_prefix=no
10295  need_version=no
10296  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10297  shlibpath_var=LD_LIBRARY_PATH
10298  shlibpath_overrides_runpath=no
10299  hardcode_into_libs=yes
10300  ;;
10301
10302uts4*)
10303  version_type=linux
10304  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10305  soname_spec='${libname}${release}${shared_ext}$major'
10306  shlibpath_var=LD_LIBRARY_PATH
10307  ;;
10308
10309*)
10310  dynamic_linker=no
10311  ;;
10312esac
10313{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10314$as_echo "$dynamic_linker" >&6; }
10315test "$dynamic_linker" = no && can_build_shared=no
10316
10317variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10318if test "$GCC" = yes; then
10319  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10320fi
10321
10322if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10323  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10324fi
10325if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10326  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10327fi
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415  { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10416$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10417hardcode_action=
10418if test -n "$hardcode_libdir_flag_spec" ||
10419   test -n "$runpath_var" ||
10420   test "X$hardcode_automatic" = "Xyes" ; then
10421
10422  # We can hardcode non-existent directories.
10423  if test "$hardcode_direct" != no &&
10424     # If the only mechanism to avoid hardcoding is shlibpath_var, we
10425     # have to relink, otherwise we might link with an installed library
10426     # when we should be linking with a yet-to-be-installed one
10427     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10428     test "$hardcode_minus_L" != no; then
10429    # Linking always hardcodes the temporary library directory.
10430    hardcode_action=relink
10431  else
10432    # We can link without hardcoding, and we can hardcode nonexisting dirs.
10433    hardcode_action=immediate
10434  fi
10435else
10436  # We cannot hardcode anything, or else we can only hardcode existing
10437  # directories.
10438  hardcode_action=unsupported
10439fi
10440{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
10441$as_echo "$hardcode_action" >&6; }
10442
10443if test "$hardcode_action" = relink ||
10444   test "$inherit_rpath" = yes; then
10445  # Fast installation is not supported
10446  enable_fast_install=no
10447elif test "$shlibpath_overrides_runpath" = yes ||
10448     test "$enable_shared" = no; then
10449  # Fast installation is not necessary
10450  enable_fast_install=needless
10451fi
10452
10453
10454
10455
10456
10457
10458  if test "x$enable_dlopen" != xyes; then
10459  enable_dlopen=unknown
10460  enable_dlopen_self=unknown
10461  enable_dlopen_self_static=unknown
10462else
10463  lt_cv_dlopen=no
10464  lt_cv_dlopen_libs=
10465
10466  case $host_os in
10467  beos*)
10468    lt_cv_dlopen="load_add_on"
10469    lt_cv_dlopen_libs=
10470    lt_cv_dlopen_self=yes
10471    ;;
10472
10473  mingw* | pw32* | cegcc*)
10474    lt_cv_dlopen="LoadLibrary"
10475    lt_cv_dlopen_libs=
10476    ;;
10477
10478  cygwin*)
10479    lt_cv_dlopen="dlopen"
10480    lt_cv_dlopen_libs=
10481    ;;
10482
10483  darwin*)
10484  # if libdl is installed we need to link against it
10485    { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10486$as_echo_n "checking for dlopen in -ldl... " >&6; }
10487if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10488  $as_echo_n "(cached) " >&6
10489else
10490  ac_check_lib_save_LIBS=$LIBS
10491LIBS="-ldl  $LIBS"
10492cat >conftest.$ac_ext <<_ACEOF
10493/* confdefs.h.  */
10494_ACEOF
10495cat confdefs.h >>conftest.$ac_ext
10496cat >>conftest.$ac_ext <<_ACEOF
10497/* end confdefs.h.  */
10498
10499/* Override any GCC internal prototype to avoid an error.
10500   Use char because int might match the return type of a GCC
10501   builtin and then its argument prototype would still apply.  */
10502#ifdef __cplusplus
10503extern "C"
10504#endif
10505char dlopen ();
10506int
10507main ()
10508{
10509return dlopen ();
10510  ;
10511  return 0;
10512}
10513_ACEOF
10514rm -f conftest.$ac_objext conftest$ac_exeext
10515if { (ac_try="$ac_link"
10516case "(($ac_try" in
10517  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10518  *) ac_try_echo=$ac_try;;
10519esac
10520eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10521$as_echo "$ac_try_echo") >&5
10522  (eval "$ac_link") 2>conftest.er1
10523  ac_status=$?
10524  grep -v '^ *+' conftest.er1 >conftest.err
10525  rm -f conftest.er1
10526  cat conftest.err >&5
10527  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10528  (exit $ac_status); } && {
10529	 test -z "$ac_c_werror_flag" ||
10530	 test ! -s conftest.err
10531       } && test -s conftest$ac_exeext && {
10532	 test "$cross_compiling" = yes ||
10533	 $as_test_x conftest$ac_exeext
10534       }; then
10535  ac_cv_lib_dl_dlopen=yes
10536else
10537  $as_echo "$as_me: failed program was:" >&5
10538sed 's/^/| /' conftest.$ac_ext >&5
10539
10540	ac_cv_lib_dl_dlopen=no
10541fi
10542
10543rm -rf conftest.dSYM
10544rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10545      conftest$ac_exeext conftest.$ac_ext
10546LIBS=$ac_check_lib_save_LIBS
10547fi
10548{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10549$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10550if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
10551  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10552else
10553
10554    lt_cv_dlopen="dyld"
10555    lt_cv_dlopen_libs=
10556    lt_cv_dlopen_self=yes
10557
10558fi
10559
10560    ;;
10561
10562  *)
10563    { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
10564$as_echo_n "checking for shl_load... " >&6; }
10565if test "${ac_cv_func_shl_load+set}" = set; then
10566  $as_echo_n "(cached) " >&6
10567else
10568  cat >conftest.$ac_ext <<_ACEOF
10569/* confdefs.h.  */
10570_ACEOF
10571cat confdefs.h >>conftest.$ac_ext
10572cat >>conftest.$ac_ext <<_ACEOF
10573/* end confdefs.h.  */
10574/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10575   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10576#define shl_load innocuous_shl_load
10577
10578/* System header to define __stub macros and hopefully few prototypes,
10579    which can conflict with char shl_load (); below.
10580    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10581    <limits.h> exists even on freestanding compilers.  */
10582
10583#ifdef __STDC__
10584# include <limits.h>
10585#else
10586# include <assert.h>
10587#endif
10588
10589#undef shl_load
10590
10591/* Override any GCC internal prototype to avoid an error.
10592   Use char because int might match the return type of a GCC
10593   builtin and then its argument prototype would still apply.  */
10594#ifdef __cplusplus
10595extern "C"
10596#endif
10597char shl_load ();
10598/* The GNU C library defines this for functions which it implements
10599    to always fail with ENOSYS.  Some functions are actually named
10600    something starting with __ and the normal name is an alias.  */
10601#if defined __stub_shl_load || defined __stub___shl_load
10602choke me
10603#endif
10604
10605int
10606main ()
10607{
10608return shl_load ();
10609  ;
10610  return 0;
10611}
10612_ACEOF
10613rm -f conftest.$ac_objext conftest$ac_exeext
10614if { (ac_try="$ac_link"
10615case "(($ac_try" in
10616  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10617  *) ac_try_echo=$ac_try;;
10618esac
10619eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10620$as_echo "$ac_try_echo") >&5
10621  (eval "$ac_link") 2>conftest.er1
10622  ac_status=$?
10623  grep -v '^ *+' conftest.er1 >conftest.err
10624  rm -f conftest.er1
10625  cat conftest.err >&5
10626  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10627  (exit $ac_status); } && {
10628	 test -z "$ac_c_werror_flag" ||
10629	 test ! -s conftest.err
10630       } && test -s conftest$ac_exeext && {
10631	 test "$cross_compiling" = yes ||
10632	 $as_test_x conftest$ac_exeext
10633       }; then
10634  ac_cv_func_shl_load=yes
10635else
10636  $as_echo "$as_me: failed program was:" >&5
10637sed 's/^/| /' conftest.$ac_ext >&5
10638
10639	ac_cv_func_shl_load=no
10640fi
10641
10642rm -rf conftest.dSYM
10643rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10644      conftest$ac_exeext conftest.$ac_ext
10645fi
10646{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10647$as_echo "$ac_cv_func_shl_load" >&6; }
10648if test "x$ac_cv_func_shl_load" = x""yes; then
10649  lt_cv_dlopen="shl_load"
10650else
10651  { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10652$as_echo_n "checking for shl_load in -ldld... " >&6; }
10653if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10654  $as_echo_n "(cached) " >&6
10655else
10656  ac_check_lib_save_LIBS=$LIBS
10657LIBS="-ldld  $LIBS"
10658cat >conftest.$ac_ext <<_ACEOF
10659/* confdefs.h.  */
10660_ACEOF
10661cat confdefs.h >>conftest.$ac_ext
10662cat >>conftest.$ac_ext <<_ACEOF
10663/* end confdefs.h.  */
10664
10665/* Override any GCC internal prototype to avoid an error.
10666   Use char because int might match the return type of a GCC
10667   builtin and then its argument prototype would still apply.  */
10668#ifdef __cplusplus
10669extern "C"
10670#endif
10671char shl_load ();
10672int
10673main ()
10674{
10675return shl_load ();
10676  ;
10677  return 0;
10678}
10679_ACEOF
10680rm -f conftest.$ac_objext conftest$ac_exeext
10681if { (ac_try="$ac_link"
10682case "(($ac_try" in
10683  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10684  *) ac_try_echo=$ac_try;;
10685esac
10686eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10687$as_echo "$ac_try_echo") >&5
10688  (eval "$ac_link") 2>conftest.er1
10689  ac_status=$?
10690  grep -v '^ *+' conftest.er1 >conftest.err
10691  rm -f conftest.er1
10692  cat conftest.err >&5
10693  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10694  (exit $ac_status); } && {
10695	 test -z "$ac_c_werror_flag" ||
10696	 test ! -s conftest.err
10697       } && test -s conftest$ac_exeext && {
10698	 test "$cross_compiling" = yes ||
10699	 $as_test_x conftest$ac_exeext
10700       }; then
10701  ac_cv_lib_dld_shl_load=yes
10702else
10703  $as_echo "$as_me: failed program was:" >&5
10704sed 's/^/| /' conftest.$ac_ext >&5
10705
10706	ac_cv_lib_dld_shl_load=no
10707fi
10708
10709rm -rf conftest.dSYM
10710rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10711      conftest$ac_exeext conftest.$ac_ext
10712LIBS=$ac_check_lib_save_LIBS
10713fi
10714{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10715$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10716if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
10717  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10718else
10719  { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
10720$as_echo_n "checking for dlopen... " >&6; }
10721if test "${ac_cv_func_dlopen+set}" = set; then
10722  $as_echo_n "(cached) " >&6
10723else
10724  cat >conftest.$ac_ext <<_ACEOF
10725/* confdefs.h.  */
10726_ACEOF
10727cat confdefs.h >>conftest.$ac_ext
10728cat >>conftest.$ac_ext <<_ACEOF
10729/* end confdefs.h.  */
10730/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10731   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10732#define dlopen innocuous_dlopen
10733
10734/* System header to define __stub macros and hopefully few prototypes,
10735    which can conflict with char dlopen (); below.
10736    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10737    <limits.h> exists even on freestanding compilers.  */
10738
10739#ifdef __STDC__
10740# include <limits.h>
10741#else
10742# include <assert.h>
10743#endif
10744
10745#undef dlopen
10746
10747/* Override any GCC internal prototype to avoid an error.
10748   Use char because int might match the return type of a GCC
10749   builtin and then its argument prototype would still apply.  */
10750#ifdef __cplusplus
10751extern "C"
10752#endif
10753char dlopen ();
10754/* The GNU C library defines this for functions which it implements
10755    to always fail with ENOSYS.  Some functions are actually named
10756    something starting with __ and the normal name is an alias.  */
10757#if defined __stub_dlopen || defined __stub___dlopen
10758choke me
10759#endif
10760
10761int
10762main ()
10763{
10764return dlopen ();
10765  ;
10766  return 0;
10767}
10768_ACEOF
10769rm -f conftest.$ac_objext conftest$ac_exeext
10770if { (ac_try="$ac_link"
10771case "(($ac_try" in
10772  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10773  *) ac_try_echo=$ac_try;;
10774esac
10775eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10776$as_echo "$ac_try_echo") >&5
10777  (eval "$ac_link") 2>conftest.er1
10778  ac_status=$?
10779  grep -v '^ *+' conftest.er1 >conftest.err
10780  rm -f conftest.er1
10781  cat conftest.err >&5
10782  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10783  (exit $ac_status); } && {
10784	 test -z "$ac_c_werror_flag" ||
10785	 test ! -s conftest.err
10786       } && test -s conftest$ac_exeext && {
10787	 test "$cross_compiling" = yes ||
10788	 $as_test_x conftest$ac_exeext
10789       }; then
10790  ac_cv_func_dlopen=yes
10791else
10792  $as_echo "$as_me: failed program was:" >&5
10793sed 's/^/| /' conftest.$ac_ext >&5
10794
10795	ac_cv_func_dlopen=no
10796fi
10797
10798rm -rf conftest.dSYM
10799rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10800      conftest$ac_exeext conftest.$ac_ext
10801fi
10802{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10803$as_echo "$ac_cv_func_dlopen" >&6; }
10804if test "x$ac_cv_func_dlopen" = x""yes; then
10805  lt_cv_dlopen="dlopen"
10806else
10807  { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10808$as_echo_n "checking for dlopen in -ldl... " >&6; }
10809if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10810  $as_echo_n "(cached) " >&6
10811else
10812  ac_check_lib_save_LIBS=$LIBS
10813LIBS="-ldl  $LIBS"
10814cat >conftest.$ac_ext <<_ACEOF
10815/* confdefs.h.  */
10816_ACEOF
10817cat confdefs.h >>conftest.$ac_ext
10818cat >>conftest.$ac_ext <<_ACEOF
10819/* end confdefs.h.  */
10820
10821/* Override any GCC internal prototype to avoid an error.
10822   Use char because int might match the return type of a GCC
10823   builtin and then its argument prototype would still apply.  */
10824#ifdef __cplusplus
10825extern "C"
10826#endif
10827char dlopen ();
10828int
10829main ()
10830{
10831return dlopen ();
10832  ;
10833  return 0;
10834}
10835_ACEOF
10836rm -f conftest.$ac_objext conftest$ac_exeext
10837if { (ac_try="$ac_link"
10838case "(($ac_try" in
10839  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10840  *) ac_try_echo=$ac_try;;
10841esac
10842eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10843$as_echo "$ac_try_echo") >&5
10844  (eval "$ac_link") 2>conftest.er1
10845  ac_status=$?
10846  grep -v '^ *+' conftest.er1 >conftest.err
10847  rm -f conftest.er1
10848  cat conftest.err >&5
10849  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10850  (exit $ac_status); } && {
10851	 test -z "$ac_c_werror_flag" ||
10852	 test ! -s conftest.err
10853       } && test -s conftest$ac_exeext && {
10854	 test "$cross_compiling" = yes ||
10855	 $as_test_x conftest$ac_exeext
10856       }; then
10857  ac_cv_lib_dl_dlopen=yes
10858else
10859  $as_echo "$as_me: failed program was:" >&5
10860sed 's/^/| /' conftest.$ac_ext >&5
10861
10862	ac_cv_lib_dl_dlopen=no
10863fi
10864
10865rm -rf conftest.dSYM
10866rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10867      conftest$ac_exeext conftest.$ac_ext
10868LIBS=$ac_check_lib_save_LIBS
10869fi
10870{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10871$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10872if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
10873  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10874else
10875  { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10876$as_echo_n "checking for dlopen in -lsvld... " >&6; }
10877if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10878  $as_echo_n "(cached) " >&6
10879else
10880  ac_check_lib_save_LIBS=$LIBS
10881LIBS="-lsvld  $LIBS"
10882cat >conftest.$ac_ext <<_ACEOF
10883/* confdefs.h.  */
10884_ACEOF
10885cat confdefs.h >>conftest.$ac_ext
10886cat >>conftest.$ac_ext <<_ACEOF
10887/* end confdefs.h.  */
10888
10889/* Override any GCC internal prototype to avoid an error.
10890   Use char because int might match the return type of a GCC
10891   builtin and then its argument prototype would still apply.  */
10892#ifdef __cplusplus
10893extern "C"
10894#endif
10895char dlopen ();
10896int
10897main ()
10898{
10899return dlopen ();
10900  ;
10901  return 0;
10902}
10903_ACEOF
10904rm -f conftest.$ac_objext conftest$ac_exeext
10905if { (ac_try="$ac_link"
10906case "(($ac_try" in
10907  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10908  *) ac_try_echo=$ac_try;;
10909esac
10910eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10911$as_echo "$ac_try_echo") >&5
10912  (eval "$ac_link") 2>conftest.er1
10913  ac_status=$?
10914  grep -v '^ *+' conftest.er1 >conftest.err
10915  rm -f conftest.er1
10916  cat conftest.err >&5
10917  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10918  (exit $ac_status); } && {
10919	 test -z "$ac_c_werror_flag" ||
10920	 test ! -s conftest.err
10921       } && test -s conftest$ac_exeext && {
10922	 test "$cross_compiling" = yes ||
10923	 $as_test_x conftest$ac_exeext
10924       }; then
10925  ac_cv_lib_svld_dlopen=yes
10926else
10927  $as_echo "$as_me: failed program was:" >&5
10928sed 's/^/| /' conftest.$ac_ext >&5
10929
10930	ac_cv_lib_svld_dlopen=no
10931fi
10932
10933rm -rf conftest.dSYM
10934rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10935      conftest$ac_exeext conftest.$ac_ext
10936LIBS=$ac_check_lib_save_LIBS
10937fi
10938{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10939$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10940if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
10941  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10942else
10943  { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10944$as_echo_n "checking for dld_link in -ldld... " >&6; }
10945if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10946  $as_echo_n "(cached) " >&6
10947else
10948  ac_check_lib_save_LIBS=$LIBS
10949LIBS="-ldld  $LIBS"
10950cat >conftest.$ac_ext <<_ACEOF
10951/* confdefs.h.  */
10952_ACEOF
10953cat confdefs.h >>conftest.$ac_ext
10954cat >>conftest.$ac_ext <<_ACEOF
10955/* end confdefs.h.  */
10956
10957/* Override any GCC internal prototype to avoid an error.
10958   Use char because int might match the return type of a GCC
10959   builtin and then its argument prototype would still apply.  */
10960#ifdef __cplusplus
10961extern "C"
10962#endif
10963char dld_link ();
10964int
10965main ()
10966{
10967return dld_link ();
10968  ;
10969  return 0;
10970}
10971_ACEOF
10972rm -f conftest.$ac_objext conftest$ac_exeext
10973if { (ac_try="$ac_link"
10974case "(($ac_try" in
10975  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10976  *) ac_try_echo=$ac_try;;
10977esac
10978eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10979$as_echo "$ac_try_echo") >&5
10980  (eval "$ac_link") 2>conftest.er1
10981  ac_status=$?
10982  grep -v '^ *+' conftest.er1 >conftest.err
10983  rm -f conftest.er1
10984  cat conftest.err >&5
10985  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10986  (exit $ac_status); } && {
10987	 test -z "$ac_c_werror_flag" ||
10988	 test ! -s conftest.err
10989       } && test -s conftest$ac_exeext && {
10990	 test "$cross_compiling" = yes ||
10991	 $as_test_x conftest$ac_exeext
10992       }; then
10993  ac_cv_lib_dld_dld_link=yes
10994else
10995  $as_echo "$as_me: failed program was:" >&5
10996sed 's/^/| /' conftest.$ac_ext >&5
10997
10998	ac_cv_lib_dld_dld_link=no
10999fi
11000
11001rm -rf conftest.dSYM
11002rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11003      conftest$ac_exeext conftest.$ac_ext
11004LIBS=$ac_check_lib_save_LIBS
11005fi
11006{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11007$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11008if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
11009  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11010fi
11011
11012
11013fi
11014
11015
11016fi
11017
11018
11019fi
11020
11021
11022fi
11023
11024
11025fi
11026
11027    ;;
11028  esac
11029
11030  if test "x$lt_cv_dlopen" != xno; then
11031    enable_dlopen=yes
11032  else
11033    enable_dlopen=no
11034  fi
11035
11036  case $lt_cv_dlopen in
11037  dlopen)
11038    save_CPPFLAGS="$CPPFLAGS"
11039    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11040
11041    save_LDFLAGS="$LDFLAGS"
11042    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11043
11044    save_LIBS="$LIBS"
11045    LIBS="$lt_cv_dlopen_libs $LIBS"
11046
11047    { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
11048$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11049if test "${lt_cv_dlopen_self+set}" = set; then
11050  $as_echo_n "(cached) " >&6
11051else
11052  	  if test "$cross_compiling" = yes; then :
11053  lt_cv_dlopen_self=cross
11054else
11055  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11056  lt_status=$lt_dlunknown
11057  cat > conftest.$ac_ext <<_LT_EOF
11058#line 11058 "configure"
11059#include "confdefs.h"
11060
11061#if HAVE_DLFCN_H
11062#include <dlfcn.h>
11063#endif
11064
11065#include <stdio.h>
11066
11067#ifdef RTLD_GLOBAL
11068#  define LT_DLGLOBAL		RTLD_GLOBAL
11069#else
11070#  ifdef DL_GLOBAL
11071#    define LT_DLGLOBAL		DL_GLOBAL
11072#  else
11073#    define LT_DLGLOBAL		0
11074#  endif
11075#endif
11076
11077/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11078   find out it does not work in some platform. */
11079#ifndef LT_DLLAZY_OR_NOW
11080#  ifdef RTLD_LAZY
11081#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
11082#  else
11083#    ifdef DL_LAZY
11084#      define LT_DLLAZY_OR_NOW		DL_LAZY
11085#    else
11086#      ifdef RTLD_NOW
11087#        define LT_DLLAZY_OR_NOW	RTLD_NOW
11088#      else
11089#        ifdef DL_NOW
11090#          define LT_DLLAZY_OR_NOW	DL_NOW
11091#        else
11092#          define LT_DLLAZY_OR_NOW	0
11093#        endif
11094#      endif
11095#    endif
11096#  endif
11097#endif
11098
11099void fnord() { int i=42;}
11100int main ()
11101{
11102  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11103  int status = $lt_dlunknown;
11104
11105  if (self)
11106    {
11107      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11108      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11109      /* dlclose (self); */
11110    }
11111  else
11112    puts (dlerror ());
11113
11114  return status;
11115}
11116_LT_EOF
11117  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11118  (eval $ac_link) 2>&5
11119  ac_status=$?
11120  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11121  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11122    (./conftest; exit; ) >&5 2>/dev/null
11123    lt_status=$?
11124    case x$lt_status in
11125      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11126      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11127      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11128    esac
11129  else :
11130    # compilation failed
11131    lt_cv_dlopen_self=no
11132  fi
11133fi
11134rm -fr conftest*
11135
11136
11137fi
11138{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
11139$as_echo "$lt_cv_dlopen_self" >&6; }
11140
11141    if test "x$lt_cv_dlopen_self" = xyes; then
11142      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11143      { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
11144$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11145if test "${lt_cv_dlopen_self_static+set}" = set; then
11146  $as_echo_n "(cached) " >&6
11147else
11148  	  if test "$cross_compiling" = yes; then :
11149  lt_cv_dlopen_self_static=cross
11150else
11151  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11152  lt_status=$lt_dlunknown
11153  cat > conftest.$ac_ext <<_LT_EOF
11154#line 11154 "configure"
11155#include "confdefs.h"
11156
11157#if HAVE_DLFCN_H
11158#include <dlfcn.h>
11159#endif
11160
11161#include <stdio.h>
11162
11163#ifdef RTLD_GLOBAL
11164#  define LT_DLGLOBAL		RTLD_GLOBAL
11165#else
11166#  ifdef DL_GLOBAL
11167#    define LT_DLGLOBAL		DL_GLOBAL
11168#  else
11169#    define LT_DLGLOBAL		0
11170#  endif
11171#endif
11172
11173/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11174   find out it does not work in some platform. */
11175#ifndef LT_DLLAZY_OR_NOW
11176#  ifdef RTLD_LAZY
11177#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
11178#  else
11179#    ifdef DL_LAZY
11180#      define LT_DLLAZY_OR_NOW		DL_LAZY
11181#    else
11182#      ifdef RTLD_NOW
11183#        define LT_DLLAZY_OR_NOW	RTLD_NOW
11184#      else
11185#        ifdef DL_NOW
11186#          define LT_DLLAZY_OR_NOW	DL_NOW
11187#        else
11188#          define LT_DLLAZY_OR_NOW	0
11189#        endif
11190#      endif
11191#    endif
11192#  endif
11193#endif
11194
11195void fnord() { int i=42;}
11196int main ()
11197{
11198  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11199  int status = $lt_dlunknown;
11200
11201  if (self)
11202    {
11203      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11204      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11205      /* dlclose (self); */
11206    }
11207  else
11208    puts (dlerror ());
11209
11210  return status;
11211}
11212_LT_EOF
11213  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11214  (eval $ac_link) 2>&5
11215  ac_status=$?
11216  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11217  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11218    (./conftest; exit; ) >&5 2>/dev/null
11219    lt_status=$?
11220    case x$lt_status in
11221      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11222      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11223      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11224    esac
11225  else :
11226    # compilation failed
11227    lt_cv_dlopen_self_static=no
11228  fi
11229fi
11230rm -fr conftest*
11231
11232
11233fi
11234{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11235$as_echo "$lt_cv_dlopen_self_static" >&6; }
11236    fi
11237
11238    CPPFLAGS="$save_CPPFLAGS"
11239    LDFLAGS="$save_LDFLAGS"
11240    LIBS="$save_LIBS"
11241    ;;
11242  esac
11243
11244  case $lt_cv_dlopen_self in
11245  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11246  *) enable_dlopen_self=unknown ;;
11247  esac
11248
11249  case $lt_cv_dlopen_self_static in
11250  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11251  *) enable_dlopen_self_static=unknown ;;
11252  esac
11253fi
11254
11255
11256
11257
11258
11259
11260
11261
11262
11263
11264
11265
11266
11267
11268
11269
11270
11271striplib=
11272old_striplib=
11273{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11274$as_echo_n "checking whether stripping libraries is possible... " >&6; }
11275if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11276  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11277  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11278  { $as_echo "$as_me:$LINENO: result: yes" >&5
11279$as_echo "yes" >&6; }
11280else
11281# FIXME - insert some real tests, host_os isn't really good enough
11282  case $host_os in
11283  darwin*)
11284    if test -n "$STRIP" ; then
11285      striplib="$STRIP -x"
11286      old_striplib="$STRIP -S"
11287      { $as_echo "$as_me:$LINENO: result: yes" >&5
11288$as_echo "yes" >&6; }
11289    else
11290      { $as_echo "$as_me:$LINENO: result: no" >&5
11291$as_echo "no" >&6; }
11292    fi
11293    ;;
11294  *)
11295    { $as_echo "$as_me:$LINENO: result: no" >&5
11296$as_echo "no" >&6; }
11297    ;;
11298  esac
11299fi
11300
11301
11302
11303
11304
11305
11306
11307
11308
11309
11310
11311
11312  # Report which library types will actually be built
11313  { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11314$as_echo_n "checking if libtool supports shared libraries... " >&6; }
11315  { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
11316$as_echo "$can_build_shared" >&6; }
11317
11318  { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11319$as_echo_n "checking whether to build shared libraries... " >&6; }
11320  test "$can_build_shared" = "no" && enable_shared=no
11321
11322  # On AIX, shared libraries and static libraries use the same namespace, and
11323  # are all built from PIC.
11324  case $host_os in
11325  aix3*)
11326    test "$enable_shared" = yes && enable_static=no
11327    if test -n "$RANLIB"; then
11328      archive_cmds="$archive_cmds~\$RANLIB \$lib"
11329      postinstall_cmds='$RANLIB $lib'
11330    fi
11331    ;;
11332
11333  aix[4-9]*)
11334    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11335      test "$enable_shared" = yes && enable_static=no
11336    fi
11337    ;;
11338  esac
11339  { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
11340$as_echo "$enable_shared" >&6; }
11341
11342  { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11343$as_echo_n "checking whether to build static libraries... " >&6; }
11344  # Make sure either enable_shared or enable_static is yes.
11345  test "$enable_shared" = yes || enable_static=yes
11346  { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
11347$as_echo "$enable_static" >&6; }
11348
11349
11350
11351
11352fi
11353ac_ext=c
11354ac_cpp='$CPP $CPPFLAGS'
11355ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11356ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11357ac_compiler_gnu=$ac_cv_c_compiler_gnu
11358
11359CC="$lt_save_CC"
11360
11361
11362
11363
11364
11365
11366
11367
11368
11369
11370
11371
11372
11373        ac_config_commands="$ac_config_commands libtool"
11374
11375
11376
11377
11378# Only expand once:
11379
11380
11381{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
11382$as_echo_n "checking whether ln -s works... " >&6; }
11383LN_S=$as_ln_s
11384if test "$LN_S" = "ln -s"; then
11385  { $as_echo "$as_me:$LINENO: result: yes" >&5
11386$as_echo "yes" >&6; }
11387else
11388  { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
11389$as_echo "no, using $LN_S" >&6; }
11390fi
11391
11392
11393# Compiler characteristics
11394#
11395{ $as_echo "$as_me:$LINENO: checking if using gcc" >&5
11396$as_echo_n "checking if using gcc... " >&6; }
11397if test "$GCC" = "yes"; then
11398  WARNCFLAGS="-Werror -Wall -Wpointer-arith"
11399       { $as_echo "$as_me:$LINENO: result: yes; adding to CFLAGS: \"$WARNCFLAGS\"" >&5
11400$as_echo "yes; adding to CFLAGS: \"$WARNCFLAGS\"" >&6; }
11401else
11402  WARNCFLAGS=""
11403       { $as_echo "$as_me:$LINENO: result: no" >&5
11404$as_echo "no" >&6; }
11405fi
11406
11407
11408
11409# try to see if we need to link with -ldl
11410{ $as_echo "$as_me:$LINENO: checking for library containing dlopen" >&5
11411$as_echo_n "checking for library containing dlopen... " >&6; }
11412if test "${ac_cv_search_dlopen+set}" = set; then
11413  $as_echo_n "(cached) " >&6
11414else
11415  ac_func_search_save_LIBS=$LIBS
11416cat >conftest.$ac_ext <<_ACEOF
11417/* confdefs.h.  */
11418_ACEOF
11419cat confdefs.h >>conftest.$ac_ext
11420cat >>conftest.$ac_ext <<_ACEOF
11421/* end confdefs.h.  */
11422
11423/* Override any GCC internal prototype to avoid an error.
11424   Use char because int might match the return type of a GCC
11425   builtin and then its argument prototype would still apply.  */
11426#ifdef __cplusplus
11427extern "C"
11428#endif
11429char dlopen ();
11430int
11431main ()
11432{
11433return dlopen ();
11434  ;
11435  return 0;
11436}
11437_ACEOF
11438for ac_lib in '' dl; do
11439  if test -z "$ac_lib"; then
11440    ac_res="none required"
11441  else
11442    ac_res=-l$ac_lib
11443    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
11444  fi
11445  rm -f conftest.$ac_objext conftest$ac_exeext
11446if { (ac_try="$ac_link"
11447case "(($ac_try" in
11448  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11449  *) ac_try_echo=$ac_try;;
11450esac
11451eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11452$as_echo "$ac_try_echo") >&5
11453  (eval "$ac_link") 2>conftest.er1
11454  ac_status=$?
11455  grep -v '^ *+' conftest.er1 >conftest.err
11456  rm -f conftest.er1
11457  cat conftest.err >&5
11458  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11459  (exit $ac_status); } && {
11460	 test -z "$ac_c_werror_flag" ||
11461	 test ! -s conftest.err
11462       } && test -s conftest$ac_exeext && {
11463	 test "$cross_compiling" = yes ||
11464	 $as_test_x conftest$ac_exeext
11465       }; then
11466  ac_cv_search_dlopen=$ac_res
11467else
11468  $as_echo "$as_me: failed program was:" >&5
11469sed 's/^/| /' conftest.$ac_ext >&5
11470
11471
11472fi
11473
11474rm -rf conftest.dSYM
11475rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11476      conftest$ac_exeext
11477  if test "${ac_cv_search_dlopen+set}" = set; then
11478  break
11479fi
11480done
11481if test "${ac_cv_search_dlopen+set}" = set; then
11482  :
11483else
11484  ac_cv_search_dlopen=no
11485fi
11486rm conftest.$ac_ext
11487LIBS=$ac_func_search_save_LIBS
11488fi
11489{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
11490$as_echo "$ac_cv_search_dlopen" >&6; }
11491ac_res=$ac_cv_search_dlopen
11492if test "$ac_res" != no; then
11493  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
11494
11495fi
11496
11497
11498# Checks for header files.
11499#
11500{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11501$as_echo_n "checking for ANSI C header files... " >&6; }
11502if test "${ac_cv_header_stdc+set}" = set; then
11503  $as_echo_n "(cached) " >&6
11504else
11505  cat >conftest.$ac_ext <<_ACEOF
11506/* confdefs.h.  */
11507_ACEOF
11508cat confdefs.h >>conftest.$ac_ext
11509cat >>conftest.$ac_ext <<_ACEOF
11510/* end confdefs.h.  */
11511#include <stdlib.h>
11512#include <stdarg.h>
11513#include <string.h>
11514#include <float.h>
11515
11516int
11517main ()
11518{
11519
11520  ;
11521  return 0;
11522}
11523_ACEOF
11524rm -f conftest.$ac_objext
11525if { (ac_try="$ac_compile"
11526case "(($ac_try" in
11527  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11528  *) ac_try_echo=$ac_try;;
11529esac
11530eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11531$as_echo "$ac_try_echo") >&5
11532  (eval "$ac_compile") 2>conftest.er1
11533  ac_status=$?
11534  grep -v '^ *+' conftest.er1 >conftest.err
11535  rm -f conftest.er1
11536  cat conftest.err >&5
11537  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11538  (exit $ac_status); } && {
11539	 test -z "$ac_c_werror_flag" ||
11540	 test ! -s conftest.err
11541       } && test -s conftest.$ac_objext; then
11542  ac_cv_header_stdc=yes
11543else
11544  $as_echo "$as_me: failed program was:" >&5
11545sed 's/^/| /' conftest.$ac_ext >&5
11546
11547	ac_cv_header_stdc=no
11548fi
11549
11550rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11551
11552if test $ac_cv_header_stdc = yes; then
11553  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11554  cat >conftest.$ac_ext <<_ACEOF
11555/* confdefs.h.  */
11556_ACEOF
11557cat confdefs.h >>conftest.$ac_ext
11558cat >>conftest.$ac_ext <<_ACEOF
11559/* end confdefs.h.  */
11560#include <string.h>
11561
11562_ACEOF
11563if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11564  $EGREP "memchr" >/dev/null 2>&1; then
11565  :
11566else
11567  ac_cv_header_stdc=no
11568fi
11569rm -f conftest*
11570
11571fi
11572
11573if test $ac_cv_header_stdc = yes; then
11574  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11575  cat >conftest.$ac_ext <<_ACEOF
11576/* confdefs.h.  */
11577_ACEOF
11578cat confdefs.h >>conftest.$ac_ext
11579cat >>conftest.$ac_ext <<_ACEOF
11580/* end confdefs.h.  */
11581#include <stdlib.h>
11582
11583_ACEOF
11584if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11585  $EGREP "free" >/dev/null 2>&1; then
11586  :
11587else
11588  ac_cv_header_stdc=no
11589fi
11590rm -f conftest*
11591
11592fi
11593
11594if test $ac_cv_header_stdc = yes; then
11595  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11596  if test "$cross_compiling" = yes; then
11597  :
11598else
11599  cat >conftest.$ac_ext <<_ACEOF
11600/* confdefs.h.  */
11601_ACEOF
11602cat confdefs.h >>conftest.$ac_ext
11603cat >>conftest.$ac_ext <<_ACEOF
11604/* end confdefs.h.  */
11605#include <ctype.h>
11606#include <stdlib.h>
11607#if ((' ' & 0x0FF) == 0x020)
11608# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11609# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11610#else
11611# define ISLOWER(c) \
11612		   (('a' <= (c) && (c) <= 'i') \
11613		     || ('j' <= (c) && (c) <= 'r') \
11614		     || ('s' <= (c) && (c) <= 'z'))
11615# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11616#endif
11617
11618#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11619int
11620main ()
11621{
11622  int i;
11623  for (i = 0; i < 256; i++)
11624    if (XOR (islower (i), ISLOWER (i))
11625	|| toupper (i) != TOUPPER (i))
11626      return 2;
11627  return 0;
11628}
11629_ACEOF
11630rm -f conftest$ac_exeext
11631if { (ac_try="$ac_link"
11632case "(($ac_try" in
11633  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11634  *) ac_try_echo=$ac_try;;
11635esac
11636eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11637$as_echo "$ac_try_echo") >&5
11638  (eval "$ac_link") 2>&5
11639  ac_status=$?
11640  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11641  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11642  { (case "(($ac_try" in
11643  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11644  *) ac_try_echo=$ac_try;;
11645esac
11646eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11647$as_echo "$ac_try_echo") >&5
11648  (eval "$ac_try") 2>&5
11649  ac_status=$?
11650  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11651  (exit $ac_status); }; }; then
11652  :
11653else
11654  $as_echo "$as_me: program exited with status $ac_status" >&5
11655$as_echo "$as_me: failed program was:" >&5
11656sed 's/^/| /' conftest.$ac_ext >&5
11657
11658( exit $ac_status )
11659ac_cv_header_stdc=no
11660fi
11661rm -rf conftest.dSYM
11662rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11663fi
11664
11665
11666fi
11667fi
11668{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
11669$as_echo "$ac_cv_header_stdc" >&6; }
11670if test $ac_cv_header_stdc = yes; then
11671
11672cat >>confdefs.h <<\_ACEOF
11673#define STDC_HEADERS 1
11674_ACEOF
11675
11676fi
11677
11678
11679for ac_header in CommonCrypto/CommonDigest.h
11680do
11681as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11682if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11683  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11684$as_echo_n "checking for $ac_header... " >&6; }
11685if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11686  $as_echo_n "(cached) " >&6
11687fi
11688ac_res=`eval 'as_val=${'$as_ac_Header'}
11689		 $as_echo "$as_val"'`
11690	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11691$as_echo "$ac_res" >&6; }
11692else
11693  # Is the header compilable?
11694{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
11695$as_echo_n "checking $ac_header usability... " >&6; }
11696cat >conftest.$ac_ext <<_ACEOF
11697/* confdefs.h.  */
11698_ACEOF
11699cat confdefs.h >>conftest.$ac_ext
11700cat >>conftest.$ac_ext <<_ACEOF
11701/* end confdefs.h.  */
11702$ac_includes_default
11703#include <$ac_header>
11704_ACEOF
11705rm -f conftest.$ac_objext
11706if { (ac_try="$ac_compile"
11707case "(($ac_try" in
11708  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11709  *) ac_try_echo=$ac_try;;
11710esac
11711eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11712$as_echo "$ac_try_echo") >&5
11713  (eval "$ac_compile") 2>conftest.er1
11714  ac_status=$?
11715  grep -v '^ *+' conftest.er1 >conftest.err
11716  rm -f conftest.er1
11717  cat conftest.err >&5
11718  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11719  (exit $ac_status); } && {
11720	 test -z "$ac_c_werror_flag" ||
11721	 test ! -s conftest.err
11722       } && test -s conftest.$ac_objext; then
11723  ac_header_compiler=yes
11724else
11725  $as_echo "$as_me: failed program was:" >&5
11726sed 's/^/| /' conftest.$ac_ext >&5
11727
11728	ac_header_compiler=no
11729fi
11730
11731rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11732{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11733$as_echo "$ac_header_compiler" >&6; }
11734
11735# Is the header present?
11736{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
11737$as_echo_n "checking $ac_header presence... " >&6; }
11738cat >conftest.$ac_ext <<_ACEOF
11739/* confdefs.h.  */
11740_ACEOF
11741cat confdefs.h >>conftest.$ac_ext
11742cat >>conftest.$ac_ext <<_ACEOF
11743/* end confdefs.h.  */
11744#include <$ac_header>
11745_ACEOF
11746if { (ac_try="$ac_cpp conftest.$ac_ext"
11747case "(($ac_try" in
11748  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11749  *) ac_try_echo=$ac_try;;
11750esac
11751eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11752$as_echo "$ac_try_echo") >&5
11753  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11754  ac_status=$?
11755  grep -v '^ *+' conftest.er1 >conftest.err
11756  rm -f conftest.er1
11757  cat conftest.err >&5
11758  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11759  (exit $ac_status); } >/dev/null && {
11760	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11761	 test ! -s conftest.err
11762       }; then
11763  ac_header_preproc=yes
11764else
11765  $as_echo "$as_me: failed program was:" >&5
11766sed 's/^/| /' conftest.$ac_ext >&5
11767
11768  ac_header_preproc=no
11769fi
11770
11771rm -f conftest.err conftest.$ac_ext
11772{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11773$as_echo "$ac_header_preproc" >&6; }
11774
11775# So?  What about this header?
11776case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11777  yes:no: )
11778    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11779$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11780    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11781$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11782    ac_header_preproc=yes
11783    ;;
11784  no:yes:* )
11785    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11786$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11787    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
11788$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
11789    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11790$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11791    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
11792$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
11793    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11794$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11795    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11796$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11797    ( cat <<\_ASBOX
11798## -------------------------------------------------------- ##
11799## Report this to Alistair Crooks <agc@netbsd.org> c0596823 ##
11800## -------------------------------------------------------- ##
11801_ASBOX
11802     ) | sed "s/^/$as_me: WARNING:     /" >&2
11803    ;;
11804esac
11805{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11806$as_echo_n "checking for $ac_header... " >&6; }
11807if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11808  $as_echo_n "(cached) " >&6
11809else
11810  eval "$as_ac_Header=\$ac_header_preproc"
11811fi
11812ac_res=`eval 'as_val=${'$as_ac_Header'}
11813		 $as_echo "$as_val"'`
11814	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11815$as_echo "$ac_res" >&6; }
11816
11817fi
11818as_val=`eval 'as_val=${'$as_ac_Header'}
11819		 $as_echo "$as_val"'`
11820   if test "x$as_val" = x""yes; then
11821  cat >>confdefs.h <<_ACEOF
11822#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11823_ACEOF
11824
11825fi
11826
11827done
11828
11829
11830
11831
11832
11833
11834
11835
11836
11837for ac_header in dmalloc.h direct.h errno.h fcntl.h \
11838                 inttypes.h limits.h malloc.h zlib.h
11839do
11840as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11841if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11842  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11843$as_echo_n "checking for $ac_header... " >&6; }
11844if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11845  $as_echo_n "(cached) " >&6
11846fi
11847ac_res=`eval 'as_val=${'$as_ac_Header'}
11848		 $as_echo "$as_val"'`
11849	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11850$as_echo "$ac_res" >&6; }
11851else
11852  # Is the header compilable?
11853{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
11854$as_echo_n "checking $ac_header usability... " >&6; }
11855cat >conftest.$ac_ext <<_ACEOF
11856/* confdefs.h.  */
11857_ACEOF
11858cat confdefs.h >>conftest.$ac_ext
11859cat >>conftest.$ac_ext <<_ACEOF
11860/* end confdefs.h.  */
11861$ac_includes_default
11862#include <$ac_header>
11863_ACEOF
11864rm -f conftest.$ac_objext
11865if { (ac_try="$ac_compile"
11866case "(($ac_try" in
11867  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11868  *) ac_try_echo=$ac_try;;
11869esac
11870eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11871$as_echo "$ac_try_echo") >&5
11872  (eval "$ac_compile") 2>conftest.er1
11873  ac_status=$?
11874  grep -v '^ *+' conftest.er1 >conftest.err
11875  rm -f conftest.er1
11876  cat conftest.err >&5
11877  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11878  (exit $ac_status); } && {
11879	 test -z "$ac_c_werror_flag" ||
11880	 test ! -s conftest.err
11881       } && test -s conftest.$ac_objext; then
11882  ac_header_compiler=yes
11883else
11884  $as_echo "$as_me: failed program was:" >&5
11885sed 's/^/| /' conftest.$ac_ext >&5
11886
11887	ac_header_compiler=no
11888fi
11889
11890rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11891{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11892$as_echo "$ac_header_compiler" >&6; }
11893
11894# Is the header present?
11895{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
11896$as_echo_n "checking $ac_header presence... " >&6; }
11897cat >conftest.$ac_ext <<_ACEOF
11898/* confdefs.h.  */
11899_ACEOF
11900cat confdefs.h >>conftest.$ac_ext
11901cat >>conftest.$ac_ext <<_ACEOF
11902/* end confdefs.h.  */
11903#include <$ac_header>
11904_ACEOF
11905if { (ac_try="$ac_cpp conftest.$ac_ext"
11906case "(($ac_try" in
11907  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11908  *) ac_try_echo=$ac_try;;
11909esac
11910eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11911$as_echo "$ac_try_echo") >&5
11912  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11913  ac_status=$?
11914  grep -v '^ *+' conftest.er1 >conftest.err
11915  rm -f conftest.er1
11916  cat conftest.err >&5
11917  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11918  (exit $ac_status); } >/dev/null && {
11919	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11920	 test ! -s conftest.err
11921       }; then
11922  ac_header_preproc=yes
11923else
11924  $as_echo "$as_me: failed program was:" >&5
11925sed 's/^/| /' conftest.$ac_ext >&5
11926
11927  ac_header_preproc=no
11928fi
11929
11930rm -f conftest.err conftest.$ac_ext
11931{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11932$as_echo "$ac_header_preproc" >&6; }
11933
11934# So?  What about this header?
11935case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11936  yes:no: )
11937    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11938$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11939    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11940$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11941    ac_header_preproc=yes
11942    ;;
11943  no:yes:* )
11944    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11945$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11946    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
11947$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
11948    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11949$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11950    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
11951$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
11952    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11953$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11954    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11955$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11956    ( cat <<\_ASBOX
11957## -------------------------------------------------------- ##
11958## Report this to Alistair Crooks <agc@netbsd.org> c0596823 ##
11959## -------------------------------------------------------- ##
11960_ASBOX
11961     ) | sed "s/^/$as_me: WARNING:     /" >&2
11962    ;;
11963esac
11964{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11965$as_echo_n "checking for $ac_header... " >&6; }
11966if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11967  $as_echo_n "(cached) " >&6
11968else
11969  eval "$as_ac_Header=\$ac_header_preproc"
11970fi
11971ac_res=`eval 'as_val=${'$as_ac_Header'}
11972		 $as_echo "$as_val"'`
11973	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11974$as_echo "$ac_res" >&6; }
11975
11976fi
11977as_val=`eval 'as_val=${'$as_ac_Header'}
11978		 $as_echo "$as_val"'`
11979   if test "x$as_val" = x""yes; then
11980  cat >>confdefs.h <<_ACEOF
11981#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11982_ACEOF
11983
11984fi
11985
11986done
11987
11988
11989
11990
11991
11992
11993
11994
11995
11996
11997
11998
11999
12000
12001
12002for ac_header in openssl/aes.h openssl/bn.h openssl/camellia.h openssl/cast.h \
12003		  openssl/des.h openssl/dsa.h openssl/err.h openssl/idea.h \
12004		  openssl/md5.h openssl/rand.h openssl/rsa.h openssl/sha.h \
12005		  openssl/err.h openssl/sha.h
12006do
12007as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12008if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12009  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12010$as_echo_n "checking for $ac_header... " >&6; }
12011if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12012  $as_echo_n "(cached) " >&6
12013fi
12014ac_res=`eval 'as_val=${'$as_ac_Header'}
12015		 $as_echo "$as_val"'`
12016	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12017$as_echo "$ac_res" >&6; }
12018else
12019  # Is the header compilable?
12020{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
12021$as_echo_n "checking $ac_header usability... " >&6; }
12022cat >conftest.$ac_ext <<_ACEOF
12023/* confdefs.h.  */
12024_ACEOF
12025cat confdefs.h >>conftest.$ac_ext
12026cat >>conftest.$ac_ext <<_ACEOF
12027/* end confdefs.h.  */
12028$ac_includes_default
12029#include <$ac_header>
12030_ACEOF
12031rm -f conftest.$ac_objext
12032if { (ac_try="$ac_compile"
12033case "(($ac_try" in
12034  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12035  *) ac_try_echo=$ac_try;;
12036esac
12037eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12038$as_echo "$ac_try_echo") >&5
12039  (eval "$ac_compile") 2>conftest.er1
12040  ac_status=$?
12041  grep -v '^ *+' conftest.er1 >conftest.err
12042  rm -f conftest.er1
12043  cat conftest.err >&5
12044  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12045  (exit $ac_status); } && {
12046	 test -z "$ac_c_werror_flag" ||
12047	 test ! -s conftest.err
12048       } && test -s conftest.$ac_objext; then
12049  ac_header_compiler=yes
12050else
12051  $as_echo "$as_me: failed program was:" >&5
12052sed 's/^/| /' conftest.$ac_ext >&5
12053
12054	ac_header_compiler=no
12055fi
12056
12057rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12058{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12059$as_echo "$ac_header_compiler" >&6; }
12060
12061# Is the header present?
12062{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
12063$as_echo_n "checking $ac_header presence... " >&6; }
12064cat >conftest.$ac_ext <<_ACEOF
12065/* confdefs.h.  */
12066_ACEOF
12067cat confdefs.h >>conftest.$ac_ext
12068cat >>conftest.$ac_ext <<_ACEOF
12069/* end confdefs.h.  */
12070#include <$ac_header>
12071_ACEOF
12072if { (ac_try="$ac_cpp conftest.$ac_ext"
12073case "(($ac_try" in
12074  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12075  *) ac_try_echo=$ac_try;;
12076esac
12077eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12078$as_echo "$ac_try_echo") >&5
12079  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12080  ac_status=$?
12081  grep -v '^ *+' conftest.er1 >conftest.err
12082  rm -f conftest.er1
12083  cat conftest.err >&5
12084  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12085  (exit $ac_status); } >/dev/null && {
12086	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12087	 test ! -s conftest.err
12088       }; then
12089  ac_header_preproc=yes
12090else
12091  $as_echo "$as_me: failed program was:" >&5
12092sed 's/^/| /' conftest.$ac_ext >&5
12093
12094  ac_header_preproc=no
12095fi
12096
12097rm -f conftest.err conftest.$ac_ext
12098{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12099$as_echo "$ac_header_preproc" >&6; }
12100
12101# So?  What about this header?
12102case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12103  yes:no: )
12104    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12105$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12106    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12107$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12108    ac_header_preproc=yes
12109    ;;
12110  no:yes:* )
12111    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12112$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12113    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
12114$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
12115    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12116$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12117    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
12118$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
12119    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12120$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12121    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12122$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12123    ( cat <<\_ASBOX
12124## -------------------------------------------------------- ##
12125## Report this to Alistair Crooks <agc@netbsd.org> c0596823 ##
12126## -------------------------------------------------------- ##
12127_ASBOX
12128     ) | sed "s/^/$as_me: WARNING:     /" >&2
12129    ;;
12130esac
12131{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12132$as_echo_n "checking for $ac_header... " >&6; }
12133if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12134  $as_echo_n "(cached) " >&6
12135else
12136  eval "$as_ac_Header=\$ac_header_preproc"
12137fi
12138ac_res=`eval 'as_val=${'$as_ac_Header'}
12139		 $as_echo "$as_val"'`
12140	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12141$as_echo "$ac_res" >&6; }
12142
12143fi
12144as_val=`eval 'as_val=${'$as_ac_Header'}
12145		 $as_echo "$as_val"'`
12146   if test "x$as_val" = x""yes; then
12147  cat >>confdefs.h <<_ACEOF
12148#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12149_ACEOF
12150
12151fi
12152
12153done
12154
12155
12156
12157
12158
12159
12160
12161for ac_header in sys/cdefs.h sys/file.h sys/mman.h sys/param.h \
12162                  sys/resource.h sys/uio.h
12163do
12164as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12165if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12166  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12167$as_echo_n "checking for $ac_header... " >&6; }
12168if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12169  $as_echo_n "(cached) " >&6
12170fi
12171ac_res=`eval 'as_val=${'$as_ac_Header'}
12172		 $as_echo "$as_val"'`
12173	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12174$as_echo "$ac_res" >&6; }
12175else
12176  # Is the header compilable?
12177{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
12178$as_echo_n "checking $ac_header usability... " >&6; }
12179cat >conftest.$ac_ext <<_ACEOF
12180/* confdefs.h.  */
12181_ACEOF
12182cat confdefs.h >>conftest.$ac_ext
12183cat >>conftest.$ac_ext <<_ACEOF
12184/* end confdefs.h.  */
12185$ac_includes_default
12186#include <$ac_header>
12187_ACEOF
12188rm -f conftest.$ac_objext
12189if { (ac_try="$ac_compile"
12190case "(($ac_try" in
12191  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12192  *) ac_try_echo=$ac_try;;
12193esac
12194eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12195$as_echo "$ac_try_echo") >&5
12196  (eval "$ac_compile") 2>conftest.er1
12197  ac_status=$?
12198  grep -v '^ *+' conftest.er1 >conftest.err
12199  rm -f conftest.er1
12200  cat conftest.err >&5
12201  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12202  (exit $ac_status); } && {
12203	 test -z "$ac_c_werror_flag" ||
12204	 test ! -s conftest.err
12205       } && test -s conftest.$ac_objext; then
12206  ac_header_compiler=yes
12207else
12208  $as_echo "$as_me: failed program was:" >&5
12209sed 's/^/| /' conftest.$ac_ext >&5
12210
12211	ac_header_compiler=no
12212fi
12213
12214rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12215{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12216$as_echo "$ac_header_compiler" >&6; }
12217
12218# Is the header present?
12219{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
12220$as_echo_n "checking $ac_header presence... " >&6; }
12221cat >conftest.$ac_ext <<_ACEOF
12222/* confdefs.h.  */
12223_ACEOF
12224cat confdefs.h >>conftest.$ac_ext
12225cat >>conftest.$ac_ext <<_ACEOF
12226/* end confdefs.h.  */
12227#include <$ac_header>
12228_ACEOF
12229if { (ac_try="$ac_cpp conftest.$ac_ext"
12230case "(($ac_try" in
12231  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12232  *) ac_try_echo=$ac_try;;
12233esac
12234eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12235$as_echo "$ac_try_echo") >&5
12236  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12237  ac_status=$?
12238  grep -v '^ *+' conftest.er1 >conftest.err
12239  rm -f conftest.er1
12240  cat conftest.err >&5
12241  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12242  (exit $ac_status); } >/dev/null && {
12243	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12244	 test ! -s conftest.err
12245       }; then
12246  ac_header_preproc=yes
12247else
12248  $as_echo "$as_me: failed program was:" >&5
12249sed 's/^/| /' conftest.$ac_ext >&5
12250
12251  ac_header_preproc=no
12252fi
12253
12254rm -f conftest.err conftest.$ac_ext
12255{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12256$as_echo "$ac_header_preproc" >&6; }
12257
12258# So?  What about this header?
12259case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12260  yes:no: )
12261    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12262$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12263    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12264$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12265    ac_header_preproc=yes
12266    ;;
12267  no:yes:* )
12268    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12269$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12270    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
12271$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
12272    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12273$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12274    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
12275$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
12276    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12277$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12278    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12279$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12280    ( cat <<\_ASBOX
12281## -------------------------------------------------------- ##
12282## Report this to Alistair Crooks <agc@netbsd.org> c0596823 ##
12283## -------------------------------------------------------- ##
12284_ASBOX
12285     ) | sed "s/^/$as_me: WARNING:     /" >&2
12286    ;;
12287esac
12288{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12289$as_echo_n "checking for $ac_header... " >&6; }
12290if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12291  $as_echo_n "(cached) " >&6
12292else
12293  eval "$as_ac_Header=\$ac_header_preproc"
12294fi
12295ac_res=`eval 'as_val=${'$as_ac_Header'}
12296		 $as_echo "$as_val"'`
12297	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12298$as_echo "$ac_res" >&6; }
12299
12300fi
12301as_val=`eval 'as_val=${'$as_ac_Header'}
12302		 $as_echo "$as_val"'`
12303   if test "x$as_val" = x""yes; then
12304  cat >>confdefs.h <<_ACEOF
12305#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12306_ACEOF
12307
12308fi
12309
12310done
12311
12312
12313
12314for ac_header in bzlib.h
12315do
12316as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12317if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12318  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12319$as_echo_n "checking for $ac_header... " >&6; }
12320if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12321  $as_echo_n "(cached) " >&6
12322fi
12323ac_res=`eval 'as_val=${'$as_ac_Header'}
12324		 $as_echo "$as_val"'`
12325	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12326$as_echo "$ac_res" >&6; }
12327else
12328  # Is the header compilable?
12329{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
12330$as_echo_n "checking $ac_header usability... " >&6; }
12331cat >conftest.$ac_ext <<_ACEOF
12332/* confdefs.h.  */
12333_ACEOF
12334cat confdefs.h >>conftest.$ac_ext
12335cat >>conftest.$ac_ext <<_ACEOF
12336/* end confdefs.h.  */
12337$ac_includes_default
12338#include <$ac_header>
12339_ACEOF
12340rm -f conftest.$ac_objext
12341if { (ac_try="$ac_compile"
12342case "(($ac_try" in
12343  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12344  *) ac_try_echo=$ac_try;;
12345esac
12346eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12347$as_echo "$ac_try_echo") >&5
12348  (eval "$ac_compile") 2>conftest.er1
12349  ac_status=$?
12350  grep -v '^ *+' conftest.er1 >conftest.err
12351  rm -f conftest.er1
12352  cat conftest.err >&5
12353  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12354  (exit $ac_status); } && {
12355	 test -z "$ac_c_werror_flag" ||
12356	 test ! -s conftest.err
12357       } && test -s conftest.$ac_objext; then
12358  ac_header_compiler=yes
12359else
12360  $as_echo "$as_me: failed program was:" >&5
12361sed 's/^/| /' conftest.$ac_ext >&5
12362
12363	ac_header_compiler=no
12364fi
12365
12366rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12367{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12368$as_echo "$ac_header_compiler" >&6; }
12369
12370# Is the header present?
12371{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
12372$as_echo_n "checking $ac_header presence... " >&6; }
12373cat >conftest.$ac_ext <<_ACEOF
12374/* confdefs.h.  */
12375_ACEOF
12376cat confdefs.h >>conftest.$ac_ext
12377cat >>conftest.$ac_ext <<_ACEOF
12378/* end confdefs.h.  */
12379#include <$ac_header>
12380_ACEOF
12381if { (ac_try="$ac_cpp conftest.$ac_ext"
12382case "(($ac_try" in
12383  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12384  *) ac_try_echo=$ac_try;;
12385esac
12386eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12387$as_echo "$ac_try_echo") >&5
12388  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12389  ac_status=$?
12390  grep -v '^ *+' conftest.er1 >conftest.err
12391  rm -f conftest.er1
12392  cat conftest.err >&5
12393  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12394  (exit $ac_status); } >/dev/null && {
12395	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12396	 test ! -s conftest.err
12397       }; then
12398  ac_header_preproc=yes
12399else
12400  $as_echo "$as_me: failed program was:" >&5
12401sed 's/^/| /' conftest.$ac_ext >&5
12402
12403  ac_header_preproc=no
12404fi
12405
12406rm -f conftest.err conftest.$ac_ext
12407{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12408$as_echo "$ac_header_preproc" >&6; }
12409
12410# So?  What about this header?
12411case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12412  yes:no: )
12413    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12414$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12415    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12416$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12417    ac_header_preproc=yes
12418    ;;
12419  no:yes:* )
12420    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12421$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12422    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
12423$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
12424    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12425$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12426    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
12427$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
12428    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12429$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12430    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12431$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12432    ( cat <<\_ASBOX
12433## -------------------------------------------------------- ##
12434## Report this to Alistair Crooks <agc@netbsd.org> c0596823 ##
12435## -------------------------------------------------------- ##
12436_ASBOX
12437     ) | sed "s/^/$as_me: WARNING:     /" >&2
12438    ;;
12439esac
12440{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12441$as_echo_n "checking for $ac_header... " >&6; }
12442if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12443  $as_echo_n "(cached) " >&6
12444else
12445  eval "$as_ac_Header=\$ac_header_preproc"
12446fi
12447ac_res=`eval 'as_val=${'$as_ac_Header'}
12448		 $as_echo "$as_val"'`
12449	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12450$as_echo "$ac_res" >&6; }
12451
12452fi
12453as_val=`eval 'as_val=${'$as_ac_Header'}
12454		 $as_echo "$as_val"'`
12455   if test "x$as_val" = x""yes; then
12456  cat >>confdefs.h <<_ACEOF
12457#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12458_ACEOF
12459
12460else
12461  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
12462$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12463{ { $as_echo "$as_me:$LINENO: error: missing <bzlib.h>; is bzip2 installed?
12464See \`config.log' for more details." >&5
12465$as_echo "$as_me: error: missing <bzlib.h>; is bzip2 installed?
12466See \`config.log' for more details." >&2;}
12467   { (exit 1); exit 1; }; }; }
12468fi
12469
12470done
12471
12472
12473# Checks for typedefs, structures, and compiler characteristics.
12474#
12475
12476  { $as_echo "$as_me:$LINENO: checking for long long int" >&5
12477$as_echo_n "checking for long long int... " >&6; }
12478if test "${ac_cv_type_long_long_int+set}" = set; then
12479  $as_echo_n "(cached) " >&6
12480else
12481  cat >conftest.$ac_ext <<_ACEOF
12482
12483  /* confdefs.h.  */
12484_ACEOF
12485cat confdefs.h >>conftest.$ac_ext
12486cat >>conftest.$ac_ext <<_ACEOF
12487/* end confdefs.h.  */
12488/* For now, do not test the preprocessor; as of 2007 there are too many
12489	 implementations with broken preprocessors.  Perhaps this can
12490	 be revisited in 2012.  In the meantime, code should not expect
12491	 #if to work with literals wider than 32 bits.  */
12492      /* Test literals.  */
12493      long long int ll = 9223372036854775807ll;
12494      long long int nll = -9223372036854775807LL;
12495      unsigned long long int ull = 18446744073709551615ULL;
12496      /* Test constant expressions.   */
12497      typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
12498		     ? 1 : -1)];
12499      typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1
12500		     ? 1 : -1)];
12501      int i = 63;
12502int
12503main ()
12504{
12505/* Test availability of runtime routines for shift and division.  */
12506      long long int llmax = 9223372036854775807ll;
12507      unsigned long long int ullmax = 18446744073709551615ull;
12508      return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
12509	      | (llmax / ll) | (llmax % ll)
12510	      | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i)
12511	      | (ullmax / ull) | (ullmax % ull));
12512  ;
12513  return 0;
12514}
12515
12516_ACEOF
12517rm -f conftest.$ac_objext conftest$ac_exeext
12518if { (ac_try="$ac_link"
12519case "(($ac_try" in
12520  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12521  *) ac_try_echo=$ac_try;;
12522esac
12523eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12524$as_echo "$ac_try_echo") >&5
12525  (eval "$ac_link") 2>conftest.er1
12526  ac_status=$?
12527  grep -v '^ *+' conftest.er1 >conftest.err
12528  rm -f conftest.er1
12529  cat conftest.err >&5
12530  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12531  (exit $ac_status); } && {
12532	 test -z "$ac_c_werror_flag" ||
12533	 test ! -s conftest.err
12534       } && test -s conftest$ac_exeext && {
12535	 test "$cross_compiling" = yes ||
12536	 $as_test_x conftest$ac_exeext
12537       }; then
12538  			if test "$cross_compiling" = yes; then
12539  ac_cv_type_long_long_int=yes
12540else
12541  cat >conftest.$ac_ext <<_ACEOF
12542/* confdefs.h.  */
12543_ACEOF
12544cat confdefs.h >>conftest.$ac_ext
12545cat >>conftest.$ac_ext <<_ACEOF
12546/* end confdefs.h.  */
12547#include <limits.h>
12548	       #ifndef LLONG_MAX
12549	       # define HALF \
12550			(1LL << (sizeof (long long int) * CHAR_BIT - 2))
12551	       # define LLONG_MAX (HALF - 1 + HALF)
12552	       #endif
12553int
12554main ()
12555{
12556long long int n = 1;
12557	       int i;
12558	       for (i = 0; ; i++)
12559		 {
12560		   long long int m = n << i;
12561		   if (m >> i != n)
12562		     return 1;
12563		   if (LLONG_MAX / 2 < m)
12564		     break;
12565		 }
12566	       return 0;
12567  ;
12568  return 0;
12569}
12570_ACEOF
12571rm -f conftest$ac_exeext
12572if { (ac_try="$ac_link"
12573case "(($ac_try" in
12574  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12575  *) ac_try_echo=$ac_try;;
12576esac
12577eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12578$as_echo "$ac_try_echo") >&5
12579  (eval "$ac_link") 2>&5
12580  ac_status=$?
12581  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12582  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12583  { (case "(($ac_try" in
12584  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12585  *) ac_try_echo=$ac_try;;
12586esac
12587eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12588$as_echo "$ac_try_echo") >&5
12589  (eval "$ac_try") 2>&5
12590  ac_status=$?
12591  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12592  (exit $ac_status); }; }; then
12593  ac_cv_type_long_long_int=yes
12594else
12595  $as_echo "$as_me: program exited with status $ac_status" >&5
12596$as_echo "$as_me: failed program was:" >&5
12597sed 's/^/| /' conftest.$ac_ext >&5
12598
12599( exit $ac_status )
12600ac_cv_type_long_long_int=no
12601fi
12602rm -rf conftest.dSYM
12603rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12604fi
12605
12606
12607else
12608  $as_echo "$as_me: failed program was:" >&5
12609sed 's/^/| /' conftest.$ac_ext >&5
12610
12611	ac_cv_type_long_long_int=no
12612fi
12613
12614rm -rf conftest.dSYM
12615rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12616      conftest$ac_exeext conftest.$ac_ext
12617fi
12618{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_long_long_int" >&5
12619$as_echo "$ac_cv_type_long_long_int" >&6; }
12620  if test $ac_cv_type_long_long_int = yes; then
12621
12622cat >>confdefs.h <<\_ACEOF
12623#define HAVE_LONG_LONG_INT 1
12624_ACEOF
12625
12626  fi
12627
12628{ $as_echo "$as_me:$LINENO: checking for size_t" >&5
12629$as_echo_n "checking for size_t... " >&6; }
12630if test "${ac_cv_type_size_t+set}" = set; then
12631  $as_echo_n "(cached) " >&6
12632else
12633  ac_cv_type_size_t=no
12634cat >conftest.$ac_ext <<_ACEOF
12635/* confdefs.h.  */
12636_ACEOF
12637cat confdefs.h >>conftest.$ac_ext
12638cat >>conftest.$ac_ext <<_ACEOF
12639/* end confdefs.h.  */
12640$ac_includes_default
12641int
12642main ()
12643{
12644if (sizeof (size_t))
12645       return 0;
12646  ;
12647  return 0;
12648}
12649_ACEOF
12650rm -f conftest.$ac_objext
12651if { (ac_try="$ac_compile"
12652case "(($ac_try" in
12653  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12654  *) ac_try_echo=$ac_try;;
12655esac
12656eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12657$as_echo "$ac_try_echo") >&5
12658  (eval "$ac_compile") 2>conftest.er1
12659  ac_status=$?
12660  grep -v '^ *+' conftest.er1 >conftest.err
12661  rm -f conftest.er1
12662  cat conftest.err >&5
12663  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12664  (exit $ac_status); } && {
12665	 test -z "$ac_c_werror_flag" ||
12666	 test ! -s conftest.err
12667       } && test -s conftest.$ac_objext; then
12668  cat >conftest.$ac_ext <<_ACEOF
12669/* confdefs.h.  */
12670_ACEOF
12671cat confdefs.h >>conftest.$ac_ext
12672cat >>conftest.$ac_ext <<_ACEOF
12673/* end confdefs.h.  */
12674$ac_includes_default
12675int
12676main ()
12677{
12678if (sizeof ((size_t)))
12679	  return 0;
12680  ;
12681  return 0;
12682}
12683_ACEOF
12684rm -f conftest.$ac_objext
12685if { (ac_try="$ac_compile"
12686case "(($ac_try" in
12687  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12688  *) ac_try_echo=$ac_try;;
12689esac
12690eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12691$as_echo "$ac_try_echo") >&5
12692  (eval "$ac_compile") 2>conftest.er1
12693  ac_status=$?
12694  grep -v '^ *+' conftest.er1 >conftest.err
12695  rm -f conftest.er1
12696  cat conftest.err >&5
12697  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12698  (exit $ac_status); } && {
12699	 test -z "$ac_c_werror_flag" ||
12700	 test ! -s conftest.err
12701       } && test -s conftest.$ac_objext; then
12702  :
12703else
12704  $as_echo "$as_me: failed program was:" >&5
12705sed 's/^/| /' conftest.$ac_ext >&5
12706
12707	ac_cv_type_size_t=yes
12708fi
12709
12710rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12711else
12712  $as_echo "$as_me: failed program was:" >&5
12713sed 's/^/| /' conftest.$ac_ext >&5
12714
12715
12716fi
12717
12718rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12719fi
12720{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
12721$as_echo "$ac_cv_type_size_t" >&6; }
12722if test "x$ac_cv_type_size_t" = x""yes; then
12723  :
12724else
12725
12726cat >>confdefs.h <<_ACEOF
12727#define size_t unsigned int
12728_ACEOF
12729
12730fi
12731
12732
12733  { $as_echo "$as_me:$LINENO: checking for uint16_t" >&5
12734$as_echo_n "checking for uint16_t... " >&6; }
12735if test "${ac_cv_c_uint16_t+set}" = set; then
12736  $as_echo_n "(cached) " >&6
12737else
12738  ac_cv_c_uint16_t=no
12739     for ac_type in 'uint16_t' 'unsigned int' 'unsigned long int' \
12740	 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
12741       cat >conftest.$ac_ext <<_ACEOF
12742/* confdefs.h.  */
12743_ACEOF
12744cat confdefs.h >>conftest.$ac_ext
12745cat >>conftest.$ac_ext <<_ACEOF
12746/* end confdefs.h.  */
12747$ac_includes_default
12748int
12749main ()
12750{
12751static int test_array [1 - 2 * !(($ac_type) -1 >> (16 - 1) == 1)];
12752test_array [0] = 0
12753
12754  ;
12755  return 0;
12756}
12757_ACEOF
12758rm -f conftest.$ac_objext
12759if { (ac_try="$ac_compile"
12760case "(($ac_try" in
12761  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12762  *) ac_try_echo=$ac_try;;
12763esac
12764eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12765$as_echo "$ac_try_echo") >&5
12766  (eval "$ac_compile") 2>conftest.er1
12767  ac_status=$?
12768  grep -v '^ *+' conftest.er1 >conftest.err
12769  rm -f conftest.er1
12770  cat conftest.err >&5
12771  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12772  (exit $ac_status); } && {
12773	 test -z "$ac_c_werror_flag" ||
12774	 test ! -s conftest.err
12775       } && test -s conftest.$ac_objext; then
12776  case $ac_type in
12777  uint16_t) ac_cv_c_uint16_t=yes ;;
12778  *) ac_cv_c_uint16_t=$ac_type ;;
12779esac
12780
12781else
12782  $as_echo "$as_me: failed program was:" >&5
12783sed 's/^/| /' conftest.$ac_ext >&5
12784
12785
12786fi
12787
12788rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12789       test "$ac_cv_c_uint16_t" != no && break
12790     done
12791fi
12792{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_uint16_t" >&5
12793$as_echo "$ac_cv_c_uint16_t" >&6; }
12794  case $ac_cv_c_uint16_t in #(
12795  no|yes) ;; #(
12796  *)
12797
12798
12799cat >>confdefs.h <<_ACEOF
12800#define uint16_t $ac_cv_c_uint16_t
12801_ACEOF
12802;;
12803  esac
12804
12805
12806  { $as_echo "$as_me:$LINENO: checking for uint32_t" >&5
12807$as_echo_n "checking for uint32_t... " >&6; }
12808if test "${ac_cv_c_uint32_t+set}" = set; then
12809  $as_echo_n "(cached) " >&6
12810else
12811  ac_cv_c_uint32_t=no
12812     for ac_type in 'uint32_t' 'unsigned int' 'unsigned long int' \
12813	 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
12814       cat >conftest.$ac_ext <<_ACEOF
12815/* confdefs.h.  */
12816_ACEOF
12817cat confdefs.h >>conftest.$ac_ext
12818cat >>conftest.$ac_ext <<_ACEOF
12819/* end confdefs.h.  */
12820$ac_includes_default
12821int
12822main ()
12823{
12824static int test_array [1 - 2 * !(($ac_type) -1 >> (32 - 1) == 1)];
12825test_array [0] = 0
12826
12827  ;
12828  return 0;
12829}
12830_ACEOF
12831rm -f conftest.$ac_objext
12832if { (ac_try="$ac_compile"
12833case "(($ac_try" in
12834  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12835  *) ac_try_echo=$ac_try;;
12836esac
12837eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12838$as_echo "$ac_try_echo") >&5
12839  (eval "$ac_compile") 2>conftest.er1
12840  ac_status=$?
12841  grep -v '^ *+' conftest.er1 >conftest.err
12842  rm -f conftest.er1
12843  cat conftest.err >&5
12844  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12845  (exit $ac_status); } && {
12846	 test -z "$ac_c_werror_flag" ||
12847	 test ! -s conftest.err
12848       } && test -s conftest.$ac_objext; then
12849  case $ac_type in
12850  uint32_t) ac_cv_c_uint32_t=yes ;;
12851  *) ac_cv_c_uint32_t=$ac_type ;;
12852esac
12853
12854else
12855  $as_echo "$as_me: failed program was:" >&5
12856sed 's/^/| /' conftest.$ac_ext >&5
12857
12858
12859fi
12860
12861rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12862       test "$ac_cv_c_uint32_t" != no && break
12863     done
12864fi
12865{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_uint32_t" >&5
12866$as_echo "$ac_cv_c_uint32_t" >&6; }
12867  case $ac_cv_c_uint32_t in #(
12868  no|yes) ;; #(
12869  *)
12870
12871cat >>confdefs.h <<\_ACEOF
12872#define _UINT32_T 1
12873_ACEOF
12874
12875
12876cat >>confdefs.h <<_ACEOF
12877#define uint32_t $ac_cv_c_uint32_t
12878_ACEOF
12879;;
12880  esac
12881
12882
12883  { $as_echo "$as_me:$LINENO: checking for uint64_t" >&5
12884$as_echo_n "checking for uint64_t... " >&6; }
12885if test "${ac_cv_c_uint64_t+set}" = set; then
12886  $as_echo_n "(cached) " >&6
12887else
12888  ac_cv_c_uint64_t=no
12889     for ac_type in 'uint64_t' 'unsigned int' 'unsigned long int' \
12890	 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
12891       cat >conftest.$ac_ext <<_ACEOF
12892/* confdefs.h.  */
12893_ACEOF
12894cat confdefs.h >>conftest.$ac_ext
12895cat >>conftest.$ac_ext <<_ACEOF
12896/* end confdefs.h.  */
12897$ac_includes_default
12898int
12899main ()
12900{
12901static int test_array [1 - 2 * !(($ac_type) -1 >> (64 - 1) == 1)];
12902test_array [0] = 0
12903
12904  ;
12905  return 0;
12906}
12907_ACEOF
12908rm -f conftest.$ac_objext
12909if { (ac_try="$ac_compile"
12910case "(($ac_try" in
12911  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12912  *) ac_try_echo=$ac_try;;
12913esac
12914eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12915$as_echo "$ac_try_echo") >&5
12916  (eval "$ac_compile") 2>conftest.er1
12917  ac_status=$?
12918  grep -v '^ *+' conftest.er1 >conftest.err
12919  rm -f conftest.er1
12920  cat conftest.err >&5
12921  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12922  (exit $ac_status); } && {
12923	 test -z "$ac_c_werror_flag" ||
12924	 test ! -s conftest.err
12925       } && test -s conftest.$ac_objext; then
12926  case $ac_type in
12927  uint64_t) ac_cv_c_uint64_t=yes ;;
12928  *) ac_cv_c_uint64_t=$ac_type ;;
12929esac
12930
12931else
12932  $as_echo "$as_me: failed program was:" >&5
12933sed 's/^/| /' conftest.$ac_ext >&5
12934
12935
12936fi
12937
12938rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12939       test "$ac_cv_c_uint64_t" != no && break
12940     done
12941fi
12942{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_uint64_t" >&5
12943$as_echo "$ac_cv_c_uint64_t" >&6; }
12944  case $ac_cv_c_uint64_t in #(
12945  no|yes) ;; #(
12946  *)
12947
12948cat >>confdefs.h <<\_ACEOF
12949#define _UINT64_T 1
12950_ACEOF
12951
12952
12953cat >>confdefs.h <<_ACEOF
12954#define uint64_t $ac_cv_c_uint64_t
12955_ACEOF
12956;;
12957  esac
12958
12959
12960  { $as_echo "$as_me:$LINENO: checking for uint8_t" >&5
12961$as_echo_n "checking for uint8_t... " >&6; }
12962if test "${ac_cv_c_uint8_t+set}" = set; then
12963  $as_echo_n "(cached) " >&6
12964else
12965  ac_cv_c_uint8_t=no
12966     for ac_type in 'uint8_t' 'unsigned int' 'unsigned long int' \
12967	 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
12968       cat >conftest.$ac_ext <<_ACEOF
12969/* confdefs.h.  */
12970_ACEOF
12971cat confdefs.h >>conftest.$ac_ext
12972cat >>conftest.$ac_ext <<_ACEOF
12973/* end confdefs.h.  */
12974$ac_includes_default
12975int
12976main ()
12977{
12978static int test_array [1 - 2 * !(($ac_type) -1 >> (8 - 1) == 1)];
12979test_array [0] = 0
12980
12981  ;
12982  return 0;
12983}
12984_ACEOF
12985rm -f conftest.$ac_objext
12986if { (ac_try="$ac_compile"
12987case "(($ac_try" in
12988  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12989  *) ac_try_echo=$ac_try;;
12990esac
12991eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12992$as_echo "$ac_try_echo") >&5
12993  (eval "$ac_compile") 2>conftest.er1
12994  ac_status=$?
12995  grep -v '^ *+' conftest.er1 >conftest.err
12996  rm -f conftest.er1
12997  cat conftest.err >&5
12998  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12999  (exit $ac_status); } && {
13000	 test -z "$ac_c_werror_flag" ||
13001	 test ! -s conftest.err
13002       } && test -s conftest.$ac_objext; then
13003  case $ac_type in
13004  uint8_t) ac_cv_c_uint8_t=yes ;;
13005  *) ac_cv_c_uint8_t=$ac_type ;;
13006esac
13007
13008else
13009  $as_echo "$as_me: failed program was:" >&5
13010sed 's/^/| /' conftest.$ac_ext >&5
13011
13012
13013fi
13014
13015rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13016       test "$ac_cv_c_uint8_t" != no && break
13017     done
13018fi
13019{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_uint8_t" >&5
13020$as_echo "$ac_cv_c_uint8_t" >&6; }
13021  case $ac_cv_c_uint8_t in #(
13022  no|yes) ;; #(
13023  *)
13024
13025cat >>confdefs.h <<\_ACEOF
13026#define _UINT8_T 1
13027_ACEOF
13028
13029
13030cat >>confdefs.h <<_ACEOF
13031#define uint8_t $ac_cv_c_uint8_t
13032_ACEOF
13033;;
13034  esac
13035
13036
13037# check for openssl
13038# ===========================================================================
13039#     http://www.gnu.org/software/autoconf-archive/ax_check_openssl.html
13040# ===========================================================================
13041#
13042# SYNOPSIS
13043#
13044#   AX_CHECK_OPENSSL([action-if-found[, action-if-not-found]])
13045#
13046# DESCRIPTION
13047#
13048#   Look for OpenSSL in a number of default spots, or in a user-selected
13049#   spot (via --with-openssl).  Sets
13050#
13051#     OPENSSL_INCLUDES to the include directives required
13052#     OPENSSL_LIBS to the -l directives required
13053#     OPENSSL_LDFLAGS to the -L or -R flags required
13054#
13055#   and calls ACTION-IF-FOUND or ACTION-IF-NOT-FOUND appropriately
13056#
13057#   This macro sets OPENSSL_INCLUDES such that source files should use the
13058#   openssl/ directory in include directives:
13059#
13060#     #include <openssl/hmac.h>
13061#
13062# LICENSE
13063#
13064#   Copyright (c) 2009 Zmanda Inc. <http://www.zmanda.com/>
13065#   Copyright (c) 2009 Dustin J. Mitchell <dustin@zmanda.com>
13066#
13067#   Copying and distribution of this file, with or without modification, are
13068#   permitted in any medium without royalty provided the copyright notice
13069#   and this notice are preserved. This file is offered as-is, without any
13070#   warranty.
13071
13072#serial 5
13073
13074# This is what autoupdate's m4 run will expand.  It fires
13075# the warning (with _au_warn_XXX), outputs it into the
13076# updated configure.ac (with AC_DIAGNOSE), and then outputs
13077# the replacement expansion.
13078
13079
13080# This is an auxiliary macro that is also run when
13081# autoupdate runs m4.  It simply calls m4_warning, but
13082# we need a wrapper so that each warning is emitted only
13083# once.  We break the quoting in m4_warning's argument in
13084# order to expand this macro's arguments, not AU_DEFUN's.
13085
13086
13087# Finally, this is the expansion that is picked up by
13088# autoconf.  It tells the user to run autoupdate, and
13089# then outputs the replacement expansion.  We do not care
13090# about autoupdate's warning because that contains
13091# information on what to do *after* running autoupdate.
13092
13093
13094
13095
13096
13097    found=false
13098
13099# Check whether --with-openssl was given.
13100if test "${with_openssl+set}" = set; then
13101  withval=$with_openssl;
13102            case "$withval" in
13103            "" | y | ye | yes | n | no)
13104            { { $as_echo "$as_me:$LINENO: error: Invalid --with-openssl value" >&5
13105$as_echo "$as_me: error: Invalid --with-openssl value" >&2;}
13106   { (exit 1); exit 1; }; }
13107              ;;
13108            *) ssldirs="$withval"
13109              ;;
13110            esac
13111
13112else
13113
13114            # if pkg-config is installed and openssl has installed a .pc file,
13115            # then use that information and don't search ssldirs
13116            # Extract the first word of "pkg-config", so it can be a program name with args.
13117set dummy pkg-config; ac_word=$2
13118{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
13119$as_echo_n "checking for $ac_word... " >&6; }
13120if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13121  $as_echo_n "(cached) " >&6
13122else
13123  case $PKG_CONFIG in
13124  [\\/]* | ?:[\\/]*)
13125  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13126  ;;
13127  *)
13128  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13129for as_dir in $PATH
13130do
13131  IFS=$as_save_IFS
13132  test -z "$as_dir" && as_dir=.
13133  for ac_exec_ext in '' $ac_executable_extensions; do
13134  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13135    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13136    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13137    break 2
13138  fi
13139done
13140done
13141IFS=$as_save_IFS
13142
13143  ;;
13144esac
13145fi
13146PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13147if test -n "$PKG_CONFIG"; then
13148  { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13149$as_echo "$PKG_CONFIG" >&6; }
13150else
13151  { $as_echo "$as_me:$LINENO: result: no" >&5
13152$as_echo "no" >&6; }
13153fi
13154
13155
13156            if test x"$PKG_CONFIG" != x""; then
13157                OPENSSL_LDFLAGS=`$PKG_CONFIG openssl --libs-only-L 2>/dev/null`
13158                if test $? = 0; then
13159                    OPENSSL_LIBS=`$PKG_CONFIG openssl --libs-only-l 2>/dev/null`
13160                    OPENSSL_INCLUDES=`$PKG_CONFIG openssl --cflags-only-I 2>/dev/null`
13161                    found=true
13162                fi
13163            fi
13164
13165            # no such luck; use some default ssldirs
13166            if ! $found; then
13167                ssldirs="/usr/local/ssl /usr/lib/ssl /usr/ssl /usr/pkg /usr/local /usr"
13168            fi
13169
13170
13171fi
13172
13173
13174
13175    # note that we #include <openssl/foo.h>, so the OpenSSL headers have to be in
13176    # an 'openssl' subdirectory
13177
13178    if ! $found; then
13179        OPENSSL_INCLUDES=
13180        for ssldir in $ssldirs; do
13181            { $as_echo "$as_me:$LINENO: checking for openssl/ssl.h in $ssldir" >&5
13182$as_echo_n "checking for openssl/ssl.h in $ssldir... " >&6; }
13183            if test -f "$ssldir/include/openssl/ssl.h"; then
13184                OPENSSL_INCLUDES="-I$ssldir/include"
13185                OPENSSL_LDFLAGS="-L$ssldir/lib"
13186                OPENSSL_LIBS="-lssl -lcrypto"
13187                found=true
13188                { $as_echo "$as_me:$LINENO: result: yes" >&5
13189$as_echo "yes" >&6; }
13190                break
13191            else
13192                { $as_echo "$as_me:$LINENO: result: no" >&5
13193$as_echo "no" >&6; }
13194            fi
13195        done
13196
13197        # if the file wasn't found, well, go ahead and try the link anyway -- maybe
13198        # it will just work!
13199    fi
13200
13201    # try the preprocessor and linker with our new flags,
13202    # being careful not to pollute the global LIBS, LDFLAGS, and CPPFLAGS
13203
13204    { $as_echo "$as_me:$LINENO: checking whether compiling and linking against OpenSSL works" >&5
13205$as_echo_n "checking whether compiling and linking against OpenSSL works... " >&6; }
13206    echo "Trying link with OPENSSL_LDFLAGS=$OPENSSL_LDFLAGS;" \
13207        "OPENSSL_LIBS=$OPENSSL_LIBS; OPENSSL_INCLUDES=$OPENSSL_INCLUDES" >&5
13208
13209    save_LIBS="$LIBS"
13210    save_LDFLAGS="$LDFLAGS"
13211    save_CPPFLAGS="$CPPFLAGS"
13212    LDFLAGS="$LDFLAGS $OPENSSL_LDFLAGS"
13213    LIBS="$OPENSSL_LIBS $LIBS"
13214    CPPFLAGS="$OPENSSL_INCLUDES $CPPFLAGS"
13215    cat >conftest.$ac_ext <<_ACEOF
13216/* confdefs.h.  */
13217_ACEOF
13218cat confdefs.h >>conftest.$ac_ext
13219cat >>conftest.$ac_ext <<_ACEOF
13220/* end confdefs.h.  */
13221#include <openssl/ssl.h>
13222int
13223main ()
13224{
13225SSL_new(NULL)
13226  ;
13227  return 0;
13228}
13229_ACEOF
13230rm -f conftest.$ac_objext conftest$ac_exeext
13231if { (ac_try="$ac_link"
13232case "(($ac_try" in
13233  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13234  *) ac_try_echo=$ac_try;;
13235esac
13236eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13237$as_echo "$ac_try_echo") >&5
13238  (eval "$ac_link") 2>conftest.er1
13239  ac_status=$?
13240  grep -v '^ *+' conftest.er1 >conftest.err
13241  rm -f conftest.er1
13242  cat conftest.err >&5
13243  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13244  (exit $ac_status); } && {
13245	 test -z "$ac_c_werror_flag" ||
13246	 test ! -s conftest.err
13247       } && test -s conftest$ac_exeext && {
13248	 test "$cross_compiling" = yes ||
13249	 $as_test_x conftest$ac_exeext
13250       }; then
13251
13252            { $as_echo "$as_me:$LINENO: result: yes" >&5
13253$as_echo "yes" >&6; }
13254            LIBS="$LIBS $OPENSSL_LIBS" INCLUDES="$INCLUDES $OPENSSL_INCLUDES"
13255
13256else
13257  $as_echo "$as_me: failed program was:" >&5
13258sed 's/^/| /' conftest.$ac_ext >&5
13259
13260
13261            { $as_echo "$as_me:$LINENO: result: no" >&5
13262$as_echo "no" >&6; }
13263            { { $as_echo "$as_me:$LINENO: error: Missing OpenSSL" >&5
13264$as_echo "$as_me: error: Missing OpenSSL" >&2;}
13265   { (exit 1); exit 1; }; }
13266
13267fi
13268
13269rm -rf conftest.dSYM
13270rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13271      conftest$ac_exeext conftest.$ac_ext
13272    CPPFLAGS="$save_CPPFLAGS"
13273    LDFLAGS="$save_LDFLAGS"
13274    LIBS="$save_LIBS"
13275
13276
13277
13278
13279
13280
13281{ $as_echo "$as_me:$LINENO: checking for SHA256_CTX" >&5
13282$as_echo_n "checking for SHA256_CTX... " >&6; }
13283if test "${ac_cv_type_SHA256_CTX+set}" = set; then
13284  $as_echo_n "(cached) " >&6
13285else
13286  ac_cv_type_SHA256_CTX=no
13287cat >conftest.$ac_ext <<_ACEOF
13288/* confdefs.h.  */
13289_ACEOF
13290cat confdefs.h >>conftest.$ac_ext
13291cat >>conftest.$ac_ext <<_ACEOF
13292/* end confdefs.h.  */
13293
13294#if defined(HAVE_SYS_TYPES_H)
13295#include <sys/types.h>
13296#endif
13297#if defined(HAVE_OPENSSL_SHA_H)
13298#include <openssl/sha.h>
13299#endif
13300#if defined(HAVE_COMMONCRYPTO_COMMONDIGEST_H)
13301#define COMMON_DIGEST_FOR_OPENSSL 1
13302#include <CommonCrypto/CommonDigest.h>
13303#endif
13304
13305
13306int
13307main ()
13308{
13309if (sizeof (SHA256_CTX))
13310       return 0;
13311  ;
13312  return 0;
13313}
13314_ACEOF
13315rm -f conftest.$ac_objext
13316if { (ac_try="$ac_compile"
13317case "(($ac_try" in
13318  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13319  *) ac_try_echo=$ac_try;;
13320esac
13321eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13322$as_echo "$ac_try_echo") >&5
13323  (eval "$ac_compile") 2>conftest.er1
13324  ac_status=$?
13325  grep -v '^ *+' conftest.er1 >conftest.err
13326  rm -f conftest.er1
13327  cat conftest.err >&5
13328  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13329  (exit $ac_status); } && {
13330	 test -z "$ac_c_werror_flag" ||
13331	 test ! -s conftest.err
13332       } && test -s conftest.$ac_objext; then
13333  cat >conftest.$ac_ext <<_ACEOF
13334/* confdefs.h.  */
13335_ACEOF
13336cat confdefs.h >>conftest.$ac_ext
13337cat >>conftest.$ac_ext <<_ACEOF
13338/* end confdefs.h.  */
13339
13340#if defined(HAVE_SYS_TYPES_H)
13341#include <sys/types.h>
13342#endif
13343#if defined(HAVE_OPENSSL_SHA_H)
13344#include <openssl/sha.h>
13345#endif
13346#if defined(HAVE_COMMONCRYPTO_COMMONDIGEST_H)
13347#define COMMON_DIGEST_FOR_OPENSSL 1
13348#include <CommonCrypto/CommonDigest.h>
13349#endif
13350
13351
13352int
13353main ()
13354{
13355if (sizeof ((SHA256_CTX)))
13356	  return 0;
13357  ;
13358  return 0;
13359}
13360_ACEOF
13361rm -f conftest.$ac_objext
13362if { (ac_try="$ac_compile"
13363case "(($ac_try" in
13364  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13365  *) ac_try_echo=$ac_try;;
13366esac
13367eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13368$as_echo "$ac_try_echo") >&5
13369  (eval "$ac_compile") 2>conftest.er1
13370  ac_status=$?
13371  grep -v '^ *+' conftest.er1 >conftest.err
13372  rm -f conftest.er1
13373  cat conftest.err >&5
13374  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13375  (exit $ac_status); } && {
13376	 test -z "$ac_c_werror_flag" ||
13377	 test ! -s conftest.err
13378       } && test -s conftest.$ac_objext; then
13379  :
13380else
13381  $as_echo "$as_me: failed program was:" >&5
13382sed 's/^/| /' conftest.$ac_ext >&5
13383
13384	ac_cv_type_SHA256_CTX=yes
13385fi
13386
13387rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13388else
13389  $as_echo "$as_me: failed program was:" >&5
13390sed 's/^/| /' conftest.$ac_ext >&5
13391
13392
13393fi
13394
13395rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13396fi
13397{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_SHA256_CTX" >&5
13398$as_echo "$ac_cv_type_SHA256_CTX" >&6; }
13399if test "x$ac_cv_type_SHA256_CTX" = x""yes; then
13400
13401cat >>confdefs.h <<_ACEOF
13402#define HAVE_SHA256_CTX 1
13403_ACEOF
13404
13405
13406else
13407  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
13408$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13409{ { $as_echo "$as_me:$LINENO: error: missing SHA256_CTX; is openssl 0.9.8 or newer installed?
13410See \`config.log' for more details." >&5
13411$as_echo "$as_me: error: missing SHA256_CTX; is openssl 0.9.8 or newer installed?
13412See \`config.log' for more details." >&2;}
13413   { (exit 1); exit 1; }; }; }
13414fi
13415
13416
13417# Checks for library functions.
13418#
13419{ $as_echo "$as_me:$LINENO: checking for library containing gzopen" >&5
13420$as_echo_n "checking for library containing gzopen... " >&6; }
13421if test "${ac_cv_search_gzopen+set}" = set; then
13422  $as_echo_n "(cached) " >&6
13423else
13424  ac_func_search_save_LIBS=$LIBS
13425cat >conftest.$ac_ext <<_ACEOF
13426/* confdefs.h.  */
13427_ACEOF
13428cat confdefs.h >>conftest.$ac_ext
13429cat >>conftest.$ac_ext <<_ACEOF
13430/* end confdefs.h.  */
13431
13432/* Override any GCC internal prototype to avoid an error.
13433   Use char because int might match the return type of a GCC
13434   builtin and then its argument prototype would still apply.  */
13435#ifdef __cplusplus
13436extern "C"
13437#endif
13438char gzopen ();
13439int
13440main ()
13441{
13442return gzopen ();
13443  ;
13444  return 0;
13445}
13446_ACEOF
13447for ac_lib in '' z; do
13448  if test -z "$ac_lib"; then
13449    ac_res="none required"
13450  else
13451    ac_res=-l$ac_lib
13452    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13453  fi
13454  rm -f conftest.$ac_objext conftest$ac_exeext
13455if { (ac_try="$ac_link"
13456case "(($ac_try" in
13457  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13458  *) ac_try_echo=$ac_try;;
13459esac
13460eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13461$as_echo "$ac_try_echo") >&5
13462  (eval "$ac_link") 2>conftest.er1
13463  ac_status=$?
13464  grep -v '^ *+' conftest.er1 >conftest.err
13465  rm -f conftest.er1
13466  cat conftest.err >&5
13467  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13468  (exit $ac_status); } && {
13469	 test -z "$ac_c_werror_flag" ||
13470	 test ! -s conftest.err
13471       } && test -s conftest$ac_exeext && {
13472	 test "$cross_compiling" = yes ||
13473	 $as_test_x conftest$ac_exeext
13474       }; then
13475  ac_cv_search_gzopen=$ac_res
13476else
13477  $as_echo "$as_me: failed program was:" >&5
13478sed 's/^/| /' conftest.$ac_ext >&5
13479
13480
13481fi
13482
13483rm -rf conftest.dSYM
13484rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13485      conftest$ac_exeext
13486  if test "${ac_cv_search_gzopen+set}" = set; then
13487  break
13488fi
13489done
13490if test "${ac_cv_search_gzopen+set}" = set; then
13491  :
13492else
13493  ac_cv_search_gzopen=no
13494fi
13495rm conftest.$ac_ext
13496LIBS=$ac_func_search_save_LIBS
13497fi
13498{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_gzopen" >&5
13499$as_echo "$ac_cv_search_gzopen" >&6; }
13500ac_res=$ac_cv_search_gzopen
13501if test "$ac_res" != no; then
13502  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13503
13504fi
13505
13506{ $as_echo "$as_me:$LINENO: checking for library containing BZ2_bzDecompress" >&5
13507$as_echo_n "checking for library containing BZ2_bzDecompress... " >&6; }
13508if test "${ac_cv_search_BZ2_bzDecompress+set}" = set; then
13509  $as_echo_n "(cached) " >&6
13510else
13511  ac_func_search_save_LIBS=$LIBS
13512cat >conftest.$ac_ext <<_ACEOF
13513/* confdefs.h.  */
13514_ACEOF
13515cat confdefs.h >>conftest.$ac_ext
13516cat >>conftest.$ac_ext <<_ACEOF
13517/* end confdefs.h.  */
13518
13519/* Override any GCC internal prototype to avoid an error.
13520   Use char because int might match the return type of a GCC
13521   builtin and then its argument prototype would still apply.  */
13522#ifdef __cplusplus
13523extern "C"
13524#endif
13525char BZ2_bzDecompress ();
13526int
13527main ()
13528{
13529return BZ2_bzDecompress ();
13530  ;
13531  return 0;
13532}
13533_ACEOF
13534for ac_lib in '' bz2; do
13535  if test -z "$ac_lib"; then
13536    ac_res="none required"
13537  else
13538    ac_res=-l$ac_lib
13539    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13540  fi
13541  rm -f conftest.$ac_objext conftest$ac_exeext
13542if { (ac_try="$ac_link"
13543case "(($ac_try" in
13544  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13545  *) ac_try_echo=$ac_try;;
13546esac
13547eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13548$as_echo "$ac_try_echo") >&5
13549  (eval "$ac_link") 2>conftest.er1
13550  ac_status=$?
13551  grep -v '^ *+' conftest.er1 >conftest.err
13552  rm -f conftest.er1
13553  cat conftest.err >&5
13554  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13555  (exit $ac_status); } && {
13556	 test -z "$ac_c_werror_flag" ||
13557	 test ! -s conftest.err
13558       } && test -s conftest$ac_exeext && {
13559	 test "$cross_compiling" = yes ||
13560	 $as_test_x conftest$ac_exeext
13561       }; then
13562  ac_cv_search_BZ2_bzDecompress=$ac_res
13563else
13564  $as_echo "$as_me: failed program was:" >&5
13565sed 's/^/| /' conftest.$ac_ext >&5
13566
13567
13568fi
13569
13570rm -rf conftest.dSYM
13571rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13572      conftest$ac_exeext
13573  if test "${ac_cv_search_BZ2_bzDecompress+set}" = set; then
13574  break
13575fi
13576done
13577if test "${ac_cv_search_BZ2_bzDecompress+set}" = set; then
13578  :
13579else
13580  ac_cv_search_BZ2_bzDecompress=no
13581fi
13582rm conftest.$ac_ext
13583LIBS=$ac_func_search_save_LIBS
13584fi
13585{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_BZ2_bzDecompress" >&5
13586$as_echo "$ac_cv_search_BZ2_bzDecompress" >&6; }
13587ac_res=$ac_cv_search_BZ2_bzDecompress
13588if test "$ac_res" != no; then
13589  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13590
13591fi
13592
13593{ $as_echo "$as_me:$LINENO: checking for library containing RSA_public_encrypt" >&5
13594$as_echo_n "checking for library containing RSA_public_encrypt... " >&6; }
13595if test "${ac_cv_search_RSA_public_encrypt+set}" = set; then
13596  $as_echo_n "(cached) " >&6
13597else
13598  ac_func_search_save_LIBS=$LIBS
13599cat >conftest.$ac_ext <<_ACEOF
13600/* confdefs.h.  */
13601_ACEOF
13602cat confdefs.h >>conftest.$ac_ext
13603cat >>conftest.$ac_ext <<_ACEOF
13604/* end confdefs.h.  */
13605
13606/* Override any GCC internal prototype to avoid an error.
13607   Use char because int might match the return type of a GCC
13608   builtin and then its argument prototype would still apply.  */
13609#ifdef __cplusplus
13610extern "C"
13611#endif
13612char RSA_public_encrypt ();
13613int
13614main ()
13615{
13616return RSA_public_encrypt ();
13617  ;
13618  return 0;
13619}
13620_ACEOF
13621for ac_lib in '' crypto; do
13622  if test -z "$ac_lib"; then
13623    ac_res="none required"
13624  else
13625    ac_res=-l$ac_lib
13626    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13627  fi
13628  rm -f conftest.$ac_objext conftest$ac_exeext
13629if { (ac_try="$ac_link"
13630case "(($ac_try" in
13631  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13632  *) ac_try_echo=$ac_try;;
13633esac
13634eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13635$as_echo "$ac_try_echo") >&5
13636  (eval "$ac_link") 2>conftest.er1
13637  ac_status=$?
13638  grep -v '^ *+' conftest.er1 >conftest.err
13639  rm -f conftest.er1
13640  cat conftest.err >&5
13641  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13642  (exit $ac_status); } && {
13643	 test -z "$ac_c_werror_flag" ||
13644	 test ! -s conftest.err
13645       } && test -s conftest$ac_exeext && {
13646	 test "$cross_compiling" = yes ||
13647	 $as_test_x conftest$ac_exeext
13648       }; then
13649  ac_cv_search_RSA_public_encrypt=$ac_res
13650else
13651  $as_echo "$as_me: failed program was:" >&5
13652sed 's/^/| /' conftest.$ac_ext >&5
13653
13654
13655fi
13656
13657rm -rf conftest.dSYM
13658rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13659      conftest$ac_exeext
13660  if test "${ac_cv_search_RSA_public_encrypt+set}" = set; then
13661  break
13662fi
13663done
13664if test "${ac_cv_search_RSA_public_encrypt+set}" = set; then
13665  :
13666else
13667  ac_cv_search_RSA_public_encrypt=no
13668fi
13669rm conftest.$ac_ext
13670LIBS=$ac_func_search_save_LIBS
13671fi
13672{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_RSA_public_encrypt" >&5
13673$as_echo "$ac_cv_search_RSA_public_encrypt" >&6; }
13674ac_res=$ac_cv_search_RSA_public_encrypt
13675if test "$ac_res" != no; then
13676  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13677
13678fi
13679
13680
13681# Initialize the testsuite
13682#
13683ac_config_commands="$ac_config_commands tests/atconfig"
13684
13685
13686
13687AUTOM4TE=${AUTOM4TE-"${am_missing_run}autom4te"}
13688
13689
13690# Generate the Makefiles
13691#
13692ac_config_files="$ac_config_files Makefile include/Makefile src/Makefile src/libmj/Makefile src/lib/Makefile src/netpgp/Makefile src/netpgpkeys/Makefile src/netpgpverify/Makefile tests/Makefile tests/atlocal"
13693
13694cat >confcache <<\_ACEOF
13695# This file is a shell script that caches the results of configure
13696# tests run on this system so they can be shared between configure
13697# scripts and configure runs, see configure's option --config-cache.
13698# It is not useful on other systems.  If it contains results you don't
13699# want to keep, you may remove or edit it.
13700#
13701# config.status only pays attention to the cache file if you give it
13702# the --recheck option to rerun configure.
13703#
13704# `ac_cv_env_foo' variables (set or unset) will be overridden when
13705# loading this file, other *unset* `ac_cv_foo' will be assigned the
13706# following values.
13707
13708_ACEOF
13709
13710# The following way of writing the cache mishandles newlines in values,
13711# but we know of no workaround that is simple, portable, and efficient.
13712# So, we kill variables containing newlines.
13713# Ultrix sh set writes to stderr and can't be redirected directly,
13714# and sets the high bit in the cache file unless we assign to the vars.
13715(
13716  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13717    eval ac_val=\$$ac_var
13718    case $ac_val in #(
13719    *${as_nl}*)
13720      case $ac_var in #(
13721      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
13722$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13723      esac
13724      case $ac_var in #(
13725      _ | IFS | as_nl) ;; #(
13726      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13727      *) $as_unset $ac_var ;;
13728      esac ;;
13729    esac
13730  done
13731
13732  (set) 2>&1 |
13733    case $as_nl`(ac_space=' '; set) 2>&1` in #(
13734    *${as_nl}ac_space=\ *)
13735      # `set' does not quote correctly, so add quotes (double-quote
13736      # substitution turns \\\\ into \\, and sed turns \\ into \).
13737      sed -n \
13738	"s/'/'\\\\''/g;
13739	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13740      ;; #(
13741    *)
13742      # `set' quotes correctly as required by POSIX, so do not add quotes.
13743      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13744      ;;
13745    esac |
13746    sort
13747) |
13748  sed '
13749     /^ac_cv_env_/b end
13750     t clear
13751     :clear
13752     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13753     t end
13754     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13755     :end' >>confcache
13756if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13757  if test -w "$cache_file"; then
13758    test "x$cache_file" != "x/dev/null" &&
13759      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
13760$as_echo "$as_me: updating cache $cache_file" >&6;}
13761    cat confcache >$cache_file
13762  else
13763    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
13764$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13765  fi
13766fi
13767rm -f confcache
13768
13769test "x$prefix" = xNONE && prefix=$ac_default_prefix
13770# Let make expand exec_prefix.
13771test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13772
13773DEFS=-DHAVE_CONFIG_H
13774
13775ac_libobjs=
13776ac_ltlibobjs=
13777for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13778  # 1. Remove the extension, and $U if already installed.
13779  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13780  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13781  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
13782  #    will be set to the directory where LIBOBJS objects are built.
13783  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13784  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
13785done
13786LIBOBJS=$ac_libobjs
13787
13788LTLIBOBJS=$ac_ltlibobjs
13789
13790
13791if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13792  { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
13793Usually this means the macro was only invoked conditionally." >&5
13794$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
13795Usually this means the macro was only invoked conditionally." >&2;}
13796   { (exit 1); exit 1; }; }
13797fi
13798if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13799  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
13800Usually this means the macro was only invoked conditionally." >&5
13801$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
13802Usually this means the macro was only invoked conditionally." >&2;}
13803   { (exit 1); exit 1; }; }
13804fi
13805if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13806  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
13807Usually this means the macro was only invoked conditionally." >&5
13808$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
13809Usually this means the macro was only invoked conditionally." >&2;}
13810   { (exit 1); exit 1; }; }
13811fi
13812
13813: ${CONFIG_STATUS=./config.status}
13814ac_write_fail=0
13815ac_clean_files_save=$ac_clean_files
13816ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13817{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
13818$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13819cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13820#! $SHELL
13821# Generated by $as_me.
13822# Run this file to recreate the current configuration.
13823# Compiler output produced by configure, useful for debugging
13824# configure, is in config.log if it exists.
13825
13826debug=false
13827ac_cs_recheck=false
13828ac_cs_silent=false
13829SHELL=\${CONFIG_SHELL-$SHELL}
13830_ACEOF
13831
13832cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13833## --------------------- ##
13834## M4sh Initialization.  ##
13835## --------------------- ##
13836
13837# Be more Bourne compatible
13838DUALCASE=1; export DUALCASE # for MKS sh
13839if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
13840  emulate sh
13841  NULLCMD=:
13842  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13843  # is contrary to our usage.  Disable this feature.
13844  alias -g '${1+"$@"}'='"$@"'
13845  setopt NO_GLOB_SUBST
13846else
13847  case `(set -o) 2>/dev/null` in
13848  *posix*) set -o posix ;;
13849esac
13850
13851fi
13852
13853
13854
13855
13856# PATH needs CR
13857# Avoid depending upon Character Ranges.
13858as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13859as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13860as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13861as_cr_digits='0123456789'
13862as_cr_alnum=$as_cr_Letters$as_cr_digits
13863
13864as_nl='
13865'
13866export as_nl
13867# Printing a long string crashes Solaris 7 /usr/bin/printf.
13868as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13869as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13870as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13871if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13872  as_echo='printf %s\n'
13873  as_echo_n='printf %s'
13874else
13875  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13876    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13877    as_echo_n='/usr/ucb/echo -n'
13878  else
13879    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13880    as_echo_n_body='eval
13881      arg=$1;
13882      case $arg in
13883      *"$as_nl"*)
13884	expr "X$arg" : "X\\(.*\\)$as_nl";
13885	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13886      esac;
13887      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13888    '
13889    export as_echo_n_body
13890    as_echo_n='sh -c $as_echo_n_body as_echo'
13891  fi
13892  export as_echo_body
13893  as_echo='sh -c $as_echo_body as_echo'
13894fi
13895
13896# The user is always right.
13897if test "${PATH_SEPARATOR+set}" != set; then
13898  PATH_SEPARATOR=:
13899  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13900    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13901      PATH_SEPARATOR=';'
13902  }
13903fi
13904
13905# Support unset when possible.
13906if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
13907  as_unset=unset
13908else
13909  as_unset=false
13910fi
13911
13912
13913# IFS
13914# We need space, tab and new line, in precisely that order.  Quoting is
13915# there to prevent editors from complaining about space-tab.
13916# (If _AS_PATH_WALK were called with IFS unset, it would disable word
13917# splitting by setting IFS to empty value.)
13918IFS=" ""	$as_nl"
13919
13920# Find who we are.  Look in the path if we contain no directory separator.
13921case $0 in
13922  *[\\/]* ) as_myself=$0 ;;
13923  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13924for as_dir in $PATH
13925do
13926  IFS=$as_save_IFS
13927  test -z "$as_dir" && as_dir=.
13928  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13929done
13930IFS=$as_save_IFS
13931
13932     ;;
13933esac
13934# We did not find ourselves, most probably we were run as `sh COMMAND'
13935# in which case we are not to be found in the path.
13936if test "x$as_myself" = x; then
13937  as_myself=$0
13938fi
13939if test ! -f "$as_myself"; then
13940  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13941  { (exit 1); exit 1; }
13942fi
13943
13944# Work around bugs in pre-3.0 UWIN ksh.
13945for as_var in ENV MAIL MAILPATH
13946do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
13947done
13948PS1='$ '
13949PS2='> '
13950PS4='+ '
13951
13952# NLS nuisances.
13953LC_ALL=C
13954export LC_ALL
13955LANGUAGE=C
13956export LANGUAGE
13957
13958# Required to use basename.
13959if expr a : '\(a\)' >/dev/null 2>&1 &&
13960   test "X`expr 00001 : '.*\(...\)'`" = X001; then
13961  as_expr=expr
13962else
13963  as_expr=false
13964fi
13965
13966if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13967  as_basename=basename
13968else
13969  as_basename=false
13970fi
13971
13972
13973# Name of the executable.
13974as_me=`$as_basename -- "$0" ||
13975$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13976	 X"$0" : 'X\(//\)$' \| \
13977	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13978$as_echo X/"$0" |
13979    sed '/^.*\/\([^/][^/]*\)\/*$/{
13980	    s//\1/
13981	    q
13982	  }
13983	  /^X\/\(\/\/\)$/{
13984	    s//\1/
13985	    q
13986	  }
13987	  /^X\/\(\/\).*/{
13988	    s//\1/
13989	    q
13990	  }
13991	  s/.*/./; q'`
13992
13993# CDPATH.
13994$as_unset CDPATH
13995
13996
13997
13998  as_lineno_1=$LINENO
13999  as_lineno_2=$LINENO
14000  test "x$as_lineno_1" != "x$as_lineno_2" &&
14001  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
14002
14003  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
14004  # uniformly replaced by the line number.  The first 'sed' inserts a
14005  # line-number line after each line using $LINENO; the second 'sed'
14006  # does the real work.  The second script uses 'N' to pair each
14007  # line-number line with the line containing $LINENO, and appends
14008  # trailing '-' during substitution so that $LINENO is not a special
14009  # case at line end.
14010  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
14011  # scripts with optimization help from Paolo Bonzini.  Blame Lee
14012  # E. McMahon (1931-1989) for sed's syntax.  :-)
14013  sed -n '
14014    p
14015    /[$]LINENO/=
14016  ' <$as_myself |
14017    sed '
14018      s/[$]LINENO.*/&-/
14019      t lineno
14020      b
14021      :lineno
14022      N
14023      :loop
14024      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
14025      t loop
14026      s/-\n.*//
14027    ' >$as_me.lineno &&
14028  chmod +x "$as_me.lineno" ||
14029    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
14030   { (exit 1); exit 1; }; }
14031
14032  # Don't try to exec as it changes $[0], causing all sort of problems
14033  # (the dirname of $[0] is not the place where we might find the
14034  # original and so on.  Autoconf is especially sensitive to this).
14035  . "./$as_me.lineno"
14036  # Exit status is that of the last command.
14037  exit
14038}
14039
14040
14041if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14042  as_dirname=dirname
14043else
14044  as_dirname=false
14045fi
14046
14047ECHO_C= ECHO_N= ECHO_T=
14048case `echo -n x` in
14049-n*)
14050  case `echo 'x\c'` in
14051  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
14052  *)   ECHO_C='\c';;
14053  esac;;
14054*)
14055  ECHO_N='-n';;
14056esac
14057if expr a : '\(a\)' >/dev/null 2>&1 &&
14058   test "X`expr 00001 : '.*\(...\)'`" = X001; then
14059  as_expr=expr
14060else
14061  as_expr=false
14062fi
14063
14064rm -f conf$$ conf$$.exe conf$$.file
14065if test -d conf$$.dir; then
14066  rm -f conf$$.dir/conf$$.file
14067else
14068  rm -f conf$$.dir
14069  mkdir conf$$.dir 2>/dev/null
14070fi
14071if (echo >conf$$.file) 2>/dev/null; then
14072  if ln -s conf$$.file conf$$ 2>/dev/null; then
14073    as_ln_s='ln -s'
14074    # ... but there are two gotchas:
14075    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14076    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14077    # In both cases, we have to default to `cp -p'.
14078    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14079      as_ln_s='cp -p'
14080  elif ln conf$$.file conf$$ 2>/dev/null; then
14081    as_ln_s=ln
14082  else
14083    as_ln_s='cp -p'
14084  fi
14085else
14086  as_ln_s='cp -p'
14087fi
14088rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14089rmdir conf$$.dir 2>/dev/null
14090
14091if mkdir -p . 2>/dev/null; then
14092  as_mkdir_p=:
14093else
14094  test -d ./-p && rmdir ./-p
14095  as_mkdir_p=false
14096fi
14097
14098if test -x / >/dev/null 2>&1; then
14099  as_test_x='test -x'
14100else
14101  if ls -dL / >/dev/null 2>&1; then
14102    as_ls_L_option=L
14103  else
14104    as_ls_L_option=
14105  fi
14106  as_test_x='
14107    eval sh -c '\''
14108      if test -d "$1"; then
14109	test -d "$1/.";
14110      else
14111	case $1 in
14112	-*)set "./$1";;
14113	esac;
14114	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
14115	???[sx]*):;;*)false;;esac;fi
14116    '\'' sh
14117  '
14118fi
14119as_executable_p=$as_test_x
14120
14121# Sed expression to map a string onto a valid CPP name.
14122as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14123
14124# Sed expression to map a string onto a valid variable name.
14125as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14126
14127
14128exec 6>&1
14129
14130# Save the log message, to keep $[0] and so on meaningful, and to
14131# report actual input values of CONFIG_FILES etc. instead of their
14132# values after options handling.
14133ac_log="
14134This file was extended by netpgp $as_me 20101104, which was
14135generated by GNU Autoconf 2.63.  Invocation command line was
14136
14137  CONFIG_FILES    = $CONFIG_FILES
14138  CONFIG_HEADERS  = $CONFIG_HEADERS
14139  CONFIG_LINKS    = $CONFIG_LINKS
14140  CONFIG_COMMANDS = $CONFIG_COMMANDS
14141  $ $0 $@
14142
14143on `(hostname || uname -n) 2>/dev/null | sed 1q`
14144"
14145
14146_ACEOF
14147
14148case $ac_config_files in *"
14149"*) set x $ac_config_files; shift; ac_config_files=$*;;
14150esac
14151
14152case $ac_config_headers in *"
14153"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
14154esac
14155
14156
14157cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14158# Files that config.status was made for.
14159config_files="$ac_config_files"
14160config_headers="$ac_config_headers"
14161config_commands="$ac_config_commands"
14162
14163_ACEOF
14164
14165cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14166ac_cs_usage="\
14167\`$as_me' instantiates files from templates according to the
14168current configuration.
14169
14170Usage: $0 [OPTION]... [FILE]...
14171
14172  -h, --help       print this help, then exit
14173  -V, --version    print version number and configuration settings, then exit
14174  -q, --quiet, --silent
14175                   do not print progress messages
14176  -d, --debug      don't remove temporary files
14177      --recheck    update $as_me by reconfiguring in the same conditions
14178      --file=FILE[:TEMPLATE]
14179                   instantiate the configuration file FILE
14180      --header=FILE[:TEMPLATE]
14181                   instantiate the configuration header FILE
14182
14183Configuration files:
14184$config_files
14185
14186Configuration headers:
14187$config_headers
14188
14189Configuration commands:
14190$config_commands
14191
14192Report bugs to <bug-autoconf@gnu.org>."
14193
14194_ACEOF
14195cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14196ac_cs_version="\\
14197netpgp config.status 20101104
14198configured by $0, generated by GNU Autoconf 2.63,
14199  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
14200
14201Copyright (C) 2008 Free Software Foundation, Inc.
14202This config.status script is free software; the Free Software Foundation
14203gives unlimited permission to copy, distribute and modify it."
14204
14205ac_pwd='$ac_pwd'
14206srcdir='$srcdir'
14207INSTALL='$INSTALL'
14208MKDIR_P='$MKDIR_P'
14209AWK='$AWK'
14210test -n "\$AWK" || AWK=awk
14211_ACEOF
14212
14213cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14214# The default lists apply if the user does not specify any file.
14215ac_need_defaults=:
14216while test $# != 0
14217do
14218  case $1 in
14219  --*=*)
14220    ac_option=`expr "X$1" : 'X\([^=]*\)='`
14221    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14222    ac_shift=:
14223    ;;
14224  *)
14225    ac_option=$1
14226    ac_optarg=$2
14227    ac_shift=shift
14228    ;;
14229  esac
14230
14231  case $ac_option in
14232  # Handling of the options.
14233  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14234    ac_cs_recheck=: ;;
14235  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14236    $as_echo "$ac_cs_version"; exit ;;
14237  --debug | --debu | --deb | --de | --d | -d )
14238    debug=: ;;
14239  --file | --fil | --fi | --f )
14240    $ac_shift
14241    case $ac_optarg in
14242    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14243    esac
14244    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
14245    ac_need_defaults=false;;
14246  --header | --heade | --head | --hea )
14247    $ac_shift
14248    case $ac_optarg in
14249    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14250    esac
14251    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
14252    ac_need_defaults=false;;
14253  --he | --h)
14254    # Conflict between --help and --header
14255    { $as_echo "$as_me: error: ambiguous option: $1
14256Try \`$0 --help' for more information." >&2
14257   { (exit 1); exit 1; }; };;
14258  --help | --hel | -h )
14259    $as_echo "$ac_cs_usage"; exit ;;
14260  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14261  | -silent | --silent | --silen | --sile | --sil | --si | --s)
14262    ac_cs_silent=: ;;
14263
14264  # This is an error.
14265  -*) { $as_echo "$as_me: error: unrecognized option: $1
14266Try \`$0 --help' for more information." >&2
14267   { (exit 1); exit 1; }; } ;;
14268
14269  *) ac_config_targets="$ac_config_targets $1"
14270     ac_need_defaults=false ;;
14271
14272  esac
14273  shift
14274done
14275
14276ac_configure_extra_args=
14277
14278if $ac_cs_silent; then
14279  exec 6>/dev/null
14280  ac_configure_extra_args="$ac_configure_extra_args --silent"
14281fi
14282
14283_ACEOF
14284cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14285if \$ac_cs_recheck; then
14286  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14287  shift
14288  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14289  CONFIG_SHELL='$SHELL'
14290  export CONFIG_SHELL
14291  exec "\$@"
14292fi
14293
14294_ACEOF
14295cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14296exec 5>>config.log
14297{
14298  echo
14299  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14300## Running $as_me. ##
14301_ASBOX
14302  $as_echo "$ac_log"
14303} >&5
14304
14305_ACEOF
14306cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14307#
14308# INIT-COMMANDS
14309#
14310AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14311
14312
14313# The HP-UX ksh and POSIX shell print the target directory to stdout
14314# if CDPATH is set.
14315(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14316
14317sed_quote_subst='$sed_quote_subst'
14318double_quote_subst='$double_quote_subst'
14319delay_variable_subst='$delay_variable_subst'
14320macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
14321macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
14322enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
14323enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
14324pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
14325enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
14326host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
14327host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
14328host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
14329build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
14330build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
14331build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
14332SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
14333Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
14334GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
14335EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
14336FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
14337LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
14338NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
14339LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
14340max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
14341ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
14342exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
14343lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
14344lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
14345lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
14346reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
14347reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14348OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
14349deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
14350file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
14351AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
14352AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
14353STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
14354RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
14355old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14356old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14357old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14358CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
14359CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
14360compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
14361GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
14362lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
14363lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
14364lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
14365lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
14366objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
14367SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
14368ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
14369MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
14370lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
14371lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
14372lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
14373lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
14374lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
14375need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
14376DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
14377NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
14378LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
14379OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
14380OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
14381libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
14382shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14383extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14384archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
14385enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
14386export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14387whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14388compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
14389old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14390old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14391archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14392archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14393module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14394module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14395with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
14396allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
14397no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
14398hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14399hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
14400hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
14401hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
14402hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
14403hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
14404hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14405hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
14406inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
14407link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
14408fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
14409always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
14410export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14411exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
14412include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
14413prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14414file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
14415variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
14416need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
14417need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
14418version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
14419runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14420shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14421shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
14422libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
14423library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
14424soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
14425postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14426postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14427finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14428finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
14429hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
14430sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
14431sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
14432hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
14433enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
14434enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
14435enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
14436old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
14437striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
14438
14439LTCC='$LTCC'
14440LTCFLAGS='$LTCFLAGS'
14441compiler='$compiler_DEFAULT'
14442
14443# Quote evaled strings.
14444for var in SED \
14445GREP \
14446EGREP \
14447FGREP \
14448LD \
14449NM \
14450LN_S \
14451lt_SP2NL \
14452lt_NL2SP \
14453reload_flag \
14454OBJDUMP \
14455deplibs_check_method \
14456file_magic_cmd \
14457AR \
14458AR_FLAGS \
14459STRIP \
14460RANLIB \
14461CC \
14462CFLAGS \
14463compiler \
14464lt_cv_sys_global_symbol_pipe \
14465lt_cv_sys_global_symbol_to_cdecl \
14466lt_cv_sys_global_symbol_to_c_name_address \
14467lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14468SHELL \
14469ECHO \
14470lt_prog_compiler_no_builtin_flag \
14471lt_prog_compiler_wl \
14472lt_prog_compiler_pic \
14473lt_prog_compiler_static \
14474lt_cv_prog_compiler_c_o \
14475need_locks \
14476DSYMUTIL \
14477NMEDIT \
14478LIPO \
14479OTOOL \
14480OTOOL64 \
14481shrext_cmds \
14482export_dynamic_flag_spec \
14483whole_archive_flag_spec \
14484compiler_needs_object \
14485with_gnu_ld \
14486allow_undefined_flag \
14487no_undefined_flag \
14488hardcode_libdir_flag_spec \
14489hardcode_libdir_flag_spec_ld \
14490hardcode_libdir_separator \
14491fix_srcfile_path \
14492exclude_expsyms \
14493include_expsyms \
14494file_list_spec \
14495variables_saved_for_relink \
14496libname_spec \
14497library_names_spec \
14498soname_spec \
14499finish_eval \
14500old_striplib \
14501striplib; do
14502    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
14503    *[\\\\\\\`\\"\\\$]*)
14504      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14505      ;;
14506    *)
14507      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14508      ;;
14509    esac
14510done
14511
14512# Double-quote double-evaled strings.
14513for var in reload_cmds \
14514old_postinstall_cmds \
14515old_postuninstall_cmds \
14516old_archive_cmds \
14517extract_expsyms_cmds \
14518old_archive_from_new_cmds \
14519old_archive_from_expsyms_cmds \
14520archive_cmds \
14521archive_expsym_cmds \
14522module_cmds \
14523module_expsym_cmds \
14524export_symbols_cmds \
14525prelink_cmds \
14526postinstall_cmds \
14527postuninstall_cmds \
14528finish_cmds \
14529sys_lib_search_path_spec \
14530sys_lib_dlsearch_path_spec; do
14531    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
14532    *[\\\\\\\`\\"\\\$]*)
14533      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14534      ;;
14535    *)
14536      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14537      ;;
14538    esac
14539done
14540
14541# Fix-up fallback echo if it was mangled by the above quoting rules.
14542case \$lt_ECHO in
14543*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
14544  ;;
14545esac
14546
14547ac_aux_dir='$ac_aux_dir'
14548xsi_shell='$xsi_shell'
14549lt_shell_append='$lt_shell_append'
14550
14551# See if we are running on zsh, and set the options which allow our
14552# commands through without removal of \ escapes INIT.
14553if test -n "\${ZSH_VERSION+set}" ; then
14554   setopt NO_GLOB_SUBST
14555fi
14556
14557
14558    PACKAGE='$PACKAGE'
14559    VERSION='$VERSION'
14560    TIMESTAMP='$TIMESTAMP'
14561    RM='$RM'
14562    ofile='$ofile'
14563
14564
14565
14566
14567_ACEOF
14568
14569cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14570
14571# Handling of arguments.
14572for ac_config_target in $ac_config_targets
14573do
14574  case $ac_config_target in
14575    "src/lib/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/lib/config.h" ;;
14576    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14577    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14578    "tests/atconfig") CONFIG_COMMANDS="$CONFIG_COMMANDS tests/atconfig" ;;
14579    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14580    "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
14581    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
14582    "src/libmj/Makefile") CONFIG_FILES="$CONFIG_FILES src/libmj/Makefile" ;;
14583    "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
14584    "src/netpgp/Makefile") CONFIG_FILES="$CONFIG_FILES src/netpgp/Makefile" ;;
14585    "src/netpgpkeys/Makefile") CONFIG_FILES="$CONFIG_FILES src/netpgpkeys/Makefile" ;;
14586    "src/netpgpverify/Makefile") CONFIG_FILES="$CONFIG_FILES src/netpgpverify/Makefile" ;;
14587    "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
14588    "tests/atlocal") CONFIG_FILES="$CONFIG_FILES tests/atlocal" ;;
14589
14590  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
14591$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
14592   { (exit 1); exit 1; }; };;
14593  esac
14594done
14595
14596
14597# If the user did not use the arguments to specify the items to instantiate,
14598# then the envvar interface is used.  Set only those that are not.
14599# We use the long form for the default assignment because of an extremely
14600# bizarre bug on SunOS 4.1.3.
14601if $ac_need_defaults; then
14602  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14603  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14604  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14605fi
14606
14607# Have a temporary directory for convenience.  Make it in the build tree
14608# simply because there is no reason against having it here, and in addition,
14609# creating and moving files from /tmp can sometimes cause problems.
14610# Hook for its removal unless debugging.
14611# Note that there is a small window in which the directory will not be cleaned:
14612# after its creation but before its name has been assigned to `$tmp'.
14613$debug ||
14614{
14615  tmp=
14616  trap 'exit_status=$?
14617  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
14618' 0
14619  trap '{ (exit 1); exit 1; }' 1 2 13 15
14620}
14621# Create a (secure) tmp directory for tmp files.
14622
14623{
14624  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14625  test -n "$tmp" && test -d "$tmp"
14626}  ||
14627{
14628  tmp=./conf$$-$RANDOM
14629  (umask 077 && mkdir "$tmp")
14630} ||
14631{
14632   $as_echo "$as_me: cannot create a temporary directory in ." >&2
14633   { (exit 1); exit 1; }
14634}
14635
14636# Set up the scripts for CONFIG_FILES section.
14637# No need to generate them if there are no CONFIG_FILES.
14638# This happens for instance with `./config.status config.h'.
14639if test -n "$CONFIG_FILES"; then
14640
14641
14642ac_cr='
14643'
14644ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14645if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14646  ac_cs_awk_cr='\\r'
14647else
14648  ac_cs_awk_cr=$ac_cr
14649fi
14650
14651echo 'BEGIN {' >"$tmp/subs1.awk" &&
14652_ACEOF
14653
14654
14655{
14656  echo "cat >conf$$subs.awk <<_ACEOF" &&
14657  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14658  echo "_ACEOF"
14659} >conf$$subs.sh ||
14660  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
14661$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
14662   { (exit 1); exit 1; }; }
14663ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
14664ac_delim='%!_!# '
14665for ac_last_try in false false false false false :; do
14666  . ./conf$$subs.sh ||
14667    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
14668$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
14669   { (exit 1); exit 1; }; }
14670
14671  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14672  if test $ac_delim_n = $ac_delim_num; then
14673    break
14674  elif $ac_last_try; then
14675    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
14676$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
14677   { (exit 1); exit 1; }; }
14678  else
14679    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14680  fi
14681done
14682rm -f conf$$subs.sh
14683
14684cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14685cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
14686_ACEOF
14687sed -n '
14688h
14689s/^/S["/; s/!.*/"]=/
14690p
14691g
14692s/^[^!]*!//
14693:repl
14694t repl
14695s/'"$ac_delim"'$//
14696t delim
14697:nl
14698h
14699s/\(.\{148\}\).*/\1/
14700t more1
14701s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14702p
14703n
14704b repl
14705:more1
14706s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14707p
14708g
14709s/.\{148\}//
14710t nl
14711:delim
14712h
14713s/\(.\{148\}\).*/\1/
14714t more2
14715s/["\\]/\\&/g; s/^/"/; s/$/"/
14716p
14717b
14718:more2
14719s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14720p
14721g
14722s/.\{148\}//
14723t delim
14724' <conf$$subs.awk | sed '
14725/^[^""]/{
14726  N
14727  s/\n//
14728}
14729' >>$CONFIG_STATUS || ac_write_fail=1
14730rm -f conf$$subs.awk
14731cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14732_ACAWK
14733cat >>"\$tmp/subs1.awk" <<_ACAWK &&
14734  for (key in S) S_is_set[key] = 1
14735  FS = ""
14736
14737}
14738{
14739  line = $ 0
14740  nfields = split(line, field, "@")
14741  substed = 0
14742  len = length(field[1])
14743  for (i = 2; i < nfields; i++) {
14744    key = field[i]
14745    keylen = length(key)
14746    if (S_is_set[key]) {
14747      value = S[key]
14748      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14749      len += length(value) + length(field[++i])
14750      substed = 1
14751    } else
14752      len += 1 + keylen
14753  }
14754
14755  print line
14756}
14757
14758_ACAWK
14759_ACEOF
14760cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14761if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14762  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14763else
14764  cat
14765fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
14766  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
14767$as_echo "$as_me: error: could not setup config files machinery" >&2;}
14768   { (exit 1); exit 1; }; }
14769_ACEOF
14770
14771# VPATH may cause trouble with some makes, so we remove $(srcdir),
14772# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
14773# trailing colons and then remove the whole line if VPATH becomes empty
14774# (actually we leave an empty line to preserve line numbers).
14775if test "x$srcdir" = x.; then
14776  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
14777s/:*\$(srcdir):*/:/
14778s/:*\${srcdir}:*/:/
14779s/:*@srcdir@:*/:/
14780s/^\([^=]*=[	 ]*\):*/\1/
14781s/:*$//
14782s/^[^=]*=[	 ]*$//
14783}'
14784fi
14785
14786cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14787fi # test -n "$CONFIG_FILES"
14788
14789# Set up the scripts for CONFIG_HEADERS section.
14790# No need to generate them if there are no CONFIG_HEADERS.
14791# This happens for instance with `./config.status Makefile'.
14792if test -n "$CONFIG_HEADERS"; then
14793cat >"$tmp/defines.awk" <<\_ACAWK ||
14794BEGIN {
14795_ACEOF
14796
14797# Transform confdefs.h into an awk script `defines.awk', embedded as
14798# here-document in config.status, that substitutes the proper values into
14799# config.h.in to produce config.h.
14800
14801# Create a delimiter string that does not exist in confdefs.h, to ease
14802# handling of long lines.
14803ac_delim='%!_!# '
14804for ac_last_try in false false :; do
14805  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
14806  if test -z "$ac_t"; then
14807    break
14808  elif $ac_last_try; then
14809    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
14810$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
14811   { (exit 1); exit 1; }; }
14812  else
14813    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14814  fi
14815done
14816
14817# For the awk script, D is an array of macro values keyed by name,
14818# likewise P contains macro parameters if any.  Preserve backslash
14819# newline sequences.
14820
14821ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14822sed -n '
14823s/.\{148\}/&'"$ac_delim"'/g
14824t rset
14825:rset
14826s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
14827t def
14828d
14829:def
14830s/\\$//
14831t bsnl
14832s/["\\]/\\&/g
14833s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
14834D["\1"]=" \3"/p
14835s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
14836d
14837:bsnl
14838s/["\\]/\\&/g
14839s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
14840D["\1"]=" \3\\\\\\n"\\/p
14841t cont
14842s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14843t cont
14844d
14845:cont
14846n
14847s/.\{148\}/&'"$ac_delim"'/g
14848t clear
14849:clear
14850s/\\$//
14851t bsnlc
14852s/["\\]/\\&/g; s/^/"/; s/$/"/p
14853d
14854:bsnlc
14855s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14856b cont
14857' <confdefs.h | sed '
14858s/'"$ac_delim"'/"\\\
14859"/g' >>$CONFIG_STATUS || ac_write_fail=1
14860
14861cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14862  for (key in D) D_is_set[key] = 1
14863  FS = ""
14864}
14865/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14866  line = \$ 0
14867  split(line, arg, " ")
14868  if (arg[1] == "#") {
14869    defundef = arg[2]
14870    mac1 = arg[3]
14871  } else {
14872    defundef = substr(arg[1], 2)
14873    mac1 = arg[2]
14874  }
14875  split(mac1, mac2, "(") #)
14876  macro = mac2[1]
14877  prefix = substr(line, 1, index(line, defundef) - 1)
14878  if (D_is_set[macro]) {
14879    # Preserve the white space surrounding the "#".
14880    print prefix "define", macro P[macro] D[macro]
14881    next
14882  } else {
14883    # Replace #undef with comments.  This is necessary, for example,
14884    # in the case of _POSIX_SOURCE, which is predefined and required
14885    # on some systems where configure will not decide to define it.
14886    if (defundef == "undef") {
14887      print "/*", prefix defundef, macro, "*/"
14888      next
14889    }
14890  }
14891}
14892{ print }
14893_ACAWK
14894_ACEOF
14895cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14896  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
14897$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
14898   { (exit 1); exit 1; }; }
14899fi # test -n "$CONFIG_HEADERS"
14900
14901
14902eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
14903shift
14904for ac_tag
14905do
14906  case $ac_tag in
14907  :[FHLC]) ac_mode=$ac_tag; continue;;
14908  esac
14909  case $ac_mode$ac_tag in
14910  :[FHL]*:*);;
14911  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
14912$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
14913   { (exit 1); exit 1; }; };;
14914  :[FH]-) ac_tag=-:-;;
14915  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14916  esac
14917  ac_save_IFS=$IFS
14918  IFS=:
14919  set x $ac_tag
14920  IFS=$ac_save_IFS
14921  shift
14922  ac_file=$1
14923  shift
14924
14925  case $ac_mode in
14926  :L) ac_source=$1;;
14927  :[FH])
14928    ac_file_inputs=
14929    for ac_f
14930    do
14931      case $ac_f in
14932      -) ac_f="$tmp/stdin";;
14933      *) # Look for the file first in the build tree, then in the source tree
14934	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
14935	 # because $ac_f cannot contain `:'.
14936	 test -f "$ac_f" ||
14937	   case $ac_f in
14938	   [\\/$]*) false;;
14939	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14940	   esac ||
14941	   { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
14942$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
14943   { (exit 1); exit 1; }; };;
14944      esac
14945      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14946      ac_file_inputs="$ac_file_inputs '$ac_f'"
14947    done
14948
14949    # Let's still pretend it is `configure' which instantiates (i.e., don't
14950    # use $as_me), people would be surprised to read:
14951    #    /* config.h.  Generated by config.status.  */
14952    configure_input='Generated from '`
14953	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14954	`' by configure.'
14955    if test x"$ac_file" != x-; then
14956      configure_input="$ac_file.  $configure_input"
14957      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
14958$as_echo "$as_me: creating $ac_file" >&6;}
14959    fi
14960    # Neutralize special characters interpreted by sed in replacement strings.
14961    case $configure_input in #(
14962    *\&* | *\|* | *\\* )
14963       ac_sed_conf_input=`$as_echo "$configure_input" |
14964       sed 's/[\\\\&|]/\\\\&/g'`;; #(
14965    *) ac_sed_conf_input=$configure_input;;
14966    esac
14967
14968    case $ac_tag in
14969    *:-:* | *:-) cat >"$tmp/stdin" \
14970      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14971$as_echo "$as_me: error: could not create $ac_file" >&2;}
14972   { (exit 1); exit 1; }; } ;;
14973    esac
14974    ;;
14975  esac
14976
14977  ac_dir=`$as_dirname -- "$ac_file" ||
14978$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14979	 X"$ac_file" : 'X\(//\)[^/]' \| \
14980	 X"$ac_file" : 'X\(//\)$' \| \
14981	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14982$as_echo X"$ac_file" |
14983    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14984	    s//\1/
14985	    q
14986	  }
14987	  /^X\(\/\/\)[^/].*/{
14988	    s//\1/
14989	    q
14990	  }
14991	  /^X\(\/\/\)$/{
14992	    s//\1/
14993	    q
14994	  }
14995	  /^X\(\/\).*/{
14996	    s//\1/
14997	    q
14998	  }
14999	  s/.*/./; q'`
15000  { as_dir="$ac_dir"
15001  case $as_dir in #(
15002  -*) as_dir=./$as_dir;;
15003  esac
15004  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
15005    as_dirs=
15006    while :; do
15007      case $as_dir in #(
15008      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15009      *) as_qdir=$as_dir;;
15010      esac
15011      as_dirs="'$as_qdir' $as_dirs"
15012      as_dir=`$as_dirname -- "$as_dir" ||
15013$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15014	 X"$as_dir" : 'X\(//\)[^/]' \| \
15015	 X"$as_dir" : 'X\(//\)$' \| \
15016	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15017$as_echo X"$as_dir" |
15018    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15019	    s//\1/
15020	    q
15021	  }
15022	  /^X\(\/\/\)[^/].*/{
15023	    s//\1/
15024	    q
15025	  }
15026	  /^X\(\/\/\)$/{
15027	    s//\1/
15028	    q
15029	  }
15030	  /^X\(\/\).*/{
15031	    s//\1/
15032	    q
15033	  }
15034	  s/.*/./; q'`
15035      test -d "$as_dir" && break
15036    done
15037    test -z "$as_dirs" || eval "mkdir $as_dirs"
15038  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
15039$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
15040   { (exit 1); exit 1; }; }; }
15041  ac_builddir=.
15042
15043case "$ac_dir" in
15044.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15045*)
15046  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15047  # A ".." for each directory in $ac_dir_suffix.
15048  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15049  case $ac_top_builddir_sub in
15050  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15051  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15052  esac ;;
15053esac
15054ac_abs_top_builddir=$ac_pwd
15055ac_abs_builddir=$ac_pwd$ac_dir_suffix
15056# for backward compatibility:
15057ac_top_builddir=$ac_top_build_prefix
15058
15059case $srcdir in
15060  .)  # We are building in place.
15061    ac_srcdir=.
15062    ac_top_srcdir=$ac_top_builddir_sub
15063    ac_abs_top_srcdir=$ac_pwd ;;
15064  [\\/]* | ?:[\\/]* )  # Absolute name.
15065    ac_srcdir=$srcdir$ac_dir_suffix;
15066    ac_top_srcdir=$srcdir
15067    ac_abs_top_srcdir=$srcdir ;;
15068  *) # Relative name.
15069    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15070    ac_top_srcdir=$ac_top_build_prefix$srcdir
15071    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15072esac
15073ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15074
15075
15076  case $ac_mode in
15077  :F)
15078  #
15079  # CONFIG_FILE
15080  #
15081
15082  case $INSTALL in
15083  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15084  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15085  esac
15086  ac_MKDIR_P=$MKDIR_P
15087  case $MKDIR_P in
15088  [\\/$]* | ?:[\\/]* ) ;;
15089  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
15090  esac
15091_ACEOF
15092
15093cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15094# If the template does not know about datarootdir, expand it.
15095# FIXME: This hack should be removed a few years after 2.60.
15096ac_datarootdir_hack=; ac_datarootdir_seen=
15097
15098ac_sed_dataroot='
15099/datarootdir/ {
15100  p
15101  q
15102}
15103/@datadir@/p
15104/@docdir@/p
15105/@infodir@/p
15106/@localedir@/p
15107/@mandir@/p
15108'
15109case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15110*datarootdir*) ac_datarootdir_seen=yes;;
15111*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15112  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15113$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15114_ACEOF
15115cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15116  ac_datarootdir_hack='
15117  s&@datadir@&$datadir&g
15118  s&@docdir@&$docdir&g
15119  s&@infodir@&$infodir&g
15120  s&@localedir@&$localedir&g
15121  s&@mandir@&$mandir&g
15122    s&\\\${datarootdir}&$datarootdir&g' ;;
15123esac
15124_ACEOF
15125
15126# Neutralize VPATH when `$srcdir' = `.'.
15127# Shell code in configure.ac might set extrasub.
15128# FIXME: do we really want to maintain this feature?
15129cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15130ac_sed_extra="$ac_vpsub
15131$extrasub
15132_ACEOF
15133cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15134:t
15135/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15136s|@configure_input@|$ac_sed_conf_input|;t t
15137s&@top_builddir@&$ac_top_builddir_sub&;t t
15138s&@top_build_prefix@&$ac_top_build_prefix&;t t
15139s&@srcdir@&$ac_srcdir&;t t
15140s&@abs_srcdir@&$ac_abs_srcdir&;t t
15141s&@top_srcdir@&$ac_top_srcdir&;t t
15142s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
15143s&@builddir@&$ac_builddir&;t t
15144s&@abs_builddir@&$ac_abs_builddir&;t t
15145s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
15146s&@INSTALL@&$ac_INSTALL&;t t
15147s&@MKDIR_P@&$ac_MKDIR_P&;t t
15148$ac_datarootdir_hack
15149"
15150eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
15151  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
15152$as_echo "$as_me: error: could not create $ac_file" >&2;}
15153   { (exit 1); exit 1; }; }
15154
15155test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15156  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
15157  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
15158  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15159which seems to be undefined.  Please make sure it is defined." >&5
15160$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15161which seems to be undefined.  Please make sure it is defined." >&2;}
15162
15163  rm -f "$tmp/stdin"
15164  case $ac_file in
15165  -) cat "$tmp/out" && rm -f "$tmp/out";;
15166  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15167  esac \
15168  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
15169$as_echo "$as_me: error: could not create $ac_file" >&2;}
15170   { (exit 1); exit 1; }; }
15171 ;;
15172  :H)
15173  #
15174  # CONFIG_HEADER
15175  #
15176  if test x"$ac_file" != x-; then
15177    {
15178      $as_echo "/* $configure_input  */" \
15179      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
15180    } >"$tmp/config.h" \
15181      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
15182$as_echo "$as_me: error: could not create $ac_file" >&2;}
15183   { (exit 1); exit 1; }; }
15184    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
15185      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
15186$as_echo "$as_me: $ac_file is unchanged" >&6;}
15187    else
15188      rm -f "$ac_file"
15189      mv "$tmp/config.h" "$ac_file" \
15190	|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
15191$as_echo "$as_me: error: could not create $ac_file" >&2;}
15192   { (exit 1); exit 1; }; }
15193    fi
15194  else
15195    $as_echo "/* $configure_input  */" \
15196      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
15197      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
15198$as_echo "$as_me: error: could not create -" >&2;}
15199   { (exit 1); exit 1; }; }
15200  fi
15201# Compute "$ac_file"'s index in $config_headers.
15202_am_arg="$ac_file"
15203_am_stamp_count=1
15204for _am_header in $config_headers :; do
15205  case $_am_header in
15206    $_am_arg | $_am_arg:* )
15207      break ;;
15208    * )
15209      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
15210  esac
15211done
15212echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15213$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15214	 X"$_am_arg" : 'X\(//\)[^/]' \| \
15215	 X"$_am_arg" : 'X\(//\)$' \| \
15216	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15217$as_echo X"$_am_arg" |
15218    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15219	    s//\1/
15220	    q
15221	  }
15222	  /^X\(\/\/\)[^/].*/{
15223	    s//\1/
15224	    q
15225	  }
15226	  /^X\(\/\/\)$/{
15227	    s//\1/
15228	    q
15229	  }
15230	  /^X\(\/\).*/{
15231	    s//\1/
15232	    q
15233	  }
15234	  s/.*/./; q'`/stamp-h$_am_stamp_count
15235 ;;
15236
15237  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
15238$as_echo "$as_me: executing $ac_file commands" >&6;}
15239 ;;
15240  esac
15241
15242
15243  case $ac_file$ac_mode in
15244    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
15245  # Strip MF so we end up with the name of the file.
15246  mf=`echo "$mf" | sed -e 's/:.*$//'`
15247  # Check whether this is an Automake generated Makefile or not.
15248  # We used to match only the files named `Makefile.in', but
15249  # some people rename them; so instead we look at the file content.
15250  # Grep'ing the first line is not enough: some people post-process
15251  # each Makefile.in and add a new line on top of each file to say so.
15252  # Grep'ing the whole file is not good either: AIX grep has a line
15253  # limit of 2048, but all sed's we know have understand at least 4000.
15254  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
15255    dirpart=`$as_dirname -- "$mf" ||
15256$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15257	 X"$mf" : 'X\(//\)[^/]' \| \
15258	 X"$mf" : 'X\(//\)$' \| \
15259	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15260$as_echo X"$mf" |
15261    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15262	    s//\1/
15263	    q
15264	  }
15265	  /^X\(\/\/\)[^/].*/{
15266	    s//\1/
15267	    q
15268	  }
15269	  /^X\(\/\/\)$/{
15270	    s//\1/
15271	    q
15272	  }
15273	  /^X\(\/\).*/{
15274	    s//\1/
15275	    q
15276	  }
15277	  s/.*/./; q'`
15278  else
15279    continue
15280  fi
15281  # Extract the definition of DEPDIR, am__include, and am__quote
15282  # from the Makefile without running `make'.
15283  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
15284  test -z "$DEPDIR" && continue
15285  am__include=`sed -n 's/^am__include = //p' < "$mf"`
15286  test -z "am__include" && continue
15287  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15288  # When using ansi2knr, U may be empty or an underscore; expand it
15289  U=`sed -n 's/^U = //p' < "$mf"`
15290  # Find all dependency output files, they are included files with
15291  # $(DEPDIR) in their names.  We invoke sed twice because it is the
15292  # simplest approach to changing $(DEPDIR) to its actual value in the
15293  # expansion.
15294  for file in `sed -n "
15295    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15296       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
15297    # Make sure the directory exists.
15298    test -f "$dirpart/$file" && continue
15299    fdir=`$as_dirname -- "$file" ||
15300$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15301	 X"$file" : 'X\(//\)[^/]' \| \
15302	 X"$file" : 'X\(//\)$' \| \
15303	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15304$as_echo X"$file" |
15305    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15306	    s//\1/
15307	    q
15308	  }
15309	  /^X\(\/\/\)[^/].*/{
15310	    s//\1/
15311	    q
15312	  }
15313	  /^X\(\/\/\)$/{
15314	    s//\1/
15315	    q
15316	  }
15317	  /^X\(\/\).*/{
15318	    s//\1/
15319	    q
15320	  }
15321	  s/.*/./; q'`
15322    { as_dir=$dirpart/$fdir
15323  case $as_dir in #(
15324  -*) as_dir=./$as_dir;;
15325  esac
15326  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
15327    as_dirs=
15328    while :; do
15329      case $as_dir in #(
15330      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15331      *) as_qdir=$as_dir;;
15332      esac
15333      as_dirs="'$as_qdir' $as_dirs"
15334      as_dir=`$as_dirname -- "$as_dir" ||
15335$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15336	 X"$as_dir" : 'X\(//\)[^/]' \| \
15337	 X"$as_dir" : 'X\(//\)$' \| \
15338	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15339$as_echo X"$as_dir" |
15340    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15341	    s//\1/
15342	    q
15343	  }
15344	  /^X\(\/\/\)[^/].*/{
15345	    s//\1/
15346	    q
15347	  }
15348	  /^X\(\/\/\)$/{
15349	    s//\1/
15350	    q
15351	  }
15352	  /^X\(\/\).*/{
15353	    s//\1/
15354	    q
15355	  }
15356	  s/.*/./; q'`
15357      test -d "$as_dir" && break
15358    done
15359    test -z "$as_dirs" || eval "mkdir $as_dirs"
15360  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
15361$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
15362   { (exit 1); exit 1; }; }; }
15363    # echo "creating $dirpart/$file"
15364    echo '# dummy' > "$dirpart/$file"
15365  done
15366done
15367 ;;
15368    "libtool":C)
15369
15370    # See if we are running on zsh, and set the options which allow our
15371    # commands through without removal of \ escapes.
15372    if test -n "${ZSH_VERSION+set}" ; then
15373      setopt NO_GLOB_SUBST
15374    fi
15375
15376    cfgfile="${ofile}T"
15377    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15378    $RM "$cfgfile"
15379
15380    cat <<_LT_EOF >> "$cfgfile"
15381#! $SHELL
15382
15383# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15384# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15385# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15386# NOTE: Changes made to this file will be lost: look at ltmain.sh.
15387#
15388#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15389#                 2006, 2007, 2008 Free Software Foundation, Inc.
15390#   Written by Gordon Matzigkeit, 1996
15391#
15392#   This file is part of GNU Libtool.
15393#
15394# GNU Libtool is free software; you can redistribute it and/or
15395# modify it under the terms of the GNU General Public License as
15396# published by the Free Software Foundation; either version 2 of
15397# the License, or (at your option) any later version.
15398#
15399# As a special exception to the GNU General Public License,
15400# if you distribute this file as part of a program or library that
15401# is built using GNU Libtool, you may include this file under the
15402# same distribution terms that you use for the rest of that program.
15403#
15404# GNU Libtool is distributed in the hope that it will be useful,
15405# but WITHOUT ANY WARRANTY; without even the implied warranty of
15406# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15407# GNU General Public License for more details.
15408#
15409# You should have received a copy of the GNU General Public License
15410# along with GNU Libtool; see the file COPYING.  If not, a copy
15411# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15412# obtained by writing to the Free Software Foundation, Inc.,
15413# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15414
15415
15416# The names of the tagged configurations supported by this script.
15417available_tags=""
15418
15419# ### BEGIN LIBTOOL CONFIG
15420
15421# Which release of libtool.m4 was used?
15422macro_version=$macro_version
15423macro_revision=$macro_revision
15424
15425# Whether or not to build shared libraries.
15426build_libtool_libs=$enable_shared
15427
15428# Whether or not to build static libraries.
15429build_old_libs=$enable_static
15430
15431# What type of objects to build.
15432pic_mode=$pic_mode
15433
15434# Whether or not to optimize for fast installation.
15435fast_install=$enable_fast_install
15436
15437# The host system.
15438host_alias=$host_alias
15439host=$host
15440host_os=$host_os
15441
15442# The build system.
15443build_alias=$build_alias
15444build=$build
15445build_os=$build_os
15446
15447# A sed program that does not truncate output.
15448SED=$lt_SED
15449
15450# Sed that helps us avoid accidentally triggering echo(1) options like -n.
15451Xsed="\$SED -e 1s/^X//"
15452
15453# A grep program that handles long lines.
15454GREP=$lt_GREP
15455
15456# An ERE matcher.
15457EGREP=$lt_EGREP
15458
15459# A literal string matcher.
15460FGREP=$lt_FGREP
15461
15462# A BSD- or MS-compatible name lister.
15463NM=$lt_NM
15464
15465# Whether we need soft or hard links.
15466LN_S=$lt_LN_S
15467
15468# What is the maximum length of a command?
15469max_cmd_len=$max_cmd_len
15470
15471# Object file suffix (normally "o").
15472objext=$ac_objext
15473
15474# Executable file suffix (normally "").
15475exeext=$exeext
15476
15477# whether the shell understands "unset".
15478lt_unset=$lt_unset
15479
15480# turn spaces into newlines.
15481SP2NL=$lt_lt_SP2NL
15482
15483# turn newlines into spaces.
15484NL2SP=$lt_lt_NL2SP
15485
15486# How to create reloadable object files.
15487reload_flag=$lt_reload_flag
15488reload_cmds=$lt_reload_cmds
15489
15490# An object symbol dumper.
15491OBJDUMP=$lt_OBJDUMP
15492
15493# Method to check whether dependent libraries are shared objects.
15494deplibs_check_method=$lt_deplibs_check_method
15495
15496# Command to use when deplibs_check_method == "file_magic".
15497file_magic_cmd=$lt_file_magic_cmd
15498
15499# The archiver.
15500AR=$lt_AR
15501AR_FLAGS=$lt_AR_FLAGS
15502
15503# A symbol stripping program.
15504STRIP=$lt_STRIP
15505
15506# Commands used to install an old-style archive.
15507RANLIB=$lt_RANLIB
15508old_postinstall_cmds=$lt_old_postinstall_cmds
15509old_postuninstall_cmds=$lt_old_postuninstall_cmds
15510
15511# A C compiler.
15512LTCC=$lt_CC
15513
15514# LTCC compiler flags.
15515LTCFLAGS=$lt_CFLAGS
15516
15517# Take the output of nm and produce a listing of raw symbols and C names.
15518global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15519
15520# Transform the output of nm in a proper C declaration.
15521global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15522
15523# Transform the output of nm in a C name address pair.
15524global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15525
15526# Transform the output of nm in a C name address pair when lib prefix is needed.
15527global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15528
15529# The name of the directory that contains temporary libtool files.
15530objdir=$objdir
15531
15532# Shell to use when invoking shell scripts.
15533SHELL=$lt_SHELL
15534
15535# An echo program that does not interpret backslashes.
15536ECHO=$lt_ECHO
15537
15538# Used to examine libraries when file_magic_cmd begins with "file".
15539MAGIC_CMD=$MAGIC_CMD
15540
15541# Must we lock files when doing compilation?
15542need_locks=$lt_need_locks
15543
15544# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15545DSYMUTIL=$lt_DSYMUTIL
15546
15547# Tool to change global to local symbols on Mac OS X.
15548NMEDIT=$lt_NMEDIT
15549
15550# Tool to manipulate fat objects and archives on Mac OS X.
15551LIPO=$lt_LIPO
15552
15553# ldd/readelf like tool for Mach-O binaries on Mac OS X.
15554OTOOL=$lt_OTOOL
15555
15556# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15557OTOOL64=$lt_OTOOL64
15558
15559# Old archive suffix (normally "a").
15560libext=$libext
15561
15562# Shared library suffix (normally ".so").
15563shrext_cmds=$lt_shrext_cmds
15564
15565# The commands to extract the exported symbol list from a shared archive.
15566extract_expsyms_cmds=$lt_extract_expsyms_cmds
15567
15568# Variables whose values should be saved in libtool wrapper scripts and
15569# restored at link time.
15570variables_saved_for_relink=$lt_variables_saved_for_relink
15571
15572# Do we need the "lib" prefix for modules?
15573need_lib_prefix=$need_lib_prefix
15574
15575# Do we need a version for libraries?
15576need_version=$need_version
15577
15578# Library versioning type.
15579version_type=$version_type
15580
15581# Shared library runtime path variable.
15582runpath_var=$runpath_var
15583
15584# Shared library path variable.
15585shlibpath_var=$shlibpath_var
15586
15587# Is shlibpath searched before the hard-coded library search path?
15588shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15589
15590# Format of library name prefix.
15591libname_spec=$lt_libname_spec
15592
15593# List of archive names.  First name is the real one, the rest are links.
15594# The last name is the one that the linker finds with -lNAME
15595library_names_spec=$lt_library_names_spec
15596
15597# The coded name of the library, if different from the real name.
15598soname_spec=$lt_soname_spec
15599
15600# Command to use after installation of a shared archive.
15601postinstall_cmds=$lt_postinstall_cmds
15602
15603# Command to use after uninstallation of a shared archive.
15604postuninstall_cmds=$lt_postuninstall_cmds
15605
15606# Commands used to finish a libtool library installation in a directory.
15607finish_cmds=$lt_finish_cmds
15608
15609# As "finish_cmds", except a single script fragment to be evaled but
15610# not shown.
15611finish_eval=$lt_finish_eval
15612
15613# Whether we should hardcode library paths into libraries.
15614hardcode_into_libs=$hardcode_into_libs
15615
15616# Compile-time system search path for libraries.
15617sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15618
15619# Run-time system search path for libraries.
15620sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15621
15622# Whether dlopen is supported.
15623dlopen_support=$enable_dlopen
15624
15625# Whether dlopen of programs is supported.
15626dlopen_self=$enable_dlopen_self
15627
15628# Whether dlopen of statically linked programs is supported.
15629dlopen_self_static=$enable_dlopen_self_static
15630
15631# Commands to strip libraries.
15632old_striplib=$lt_old_striplib
15633striplib=$lt_striplib
15634
15635
15636# The linker used to build libraries.
15637LD=$lt_LD
15638
15639# Commands used to build an old-style archive.
15640old_archive_cmds=$lt_old_archive_cmds
15641
15642# A language specific compiler.
15643CC=$lt_compiler
15644
15645# Is the compiler the GNU compiler?
15646with_gcc=$GCC
15647
15648# Compiler flag to turn off builtin functions.
15649no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15650
15651# How to pass a linker flag through the compiler.
15652wl=$lt_lt_prog_compiler_wl
15653
15654# Additional compiler flags for building library objects.
15655pic_flag=$lt_lt_prog_compiler_pic
15656
15657# Compiler flag to prevent dynamic linking.
15658link_static_flag=$lt_lt_prog_compiler_static
15659
15660# Does compiler simultaneously support -c and -o options?
15661compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15662
15663# Whether or not to add -lc for building shared libraries.
15664build_libtool_need_lc=$archive_cmds_need_lc
15665
15666# Whether or not to disallow shared libs when runtime libs are static.
15667allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15668
15669# Compiler flag to allow reflexive dlopens.
15670export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15671
15672# Compiler flag to generate shared objects directly from archives.
15673whole_archive_flag_spec=$lt_whole_archive_flag_spec
15674
15675# Whether the compiler copes with passing no objects directly.
15676compiler_needs_object=$lt_compiler_needs_object
15677
15678# Create an old-style archive from a shared archive.
15679old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15680
15681# Create a temporary old-style archive to link instead of a shared archive.
15682old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15683
15684# Commands used to build a shared archive.
15685archive_cmds=$lt_archive_cmds
15686archive_expsym_cmds=$lt_archive_expsym_cmds
15687
15688# Commands used to build a loadable module if different from building
15689# a shared archive.
15690module_cmds=$lt_module_cmds
15691module_expsym_cmds=$lt_module_expsym_cmds
15692
15693# Whether we are building with GNU ld or not.
15694with_gnu_ld=$lt_with_gnu_ld
15695
15696# Flag that allows shared libraries with undefined symbols to be built.
15697allow_undefined_flag=$lt_allow_undefined_flag
15698
15699# Flag that enforces no undefined symbols.
15700no_undefined_flag=$lt_no_undefined_flag
15701
15702# Flag to hardcode \$libdir into a binary during linking.
15703# This must work even if \$libdir does not exist
15704hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15705
15706# If ld is used when linking, flag to hardcode \$libdir into a binary
15707# during linking.  This must work even if \$libdir does not exist.
15708hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15709
15710# Whether we need a single "-rpath" flag with a separated argument.
15711hardcode_libdir_separator=$lt_hardcode_libdir_separator
15712
15713# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15714# DIR into the resulting binary.
15715hardcode_direct=$hardcode_direct
15716
15717# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15718# DIR into the resulting binary and the resulting library dependency is
15719# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15720# library is relocated.
15721hardcode_direct_absolute=$hardcode_direct_absolute
15722
15723# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15724# into the resulting binary.
15725hardcode_minus_L=$hardcode_minus_L
15726
15727# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15728# into the resulting binary.
15729hardcode_shlibpath_var=$hardcode_shlibpath_var
15730
15731# Set to "yes" if building a shared library automatically hardcodes DIR
15732# into the library and all subsequent libraries and executables linked
15733# against it.
15734hardcode_automatic=$hardcode_automatic
15735
15736# Set to yes if linker adds runtime paths of dependent libraries
15737# to runtime path list.
15738inherit_rpath=$inherit_rpath
15739
15740# Whether libtool must link a program against all its dependency libraries.
15741link_all_deplibs=$link_all_deplibs
15742
15743# Fix the shell variable \$srcfile for the compiler.
15744fix_srcfile_path=$lt_fix_srcfile_path
15745
15746# Set to "yes" if exported symbols are required.
15747always_export_symbols=$always_export_symbols
15748
15749# The commands to list exported symbols.
15750export_symbols_cmds=$lt_export_symbols_cmds
15751
15752# Symbols that should not be listed in the preloaded symbols.
15753exclude_expsyms=$lt_exclude_expsyms
15754
15755# Symbols that must always be exported.
15756include_expsyms=$lt_include_expsyms
15757
15758# Commands necessary for linking programs (against libraries) with templates.
15759prelink_cmds=$lt_prelink_cmds
15760
15761# Specify filename containing input files.
15762file_list_spec=$lt_file_list_spec
15763
15764# How to hardcode a shared library path into an executable.
15765hardcode_action=$hardcode_action
15766
15767# ### END LIBTOOL CONFIG
15768
15769_LT_EOF
15770
15771  case $host_os in
15772  aix3*)
15773    cat <<\_LT_EOF >> "$cfgfile"
15774# AIX sometimes has problems with the GCC collect2 program.  For some
15775# reason, if we set the COLLECT_NAMES environment variable, the problems
15776# vanish in a puff of smoke.
15777if test "X${COLLECT_NAMES+set}" != Xset; then
15778  COLLECT_NAMES=
15779  export COLLECT_NAMES
15780fi
15781_LT_EOF
15782    ;;
15783  esac
15784
15785
15786ltmain="$ac_aux_dir/ltmain.sh"
15787
15788
15789  # We use sed instead of cat because bash on DJGPP gets confused if
15790  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
15791  # text mode, it properly converts lines to CR/LF.  This bash problem
15792  # is reportedly fixed, but why not run on old versions too?
15793  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
15794    || (rm -f "$cfgfile"; exit 1)
15795
15796  case $xsi_shell in
15797  yes)
15798    cat << \_LT_EOF >> "$cfgfile"
15799
15800# func_dirname file append nondir_replacement
15801# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
15802# otherwise set result to NONDIR_REPLACEMENT.
15803func_dirname ()
15804{
15805  case ${1} in
15806    */*) func_dirname_result="${1%/*}${2}" ;;
15807    *  ) func_dirname_result="${3}" ;;
15808  esac
15809}
15810
15811# func_basename file
15812func_basename ()
15813{
15814  func_basename_result="${1##*/}"
15815}
15816
15817# func_dirname_and_basename file append nondir_replacement
15818# perform func_basename and func_dirname in a single function
15819# call:
15820#   dirname:  Compute the dirname of FILE.  If nonempty,
15821#             add APPEND to the result, otherwise set result
15822#             to NONDIR_REPLACEMENT.
15823#             value returned in "$func_dirname_result"
15824#   basename: Compute filename of FILE.
15825#             value retuned in "$func_basename_result"
15826# Implementation must be kept synchronized with func_dirname
15827# and func_basename. For efficiency, we do not delegate to
15828# those functions but instead duplicate the functionality here.
15829func_dirname_and_basename ()
15830{
15831  case ${1} in
15832    */*) func_dirname_result="${1%/*}${2}" ;;
15833    *  ) func_dirname_result="${3}" ;;
15834  esac
15835  func_basename_result="${1##*/}"
15836}
15837
15838# func_stripname prefix suffix name
15839# strip PREFIX and SUFFIX off of NAME.
15840# PREFIX and SUFFIX must not contain globbing or regex special
15841# characters, hashes, percent signs, but SUFFIX may contain a leading
15842# dot (in which case that matches only a dot).
15843func_stripname ()
15844{
15845  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15846  # positional parameters, so assign one to ordinary parameter first.
15847  func_stripname_result=${3}
15848  func_stripname_result=${func_stripname_result#"${1}"}
15849  func_stripname_result=${func_stripname_result%"${2}"}
15850}
15851
15852# func_opt_split
15853func_opt_split ()
15854{
15855  func_opt_split_opt=${1%%=*}
15856  func_opt_split_arg=${1#*=}
15857}
15858
15859# func_lo2o object
15860func_lo2o ()
15861{
15862  case ${1} in
15863    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
15864    *)    func_lo2o_result=${1} ;;
15865  esac
15866}
15867
15868# func_xform libobj-or-source
15869func_xform ()
15870{
15871  func_xform_result=${1%.*}.lo
15872}
15873
15874# func_arith arithmetic-term...
15875func_arith ()
15876{
15877  func_arith_result=$(( $* ))
15878}
15879
15880# func_len string
15881# STRING may not start with a hyphen.
15882func_len ()
15883{
15884  func_len_result=${#1}
15885}
15886
15887_LT_EOF
15888    ;;
15889  *) # Bourne compatible functions.
15890    cat << \_LT_EOF >> "$cfgfile"
15891
15892# func_dirname file append nondir_replacement
15893# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
15894# otherwise set result to NONDIR_REPLACEMENT.
15895func_dirname ()
15896{
15897  # Extract subdirectory from the argument.
15898  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
15899  if test "X$func_dirname_result" = "X${1}"; then
15900    func_dirname_result="${3}"
15901  else
15902    func_dirname_result="$func_dirname_result${2}"
15903  fi
15904}
15905
15906# func_basename file
15907func_basename ()
15908{
15909  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
15910}
15911
15912
15913# func_stripname prefix suffix name
15914# strip PREFIX and SUFFIX off of NAME.
15915# PREFIX and SUFFIX must not contain globbing or regex special
15916# characters, hashes, percent signs, but SUFFIX may contain a leading
15917# dot (in which case that matches only a dot).
15918# func_strip_suffix prefix name
15919func_stripname ()
15920{
15921  case ${2} in
15922    .*) func_stripname_result=`$ECHO "X${3}" \
15923           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
15924    *)  func_stripname_result=`$ECHO "X${3}" \
15925           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
15926  esac
15927}
15928
15929# sed scripts:
15930my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
15931my_sed_long_arg='1s/^-[^=]*=//'
15932
15933# func_opt_split
15934func_opt_split ()
15935{
15936  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
15937  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
15938}
15939
15940# func_lo2o object
15941func_lo2o ()
15942{
15943  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
15944}
15945
15946# func_xform libobj-or-source
15947func_xform ()
15948{
15949  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
15950}
15951
15952# func_arith arithmetic-term...
15953func_arith ()
15954{
15955  func_arith_result=`expr "$@"`
15956}
15957
15958# func_len string
15959# STRING may not start with a hyphen.
15960func_len ()
15961{
15962  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
15963}
15964
15965_LT_EOF
15966esac
15967
15968case $lt_shell_append in
15969  yes)
15970    cat << \_LT_EOF >> "$cfgfile"
15971
15972# func_append var value
15973# Append VALUE to the end of shell variable VAR.
15974func_append ()
15975{
15976  eval "$1+=\$2"
15977}
15978_LT_EOF
15979    ;;
15980  *)
15981    cat << \_LT_EOF >> "$cfgfile"
15982
15983# func_append var value
15984# Append VALUE to the end of shell variable VAR.
15985func_append ()
15986{
15987  eval "$1=\$$1\$2"
15988}
15989
15990_LT_EOF
15991    ;;
15992  esac
15993
15994
15995  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
15996    || (rm -f "$cfgfile"; exit 1)
15997
15998  mv -f "$cfgfile" "$ofile" ||
15999    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16000  chmod +x "$ofile"
16001
16002 ;;
16003    "tests/atconfig":C) cat >tests/atconfig <<ATEOF
16004# Configurable variable values for building test suites.
16005# Generated by $0.
16006# Copyright (C) 2000, 2001, 2003, 2004 Free Software Foundation, Inc.
16007
16008# The test suite will define top_srcdir=$at_top_srcdir/../.. etc.
16009at_testdir='tests'
16010abs_builddir='$ac_abs_builddir'
16011at_srcdir='$ac_srcdir'
16012abs_srcdir='$ac_abs_srcdir'
16013at_top_srcdir='$ac_top_srcdir'
16014abs_top_srcdir='$ac_abs_top_srcdir'
16015at_top_build_prefix='$ac_top_build_prefix'
16016abs_top_builddir='$ac_abs_top_builddir'
16017
16018# Backward compatibility with Autotest <= 2.59b:
16019at_top_builddir=\$at_top_build_prefix
16020
16021AUTOTEST_PATH='tests'
16022
16023SHELL=\${CONFIG_SHELL-'$SHELL'}
16024ATEOF
16025 ;;
16026
16027  esac
16028done # for ac_tag
16029
16030
16031{ (exit 0); exit 0; }
16032_ACEOF
16033chmod +x $CONFIG_STATUS
16034ac_clean_files=$ac_clean_files_save
16035
16036test $ac_write_fail = 0 ||
16037  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
16038$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
16039   { (exit 1); exit 1; }; }
16040
16041
16042# configure is writing to config.log, and then calls config.status.
16043# config.status does its own redirection, appending to config.log.
16044# Unfortunately, on DOS this fails, as config.log is still kept open
16045# by configure, so config.status won't be able to write to it; its
16046# output is simply discarded.  So we exec the FD to /dev/null,
16047# effectively closing config.log, so it can be properly (re)opened and
16048# appended to by config.status.  When coming back to configure, we
16049# need to make the FD available again.
16050if test "$no_create" != yes; then
16051  ac_cs_success=:
16052  ac_config_status_args=
16053  test "$silent" = yes &&
16054    ac_config_status_args="$ac_config_status_args --quiet"
16055  exec 5>/dev/null
16056  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
16057  exec 5>>config.log
16058  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16059  # would make configure fail if this is the last instruction.
16060  $ac_cs_success || { (exit 1); exit 1; }
16061fi
16062if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16063  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16064$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16065fi
16066
16067
16068# Display feature results
16069#
16070{ $as_echo "$as_me:$LINENO:  === Configuration results ===" >&5
16071$as_echo "$as_me:  === Configuration results ===" >&6;}
16072{ $as_echo "$as_me:$LINENO: Version:             $PACKAGE_VERSION" >&5
16073$as_echo "$as_me: Version:             $PACKAGE_VERSION" >&6;}
16074{ $as_echo "$as_me:$LINENO: C compiler:          $CC" >&5
16075$as_echo "$as_me: C compiler:          $CC" >&6;}
16076{ $as_echo "$as_me:$LINENO: Warning CFLAGS:      $WARNCFLAGS" >&5
16077$as_echo "$as_me: Warning CFLAGS:      $WARNCFLAGS" >&6;}
16078{ $as_echo "$as_me:$LINENO: =============================" >&5
16079$as_echo "$as_me: =============================" >&6;}
16080