1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.63 for trousers 0.3.14.
4#
5# Report bugs to <trousers-tech@lists.sf.net>.
6#
7# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
9# This configure script is free software; the Free Software Foundation
10# gives unlimited permission to copy, distribute and modify it.
11## --------------------- ##
12## M4sh Initialization.  ##
13## --------------------- ##
14
15# Be more Bourne compatible
16DUALCASE=1; export DUALCASE # for MKS sh
17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18  emulate sh
19  NULLCMD=:
20  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21  # is contrary to our usage.  Disable this feature.
22  alias -g '${1+"$@"}'='"$@"'
23  setopt NO_GLOB_SUBST
24else
25  case `(set -o) 2>/dev/null` in
26  *posix*) set -o posix ;;
27esac
28
29fi
30
31
32
33
34# PATH needs CR
35# Avoid depending upon Character Ranges.
36as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39as_cr_digits='0123456789'
40as_cr_alnum=$as_cr_Letters$as_cr_digits
41
42as_nl='
43'
44export as_nl
45# Printing a long string crashes Solaris 7 /usr/bin/printf.
46as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50  as_echo='printf %s\n'
51  as_echo_n='printf %s'
52else
53  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55    as_echo_n='/usr/ucb/echo -n'
56  else
57    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58    as_echo_n_body='eval
59      arg=$1;
60      case $arg in
61      *"$as_nl"*)
62	expr "X$arg" : "X\\(.*\\)$as_nl";
63	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64      esac;
65      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66    '
67    export as_echo_n_body
68    as_echo_n='sh -c $as_echo_n_body as_echo'
69  fi
70  export as_echo_body
71  as_echo='sh -c $as_echo_body as_echo'
72fi
73
74# The user is always right.
75if test "${PATH_SEPARATOR+set}" != set; then
76  PATH_SEPARATOR=:
77  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79      PATH_SEPARATOR=';'
80  }
81fi
82
83# Support unset when possible.
84if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
85  as_unset=unset
86else
87  as_unset=false
88fi
89
90
91# IFS
92# We need space, tab and new line, in precisely that order.  Quoting is
93# there to prevent editors from complaining about space-tab.
94# (If _AS_PATH_WALK were called with IFS unset, it would disable word
95# splitting by setting IFS to empty value.)
96IFS=" ""	$as_nl"
97
98# Find who we are.  Look in the path if we contain no directory separator.
99case $0 in
100  *[\\/]* ) as_myself=$0 ;;
101  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
102for as_dir in $PATH
103do
104  IFS=$as_save_IFS
105  test -z "$as_dir" && as_dir=.
106  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107done
108IFS=$as_save_IFS
109
110     ;;
111esac
112# We did not find ourselves, most probably we were run as `sh COMMAND'
113# in which case we are not to be found in the path.
114if test "x$as_myself" = x; then
115  as_myself=$0
116fi
117if test ! -f "$as_myself"; then
118  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119  { (exit 1); exit 1; }
120fi
121
122# Work around bugs in pre-3.0 UWIN ksh.
123for as_var in ENV MAIL MAILPATH
124do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
125done
126PS1='$ '
127PS2='> '
128PS4='+ '
129
130# NLS nuisances.
131LC_ALL=C
132export LC_ALL
133LANGUAGE=C
134export LANGUAGE
135
136# Required to use basename.
137if expr a : '\(a\)' >/dev/null 2>&1 &&
138   test "X`expr 00001 : '.*\(...\)'`" = X001; then
139  as_expr=expr
140else
141  as_expr=false
142fi
143
144if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
145  as_basename=basename
146else
147  as_basename=false
148fi
149
150
151# Name of the executable.
152as_me=`$as_basename -- "$0" ||
153$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154	 X"$0" : 'X\(//\)$' \| \
155	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
156$as_echo X/"$0" |
157    sed '/^.*\/\([^/][^/]*\)\/*$/{
158	    s//\1/
159	    q
160	  }
161	  /^X\/\(\/\/\)$/{
162	    s//\1/
163	    q
164	  }
165	  /^X\/\(\/\).*/{
166	    s//\1/
167	    q
168	  }
169	  s/.*/./; q'`
170
171# CDPATH.
172$as_unset CDPATH
173
174
175if test "x$CONFIG_SHELL" = x; then
176  if (eval ":") 2>/dev/null; then
177  as_have_required=yes
178else
179  as_have_required=no
180fi
181
182  if test $as_have_required = yes &&	 (eval ":
183(as_func_return () {
184  (exit \$1)
185}
186as_func_success () {
187  as_func_return 0
188}
189as_func_failure () {
190  as_func_return 1
191}
192as_func_ret_success () {
193  return 0
194}
195as_func_ret_failure () {
196  return 1
197}
198
199exitcode=0
200if as_func_success; then
201  :
202else
203  exitcode=1
204  echo as_func_success failed.
205fi
206
207if as_func_failure; then
208  exitcode=1
209  echo as_func_failure succeeded.
210fi
211
212if as_func_ret_success; then
213  :
214else
215  exitcode=1
216  echo as_func_ret_success failed.
217fi
218
219if as_func_ret_failure; then
220  exitcode=1
221  echo as_func_ret_failure succeeded.
222fi
223
224if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
225  :
226else
227  exitcode=1
228  echo positional parameters were not saved.
229fi
230
231test \$exitcode = 0) || { (exit 1); exit 1; }
232
233(
234  as_lineno_1=\$LINENO
235  as_lineno_2=\$LINENO
236  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
237  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
238") 2> /dev/null; then
239  :
240else
241  as_candidate_shells=
242    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
243for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
244do
245  IFS=$as_save_IFS
246  test -z "$as_dir" && as_dir=.
247  case $as_dir in
248	 /*)
249	   for as_base in sh bash ksh sh5; do
250	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
251	   done;;
252       esac
253done
254IFS=$as_save_IFS
255
256
257      for as_shell in $as_candidate_shells $SHELL; do
258	 # Try only shells that exist, to save several forks.
259	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
260		{ ("$as_shell") 2> /dev/null <<\_ASEOF
261if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262  emulate sh
263  NULLCMD=:
264  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
265  # is contrary to our usage.  Disable this feature.
266  alias -g '${1+"$@"}'='"$@"'
267  setopt NO_GLOB_SUBST
268else
269  case `(set -o) 2>/dev/null` in
270  *posix*) set -o posix ;;
271esac
272
273fi
274
275
276:
277_ASEOF
278}; then
279  CONFIG_SHELL=$as_shell
280	       as_have_required=yes
281	       if { "$as_shell" 2> /dev/null <<\_ASEOF
282if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
283  emulate sh
284  NULLCMD=:
285  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
286  # is contrary to our usage.  Disable this feature.
287  alias -g '${1+"$@"}'='"$@"'
288  setopt NO_GLOB_SUBST
289else
290  case `(set -o) 2>/dev/null` in
291  *posix*) set -o posix ;;
292esac
293
294fi
295
296
297:
298(as_func_return () {
299  (exit $1)
300}
301as_func_success () {
302  as_func_return 0
303}
304as_func_failure () {
305  as_func_return 1
306}
307as_func_ret_success () {
308  return 0
309}
310as_func_ret_failure () {
311  return 1
312}
313
314exitcode=0
315if as_func_success; then
316  :
317else
318  exitcode=1
319  echo as_func_success failed.
320fi
321
322if as_func_failure; then
323  exitcode=1
324  echo as_func_failure succeeded.
325fi
326
327if as_func_ret_success; then
328  :
329else
330  exitcode=1
331  echo as_func_ret_success failed.
332fi
333
334if as_func_ret_failure; then
335  exitcode=1
336  echo as_func_ret_failure succeeded.
337fi
338
339if ( set x; as_func_ret_success y && test x = "$1" ); then
340  :
341else
342  exitcode=1
343  echo positional parameters were not saved.
344fi
345
346test $exitcode = 0) || { (exit 1); exit 1; }
347
348(
349  as_lineno_1=$LINENO
350  as_lineno_2=$LINENO
351  test "x$as_lineno_1" != "x$as_lineno_2" &&
352  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
353
354_ASEOF
355}; then
356  break
357fi
358
359fi
360
361      done
362
363      if test "x$CONFIG_SHELL" != x; then
364  for as_var in BASH_ENV ENV
365	do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
366	done
367	export CONFIG_SHELL
368	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
369fi
370
371
372    if test $as_have_required = no; then
373  echo This script requires a shell more modern than all the
374      echo shells that I found on your system.  Please install a
375      echo modern shell, or manually run the script under such a
376      echo shell if you do have one.
377      { (exit 1); exit 1; }
378fi
379
380
381fi
382
383fi
384
385
386
387(eval "as_func_return () {
388  (exit \$1)
389}
390as_func_success () {
391  as_func_return 0
392}
393as_func_failure () {
394  as_func_return 1
395}
396as_func_ret_success () {
397  return 0
398}
399as_func_ret_failure () {
400  return 1
401}
402
403exitcode=0
404if as_func_success; then
405  :
406else
407  exitcode=1
408  echo as_func_success failed.
409fi
410
411if as_func_failure; then
412  exitcode=1
413  echo as_func_failure succeeded.
414fi
415
416if as_func_ret_success; then
417  :
418else
419  exitcode=1
420  echo as_func_ret_success failed.
421fi
422
423if as_func_ret_failure; then
424  exitcode=1
425  echo as_func_ret_failure succeeded.
426fi
427
428if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
429  :
430else
431  exitcode=1
432  echo positional parameters were not saved.
433fi
434
435test \$exitcode = 0") || {
436  echo No shell found that supports shell functions.
437  echo Please tell bug-autoconf@gnu.org about your system,
438  echo including any error possibly output before this message.
439  echo This can help us improve future autoconf versions.
440  echo Configuration will now proceed without shell functions.
441}
442
443
444
445  as_lineno_1=$LINENO
446  as_lineno_2=$LINENO
447  test "x$as_lineno_1" != "x$as_lineno_2" &&
448  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
449
450  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
451  # uniformly replaced by the line number.  The first 'sed' inserts a
452  # line-number line after each line using $LINENO; the second 'sed'
453  # does the real work.  The second script uses 'N' to pair each
454  # line-number line with the line containing $LINENO, and appends
455  # trailing '-' during substitution so that $LINENO is not a special
456  # case at line end.
457  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
458  # scripts with optimization help from Paolo Bonzini.  Blame Lee
459  # E. McMahon (1931-1989) for sed's syntax.  :-)
460  sed -n '
461    p
462    /[$]LINENO/=
463  ' <$as_myself |
464    sed '
465      s/[$]LINENO.*/&-/
466      t lineno
467      b
468      :lineno
469      N
470      :loop
471      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
472      t loop
473      s/-\n.*//
474    ' >$as_me.lineno &&
475  chmod +x "$as_me.lineno" ||
476    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
477   { (exit 1); exit 1; }; }
478
479  # Don't try to exec as it changes $[0], causing all sort of problems
480  # (the dirname of $[0] is not the place where we might find the
481  # original and so on.  Autoconf is especially sensitive to this).
482  . "./$as_me.lineno"
483  # Exit status is that of the last command.
484  exit
485}
486
487
488if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
489  as_dirname=dirname
490else
491  as_dirname=false
492fi
493
494ECHO_C= ECHO_N= ECHO_T=
495case `echo -n x` in
496-n*)
497  case `echo 'x\c'` in
498  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
499  *)   ECHO_C='\c';;
500  esac;;
501*)
502  ECHO_N='-n';;
503esac
504if expr a : '\(a\)' >/dev/null 2>&1 &&
505   test "X`expr 00001 : '.*\(...\)'`" = X001; then
506  as_expr=expr
507else
508  as_expr=false
509fi
510
511rm -f conf$$ conf$$.exe conf$$.file
512if test -d conf$$.dir; then
513  rm -f conf$$.dir/conf$$.file
514else
515  rm -f conf$$.dir
516  mkdir conf$$.dir 2>/dev/null
517fi
518if (echo >conf$$.file) 2>/dev/null; then
519  if ln -s conf$$.file conf$$ 2>/dev/null; then
520    as_ln_s='ln -s'
521    # ... but there are two gotchas:
522    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
523    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
524    # In both cases, we have to default to `cp -p'.
525    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
526      as_ln_s='cp -p'
527  elif ln conf$$.file conf$$ 2>/dev/null; then
528    as_ln_s=ln
529  else
530    as_ln_s='cp -p'
531  fi
532else
533  as_ln_s='cp -p'
534fi
535rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
536rmdir conf$$.dir 2>/dev/null
537
538if mkdir -p . 2>/dev/null; then
539  as_mkdir_p=:
540else
541  test -d ./-p && rmdir ./-p
542  as_mkdir_p=false
543fi
544
545if test -x / >/dev/null 2>&1; then
546  as_test_x='test -x'
547else
548  if ls -dL / >/dev/null 2>&1; then
549    as_ls_L_option=L
550  else
551    as_ls_L_option=
552  fi
553  as_test_x='
554    eval sh -c '\''
555      if test -d "$1"; then
556	test -d "$1/.";
557      else
558	case $1 in
559	-*)set "./$1";;
560	esac;
561	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
562	???[sx]*):;;*)false;;esac;fi
563    '\'' sh
564  '
565fi
566as_executable_p=$as_test_x
567
568# Sed expression to map a string onto a valid CPP name.
569as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
570
571# Sed expression to map a string onto a valid variable name.
572as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
573
574
575
576
577# Check that we are running under the correct shell.
578SHELL=${CONFIG_SHELL-/bin/sh}
579
580case X$lt_ECHO in
581X*--fallback-echo)
582  # Remove one level of quotation (which was required for Make).
583  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
584  ;;
585esac
586
587ECHO=${lt_ECHO-echo}
588if test "X$1" = X--no-reexec; then
589  # Discard the --no-reexec flag, and continue.
590  shift
591elif test "X$1" = X--fallback-echo; then
592  # Avoid inline document here, it may be left over
593  :
594elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
595  # Yippee, $ECHO works!
596  :
597else
598  # Restart under the correct shell.
599  exec $SHELL "$0" --no-reexec ${1+"$@"}
600fi
601
602if test "X$1" = X--fallback-echo; then
603  # used as fallback echo
604  shift
605  cat <<_LT_EOF
606$*
607_LT_EOF
608  exit 0
609fi
610
611# The HP-UX ksh and POSIX shell print the target directory to stdout
612# if CDPATH is set.
613(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
614
615if test -z "$lt_ECHO"; then
616  if test "X${echo_test_string+set}" != Xset; then
617    # find a string as large as possible, as long as the shell can cope with it
618    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
619      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
620      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
621	 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
622      then
623        break
624      fi
625    done
626  fi
627
628  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
629     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
630     test "X$echo_testing_string" = "X$echo_test_string"; then
631    :
632  else
633    # The Solaris, AIX, and Digital Unix default echo programs unquote
634    # backslashes.  This makes it impossible to quote backslashes using
635    #   echo "$something" | sed 's/\\/\\\\/g'
636    #
637    # So, first we look for a working echo in the user's PATH.
638
639    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
640    for dir in $PATH /usr/ucb; do
641      IFS="$lt_save_ifs"
642      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
643         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
644         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
645         test "X$echo_testing_string" = "X$echo_test_string"; then
646        ECHO="$dir/echo"
647        break
648      fi
649    done
650    IFS="$lt_save_ifs"
651
652    if test "X$ECHO" = Xecho; then
653      # We didn't find a better echo, so look for alternatives.
654      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
655         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
656         test "X$echo_testing_string" = "X$echo_test_string"; then
657        # This shell has a builtin print -r that does the trick.
658        ECHO='print -r'
659      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
660	   test "X$CONFIG_SHELL" != X/bin/ksh; then
661        # If we have ksh, try running configure again with it.
662        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
663        export ORIGINAL_CONFIG_SHELL
664        CONFIG_SHELL=/bin/ksh
665        export CONFIG_SHELL
666        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
667      else
668        # Try using printf.
669        ECHO='printf %s\n'
670        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
671	   echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
672	   test "X$echo_testing_string" = "X$echo_test_string"; then
673	  # Cool, printf works
674	  :
675        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
676	     test "X$echo_testing_string" = 'X\t' &&
677	     echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
678	     test "X$echo_testing_string" = "X$echo_test_string"; then
679	  CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
680	  export CONFIG_SHELL
681	  SHELL="$CONFIG_SHELL"
682	  export SHELL
683	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
684        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
685	     test "X$echo_testing_string" = 'X\t' &&
686	     echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
687	     test "X$echo_testing_string" = "X$echo_test_string"; then
688	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
689        else
690	  # maybe with a smaller string...
691	  prev=:
692
693	  for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
694	    if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
695	    then
696	      break
697	    fi
698	    prev="$cmd"
699	  done
700
701	  if test "$prev" != 'sed 50q "$0"'; then
702	    echo_test_string=`eval $prev`
703	    export echo_test_string
704	    exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
705	  else
706	    # Oops.  We lost completely, so just stick with echo.
707	    ECHO=echo
708	  fi
709        fi
710      fi
711    fi
712  fi
713fi
714
715# Copy echo and quote the copy suitably for passing to libtool from
716# the Makefile, instead of quoting the original, which is used later.
717lt_ECHO=$ECHO
718if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
719   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
720fi
721
722
723
724
725exec 7<&0 </dev/null 6>&1
726
727# Name of the host.
728# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
729# so uname gets run too.
730ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
731
732#
733# Initializations.
734#
735ac_default_prefix=/usr/local
736ac_clean_files=
737ac_config_libobj_dir=.
738LIBOBJS=
739cross_compiling=no
740subdirs=
741MFLAGS=
742MAKEFLAGS=
743SHELL=${CONFIG_SHELL-/bin/sh}
744
745# Identity of this package.
746PACKAGE_NAME='trousers'
747PACKAGE_TARNAME='trousers'
748PACKAGE_VERSION='0.3.14'
749PACKAGE_STRING='trousers 0.3.14'
750PACKAGE_BUGREPORT='trousers-tech@lists.sf.net'
751
752# Factoring default headers for most tests.
753ac_includes_default="\
754#include <stdio.h>
755#ifdef HAVE_SYS_TYPES_H
756# include <sys/types.h>
757#endif
758#ifdef HAVE_SYS_STAT_H
759# include <sys/stat.h>
760#endif
761#ifdef STDC_HEADERS
762# include <stdlib.h>
763# include <stddef.h>
764#else
765# ifdef HAVE_STDLIB_H
766#  include <stdlib.h>
767# endif
768#endif
769#ifdef HAVE_STRING_H
770# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
771#  include <memory.h>
772# endif
773# include <string.h>
774#endif
775#ifdef HAVE_STRINGS_H
776# include <strings.h>
777#endif
778#ifdef HAVE_INTTYPES_H
779# include <inttypes.h>
780#endif
781#ifdef HAVE_STDINT_H
782# include <stdint.h>
783#endif
784#ifdef HAVE_UNISTD_H
785# include <unistd.h>
786#endif"
787
788ac_subst_vars='am__EXEEXT_FALSE
789am__EXEEXT_TRUE
790LTLIBOBJS
791LIBOBJS
792OTOOL64
793OTOOL
794LIPO
795NMEDIT
796DSYMUTIL
797lt_ECHO
798RANLIB
799AR
800OBJDUMP
801LN_S
802NM
803ac_ct_DUMPBIN
804DUMPBIN
805LD
806FGREP
807SED
808LIBTOOL
809TSS_BUILD_SYM_CRYPTO_FALSE
810TSS_BUILD_SYM_CRYPTO_TRUE
811TSS_BUILD_ASYM_CRYPTO_FALSE
812TSS_BUILD_ASYM_CRYPTO_TRUE
813TSS_BUILD_AUTH_FALSE
814TSS_BUILD_AUTH_TRUE
815TSS_BUILD_RSAKEY_LIST_FALSE
816TSS_BUILD_RSAKEY_LIST_TRUE
817TSS_BUILD_ENCDATA_LIST_FALSE
818TSS_BUILD_ENCDATA_LIST_TRUE
819TSS_BUILD_HASH_LIST_FALSE
820TSS_BUILD_HASH_LIST_TRUE
821TSS_BUILD_PCRS_LIST_FALSE
822TSS_BUILD_PCRS_LIST_TRUE
823TSS_BUILD_GET_FLAGS_FALSE
824TSS_BUILD_GET_FLAGS_TRUE
825TSS_BUILD_NV_SUPPORT_FALSE
826TSS_BUILD_NV_SUPPORT_TRUE
827TSS_BUILD_NV_LIST_FALSE
828TSS_BUILD_NV_LIST_TRUE
829TSS_BUILD_CMK_FALSE
830TSS_BUILD_CMK_TRUE
831TSS_BUILD_QUOTE2_FALSE
832TSS_BUILD_QUOTE2_TRUE
833TSS_BUILD_DELEGATION_FALSE
834TSS_BUILD_DELEGATION_TRUE
835TSS_BUILD_SEALX_FALSE
836TSS_BUILD_SEALX_TRUE
837TSS_BUILD_AUDIT_FALSE
838TSS_BUILD_AUDIT_TRUE
839TSS_BUILD_NV_FALSE
840TSS_BUILD_NV_TRUE
841TSS_BUILD_ASN1_FALSE
842TSS_BUILD_ASN1_TRUE
843TSS_BUILD_TRANSPORT_FALSE
844TSS_BUILD_TRANSPORT_TRUE
845TSS_BUILD_TICK_FALSE
846TSS_BUILD_TICK_TRUE
847TSS_BUILD_COUNTER_FALSE
848TSS_BUILD_COUNTER_TRUE
849TSS_BUILD_PCR_COMP12_FALSE
850TSS_BUILD_PCR_COMP12_TRUE
851TSS_BUILD_DAA_FALSE
852TSS_BUILD_DAA_TRUE
853TSS_BUILD_TSS12_FALSE
854TSS_BUILD_TSS12_TRUE
855TSS_BUILD_SELFTEST_FALSE
856TSS_BUILD_SELFTEST_TRUE
857TSS_BUILD_PCR_EXTEND_FALSE
858TSS_BUILD_PCR_EXTEND_TRUE
859TSS_BUILD_KEY_FALSE
860TSS_BUILD_KEY_TRUE
861TSS_BUILD_MIGRATION_FALSE
862TSS_BUILD_MIGRATION_TRUE
863TSS_BUILD_MAINT_FALSE
864TSS_BUILD_MAINT_TRUE
865TSS_BUILD_CERTIFY_FALSE
866TSS_BUILD_CERTIFY_TRUE
867TSS_BUILD_AIK_FALSE
868TSS_BUILD_AIK_TRUE
869TSS_BUILD_ADMIN_FALSE
870TSS_BUILD_ADMIN_TRUE
871TSS_BUILD_PS_FALSE
872TSS_BUILD_PS_TRUE
873TSS_BUILD_EK_FALSE
874TSS_BUILD_EK_TRUE
875TSS_BUILD_OWN_FALSE
876TSS_BUILD_OWN_TRUE
877TSS_BUILD_BIND_FALSE
878TSS_BUILD_BIND_TRUE
879TSS_BUILD_CHANGEAUTH_FALSE
880TSS_BUILD_CHANGEAUTH_TRUE
881TSS_BUILD_SEAL_FALSE
882TSS_BUILD_SEAL_TRUE
883TSS_BUILD_PCR_COMP_FALSE
884TSS_BUILD_PCR_COMP_TRUE
885TSS_BUILD_QUOTE_FALSE
886TSS_BUILD_QUOTE_TRUE
887TSS_BUILD_SIGN_FALSE
888TSS_BUILD_SIGN_TRUE
889TSS_BUILD_PCR_EVENTS_FALSE
890TSS_BUILD_PCR_EVENTS_TRUE
891TSS_BUILD_DIR_FALSE
892TSS_BUILD_DIR_TRUE
893TSS_BUILD_POLICY_FALSE
894TSS_BUILD_POLICY_TRUE
895TSS_BUILD_CAPS_TPM_FALSE
896TSS_BUILD_CAPS_TPM_TRUE
897TSS_BUILD_CAPS_FALSE
898TSS_BUILD_CAPS_TRUE
899TSS_BUILD_RANDOM_FALSE
900TSS_BUILD_RANDOM_TRUE
901TSS_BUILD_GETSET_FALSE
902TSS_BUILD_GETSET_TRUE
903TSS_BUILD_HASH_FALSE
904TSS_BUILD_HASH_TRUE
905RPC
906TCSD_DEFAULT_PORT
907OPENSSL_UI_FALSE
908OPENSSL_UI_TRUE
909GTK_LIBS
910GTK_CFLAGS
911PKG_CONFIG
912HAVE_GTK_FALSE
913HAVE_GTK_TRUE
914EGREP
915GREP
916CPP
917NOUSERCHECK_FALSE
918NOUSERCHECK_TRUE
919CRYPTOLIB
920CRYPTO_PACKAGE
921am__fastdepCC_FALSE
922am__fastdepCC_TRUE
923CCDEPMODE
924AMDEPBACKSLASH
925AMDEP_FALSE
926AMDEP_TRUE
927am__quote
928am__include
929DEPDIR
930OBJEXT
931EXEEXT
932ac_ct_CC
933CPPFLAGS
934LDFLAGS
935CFLAGS
936CC
937OPENSSL_LIB_DIR
938TCSD_LDFLAGS
939am__untar
940am__tar
941AMTAR
942am__leading_dot
943SET_MAKE
944AWK
945mkdir_p
946MKDIR_P
947INSTALL_STRIP_PROGRAM
948STRIP
949install_sh
950MAKEINFO
951AUTOHEADER
952AUTOMAKE
953AUTOCONF
954ACLOCAL
955VERSION
956PACKAGE
957CYGPATH_W
958am__isrc
959INSTALL_DATA
960INSTALL_SCRIPT
961INSTALL_PROGRAM
962target_os
963target_vendor
964target_cpu
965target
966host_os
967host_vendor
968host_cpu
969host
970build_os
971build_vendor
972build_cpu
973build
974target_alias
975host_alias
976build_alias
977LIBS
978ECHO_T
979ECHO_N
980ECHO_C
981DEFS
982mandir
983localedir
984libdir
985psdir
986pdfdir
987dvidir
988htmldir
989infodir
990docdir
991oldincludedir
992includedir
993localstatedir
994sharedstatedir
995sysconfdir
996datadir
997datarootdir
998libexecdir
999sbindir
1000bindir
1001program_transform_name
1002prefix
1003exec_prefix
1004PACKAGE_BUGREPORT
1005PACKAGE_STRING
1006PACKAGE_VERSION
1007PACKAGE_TARNAME
1008PACKAGE_NAME
1009PATH_SEPARATOR
1010SHELL'
1011ac_subst_files=''
1012ac_user_opts='
1013enable_option_checking
1014enable_debug
1015with_openssl
1016enable_dependency_tracking
1017enable_gcov
1018enable_gprof
1019enable_strict_spec_compliance
1020enable_usercheck
1021with_gmp
1022with_gui
1023with_api
1024enable_static
1025enable_shared
1026with_pic
1027enable_fast_install
1028with_gnu_ld
1029enable_libtool_lock
1030'
1031      ac_precious_vars='build_alias
1032host_alias
1033target_alias
1034CC
1035CFLAGS
1036LDFLAGS
1037LIBS
1038CPPFLAGS
1039CPP
1040PKG_CONFIG
1041GTK_CFLAGS
1042GTK_LIBS'
1043
1044
1045# Initialize some variables set by options.
1046ac_init_help=
1047ac_init_version=false
1048ac_unrecognized_opts=
1049ac_unrecognized_sep=
1050# The variables have the same names as the options, with
1051# dashes changed to underlines.
1052cache_file=/dev/null
1053exec_prefix=NONE
1054no_create=
1055no_recursion=
1056prefix=NONE
1057program_prefix=NONE
1058program_suffix=NONE
1059program_transform_name=s,x,x,
1060silent=
1061site=
1062srcdir=
1063verbose=
1064x_includes=NONE
1065x_libraries=NONE
1066
1067# Installation directory options.
1068# These are left unexpanded so users can "make install exec_prefix=/foo"
1069# and all the variables that are supposed to be based on exec_prefix
1070# by default will actually change.
1071# Use braces instead of parens because sh, perl, etc. also accept them.
1072# (The list follows the same order as the GNU Coding Standards.)
1073bindir='${exec_prefix}/bin'
1074sbindir='${exec_prefix}/sbin'
1075libexecdir='${exec_prefix}/libexec'
1076datarootdir='${prefix}/share'
1077datadir='${datarootdir}'
1078sysconfdir='${prefix}/etc'
1079sharedstatedir='${prefix}/com'
1080localstatedir='${prefix}/var'
1081includedir='${prefix}/include'
1082oldincludedir='/usr/include'
1083docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1084infodir='${datarootdir}/info'
1085htmldir='${docdir}'
1086dvidir='${docdir}'
1087pdfdir='${docdir}'
1088psdir='${docdir}'
1089libdir='${exec_prefix}/lib'
1090localedir='${datarootdir}/locale'
1091mandir='${datarootdir}/man'
1092
1093ac_prev=
1094ac_dashdash=
1095for ac_option
1096do
1097  # If the previous option needs an argument, assign it.
1098  if test -n "$ac_prev"; then
1099    eval $ac_prev=\$ac_option
1100    ac_prev=
1101    continue
1102  fi
1103
1104  case $ac_option in
1105  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1106  *)	ac_optarg=yes ;;
1107  esac
1108
1109  # Accept the important Cygnus configure options, so we can diagnose typos.
1110
1111  case $ac_dashdash$ac_option in
1112  --)
1113    ac_dashdash=yes ;;
1114
1115  -bindir | --bindir | --bindi | --bind | --bin | --bi)
1116    ac_prev=bindir ;;
1117  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1118    bindir=$ac_optarg ;;
1119
1120  -build | --build | --buil | --bui | --bu)
1121    ac_prev=build_alias ;;
1122  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1123    build_alias=$ac_optarg ;;
1124
1125  -cache-file | --cache-file | --cache-fil | --cache-fi \
1126  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1127    ac_prev=cache_file ;;
1128  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1129  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1130    cache_file=$ac_optarg ;;
1131
1132  --config-cache | -C)
1133    cache_file=config.cache ;;
1134
1135  -datadir | --datadir | --datadi | --datad)
1136    ac_prev=datadir ;;
1137  -datadir=* | --datadir=* | --datadi=* | --datad=*)
1138    datadir=$ac_optarg ;;
1139
1140  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1141  | --dataroo | --dataro | --datar)
1142    ac_prev=datarootdir ;;
1143  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1144  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1145    datarootdir=$ac_optarg ;;
1146
1147  -disable-* | --disable-*)
1148    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1149    # Reject names that are not valid shell variable names.
1150    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1151      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1152   { (exit 1); exit 1; }; }
1153    ac_useropt_orig=$ac_useropt
1154    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1155    case $ac_user_opts in
1156      *"
1157"enable_$ac_useropt"
1158"*) ;;
1159      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1160	 ac_unrecognized_sep=', ';;
1161    esac
1162    eval enable_$ac_useropt=no ;;
1163
1164  -docdir | --docdir | --docdi | --doc | --do)
1165    ac_prev=docdir ;;
1166  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1167    docdir=$ac_optarg ;;
1168
1169  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1170    ac_prev=dvidir ;;
1171  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1172    dvidir=$ac_optarg ;;
1173
1174  -enable-* | --enable-*)
1175    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1176    # Reject names that are not valid shell variable names.
1177    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1178      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1179   { (exit 1); exit 1; }; }
1180    ac_useropt_orig=$ac_useropt
1181    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1182    case $ac_user_opts in
1183      *"
1184"enable_$ac_useropt"
1185"*) ;;
1186      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1187	 ac_unrecognized_sep=', ';;
1188    esac
1189    eval enable_$ac_useropt=\$ac_optarg ;;
1190
1191  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1192  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1193  | --exec | --exe | --ex)
1194    ac_prev=exec_prefix ;;
1195  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1196  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1197  | --exec=* | --exe=* | --ex=*)
1198    exec_prefix=$ac_optarg ;;
1199
1200  -gas | --gas | --ga | --g)
1201    # Obsolete; use --with-gas.
1202    with_gas=yes ;;
1203
1204  -help | --help | --hel | --he | -h)
1205    ac_init_help=long ;;
1206  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1207    ac_init_help=recursive ;;
1208  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1209    ac_init_help=short ;;
1210
1211  -host | --host | --hos | --ho)
1212    ac_prev=host_alias ;;
1213  -host=* | --host=* | --hos=* | --ho=*)
1214    host_alias=$ac_optarg ;;
1215
1216  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1217    ac_prev=htmldir ;;
1218  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1219  | --ht=*)
1220    htmldir=$ac_optarg ;;
1221
1222  -includedir | --includedir | --includedi | --included | --include \
1223  | --includ | --inclu | --incl | --inc)
1224    ac_prev=includedir ;;
1225  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1226  | --includ=* | --inclu=* | --incl=* | --inc=*)
1227    includedir=$ac_optarg ;;
1228
1229  -infodir | --infodir | --infodi | --infod | --info | --inf)
1230    ac_prev=infodir ;;
1231  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1232    infodir=$ac_optarg ;;
1233
1234  -libdir | --libdir | --libdi | --libd)
1235    ac_prev=libdir ;;
1236  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1237    libdir=$ac_optarg ;;
1238
1239  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1240  | --libexe | --libex | --libe)
1241    ac_prev=libexecdir ;;
1242  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1243  | --libexe=* | --libex=* | --libe=*)
1244    libexecdir=$ac_optarg ;;
1245
1246  -localedir | --localedir | --localedi | --localed | --locale)
1247    ac_prev=localedir ;;
1248  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1249    localedir=$ac_optarg ;;
1250
1251  -localstatedir | --localstatedir | --localstatedi | --localstated \
1252  | --localstate | --localstat | --localsta | --localst | --locals)
1253    ac_prev=localstatedir ;;
1254  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1255  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1256    localstatedir=$ac_optarg ;;
1257
1258  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1259    ac_prev=mandir ;;
1260  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1261    mandir=$ac_optarg ;;
1262
1263  -nfp | --nfp | --nf)
1264    # Obsolete; use --without-fp.
1265    with_fp=no ;;
1266
1267  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1268  | --no-cr | --no-c | -n)
1269    no_create=yes ;;
1270
1271  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1272  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1273    no_recursion=yes ;;
1274
1275  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1276  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1277  | --oldin | --oldi | --old | --ol | --o)
1278    ac_prev=oldincludedir ;;
1279  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1280  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1281  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1282    oldincludedir=$ac_optarg ;;
1283
1284  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1285    ac_prev=prefix ;;
1286  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1287    prefix=$ac_optarg ;;
1288
1289  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1290  | --program-pre | --program-pr | --program-p)
1291    ac_prev=program_prefix ;;
1292  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1293  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1294    program_prefix=$ac_optarg ;;
1295
1296  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1297  | --program-suf | --program-su | --program-s)
1298    ac_prev=program_suffix ;;
1299  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1300  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1301    program_suffix=$ac_optarg ;;
1302
1303  -program-transform-name | --program-transform-name \
1304  | --program-transform-nam | --program-transform-na \
1305  | --program-transform-n | --program-transform- \
1306  | --program-transform | --program-transfor \
1307  | --program-transfo | --program-transf \
1308  | --program-trans | --program-tran \
1309  | --progr-tra | --program-tr | --program-t)
1310    ac_prev=program_transform_name ;;
1311  -program-transform-name=* | --program-transform-name=* \
1312  | --program-transform-nam=* | --program-transform-na=* \
1313  | --program-transform-n=* | --program-transform-=* \
1314  | --program-transform=* | --program-transfor=* \
1315  | --program-transfo=* | --program-transf=* \
1316  | --program-trans=* | --program-tran=* \
1317  | --progr-tra=* | --program-tr=* | --program-t=*)
1318    program_transform_name=$ac_optarg ;;
1319
1320  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1321    ac_prev=pdfdir ;;
1322  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1323    pdfdir=$ac_optarg ;;
1324
1325  -psdir | --psdir | --psdi | --psd | --ps)
1326    ac_prev=psdir ;;
1327  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1328    psdir=$ac_optarg ;;
1329
1330  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1331  | -silent | --silent | --silen | --sile | --sil)
1332    silent=yes ;;
1333
1334  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1335    ac_prev=sbindir ;;
1336  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1337  | --sbi=* | --sb=*)
1338    sbindir=$ac_optarg ;;
1339
1340  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1341  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1342  | --sharedst | --shareds | --shared | --share | --shar \
1343  | --sha | --sh)
1344    ac_prev=sharedstatedir ;;
1345  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1346  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1347  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1348  | --sha=* | --sh=*)
1349    sharedstatedir=$ac_optarg ;;
1350
1351  -site | --site | --sit)
1352    ac_prev=site ;;
1353  -site=* | --site=* | --sit=*)
1354    site=$ac_optarg ;;
1355
1356  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1357    ac_prev=srcdir ;;
1358  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1359    srcdir=$ac_optarg ;;
1360
1361  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1362  | --syscon | --sysco | --sysc | --sys | --sy)
1363    ac_prev=sysconfdir ;;
1364  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1365  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1366    sysconfdir=$ac_optarg ;;
1367
1368  -target | --target | --targe | --targ | --tar | --ta | --t)
1369    ac_prev=target_alias ;;
1370  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1371    target_alias=$ac_optarg ;;
1372
1373  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1374    verbose=yes ;;
1375
1376  -version | --version | --versio | --versi | --vers | -V)
1377    ac_init_version=: ;;
1378
1379  -with-* | --with-*)
1380    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1381    # Reject names that are not valid shell variable names.
1382    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1383      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1384   { (exit 1); exit 1; }; }
1385    ac_useropt_orig=$ac_useropt
1386    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1387    case $ac_user_opts in
1388      *"
1389"with_$ac_useropt"
1390"*) ;;
1391      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1392	 ac_unrecognized_sep=', ';;
1393    esac
1394    eval with_$ac_useropt=\$ac_optarg ;;
1395
1396  -without-* | --without-*)
1397    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1398    # Reject names that are not valid shell variable names.
1399    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1400      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1401   { (exit 1); exit 1; }; }
1402    ac_useropt_orig=$ac_useropt
1403    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1404    case $ac_user_opts in
1405      *"
1406"with_$ac_useropt"
1407"*) ;;
1408      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1409	 ac_unrecognized_sep=', ';;
1410    esac
1411    eval with_$ac_useropt=no ;;
1412
1413  --x)
1414    # Obsolete; use --with-x.
1415    with_x=yes ;;
1416
1417  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1418  | --x-incl | --x-inc | --x-in | --x-i)
1419    ac_prev=x_includes ;;
1420  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1421  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1422    x_includes=$ac_optarg ;;
1423
1424  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1425  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1426    ac_prev=x_libraries ;;
1427  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1428  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1429    x_libraries=$ac_optarg ;;
1430
1431  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1432Try \`$0 --help' for more information." >&2
1433   { (exit 1); exit 1; }; }
1434    ;;
1435
1436  *=*)
1437    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1438    # Reject names that are not valid shell variable names.
1439    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1440      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1441   { (exit 1); exit 1; }; }
1442    eval $ac_envvar=\$ac_optarg
1443    export $ac_envvar ;;
1444
1445  *)
1446    # FIXME: should be removed in autoconf 3.0.
1447    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1448    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1449      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1450    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1451    ;;
1452
1453  esac
1454done
1455
1456if test -n "$ac_prev"; then
1457  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1458  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1459   { (exit 1); exit 1; }; }
1460fi
1461
1462if test -n "$ac_unrecognized_opts"; then
1463  case $enable_option_checking in
1464    no) ;;
1465    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1466   { (exit 1); exit 1; }; } ;;
1467    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1468  esac
1469fi
1470
1471# Check all directory arguments for consistency.
1472for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1473		datadir sysconfdir sharedstatedir localstatedir includedir \
1474		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1475		libdir localedir mandir
1476do
1477  eval ac_val=\$$ac_var
1478  # Remove trailing slashes.
1479  case $ac_val in
1480    */ )
1481      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1482      eval $ac_var=\$ac_val;;
1483  esac
1484  # Be sure to have absolute directory names.
1485  case $ac_val in
1486    [\\/$]* | ?:[\\/]* )  continue;;
1487    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1488  esac
1489  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1490   { (exit 1); exit 1; }; }
1491done
1492
1493# There might be people who depend on the old broken behavior: `$host'
1494# used to hold the argument of --host etc.
1495# FIXME: To remove some day.
1496build=$build_alias
1497host=$host_alias
1498target=$target_alias
1499
1500# FIXME: To remove some day.
1501if test "x$host_alias" != x; then
1502  if test "x$build_alias" = x; then
1503    cross_compiling=maybe
1504    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1505    If a cross compiler is detected then cross compile mode will be used." >&2
1506  elif test "x$build_alias" != "x$host_alias"; then
1507    cross_compiling=yes
1508  fi
1509fi
1510
1511ac_tool_prefix=
1512test -n "$host_alias" && ac_tool_prefix=$host_alias-
1513
1514test "$silent" = yes && exec 6>/dev/null
1515
1516
1517ac_pwd=`pwd` && test -n "$ac_pwd" &&
1518ac_ls_di=`ls -di .` &&
1519ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1520  { $as_echo "$as_me: error: working directory cannot be determined" >&2
1521   { (exit 1); exit 1; }; }
1522test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1523  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1524   { (exit 1); exit 1; }; }
1525
1526
1527# Find the source files, if location was not specified.
1528if test -z "$srcdir"; then
1529  ac_srcdir_defaulted=yes
1530  # Try the directory containing this script, then the parent directory.
1531  ac_confdir=`$as_dirname -- "$as_myself" ||
1532$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1533	 X"$as_myself" : 'X\(//\)[^/]' \| \
1534	 X"$as_myself" : 'X\(//\)$' \| \
1535	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1536$as_echo X"$as_myself" |
1537    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1538	    s//\1/
1539	    q
1540	  }
1541	  /^X\(\/\/\)[^/].*/{
1542	    s//\1/
1543	    q
1544	  }
1545	  /^X\(\/\/\)$/{
1546	    s//\1/
1547	    q
1548	  }
1549	  /^X\(\/\).*/{
1550	    s//\1/
1551	    q
1552	  }
1553	  s/.*/./; q'`
1554  srcdir=$ac_confdir
1555  if test ! -r "$srcdir/$ac_unique_file"; then
1556    srcdir=..
1557  fi
1558else
1559  ac_srcdir_defaulted=no
1560fi
1561if test ! -r "$srcdir/$ac_unique_file"; then
1562  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1563  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1564   { (exit 1); exit 1; }; }
1565fi
1566ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1567ac_abs_confdir=`(
1568	cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1569   { (exit 1); exit 1; }; }
1570	pwd)`
1571# When building in place, set srcdir=.
1572if test "$ac_abs_confdir" = "$ac_pwd"; then
1573  srcdir=.
1574fi
1575# Remove unnecessary trailing slashes from srcdir.
1576# Double slashes in file names in object file debugging info
1577# mess up M-x gdb in Emacs.
1578case $srcdir in
1579*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1580esac
1581for ac_var in $ac_precious_vars; do
1582  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1583  eval ac_env_${ac_var}_value=\$${ac_var}
1584  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1585  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1586done
1587
1588#
1589# Report the --help message.
1590#
1591if test "$ac_init_help" = "long"; then
1592  # Omit some internal or obsolete options to make the list less imposing.
1593  # This message is too long to be a string in the A/UX 3.1 sh.
1594  cat <<_ACEOF
1595\`configure' configures trousers 0.3.14 to adapt to many kinds of systems.
1596
1597Usage: $0 [OPTION]... [VAR=VALUE]...
1598
1599To assign environment variables (e.g., CC, CFLAGS...), specify them as
1600VAR=VALUE.  See below for descriptions of some of the useful variables.
1601
1602Defaults for the options are specified in brackets.
1603
1604Configuration:
1605  -h, --help              display this help and exit
1606      --help=short        display options specific to this package
1607      --help=recursive    display the short help of all the included packages
1608  -V, --version           display version information and exit
1609  -q, --quiet, --silent   do not print \`checking...' messages
1610      --cache-file=FILE   cache test results in FILE [disabled]
1611  -C, --config-cache      alias for \`--cache-file=config.cache'
1612  -n, --no-create         do not create output files
1613      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1614
1615Installation directories:
1616  --prefix=PREFIX         install architecture-independent files in PREFIX
1617                          [$ac_default_prefix]
1618  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1619                          [PREFIX]
1620
1621By default, \`make install' will install all the files in
1622\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1623an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1624for instance \`--prefix=\$HOME'.
1625
1626For better control, use the options below.
1627
1628Fine tuning of the installation directories:
1629  --bindir=DIR            user executables [EPREFIX/bin]
1630  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1631  --libexecdir=DIR        program executables [EPREFIX/libexec]
1632  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1633  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1634  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1635  --libdir=DIR            object code libraries [EPREFIX/lib]
1636  --includedir=DIR        C header files [PREFIX/include]
1637  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1638  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1639  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1640  --infodir=DIR           info documentation [DATAROOTDIR/info]
1641  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1642  --mandir=DIR            man documentation [DATAROOTDIR/man]
1643  --docdir=DIR            documentation root [DATAROOTDIR/doc/trousers]
1644  --htmldir=DIR           html documentation [DOCDIR]
1645  --dvidir=DIR            dvi documentation [DOCDIR]
1646  --pdfdir=DIR            pdf documentation [DOCDIR]
1647  --psdir=DIR             ps documentation [DOCDIR]
1648_ACEOF
1649
1650  cat <<\_ACEOF
1651
1652Program names:
1653  --program-prefix=PREFIX            prepend PREFIX to installed program names
1654  --program-suffix=SUFFIX            append SUFFIX to installed program names
1655  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1656
1657System types:
1658  --build=BUILD     configure for building on BUILD [guessed]
1659  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1660  --target=TARGET   configure for building compilers for TARGET [HOST]
1661_ACEOF
1662fi
1663
1664if test -n "$ac_init_help"; then
1665  case $ac_init_help in
1666     short | recursive ) echo "Configuration of trousers 0.3.14:";;
1667   esac
1668  cat <<\_ACEOF
1669
1670Optional Features:
1671  --disable-option-checking  ignore unrecognized --enable/--with options
1672  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1673  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1674  --enable-debug          turn on all trousers debugging flags [default=off]
1675  --disable-dependency-tracking  speeds up one-time build
1676  --enable-dependency-tracking   do not reject slow dependency extractors
1677  --enable-gcov           turn on gcov code coverage flags [default=off]
1678  --enable-gprof          enable profiling with gprof [default=off]
1679  --enable-strict-spec-compliance
1680                          build TrouSerS as strictly spec compliant
1681                          [default=off]
1682  --disable-usercheck     build TrouSerS without checking and setting of
1683                          user/group tss [default=on] (Caution: This is
1684                          intended for development purposes only.)
1685  --enable-static[=PKGS]  build static libraries [default=no]
1686  --enable-shared[=PKGS]  build shared libraries [default=yes]
1687  --enable-fast-install[=PKGS]
1688                          optimize for fast installation [default=yes]
1689  --disable-libtool-lock  avoid locking (might break parallel builds)
1690
1691Optional Packages:
1692  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1693  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1694  --with-openssl=PATH     Location of openssl libs/includes
1695  --with-gmp              build TrouSerS with the GMP math lib (used in DAA)
1696  --with-gui              type of gui popup (gtk/none) [default=gtk]
1697  --with-api              Version of the TSS API to build [default=1.2]
1698  --with-pic              try to use only PIC/non-PIC objects [default=use
1699                          both]
1700  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1701
1702Some influential environment variables:
1703  CC          C compiler command
1704  CFLAGS      C compiler flags
1705  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1706              nonstandard directory <lib dir>
1707  LIBS        libraries to pass to the linker, e.g. -l<library>
1708  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1709              you have headers in a nonstandard directory <include dir>
1710  CPP         C preprocessor
1711  PKG_CONFIG  path to pkg-config utility
1712  GTK_CFLAGS  C compiler flags for GTK, overriding pkg-config
1713  GTK_LIBS    linker flags for GTK, overriding pkg-config
1714
1715Use these variables to override the choices made by `configure' or to help
1716it to find libraries and programs with nonstandard names/locations.
1717
1718Report bugs to <trousers-tech@lists.sf.net>.
1719_ACEOF
1720ac_status=$?
1721fi
1722
1723if test "$ac_init_help" = "recursive"; then
1724  # If there are subdirs, report their specific --help.
1725  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1726    test -d "$ac_dir" ||
1727      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1728      continue
1729    ac_builddir=.
1730
1731case "$ac_dir" in
1732.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1733*)
1734  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1735  # A ".." for each directory in $ac_dir_suffix.
1736  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1737  case $ac_top_builddir_sub in
1738  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1739  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1740  esac ;;
1741esac
1742ac_abs_top_builddir=$ac_pwd
1743ac_abs_builddir=$ac_pwd$ac_dir_suffix
1744# for backward compatibility:
1745ac_top_builddir=$ac_top_build_prefix
1746
1747case $srcdir in
1748  .)  # We are building in place.
1749    ac_srcdir=.
1750    ac_top_srcdir=$ac_top_builddir_sub
1751    ac_abs_top_srcdir=$ac_pwd ;;
1752  [\\/]* | ?:[\\/]* )  # Absolute name.
1753    ac_srcdir=$srcdir$ac_dir_suffix;
1754    ac_top_srcdir=$srcdir
1755    ac_abs_top_srcdir=$srcdir ;;
1756  *) # Relative name.
1757    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1758    ac_top_srcdir=$ac_top_build_prefix$srcdir
1759    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1760esac
1761ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1762
1763    cd "$ac_dir" || { ac_status=$?; continue; }
1764    # Check for guested configure.
1765    if test -f "$ac_srcdir/configure.gnu"; then
1766      echo &&
1767      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1768    elif test -f "$ac_srcdir/configure"; then
1769      echo &&
1770      $SHELL "$ac_srcdir/configure" --help=recursive
1771    else
1772      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1773    fi || ac_status=$?
1774    cd "$ac_pwd" || { ac_status=$?; break; }
1775  done
1776fi
1777
1778test -n "$ac_init_help" && exit $ac_status
1779if $ac_init_version; then
1780  cat <<\_ACEOF
1781trousers configure 0.3.14
1782generated by GNU Autoconf 2.63
1783
1784Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
17852002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1786This configure script is free software; the Free Software Foundation
1787gives unlimited permission to copy, distribute and modify it.
1788_ACEOF
1789  exit
1790fi
1791cat >config.log <<_ACEOF
1792This file contains any messages produced by compilers while
1793running configure, to aid debugging if configure makes a mistake.
1794
1795It was created by trousers $as_me 0.3.14, which was
1796generated by GNU Autoconf 2.63.  Invocation command line was
1797
1798  $ $0 $@
1799
1800_ACEOF
1801exec 5>>config.log
1802{
1803cat <<_ASUNAME
1804## --------- ##
1805## Platform. ##
1806## --------- ##
1807
1808hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1809uname -m = `(uname -m) 2>/dev/null || echo unknown`
1810uname -r = `(uname -r) 2>/dev/null || echo unknown`
1811uname -s = `(uname -s) 2>/dev/null || echo unknown`
1812uname -v = `(uname -v) 2>/dev/null || echo unknown`
1813
1814/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1815/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1816
1817/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1818/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1819/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1820/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1821/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1822/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1823/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1824
1825_ASUNAME
1826
1827as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1828for as_dir in $PATH
1829do
1830  IFS=$as_save_IFS
1831  test -z "$as_dir" && as_dir=.
1832  $as_echo "PATH: $as_dir"
1833done
1834IFS=$as_save_IFS
1835
1836} >&5
1837
1838cat >&5 <<_ACEOF
1839
1840
1841## ----------- ##
1842## Core tests. ##
1843## ----------- ##
1844
1845_ACEOF
1846
1847
1848# Keep a trace of the command line.
1849# Strip out --no-create and --no-recursion so they do not pile up.
1850# Strip out --silent because we don't want to record it for future runs.
1851# Also quote any args containing shell meta-characters.
1852# Make two passes to allow for proper duplicate-argument suppression.
1853ac_configure_args=
1854ac_configure_args0=
1855ac_configure_args1=
1856ac_must_keep_next=false
1857for ac_pass in 1 2
1858do
1859  for ac_arg
1860  do
1861    case $ac_arg in
1862    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1863    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1864    | -silent | --silent | --silen | --sile | --sil)
1865      continue ;;
1866    *\'*)
1867      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1868    esac
1869    case $ac_pass in
1870    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1871    2)
1872      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1873      if test $ac_must_keep_next = true; then
1874	ac_must_keep_next=false # Got value, back to normal.
1875      else
1876	case $ac_arg in
1877	  *=* | --config-cache | -C | -disable-* | --disable-* \
1878	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1879	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1880	  | -with-* | --with-* | -without-* | --without-* | --x)
1881	    case "$ac_configure_args0 " in
1882	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1883	    esac
1884	    ;;
1885	  -* ) ac_must_keep_next=true ;;
1886	esac
1887      fi
1888      ac_configure_args="$ac_configure_args '$ac_arg'"
1889      ;;
1890    esac
1891  done
1892done
1893$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1894$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1895
1896# When interrupted or exit'd, cleanup temporary files, and complete
1897# config.log.  We remove comments because anyway the quotes in there
1898# would cause problems or look ugly.
1899# WARNING: Use '\'' to represent an apostrophe within the trap.
1900# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1901trap 'exit_status=$?
1902  # Save into config.log some information that might help in debugging.
1903  {
1904    echo
1905
1906    cat <<\_ASBOX
1907## ---------------- ##
1908## Cache variables. ##
1909## ---------------- ##
1910_ASBOX
1911    echo
1912    # The following way of writing the cache mishandles newlines in values,
1913(
1914  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1915    eval ac_val=\$$ac_var
1916    case $ac_val in #(
1917    *${as_nl}*)
1918      case $ac_var in #(
1919      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1920$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1921      esac
1922      case $ac_var in #(
1923      _ | IFS | as_nl) ;; #(
1924      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1925      *) $as_unset $ac_var ;;
1926      esac ;;
1927    esac
1928  done
1929  (set) 2>&1 |
1930    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1931    *${as_nl}ac_space=\ *)
1932      sed -n \
1933	"s/'\''/'\''\\\\'\'''\''/g;
1934	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1935      ;; #(
1936    *)
1937      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1938      ;;
1939    esac |
1940    sort
1941)
1942    echo
1943
1944    cat <<\_ASBOX
1945## ----------------- ##
1946## Output variables. ##
1947## ----------------- ##
1948_ASBOX
1949    echo
1950    for ac_var in $ac_subst_vars
1951    do
1952      eval ac_val=\$$ac_var
1953      case $ac_val in
1954      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1955      esac
1956      $as_echo "$ac_var='\''$ac_val'\''"
1957    done | sort
1958    echo
1959
1960    if test -n "$ac_subst_files"; then
1961      cat <<\_ASBOX
1962## ------------------- ##
1963## File substitutions. ##
1964## ------------------- ##
1965_ASBOX
1966      echo
1967      for ac_var in $ac_subst_files
1968      do
1969	eval ac_val=\$$ac_var
1970	case $ac_val in
1971	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1972	esac
1973	$as_echo "$ac_var='\''$ac_val'\''"
1974      done | sort
1975      echo
1976    fi
1977
1978    if test -s confdefs.h; then
1979      cat <<\_ASBOX
1980## ----------- ##
1981## confdefs.h. ##
1982## ----------- ##
1983_ASBOX
1984      echo
1985      cat confdefs.h
1986      echo
1987    fi
1988    test "$ac_signal" != 0 &&
1989      $as_echo "$as_me: caught signal $ac_signal"
1990    $as_echo "$as_me: exit $exit_status"
1991  } >&5
1992  rm -f core *.core core.conftest.* &&
1993    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1994    exit $exit_status
1995' 0
1996for ac_signal in 1 2 13 15; do
1997  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1998done
1999ac_signal=0
2000
2001# confdefs.h avoids OS command line length limits that DEFS can exceed.
2002rm -f -r conftest* confdefs.h
2003
2004# Predefined preprocessor variables.
2005
2006cat >>confdefs.h <<_ACEOF
2007#define PACKAGE_NAME "$PACKAGE_NAME"
2008_ACEOF
2009
2010
2011cat >>confdefs.h <<_ACEOF
2012#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2013_ACEOF
2014
2015
2016cat >>confdefs.h <<_ACEOF
2017#define PACKAGE_VERSION "$PACKAGE_VERSION"
2018_ACEOF
2019
2020
2021cat >>confdefs.h <<_ACEOF
2022#define PACKAGE_STRING "$PACKAGE_STRING"
2023_ACEOF
2024
2025
2026cat >>confdefs.h <<_ACEOF
2027#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2028_ACEOF
2029
2030
2031# Let the site file select an alternate cache file if it wants to.
2032# Prefer an explicitly selected file to automatically selected ones.
2033ac_site_file1=NONE
2034ac_site_file2=NONE
2035if test -n "$CONFIG_SITE"; then
2036  ac_site_file1=$CONFIG_SITE
2037elif test "x$prefix" != xNONE; then
2038  ac_site_file1=$prefix/share/config.site
2039  ac_site_file2=$prefix/etc/config.site
2040else
2041  ac_site_file1=$ac_default_prefix/share/config.site
2042  ac_site_file2=$ac_default_prefix/etc/config.site
2043fi
2044for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2045do
2046  test "x$ac_site_file" = xNONE && continue
2047  if test -r "$ac_site_file"; then
2048    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2049$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2050    sed 's/^/| /' "$ac_site_file" >&5
2051    . "$ac_site_file"
2052  fi
2053done
2054
2055if test -r "$cache_file"; then
2056  # Some versions of bash will fail to source /dev/null (special
2057  # files actually), so we avoid doing that.
2058  if test -f "$cache_file"; then
2059    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
2060$as_echo "$as_me: loading cache $cache_file" >&6;}
2061    case $cache_file in
2062      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2063      *)                      . "./$cache_file";;
2064    esac
2065  fi
2066else
2067  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
2068$as_echo "$as_me: creating cache $cache_file" >&6;}
2069  >$cache_file
2070fi
2071
2072# Check that the precious variables saved in the cache have kept the same
2073# value.
2074ac_cache_corrupted=false
2075for ac_var in $ac_precious_vars; do
2076  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2077  eval ac_new_set=\$ac_env_${ac_var}_set
2078  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2079  eval ac_new_val=\$ac_env_${ac_var}_value
2080  case $ac_old_set,$ac_new_set in
2081    set,)
2082      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2083$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2084      ac_cache_corrupted=: ;;
2085    ,set)
2086      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2087$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2088      ac_cache_corrupted=: ;;
2089    ,);;
2090    *)
2091      if test "x$ac_old_val" != "x$ac_new_val"; then
2092	# differences in whitespace do not lead to failure.
2093	ac_old_val_w=`echo x $ac_old_val`
2094	ac_new_val_w=`echo x $ac_new_val`
2095	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2096	  { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2097$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2098	  ac_cache_corrupted=:
2099	else
2100	  { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2101$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2102	  eval $ac_var=\$ac_old_val
2103	fi
2104	{ $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
2105$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2106	{ $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
2107$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2108      fi;;
2109  esac
2110  # Pass precious variables to config.status.
2111  if test "$ac_new_set" = set; then
2112    case $ac_new_val in
2113    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2114    *) ac_arg=$ac_var=$ac_new_val ;;
2115    esac
2116    case " $ac_configure_args " in
2117      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2118      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2119    esac
2120  fi
2121done
2122if $ac_cache_corrupted; then
2123  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2124$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2125  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2126$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2127  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2128$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2129   { (exit 1); exit 1; }; }
2130fi
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156ac_ext=c
2157ac_cpp='$CPP $CPPFLAGS'
2158ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2159ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2160ac_compiler_gnu=$ac_cv_c_compiler_gnu
2161
2162
2163
2164TSS_SPEC_MAJOR=1
2165TSS_SPEC_MINOR=2
2166TSS_VER_MAJOR=0
2167TSS_VER_MINOR=3
2168
2169# compute $target
2170ac_aux_dir=
2171for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2172  if test -f "$ac_dir/install-sh"; then
2173    ac_aux_dir=$ac_dir
2174    ac_install_sh="$ac_aux_dir/install-sh -c"
2175    break
2176  elif test -f "$ac_dir/install.sh"; then
2177    ac_aux_dir=$ac_dir
2178    ac_install_sh="$ac_aux_dir/install.sh -c"
2179    break
2180  elif test -f "$ac_dir/shtool"; then
2181    ac_aux_dir=$ac_dir
2182    ac_install_sh="$ac_aux_dir/shtool install -c"
2183    break
2184  fi
2185done
2186if test -z "$ac_aux_dir"; then
2187  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2188$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2189   { (exit 1); exit 1; }; }
2190fi
2191
2192# These three variables are undocumented and unsupported,
2193# and are intended to be withdrawn in a future Autoconf release.
2194# They can cause serious problems if a builder's source tree is in a directory
2195# whose full name contains unusual characters.
2196ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2197ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2198ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2199
2200
2201# Make sure we can run config.sub.
2202$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2203  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2204$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2205   { (exit 1); exit 1; }; }
2206
2207{ $as_echo "$as_me:$LINENO: checking build system type" >&5
2208$as_echo_n "checking build system type... " >&6; }
2209if test "${ac_cv_build+set}" = set; then
2210  $as_echo_n "(cached) " >&6
2211else
2212  ac_build_alias=$build_alias
2213test "x$ac_build_alias" = x &&
2214  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2215test "x$ac_build_alias" = x &&
2216  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2217$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2218   { (exit 1); exit 1; }; }
2219ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2220  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2221$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2222   { (exit 1); exit 1; }; }
2223
2224fi
2225{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2226$as_echo "$ac_cv_build" >&6; }
2227case $ac_cv_build in
2228*-*-*) ;;
2229*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2230$as_echo "$as_me: error: invalid value of canonical build" >&2;}
2231   { (exit 1); exit 1; }; };;
2232esac
2233build=$ac_cv_build
2234ac_save_IFS=$IFS; IFS='-'
2235set x $ac_cv_build
2236shift
2237build_cpu=$1
2238build_vendor=$2
2239shift; shift
2240# Remember, the first character of IFS is used to create $*,
2241# except with old shells:
2242build_os=$*
2243IFS=$ac_save_IFS
2244case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2245
2246
2247{ $as_echo "$as_me:$LINENO: checking host system type" >&5
2248$as_echo_n "checking host system type... " >&6; }
2249if test "${ac_cv_host+set}" = set; then
2250  $as_echo_n "(cached) " >&6
2251else
2252  if test "x$host_alias" = x; then
2253  ac_cv_host=$ac_cv_build
2254else
2255  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2256    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2257$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2258   { (exit 1); exit 1; }; }
2259fi
2260
2261fi
2262{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2263$as_echo "$ac_cv_host" >&6; }
2264case $ac_cv_host in
2265*-*-*) ;;
2266*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2267$as_echo "$as_me: error: invalid value of canonical host" >&2;}
2268   { (exit 1); exit 1; }; };;
2269esac
2270host=$ac_cv_host
2271ac_save_IFS=$IFS; IFS='-'
2272set x $ac_cv_host
2273shift
2274host_cpu=$1
2275host_vendor=$2
2276shift; shift
2277# Remember, the first character of IFS is used to create $*,
2278# except with old shells:
2279host_os=$*
2280IFS=$ac_save_IFS
2281case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2282
2283
2284{ $as_echo "$as_me:$LINENO: checking target system type" >&5
2285$as_echo_n "checking target system type... " >&6; }
2286if test "${ac_cv_target+set}" = set; then
2287  $as_echo_n "(cached) " >&6
2288else
2289  if test "x$target_alias" = x; then
2290  ac_cv_target=$ac_cv_host
2291else
2292  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2293    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2294$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2295   { (exit 1); exit 1; }; }
2296fi
2297
2298fi
2299{ $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2300$as_echo "$ac_cv_target" >&6; }
2301case $ac_cv_target in
2302*-*-*) ;;
2303*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2304$as_echo "$as_me: error: invalid value of canonical target" >&2;}
2305   { (exit 1); exit 1; }; };;
2306esac
2307target=$ac_cv_target
2308ac_save_IFS=$IFS; IFS='-'
2309set x $ac_cv_target
2310shift
2311target_cpu=$1
2312target_vendor=$2
2313shift; shift
2314# Remember, the first character of IFS is used to create $*,
2315# except with old shells:
2316target_os=$*
2317IFS=$ac_save_IFS
2318case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2319
2320
2321# The aliases save the names the user supplied, while $host etc.
2322# will get canonicalized.
2323test -n "$target_alias" &&
2324  test "$program_prefix$program_suffix$program_transform_name" = \
2325    NONENONEs,x,x, &&
2326  program_prefix=${target_alias}-
2327am__api_version='1.11'
2328
2329# Find a good install program.  We prefer a C program (faster),
2330# so one script is as good as another.  But avoid the broken or
2331# incompatible versions:
2332# SysV /etc/install, /usr/sbin/install
2333# SunOS /usr/etc/install
2334# IRIX /sbin/install
2335# AIX /bin/install
2336# AmigaOS /C/install, which installs bootblocks on floppy discs
2337# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2338# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2339# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2340# OS/2's system install, which has a completely different semantic
2341# ./install, which can be erroneously created by make from ./install.sh.
2342# Reject install programs that cannot install multiple files.
2343{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2344$as_echo_n "checking for a BSD-compatible install... " >&6; }
2345if test -z "$INSTALL"; then
2346if test "${ac_cv_path_install+set}" = set; then
2347  $as_echo_n "(cached) " >&6
2348else
2349  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2350for as_dir in $PATH
2351do
2352  IFS=$as_save_IFS
2353  test -z "$as_dir" && as_dir=.
2354  # Account for people who put trailing slashes in PATH elements.
2355case $as_dir/ in
2356  ./ | .// | /cC/* | \
2357  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2358  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2359  /usr/ucb/* ) ;;
2360  *)
2361    # OSF1 and SCO ODT 3.0 have their own names for install.
2362    # Don't use installbsd from OSF since it installs stuff as root
2363    # by default.
2364    for ac_prog in ginstall scoinst install; do
2365      for ac_exec_ext in '' $ac_executable_extensions; do
2366	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2367	  if test $ac_prog = install &&
2368	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2369	    # AIX install.  It has an incompatible calling convention.
2370	    :
2371	  elif test $ac_prog = install &&
2372	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2373	    # program-specific install script used by HP pwplus--don't use.
2374	    :
2375	  else
2376	    rm -rf conftest.one conftest.two conftest.dir
2377	    echo one > conftest.one
2378	    echo two > conftest.two
2379	    mkdir conftest.dir
2380	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2381	      test -s conftest.one && test -s conftest.two &&
2382	      test -s conftest.dir/conftest.one &&
2383	      test -s conftest.dir/conftest.two
2384	    then
2385	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2386	      break 3
2387	    fi
2388	  fi
2389	fi
2390      done
2391    done
2392    ;;
2393esac
2394
2395done
2396IFS=$as_save_IFS
2397
2398rm -rf conftest.one conftest.two conftest.dir
2399
2400fi
2401  if test "${ac_cv_path_install+set}" = set; then
2402    INSTALL=$ac_cv_path_install
2403  else
2404    # As a last resort, use the slow shell script.  Don't cache a
2405    # value for INSTALL within a source directory, because that will
2406    # break other packages using the cache if that directory is
2407    # removed, or if the value is a relative name.
2408    INSTALL=$ac_install_sh
2409  fi
2410fi
2411{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
2412$as_echo "$INSTALL" >&6; }
2413
2414# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2415# It thinks the first close brace ends the variable substitution.
2416test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2417
2418test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2419
2420test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2421
2422{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2423$as_echo_n "checking whether build environment is sane... " >&6; }
2424# Just in case
2425sleep 1
2426echo timestamp > conftest.file
2427# Reject unsafe characters in $srcdir or the absolute working directory
2428# name.  Accept space and tab only in the latter.
2429am_lf='
2430'
2431case `pwd` in
2432  *[\\\"\#\$\&\'\`$am_lf]*)
2433    { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
2434$as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
2435   { (exit 1); exit 1; }; };;
2436esac
2437case $srcdir in
2438  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2439    { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
2440$as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
2441   { (exit 1); exit 1; }; };;
2442esac
2443
2444# Do `set' in a subshell so we don't clobber the current shell's
2445# arguments.  Must try -L first in case configure is actually a
2446# symlink; some systems play weird games with the mod time of symlinks
2447# (eg FreeBSD returns the mod time of the symlink's containing
2448# directory).
2449if (
2450   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2451   if test "$*" = "X"; then
2452      # -L didn't work.
2453      set X `ls -t "$srcdir/configure" conftest.file`
2454   fi
2455   rm -f conftest.file
2456   if test "$*" != "X $srcdir/configure conftest.file" \
2457      && test "$*" != "X conftest.file $srcdir/configure"; then
2458
2459      # If neither matched, then we have a broken ls.  This can happen
2460      # if, for instance, CONFIG_SHELL is bash and it inherits a
2461      # broken ls alias from the environment.  This has actually
2462      # happened.  Such a system could not be considered "sane".
2463      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2464alias in your environment" >&5
2465$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2466alias in your environment" >&2;}
2467   { (exit 1); exit 1; }; }
2468   fi
2469
2470   test "$2" = conftest.file
2471   )
2472then
2473   # Ok.
2474   :
2475else
2476   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2477Check your system clock" >&5
2478$as_echo "$as_me: error: newly created file is older than distributed files!
2479Check your system clock" >&2;}
2480   { (exit 1); exit 1; }; }
2481fi
2482{ $as_echo "$as_me:$LINENO: result: yes" >&5
2483$as_echo "yes" >&6; }
2484test "$program_prefix" != NONE &&
2485  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2486# Use a double $ so make ignores it.
2487test "$program_suffix" != NONE &&
2488  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2489# Double any \ or $.
2490# By default was `s,x,x', remove it if useless.
2491ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2492program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2493
2494# expand $ac_aux_dir to an absolute path
2495am_aux_dir=`cd $ac_aux_dir && pwd`
2496
2497if test x"${MISSING+set}" != xset; then
2498  case $am_aux_dir in
2499  *\ * | *\	*)
2500    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2501  *)
2502    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2503  esac
2504fi
2505# Use eval to expand $SHELL
2506if eval "$MISSING --run true"; then
2507  am_missing_run="$MISSING --run "
2508else
2509  am_missing_run=
2510  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2511$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2512fi
2513
2514if test x"${install_sh}" != xset; then
2515  case $am_aux_dir in
2516  *\ * | *\	*)
2517    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2518  *)
2519    install_sh="\${SHELL} $am_aux_dir/install-sh"
2520  esac
2521fi
2522
2523# Installed binaries are usually stripped using `strip' when the user
2524# run `make install-strip'.  However `strip' might not be the right
2525# tool to use in cross-compilation environments, therefore Automake
2526# will honor the `STRIP' environment variable to overrule this program.
2527if test "$cross_compiling" != no; then
2528  if test -n "$ac_tool_prefix"; then
2529  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2530set dummy ${ac_tool_prefix}strip; ac_word=$2
2531{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2532$as_echo_n "checking for $ac_word... " >&6; }
2533if test "${ac_cv_prog_STRIP+set}" = set; then
2534  $as_echo_n "(cached) " >&6
2535else
2536  if test -n "$STRIP"; then
2537  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2538else
2539as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2540for as_dir in $PATH
2541do
2542  IFS=$as_save_IFS
2543  test -z "$as_dir" && as_dir=.
2544  for ac_exec_ext in '' $ac_executable_extensions; do
2545  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2546    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2547    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2548    break 2
2549  fi
2550done
2551done
2552IFS=$as_save_IFS
2553
2554fi
2555fi
2556STRIP=$ac_cv_prog_STRIP
2557if test -n "$STRIP"; then
2558  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2559$as_echo "$STRIP" >&6; }
2560else
2561  { $as_echo "$as_me:$LINENO: result: no" >&5
2562$as_echo "no" >&6; }
2563fi
2564
2565
2566fi
2567if test -z "$ac_cv_prog_STRIP"; then
2568  ac_ct_STRIP=$STRIP
2569  # Extract the first word of "strip", so it can be a program name with args.
2570set dummy strip; ac_word=$2
2571{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2572$as_echo_n "checking for $ac_word... " >&6; }
2573if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2574  $as_echo_n "(cached) " >&6
2575else
2576  if test -n "$ac_ct_STRIP"; then
2577  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2578else
2579as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2580for as_dir in $PATH
2581do
2582  IFS=$as_save_IFS
2583  test -z "$as_dir" && as_dir=.
2584  for ac_exec_ext in '' $ac_executable_extensions; do
2585  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2586    ac_cv_prog_ac_ct_STRIP="strip"
2587    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2588    break 2
2589  fi
2590done
2591done
2592IFS=$as_save_IFS
2593
2594fi
2595fi
2596ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2597if test -n "$ac_ct_STRIP"; then
2598  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2599$as_echo "$ac_ct_STRIP" >&6; }
2600else
2601  { $as_echo "$as_me:$LINENO: result: no" >&5
2602$as_echo "no" >&6; }
2603fi
2604
2605  if test "x$ac_ct_STRIP" = x; then
2606    STRIP=":"
2607  else
2608    case $cross_compiling:$ac_tool_warned in
2609yes:)
2610{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2611$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2612ac_tool_warned=yes ;;
2613esac
2614    STRIP=$ac_ct_STRIP
2615  fi
2616else
2617  STRIP="$ac_cv_prog_STRIP"
2618fi
2619
2620fi
2621INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2622
2623{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2624$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2625if test -z "$MKDIR_P"; then
2626  if test "${ac_cv_path_mkdir+set}" = set; then
2627  $as_echo_n "(cached) " >&6
2628else
2629  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2630for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2631do
2632  IFS=$as_save_IFS
2633  test -z "$as_dir" && as_dir=.
2634  for ac_prog in mkdir gmkdir; do
2635	 for ac_exec_ext in '' $ac_executable_extensions; do
2636	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2637	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2638	     'mkdir (GNU coreutils) '* | \
2639	     'mkdir (coreutils) '* | \
2640	     'mkdir (fileutils) '4.1*)
2641	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2642	       break 3;;
2643	   esac
2644	 done
2645       done
2646done
2647IFS=$as_save_IFS
2648
2649fi
2650
2651  if test "${ac_cv_path_mkdir+set}" = set; then
2652    MKDIR_P="$ac_cv_path_mkdir -p"
2653  else
2654    # As a last resort, use the slow shell script.  Don't cache a
2655    # value for MKDIR_P within a source directory, because that will
2656    # break other packages using the cache if that directory is
2657    # removed, or if the value is a relative name.
2658    test -d ./--version && rmdir ./--version
2659    MKDIR_P="$ac_install_sh -d"
2660  fi
2661fi
2662{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2663$as_echo "$MKDIR_P" >&6; }
2664
2665mkdir_p="$MKDIR_P"
2666case $mkdir_p in
2667  [\\/$]* | ?:[\\/]*) ;;
2668  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2669esac
2670
2671for ac_prog in gawk mawk nawk awk
2672do
2673  # Extract the first word of "$ac_prog", so it can be a program name with args.
2674set dummy $ac_prog; ac_word=$2
2675{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2676$as_echo_n "checking for $ac_word... " >&6; }
2677if test "${ac_cv_prog_AWK+set}" = set; then
2678  $as_echo_n "(cached) " >&6
2679else
2680  if test -n "$AWK"; then
2681  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2682else
2683as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2684for as_dir in $PATH
2685do
2686  IFS=$as_save_IFS
2687  test -z "$as_dir" && as_dir=.
2688  for ac_exec_ext in '' $ac_executable_extensions; do
2689  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2690    ac_cv_prog_AWK="$ac_prog"
2691    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2692    break 2
2693  fi
2694done
2695done
2696IFS=$as_save_IFS
2697
2698fi
2699fi
2700AWK=$ac_cv_prog_AWK
2701if test -n "$AWK"; then
2702  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2703$as_echo "$AWK" >&6; }
2704else
2705  { $as_echo "$as_me:$LINENO: result: no" >&5
2706$as_echo "no" >&6; }
2707fi
2708
2709
2710  test -n "$AWK" && break
2711done
2712
2713{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2714$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2715set x ${MAKE-make}
2716ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2717if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2718  $as_echo_n "(cached) " >&6
2719else
2720  cat >conftest.make <<\_ACEOF
2721SHELL = /bin/sh
2722all:
2723	@echo '@@@%%%=$(MAKE)=@@@%%%'
2724_ACEOF
2725# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2726case `${MAKE-make} -f conftest.make 2>/dev/null` in
2727  *@@@%%%=?*=@@@%%%*)
2728    eval ac_cv_prog_make_${ac_make}_set=yes;;
2729  *)
2730    eval ac_cv_prog_make_${ac_make}_set=no;;
2731esac
2732rm -f conftest.make
2733fi
2734if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2735  { $as_echo "$as_me:$LINENO: result: yes" >&5
2736$as_echo "yes" >&6; }
2737  SET_MAKE=
2738else
2739  { $as_echo "$as_me:$LINENO: result: no" >&5
2740$as_echo "no" >&6; }
2741  SET_MAKE="MAKE=${MAKE-make}"
2742fi
2743
2744rm -rf .tst 2>/dev/null
2745mkdir .tst 2>/dev/null
2746if test -d .tst; then
2747  am__leading_dot=.
2748else
2749  am__leading_dot=_
2750fi
2751rmdir .tst 2>/dev/null
2752
2753if test "`cd $srcdir && pwd`" != "`pwd`"; then
2754  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2755  # is not polluted with repeated "-I."
2756  am__isrc=' -I$(srcdir)'
2757  # test to see if srcdir already configured
2758  if test -f $srcdir/config.status; then
2759    { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2760$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2761   { (exit 1); exit 1; }; }
2762  fi
2763fi
2764
2765# test whether we have cygpath
2766if test -z "$CYGPATH_W"; then
2767  if (cygpath --version) >/dev/null 2>/dev/null; then
2768    CYGPATH_W='cygpath -w'
2769  else
2770    CYGPATH_W=echo
2771  fi
2772fi
2773
2774
2775# Define the identity of the package.
2776 PACKAGE='trousers'
2777 VERSION='0.3.14'
2778
2779
2780cat >>confdefs.h <<_ACEOF
2781#define PACKAGE "$PACKAGE"
2782_ACEOF
2783
2784
2785cat >>confdefs.h <<_ACEOF
2786#define VERSION "$VERSION"
2787_ACEOF
2788
2789# Some tools Automake needs.
2790
2791ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2792
2793
2794AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2795
2796
2797AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2798
2799
2800AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2801
2802
2803MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2804
2805# We need awk for the "check" target.  The system "awk" is bad on
2806# some platforms.
2807# Always define AMTAR for backward compatibility.
2808
2809AMTAR=${AMTAR-"${am_missing_run}tar"}
2810
2811am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2812
2813
2814
2815
2816
2817
2818# Debugging support
2819# Check whether --enable-debug was given.
2820if test "${enable_debug+set}" = set; then
2821  enableval=$enable_debug; { $as_echo "$as_me:$LINENO: result: *** Enabling debugging at user request ***" >&5
2822$as_echo "*** Enabling debugging at user request ***" >&6; }
2823fi
2824
2825
2826# If the user has not set CFLAGS, do something appropriate
2827test_CFLAGS=${CFLAGS+set}
2828if test "$test_CFLAGS" != set; then
2829	if test "x$enable_debug" = "xyes"; then
2830		CFLAGS="-O0 -g -DTSS_DEBUG -Wreturn-type"
2831#		CFLAGS="-O0 -g -DTSS_DEBUG -Wreturn-type -DTCSD_SINGLE_THREAD_DEBUG"
2832	else
2833		CFLAGS="-O2"
2834	fi
2835else
2836	if test "x$enable_debug" = "xyes"; then
2837		CFLAGS="${CFLAGS} -O0 -g -DTSS_DEBUG -Wreturn-type"
2838	fi
2839fi
2840
2841# Arch specific stuff
2842case $target in
2843	*darwin*)
2844        	TCSD_LDFLAGS=""
2845        	;;
2846	*solaris*)
2847		CFLAGS="$CFLAGS -DSOLARIS"
2848		;;
2849        *)
2850        	TCSD_LDFLAGS="-pie -Wl,-z,relro -Wl,-z,now"
2851                ;;
2852esac
2853
2854
2855
2856# Non-standard OpenSSL location
2857{ $as_echo "$as_me:$LINENO: checking Non-standard OpenSSL location" >&5
2858$as_echo_n "checking Non-standard OpenSSL location... " >&6; }
2859
2860# Check whether --with-openssl was given.
2861if test "${with_openssl+set}" = set; then
2862  withval=$with_openssl; OPENSSL_INCLUDE_DIR="$withval/include"
2863	 OPENSSL_LIB_DIR="$withval/lib"
2864	 if [ ! -d $OPENSSL_INCLUDE_DIR -o ! -d $OPENSSL_LIB_DIR ]; then
2865		{ { $as_echo "$as_me:$LINENO: error: $OPENSSL_INCLUDE_DIR or $OPENSSL_LIB_DIR doen't exist!" >&5
2866$as_echo "$as_me: error: $OPENSSL_INCLUDE_DIR or $OPENSSL_LIB_DIR doen't exist!" >&2;}
2867   { (exit 1); exit 1; }; }
2868	 else
2869		{ $as_echo "$as_me:$LINENO: result: yes" >&5
2870$as_echo "yes" >&6; }
2871		CFLAGS="$CFLAGS -L$OPENSSL_LIB_DIR -I$OPENSSL_INCLUDE_DIR"
2872
2873	 fi
2874else
2875  { $as_echo "$as_me:$LINENO: result: no" >&5
2876$as_echo "no" >&6; }
2877
2878fi
2879
2880
2881# The tspi Makefile will look for trspi/crypto/@CRYPTO_PACKAGE@/crypto.c
2882# Future crypto packages can go in their own subdir of trspi/crypto
2883# and a check for them should be made here
2884DEPDIR="${am__leading_dot}deps"
2885
2886ac_config_commands="$ac_config_commands depfiles"
2887
2888
2889am_make=${MAKE-make}
2890cat > confinc << 'END'
2891am__doit:
2892	@echo this is the am__doit target
2893.PHONY: am__doit
2894END
2895# If we don't find an include directive, just comment out the code.
2896{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2897$as_echo_n "checking for style of include used by $am_make... " >&6; }
2898am__include="#"
2899am__quote=
2900_am_result=none
2901# First try GNU make style include.
2902echo "include confinc" > confmf
2903# Ignore all kinds of additional output from `make'.
2904case `$am_make -s -f confmf 2> /dev/null` in #(
2905*the\ am__doit\ target*)
2906  am__include=include
2907  am__quote=
2908  _am_result=GNU
2909  ;;
2910esac
2911# Now try BSD make style include.
2912if test "$am__include" = "#"; then
2913   echo '.include "confinc"' > confmf
2914   case `$am_make -s -f confmf 2> /dev/null` in #(
2915   *the\ am__doit\ target*)
2916     am__include=.include
2917     am__quote="\""
2918     _am_result=BSD
2919     ;;
2920   esac
2921fi
2922
2923
2924{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
2925$as_echo "$_am_result" >&6; }
2926rm -f confinc confmf
2927
2928# Check whether --enable-dependency-tracking was given.
2929if test "${enable_dependency_tracking+set}" = set; then
2930  enableval=$enable_dependency_tracking;
2931fi
2932
2933if test "x$enable_dependency_tracking" != xno; then
2934  am_depcomp="$ac_aux_dir/depcomp"
2935  AMDEPBACKSLASH='\'
2936fi
2937 if test "x$enable_dependency_tracking" != xno; then
2938  AMDEP_TRUE=
2939  AMDEP_FALSE='#'
2940else
2941  AMDEP_TRUE='#'
2942  AMDEP_FALSE=
2943fi
2944
2945
2946ac_ext=c
2947ac_cpp='$CPP $CPPFLAGS'
2948ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2949ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2950ac_compiler_gnu=$ac_cv_c_compiler_gnu
2951if test -n "$ac_tool_prefix"; then
2952  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2953set dummy ${ac_tool_prefix}gcc; ac_word=$2
2954{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2955$as_echo_n "checking for $ac_word... " >&6; }
2956if test "${ac_cv_prog_CC+set}" = set; then
2957  $as_echo_n "(cached) " >&6
2958else
2959  if test -n "$CC"; then
2960  ac_cv_prog_CC="$CC" # Let the user override the test.
2961else
2962as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2963for as_dir in $PATH
2964do
2965  IFS=$as_save_IFS
2966  test -z "$as_dir" && as_dir=.
2967  for ac_exec_ext in '' $ac_executable_extensions; do
2968  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2969    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2970    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2971    break 2
2972  fi
2973done
2974done
2975IFS=$as_save_IFS
2976
2977fi
2978fi
2979CC=$ac_cv_prog_CC
2980if test -n "$CC"; then
2981  { $as_echo "$as_me:$LINENO: result: $CC" >&5
2982$as_echo "$CC" >&6; }
2983else
2984  { $as_echo "$as_me:$LINENO: result: no" >&5
2985$as_echo "no" >&6; }
2986fi
2987
2988
2989fi
2990if test -z "$ac_cv_prog_CC"; then
2991  ac_ct_CC=$CC
2992  # Extract the first word of "gcc", so it can be a program name with args.
2993set dummy gcc; ac_word=$2
2994{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2995$as_echo_n "checking for $ac_word... " >&6; }
2996if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2997  $as_echo_n "(cached) " >&6
2998else
2999  if test -n "$ac_ct_CC"; then
3000  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3001else
3002as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3003for as_dir in $PATH
3004do
3005  IFS=$as_save_IFS
3006  test -z "$as_dir" && as_dir=.
3007  for ac_exec_ext in '' $ac_executable_extensions; do
3008  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3009    ac_cv_prog_ac_ct_CC="gcc"
3010    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3011    break 2
3012  fi
3013done
3014done
3015IFS=$as_save_IFS
3016
3017fi
3018fi
3019ac_ct_CC=$ac_cv_prog_ac_ct_CC
3020if test -n "$ac_ct_CC"; then
3021  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3022$as_echo "$ac_ct_CC" >&6; }
3023else
3024  { $as_echo "$as_me:$LINENO: result: no" >&5
3025$as_echo "no" >&6; }
3026fi
3027
3028  if test "x$ac_ct_CC" = x; then
3029    CC=""
3030  else
3031    case $cross_compiling:$ac_tool_warned in
3032yes:)
3033{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3034$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3035ac_tool_warned=yes ;;
3036esac
3037    CC=$ac_ct_CC
3038  fi
3039else
3040  CC="$ac_cv_prog_CC"
3041fi
3042
3043if test -z "$CC"; then
3044          if test -n "$ac_tool_prefix"; then
3045    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3046set dummy ${ac_tool_prefix}cc; ac_word=$2
3047{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3048$as_echo_n "checking for $ac_word... " >&6; }
3049if test "${ac_cv_prog_CC+set}" = set; then
3050  $as_echo_n "(cached) " >&6
3051else
3052  if test -n "$CC"; then
3053  ac_cv_prog_CC="$CC" # Let the user override the test.
3054else
3055as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3056for as_dir in $PATH
3057do
3058  IFS=$as_save_IFS
3059  test -z "$as_dir" && as_dir=.
3060  for ac_exec_ext in '' $ac_executable_extensions; do
3061  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3062    ac_cv_prog_CC="${ac_tool_prefix}cc"
3063    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3064    break 2
3065  fi
3066done
3067done
3068IFS=$as_save_IFS
3069
3070fi
3071fi
3072CC=$ac_cv_prog_CC
3073if test -n "$CC"; then
3074  { $as_echo "$as_me:$LINENO: result: $CC" >&5
3075$as_echo "$CC" >&6; }
3076else
3077  { $as_echo "$as_me:$LINENO: result: no" >&5
3078$as_echo "no" >&6; }
3079fi
3080
3081
3082  fi
3083fi
3084if test -z "$CC"; then
3085  # Extract the first word of "cc", so it can be a program name with args.
3086set dummy cc; ac_word=$2
3087{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3088$as_echo_n "checking for $ac_word... " >&6; }
3089if test "${ac_cv_prog_CC+set}" = set; then
3090  $as_echo_n "(cached) " >&6
3091else
3092  if test -n "$CC"; then
3093  ac_cv_prog_CC="$CC" # Let the user override the test.
3094else
3095  ac_prog_rejected=no
3096as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3097for as_dir in $PATH
3098do
3099  IFS=$as_save_IFS
3100  test -z "$as_dir" && as_dir=.
3101  for ac_exec_ext in '' $ac_executable_extensions; do
3102  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3103    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3104       ac_prog_rejected=yes
3105       continue
3106     fi
3107    ac_cv_prog_CC="cc"
3108    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3109    break 2
3110  fi
3111done
3112done
3113IFS=$as_save_IFS
3114
3115if test $ac_prog_rejected = yes; then
3116  # We found a bogon in the path, so make sure we never use it.
3117  set dummy $ac_cv_prog_CC
3118  shift
3119  if test $# != 0; then
3120    # We chose a different compiler from the bogus one.
3121    # However, it has the same basename, so the bogon will be chosen
3122    # first if we set CC to just the basename; use the full file name.
3123    shift
3124    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3125  fi
3126fi
3127fi
3128fi
3129CC=$ac_cv_prog_CC
3130if test -n "$CC"; then
3131  { $as_echo "$as_me:$LINENO: result: $CC" >&5
3132$as_echo "$CC" >&6; }
3133else
3134  { $as_echo "$as_me:$LINENO: result: no" >&5
3135$as_echo "no" >&6; }
3136fi
3137
3138
3139fi
3140if test -z "$CC"; then
3141  if test -n "$ac_tool_prefix"; then
3142  for ac_prog in cl.exe
3143  do
3144    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3145set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3146{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3147$as_echo_n "checking for $ac_word... " >&6; }
3148if test "${ac_cv_prog_CC+set}" = set; then
3149  $as_echo_n "(cached) " >&6
3150else
3151  if test -n "$CC"; then
3152  ac_cv_prog_CC="$CC" # Let the user override the test.
3153else
3154as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3155for as_dir in $PATH
3156do
3157  IFS=$as_save_IFS
3158  test -z "$as_dir" && as_dir=.
3159  for ac_exec_ext in '' $ac_executable_extensions; do
3160  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3161    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3162    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3163    break 2
3164  fi
3165done
3166done
3167IFS=$as_save_IFS
3168
3169fi
3170fi
3171CC=$ac_cv_prog_CC
3172if test -n "$CC"; then
3173  { $as_echo "$as_me:$LINENO: result: $CC" >&5
3174$as_echo "$CC" >&6; }
3175else
3176  { $as_echo "$as_me:$LINENO: result: no" >&5
3177$as_echo "no" >&6; }
3178fi
3179
3180
3181    test -n "$CC" && break
3182  done
3183fi
3184if test -z "$CC"; then
3185  ac_ct_CC=$CC
3186  for ac_prog in cl.exe
3187do
3188  # Extract the first word of "$ac_prog", so it can be a program name with args.
3189set dummy $ac_prog; ac_word=$2
3190{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3191$as_echo_n "checking for $ac_word... " >&6; }
3192if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3193  $as_echo_n "(cached) " >&6
3194else
3195  if test -n "$ac_ct_CC"; then
3196  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3197else
3198as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3199for as_dir in $PATH
3200do
3201  IFS=$as_save_IFS
3202  test -z "$as_dir" && as_dir=.
3203  for ac_exec_ext in '' $ac_executable_extensions; do
3204  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3205    ac_cv_prog_ac_ct_CC="$ac_prog"
3206    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3207    break 2
3208  fi
3209done
3210done
3211IFS=$as_save_IFS
3212
3213fi
3214fi
3215ac_ct_CC=$ac_cv_prog_ac_ct_CC
3216if test -n "$ac_ct_CC"; then
3217  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3218$as_echo "$ac_ct_CC" >&6; }
3219else
3220  { $as_echo "$as_me:$LINENO: result: no" >&5
3221$as_echo "no" >&6; }
3222fi
3223
3224
3225  test -n "$ac_ct_CC" && break
3226done
3227
3228  if test "x$ac_ct_CC" = x; then
3229    CC=""
3230  else
3231    case $cross_compiling:$ac_tool_warned in
3232yes:)
3233{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3234$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3235ac_tool_warned=yes ;;
3236esac
3237    CC=$ac_ct_CC
3238  fi
3239fi
3240
3241fi
3242
3243
3244test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3245$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3246{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3247See \`config.log' for more details." >&5
3248$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3249See \`config.log' for more details." >&2;}
3250   { (exit 1); exit 1; }; }; }
3251
3252# Provide some information about the compiler.
3253$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3254set X $ac_compile
3255ac_compiler=$2
3256{ (ac_try="$ac_compiler --version >&5"
3257case "(($ac_try" in
3258  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3259  *) ac_try_echo=$ac_try;;
3260esac
3261eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3262$as_echo "$ac_try_echo") >&5
3263  (eval "$ac_compiler --version >&5") 2>&5
3264  ac_status=$?
3265  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3266  (exit $ac_status); }
3267{ (ac_try="$ac_compiler -v >&5"
3268case "(($ac_try" in
3269  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3270  *) ac_try_echo=$ac_try;;
3271esac
3272eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3273$as_echo "$ac_try_echo") >&5
3274  (eval "$ac_compiler -v >&5") 2>&5
3275  ac_status=$?
3276  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3277  (exit $ac_status); }
3278{ (ac_try="$ac_compiler -V >&5"
3279case "(($ac_try" in
3280  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3281  *) ac_try_echo=$ac_try;;
3282esac
3283eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3284$as_echo "$ac_try_echo") >&5
3285  (eval "$ac_compiler -V >&5") 2>&5
3286  ac_status=$?
3287  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3288  (exit $ac_status); }
3289
3290cat >conftest.$ac_ext <<_ACEOF
3291/* confdefs.h.  */
3292_ACEOF
3293cat confdefs.h >>conftest.$ac_ext
3294cat >>conftest.$ac_ext <<_ACEOF
3295/* end confdefs.h.  */
3296
3297int
3298main ()
3299{
3300
3301  ;
3302  return 0;
3303}
3304_ACEOF
3305ac_clean_files_save=$ac_clean_files
3306ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3307# Try to create an executable without -o first, disregard a.out.
3308# It will help us diagnose broken compilers, and finding out an intuition
3309# of exeext.
3310{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3311$as_echo_n "checking for C compiler default output file name... " >&6; }
3312ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3313
3314# The possible output files:
3315ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3316
3317ac_rmfiles=
3318for ac_file in $ac_files
3319do
3320  case $ac_file in
3321    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3322    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3323  esac
3324done
3325rm -f $ac_rmfiles
3326
3327if { (ac_try="$ac_link_default"
3328case "(($ac_try" in
3329  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3330  *) ac_try_echo=$ac_try;;
3331esac
3332eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3333$as_echo "$ac_try_echo") >&5
3334  (eval "$ac_link_default") 2>&5
3335  ac_status=$?
3336  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3337  (exit $ac_status); }; then
3338  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3339# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3340# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3341# so that the user can short-circuit this test for compilers unknown to
3342# Autoconf.
3343for ac_file in $ac_files ''
3344do
3345  test -f "$ac_file" || continue
3346  case $ac_file in
3347    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3348	;;
3349    [ab].out )
3350	# We found the default executable, but exeext='' is most
3351	# certainly right.
3352	break;;
3353    *.* )
3354        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3355	then :; else
3356	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3357	fi
3358	# We set ac_cv_exeext here because the later test for it is not
3359	# safe: cross compilers may not add the suffix if given an `-o'
3360	# argument, so we may need to know it at that point already.
3361	# Even if this section looks crufty: it has the advantage of
3362	# actually working.
3363	break;;
3364    * )
3365	break;;
3366  esac
3367done
3368test "$ac_cv_exeext" = no && ac_cv_exeext=
3369
3370else
3371  ac_file=''
3372fi
3373
3374{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
3375$as_echo "$ac_file" >&6; }
3376if test -z "$ac_file"; then
3377  $as_echo "$as_me: failed program was:" >&5
3378sed 's/^/| /' conftest.$ac_ext >&5
3379
3380{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3381$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3382{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3383See \`config.log' for more details." >&5
3384$as_echo "$as_me: error: C compiler cannot create executables
3385See \`config.log' for more details." >&2;}
3386   { (exit 77); exit 77; }; }; }
3387fi
3388
3389ac_exeext=$ac_cv_exeext
3390
3391# Check that the compiler produces executables we can run.  If not, either
3392# the compiler is broken, or we cross compile.
3393{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3394$as_echo_n "checking whether the C compiler works... " >&6; }
3395# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3396# If not cross compiling, check that we can run a simple program.
3397if test "$cross_compiling" != yes; then
3398  if { ac_try='./$ac_file'
3399  { (case "(($ac_try" in
3400  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3401  *) ac_try_echo=$ac_try;;
3402esac
3403eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3404$as_echo "$ac_try_echo") >&5
3405  (eval "$ac_try") 2>&5
3406  ac_status=$?
3407  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3408  (exit $ac_status); }; }; then
3409    cross_compiling=no
3410  else
3411    if test "$cross_compiling" = maybe; then
3412	cross_compiling=yes
3413    else
3414	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3415$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3416{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3417If you meant to cross compile, use \`--host'.
3418See \`config.log' for more details." >&5
3419$as_echo "$as_me: error: cannot run C compiled programs.
3420If you meant to cross compile, use \`--host'.
3421See \`config.log' for more details." >&2;}
3422   { (exit 1); exit 1; }; }; }
3423    fi
3424  fi
3425fi
3426{ $as_echo "$as_me:$LINENO: result: yes" >&5
3427$as_echo "yes" >&6; }
3428
3429rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3430ac_clean_files=$ac_clean_files_save
3431# Check that the compiler produces executables we can run.  If not, either
3432# the compiler is broken, or we cross compile.
3433{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3434$as_echo_n "checking whether we are cross compiling... " >&6; }
3435{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3436$as_echo "$cross_compiling" >&6; }
3437
3438{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3439$as_echo_n "checking for suffix of executables... " >&6; }
3440if { (ac_try="$ac_link"
3441case "(($ac_try" in
3442  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3443  *) ac_try_echo=$ac_try;;
3444esac
3445eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3446$as_echo "$ac_try_echo") >&5
3447  (eval "$ac_link") 2>&5
3448  ac_status=$?
3449  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3450  (exit $ac_status); }; then
3451  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3452# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3453# work properly (i.e., refer to `conftest.exe'), while it won't with
3454# `rm'.
3455for ac_file in conftest.exe conftest conftest.*; do
3456  test -f "$ac_file" || continue
3457  case $ac_file in
3458    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3459    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3460	  break;;
3461    * ) break;;
3462  esac
3463done
3464else
3465  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3466$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3467{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3468See \`config.log' for more details." >&5
3469$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3470See \`config.log' for more details." >&2;}
3471   { (exit 1); exit 1; }; }; }
3472fi
3473
3474rm -f conftest$ac_cv_exeext
3475{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3476$as_echo "$ac_cv_exeext" >&6; }
3477
3478rm -f conftest.$ac_ext
3479EXEEXT=$ac_cv_exeext
3480ac_exeext=$EXEEXT
3481{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3482$as_echo_n "checking for suffix of object files... " >&6; }
3483if test "${ac_cv_objext+set}" = set; then
3484  $as_echo_n "(cached) " >&6
3485else
3486  cat >conftest.$ac_ext <<_ACEOF
3487/* confdefs.h.  */
3488_ACEOF
3489cat confdefs.h >>conftest.$ac_ext
3490cat >>conftest.$ac_ext <<_ACEOF
3491/* end confdefs.h.  */
3492
3493int
3494main ()
3495{
3496
3497  ;
3498  return 0;
3499}
3500_ACEOF
3501rm -f conftest.o conftest.obj
3502if { (ac_try="$ac_compile"
3503case "(($ac_try" in
3504  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3505  *) ac_try_echo=$ac_try;;
3506esac
3507eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3508$as_echo "$ac_try_echo") >&5
3509  (eval "$ac_compile") 2>&5
3510  ac_status=$?
3511  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3512  (exit $ac_status); }; then
3513  for ac_file in conftest.o conftest.obj conftest.*; do
3514  test -f "$ac_file" || continue;
3515  case $ac_file in
3516    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3517    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3518       break;;
3519  esac
3520done
3521else
3522  $as_echo "$as_me: failed program was:" >&5
3523sed 's/^/| /' conftest.$ac_ext >&5
3524
3525{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3526$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3527{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3528See \`config.log' for more details." >&5
3529$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3530See \`config.log' for more details." >&2;}
3531   { (exit 1); exit 1; }; }; }
3532fi
3533
3534rm -f conftest.$ac_cv_objext conftest.$ac_ext
3535fi
3536{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3537$as_echo "$ac_cv_objext" >&6; }
3538OBJEXT=$ac_cv_objext
3539ac_objext=$OBJEXT
3540{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3541$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3542if test "${ac_cv_c_compiler_gnu+set}" = set; then
3543  $as_echo_n "(cached) " >&6
3544else
3545  cat >conftest.$ac_ext <<_ACEOF
3546/* confdefs.h.  */
3547_ACEOF
3548cat confdefs.h >>conftest.$ac_ext
3549cat >>conftest.$ac_ext <<_ACEOF
3550/* end confdefs.h.  */
3551
3552int
3553main ()
3554{
3555#ifndef __GNUC__
3556       choke me
3557#endif
3558
3559  ;
3560  return 0;
3561}
3562_ACEOF
3563rm -f conftest.$ac_objext
3564if { (ac_try="$ac_compile"
3565case "(($ac_try" in
3566  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3567  *) ac_try_echo=$ac_try;;
3568esac
3569eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3570$as_echo "$ac_try_echo") >&5
3571  (eval "$ac_compile") 2>conftest.er1
3572  ac_status=$?
3573  grep -v '^ *+' conftest.er1 >conftest.err
3574  rm -f conftest.er1
3575  cat conftest.err >&5
3576  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3577  (exit $ac_status); } && {
3578	 test -z "$ac_c_werror_flag" ||
3579	 test ! -s conftest.err
3580       } && test -s conftest.$ac_objext; then
3581  ac_compiler_gnu=yes
3582else
3583  $as_echo "$as_me: failed program was:" >&5
3584sed 's/^/| /' conftest.$ac_ext >&5
3585
3586	ac_compiler_gnu=no
3587fi
3588
3589rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3590ac_cv_c_compiler_gnu=$ac_compiler_gnu
3591
3592fi
3593{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3594$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3595if test $ac_compiler_gnu = yes; then
3596  GCC=yes
3597else
3598  GCC=
3599fi
3600ac_test_CFLAGS=${CFLAGS+set}
3601ac_save_CFLAGS=$CFLAGS
3602{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3603$as_echo_n "checking whether $CC accepts -g... " >&6; }
3604if test "${ac_cv_prog_cc_g+set}" = set; then
3605  $as_echo_n "(cached) " >&6
3606else
3607  ac_save_c_werror_flag=$ac_c_werror_flag
3608   ac_c_werror_flag=yes
3609   ac_cv_prog_cc_g=no
3610   CFLAGS="-g"
3611   cat >conftest.$ac_ext <<_ACEOF
3612/* confdefs.h.  */
3613_ACEOF
3614cat confdefs.h >>conftest.$ac_ext
3615cat >>conftest.$ac_ext <<_ACEOF
3616/* end confdefs.h.  */
3617
3618int
3619main ()
3620{
3621
3622  ;
3623  return 0;
3624}
3625_ACEOF
3626rm -f conftest.$ac_objext
3627if { (ac_try="$ac_compile"
3628case "(($ac_try" in
3629  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3630  *) ac_try_echo=$ac_try;;
3631esac
3632eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3633$as_echo "$ac_try_echo") >&5
3634  (eval "$ac_compile") 2>conftest.er1
3635  ac_status=$?
3636  grep -v '^ *+' conftest.er1 >conftest.err
3637  rm -f conftest.er1
3638  cat conftest.err >&5
3639  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3640  (exit $ac_status); } && {
3641	 test -z "$ac_c_werror_flag" ||
3642	 test ! -s conftest.err
3643       } && test -s conftest.$ac_objext; then
3644  ac_cv_prog_cc_g=yes
3645else
3646  $as_echo "$as_me: failed program was:" >&5
3647sed 's/^/| /' conftest.$ac_ext >&5
3648
3649	CFLAGS=""
3650      cat >conftest.$ac_ext <<_ACEOF
3651/* confdefs.h.  */
3652_ACEOF
3653cat confdefs.h >>conftest.$ac_ext
3654cat >>conftest.$ac_ext <<_ACEOF
3655/* end confdefs.h.  */
3656
3657int
3658main ()
3659{
3660
3661  ;
3662  return 0;
3663}
3664_ACEOF
3665rm -f conftest.$ac_objext
3666if { (ac_try="$ac_compile"
3667case "(($ac_try" in
3668  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3669  *) ac_try_echo=$ac_try;;
3670esac
3671eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3672$as_echo "$ac_try_echo") >&5
3673  (eval "$ac_compile") 2>conftest.er1
3674  ac_status=$?
3675  grep -v '^ *+' conftest.er1 >conftest.err
3676  rm -f conftest.er1
3677  cat conftest.err >&5
3678  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3679  (exit $ac_status); } && {
3680	 test -z "$ac_c_werror_flag" ||
3681	 test ! -s conftest.err
3682       } && test -s conftest.$ac_objext; then
3683  :
3684else
3685  $as_echo "$as_me: failed program was:" >&5
3686sed 's/^/| /' conftest.$ac_ext >&5
3687
3688	ac_c_werror_flag=$ac_save_c_werror_flag
3689	 CFLAGS="-g"
3690	 cat >conftest.$ac_ext <<_ACEOF
3691/* confdefs.h.  */
3692_ACEOF
3693cat confdefs.h >>conftest.$ac_ext
3694cat >>conftest.$ac_ext <<_ACEOF
3695/* end confdefs.h.  */
3696
3697int
3698main ()
3699{
3700
3701  ;
3702  return 0;
3703}
3704_ACEOF
3705rm -f conftest.$ac_objext
3706if { (ac_try="$ac_compile"
3707case "(($ac_try" in
3708  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3709  *) ac_try_echo=$ac_try;;
3710esac
3711eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3712$as_echo "$ac_try_echo") >&5
3713  (eval "$ac_compile") 2>conftest.er1
3714  ac_status=$?
3715  grep -v '^ *+' conftest.er1 >conftest.err
3716  rm -f conftest.er1
3717  cat conftest.err >&5
3718  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3719  (exit $ac_status); } && {
3720	 test -z "$ac_c_werror_flag" ||
3721	 test ! -s conftest.err
3722       } && test -s conftest.$ac_objext; then
3723  ac_cv_prog_cc_g=yes
3724else
3725  $as_echo "$as_me: failed program was:" >&5
3726sed 's/^/| /' conftest.$ac_ext >&5
3727
3728
3729fi
3730
3731rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3732fi
3733
3734rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3735fi
3736
3737rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3738   ac_c_werror_flag=$ac_save_c_werror_flag
3739fi
3740{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3741$as_echo "$ac_cv_prog_cc_g" >&6; }
3742if test "$ac_test_CFLAGS" = set; then
3743  CFLAGS=$ac_save_CFLAGS
3744elif test $ac_cv_prog_cc_g = yes; then
3745  if test "$GCC" = yes; then
3746    CFLAGS="-g -O2"
3747  else
3748    CFLAGS="-g"
3749  fi
3750else
3751  if test "$GCC" = yes; then
3752    CFLAGS="-O2"
3753  else
3754    CFLAGS=
3755  fi
3756fi
3757{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3758$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3759if test "${ac_cv_prog_cc_c89+set}" = set; then
3760  $as_echo_n "(cached) " >&6
3761else
3762  ac_cv_prog_cc_c89=no
3763ac_save_CC=$CC
3764cat >conftest.$ac_ext <<_ACEOF
3765/* confdefs.h.  */
3766_ACEOF
3767cat confdefs.h >>conftest.$ac_ext
3768cat >>conftest.$ac_ext <<_ACEOF
3769/* end confdefs.h.  */
3770#include <stdarg.h>
3771#include <stdio.h>
3772#include <sys/types.h>
3773#include <sys/stat.h>
3774/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3775struct buf { int x; };
3776FILE * (*rcsopen) (struct buf *, struct stat *, int);
3777static char *e (p, i)
3778     char **p;
3779     int i;
3780{
3781  return p[i];
3782}
3783static char *f (char * (*g) (char **, int), char **p, ...)
3784{
3785  char *s;
3786  va_list v;
3787  va_start (v,p);
3788  s = g (p, va_arg (v,int));
3789  va_end (v);
3790  return s;
3791}
3792
3793/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3794   function prototypes and stuff, but not '\xHH' hex character constants.
3795   These don't provoke an error unfortunately, instead are silently treated
3796   as 'x'.  The following induces an error, until -std is added to get
3797   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3798   array size at least.  It's necessary to write '\x00'==0 to get something
3799   that's true only with -std.  */
3800int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3801
3802/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3803   inside strings and character constants.  */
3804#define FOO(x) 'x'
3805int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3806
3807int test (int i, double x);
3808struct s1 {int (*f) (int a);};
3809struct s2 {int (*f) (double a);};
3810int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3811int argc;
3812char **argv;
3813int
3814main ()
3815{
3816return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3817  ;
3818  return 0;
3819}
3820_ACEOF
3821for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3822	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3823do
3824  CC="$ac_save_CC $ac_arg"
3825  rm -f conftest.$ac_objext
3826if { (ac_try="$ac_compile"
3827case "(($ac_try" in
3828  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3829  *) ac_try_echo=$ac_try;;
3830esac
3831eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3832$as_echo "$ac_try_echo") >&5
3833  (eval "$ac_compile") 2>conftest.er1
3834  ac_status=$?
3835  grep -v '^ *+' conftest.er1 >conftest.err
3836  rm -f conftest.er1
3837  cat conftest.err >&5
3838  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3839  (exit $ac_status); } && {
3840	 test -z "$ac_c_werror_flag" ||
3841	 test ! -s conftest.err
3842       } && test -s conftest.$ac_objext; then
3843  ac_cv_prog_cc_c89=$ac_arg
3844else
3845  $as_echo "$as_me: failed program was:" >&5
3846sed 's/^/| /' conftest.$ac_ext >&5
3847
3848
3849fi
3850
3851rm -f core conftest.err conftest.$ac_objext
3852  test "x$ac_cv_prog_cc_c89" != "xno" && break
3853done
3854rm -f conftest.$ac_ext
3855CC=$ac_save_CC
3856
3857fi
3858# AC_CACHE_VAL
3859case "x$ac_cv_prog_cc_c89" in
3860  x)
3861    { $as_echo "$as_me:$LINENO: result: none needed" >&5
3862$as_echo "none needed" >&6; } ;;
3863  xno)
3864    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3865$as_echo "unsupported" >&6; } ;;
3866  *)
3867    CC="$CC $ac_cv_prog_cc_c89"
3868    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3869$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3870esac
3871
3872
3873ac_ext=c
3874ac_cpp='$CPP $CPPFLAGS'
3875ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3876ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3877ac_compiler_gnu=$ac_cv_c_compiler_gnu
3878
3879depcc="$CC"   am_compiler_list=
3880
3881{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3882$as_echo_n "checking dependency style of $depcc... " >&6; }
3883if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3884  $as_echo_n "(cached) " >&6
3885else
3886  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3887  # We make a subdir and do the tests there.  Otherwise we can end up
3888  # making bogus files that we don't know about and never remove.  For
3889  # instance it was reported that on HP-UX the gcc test will end up
3890  # making a dummy file named `D' -- because `-MD' means `put the output
3891  # in D'.
3892  mkdir conftest.dir
3893  # Copy depcomp to subdir because otherwise we won't find it if we're
3894  # using a relative directory.
3895  cp "$am_depcomp" conftest.dir
3896  cd conftest.dir
3897  # We will build objects and dependencies in a subdirectory because
3898  # it helps to detect inapplicable dependency modes.  For instance
3899  # both Tru64's cc and ICC support -MD to output dependencies as a
3900  # side effect of compilation, but ICC will put the dependencies in
3901  # the current directory while Tru64 will put them in the object
3902  # directory.
3903  mkdir sub
3904
3905  am_cv_CC_dependencies_compiler_type=none
3906  if test "$am_compiler_list" = ""; then
3907     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3908  fi
3909  am__universal=false
3910  case " $depcc " in #(
3911     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3912     esac
3913
3914  for depmode in $am_compiler_list; do
3915    # Setup a source with many dependencies, because some compilers
3916    # like to wrap large dependency lists on column 80 (with \), and
3917    # we should not choose a depcomp mode which is confused by this.
3918    #
3919    # We need to recreate these files for each test, as the compiler may
3920    # overwrite some of them when testing with obscure command lines.
3921    # This happens at least with the AIX C compiler.
3922    : > sub/conftest.c
3923    for i in 1 2 3 4 5 6; do
3924      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3925      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3926      # Solaris 8's {/usr,}/bin/sh.
3927      touch sub/conftst$i.h
3928    done
3929    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3930
3931    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3932    # mode.  It turns out that the SunPro C++ compiler does not properly
3933    # handle `-M -o', and we need to detect this.  Also, some Intel
3934    # versions had trouble with output in subdirs
3935    am__obj=sub/conftest.${OBJEXT-o}
3936    am__minus_obj="-o $am__obj"
3937    case $depmode in
3938    gcc)
3939      # This depmode causes a compiler race in universal mode.
3940      test "$am__universal" = false || continue
3941      ;;
3942    nosideeffect)
3943      # after this tag, mechanisms are not by side-effect, so they'll
3944      # only be used when explicitly requested
3945      if test "x$enable_dependency_tracking" = xyes; then
3946	continue
3947      else
3948	break
3949      fi
3950      ;;
3951    msvisualcpp | msvcmsys)
3952      # This compiler won't grok `-c -o', but also, the minuso test has
3953      # not run yet.  These depmodes are late enough in the game, and
3954      # so weak that their functioning should not be impacted.
3955      am__obj=conftest.${OBJEXT-o}
3956      am__minus_obj=
3957      ;;
3958    none) break ;;
3959    esac
3960    if depmode=$depmode \
3961       source=sub/conftest.c object=$am__obj \
3962       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3963       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3964         >/dev/null 2>conftest.err &&
3965       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3966       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3967       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3968       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3969      # icc doesn't choke on unknown options, it will just issue warnings
3970      # or remarks (even with -Werror).  So we grep stderr for any message
3971      # that says an option was ignored or not supported.
3972      # When given -MP, icc 7.0 and 7.1 complain thusly:
3973      #   icc: Command line warning: ignoring option '-M'; no argument required
3974      # The diagnosis changed in icc 8.0:
3975      #   icc: Command line remark: option '-MP' not supported
3976      if (grep 'ignoring option' conftest.err ||
3977          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3978        am_cv_CC_dependencies_compiler_type=$depmode
3979        break
3980      fi
3981    fi
3982  done
3983
3984  cd ..
3985  rm -rf conftest.dir
3986else
3987  am_cv_CC_dependencies_compiler_type=none
3988fi
3989
3990fi
3991{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3992$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3993CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3994
3995 if
3996  test "x$enable_dependency_tracking" != xno \
3997  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3998  am__fastdepCC_TRUE=
3999  am__fastdepCC_FALSE='#'
4000else
4001  am__fastdepCC_TRUE='#'
4002  am__fastdepCC_FALSE=
4003fi
4004
4005
4006
4007{ $as_echo "$as_me:$LINENO: checking for EVP_DigestUpdate in -lcrypto" >&5
4008$as_echo_n "checking for EVP_DigestUpdate in -lcrypto... " >&6; }
4009if test "${ac_cv_lib_crypto_EVP_DigestUpdate+set}" = set; then
4010  $as_echo_n "(cached) " >&6
4011else
4012  ac_check_lib_save_LIBS=$LIBS
4013LIBS="-lcrypto  $LIBS"
4014cat >conftest.$ac_ext <<_ACEOF
4015/* confdefs.h.  */
4016_ACEOF
4017cat confdefs.h >>conftest.$ac_ext
4018cat >>conftest.$ac_ext <<_ACEOF
4019/* end confdefs.h.  */
4020
4021/* Override any GCC internal prototype to avoid an error.
4022   Use char because int might match the return type of a GCC
4023   builtin and then its argument prototype would still apply.  */
4024#ifdef __cplusplus
4025extern "C"
4026#endif
4027char EVP_DigestUpdate ();
4028int
4029main ()
4030{
4031return EVP_DigestUpdate ();
4032  ;
4033  return 0;
4034}
4035_ACEOF
4036rm -f conftest.$ac_objext conftest$ac_exeext
4037if { (ac_try="$ac_link"
4038case "(($ac_try" in
4039  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4040  *) ac_try_echo=$ac_try;;
4041esac
4042eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4043$as_echo "$ac_try_echo") >&5
4044  (eval "$ac_link") 2>conftest.er1
4045  ac_status=$?
4046  grep -v '^ *+' conftest.er1 >conftest.err
4047  rm -f conftest.er1
4048  cat conftest.err >&5
4049  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4050  (exit $ac_status); } && {
4051	 test -z "$ac_c_werror_flag" ||
4052	 test ! -s conftest.err
4053       } && test -s conftest$ac_exeext && {
4054	 test "$cross_compiling" = yes ||
4055	 $as_test_x conftest$ac_exeext
4056       }; then
4057  ac_cv_lib_crypto_EVP_DigestUpdate=yes
4058else
4059  $as_echo "$as_me: failed program was:" >&5
4060sed 's/^/| /' conftest.$ac_ext >&5
4061
4062	ac_cv_lib_crypto_EVP_DigestUpdate=no
4063fi
4064
4065rm -rf conftest.dSYM
4066rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4067      conftest$ac_exeext conftest.$ac_ext
4068LIBS=$ac_check_lib_save_LIBS
4069fi
4070{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_EVP_DigestUpdate" >&5
4071$as_echo "$ac_cv_lib_crypto_EVP_DigestUpdate" >&6; }
4072if test "x$ac_cv_lib_crypto_EVP_DigestUpdate" = x""yes; then
4073  CRYPTO_PACKAGE='openssl'
4074else
4075  { { $as_echo "$as_me:$LINENO: error: openssl is currently the only supported crypto library for trousers. Please install openssl from http://www.openssl.org or the -devel package from your distro" >&5
4076$as_echo "$as_me: error: openssl is currently the only supported crypto library for trousers. Please install openssl from http://www.openssl.org or the -devel package from your distro" >&2;}
4077   { (exit 1); exit 1; }; }
4078fi
4079
4080
4081CRYPTOLIB=-lcrypto
4082
4083
4084# Check whether --enable-gcov was given.
4085if test "${enable_gcov+set}" = set; then
4086  enableval=$enable_gcov; CFLAGS="$CFLAGS -ftest-coverage -fprofile-arcs"
4087		 { $as_echo "$as_me:$LINENO: result: *** Enabling gcov at user request ***" >&5
4088$as_echo "*** Enabling gcov at user request ***" >&6; }
4089fi
4090
4091
4092# profiling support
4093# Check whether --enable-gprof was given.
4094if test "${enable_gprof+set}" = set; then
4095  enableval=$enable_gprof; CFLAGS="$CFLAGS -pg"
4096		 { $as_echo "$as_me:$LINENO: result: *** Enabling profiling at user request ***" >&5
4097$as_echo "*** Enabling profiling at user request ***" >&6; }
4098fi
4099
4100
4101SPEC_COMP=0
4102# strict spec compliance
4103# Check whether --enable-strict-spec-compliance was given.
4104if test "${enable_strict_spec_compliance+set}" = set; then
4105  enableval=$enable_strict_spec_compliance; CFLAGS="$CFLAGS -DTSS_SPEC_COMPLIANCE"
4106		 SPEC_COMP=1
4107		 { $as_echo "$as_me:$LINENO: result: *** Enabling spec compliance at user request ***" >&5
4108$as_echo "*** Enabling spec compliance at user request ***" >&6; }
4109fi
4110
4111
4112# user+group checking
4113# Check whether --enable-usercheck was given.
4114if test "${enable_usercheck+set}" = set; then
4115  enableval=$enable_usercheck; if test "x$enableval" = "xno"; then
4116  CFLAGS="$CFLAGS -DNOUSERCHECK"
4117		{ $as_echo "$as_me:$LINENO: result: *** Disabling user checking at user request ***" >&5
4118$as_echo "*** Disabling user checking at user request ***" >&6; }
4119fi
4120
4121fi
4122
4123 if test "x$enable_usercheck" = "xno"; then
4124  NOUSERCHECK_TRUE=
4125  NOUSERCHECK_FALSE='#'
4126else
4127  NOUSERCHECK_TRUE='#'
4128  NOUSERCHECK_FALSE=
4129fi
4130
4131
4132# daa math lib: gmp or openssl (default openssl)
4133MATH_DEFINE=BI_OPENSSL
4134ac_ext=c
4135ac_cpp='$CPP $CPPFLAGS'
4136ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4137ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4138ac_compiler_gnu=$ac_cv_c_compiler_gnu
4139{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4140$as_echo_n "checking how to run the C preprocessor... " >&6; }
4141# On Suns, sometimes $CPP names a directory.
4142if test -n "$CPP" && test -d "$CPP"; then
4143  CPP=
4144fi
4145if test -z "$CPP"; then
4146  if test "${ac_cv_prog_CPP+set}" = set; then
4147  $as_echo_n "(cached) " >&6
4148else
4149      # Double quotes because CPP needs to be expanded
4150    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4151    do
4152      ac_preproc_ok=false
4153for ac_c_preproc_warn_flag in '' yes
4154do
4155  # Use a header file that comes with gcc, so configuring glibc
4156  # with a fresh cross-compiler works.
4157  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4158  # <limits.h> exists even on freestanding compilers.
4159  # On the NeXT, cc -E runs the code through the compiler's parser,
4160  # not just through cpp. "Syntax error" is here to catch this case.
4161  cat >conftest.$ac_ext <<_ACEOF
4162/* confdefs.h.  */
4163_ACEOF
4164cat confdefs.h >>conftest.$ac_ext
4165cat >>conftest.$ac_ext <<_ACEOF
4166/* end confdefs.h.  */
4167#ifdef __STDC__
4168# include <limits.h>
4169#else
4170# include <assert.h>
4171#endif
4172		     Syntax error
4173_ACEOF
4174if { (ac_try="$ac_cpp conftest.$ac_ext"
4175case "(($ac_try" in
4176  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4177  *) ac_try_echo=$ac_try;;
4178esac
4179eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4180$as_echo "$ac_try_echo") >&5
4181  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4182  ac_status=$?
4183  grep -v '^ *+' conftest.er1 >conftest.err
4184  rm -f conftest.er1
4185  cat conftest.err >&5
4186  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4187  (exit $ac_status); } >/dev/null && {
4188	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4189	 test ! -s conftest.err
4190       }; then
4191  :
4192else
4193  $as_echo "$as_me: failed program was:" >&5
4194sed 's/^/| /' conftest.$ac_ext >&5
4195
4196  # Broken: fails on valid input.
4197continue
4198fi
4199
4200rm -f conftest.err conftest.$ac_ext
4201
4202  # OK, works on sane cases.  Now check whether nonexistent headers
4203  # can be detected and how.
4204  cat >conftest.$ac_ext <<_ACEOF
4205/* confdefs.h.  */
4206_ACEOF
4207cat confdefs.h >>conftest.$ac_ext
4208cat >>conftest.$ac_ext <<_ACEOF
4209/* end confdefs.h.  */
4210#include <ac_nonexistent.h>
4211_ACEOF
4212if { (ac_try="$ac_cpp conftest.$ac_ext"
4213case "(($ac_try" in
4214  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4215  *) ac_try_echo=$ac_try;;
4216esac
4217eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4218$as_echo "$ac_try_echo") >&5
4219  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4220  ac_status=$?
4221  grep -v '^ *+' conftest.er1 >conftest.err
4222  rm -f conftest.er1
4223  cat conftest.err >&5
4224  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4225  (exit $ac_status); } >/dev/null && {
4226	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4227	 test ! -s conftest.err
4228       }; then
4229  # Broken: success on invalid input.
4230continue
4231else
4232  $as_echo "$as_me: failed program was:" >&5
4233sed 's/^/| /' conftest.$ac_ext >&5
4234
4235  # Passes both tests.
4236ac_preproc_ok=:
4237break
4238fi
4239
4240rm -f conftest.err conftest.$ac_ext
4241
4242done
4243# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4244rm -f conftest.err conftest.$ac_ext
4245if $ac_preproc_ok; then
4246  break
4247fi
4248
4249    done
4250    ac_cv_prog_CPP=$CPP
4251
4252fi
4253  CPP=$ac_cv_prog_CPP
4254else
4255  ac_cv_prog_CPP=$CPP
4256fi
4257{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
4258$as_echo "$CPP" >&6; }
4259ac_preproc_ok=false
4260for ac_c_preproc_warn_flag in '' yes
4261do
4262  # Use a header file that comes with gcc, so configuring glibc
4263  # with a fresh cross-compiler works.
4264  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4265  # <limits.h> exists even on freestanding compilers.
4266  # On the NeXT, cc -E runs the code through the compiler's parser,
4267  # not just through cpp. "Syntax error" is here to catch this case.
4268  cat >conftest.$ac_ext <<_ACEOF
4269/* confdefs.h.  */
4270_ACEOF
4271cat confdefs.h >>conftest.$ac_ext
4272cat >>conftest.$ac_ext <<_ACEOF
4273/* end confdefs.h.  */
4274#ifdef __STDC__
4275# include <limits.h>
4276#else
4277# include <assert.h>
4278#endif
4279		     Syntax error
4280_ACEOF
4281if { (ac_try="$ac_cpp conftest.$ac_ext"
4282case "(($ac_try" in
4283  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4284  *) ac_try_echo=$ac_try;;
4285esac
4286eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4287$as_echo "$ac_try_echo") >&5
4288  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4289  ac_status=$?
4290  grep -v '^ *+' conftest.er1 >conftest.err
4291  rm -f conftest.er1
4292  cat conftest.err >&5
4293  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4294  (exit $ac_status); } >/dev/null && {
4295	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4296	 test ! -s conftest.err
4297       }; then
4298  :
4299else
4300  $as_echo "$as_me: failed program was:" >&5
4301sed 's/^/| /' conftest.$ac_ext >&5
4302
4303  # Broken: fails on valid input.
4304continue
4305fi
4306
4307rm -f conftest.err conftest.$ac_ext
4308
4309  # OK, works on sane cases.  Now check whether nonexistent headers
4310  # can be detected and how.
4311  cat >conftest.$ac_ext <<_ACEOF
4312/* confdefs.h.  */
4313_ACEOF
4314cat confdefs.h >>conftest.$ac_ext
4315cat >>conftest.$ac_ext <<_ACEOF
4316/* end confdefs.h.  */
4317#include <ac_nonexistent.h>
4318_ACEOF
4319if { (ac_try="$ac_cpp conftest.$ac_ext"
4320case "(($ac_try" in
4321  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4322  *) ac_try_echo=$ac_try;;
4323esac
4324eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4325$as_echo "$ac_try_echo") >&5
4326  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4327  ac_status=$?
4328  grep -v '^ *+' conftest.er1 >conftest.err
4329  rm -f conftest.er1
4330  cat conftest.err >&5
4331  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4332  (exit $ac_status); } >/dev/null && {
4333	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4334	 test ! -s conftest.err
4335       }; then
4336  # Broken: success on invalid input.
4337continue
4338else
4339  $as_echo "$as_me: failed program was:" >&5
4340sed 's/^/| /' conftest.$ac_ext >&5
4341
4342  # Passes both tests.
4343ac_preproc_ok=:
4344break
4345fi
4346
4347rm -f conftest.err conftest.$ac_ext
4348
4349done
4350# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4351rm -f conftest.err conftest.$ac_ext
4352if $ac_preproc_ok; then
4353  :
4354else
4355  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4356$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4357{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4358See \`config.log' for more details." >&5
4359$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4360See \`config.log' for more details." >&2;}
4361   { (exit 1); exit 1; }; }; }
4362fi
4363
4364ac_ext=c
4365ac_cpp='$CPP $CPPFLAGS'
4366ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4367ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4368ac_compiler_gnu=$ac_cv_c_compiler_gnu
4369
4370
4371{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4372$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4373if test "${ac_cv_path_GREP+set}" = set; then
4374  $as_echo_n "(cached) " >&6
4375else
4376  if test -z "$GREP"; then
4377  ac_path_GREP_found=false
4378  # Loop through the user's path and test for each of PROGNAME-LIST
4379  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4380for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4381do
4382  IFS=$as_save_IFS
4383  test -z "$as_dir" && as_dir=.
4384  for ac_prog in grep ggrep; do
4385    for ac_exec_ext in '' $ac_executable_extensions; do
4386      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4387      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4388# Check for GNU ac_path_GREP and select it if it is found.
4389  # Check for GNU $ac_path_GREP
4390case `"$ac_path_GREP" --version 2>&1` in
4391*GNU*)
4392  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4393*)
4394  ac_count=0
4395  $as_echo_n 0123456789 >"conftest.in"
4396  while :
4397  do
4398    cat "conftest.in" "conftest.in" >"conftest.tmp"
4399    mv "conftest.tmp" "conftest.in"
4400    cp "conftest.in" "conftest.nl"
4401    $as_echo 'GREP' >> "conftest.nl"
4402    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4403    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4404    ac_count=`expr $ac_count + 1`
4405    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4406      # Best one so far, save it but keep looking for a better one
4407      ac_cv_path_GREP="$ac_path_GREP"
4408      ac_path_GREP_max=$ac_count
4409    fi
4410    # 10*(2^10) chars as input seems more than enough
4411    test $ac_count -gt 10 && break
4412  done
4413  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4414esac
4415
4416      $ac_path_GREP_found && break 3
4417    done
4418  done
4419done
4420IFS=$as_save_IFS
4421  if test -z "$ac_cv_path_GREP"; then
4422    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4423$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4424   { (exit 1); exit 1; }; }
4425  fi
4426else
4427  ac_cv_path_GREP=$GREP
4428fi
4429
4430fi
4431{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4432$as_echo "$ac_cv_path_GREP" >&6; }
4433 GREP="$ac_cv_path_GREP"
4434
4435
4436{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
4437$as_echo_n "checking for egrep... " >&6; }
4438if test "${ac_cv_path_EGREP+set}" = set; then
4439  $as_echo_n "(cached) " >&6
4440else
4441  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4442   then ac_cv_path_EGREP="$GREP -E"
4443   else
4444     if test -z "$EGREP"; then
4445  ac_path_EGREP_found=false
4446  # Loop through the user's path and test for each of PROGNAME-LIST
4447  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4448for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4449do
4450  IFS=$as_save_IFS
4451  test -z "$as_dir" && as_dir=.
4452  for ac_prog in egrep; do
4453    for ac_exec_ext in '' $ac_executable_extensions; do
4454      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4455      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4456# Check for GNU ac_path_EGREP and select it if it is found.
4457  # Check for GNU $ac_path_EGREP
4458case `"$ac_path_EGREP" --version 2>&1` in
4459*GNU*)
4460  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4461*)
4462  ac_count=0
4463  $as_echo_n 0123456789 >"conftest.in"
4464  while :
4465  do
4466    cat "conftest.in" "conftest.in" >"conftest.tmp"
4467    mv "conftest.tmp" "conftest.in"
4468    cp "conftest.in" "conftest.nl"
4469    $as_echo 'EGREP' >> "conftest.nl"
4470    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4471    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4472    ac_count=`expr $ac_count + 1`
4473    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4474      # Best one so far, save it but keep looking for a better one
4475      ac_cv_path_EGREP="$ac_path_EGREP"
4476      ac_path_EGREP_max=$ac_count
4477    fi
4478    # 10*(2^10) chars as input seems more than enough
4479    test $ac_count -gt 10 && break
4480  done
4481  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4482esac
4483
4484      $ac_path_EGREP_found && break 3
4485    done
4486  done
4487done
4488IFS=$as_save_IFS
4489  if test -z "$ac_cv_path_EGREP"; then
4490    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4491$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4492   { (exit 1); exit 1; }; }
4493  fi
4494else
4495  ac_cv_path_EGREP=$EGREP
4496fi
4497
4498   fi
4499fi
4500{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4501$as_echo "$ac_cv_path_EGREP" >&6; }
4502 EGREP="$ac_cv_path_EGREP"
4503
4504
4505{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4506$as_echo_n "checking for ANSI C header files... " >&6; }
4507if test "${ac_cv_header_stdc+set}" = set; then
4508  $as_echo_n "(cached) " >&6
4509else
4510  cat >conftest.$ac_ext <<_ACEOF
4511/* confdefs.h.  */
4512_ACEOF
4513cat confdefs.h >>conftest.$ac_ext
4514cat >>conftest.$ac_ext <<_ACEOF
4515/* end confdefs.h.  */
4516#include <stdlib.h>
4517#include <stdarg.h>
4518#include <string.h>
4519#include <float.h>
4520
4521int
4522main ()
4523{
4524
4525  ;
4526  return 0;
4527}
4528_ACEOF
4529rm -f conftest.$ac_objext
4530if { (ac_try="$ac_compile"
4531case "(($ac_try" in
4532  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4533  *) ac_try_echo=$ac_try;;
4534esac
4535eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4536$as_echo "$ac_try_echo") >&5
4537  (eval "$ac_compile") 2>conftest.er1
4538  ac_status=$?
4539  grep -v '^ *+' conftest.er1 >conftest.err
4540  rm -f conftest.er1
4541  cat conftest.err >&5
4542  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4543  (exit $ac_status); } && {
4544	 test -z "$ac_c_werror_flag" ||
4545	 test ! -s conftest.err
4546       } && test -s conftest.$ac_objext; then
4547  ac_cv_header_stdc=yes
4548else
4549  $as_echo "$as_me: failed program was:" >&5
4550sed 's/^/| /' conftest.$ac_ext >&5
4551
4552	ac_cv_header_stdc=no
4553fi
4554
4555rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4556
4557if test $ac_cv_header_stdc = yes; then
4558  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4559  cat >conftest.$ac_ext <<_ACEOF
4560/* confdefs.h.  */
4561_ACEOF
4562cat confdefs.h >>conftest.$ac_ext
4563cat >>conftest.$ac_ext <<_ACEOF
4564/* end confdefs.h.  */
4565#include <string.h>
4566
4567_ACEOF
4568if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4569  $EGREP "memchr" >/dev/null 2>&1; then
4570  :
4571else
4572  ac_cv_header_stdc=no
4573fi
4574rm -f conftest*
4575
4576fi
4577
4578if test $ac_cv_header_stdc = yes; then
4579  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4580  cat >conftest.$ac_ext <<_ACEOF
4581/* confdefs.h.  */
4582_ACEOF
4583cat confdefs.h >>conftest.$ac_ext
4584cat >>conftest.$ac_ext <<_ACEOF
4585/* end confdefs.h.  */
4586#include <stdlib.h>
4587
4588_ACEOF
4589if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4590  $EGREP "free" >/dev/null 2>&1; then
4591  :
4592else
4593  ac_cv_header_stdc=no
4594fi
4595rm -f conftest*
4596
4597fi
4598
4599if test $ac_cv_header_stdc = yes; then
4600  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4601  if test "$cross_compiling" = yes; then
4602  :
4603else
4604  cat >conftest.$ac_ext <<_ACEOF
4605/* confdefs.h.  */
4606_ACEOF
4607cat confdefs.h >>conftest.$ac_ext
4608cat >>conftest.$ac_ext <<_ACEOF
4609/* end confdefs.h.  */
4610#include <ctype.h>
4611#include <stdlib.h>
4612#if ((' ' & 0x0FF) == 0x020)
4613# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4614# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4615#else
4616# define ISLOWER(c) \
4617		   (('a' <= (c) && (c) <= 'i') \
4618		     || ('j' <= (c) && (c) <= 'r') \
4619		     || ('s' <= (c) && (c) <= 'z'))
4620# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4621#endif
4622
4623#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4624int
4625main ()
4626{
4627  int i;
4628  for (i = 0; i < 256; i++)
4629    if (XOR (islower (i), ISLOWER (i))
4630	|| toupper (i) != TOUPPER (i))
4631      return 2;
4632  return 0;
4633}
4634_ACEOF
4635rm -f conftest$ac_exeext
4636if { (ac_try="$ac_link"
4637case "(($ac_try" in
4638  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4639  *) ac_try_echo=$ac_try;;
4640esac
4641eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4642$as_echo "$ac_try_echo") >&5
4643  (eval "$ac_link") 2>&5
4644  ac_status=$?
4645  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4646  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4647  { (case "(($ac_try" in
4648  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4649  *) ac_try_echo=$ac_try;;
4650esac
4651eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4652$as_echo "$ac_try_echo") >&5
4653  (eval "$ac_try") 2>&5
4654  ac_status=$?
4655  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4656  (exit $ac_status); }; }; then
4657  :
4658else
4659  $as_echo "$as_me: program exited with status $ac_status" >&5
4660$as_echo "$as_me: failed program was:" >&5
4661sed 's/^/| /' conftest.$ac_ext >&5
4662
4663( exit $ac_status )
4664ac_cv_header_stdc=no
4665fi
4666rm -rf conftest.dSYM
4667rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4668fi
4669
4670
4671fi
4672fi
4673{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4674$as_echo "$ac_cv_header_stdc" >&6; }
4675if test $ac_cv_header_stdc = yes; then
4676
4677cat >>confdefs.h <<\_ACEOF
4678#define STDC_HEADERS 1
4679_ACEOF
4680
4681fi
4682
4683# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4694		  inttypes.h stdint.h unistd.h
4695do
4696as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4697{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4698$as_echo_n "checking for $ac_header... " >&6; }
4699if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4700  $as_echo_n "(cached) " >&6
4701else
4702  cat >conftest.$ac_ext <<_ACEOF
4703/* confdefs.h.  */
4704_ACEOF
4705cat confdefs.h >>conftest.$ac_ext
4706cat >>conftest.$ac_ext <<_ACEOF
4707/* end confdefs.h.  */
4708$ac_includes_default
4709
4710#include <$ac_header>
4711_ACEOF
4712rm -f conftest.$ac_objext
4713if { (ac_try="$ac_compile"
4714case "(($ac_try" in
4715  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4716  *) ac_try_echo=$ac_try;;
4717esac
4718eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4719$as_echo "$ac_try_echo") >&5
4720  (eval "$ac_compile") 2>conftest.er1
4721  ac_status=$?
4722  grep -v '^ *+' conftest.er1 >conftest.err
4723  rm -f conftest.er1
4724  cat conftest.err >&5
4725  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4726  (exit $ac_status); } && {
4727	 test -z "$ac_c_werror_flag" ||
4728	 test ! -s conftest.err
4729       } && test -s conftest.$ac_objext; then
4730  eval "$as_ac_Header=yes"
4731else
4732  $as_echo "$as_me: failed program was:" >&5
4733sed 's/^/| /' conftest.$ac_ext >&5
4734
4735	eval "$as_ac_Header=no"
4736fi
4737
4738rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4739fi
4740ac_res=`eval 'as_val=${'$as_ac_Header'}
4741		 $as_echo "$as_val"'`
4742	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4743$as_echo "$ac_res" >&6; }
4744as_val=`eval 'as_val=${'$as_ac_Header'}
4745		 $as_echo "$as_val"'`
4746   if test "x$as_val" = x""yes; then
4747  cat >>confdefs.h <<_ACEOF
4748#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4749_ACEOF
4750
4751fi
4752
4753done
4754
4755
4756
4757# Check whether --with-gmp was given.
4758if test "${with_gmp+set}" = set; then
4759  withval=$with_gmp;
4760{ $as_echo "$as_me:$LINENO: checking for __gmp_rand in -lgmp" >&5
4761$as_echo_n "checking for __gmp_rand in -lgmp... " >&6; }
4762if test "${ac_cv_lib_gmp___gmp_rand+set}" = set; then
4763  $as_echo_n "(cached) " >&6
4764else
4765  ac_check_lib_save_LIBS=$LIBS
4766LIBS="-lgmp  $LIBS"
4767cat >conftest.$ac_ext <<_ACEOF
4768/* confdefs.h.  */
4769_ACEOF
4770cat confdefs.h >>conftest.$ac_ext
4771cat >>conftest.$ac_ext <<_ACEOF
4772/* end confdefs.h.  */
4773
4774/* Override any GCC internal prototype to avoid an error.
4775   Use char because int might match the return type of a GCC
4776   builtin and then its argument prototype would still apply.  */
4777#ifdef __cplusplus
4778extern "C"
4779#endif
4780char __gmp_rand ();
4781int
4782main ()
4783{
4784return __gmp_rand ();
4785  ;
4786  return 0;
4787}
4788_ACEOF
4789rm -f conftest.$ac_objext conftest$ac_exeext
4790if { (ac_try="$ac_link"
4791case "(($ac_try" in
4792  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4793  *) ac_try_echo=$ac_try;;
4794esac
4795eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4796$as_echo "$ac_try_echo") >&5
4797  (eval "$ac_link") 2>conftest.er1
4798  ac_status=$?
4799  grep -v '^ *+' conftest.er1 >conftest.err
4800  rm -f conftest.er1
4801  cat conftest.err >&5
4802  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4803  (exit $ac_status); } && {
4804	 test -z "$ac_c_werror_flag" ||
4805	 test ! -s conftest.err
4806       } && test -s conftest$ac_exeext && {
4807	 test "$cross_compiling" = yes ||
4808	 $as_test_x conftest$ac_exeext
4809       }; then
4810  ac_cv_lib_gmp___gmp_rand=yes
4811else
4812  $as_echo "$as_me: failed program was:" >&5
4813sed 's/^/| /' conftest.$ac_ext >&5
4814
4815	ac_cv_lib_gmp___gmp_rand=no
4816fi
4817
4818rm -rf conftest.dSYM
4819rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4820      conftest$ac_exeext conftest.$ac_ext
4821LIBS=$ac_check_lib_save_LIBS
4822fi
4823{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gmp___gmp_rand" >&5
4824$as_echo "$ac_cv_lib_gmp___gmp_rand" >&6; }
4825if test "x$ac_cv_lib_gmp___gmp_rand" = x""yes; then
4826  cat >>confdefs.h <<_ACEOF
4827#define HAVE_LIBGMP 1
4828_ACEOF
4829
4830  LIBS="-lgmp $LIBS"
4831
4832fi
4833
4834
4835for ac_header in gmp.h
4836do
4837as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4838if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4839  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4840$as_echo_n "checking for $ac_header... " >&6; }
4841if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4842  $as_echo_n "(cached) " >&6
4843fi
4844ac_res=`eval 'as_val=${'$as_ac_Header'}
4845		 $as_echo "$as_val"'`
4846	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4847$as_echo "$ac_res" >&6; }
4848else
4849  # Is the header compilable?
4850{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4851$as_echo_n "checking $ac_header usability... " >&6; }
4852cat >conftest.$ac_ext <<_ACEOF
4853/* confdefs.h.  */
4854_ACEOF
4855cat confdefs.h >>conftest.$ac_ext
4856cat >>conftest.$ac_ext <<_ACEOF
4857/* end confdefs.h.  */
4858$ac_includes_default
4859#include <$ac_header>
4860_ACEOF
4861rm -f conftest.$ac_objext
4862if { (ac_try="$ac_compile"
4863case "(($ac_try" in
4864  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4865  *) ac_try_echo=$ac_try;;
4866esac
4867eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4868$as_echo "$ac_try_echo") >&5
4869  (eval "$ac_compile") 2>conftest.er1
4870  ac_status=$?
4871  grep -v '^ *+' conftest.er1 >conftest.err
4872  rm -f conftest.er1
4873  cat conftest.err >&5
4874  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4875  (exit $ac_status); } && {
4876	 test -z "$ac_c_werror_flag" ||
4877	 test ! -s conftest.err
4878       } && test -s conftest.$ac_objext; then
4879  ac_header_compiler=yes
4880else
4881  $as_echo "$as_me: failed program was:" >&5
4882sed 's/^/| /' conftest.$ac_ext >&5
4883
4884	ac_header_compiler=no
4885fi
4886
4887rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4888{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4889$as_echo "$ac_header_compiler" >&6; }
4890
4891# Is the header present?
4892{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4893$as_echo_n "checking $ac_header presence... " >&6; }
4894cat >conftest.$ac_ext <<_ACEOF
4895/* confdefs.h.  */
4896_ACEOF
4897cat confdefs.h >>conftest.$ac_ext
4898cat >>conftest.$ac_ext <<_ACEOF
4899/* end confdefs.h.  */
4900#include <$ac_header>
4901_ACEOF
4902if { (ac_try="$ac_cpp conftest.$ac_ext"
4903case "(($ac_try" in
4904  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4905  *) ac_try_echo=$ac_try;;
4906esac
4907eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4908$as_echo "$ac_try_echo") >&5
4909  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4910  ac_status=$?
4911  grep -v '^ *+' conftest.er1 >conftest.err
4912  rm -f conftest.er1
4913  cat conftest.err >&5
4914  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4915  (exit $ac_status); } >/dev/null && {
4916	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4917	 test ! -s conftest.err
4918       }; then
4919  ac_header_preproc=yes
4920else
4921  $as_echo "$as_me: failed program was:" >&5
4922sed 's/^/| /' conftest.$ac_ext >&5
4923
4924  ac_header_preproc=no
4925fi
4926
4927rm -f conftest.err conftest.$ac_ext
4928{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4929$as_echo "$ac_header_preproc" >&6; }
4930
4931# So?  What about this header?
4932case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4933  yes:no: )
4934    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4935$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4936    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4937$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4938    ac_header_preproc=yes
4939    ;;
4940  no:yes:* )
4941    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4942$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4943    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
4944$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
4945    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4946$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4947    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
4948$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
4949    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4950$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4951    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4952$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4953    ( cat <<\_ASBOX
4954## ----------------------------------------- ##
4955## Report this to trousers-tech@lists.sf.net ##
4956## ----------------------------------------- ##
4957_ASBOX
4958     ) | sed "s/^/$as_me: WARNING:     /" >&2
4959    ;;
4960esac
4961{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4962$as_echo_n "checking for $ac_header... " >&6; }
4963if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4964  $as_echo_n "(cached) " >&6
4965else
4966  eval "$as_ac_Header=\$ac_header_preproc"
4967fi
4968ac_res=`eval 'as_val=${'$as_ac_Header'}
4969		 $as_echo "$as_val"'`
4970	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4971$as_echo "$ac_res" >&6; }
4972
4973fi
4974as_val=`eval 'as_val=${'$as_ac_Header'}
4975		 $as_echo "$as_val"'`
4976   if test "x$as_val" = x""yes; then
4977  cat >>confdefs.h <<_ACEOF
4978#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4979_ACEOF
4980
4981fi
4982
4983done
4984
4985	    MATH_DEFINE=BI_GMP
4986		{ $as_echo "$as_me:$LINENO: result: *** Enabling GMP lib at user request ***" >&5
4987$as_echo "*** Enabling GMP lib at user request ***" >&6; }
4988
4989fi
4990
4991
4992case "$MATH_DEFINE" in
4993BI_OPENSSL)
4994
4995
4996for ac_header in  openssl/bn.h openssl/engine.h
4997do
4998as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4999if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5000  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5001$as_echo_n "checking for $ac_header... " >&6; }
5002if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5003  $as_echo_n "(cached) " >&6
5004fi
5005ac_res=`eval 'as_val=${'$as_ac_Header'}
5006		 $as_echo "$as_val"'`
5007	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5008$as_echo "$ac_res" >&6; }
5009else
5010  # Is the header compilable?
5011{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5012$as_echo_n "checking $ac_header usability... " >&6; }
5013cat >conftest.$ac_ext <<_ACEOF
5014/* confdefs.h.  */
5015_ACEOF
5016cat confdefs.h >>conftest.$ac_ext
5017cat >>conftest.$ac_ext <<_ACEOF
5018/* end confdefs.h.  */
5019$ac_includes_default
5020#include <$ac_header>
5021_ACEOF
5022rm -f conftest.$ac_objext
5023if { (ac_try="$ac_compile"
5024case "(($ac_try" in
5025  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5026  *) ac_try_echo=$ac_try;;
5027esac
5028eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5029$as_echo "$ac_try_echo") >&5
5030  (eval "$ac_compile") 2>conftest.er1
5031  ac_status=$?
5032  grep -v '^ *+' conftest.er1 >conftest.err
5033  rm -f conftest.er1
5034  cat conftest.err >&5
5035  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5036  (exit $ac_status); } && {
5037	 test -z "$ac_c_werror_flag" ||
5038	 test ! -s conftest.err
5039       } && test -s conftest.$ac_objext; then
5040  ac_header_compiler=yes
5041else
5042  $as_echo "$as_me: failed program was:" >&5
5043sed 's/^/| /' conftest.$ac_ext >&5
5044
5045	ac_header_compiler=no
5046fi
5047
5048rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5049{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5050$as_echo "$ac_header_compiler" >&6; }
5051
5052# Is the header present?
5053{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5054$as_echo_n "checking $ac_header presence... " >&6; }
5055cat >conftest.$ac_ext <<_ACEOF
5056/* confdefs.h.  */
5057_ACEOF
5058cat confdefs.h >>conftest.$ac_ext
5059cat >>conftest.$ac_ext <<_ACEOF
5060/* end confdefs.h.  */
5061#include <$ac_header>
5062_ACEOF
5063if { (ac_try="$ac_cpp conftest.$ac_ext"
5064case "(($ac_try" in
5065  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5066  *) ac_try_echo=$ac_try;;
5067esac
5068eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5069$as_echo "$ac_try_echo") >&5
5070  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5071  ac_status=$?
5072  grep -v '^ *+' conftest.er1 >conftest.err
5073  rm -f conftest.er1
5074  cat conftest.err >&5
5075  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5076  (exit $ac_status); } >/dev/null && {
5077	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5078	 test ! -s conftest.err
5079       }; then
5080  ac_header_preproc=yes
5081else
5082  $as_echo "$as_me: failed program was:" >&5
5083sed 's/^/| /' conftest.$ac_ext >&5
5084
5085  ac_header_preproc=no
5086fi
5087
5088rm -f conftest.err conftest.$ac_ext
5089{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5090$as_echo "$ac_header_preproc" >&6; }
5091
5092# So?  What about this header?
5093case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5094  yes:no: )
5095    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5096$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5097    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5098$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5099    ac_header_preproc=yes
5100    ;;
5101  no:yes:* )
5102    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5103$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5104    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5105$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5106    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5107$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5108    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5109$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5110    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5111$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5112    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5113$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5114    ( cat <<\_ASBOX
5115## ----------------------------------------- ##
5116## Report this to trousers-tech@lists.sf.net ##
5117## ----------------------------------------- ##
5118_ASBOX
5119     ) | sed "s/^/$as_me: WARNING:     /" >&2
5120    ;;
5121esac
5122{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5123$as_echo_n "checking for $ac_header... " >&6; }
5124if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5125  $as_echo_n "(cached) " >&6
5126else
5127  eval "$as_ac_Header=\$ac_header_preproc"
5128fi
5129ac_res=`eval 'as_val=${'$as_ac_Header'}
5130		 $as_echo "$as_val"'`
5131	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5132$as_echo "$ac_res" >&6; }
5133
5134fi
5135as_val=`eval 'as_val=${'$as_ac_Header'}
5136		 $as_echo "$as_val"'`
5137   if test "x$as_val" = x""yes; then
5138  cat >>confdefs.h <<_ACEOF
5139#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5140_ACEOF
5141
5142fi
5143
5144done
5145
5146	;;
5147esac
5148CFLAGS="$CFLAGS -D$MATH_DEFINE"
5149
5150GUI=openssl
5151
5152# Check whether --with-gui was given.
5153if test "${with_gui+set}" = set; then
5154  withval=$with_gui; GUI=$withval
5155fi
5156
5157
5158if test "x$GUI" = "xgtk"; then
5159	# section imported from Glade compile
5160	pkg_modules="gtk+-2.0 >= 2.0.0"
5161
5162
5163if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
5164	if test -n "$ac_tool_prefix"; then
5165  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5166set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5167{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5168$as_echo_n "checking for $ac_word... " >&6; }
5169if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
5170  $as_echo_n "(cached) " >&6
5171else
5172  case $PKG_CONFIG in
5173  [\\/]* | ?:[\\/]*)
5174  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
5175  ;;
5176  *)
5177  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5178for as_dir in $PATH
5179do
5180  IFS=$as_save_IFS
5181  test -z "$as_dir" && as_dir=.
5182  for ac_exec_ext in '' $ac_executable_extensions; do
5183  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5184    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5185    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5186    break 2
5187  fi
5188done
5189done
5190IFS=$as_save_IFS
5191
5192  ;;
5193esac
5194fi
5195PKG_CONFIG=$ac_cv_path_PKG_CONFIG
5196if test -n "$PKG_CONFIG"; then
5197  { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
5198$as_echo "$PKG_CONFIG" >&6; }
5199else
5200  { $as_echo "$as_me:$LINENO: result: no" >&5
5201$as_echo "no" >&6; }
5202fi
5203
5204
5205fi
5206if test -z "$ac_cv_path_PKG_CONFIG"; then
5207  ac_pt_PKG_CONFIG=$PKG_CONFIG
5208  # Extract the first word of "pkg-config", so it can be a program name with args.
5209set dummy pkg-config; ac_word=$2
5210{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5211$as_echo_n "checking for $ac_word... " >&6; }
5212if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
5213  $as_echo_n "(cached) " >&6
5214else
5215  case $ac_pt_PKG_CONFIG in
5216  [\\/]* | ?:[\\/]*)
5217  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
5218  ;;
5219  *)
5220  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5221for as_dir in $PATH
5222do
5223  IFS=$as_save_IFS
5224  test -z "$as_dir" && as_dir=.
5225  for ac_exec_ext in '' $ac_executable_extensions; do
5226  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5227    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5228    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5229    break 2
5230  fi
5231done
5232done
5233IFS=$as_save_IFS
5234
5235  ;;
5236esac
5237fi
5238ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
5239if test -n "$ac_pt_PKG_CONFIG"; then
5240  { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
5241$as_echo "$ac_pt_PKG_CONFIG" >&6; }
5242else
5243  { $as_echo "$as_me:$LINENO: result: no" >&5
5244$as_echo "no" >&6; }
5245fi
5246
5247  if test "x$ac_pt_PKG_CONFIG" = x; then
5248    PKG_CONFIG=""
5249  else
5250    case $cross_compiling:$ac_tool_warned in
5251yes:)
5252{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5253$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5254ac_tool_warned=yes ;;
5255esac
5256    PKG_CONFIG=$ac_pt_PKG_CONFIG
5257  fi
5258else
5259  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
5260fi
5261
5262fi
5263if test -n "$PKG_CONFIG"; then
5264	_pkg_min_version=0.9.0
5265	{ $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
5266$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
5267	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
5268		{ $as_echo "$as_me:$LINENO: result: yes" >&5
5269$as_echo "yes" >&6; }
5270	else
5271		{ $as_echo "$as_me:$LINENO: result: no" >&5
5272$as_echo "no" >&6; }
5273		PKG_CONFIG=""
5274	fi
5275
5276fi
5277
5278pkg_failed=no
5279{ $as_echo "$as_me:$LINENO: checking for GTK" >&5
5280$as_echo_n "checking for GTK... " >&6; }
5281
5282if test -n "$GTK_CFLAGS"; then
5283    pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
5284 elif test -n "$PKG_CONFIG"; then
5285    if test -n "$PKG_CONFIG" && \
5286    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$pkg_modules\"") >&5
5287  ($PKG_CONFIG --exists --print-errors "$pkg_modules") 2>&5
5288  ac_status=$?
5289  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5290  (exit $ac_status); }; then
5291  pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "$pkg_modules" 2>/dev/null`
5292else
5293  pkg_failed=yes
5294fi
5295 else
5296    pkg_failed=untried
5297fi
5298if test -n "$GTK_LIBS"; then
5299    pkg_cv_GTK_LIBS="$GTK_LIBS"
5300 elif test -n "$PKG_CONFIG"; then
5301    if test -n "$PKG_CONFIG" && \
5302    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$pkg_modules\"") >&5
5303  ($PKG_CONFIG --exists --print-errors "$pkg_modules") 2>&5
5304  ac_status=$?
5305  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5306  (exit $ac_status); }; then
5307  pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "$pkg_modules" 2>/dev/null`
5308else
5309  pkg_failed=yes
5310fi
5311 else
5312    pkg_failed=untried
5313fi
5314
5315
5316
5317if test $pkg_failed = yes; then
5318
5319if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5320        _pkg_short_errors_supported=yes
5321else
5322        _pkg_short_errors_supported=no
5323fi
5324        if test $_pkg_short_errors_supported = yes; then
5325	        GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$pkg_modules" 2>&1`
5326        else
5327	        GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors "$pkg_modules" 2>&1`
5328        fi
5329	# Put the nasty error message in config.log where it belongs
5330	echo "$GTK_PKG_ERRORS" >&5
5331
5332	{ $as_echo "$as_me:$LINENO: result: no" >&5
5333$as_echo "no" >&6; }
5334                 if false; then
5335  HAVE_GTK_TRUE=
5336  HAVE_GTK_FALSE='#'
5337else
5338  HAVE_GTK_TRUE='#'
5339  HAVE_GTK_FALSE=
5340fi
5341
5342		{ { $as_echo "$as_me:$LINENO: error: Please install the gtk2-devel package for your distro or select another gui option." >&5
5343$as_echo "$as_me: error: Please install the gtk2-devel package for your distro or select another gui option." >&2;}
5344   { (exit 1); exit 1; }; }
5345elif test $pkg_failed = untried; then
5346	 if false; then
5347  HAVE_GTK_TRUE=
5348  HAVE_GTK_FALSE='#'
5349else
5350  HAVE_GTK_TRUE='#'
5351  HAVE_GTK_FALSE=
5352fi
5353
5354		{ { $as_echo "$as_me:$LINENO: error: Please install the gtk2-devel package for your distro or select another gui option." >&5
5355$as_echo "$as_me: error: Please install the gtk2-devel package for your distro or select another gui option." >&2;}
5356   { (exit 1); exit 1; }; }
5357else
5358	GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
5359	GTK_LIBS=$pkg_cv_GTK_LIBS
5360        { $as_echo "$as_me:$LINENO: result: yes" >&5
5361$as_echo "yes" >&6; }
5362	 if true; then
5363  HAVE_GTK_TRUE=
5364  HAVE_GTK_FALSE='#'
5365else
5366  HAVE_GTK_TRUE='#'
5367  HAVE_GTK_FALSE=
5368fi
5369
5370fi
5371	 if false; then
5372  OPENSSL_UI_TRUE=
5373  OPENSSL_UI_FALSE='#'
5374else
5375  OPENSSL_UI_TRUE='#'
5376  OPENSSL_UI_FALSE=
5377fi
5378
5379
5380
5381elif test "x$GUI" = "xopenssl"; then
5382	# We know we have OpenSSL
5383	 if true; then
5384  OPENSSL_UI_TRUE=
5385  OPENSSL_UI_FALSE='#'
5386else
5387  OPENSSL_UI_TRUE='#'
5388  OPENSSL_UI_FALSE=
5389fi
5390
5391	 if false; then
5392  HAVE_GTK_TRUE=
5393  HAVE_GTK_FALSE='#'
5394else
5395  HAVE_GTK_TRUE='#'
5396  HAVE_GTK_FALSE=
5397fi
5398
5399elif test "x$GUI" = "xnone"; then
5400	if test $SPEC_COMP -eq 1; then
5401		{ { $as_echo "$as_me:$LINENO: error: Popups must be enabled in strict spec compliance mode" >&5
5402$as_echo "$as_me: error: Popups must be enabled in strict spec compliance mode" >&2;}
5403   { (exit 1); exit 1; }; }
5404	fi
5405	{ $as_echo "$as_me:$LINENO: result: *** Disabling GUI popups at user request ***" >&5
5406$as_echo "*** Disabling GUI popups at user request ***" >&6; }
5407	{ $as_echo "$as_me:$LINENO: result: *** WARNING: This may break apps! ***" >&5
5408$as_echo "*** WARNING: This may break apps! ***" >&6; }
5409	CFLAGS="$CFLAGS -DTSS_NO_GUI"
5410	 if false; then
5411  HAVE_GTK_TRUE=
5412  HAVE_GTK_FALSE='#'
5413else
5414  HAVE_GTK_TRUE='#'
5415  HAVE_GTK_FALSE=
5416fi
5417
5418	 if false; then
5419  OPENSSL_UI_TRUE=
5420  OPENSSL_UI_FALSE='#'
5421else
5422  OPENSSL_UI_TRUE='#'
5423  OPENSSL_UI_FALSE=
5424fi
5425
5426else
5427	{ { $as_echo "$as_me:$LINENO: error: \"gtk\", \"openssl\" and \"none\" are the only supported gui options for trousers" >&5
5428$as_echo "$as_me: error: \"gtk\", \"openssl\" and \"none\" are the only supported gui options for trousers" >&2;}
5429   { (exit 1); exit 1; }; }
5430fi
5431
5432#
5433# The default port that the TCS daemon listens on
5434#
5435TCSD_DEFAULT_PORT=30003
5436
5437#
5438# The RPC mechanism to build into both libtspi and the tcsd
5439#
5440# AC_SUBST(RPC, "soap")
5441RPC="tcstp"
5442
5443
5444#
5445# API= The TSS API level to build by default.
5446#
5447# To build a 1.1 TSS, set API=1.1 (./configure --with-api=1.1)
5448# To build a 1.2 TSS, set API=1.2 (./configure --with-api=1.2)
5449#
5450# In order to build a custom TSS API, set API to the lowest API level that
5451# contains the APIs you need. For instance, if you need only APIs that are
5452# a subset of the TSS 1.1 API, set this to 1.1. If you need any of the 1.2
5453# APIs, you'll need to set this to 1.2. Send mail to trousers-tech@lists.sf.net
5454# if you have questions.
5455#
5456API=1.2
5457
5458# Check whether --with-api was given.
5459if test "${with_api+set}" = set; then
5460  withval=$with_api; API=$withval
5461fi
5462
5463
5464if test "x$API" != "x1.1" && test "x$API" != "x1.2"; then
5465	{ { $as_echo "$as_me:$LINENO: error: \"1.1\" and \"1.2\" are the only supported API versions for trousers.
5466		      Custom API build options are available by editing 'configure.in'." >&5
5467$as_echo "$as_me: error: \"1.1\" and \"1.2\" are the only supported API versions for trousers.
5468		      Custom API build options are available by editing 'configure.in'." >&2;}
5469   { (exit 1); exit 1; }; }
5470fi
5471
5472if test "x$API" = "x1.1" || test "x$API" = "x1.2"; then
5473	# Tspi_Hash_GetHashValue,SetHashValue,UpdateHashValue
5474	 if true; then
5475  TSS_BUILD_HASH_TRUE=
5476  TSS_BUILD_HASH_FALSE='#'
5477else
5478  TSS_BUILD_HASH_TRUE='#'
5479  TSS_BUILD_HASH_FALSE=
5480fi
5481
5482	# Tspi_{Get|Set}Attribdata,{Get|Set}AttribUint32
5483	 if true; then
5484  TSS_BUILD_GETSET_TRUE=
5485  TSS_BUILD_GETSET_FALSE='#'
5486else
5487  TSS_BUILD_GETSET_TRUE='#'
5488  TSS_BUILD_GETSET_FALSE=
5489fi
5490
5491	# Tspi_TPM_GetRandom,StirRandom
5492	 if true; then
5493  TSS_BUILD_RANDOM_TRUE=
5494  TSS_BUILD_RANDOM_FALSE='#'
5495else
5496  TSS_BUILD_RANDOM_TRUE='#'
5497  TSS_BUILD_RANDOM_FALSE=
5498fi
5499
5500	# Tspi_GetCapability (for TSP and TCS capabilities)
5501	 if true; then
5502  TSS_BUILD_CAPS_TRUE=
5503  TSS_BUILD_CAPS_FALSE='#'
5504else
5505  TSS_BUILD_CAPS_TRUE='#'
5506  TSS_BUILD_CAPS_FALSE=
5507fi
5508
5509	# Tspi_TPM_GetCapability (for TPM chip capabilities)
5510	 if true; then
5511  TSS_BUILD_CAPS_TPM_TRUE=
5512  TSS_BUILD_CAPS_TPM_FALSE='#'
5513else
5514  TSS_BUILD_CAPS_TPM_TRUE='#'
5515  TSS_BUILD_CAPS_TPM_FALSE=
5516fi
5517
5518	# Tspi_GetPolicyObject, Tspi_Policy_SetSecret,FlushSecret,AssignToObject
5519	 if true; then
5520  TSS_BUILD_POLICY_TRUE=
5521  TSS_BUILD_POLICY_FALSE='#'
5522else
5523  TSS_BUILD_POLICY_TRUE='#'
5524  TSS_BUILD_POLICY_FALSE=
5525fi
5526
5527	# Tspi_TPM_DirWrite,DirRead
5528	 if true; then
5529  TSS_BUILD_DIR_TRUE=
5530  TSS_BUILD_DIR_FALSE='#'
5531else
5532  TSS_BUILD_DIR_TRUE='#'
5533  TSS_BUILD_DIR_FALSE=
5534fi
5535
5536	# Tspi_TPM_GetEvent,GetEvents,GetEventLog
5537	 if true; then
5538  TSS_BUILD_PCR_EVENTS_TRUE=
5539  TSS_BUILD_PCR_EVENTS_FALSE='#'
5540else
5541  TSS_BUILD_PCR_EVENTS_TRUE='#'
5542  TSS_BUILD_PCR_EVENTS_FALSE=
5543fi
5544
5545	# Tspi_Hash_Sign,VerifySignature
5546	 if true; then
5547  TSS_BUILD_SIGN_TRUE=
5548  TSS_BUILD_SIGN_FALSE='#'
5549else
5550  TSS_BUILD_SIGN_TRUE='#'
5551  TSS_BUILD_SIGN_FALSE=
5552fi
5553
5554	# Tspi_TPM_Quote
5555	 if true; then
5556  TSS_BUILD_QUOTE_TRUE=
5557  TSS_BUILD_QUOTE_FALSE='#'
5558else
5559  TSS_BUILD_QUOTE_TRUE='#'
5560  TSS_BUILD_QUOTE_FALSE=
5561fi
5562
5563	# Tspi_PcrComposite_{Set|Get}PcrValue,SelectPcrIndex
5564	 if true; then
5565  TSS_BUILD_PCR_COMP_TRUE=
5566  TSS_BUILD_PCR_COMP_FALSE='#'
5567else
5568  TSS_BUILD_PCR_COMP_TRUE='#'
5569  TSS_BUILD_PCR_COMP_FALSE=
5570fi
5571
5572	# Tspi_Data_Seal,Unseal
5573	 if true; then
5574  TSS_BUILD_SEAL_TRUE=
5575  TSS_BUILD_SEAL_FALSE='#'
5576else
5577  TSS_BUILD_SEAL_TRUE='#'
5578  TSS_BUILD_SEAL_FALSE=
5579fi
5580
5581	# Tspi_ChangeAuth,ChangeAuthAsym
5582	 if true; then
5583  TSS_BUILD_CHANGEAUTH_TRUE=
5584  TSS_BUILD_CHANGEAUTH_FALSE='#'
5585else
5586  TSS_BUILD_CHANGEAUTH_TRUE='#'
5587  TSS_BUILD_CHANGEAUTH_FALSE=
5588fi
5589
5590	# Tspi_Data_Bind,Unbind
5591	 if true; then
5592  TSS_BUILD_BIND_TRUE=
5593  TSS_BUILD_BIND_FALSE='#'
5594else
5595  TSS_BUILD_BIND_TRUE='#'
5596  TSS_BUILD_BIND_FALSE=
5597fi
5598
5599	# Tspi_TPM_TakeOwnership,ClearOwner (REQ: EK)
5600	 if true; then
5601  TSS_BUILD_OWN_TRUE=
5602  TSS_BUILD_OWN_FALSE='#'
5603else
5604  TSS_BUILD_OWN_TRUE='#'
5605  TSS_BUILD_OWN_FALSE=
5606fi
5607
5608	# Tspi_TPM_CreateEndorsementKey,GetPubEndorsementKey
5609	 if true; then
5610  TSS_BUILD_EK_TRUE=
5611  TSS_BUILD_EK_FALSE='#'
5612else
5613  TSS_BUILD_EK_TRUE='#'
5614  TSS_BUILD_EK_FALSE=
5615fi
5616
5617	# Tspi_Context_RegisterKey,UnregisterKey,LoadKeyByUUID,GetKeyByUUID,GetKeyByPublicInfo,
5618	# GetRegisteredKeysByUUID
5619	 if true; then
5620  TSS_BUILD_PS_TRUE=
5621  TSS_BUILD_PS_FALSE='#'
5622else
5623  TSS_BUILD_PS_TRUE='#'
5624  TSS_BUILD_PS_FALSE=
5625fi
5626
5627	# Tspi_TPM_{Set|Get}Status
5628	 if true; then
5629  TSS_BUILD_ADMIN_TRUE=
5630  TSS_BUILD_ADMIN_FALSE='#'
5631else
5632  TSS_BUILD_ADMIN_TRUE='#'
5633  TSS_BUILD_ADMIN_FALSE=
5634fi
5635
5636	# Tspi_TPM_CollateIdentityRequest,ActivateIdentity
5637	 if true; then
5638  TSS_BUILD_AIK_TRUE=
5639  TSS_BUILD_AIK_FALSE='#'
5640else
5641  TSS_BUILD_AIK_TRUE='#'
5642  TSS_BUILD_AIK_FALSE=
5643fi
5644
5645	# Tspi_Key_CertifyKey
5646	 if true; then
5647  TSS_BUILD_CERTIFY_TRUE=
5648  TSS_BUILD_CERTIFY_FALSE='#'
5649else
5650  TSS_BUILD_CERTIFY_TRUE='#'
5651  TSS_BUILD_CERTIFY_FALSE=
5652fi
5653
5654	# Tspi_TPM_CreateMaintenanceArchive,KillMaintenanceFeature,LoadMaintenancePubKey,
5655	# CheckMaintenancePubKey
5656	 if true; then
5657  TSS_BUILD_MAINT_TRUE=
5658  TSS_BUILD_MAINT_FALSE='#'
5659else
5660  TSS_BUILD_MAINT_TRUE='#'
5661  TSS_BUILD_MAINT_FALSE=
5662fi
5663
5664	# Tspi_TPM_AuthorizeMigrationTicket,Key_CreateMigrationBlob,ConvertMigrationBlob
5665	 if true; then
5666  TSS_BUILD_MIGRATION_TRUE=
5667  TSS_BUILD_MIGRATION_FALSE='#'
5668else
5669  TSS_BUILD_MIGRATION_TRUE='#'
5670  TSS_BUILD_MIGRATION_FALSE=
5671fi
5672
5673	# Tspi_Context_LoadKeyByBlob,Key_LoadKey,UnloadKey,CreateKey,WrapKey,GetPubKey
5674	 if true; then
5675  TSS_BUILD_KEY_TRUE=
5676  TSS_BUILD_KEY_FALSE='#'
5677else
5678  TSS_BUILD_KEY_TRUE='#'
5679  TSS_BUILD_KEY_FALSE=
5680fi
5681
5682	# Tspi_TPM_PcrExtend,PcrRead,PcrReset
5683	 if true; then
5684  TSS_BUILD_PCR_EXTEND_TRUE=
5685  TSS_BUILD_PCR_EXTEND_FALSE='#'
5686else
5687  TSS_BUILD_PCR_EXTEND_TRUE='#'
5688  TSS_BUILD_PCR_EXTEND_FALSE=
5689fi
5690
5691	# Tspi_TPM_SelfTestFull,CertifySelfTest,GetTestResult
5692	 if true; then
5693  TSS_BUILD_SELFTEST_TRUE=
5694  TSS_BUILD_SELFTEST_FALSE='#'
5695else
5696  TSS_BUILD_SELFTEST_TRUE='#'
5697  TSS_BUILD_SELFTEST_FALSE=
5698fi
5699
5700fi
5701
5702if test "x$API" = "x1.2"; then
5703	 if true; then
5704  TSS_BUILD_TSS12_TRUE=
5705  TSS_BUILD_TSS12_FALSE='#'
5706else
5707  TSS_BUILD_TSS12_TRUE='#'
5708  TSS_BUILD_TSS12_FALSE=
5709fi
5710
5711	# Don't build DAA until the API is fixed - KEY
5712	 if false; then
5713  TSS_BUILD_DAA_TRUE=
5714  TSS_BUILD_DAA_FALSE='#'
5715else
5716  TSS_BUILD_DAA_TRUE='#'
5717  TSS_BUILD_DAA_FALSE=
5718fi
5719
5720	 if true; then
5721  TSS_BUILD_PCR_COMP12_TRUE=
5722  TSS_BUILD_PCR_COMP12_FALSE='#'
5723else
5724  TSS_BUILD_PCR_COMP12_TRUE='#'
5725  TSS_BUILD_PCR_COMP12_FALSE=
5726fi
5727
5728	 if true; then
5729  TSS_BUILD_COUNTER_TRUE=
5730  TSS_BUILD_COUNTER_FALSE='#'
5731else
5732  TSS_BUILD_COUNTER_TRUE='#'
5733  TSS_BUILD_COUNTER_FALSE=
5734fi
5735
5736	 if true; then
5737  TSS_BUILD_TICK_TRUE=
5738  TSS_BUILD_TICK_FALSE='#'
5739else
5740  TSS_BUILD_TICK_TRUE='#'
5741  TSS_BUILD_TICK_FALSE=
5742fi
5743
5744	 if true; then
5745  TSS_BUILD_TRANSPORT_TRUE=
5746  TSS_BUILD_TRANSPORT_FALSE='#'
5747else
5748  TSS_BUILD_TRANSPORT_TRUE='#'
5749  TSS_BUILD_TRANSPORT_FALSE=
5750fi
5751
5752	 if true; then
5753  TSS_BUILD_ASN1_TRUE=
5754  TSS_BUILD_ASN1_FALSE='#'
5755else
5756  TSS_BUILD_ASN1_TRUE='#'
5757  TSS_BUILD_ASN1_FALSE=
5758fi
5759
5760	 if true; then
5761  TSS_BUILD_NV_TRUE=
5762  TSS_BUILD_NV_FALSE='#'
5763else
5764  TSS_BUILD_NV_TRUE='#'
5765  TSS_BUILD_NV_FALSE=
5766fi
5767
5768	 if true; then
5769  TSS_BUILD_AUDIT_TRUE=
5770  TSS_BUILD_AUDIT_FALSE='#'
5771else
5772  TSS_BUILD_AUDIT_TRUE='#'
5773  TSS_BUILD_AUDIT_FALSE=
5774fi
5775
5776	 if true; then
5777  TSS_BUILD_SEALX_TRUE=
5778  TSS_BUILD_SEALX_FALSE='#'
5779else
5780  TSS_BUILD_SEALX_TRUE='#'
5781  TSS_BUILD_SEALX_FALSE=
5782fi
5783
5784	 if true; then
5785  TSS_BUILD_DELEGATION_TRUE=
5786  TSS_BUILD_DELEGATION_FALSE='#'
5787else
5788  TSS_BUILD_DELEGATION_TRUE='#'
5789  TSS_BUILD_DELEGATION_FALSE=
5790fi
5791
5792	 if true; then
5793  TSS_BUILD_QUOTE2_TRUE=
5794  TSS_BUILD_QUOTE2_FALSE='#'
5795else
5796  TSS_BUILD_QUOTE2_TRUE='#'
5797  TSS_BUILD_QUOTE2_FALSE=
5798fi
5799
5800	# CMK depends on MIGRATION
5801	 if true; then
5802  TSS_BUILD_CMK_TRUE=
5803  TSS_BUILD_CMK_FALSE='#'
5804else
5805  TSS_BUILD_CMK_TRUE='#'
5806  TSS_BUILD_CMK_FALSE=
5807fi
5808
5809else
5810	 if false; then
5811  TSS_BUILD_TSS12_TRUE=
5812  TSS_BUILD_TSS12_FALSE='#'
5813else
5814  TSS_BUILD_TSS12_TRUE='#'
5815  TSS_BUILD_TSS12_FALSE=
5816fi
5817
5818	 if false; then
5819  TSS_BUILD_DAA_TRUE=
5820  TSS_BUILD_DAA_FALSE='#'
5821else
5822  TSS_BUILD_DAA_TRUE='#'
5823  TSS_BUILD_DAA_FALSE=
5824fi
5825
5826	 if false; then
5827  TSS_BUILD_PCR_COMP12_TRUE=
5828  TSS_BUILD_PCR_COMP12_FALSE='#'
5829else
5830  TSS_BUILD_PCR_COMP12_TRUE='#'
5831  TSS_BUILD_PCR_COMP12_FALSE=
5832fi
5833
5834	 if false; then
5835  TSS_BUILD_COUNTER_TRUE=
5836  TSS_BUILD_COUNTER_FALSE='#'
5837else
5838  TSS_BUILD_COUNTER_TRUE='#'
5839  TSS_BUILD_COUNTER_FALSE=
5840fi
5841
5842	 if false; then
5843  TSS_BUILD_TICK_TRUE=
5844  TSS_BUILD_TICK_FALSE='#'
5845else
5846  TSS_BUILD_TICK_TRUE='#'
5847  TSS_BUILD_TICK_FALSE=
5848fi
5849
5850	 if false; then
5851  TSS_BUILD_TRANSPORT_TRUE=
5852  TSS_BUILD_TRANSPORT_FALSE='#'
5853else
5854  TSS_BUILD_TRANSPORT_TRUE='#'
5855  TSS_BUILD_TRANSPORT_FALSE=
5856fi
5857
5858	 if false; then
5859  TSS_BUILD_ASN1_TRUE=
5860  TSS_BUILD_ASN1_FALSE='#'
5861else
5862  TSS_BUILD_ASN1_TRUE='#'
5863  TSS_BUILD_ASN1_FALSE=
5864fi
5865
5866	 if false; then
5867  TSS_BUILD_NV_TRUE=
5868  TSS_BUILD_NV_FALSE='#'
5869else
5870  TSS_BUILD_NV_TRUE='#'
5871  TSS_BUILD_NV_FALSE=
5872fi
5873
5874	 if false; then
5875  TSS_BUILD_AUDIT_TRUE=
5876  TSS_BUILD_AUDIT_FALSE='#'
5877else
5878  TSS_BUILD_AUDIT_TRUE='#'
5879  TSS_BUILD_AUDIT_FALSE=
5880fi
5881
5882	 if false; then
5883  TSS_BUILD_SEALX_TRUE=
5884  TSS_BUILD_SEALX_FALSE='#'
5885else
5886  TSS_BUILD_SEALX_TRUE='#'
5887  TSS_BUILD_SEALX_FALSE=
5888fi
5889
5890	 if false; then
5891  TSS_BUILD_DELEGATION_TRUE=
5892  TSS_BUILD_DELEGATION_FALSE='#'
5893else
5894  TSS_BUILD_DELEGATION_TRUE='#'
5895  TSS_BUILD_DELEGATION_FALSE=
5896fi
5897
5898	 if false; then
5899  TSS_BUILD_QUOTE2_TRUE=
5900  TSS_BUILD_QUOTE2_FALSE='#'
5901else
5902  TSS_BUILD_QUOTE2_TRUE='#'
5903  TSS_BUILD_QUOTE2_FALSE=
5904fi
5905
5906	 if false; then
5907  TSS_BUILD_CMK_TRUE=
5908  TSS_BUILD_CMK_FALSE='#'
5909else
5910  TSS_BUILD_CMK_TRUE='#'
5911  TSS_BUILD_CMK_FALSE=
5912fi
5913
5914fi
5915
5916#
5917# There's no need to edit anything below, these conditionals control the building
5918# of files that support the files above, which all contain TSS APIs
5919#
5920 if test -z $TSS_BUILD_NV_TRUE; then
5921  TSS_BUILD_NV_LIST_TRUE=
5922  TSS_BUILD_NV_LIST_FALSE='#'
5923else
5924  TSS_BUILD_NV_LIST_TRUE='#'
5925  TSS_BUILD_NV_LIST_FALSE=
5926fi
5927
5928 if test -z $TSS_BUILD_NV_TRUE; then
5929  TSS_BUILD_NV_SUPPORT_TRUE=
5930  TSS_BUILD_NV_SUPPORT_FALSE='#'
5931else
5932  TSS_BUILD_NV_SUPPORT_TRUE='#'
5933  TSS_BUILD_NV_SUPPORT_FALSE=
5934fi
5935
5936 if test -z $TSS_BUILD_ADMIN_TRUE || \
5937				    test -z $TSS_BUILD_CAPS_TPM_TRUE; then
5938  TSS_BUILD_GET_FLAGS_TRUE=
5939  TSS_BUILD_GET_FLAGS_FALSE='#'
5940else
5941  TSS_BUILD_GET_FLAGS_TRUE='#'
5942  TSS_BUILD_GET_FLAGS_FALSE=
5943fi
5944
5945 if test -z $TSS_BUILD_SEAL_TRUE || \
5946				    test -z $TSS_BUILD_QUOTE_TRUE || \
5947				    test -z $TSS_BUILD_PCRS_TRUE || \
5948				    test -z $TSS_BUILD_PCR_COMP_TRUE || \
5949				    test -z $TSS_BUILD_SEALX_TRUE; then
5950  TSS_BUILD_PCRS_LIST_TRUE=
5951  TSS_BUILD_PCRS_LIST_FALSE='#'
5952else
5953  TSS_BUILD_PCRS_LIST_TRUE='#'
5954  TSS_BUILD_PCRS_LIST_FALSE=
5955fi
5956
5957 if test -z $TSS_BUILD_SIGN_TRUE || test -z $TSS_BUILD_HASH_TRUE; then
5958  TSS_BUILD_HASH_LIST_TRUE=
5959  TSS_BUILD_HASH_LIST_FALSE='#'
5960else
5961  TSS_BUILD_HASH_LIST_TRUE='#'
5962  TSS_BUILD_HASH_LIST_FALSE=
5963fi
5964
5965 if test -z $TSS_BUILD_SEAL_TRUE || \
5966				       test -z $TSS_BUILD_CHANGEAUTH_TRUE || \
5967				       test -z $TSS_BUILD_BIND_TRUE || \
5968				       test -z $TSS_BUILD_SEALX_TRUE; then
5969  TSS_BUILD_ENCDATA_LIST_TRUE=
5970  TSS_BUILD_ENCDATA_LIST_FALSE='#'
5971else
5972  TSS_BUILD_ENCDATA_LIST_TRUE='#'
5973  TSS_BUILD_ENCDATA_LIST_FALSE=
5974fi
5975
5976 if test -z $TSS_BUILD_ADMIN_TRUE || \
5977				      test -z $TSS_BUILD_EK_TRUE || \
5978				      test -z $TSS_BUILD_MIGRATION_TRUE || \
5979				      test -z $TSS_BUILD_MAINT_TRUE || \
5980				      test -z $TSS_BUILD_CERTIFY_TRUE || \
5981				      test -z $TSS_BUILD_AIK_TRUE || \
5982				      test -z $TSS_BUILD_QUOTE_TRUE || \
5983				      test -z $TSS_BUILD_BIND_TRUE || \
5984				      test -z $TSS_BUILD_CHANGEAUTH_TRUE || \
5985				      test -z $TSS_BUILD_OWN_TRUE || \
5986				      test -z $TSS_BUILD_SIGN_TRUE || \
5987				      test -z $TSS_BUILD_PS_TRUE || \
5988				      test -z $TSS_BUILD_SEAL_TRUE || \
5989				      test -z $TSS_BUILD_DAA_TRUE || \
5990				      test -z $TSS_BUILD_KEY_TRUE || \
5991				      test -z $TSS_BUILD_SEALX_TRUE; then
5992  TSS_BUILD_RSAKEY_LIST_TRUE=
5993  TSS_BUILD_RSAKEY_LIST_FALSE='#'
5994else
5995  TSS_BUILD_RSAKEY_LIST_TRUE='#'
5996  TSS_BUILD_RSAKEY_LIST_FALSE=
5997fi
5998
5999 if test -z $TSS_BUILD_HASH_TRUE || \
6000			       test -z $TSS_BUILD_CAPS_TRUE || \
6001			       test -z $TSS_BUILD_CAPS_TPM_TRUE || \
6002			       test -z $TSS_BUILD_POLICY_TRUE || \
6003			       test -z $TSS_BUILD_DIR_TRUE || \
6004			       test -z $TSS_BUILD_PCR_EVENTS_TRUE || \
6005			       test -z $TSS_BUILD_SIGN_TRUE || \
6006			       test -z $TSS_BUILD_QUOTE_TRUE || \
6007			       test -z $TSS_BUILD_PCR_COMP_TRUE || \
6008			       test -z $TSS_BUILD_SEAL_TRUE || \
6009			       test -z $TSS_BUILD_SEALX_TRUE || \
6010			       test -z $TSS_BUILD_CHANGEAUTH_TRUE || \
6011			       test -z $TSS_BUILD_BIND_TRUE || \
6012			       test -z $TSS_BUILD_OWN_TRUE || \
6013			       test -z $TSS_BUILD_PS_TRUE || \
6014			       test -z $TSS_BUILD_ADMIN_TRUE || \
6015			       test -z $TSS_BUILD_AIK_TRUE || \
6016			       test -z $TSS_BUILD_EK_TRUE || \
6017			       test -z $TSS_BUILD_CERTIFY_TRUE || \
6018			       test -z $TSS_BUILD_MAINT_TRUE || \
6019			       test -z $TSS_BUILD_MIGRATION_TRUE || \
6020			       test -z $TSS_BUILD_KEY_TRUE || \
6021			       test -z $TSS_BUILD_PCR_EXTEND_TRUE || \
6022			       test -z $TSS_BUILD_SELFTEST_TRUE || \
6023			       test -z $TSS_BUILD_DAA_TRUE; then
6024  TSS_BUILD_AUTH_TRUE=
6025  TSS_BUILD_AUTH_FALSE='#'
6026else
6027  TSS_BUILD_AUTH_TRUE='#'
6028  TSS_BUILD_AUTH_FALSE=
6029fi
6030
6031 if test -z $TSS_BUILD_AIK_TRUE || \
6032				      test -z $TSS_BUILD_CERTIFY_TRUE || \
6033				      test -z $TSS_BUILD_QUOTE_TRUE || \
6034				      test -z $TSS_BUILD_EK_TRUE || \
6035				      test -z $TSS_BUILD_CHANGEAUTH_TRUE || \
6036				      test -z $TSS_BUILD_BIND_TRUE || \
6037				      test -z $TSS_BUILD_OWN_TRUE || \
6038				      test -z $TSS_BUILD_SELFTEST_TRUE || \
6039				      test -z $TSS_BUILD_SIGN_TRUE || \
6040				      test -z $TSS_BUILD_KEY_TRUE || \
6041				      test -z $TSS_BUILD_DAA_TRUE; then
6042  TSS_BUILD_ASYM_CRYPTO_TRUE=
6043  TSS_BUILD_ASYM_CRYPTO_FALSE='#'
6044else
6045  TSS_BUILD_ASYM_CRYPTO_TRUE='#'
6046  TSS_BUILD_ASYM_CRYPTO_FALSE=
6047fi
6048
6049 if test -z $TSS_BUILD_AIK_TRUE || \
6050				     test -z $TSS_BUILD_TRANSPORT_TRUE; then
6051  TSS_BUILD_SYM_CRYPTO_TRUE=
6052  TSS_BUILD_SYM_CRYPTO_FALSE='#'
6053else
6054  TSS_BUILD_SYM_CRYPTO_TRUE='#'
6055  TSS_BUILD_SYM_CRYPTO_FALSE=
6056fi
6057
6058
6059#GETTEXT_PACKAGE=trousers
6060#AC_SUBST(GETTEXT_PACKAGE)
6061#AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE")
6062
6063#ALL_LINGUAS=""
6064#AM_GLIB_GNU_GETTEXT
6065
6066# end Glade section
6067
6068if test "${ac_cv_header_pthread_h+set}" = set; then
6069  { $as_echo "$as_me:$LINENO: checking for pthread.h" >&5
6070$as_echo_n "checking for pthread.h... " >&6; }
6071if test "${ac_cv_header_pthread_h+set}" = set; then
6072  $as_echo_n "(cached) " >&6
6073fi
6074{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5
6075$as_echo "$ac_cv_header_pthread_h" >&6; }
6076else
6077  # Is the header compilable?
6078{ $as_echo "$as_me:$LINENO: checking pthread.h usability" >&5
6079$as_echo_n "checking pthread.h usability... " >&6; }
6080cat >conftest.$ac_ext <<_ACEOF
6081/* confdefs.h.  */
6082_ACEOF
6083cat confdefs.h >>conftest.$ac_ext
6084cat >>conftest.$ac_ext <<_ACEOF
6085/* end confdefs.h.  */
6086$ac_includes_default
6087#include <pthread.h>
6088_ACEOF
6089rm -f conftest.$ac_objext
6090if { (ac_try="$ac_compile"
6091case "(($ac_try" in
6092  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6093  *) ac_try_echo=$ac_try;;
6094esac
6095eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6096$as_echo "$ac_try_echo") >&5
6097  (eval "$ac_compile") 2>conftest.er1
6098  ac_status=$?
6099  grep -v '^ *+' conftest.er1 >conftest.err
6100  rm -f conftest.er1
6101  cat conftest.err >&5
6102  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6103  (exit $ac_status); } && {
6104	 test -z "$ac_c_werror_flag" ||
6105	 test ! -s conftest.err
6106       } && test -s conftest.$ac_objext; then
6107  ac_header_compiler=yes
6108else
6109  $as_echo "$as_me: failed program was:" >&5
6110sed 's/^/| /' conftest.$ac_ext >&5
6111
6112	ac_header_compiler=no
6113fi
6114
6115rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6116{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6117$as_echo "$ac_header_compiler" >&6; }
6118
6119# Is the header present?
6120{ $as_echo "$as_me:$LINENO: checking pthread.h presence" >&5
6121$as_echo_n "checking pthread.h presence... " >&6; }
6122cat >conftest.$ac_ext <<_ACEOF
6123/* confdefs.h.  */
6124_ACEOF
6125cat confdefs.h >>conftest.$ac_ext
6126cat >>conftest.$ac_ext <<_ACEOF
6127/* end confdefs.h.  */
6128#include <pthread.h>
6129_ACEOF
6130if { (ac_try="$ac_cpp conftest.$ac_ext"
6131case "(($ac_try" in
6132  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6133  *) ac_try_echo=$ac_try;;
6134esac
6135eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6136$as_echo "$ac_try_echo") >&5
6137  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6138  ac_status=$?
6139  grep -v '^ *+' conftest.er1 >conftest.err
6140  rm -f conftest.er1
6141  cat conftest.err >&5
6142  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6143  (exit $ac_status); } >/dev/null && {
6144	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6145	 test ! -s conftest.err
6146       }; then
6147  ac_header_preproc=yes
6148else
6149  $as_echo "$as_me: failed program was:" >&5
6150sed 's/^/| /' conftest.$ac_ext >&5
6151
6152  ac_header_preproc=no
6153fi
6154
6155rm -f conftest.err conftest.$ac_ext
6156{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6157$as_echo "$ac_header_preproc" >&6; }
6158
6159# So?  What about this header?
6160case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6161  yes:no: )
6162    { $as_echo "$as_me:$LINENO: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&5
6163$as_echo "$as_me: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6164    { $as_echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the compiler's result" >&5
6165$as_echo "$as_me: WARNING: pthread.h: proceeding with the compiler's result" >&2;}
6166    ac_header_preproc=yes
6167    ;;
6168  no:yes:* )
6169    { $as_echo "$as_me:$LINENO: WARNING: pthread.h: present but cannot be compiled" >&5
6170$as_echo "$as_me: WARNING: pthread.h: present but cannot be compiled" >&2;}
6171    { $as_echo "$as_me:$LINENO: WARNING: pthread.h:     check for missing prerequisite headers?" >&5
6172$as_echo "$as_me: WARNING: pthread.h:     check for missing prerequisite headers?" >&2;}
6173    { $as_echo "$as_me:$LINENO: WARNING: pthread.h: see the Autoconf documentation" >&5
6174$as_echo "$as_me: WARNING: pthread.h: see the Autoconf documentation" >&2;}
6175    { $as_echo "$as_me:$LINENO: WARNING: pthread.h:     section \"Present But Cannot Be Compiled\"" >&5
6176$as_echo "$as_me: WARNING: pthread.h:     section \"Present But Cannot Be Compiled\"" >&2;}
6177    { $as_echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the preprocessor's result" >&5
6178$as_echo "$as_me: WARNING: pthread.h: proceeding with the preprocessor's result" >&2;}
6179    { $as_echo "$as_me:$LINENO: WARNING: pthread.h: in the future, the compiler will take precedence" >&5
6180$as_echo "$as_me: WARNING: pthread.h: in the future, the compiler will take precedence" >&2;}
6181    ( cat <<\_ASBOX
6182## ----------------------------------------- ##
6183## Report this to trousers-tech@lists.sf.net ##
6184## ----------------------------------------- ##
6185_ASBOX
6186     ) | sed "s/^/$as_me: WARNING:     /" >&2
6187    ;;
6188esac
6189{ $as_echo "$as_me:$LINENO: checking for pthread.h" >&5
6190$as_echo_n "checking for pthread.h... " >&6; }
6191if test "${ac_cv_header_pthread_h+set}" = set; then
6192  $as_echo_n "(cached) " >&6
6193else
6194  ac_cv_header_pthread_h=$ac_header_preproc
6195fi
6196{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5
6197$as_echo "$ac_cv_header_pthread_h" >&6; }
6198
6199fi
6200if test "x$ac_cv_header_pthread_h" = x""yes; then
6201
6202cat >>confdefs.h <<\_ACEOF
6203#define HAVE_PTHREAD_H 1
6204_ACEOF
6205
6206fi
6207
6208
6209
6210# Check whether --enable-static was given.
6211if test "${enable_static+set}" = set; then
6212  enableval=$enable_static; p=${PACKAGE-default}
6213    case $enableval in
6214    yes) enable_static=yes ;;
6215    no) enable_static=no ;;
6216    *)
6217     enable_static=no
6218      # Look at the argument we got.  We use all the common list separators.
6219      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6220      for pkg in $enableval; do
6221	IFS="$lt_save_ifs"
6222	if test "X$pkg" = "X$p"; then
6223	  enable_static=yes
6224	fi
6225      done
6226      IFS="$lt_save_ifs"
6227      ;;
6228    esac
6229else
6230  enable_static=no
6231fi
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241ac_ext=c
6242ac_cpp='$CPP $CPPFLAGS'
6243ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6244ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6245ac_compiler_gnu=$ac_cv_c_compiler_gnu
6246if test -n "$ac_tool_prefix"; then
6247  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
6248set dummy ${ac_tool_prefix}gcc; ac_word=$2
6249{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6250$as_echo_n "checking for $ac_word... " >&6; }
6251if test "${ac_cv_prog_CC+set}" = set; then
6252  $as_echo_n "(cached) " >&6
6253else
6254  if test -n "$CC"; then
6255  ac_cv_prog_CC="$CC" # Let the user override the test.
6256else
6257as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6258for as_dir in $PATH
6259do
6260  IFS=$as_save_IFS
6261  test -z "$as_dir" && as_dir=.
6262  for ac_exec_ext in '' $ac_executable_extensions; do
6263  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6264    ac_cv_prog_CC="${ac_tool_prefix}gcc"
6265    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6266    break 2
6267  fi
6268done
6269done
6270IFS=$as_save_IFS
6271
6272fi
6273fi
6274CC=$ac_cv_prog_CC
6275if test -n "$CC"; then
6276  { $as_echo "$as_me:$LINENO: result: $CC" >&5
6277$as_echo "$CC" >&6; }
6278else
6279  { $as_echo "$as_me:$LINENO: result: no" >&5
6280$as_echo "no" >&6; }
6281fi
6282
6283
6284fi
6285if test -z "$ac_cv_prog_CC"; then
6286  ac_ct_CC=$CC
6287  # Extract the first word of "gcc", so it can be a program name with args.
6288set dummy gcc; ac_word=$2
6289{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6290$as_echo_n "checking for $ac_word... " >&6; }
6291if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
6292  $as_echo_n "(cached) " >&6
6293else
6294  if test -n "$ac_ct_CC"; then
6295  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
6296else
6297as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6298for as_dir in $PATH
6299do
6300  IFS=$as_save_IFS
6301  test -z "$as_dir" && as_dir=.
6302  for ac_exec_ext in '' $ac_executable_extensions; do
6303  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6304    ac_cv_prog_ac_ct_CC="gcc"
6305    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6306    break 2
6307  fi
6308done
6309done
6310IFS=$as_save_IFS
6311
6312fi
6313fi
6314ac_ct_CC=$ac_cv_prog_ac_ct_CC
6315if test -n "$ac_ct_CC"; then
6316  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
6317$as_echo "$ac_ct_CC" >&6; }
6318else
6319  { $as_echo "$as_me:$LINENO: result: no" >&5
6320$as_echo "no" >&6; }
6321fi
6322
6323  if test "x$ac_ct_CC" = x; then
6324    CC=""
6325  else
6326    case $cross_compiling:$ac_tool_warned in
6327yes:)
6328{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6329$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6330ac_tool_warned=yes ;;
6331esac
6332    CC=$ac_ct_CC
6333  fi
6334else
6335  CC="$ac_cv_prog_CC"
6336fi
6337
6338if test -z "$CC"; then
6339          if test -n "$ac_tool_prefix"; then
6340    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
6341set dummy ${ac_tool_prefix}cc; ac_word=$2
6342{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6343$as_echo_n "checking for $ac_word... " >&6; }
6344if test "${ac_cv_prog_CC+set}" = set; then
6345  $as_echo_n "(cached) " >&6
6346else
6347  if test -n "$CC"; then
6348  ac_cv_prog_CC="$CC" # Let the user override the test.
6349else
6350as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6351for as_dir in $PATH
6352do
6353  IFS=$as_save_IFS
6354  test -z "$as_dir" && as_dir=.
6355  for ac_exec_ext in '' $ac_executable_extensions; do
6356  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6357    ac_cv_prog_CC="${ac_tool_prefix}cc"
6358    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6359    break 2
6360  fi
6361done
6362done
6363IFS=$as_save_IFS
6364
6365fi
6366fi
6367CC=$ac_cv_prog_CC
6368if test -n "$CC"; then
6369  { $as_echo "$as_me:$LINENO: result: $CC" >&5
6370$as_echo "$CC" >&6; }
6371else
6372  { $as_echo "$as_me:$LINENO: result: no" >&5
6373$as_echo "no" >&6; }
6374fi
6375
6376
6377  fi
6378fi
6379if test -z "$CC"; then
6380  # Extract the first word of "cc", so it can be a program name with args.
6381set dummy cc; ac_word=$2
6382{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6383$as_echo_n "checking for $ac_word... " >&6; }
6384if test "${ac_cv_prog_CC+set}" = set; then
6385  $as_echo_n "(cached) " >&6
6386else
6387  if test -n "$CC"; then
6388  ac_cv_prog_CC="$CC" # Let the user override the test.
6389else
6390  ac_prog_rejected=no
6391as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6392for as_dir in $PATH
6393do
6394  IFS=$as_save_IFS
6395  test -z "$as_dir" && as_dir=.
6396  for ac_exec_ext in '' $ac_executable_extensions; do
6397  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6398    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
6399       ac_prog_rejected=yes
6400       continue
6401     fi
6402    ac_cv_prog_CC="cc"
6403    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6404    break 2
6405  fi
6406done
6407done
6408IFS=$as_save_IFS
6409
6410if test $ac_prog_rejected = yes; then
6411  # We found a bogon in the path, so make sure we never use it.
6412  set dummy $ac_cv_prog_CC
6413  shift
6414  if test $# != 0; then
6415    # We chose a different compiler from the bogus one.
6416    # However, it has the same basename, so the bogon will be chosen
6417    # first if we set CC to just the basename; use the full file name.
6418    shift
6419    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
6420  fi
6421fi
6422fi
6423fi
6424CC=$ac_cv_prog_CC
6425if test -n "$CC"; then
6426  { $as_echo "$as_me:$LINENO: result: $CC" >&5
6427$as_echo "$CC" >&6; }
6428else
6429  { $as_echo "$as_me:$LINENO: result: no" >&5
6430$as_echo "no" >&6; }
6431fi
6432
6433
6434fi
6435if test -z "$CC"; then
6436  if test -n "$ac_tool_prefix"; then
6437  for ac_prog in cl.exe
6438  do
6439    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6440set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6441{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6442$as_echo_n "checking for $ac_word... " >&6; }
6443if test "${ac_cv_prog_CC+set}" = set; then
6444  $as_echo_n "(cached) " >&6
6445else
6446  if test -n "$CC"; then
6447  ac_cv_prog_CC="$CC" # Let the user override the test.
6448else
6449as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6450for as_dir in $PATH
6451do
6452  IFS=$as_save_IFS
6453  test -z "$as_dir" && as_dir=.
6454  for ac_exec_ext in '' $ac_executable_extensions; do
6455  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6456    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
6457    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6458    break 2
6459  fi
6460done
6461done
6462IFS=$as_save_IFS
6463
6464fi
6465fi
6466CC=$ac_cv_prog_CC
6467if test -n "$CC"; then
6468  { $as_echo "$as_me:$LINENO: result: $CC" >&5
6469$as_echo "$CC" >&6; }
6470else
6471  { $as_echo "$as_me:$LINENO: result: no" >&5
6472$as_echo "no" >&6; }
6473fi
6474
6475
6476    test -n "$CC" && break
6477  done
6478fi
6479if test -z "$CC"; then
6480  ac_ct_CC=$CC
6481  for ac_prog in cl.exe
6482do
6483  # Extract the first word of "$ac_prog", so it can be a program name with args.
6484set dummy $ac_prog; ac_word=$2
6485{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6486$as_echo_n "checking for $ac_word... " >&6; }
6487if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
6488  $as_echo_n "(cached) " >&6
6489else
6490  if test -n "$ac_ct_CC"; then
6491  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
6492else
6493as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6494for as_dir in $PATH
6495do
6496  IFS=$as_save_IFS
6497  test -z "$as_dir" && as_dir=.
6498  for ac_exec_ext in '' $ac_executable_extensions; do
6499  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6500    ac_cv_prog_ac_ct_CC="$ac_prog"
6501    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6502    break 2
6503  fi
6504done
6505done
6506IFS=$as_save_IFS
6507
6508fi
6509fi
6510ac_ct_CC=$ac_cv_prog_ac_ct_CC
6511if test -n "$ac_ct_CC"; then
6512  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
6513$as_echo "$ac_ct_CC" >&6; }
6514else
6515  { $as_echo "$as_me:$LINENO: result: no" >&5
6516$as_echo "no" >&6; }
6517fi
6518
6519
6520  test -n "$ac_ct_CC" && break
6521done
6522
6523  if test "x$ac_ct_CC" = x; then
6524    CC=""
6525  else
6526    case $cross_compiling:$ac_tool_warned in
6527yes:)
6528{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6529$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6530ac_tool_warned=yes ;;
6531esac
6532    CC=$ac_ct_CC
6533  fi
6534fi
6535
6536fi
6537
6538
6539test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
6540$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6541{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
6542See \`config.log' for more details." >&5
6543$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
6544See \`config.log' for more details." >&2;}
6545   { (exit 1); exit 1; }; }; }
6546
6547# Provide some information about the compiler.
6548$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
6549set X $ac_compile
6550ac_compiler=$2
6551{ (ac_try="$ac_compiler --version >&5"
6552case "(($ac_try" in
6553  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6554  *) ac_try_echo=$ac_try;;
6555esac
6556eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6557$as_echo "$ac_try_echo") >&5
6558  (eval "$ac_compiler --version >&5") 2>&5
6559  ac_status=$?
6560  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6561  (exit $ac_status); }
6562{ (ac_try="$ac_compiler -v >&5"
6563case "(($ac_try" in
6564  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6565  *) ac_try_echo=$ac_try;;
6566esac
6567eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6568$as_echo "$ac_try_echo") >&5
6569  (eval "$ac_compiler -v >&5") 2>&5
6570  ac_status=$?
6571  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6572  (exit $ac_status); }
6573{ (ac_try="$ac_compiler -V >&5"
6574case "(($ac_try" in
6575  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6576  *) ac_try_echo=$ac_try;;
6577esac
6578eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6579$as_echo "$ac_try_echo") >&5
6580  (eval "$ac_compiler -V >&5") 2>&5
6581  ac_status=$?
6582  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6583  (exit $ac_status); }
6584
6585{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
6586$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
6587if test "${ac_cv_c_compiler_gnu+set}" = set; then
6588  $as_echo_n "(cached) " >&6
6589else
6590  cat >conftest.$ac_ext <<_ACEOF
6591/* confdefs.h.  */
6592_ACEOF
6593cat confdefs.h >>conftest.$ac_ext
6594cat >>conftest.$ac_ext <<_ACEOF
6595/* end confdefs.h.  */
6596
6597int
6598main ()
6599{
6600#ifndef __GNUC__
6601       choke me
6602#endif
6603
6604  ;
6605  return 0;
6606}
6607_ACEOF
6608rm -f conftest.$ac_objext
6609if { (ac_try="$ac_compile"
6610case "(($ac_try" in
6611  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6612  *) ac_try_echo=$ac_try;;
6613esac
6614eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6615$as_echo "$ac_try_echo") >&5
6616  (eval "$ac_compile") 2>conftest.er1
6617  ac_status=$?
6618  grep -v '^ *+' conftest.er1 >conftest.err
6619  rm -f conftest.er1
6620  cat conftest.err >&5
6621  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6622  (exit $ac_status); } && {
6623	 test -z "$ac_c_werror_flag" ||
6624	 test ! -s conftest.err
6625       } && test -s conftest.$ac_objext; then
6626  ac_compiler_gnu=yes
6627else
6628  $as_echo "$as_me: failed program was:" >&5
6629sed 's/^/| /' conftest.$ac_ext >&5
6630
6631	ac_compiler_gnu=no
6632fi
6633
6634rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6635ac_cv_c_compiler_gnu=$ac_compiler_gnu
6636
6637fi
6638{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
6639$as_echo "$ac_cv_c_compiler_gnu" >&6; }
6640if test $ac_compiler_gnu = yes; then
6641  GCC=yes
6642else
6643  GCC=
6644fi
6645ac_test_CFLAGS=${CFLAGS+set}
6646ac_save_CFLAGS=$CFLAGS
6647{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
6648$as_echo_n "checking whether $CC accepts -g... " >&6; }
6649if test "${ac_cv_prog_cc_g+set}" = set; then
6650  $as_echo_n "(cached) " >&6
6651else
6652  ac_save_c_werror_flag=$ac_c_werror_flag
6653   ac_c_werror_flag=yes
6654   ac_cv_prog_cc_g=no
6655   CFLAGS="-g"
6656   cat >conftest.$ac_ext <<_ACEOF
6657/* confdefs.h.  */
6658_ACEOF
6659cat confdefs.h >>conftest.$ac_ext
6660cat >>conftest.$ac_ext <<_ACEOF
6661/* end confdefs.h.  */
6662
6663int
6664main ()
6665{
6666
6667  ;
6668  return 0;
6669}
6670_ACEOF
6671rm -f conftest.$ac_objext
6672if { (ac_try="$ac_compile"
6673case "(($ac_try" in
6674  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6675  *) ac_try_echo=$ac_try;;
6676esac
6677eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6678$as_echo "$ac_try_echo") >&5
6679  (eval "$ac_compile") 2>conftest.er1
6680  ac_status=$?
6681  grep -v '^ *+' conftest.er1 >conftest.err
6682  rm -f conftest.er1
6683  cat conftest.err >&5
6684  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6685  (exit $ac_status); } && {
6686	 test -z "$ac_c_werror_flag" ||
6687	 test ! -s conftest.err
6688       } && test -s conftest.$ac_objext; then
6689  ac_cv_prog_cc_g=yes
6690else
6691  $as_echo "$as_me: failed program was:" >&5
6692sed 's/^/| /' conftest.$ac_ext >&5
6693
6694	CFLAGS=""
6695      cat >conftest.$ac_ext <<_ACEOF
6696/* confdefs.h.  */
6697_ACEOF
6698cat confdefs.h >>conftest.$ac_ext
6699cat >>conftest.$ac_ext <<_ACEOF
6700/* end confdefs.h.  */
6701
6702int
6703main ()
6704{
6705
6706  ;
6707  return 0;
6708}
6709_ACEOF
6710rm -f conftest.$ac_objext
6711if { (ac_try="$ac_compile"
6712case "(($ac_try" in
6713  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6714  *) ac_try_echo=$ac_try;;
6715esac
6716eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6717$as_echo "$ac_try_echo") >&5
6718  (eval "$ac_compile") 2>conftest.er1
6719  ac_status=$?
6720  grep -v '^ *+' conftest.er1 >conftest.err
6721  rm -f conftest.er1
6722  cat conftest.err >&5
6723  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6724  (exit $ac_status); } && {
6725	 test -z "$ac_c_werror_flag" ||
6726	 test ! -s conftest.err
6727       } && test -s conftest.$ac_objext; then
6728  :
6729else
6730  $as_echo "$as_me: failed program was:" >&5
6731sed 's/^/| /' conftest.$ac_ext >&5
6732
6733	ac_c_werror_flag=$ac_save_c_werror_flag
6734	 CFLAGS="-g"
6735	 cat >conftest.$ac_ext <<_ACEOF
6736/* confdefs.h.  */
6737_ACEOF
6738cat confdefs.h >>conftest.$ac_ext
6739cat >>conftest.$ac_ext <<_ACEOF
6740/* end confdefs.h.  */
6741
6742int
6743main ()
6744{
6745
6746  ;
6747  return 0;
6748}
6749_ACEOF
6750rm -f conftest.$ac_objext
6751if { (ac_try="$ac_compile"
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_compile") 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); } && {
6765	 test -z "$ac_c_werror_flag" ||
6766	 test ! -s conftest.err
6767       } && test -s conftest.$ac_objext; then
6768  ac_cv_prog_cc_g=yes
6769else
6770  $as_echo "$as_me: failed program was:" >&5
6771sed 's/^/| /' conftest.$ac_ext >&5
6772
6773
6774fi
6775
6776rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6777fi
6778
6779rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6780fi
6781
6782rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6783   ac_c_werror_flag=$ac_save_c_werror_flag
6784fi
6785{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
6786$as_echo "$ac_cv_prog_cc_g" >&6; }
6787if test "$ac_test_CFLAGS" = set; then
6788  CFLAGS=$ac_save_CFLAGS
6789elif test $ac_cv_prog_cc_g = yes; then
6790  if test "$GCC" = yes; then
6791    CFLAGS="-g -O2"
6792  else
6793    CFLAGS="-g"
6794  fi
6795else
6796  if test "$GCC" = yes; then
6797    CFLAGS="-O2"
6798  else
6799    CFLAGS=
6800  fi
6801fi
6802{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
6803$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
6804if test "${ac_cv_prog_cc_c89+set}" = set; then
6805  $as_echo_n "(cached) " >&6
6806else
6807  ac_cv_prog_cc_c89=no
6808ac_save_CC=$CC
6809cat >conftest.$ac_ext <<_ACEOF
6810/* confdefs.h.  */
6811_ACEOF
6812cat confdefs.h >>conftest.$ac_ext
6813cat >>conftest.$ac_ext <<_ACEOF
6814/* end confdefs.h.  */
6815#include <stdarg.h>
6816#include <stdio.h>
6817#include <sys/types.h>
6818#include <sys/stat.h>
6819/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
6820struct buf { int x; };
6821FILE * (*rcsopen) (struct buf *, struct stat *, int);
6822static char *e (p, i)
6823     char **p;
6824     int i;
6825{
6826  return p[i];
6827}
6828static char *f (char * (*g) (char **, int), char **p, ...)
6829{
6830  char *s;
6831  va_list v;
6832  va_start (v,p);
6833  s = g (p, va_arg (v,int));
6834  va_end (v);
6835  return s;
6836}
6837
6838/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
6839   function prototypes and stuff, but not '\xHH' hex character constants.
6840   These don't provoke an error unfortunately, instead are silently treated
6841   as 'x'.  The following induces an error, until -std is added to get
6842   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
6843   array size at least.  It's necessary to write '\x00'==0 to get something
6844   that's true only with -std.  */
6845int osf4_cc_array ['\x00' == 0 ? 1 : -1];
6846
6847/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
6848   inside strings and character constants.  */
6849#define FOO(x) 'x'
6850int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
6851
6852int test (int i, double x);
6853struct s1 {int (*f) (int a);};
6854struct s2 {int (*f) (double a);};
6855int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
6856int argc;
6857char **argv;
6858int
6859main ()
6860{
6861return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
6862  ;
6863  return 0;
6864}
6865_ACEOF
6866for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
6867	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
6868do
6869  CC="$ac_save_CC $ac_arg"
6870  rm -f conftest.$ac_objext
6871if { (ac_try="$ac_compile"
6872case "(($ac_try" in
6873  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6874  *) ac_try_echo=$ac_try;;
6875esac
6876eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6877$as_echo "$ac_try_echo") >&5
6878  (eval "$ac_compile") 2>conftest.er1
6879  ac_status=$?
6880  grep -v '^ *+' conftest.er1 >conftest.err
6881  rm -f conftest.er1
6882  cat conftest.err >&5
6883  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6884  (exit $ac_status); } && {
6885	 test -z "$ac_c_werror_flag" ||
6886	 test ! -s conftest.err
6887       } && test -s conftest.$ac_objext; then
6888  ac_cv_prog_cc_c89=$ac_arg
6889else
6890  $as_echo "$as_me: failed program was:" >&5
6891sed 's/^/| /' conftest.$ac_ext >&5
6892
6893
6894fi
6895
6896rm -f core conftest.err conftest.$ac_objext
6897  test "x$ac_cv_prog_cc_c89" != "xno" && break
6898done
6899rm -f conftest.$ac_ext
6900CC=$ac_save_CC
6901
6902fi
6903# AC_CACHE_VAL
6904case "x$ac_cv_prog_cc_c89" in
6905  x)
6906    { $as_echo "$as_me:$LINENO: result: none needed" >&5
6907$as_echo "none needed" >&6; } ;;
6908  xno)
6909    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
6910$as_echo "unsupported" >&6; } ;;
6911  *)
6912    CC="$CC $ac_cv_prog_cc_c89"
6913    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
6914$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
6915esac
6916
6917
6918ac_ext=c
6919ac_cpp='$CPP $CPPFLAGS'
6920ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6921ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6922ac_compiler_gnu=$ac_cv_c_compiler_gnu
6923
6924depcc="$CC"   am_compiler_list=
6925
6926{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6927$as_echo_n "checking dependency style of $depcc... " >&6; }
6928if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
6929  $as_echo_n "(cached) " >&6
6930else
6931  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6932  # We make a subdir and do the tests there.  Otherwise we can end up
6933  # making bogus files that we don't know about and never remove.  For
6934  # instance it was reported that on HP-UX the gcc test will end up
6935  # making a dummy file named `D' -- because `-MD' means `put the output
6936  # in D'.
6937  mkdir conftest.dir
6938  # Copy depcomp to subdir because otherwise we won't find it if we're
6939  # using a relative directory.
6940  cp "$am_depcomp" conftest.dir
6941  cd conftest.dir
6942  # We will build objects and dependencies in a subdirectory because
6943  # it helps to detect inapplicable dependency modes.  For instance
6944  # both Tru64's cc and ICC support -MD to output dependencies as a
6945  # side effect of compilation, but ICC will put the dependencies in
6946  # the current directory while Tru64 will put them in the object
6947  # directory.
6948  mkdir sub
6949
6950  am_cv_CC_dependencies_compiler_type=none
6951  if test "$am_compiler_list" = ""; then
6952     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6953  fi
6954  am__universal=false
6955  case " $depcc " in #(
6956     *\ -arch\ *\ -arch\ *) am__universal=true ;;
6957     esac
6958
6959  for depmode in $am_compiler_list; do
6960    # Setup a source with many dependencies, because some compilers
6961    # like to wrap large dependency lists on column 80 (with \), and
6962    # we should not choose a depcomp mode which is confused by this.
6963    #
6964    # We need to recreate these files for each test, as the compiler may
6965    # overwrite some of them when testing with obscure command lines.
6966    # This happens at least with the AIX C compiler.
6967    : > sub/conftest.c
6968    for i in 1 2 3 4 5 6; do
6969      echo '#include "conftst'$i'.h"' >> sub/conftest.c
6970      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6971      # Solaris 8's {/usr,}/bin/sh.
6972      touch sub/conftst$i.h
6973    done
6974    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6975
6976    # We check with `-c' and `-o' for the sake of the "dashmstdout"
6977    # mode.  It turns out that the SunPro C++ compiler does not properly
6978    # handle `-M -o', and we need to detect this.  Also, some Intel
6979    # versions had trouble with output in subdirs
6980    am__obj=sub/conftest.${OBJEXT-o}
6981    am__minus_obj="-o $am__obj"
6982    case $depmode in
6983    gcc)
6984      # This depmode causes a compiler race in universal mode.
6985      test "$am__universal" = false || continue
6986      ;;
6987    nosideeffect)
6988      # after this tag, mechanisms are not by side-effect, so they'll
6989      # only be used when explicitly requested
6990      if test "x$enable_dependency_tracking" = xyes; then
6991	continue
6992      else
6993	break
6994      fi
6995      ;;
6996    msvisualcpp | msvcmsys)
6997      # This compiler won't grok `-c -o', but also, the minuso test has
6998      # not run yet.  These depmodes are late enough in the game, and
6999      # so weak that their functioning should not be impacted.
7000      am__obj=conftest.${OBJEXT-o}
7001      am__minus_obj=
7002      ;;
7003    none) break ;;
7004    esac
7005    if depmode=$depmode \
7006       source=sub/conftest.c object=$am__obj \
7007       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
7008       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
7009         >/dev/null 2>conftest.err &&
7010       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
7011       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
7012       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
7013       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
7014      # icc doesn't choke on unknown options, it will just issue warnings
7015      # or remarks (even with -Werror).  So we grep stderr for any message
7016      # that says an option was ignored or not supported.
7017      # When given -MP, icc 7.0 and 7.1 complain thusly:
7018      #   icc: Command line warning: ignoring option '-M'; no argument required
7019      # The diagnosis changed in icc 8.0:
7020      #   icc: Command line remark: option '-MP' not supported
7021      if (grep 'ignoring option' conftest.err ||
7022          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
7023        am_cv_CC_dependencies_compiler_type=$depmode
7024        break
7025      fi
7026    fi
7027  done
7028
7029  cd ..
7030  rm -rf conftest.dir
7031else
7032  am_cv_CC_dependencies_compiler_type=none
7033fi
7034
7035fi
7036{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
7037$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
7038CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
7039
7040 if
7041  test "x$enable_dependency_tracking" != xno \
7042  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
7043  am__fastdepCC_TRUE=
7044  am__fastdepCC_FALSE='#'
7045else
7046  am__fastdepCC_TRUE='#'
7047  am__fastdepCC_FALSE=
7048fi
7049
7050
7051case `pwd` in
7052  *\ * | *\	*)
7053    { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
7054$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
7055esac
7056
7057
7058
7059macro_version='2.2.6b'
7060macro_revision='1.3017'
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074ltmain="$ac_aux_dir/ltmain.sh"
7075
7076{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
7077$as_echo_n "checking for a sed that does not truncate output... " >&6; }
7078if test "${ac_cv_path_SED+set}" = set; then
7079  $as_echo_n "(cached) " >&6
7080else
7081            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
7082     for ac_i in 1 2 3 4 5 6 7; do
7083       ac_script="$ac_script$as_nl$ac_script"
7084     done
7085     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
7086     $as_unset ac_script || ac_script=
7087     if test -z "$SED"; then
7088  ac_path_SED_found=false
7089  # Loop through the user's path and test for each of PROGNAME-LIST
7090  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7091for as_dir in $PATH
7092do
7093  IFS=$as_save_IFS
7094  test -z "$as_dir" && as_dir=.
7095  for ac_prog in sed gsed; do
7096    for ac_exec_ext in '' $ac_executable_extensions; do
7097      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
7098      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
7099# Check for GNU ac_path_SED and select it if it is found.
7100  # Check for GNU $ac_path_SED
7101case `"$ac_path_SED" --version 2>&1` in
7102*GNU*)
7103  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
7104*)
7105  ac_count=0
7106  $as_echo_n 0123456789 >"conftest.in"
7107  while :
7108  do
7109    cat "conftest.in" "conftest.in" >"conftest.tmp"
7110    mv "conftest.tmp" "conftest.in"
7111    cp "conftest.in" "conftest.nl"
7112    $as_echo '' >> "conftest.nl"
7113    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
7114    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7115    ac_count=`expr $ac_count + 1`
7116    if test $ac_count -gt ${ac_path_SED_max-0}; then
7117      # Best one so far, save it but keep looking for a better one
7118      ac_cv_path_SED="$ac_path_SED"
7119      ac_path_SED_max=$ac_count
7120    fi
7121    # 10*(2^10) chars as input seems more than enough
7122    test $ac_count -gt 10 && break
7123  done
7124  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7125esac
7126
7127      $ac_path_SED_found && break 3
7128    done
7129  done
7130done
7131IFS=$as_save_IFS
7132  if test -z "$ac_cv_path_SED"; then
7133    { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
7134$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
7135   { (exit 1); exit 1; }; }
7136  fi
7137else
7138  ac_cv_path_SED=$SED
7139fi
7140
7141fi
7142{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
7143$as_echo "$ac_cv_path_SED" >&6; }
7144 SED="$ac_cv_path_SED"
7145  rm -f conftest.sed
7146
7147test -z "$SED" && SED=sed
7148Xsed="$SED -e 1s/^X//"
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5
7161$as_echo_n "checking for fgrep... " >&6; }
7162if test "${ac_cv_path_FGREP+set}" = set; then
7163  $as_echo_n "(cached) " >&6
7164else
7165  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
7166   then ac_cv_path_FGREP="$GREP -F"
7167   else
7168     if test -z "$FGREP"; then
7169  ac_path_FGREP_found=false
7170  # Loop through the user's path and test for each of PROGNAME-LIST
7171  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7172for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7173do
7174  IFS=$as_save_IFS
7175  test -z "$as_dir" && as_dir=.
7176  for ac_prog in fgrep; do
7177    for ac_exec_ext in '' $ac_executable_extensions; do
7178      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
7179      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
7180# Check for GNU ac_path_FGREP and select it if it is found.
7181  # Check for GNU $ac_path_FGREP
7182case `"$ac_path_FGREP" --version 2>&1` in
7183*GNU*)
7184  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
7185*)
7186  ac_count=0
7187  $as_echo_n 0123456789 >"conftest.in"
7188  while :
7189  do
7190    cat "conftest.in" "conftest.in" >"conftest.tmp"
7191    mv "conftest.tmp" "conftest.in"
7192    cp "conftest.in" "conftest.nl"
7193    $as_echo 'FGREP' >> "conftest.nl"
7194    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
7195    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7196    ac_count=`expr $ac_count + 1`
7197    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
7198      # Best one so far, save it but keep looking for a better one
7199      ac_cv_path_FGREP="$ac_path_FGREP"
7200      ac_path_FGREP_max=$ac_count
7201    fi
7202    # 10*(2^10) chars as input seems more than enough
7203    test $ac_count -gt 10 && break
7204  done
7205  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7206esac
7207
7208      $ac_path_FGREP_found && break 3
7209    done
7210  done
7211done
7212IFS=$as_save_IFS
7213  if test -z "$ac_cv_path_FGREP"; then
7214    { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
7215$as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
7216   { (exit 1); exit 1; }; }
7217  fi
7218else
7219  ac_cv_path_FGREP=$FGREP
7220fi
7221
7222   fi
7223fi
7224{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
7225$as_echo "$ac_cv_path_FGREP" >&6; }
7226 FGREP="$ac_cv_path_FGREP"
7227
7228
7229test -z "$GREP" && GREP=grep
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249# Check whether --with-gnu-ld was given.
7250if test "${with_gnu_ld+set}" = set; then
7251  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
7252else
7253  with_gnu_ld=no
7254fi
7255
7256ac_prog=ld
7257if test "$GCC" = yes; then
7258  # Check if gcc -print-prog-name=ld gives a path.
7259  { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
7260$as_echo_n "checking for ld used by $CC... " >&6; }
7261  case $host in
7262  *-*-mingw*)
7263    # gcc leaves a trailing carriage return which upsets mingw
7264    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7265  *)
7266    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
7267  esac
7268  case $ac_prog in
7269    # Accept absolute paths.
7270    [\\/]* | ?:[\\/]*)
7271      re_direlt='/[^/][^/]*/\.\./'
7272      # Canonicalize the pathname of ld
7273      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
7274      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
7275	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
7276      done
7277      test -z "$LD" && LD="$ac_prog"
7278      ;;
7279  "")
7280    # If it fails, then pretend we aren't using GCC.
7281    ac_prog=ld
7282    ;;
7283  *)
7284    # If it is relative, then search for the first ld in PATH.
7285    with_gnu_ld=unknown
7286    ;;
7287  esac
7288elif test "$with_gnu_ld" = yes; then
7289  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
7290$as_echo_n "checking for GNU ld... " >&6; }
7291else
7292  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
7293$as_echo_n "checking for non-GNU ld... " >&6; }
7294fi
7295if test "${lt_cv_path_LD+set}" = set; then
7296  $as_echo_n "(cached) " >&6
7297else
7298  if test -z "$LD"; then
7299  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7300  for ac_dir in $PATH; do
7301    IFS="$lt_save_ifs"
7302    test -z "$ac_dir" && ac_dir=.
7303    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
7304      lt_cv_path_LD="$ac_dir/$ac_prog"
7305      # Check to see if the program is GNU ld.  I'd rather use --version,
7306      # but apparently some variants of GNU ld only accept -v.
7307      # Break only if it was the GNU/non-GNU ld that we prefer.
7308      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
7309      *GNU* | *'with BFD'*)
7310	test "$with_gnu_ld" != no && break
7311	;;
7312      *)
7313	test "$with_gnu_ld" != yes && break
7314	;;
7315      esac
7316    fi
7317  done
7318  IFS="$lt_save_ifs"
7319else
7320  lt_cv_path_LD="$LD" # Let the user override the test with a path.
7321fi
7322fi
7323
7324LD="$lt_cv_path_LD"
7325if test -n "$LD"; then
7326  { $as_echo "$as_me:$LINENO: result: $LD" >&5
7327$as_echo "$LD" >&6; }
7328else
7329  { $as_echo "$as_me:$LINENO: result: no" >&5
7330$as_echo "no" >&6; }
7331fi
7332test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
7333$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
7334   { (exit 1); exit 1; }; }
7335{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
7336$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
7337if test "${lt_cv_prog_gnu_ld+set}" = set; then
7338  $as_echo_n "(cached) " >&6
7339else
7340  # I'd rather use --version here, but apparently some GNU lds only accept -v.
7341case `$LD -v 2>&1 </dev/null` in
7342*GNU* | *'with BFD'*)
7343  lt_cv_prog_gnu_ld=yes
7344  ;;
7345*)
7346  lt_cv_prog_gnu_ld=no
7347  ;;
7348esac
7349fi
7350{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
7351$as_echo "$lt_cv_prog_gnu_ld" >&6; }
7352with_gnu_ld=$lt_cv_prog_gnu_ld
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362{ $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
7363$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
7364if test "${lt_cv_path_NM+set}" = set; then
7365  $as_echo_n "(cached) " >&6
7366else
7367  if test -n "$NM"; then
7368  # Let the user override the test.
7369  lt_cv_path_NM="$NM"
7370else
7371  lt_nm_to_check="${ac_tool_prefix}nm"
7372  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
7373    lt_nm_to_check="$lt_nm_to_check nm"
7374  fi
7375  for lt_tmp_nm in $lt_nm_to_check; do
7376    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7377    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
7378      IFS="$lt_save_ifs"
7379      test -z "$ac_dir" && ac_dir=.
7380      tmp_nm="$ac_dir/$lt_tmp_nm"
7381      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
7382	# Check to see if the nm accepts a BSD-compat flag.
7383	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
7384	#   nm: unknown option "B" ignored
7385	# Tru64's nm complains that /dev/null is an invalid object file
7386	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
7387	*/dev/null* | *'Invalid file or object type'*)
7388	  lt_cv_path_NM="$tmp_nm -B"
7389	  break
7390	  ;;
7391	*)
7392	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
7393	  */dev/null*)
7394	    lt_cv_path_NM="$tmp_nm -p"
7395	    break
7396	    ;;
7397	  *)
7398	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
7399	    continue # so that we can try to find one that supports BSD flags
7400	    ;;
7401	  esac
7402	  ;;
7403	esac
7404      fi
7405    done
7406    IFS="$lt_save_ifs"
7407  done
7408  : ${lt_cv_path_NM=no}
7409fi
7410fi
7411{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
7412$as_echo "$lt_cv_path_NM" >&6; }
7413if test "$lt_cv_path_NM" != "no"; then
7414  NM="$lt_cv_path_NM"
7415else
7416  # Didn't find any BSD compatible name lister, look for dumpbin.
7417  if test -n "$ac_tool_prefix"; then
7418  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
7419  do
7420    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7421set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7422{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7423$as_echo_n "checking for $ac_word... " >&6; }
7424if test "${ac_cv_prog_DUMPBIN+set}" = set; then
7425  $as_echo_n "(cached) " >&6
7426else
7427  if test -n "$DUMPBIN"; then
7428  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
7429else
7430as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7431for as_dir in $PATH
7432do
7433  IFS=$as_save_IFS
7434  test -z "$as_dir" && as_dir=.
7435  for ac_exec_ext in '' $ac_executable_extensions; do
7436  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7437    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
7438    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7439    break 2
7440  fi
7441done
7442done
7443IFS=$as_save_IFS
7444
7445fi
7446fi
7447DUMPBIN=$ac_cv_prog_DUMPBIN
7448if test -n "$DUMPBIN"; then
7449  { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
7450$as_echo "$DUMPBIN" >&6; }
7451else
7452  { $as_echo "$as_me:$LINENO: result: no" >&5
7453$as_echo "no" >&6; }
7454fi
7455
7456
7457    test -n "$DUMPBIN" && break
7458  done
7459fi
7460if test -z "$DUMPBIN"; then
7461  ac_ct_DUMPBIN=$DUMPBIN
7462  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
7463do
7464  # Extract the first word of "$ac_prog", so it can be a program name with args.
7465set dummy $ac_prog; ac_word=$2
7466{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7467$as_echo_n "checking for $ac_word... " >&6; }
7468if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
7469  $as_echo_n "(cached) " >&6
7470else
7471  if test -n "$ac_ct_DUMPBIN"; then
7472  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
7473else
7474as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7475for as_dir in $PATH
7476do
7477  IFS=$as_save_IFS
7478  test -z "$as_dir" && as_dir=.
7479  for ac_exec_ext in '' $ac_executable_extensions; do
7480  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7481    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
7482    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7483    break 2
7484  fi
7485done
7486done
7487IFS=$as_save_IFS
7488
7489fi
7490fi
7491ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
7492if test -n "$ac_ct_DUMPBIN"; then
7493  { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
7494$as_echo "$ac_ct_DUMPBIN" >&6; }
7495else
7496  { $as_echo "$as_me:$LINENO: result: no" >&5
7497$as_echo "no" >&6; }
7498fi
7499
7500
7501  test -n "$ac_ct_DUMPBIN" && break
7502done
7503
7504  if test "x$ac_ct_DUMPBIN" = x; then
7505    DUMPBIN=":"
7506  else
7507    case $cross_compiling:$ac_tool_warned in
7508yes:)
7509{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7510$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7511ac_tool_warned=yes ;;
7512esac
7513    DUMPBIN=$ac_ct_DUMPBIN
7514  fi
7515fi
7516
7517
7518  if test "$DUMPBIN" != ":"; then
7519    NM="$DUMPBIN"
7520  fi
7521fi
7522test -z "$NM" && NM=nm
7523
7524
7525
7526
7527
7528
7529{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
7530$as_echo_n "checking the name lister ($NM) interface... " >&6; }
7531if test "${lt_cv_nm_interface+set}" = set; then
7532  $as_echo_n "(cached) " >&6
7533else
7534  lt_cv_nm_interface="BSD nm"
7535  echo "int some_variable = 0;" > conftest.$ac_ext
7536  (eval echo "\"\$as_me:7536: $ac_compile\"" >&5)
7537  (eval "$ac_compile" 2>conftest.err)
7538  cat conftest.err >&5
7539  (eval echo "\"\$as_me:7539: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
7540  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
7541  cat conftest.err >&5
7542  (eval echo "\"\$as_me:7542: output\"" >&5)
7543  cat conftest.out >&5
7544  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
7545    lt_cv_nm_interface="MS dumpbin"
7546  fi
7547  rm -f conftest*
7548fi
7549{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
7550$as_echo "$lt_cv_nm_interface" >&6; }
7551
7552{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
7553$as_echo_n "checking whether ln -s works... " >&6; }
7554LN_S=$as_ln_s
7555if test "$LN_S" = "ln -s"; then
7556  { $as_echo "$as_me:$LINENO: result: yes" >&5
7557$as_echo "yes" >&6; }
7558else
7559  { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
7560$as_echo "no, using $LN_S" >&6; }
7561fi
7562
7563# find the maximum length of command line arguments
7564{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
7565$as_echo_n "checking the maximum length of command line arguments... " >&6; }
7566if test "${lt_cv_sys_max_cmd_len+set}" = set; then
7567  $as_echo_n "(cached) " >&6
7568else
7569    i=0
7570  teststring="ABCD"
7571
7572  case $build_os in
7573  msdosdjgpp*)
7574    # On DJGPP, this test can blow up pretty badly due to problems in libc
7575    # (any single argument exceeding 2000 bytes causes a buffer overrun
7576    # during glob expansion).  Even if it were fixed, the result of this
7577    # check would be larger than it should be.
7578    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
7579    ;;
7580
7581  gnu*)
7582    # Under GNU Hurd, this test is not required because there is
7583    # no limit to the length of command line arguments.
7584    # Libtool will interpret -1 as no limit whatsoever
7585    lt_cv_sys_max_cmd_len=-1;
7586    ;;
7587
7588  cygwin* | mingw* | cegcc*)
7589    # On Win9x/ME, this test blows up -- it succeeds, but takes
7590    # about 5 minutes as the teststring grows exponentially.
7591    # Worse, since 9x/ME are not pre-emptively multitasking,
7592    # you end up with a "frozen" computer, even though with patience
7593    # the test eventually succeeds (with a max line length of 256k).
7594    # Instead, let's just punt: use the minimum linelength reported by
7595    # all of the supported platforms: 8192 (on NT/2K/XP).
7596    lt_cv_sys_max_cmd_len=8192;
7597    ;;
7598
7599  amigaos*)
7600    # On AmigaOS with pdksh, this test takes hours, literally.
7601    # So we just punt and use a minimum line length of 8192.
7602    lt_cv_sys_max_cmd_len=8192;
7603    ;;
7604
7605  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
7606    # This has been around since 386BSD, at least.  Likely further.
7607    if test -x /sbin/sysctl; then
7608      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
7609    elif test -x /usr/sbin/sysctl; then
7610      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
7611    else
7612      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
7613    fi
7614    # And add a safety zone
7615    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7616    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7617    ;;
7618
7619  interix*)
7620    # We know the value 262144 and hardcode it with a safety zone (like BSD)
7621    lt_cv_sys_max_cmd_len=196608
7622    ;;
7623
7624  osf*)
7625    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7626    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7627    # nice to cause kernel panics so lets avoid the loop below.
7628    # First set a reasonable default.
7629    lt_cv_sys_max_cmd_len=16384
7630    #
7631    if test -x /sbin/sysconfig; then
7632      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7633        *1*) lt_cv_sys_max_cmd_len=-1 ;;
7634      esac
7635    fi
7636    ;;
7637  sco3.2v5*)
7638    lt_cv_sys_max_cmd_len=102400
7639    ;;
7640  sysv5* | sco5v6* | sysv4.2uw2*)
7641    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7642    if test -n "$kargmax"; then
7643      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
7644    else
7645      lt_cv_sys_max_cmd_len=32768
7646    fi
7647    ;;
7648  *)
7649    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
7650    if test -n "$lt_cv_sys_max_cmd_len"; then
7651      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7652      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7653    else
7654      # Make teststring a little bigger before we do anything with it.
7655      # a 1K string should be a reasonable start.
7656      for i in 1 2 3 4 5 6 7 8 ; do
7657        teststring=$teststring$teststring
7658      done
7659      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7660      # If test is not a shell built-in, we'll probably end up computing a
7661      # maximum length that is only half of the actual maximum length, but
7662      # we can't tell.
7663      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
7664	         = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
7665	      test $i != 17 # 1/2 MB should be enough
7666      do
7667        i=`expr $i + 1`
7668        teststring=$teststring$teststring
7669      done
7670      # Only check the string length outside the loop.
7671      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
7672      teststring=
7673      # Add a significant safety factor because C++ compilers can tack on
7674      # massive amounts of additional arguments before passing them to the
7675      # linker.  It appears as though 1/2 is a usable value.
7676      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
7677    fi
7678    ;;
7679  esac
7680
7681fi
7682
7683if test -n $lt_cv_sys_max_cmd_len ; then
7684  { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
7685$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7686else
7687  { $as_echo "$as_me:$LINENO: result: none" >&5
7688$as_echo "none" >&6; }
7689fi
7690max_cmd_len=$lt_cv_sys_max_cmd_len
7691
7692
7693
7694
7695
7696
7697: ${CP="cp -f"}
7698: ${MV="mv -f"}
7699: ${RM="rm -f"}
7700
7701{ $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
7702$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
7703# Try some XSI features
7704xsi_shell=no
7705( _lt_dummy="a/b/c"
7706  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
7707      = c,a/b,, \
7708    && eval 'test $(( 1 + 1 )) -eq 2 \
7709    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
7710  && xsi_shell=yes
7711{ $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
7712$as_echo "$xsi_shell" >&6; }
7713
7714
7715{ $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
7716$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
7717lt_shell_append=no
7718( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
7719    >/dev/null 2>&1 \
7720  && lt_shell_append=yes
7721{ $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
7722$as_echo "$lt_shell_append" >&6; }
7723
7724
7725if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7726  lt_unset=unset
7727else
7728  lt_unset=false
7729fi
7730
7731
7732
7733
7734
7735# test EBCDIC or ASCII
7736case `echo X|tr X '\101'` in
7737 A) # ASCII based system
7738    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7739  lt_SP2NL='tr \040 \012'
7740  lt_NL2SP='tr \015\012 \040\040'
7741  ;;
7742 *) # EBCDIC based system
7743  lt_SP2NL='tr \100 \n'
7744  lt_NL2SP='tr \r\n \100\100'
7745  ;;
7746esac
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
7757$as_echo_n "checking for $LD option to reload object files... " >&6; }
7758if test "${lt_cv_ld_reload_flag+set}" = set; then
7759  $as_echo_n "(cached) " >&6
7760else
7761  lt_cv_ld_reload_flag='-r'
7762fi
7763{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
7764$as_echo "$lt_cv_ld_reload_flag" >&6; }
7765reload_flag=$lt_cv_ld_reload_flag
7766case $reload_flag in
7767"" | " "*) ;;
7768*) reload_flag=" $reload_flag" ;;
7769esac
7770reload_cmds='$LD$reload_flag -o $output$reload_objs'
7771case $host_os in
7772  darwin*)
7773    if test "$GCC" = yes; then
7774      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7775    else
7776      reload_cmds='$LD$reload_flag -o $output$reload_objs'
7777    fi
7778    ;;
7779esac
7780
7781
7782
7783
7784
7785
7786
7787
7788
7789if test -n "$ac_tool_prefix"; then
7790  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7791set dummy ${ac_tool_prefix}objdump; ac_word=$2
7792{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7793$as_echo_n "checking for $ac_word... " >&6; }
7794if test "${ac_cv_prog_OBJDUMP+set}" = set; then
7795  $as_echo_n "(cached) " >&6
7796else
7797  if test -n "$OBJDUMP"; then
7798  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7799else
7800as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7801for as_dir in $PATH
7802do
7803  IFS=$as_save_IFS
7804  test -z "$as_dir" && as_dir=.
7805  for ac_exec_ext in '' $ac_executable_extensions; do
7806  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7807    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7808    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7809    break 2
7810  fi
7811done
7812done
7813IFS=$as_save_IFS
7814
7815fi
7816fi
7817OBJDUMP=$ac_cv_prog_OBJDUMP
7818if test -n "$OBJDUMP"; then
7819  { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
7820$as_echo "$OBJDUMP" >&6; }
7821else
7822  { $as_echo "$as_me:$LINENO: result: no" >&5
7823$as_echo "no" >&6; }
7824fi
7825
7826
7827fi
7828if test -z "$ac_cv_prog_OBJDUMP"; then
7829  ac_ct_OBJDUMP=$OBJDUMP
7830  # Extract the first word of "objdump", so it can be a program name with args.
7831set dummy objdump; ac_word=$2
7832{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7833$as_echo_n "checking for $ac_word... " >&6; }
7834if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
7835  $as_echo_n "(cached) " >&6
7836else
7837  if test -n "$ac_ct_OBJDUMP"; then
7838  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7839else
7840as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7841for as_dir in $PATH
7842do
7843  IFS=$as_save_IFS
7844  test -z "$as_dir" && as_dir=.
7845  for ac_exec_ext in '' $ac_executable_extensions; do
7846  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7847    ac_cv_prog_ac_ct_OBJDUMP="objdump"
7848    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7849    break 2
7850  fi
7851done
7852done
7853IFS=$as_save_IFS
7854
7855fi
7856fi
7857ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7858if test -n "$ac_ct_OBJDUMP"; then
7859  { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
7860$as_echo "$ac_ct_OBJDUMP" >&6; }
7861else
7862  { $as_echo "$as_me:$LINENO: result: no" >&5
7863$as_echo "no" >&6; }
7864fi
7865
7866  if test "x$ac_ct_OBJDUMP" = x; then
7867    OBJDUMP="false"
7868  else
7869    case $cross_compiling:$ac_tool_warned in
7870yes:)
7871{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7872$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7873ac_tool_warned=yes ;;
7874esac
7875    OBJDUMP=$ac_ct_OBJDUMP
7876  fi
7877else
7878  OBJDUMP="$ac_cv_prog_OBJDUMP"
7879fi
7880
7881test -z "$OBJDUMP" && OBJDUMP=objdump
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
7892$as_echo_n "checking how to recognize dependent libraries... " >&6; }
7893if test "${lt_cv_deplibs_check_method+set}" = set; then
7894  $as_echo_n "(cached) " >&6
7895else
7896  lt_cv_file_magic_cmd='$MAGIC_CMD'
7897lt_cv_file_magic_test_file=
7898lt_cv_deplibs_check_method='unknown'
7899# Need to set the preceding variable on all platforms that support
7900# interlibrary dependencies.
7901# 'none' -- dependencies not supported.
7902# `unknown' -- same as none, but documents that we really don't know.
7903# 'pass_all' -- all dependencies passed with no checks.
7904# 'test_compile' -- check by making test program.
7905# 'file_magic [[regex]]' -- check by looking for files in library path
7906# which responds to the $file_magic_cmd with a given extended regex.
7907# If you have `file' or equivalent on your system and you're not sure
7908# whether `pass_all' will *always* work, you probably want this one.
7909
7910case $host_os in
7911aix[4-9]*)
7912  lt_cv_deplibs_check_method=pass_all
7913  ;;
7914
7915beos*)
7916  lt_cv_deplibs_check_method=pass_all
7917  ;;
7918
7919bsdi[45]*)
7920  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7921  lt_cv_file_magic_cmd='/usr/bin/file -L'
7922  lt_cv_file_magic_test_file=/shlib/libc.so
7923  ;;
7924
7925cygwin*)
7926  # func_win32_libid is a shell function defined in ltmain.sh
7927  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7928  lt_cv_file_magic_cmd='func_win32_libid'
7929  ;;
7930
7931mingw* | pw32*)
7932  # Base MSYS/MinGW do not provide the 'file' command needed by
7933  # func_win32_libid shell function, so use a weaker test based on 'objdump',
7934  # unless we find 'file', for example because we are cross-compiling.
7935  if ( file / ) >/dev/null 2>&1; then
7936    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7937    lt_cv_file_magic_cmd='func_win32_libid'
7938  else
7939    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
7940    lt_cv_file_magic_cmd='$OBJDUMP -f'
7941  fi
7942  ;;
7943
7944cegcc)
7945  # use the weaker test based on 'objdump'. See mingw*.
7946  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7947  lt_cv_file_magic_cmd='$OBJDUMP -f'
7948  ;;
7949
7950darwin* | rhapsody*)
7951  lt_cv_deplibs_check_method=pass_all
7952  ;;
7953
7954freebsd* | dragonfly*)
7955  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7956    case $host_cpu in
7957    i*86 )
7958      # Not sure whether the presence of OpenBSD here was a mistake.
7959      # Let's accept both of them until this is cleared up.
7960      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7961      lt_cv_file_magic_cmd=/usr/bin/file
7962      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7963      ;;
7964    esac
7965  else
7966    lt_cv_deplibs_check_method=pass_all
7967  fi
7968  ;;
7969
7970gnu*)
7971  lt_cv_deplibs_check_method=pass_all
7972  ;;
7973
7974hpux10.20* | hpux11*)
7975  lt_cv_file_magic_cmd=/usr/bin/file
7976  case $host_cpu in
7977  ia64*)
7978    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7979    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7980    ;;
7981  hppa*64*)
7982    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]'
7983    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7984    ;;
7985  *)
7986    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
7987    lt_cv_file_magic_test_file=/usr/lib/libc.sl
7988    ;;
7989  esac
7990  ;;
7991
7992interix[3-9]*)
7993  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7994  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7995  ;;
7996
7997irix5* | irix6* | nonstopux*)
7998  case $LD in
7999  *-32|*"-32 ") libmagic=32-bit;;
8000  *-n32|*"-n32 ") libmagic=N32;;
8001  *-64|*"-64 ") libmagic=64-bit;;
8002  *) libmagic=never-match;;
8003  esac
8004  lt_cv_deplibs_check_method=pass_all
8005  ;;
8006
8007# This must be Linux ELF.
8008linux* | k*bsd*-gnu)
8009  lt_cv_deplibs_check_method=pass_all
8010  ;;
8011
8012netbsd*)
8013  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
8014    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8015  else
8016    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
8017  fi
8018  ;;
8019
8020newos6*)
8021  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
8022  lt_cv_file_magic_cmd=/usr/bin/file
8023  lt_cv_file_magic_test_file=/usr/lib/libnls.so
8024  ;;
8025
8026*nto* | *qnx*)
8027  lt_cv_deplibs_check_method=pass_all
8028  ;;
8029
8030openbsd*)
8031  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8032    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
8033  else
8034    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8035  fi
8036  ;;
8037
8038osf3* | osf4* | osf5*)
8039  lt_cv_deplibs_check_method=pass_all
8040  ;;
8041
8042rdos*)
8043  lt_cv_deplibs_check_method=pass_all
8044  ;;
8045
8046solaris*)
8047  lt_cv_deplibs_check_method=pass_all
8048  ;;
8049
8050sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
8051  lt_cv_deplibs_check_method=pass_all
8052  ;;
8053
8054sysv4 | sysv4.3*)
8055  case $host_vendor in
8056  motorola)
8057    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]'
8058    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
8059    ;;
8060  ncr)
8061    lt_cv_deplibs_check_method=pass_all
8062    ;;
8063  sequent)
8064    lt_cv_file_magic_cmd='/bin/file'
8065    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
8066    ;;
8067  sni)
8068    lt_cv_file_magic_cmd='/bin/file'
8069    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
8070    lt_cv_file_magic_test_file=/lib/libc.so
8071    ;;
8072  siemens)
8073    lt_cv_deplibs_check_method=pass_all
8074    ;;
8075  pc)
8076    lt_cv_deplibs_check_method=pass_all
8077    ;;
8078  esac
8079  ;;
8080
8081tpf*)
8082  lt_cv_deplibs_check_method=pass_all
8083  ;;
8084esac
8085
8086fi
8087{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
8088$as_echo "$lt_cv_deplibs_check_method" >&6; }
8089file_magic_cmd=$lt_cv_file_magic_cmd
8090deplibs_check_method=$lt_cv_deplibs_check_method
8091test -z "$deplibs_check_method" && deplibs_check_method=unknown
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104if test -n "$ac_tool_prefix"; then
8105  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8106set dummy ${ac_tool_prefix}ar; ac_word=$2
8107{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8108$as_echo_n "checking for $ac_word... " >&6; }
8109if test "${ac_cv_prog_AR+set}" = set; then
8110  $as_echo_n "(cached) " >&6
8111else
8112  if test -n "$AR"; then
8113  ac_cv_prog_AR="$AR" # Let the user override the test.
8114else
8115as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8116for as_dir in $PATH
8117do
8118  IFS=$as_save_IFS
8119  test -z "$as_dir" && as_dir=.
8120  for ac_exec_ext in '' $ac_executable_extensions; do
8121  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8122    ac_cv_prog_AR="${ac_tool_prefix}ar"
8123    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8124    break 2
8125  fi
8126done
8127done
8128IFS=$as_save_IFS
8129
8130fi
8131fi
8132AR=$ac_cv_prog_AR
8133if test -n "$AR"; then
8134  { $as_echo "$as_me:$LINENO: result: $AR" >&5
8135$as_echo "$AR" >&6; }
8136else
8137  { $as_echo "$as_me:$LINENO: result: no" >&5
8138$as_echo "no" >&6; }
8139fi
8140
8141
8142fi
8143if test -z "$ac_cv_prog_AR"; then
8144  ac_ct_AR=$AR
8145  # Extract the first word of "ar", so it can be a program name with args.
8146set dummy ar; ac_word=$2
8147{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8148$as_echo_n "checking for $ac_word... " >&6; }
8149if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
8150  $as_echo_n "(cached) " >&6
8151else
8152  if test -n "$ac_ct_AR"; then
8153  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
8154else
8155as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8156for as_dir in $PATH
8157do
8158  IFS=$as_save_IFS
8159  test -z "$as_dir" && as_dir=.
8160  for ac_exec_ext in '' $ac_executable_extensions; do
8161  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8162    ac_cv_prog_ac_ct_AR="ar"
8163    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8164    break 2
8165  fi
8166done
8167done
8168IFS=$as_save_IFS
8169
8170fi
8171fi
8172ac_ct_AR=$ac_cv_prog_ac_ct_AR
8173if test -n "$ac_ct_AR"; then
8174  { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
8175$as_echo "$ac_ct_AR" >&6; }
8176else
8177  { $as_echo "$as_me:$LINENO: result: no" >&5
8178$as_echo "no" >&6; }
8179fi
8180
8181  if test "x$ac_ct_AR" = x; then
8182    AR="false"
8183  else
8184    case $cross_compiling:$ac_tool_warned in
8185yes:)
8186{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
8187$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8188ac_tool_warned=yes ;;
8189esac
8190    AR=$ac_ct_AR
8191  fi
8192else
8193  AR="$ac_cv_prog_AR"
8194fi
8195
8196test -z "$AR" && AR=ar
8197test -z "$AR_FLAGS" && AR_FLAGS=cru
8198
8199
8200
8201
8202
8203
8204
8205
8206
8207
8208
8209if test -n "$ac_tool_prefix"; then
8210  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
8211set dummy ${ac_tool_prefix}strip; ac_word=$2
8212{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8213$as_echo_n "checking for $ac_word... " >&6; }
8214if test "${ac_cv_prog_STRIP+set}" = set; then
8215  $as_echo_n "(cached) " >&6
8216else
8217  if test -n "$STRIP"; then
8218  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8219else
8220as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8221for as_dir in $PATH
8222do
8223  IFS=$as_save_IFS
8224  test -z "$as_dir" && as_dir=.
8225  for ac_exec_ext in '' $ac_executable_extensions; do
8226  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8227    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
8228    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8229    break 2
8230  fi
8231done
8232done
8233IFS=$as_save_IFS
8234
8235fi
8236fi
8237STRIP=$ac_cv_prog_STRIP
8238if test -n "$STRIP"; then
8239  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
8240$as_echo "$STRIP" >&6; }
8241else
8242  { $as_echo "$as_me:$LINENO: result: no" >&5
8243$as_echo "no" >&6; }
8244fi
8245
8246
8247fi
8248if test -z "$ac_cv_prog_STRIP"; then
8249  ac_ct_STRIP=$STRIP
8250  # Extract the first word of "strip", so it can be a program name with args.
8251set dummy strip; ac_word=$2
8252{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8253$as_echo_n "checking for $ac_word... " >&6; }
8254if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
8255  $as_echo_n "(cached) " >&6
8256else
8257  if test -n "$ac_ct_STRIP"; then
8258  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
8259else
8260as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8261for as_dir in $PATH
8262do
8263  IFS=$as_save_IFS
8264  test -z "$as_dir" && as_dir=.
8265  for ac_exec_ext in '' $ac_executable_extensions; do
8266  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8267    ac_cv_prog_ac_ct_STRIP="strip"
8268    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8269    break 2
8270  fi
8271done
8272done
8273IFS=$as_save_IFS
8274
8275fi
8276fi
8277ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
8278if test -n "$ac_ct_STRIP"; then
8279  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
8280$as_echo "$ac_ct_STRIP" >&6; }
8281else
8282  { $as_echo "$as_me:$LINENO: result: no" >&5
8283$as_echo "no" >&6; }
8284fi
8285
8286  if test "x$ac_ct_STRIP" = x; then
8287    STRIP=":"
8288  else
8289    case $cross_compiling:$ac_tool_warned in
8290yes:)
8291{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
8292$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8293ac_tool_warned=yes ;;
8294esac
8295    STRIP=$ac_ct_STRIP
8296  fi
8297else
8298  STRIP="$ac_cv_prog_STRIP"
8299fi
8300
8301test -z "$STRIP" && STRIP=:
8302
8303
8304
8305
8306
8307
8308if test -n "$ac_tool_prefix"; then
8309  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8310set dummy ${ac_tool_prefix}ranlib; ac_word=$2
8311{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8312$as_echo_n "checking for $ac_word... " >&6; }
8313if test "${ac_cv_prog_RANLIB+set}" = set; then
8314  $as_echo_n "(cached) " >&6
8315else
8316  if test -n "$RANLIB"; then
8317  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8318else
8319as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8320for as_dir in $PATH
8321do
8322  IFS=$as_save_IFS
8323  test -z "$as_dir" && as_dir=.
8324  for ac_exec_ext in '' $ac_executable_extensions; do
8325  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8326    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
8327    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8328    break 2
8329  fi
8330done
8331done
8332IFS=$as_save_IFS
8333
8334fi
8335fi
8336RANLIB=$ac_cv_prog_RANLIB
8337if test -n "$RANLIB"; then
8338  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
8339$as_echo "$RANLIB" >&6; }
8340else
8341  { $as_echo "$as_me:$LINENO: result: no" >&5
8342$as_echo "no" >&6; }
8343fi
8344
8345
8346fi
8347if test -z "$ac_cv_prog_RANLIB"; then
8348  ac_ct_RANLIB=$RANLIB
8349  # Extract the first word of "ranlib", so it can be a program name with args.
8350set dummy ranlib; ac_word=$2
8351{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8352$as_echo_n "checking for $ac_word... " >&6; }
8353if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
8354  $as_echo_n "(cached) " >&6
8355else
8356  if test -n "$ac_ct_RANLIB"; then
8357  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
8358else
8359as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8360for as_dir in $PATH
8361do
8362  IFS=$as_save_IFS
8363  test -z "$as_dir" && as_dir=.
8364  for ac_exec_ext in '' $ac_executable_extensions; do
8365  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8366    ac_cv_prog_ac_ct_RANLIB="ranlib"
8367    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8368    break 2
8369  fi
8370done
8371done
8372IFS=$as_save_IFS
8373
8374fi
8375fi
8376ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
8377if test -n "$ac_ct_RANLIB"; then
8378  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
8379$as_echo "$ac_ct_RANLIB" >&6; }
8380else
8381  { $as_echo "$as_me:$LINENO: result: no" >&5
8382$as_echo "no" >&6; }
8383fi
8384
8385  if test "x$ac_ct_RANLIB" = x; then
8386    RANLIB=":"
8387  else
8388    case $cross_compiling:$ac_tool_warned in
8389yes:)
8390{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
8391$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8392ac_tool_warned=yes ;;
8393esac
8394    RANLIB=$ac_ct_RANLIB
8395  fi
8396else
8397  RANLIB="$ac_cv_prog_RANLIB"
8398fi
8399
8400test -z "$RANLIB" && RANLIB=:
8401
8402
8403
8404
8405
8406
8407# Determine commands to create old-style static archives.
8408old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
8409old_postinstall_cmds='chmod 644 $oldlib'
8410old_postuninstall_cmds=
8411
8412if test -n "$RANLIB"; then
8413  case $host_os in
8414  openbsd*)
8415    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
8416    ;;
8417  *)
8418    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
8419    ;;
8420  esac
8421  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
8422fi
8423
8424
8425
8426
8427
8428
8429
8430
8431
8432
8433
8434
8435
8436
8437
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457# If no C compiler was specified, use CC.
8458LTCC=${LTCC-"$CC"}
8459
8460# If no C compiler flags were specified, use CFLAGS.
8461LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8462
8463# Allow CC to be a program name with arguments.
8464compiler=$CC
8465
8466
8467# Check for command to grab the raw symbol name followed by C symbol from nm.
8468{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
8469$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
8470if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
8471  $as_echo_n "(cached) " >&6
8472else
8473
8474# These are sane defaults that work on at least a few old systems.
8475# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
8476
8477# Character class describing NM global symbol codes.
8478symcode='[BCDEGRST]'
8479
8480# Regexp to match symbols that can be accessed directly from C.
8481sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
8482
8483# Define system-specific variables.
8484case $host_os in
8485aix*)
8486  symcode='[BCDT]'
8487  ;;
8488cygwin* | mingw* | pw32* | cegcc*)
8489  symcode='[ABCDGISTW]'
8490  ;;
8491hpux*)
8492  if test "$host_cpu" = ia64; then
8493    symcode='[ABCDEGRST]'
8494  fi
8495  ;;
8496irix* | nonstopux*)
8497  symcode='[BCDEGRST]'
8498  ;;
8499osf*)
8500  symcode='[BCDEGQRST]'
8501  ;;
8502solaris*)
8503  symcode='[BDRT]'
8504  ;;
8505sco3.2v5*)
8506  symcode='[DT]'
8507  ;;
8508sysv4.2uw2*)
8509  symcode='[DT]'
8510  ;;
8511sysv5* | sco5v6* | unixware* | OpenUNIX*)
8512  symcode='[ABDT]'
8513  ;;
8514sysv4)
8515  symcode='[DFNSTU]'
8516  ;;
8517esac
8518
8519# If we're using GNU nm, then use its standard symbol codes.
8520case `$NM -V 2>&1` in
8521*GNU* | *'with BFD'*)
8522  symcode='[ABCDGIRSTW]' ;;
8523esac
8524
8525# Transform an extracted symbol line into a proper C declaration.
8526# Some systems (esp. on ia64) link data and code symbols differently,
8527# so use this general approach.
8528lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8529
8530# Transform an extracted symbol line into symbol name and symbol address
8531lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
8532lt_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'"
8533
8534# Handle CRLF in mingw tool chain
8535opt_cr=
8536case $build_os in
8537mingw*)
8538  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8539  ;;
8540esac
8541
8542# Try without a prefix underscore, then with it.
8543for ac_symprfx in "" "_"; do
8544
8545  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8546  symxfrm="\\1 $ac_symprfx\\2 \\2"
8547
8548  # Write the raw and C identifiers.
8549  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8550    # Fake it for dumpbin and say T for any non-static function
8551    # and D for any global variable.
8552    # Also find C++ and __fastcall symbols from MSVC++,
8553    # which start with @ or ?.
8554    lt_cv_sys_global_symbol_pipe="$AWK '"\
8555"     {last_section=section; section=\$ 3};"\
8556"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8557"     \$ 0!~/External *\|/{next};"\
8558"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8559"     {if(hide[section]) next};"\
8560"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
8561"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
8562"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
8563"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
8564"     ' prfx=^$ac_symprfx"
8565  else
8566    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8567  fi
8568
8569  # Check to see that the pipe works correctly.
8570  pipe_works=no
8571
8572  rm -f conftest*
8573  cat > conftest.$ac_ext <<_LT_EOF
8574#ifdef __cplusplus
8575extern "C" {
8576#endif
8577char nm_test_var;
8578void nm_test_func(void);
8579void nm_test_func(void){}
8580#ifdef __cplusplus
8581}
8582#endif
8583int main(){nm_test_var='a';nm_test_func();return(0);}
8584_LT_EOF
8585
8586  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8587  (eval $ac_compile) 2>&5
8588  ac_status=$?
8589  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8590  (exit $ac_status); }; then
8591    # Now try to grab the symbols.
8592    nlist=conftest.nm
8593    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
8594  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
8595  ac_status=$?
8596  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8597  (exit $ac_status); } && test -s "$nlist"; then
8598      # Try sorting and uniquifying the output.
8599      if sort "$nlist" | uniq > "$nlist"T; then
8600	mv -f "$nlist"T "$nlist"
8601      else
8602	rm -f "$nlist"T
8603      fi
8604
8605      # Make sure that we snagged all the symbols we need.
8606      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
8607	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
8608	  cat <<_LT_EOF > conftest.$ac_ext
8609#ifdef __cplusplus
8610extern "C" {
8611#endif
8612
8613_LT_EOF
8614	  # Now generate the symbol file.
8615	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8616
8617	  cat <<_LT_EOF >> conftest.$ac_ext
8618
8619/* The mapping between symbol names and symbols.  */
8620const struct {
8621  const char *name;
8622  void       *address;
8623}
8624lt__PROGRAM__LTX_preloaded_symbols[] =
8625{
8626  { "@PROGRAM@", (void *) 0 },
8627_LT_EOF
8628	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
8629	  cat <<\_LT_EOF >> conftest.$ac_ext
8630  {0, (void *) 0}
8631};
8632
8633/* This works around a problem in FreeBSD linker */
8634#ifdef FREEBSD_WORKAROUND
8635static const void *lt_preloaded_setup() {
8636  return lt__PROGRAM__LTX_preloaded_symbols;
8637}
8638#endif
8639
8640#ifdef __cplusplus
8641}
8642#endif
8643_LT_EOF
8644	  # Now try linking the two files.
8645	  mv conftest.$ac_objext conftstm.$ac_objext
8646	  lt_save_LIBS="$LIBS"
8647	  lt_save_CFLAGS="$CFLAGS"
8648	  LIBS="conftstm.$ac_objext"
8649	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8650	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8651  (eval $ac_link) 2>&5
8652  ac_status=$?
8653  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8654  (exit $ac_status); } && test -s conftest${ac_exeext}; then
8655	    pipe_works=yes
8656	  fi
8657	  LIBS="$lt_save_LIBS"
8658	  CFLAGS="$lt_save_CFLAGS"
8659	else
8660	  echo "cannot find nm_test_func in $nlist" >&5
8661	fi
8662      else
8663	echo "cannot find nm_test_var in $nlist" >&5
8664      fi
8665    else
8666      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8667    fi
8668  else
8669    echo "$progname: failed program was:" >&5
8670    cat conftest.$ac_ext >&5
8671  fi
8672  rm -rf conftest* conftst*
8673
8674  # Do not use the global_symbol_pipe unless it works.
8675  if test "$pipe_works" = yes; then
8676    break
8677  else
8678    lt_cv_sys_global_symbol_pipe=
8679  fi
8680done
8681
8682fi
8683
8684if test -z "$lt_cv_sys_global_symbol_pipe"; then
8685  lt_cv_sys_global_symbol_to_cdecl=
8686fi
8687if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8688  { $as_echo "$as_me:$LINENO: result: failed" >&5
8689$as_echo "failed" >&6; }
8690else
8691  { $as_echo "$as_me:$LINENO: result: ok" >&5
8692$as_echo "ok" >&6; }
8693fi
8694
8695
8696
8697
8698
8699
8700
8701
8702
8703
8704
8705
8706
8707
8708
8709
8710
8711
8712
8713
8714
8715
8716# Check whether --enable-libtool-lock was given.
8717if test "${enable_libtool_lock+set}" = set; then
8718  enableval=$enable_libtool_lock;
8719fi
8720
8721test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8722
8723# Some flags need to be propagated to the compiler or linker for good
8724# libtool support.
8725case $host in
8726ia64-*-hpux*)
8727  # Find out which ABI we are using.
8728  echo 'int i;' > conftest.$ac_ext
8729  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8730  (eval $ac_compile) 2>&5
8731  ac_status=$?
8732  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8733  (exit $ac_status); }; then
8734    case `/usr/bin/file conftest.$ac_objext` in
8735      *ELF-32*)
8736	HPUX_IA64_MODE="32"
8737	;;
8738      *ELF-64*)
8739	HPUX_IA64_MODE="64"
8740	;;
8741    esac
8742  fi
8743  rm -rf conftest*
8744  ;;
8745*-*-irix6*)
8746  # Find out which ABI we are using.
8747  echo '#line 8747 "configure"' > conftest.$ac_ext
8748  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8749  (eval $ac_compile) 2>&5
8750  ac_status=$?
8751  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8752  (exit $ac_status); }; then
8753    if test "$lt_cv_prog_gnu_ld" = yes; then
8754      case `/usr/bin/file conftest.$ac_objext` in
8755	*32-bit*)
8756	  LD="${LD-ld} -melf32bsmip"
8757	  ;;
8758	*N32*)
8759	  LD="${LD-ld} -melf32bmipn32"
8760	  ;;
8761	*64-bit*)
8762	  LD="${LD-ld} -melf64bmip"
8763	;;
8764      esac
8765    else
8766      case `/usr/bin/file conftest.$ac_objext` in
8767	*32-bit*)
8768	  LD="${LD-ld} -32"
8769	  ;;
8770	*N32*)
8771	  LD="${LD-ld} -n32"
8772	  ;;
8773	*64-bit*)
8774	  LD="${LD-ld} -64"
8775	  ;;
8776      esac
8777    fi
8778  fi
8779  rm -rf conftest*
8780  ;;
8781
8782x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
8783s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8784  # Find out which ABI we are using.
8785  echo 'int i;' > conftest.$ac_ext
8786  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8787  (eval $ac_compile) 2>&5
8788  ac_status=$?
8789  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8790  (exit $ac_status); }; then
8791    case `/usr/bin/file conftest.o` in
8792      *32-bit*)
8793	case $host in
8794	  x86_64-*kfreebsd*-gnu)
8795	    LD="${LD-ld} -m elf_i386_fbsd"
8796	    ;;
8797	  x86_64-*linux*)
8798	    LD="${LD-ld} -m elf_i386"
8799	    ;;
8800	  ppc64-*linux*|powerpc64-*linux*)
8801	    LD="${LD-ld} -m elf32ppclinux"
8802	    ;;
8803	  s390x-*linux*)
8804	    LD="${LD-ld} -m elf_s390"
8805	    ;;
8806	  sparc64-*linux*)
8807	    LD="${LD-ld} -m elf32_sparc"
8808	    ;;
8809	esac
8810	;;
8811      *64-bit*)
8812	case $host in
8813	  x86_64-*kfreebsd*-gnu)
8814	    LD="${LD-ld} -m elf_x86_64_fbsd"
8815	    ;;
8816	  x86_64-*linux*)
8817	    LD="${LD-ld} -m elf_x86_64"
8818	    ;;
8819	  ppc*-*linux*|powerpc*-*linux*)
8820	    LD="${LD-ld} -m elf64ppc"
8821	    ;;
8822	  s390*-*linux*|s390*-*tpf*)
8823	    LD="${LD-ld} -m elf64_s390"
8824	    ;;
8825	  sparc*-*linux*)
8826	    LD="${LD-ld} -m elf64_sparc"
8827	    ;;
8828	esac
8829	;;
8830    esac
8831  fi
8832  rm -rf conftest*
8833  ;;
8834
8835*-*-sco3.2v5*)
8836  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8837  SAVE_CFLAGS="$CFLAGS"
8838  CFLAGS="$CFLAGS -belf"
8839  { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
8840$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8841if test "${lt_cv_cc_needs_belf+set}" = set; then
8842  $as_echo_n "(cached) " >&6
8843else
8844  ac_ext=c
8845ac_cpp='$CPP $CPPFLAGS'
8846ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8847ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8848ac_compiler_gnu=$ac_cv_c_compiler_gnu
8849
8850     cat >conftest.$ac_ext <<_ACEOF
8851/* confdefs.h.  */
8852_ACEOF
8853cat confdefs.h >>conftest.$ac_ext
8854cat >>conftest.$ac_ext <<_ACEOF
8855/* end confdefs.h.  */
8856
8857int
8858main ()
8859{
8860
8861  ;
8862  return 0;
8863}
8864_ACEOF
8865rm -f conftest.$ac_objext conftest$ac_exeext
8866if { (ac_try="$ac_link"
8867case "(($ac_try" in
8868  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8869  *) ac_try_echo=$ac_try;;
8870esac
8871eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8872$as_echo "$ac_try_echo") >&5
8873  (eval "$ac_link") 2>conftest.er1
8874  ac_status=$?
8875  grep -v '^ *+' conftest.er1 >conftest.err
8876  rm -f conftest.er1
8877  cat conftest.err >&5
8878  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8879  (exit $ac_status); } && {
8880	 test -z "$ac_c_werror_flag" ||
8881	 test ! -s conftest.err
8882       } && test -s conftest$ac_exeext && {
8883	 test "$cross_compiling" = yes ||
8884	 $as_test_x conftest$ac_exeext
8885       }; then
8886  lt_cv_cc_needs_belf=yes
8887else
8888  $as_echo "$as_me: failed program was:" >&5
8889sed 's/^/| /' conftest.$ac_ext >&5
8890
8891	lt_cv_cc_needs_belf=no
8892fi
8893
8894rm -rf conftest.dSYM
8895rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8896      conftest$ac_exeext conftest.$ac_ext
8897     ac_ext=c
8898ac_cpp='$CPP $CPPFLAGS'
8899ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8900ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8901ac_compiler_gnu=$ac_cv_c_compiler_gnu
8902
8903fi
8904{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
8905$as_echo "$lt_cv_cc_needs_belf" >&6; }
8906  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8907    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8908    CFLAGS="$SAVE_CFLAGS"
8909  fi
8910  ;;
8911sparc*-*solaris*)
8912  # Find out which ABI we are using.
8913  echo 'int i;' > conftest.$ac_ext
8914  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8915  (eval $ac_compile) 2>&5
8916  ac_status=$?
8917  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8918  (exit $ac_status); }; then
8919    case `/usr/bin/file conftest.o` in
8920    *64-bit*)
8921      case $lt_cv_prog_gnu_ld in
8922      yes*) LD="${LD-ld} -m elf64_sparc" ;;
8923      *)
8924	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8925	  LD="${LD-ld} -64"
8926	fi
8927	;;
8928      esac
8929      ;;
8930    esac
8931  fi
8932  rm -rf conftest*
8933  ;;
8934esac
8935
8936need_locks="$enable_libtool_lock"
8937
8938
8939  case $host_os in
8940    rhapsody* | darwin*)
8941    if test -n "$ac_tool_prefix"; then
8942  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8943set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8944{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8945$as_echo_n "checking for $ac_word... " >&6; }
8946if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
8947  $as_echo_n "(cached) " >&6
8948else
8949  if test -n "$DSYMUTIL"; then
8950  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8951else
8952as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8953for as_dir in $PATH
8954do
8955  IFS=$as_save_IFS
8956  test -z "$as_dir" && as_dir=.
8957  for ac_exec_ext in '' $ac_executable_extensions; do
8958  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8959    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8960    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8961    break 2
8962  fi
8963done
8964done
8965IFS=$as_save_IFS
8966
8967fi
8968fi
8969DSYMUTIL=$ac_cv_prog_DSYMUTIL
8970if test -n "$DSYMUTIL"; then
8971  { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
8972$as_echo "$DSYMUTIL" >&6; }
8973else
8974  { $as_echo "$as_me:$LINENO: result: no" >&5
8975$as_echo "no" >&6; }
8976fi
8977
8978
8979fi
8980if test -z "$ac_cv_prog_DSYMUTIL"; then
8981  ac_ct_DSYMUTIL=$DSYMUTIL
8982  # Extract the first word of "dsymutil", so it can be a program name with args.
8983set dummy dsymutil; ac_word=$2
8984{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8985$as_echo_n "checking for $ac_word... " >&6; }
8986if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
8987  $as_echo_n "(cached) " >&6
8988else
8989  if test -n "$ac_ct_DSYMUTIL"; then
8990  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8991else
8992as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8993for as_dir in $PATH
8994do
8995  IFS=$as_save_IFS
8996  test -z "$as_dir" && as_dir=.
8997  for ac_exec_ext in '' $ac_executable_extensions; do
8998  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8999    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
9000    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9001    break 2
9002  fi
9003done
9004done
9005IFS=$as_save_IFS
9006
9007fi
9008fi
9009ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
9010if test -n "$ac_ct_DSYMUTIL"; then
9011  { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
9012$as_echo "$ac_ct_DSYMUTIL" >&6; }
9013else
9014  { $as_echo "$as_me:$LINENO: result: no" >&5
9015$as_echo "no" >&6; }
9016fi
9017
9018  if test "x$ac_ct_DSYMUTIL" = x; then
9019    DSYMUTIL=":"
9020  else
9021    case $cross_compiling:$ac_tool_warned in
9022yes:)
9023{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
9024$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9025ac_tool_warned=yes ;;
9026esac
9027    DSYMUTIL=$ac_ct_DSYMUTIL
9028  fi
9029else
9030  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
9031fi
9032
9033    if test -n "$ac_tool_prefix"; then
9034  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
9035set dummy ${ac_tool_prefix}nmedit; ac_word=$2
9036{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9037$as_echo_n "checking for $ac_word... " >&6; }
9038if test "${ac_cv_prog_NMEDIT+set}" = set; then
9039  $as_echo_n "(cached) " >&6
9040else
9041  if test -n "$NMEDIT"; then
9042  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
9043else
9044as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9045for as_dir in $PATH
9046do
9047  IFS=$as_save_IFS
9048  test -z "$as_dir" && as_dir=.
9049  for ac_exec_ext in '' $ac_executable_extensions; do
9050  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9051    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
9052    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9053    break 2
9054  fi
9055done
9056done
9057IFS=$as_save_IFS
9058
9059fi
9060fi
9061NMEDIT=$ac_cv_prog_NMEDIT
9062if test -n "$NMEDIT"; then
9063  { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
9064$as_echo "$NMEDIT" >&6; }
9065else
9066  { $as_echo "$as_me:$LINENO: result: no" >&5
9067$as_echo "no" >&6; }
9068fi
9069
9070
9071fi
9072if test -z "$ac_cv_prog_NMEDIT"; then
9073  ac_ct_NMEDIT=$NMEDIT
9074  # Extract the first word of "nmedit", so it can be a program name with args.
9075set dummy nmedit; ac_word=$2
9076{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9077$as_echo_n "checking for $ac_word... " >&6; }
9078if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
9079  $as_echo_n "(cached) " >&6
9080else
9081  if test -n "$ac_ct_NMEDIT"; then
9082  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
9083else
9084as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9085for as_dir in $PATH
9086do
9087  IFS=$as_save_IFS
9088  test -z "$as_dir" && as_dir=.
9089  for ac_exec_ext in '' $ac_executable_extensions; do
9090  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9091    ac_cv_prog_ac_ct_NMEDIT="nmedit"
9092    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9093    break 2
9094  fi
9095done
9096done
9097IFS=$as_save_IFS
9098
9099fi
9100fi
9101ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
9102if test -n "$ac_ct_NMEDIT"; then
9103  { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
9104$as_echo "$ac_ct_NMEDIT" >&6; }
9105else
9106  { $as_echo "$as_me:$LINENO: result: no" >&5
9107$as_echo "no" >&6; }
9108fi
9109
9110  if test "x$ac_ct_NMEDIT" = x; then
9111    NMEDIT=":"
9112  else
9113    case $cross_compiling:$ac_tool_warned in
9114yes:)
9115{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
9116$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9117ac_tool_warned=yes ;;
9118esac
9119    NMEDIT=$ac_ct_NMEDIT
9120  fi
9121else
9122  NMEDIT="$ac_cv_prog_NMEDIT"
9123fi
9124
9125    if test -n "$ac_tool_prefix"; then
9126  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
9127set dummy ${ac_tool_prefix}lipo; ac_word=$2
9128{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9129$as_echo_n "checking for $ac_word... " >&6; }
9130if test "${ac_cv_prog_LIPO+set}" = set; then
9131  $as_echo_n "(cached) " >&6
9132else
9133  if test -n "$LIPO"; then
9134  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
9135else
9136as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9137for as_dir in $PATH
9138do
9139  IFS=$as_save_IFS
9140  test -z "$as_dir" && as_dir=.
9141  for ac_exec_ext in '' $ac_executable_extensions; do
9142  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9143    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
9144    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9145    break 2
9146  fi
9147done
9148done
9149IFS=$as_save_IFS
9150
9151fi
9152fi
9153LIPO=$ac_cv_prog_LIPO
9154if test -n "$LIPO"; then
9155  { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
9156$as_echo "$LIPO" >&6; }
9157else
9158  { $as_echo "$as_me:$LINENO: result: no" >&5
9159$as_echo "no" >&6; }
9160fi
9161
9162
9163fi
9164if test -z "$ac_cv_prog_LIPO"; then
9165  ac_ct_LIPO=$LIPO
9166  # Extract the first word of "lipo", so it can be a program name with args.
9167set dummy lipo; ac_word=$2
9168{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9169$as_echo_n "checking for $ac_word... " >&6; }
9170if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
9171  $as_echo_n "(cached) " >&6
9172else
9173  if test -n "$ac_ct_LIPO"; then
9174  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
9175else
9176as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9177for as_dir in $PATH
9178do
9179  IFS=$as_save_IFS
9180  test -z "$as_dir" && as_dir=.
9181  for ac_exec_ext in '' $ac_executable_extensions; do
9182  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9183    ac_cv_prog_ac_ct_LIPO="lipo"
9184    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9185    break 2
9186  fi
9187done
9188done
9189IFS=$as_save_IFS
9190
9191fi
9192fi
9193ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
9194if test -n "$ac_ct_LIPO"; then
9195  { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
9196$as_echo "$ac_ct_LIPO" >&6; }
9197else
9198  { $as_echo "$as_me:$LINENO: result: no" >&5
9199$as_echo "no" >&6; }
9200fi
9201
9202  if test "x$ac_ct_LIPO" = x; then
9203    LIPO=":"
9204  else
9205    case $cross_compiling:$ac_tool_warned in
9206yes:)
9207{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
9208$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9209ac_tool_warned=yes ;;
9210esac
9211    LIPO=$ac_ct_LIPO
9212  fi
9213else
9214  LIPO="$ac_cv_prog_LIPO"
9215fi
9216
9217    if test -n "$ac_tool_prefix"; then
9218  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9219set dummy ${ac_tool_prefix}otool; ac_word=$2
9220{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9221$as_echo_n "checking for $ac_word... " >&6; }
9222if test "${ac_cv_prog_OTOOL+set}" = set; then
9223  $as_echo_n "(cached) " >&6
9224else
9225  if test -n "$OTOOL"; then
9226  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9227else
9228as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9229for as_dir in $PATH
9230do
9231  IFS=$as_save_IFS
9232  test -z "$as_dir" && as_dir=.
9233  for ac_exec_ext in '' $ac_executable_extensions; do
9234  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9235    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9236    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9237    break 2
9238  fi
9239done
9240done
9241IFS=$as_save_IFS
9242
9243fi
9244fi
9245OTOOL=$ac_cv_prog_OTOOL
9246if test -n "$OTOOL"; then
9247  { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
9248$as_echo "$OTOOL" >&6; }
9249else
9250  { $as_echo "$as_me:$LINENO: result: no" >&5
9251$as_echo "no" >&6; }
9252fi
9253
9254
9255fi
9256if test -z "$ac_cv_prog_OTOOL"; then
9257  ac_ct_OTOOL=$OTOOL
9258  # Extract the first word of "otool", so it can be a program name with args.
9259set dummy otool; ac_word=$2
9260{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9261$as_echo_n "checking for $ac_word... " >&6; }
9262if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
9263  $as_echo_n "(cached) " >&6
9264else
9265  if test -n "$ac_ct_OTOOL"; then
9266  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9267else
9268as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9269for as_dir in $PATH
9270do
9271  IFS=$as_save_IFS
9272  test -z "$as_dir" && as_dir=.
9273  for ac_exec_ext in '' $ac_executable_extensions; do
9274  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9275    ac_cv_prog_ac_ct_OTOOL="otool"
9276    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9277    break 2
9278  fi
9279done
9280done
9281IFS=$as_save_IFS
9282
9283fi
9284fi
9285ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9286if test -n "$ac_ct_OTOOL"; then
9287  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
9288$as_echo "$ac_ct_OTOOL" >&6; }
9289else
9290  { $as_echo "$as_me:$LINENO: result: no" >&5
9291$as_echo "no" >&6; }
9292fi
9293
9294  if test "x$ac_ct_OTOOL" = x; then
9295    OTOOL=":"
9296  else
9297    case $cross_compiling:$ac_tool_warned in
9298yes:)
9299{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
9300$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9301ac_tool_warned=yes ;;
9302esac
9303    OTOOL=$ac_ct_OTOOL
9304  fi
9305else
9306  OTOOL="$ac_cv_prog_OTOOL"
9307fi
9308
9309    if test -n "$ac_tool_prefix"; then
9310  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
9311set dummy ${ac_tool_prefix}otool64; ac_word=$2
9312{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9313$as_echo_n "checking for $ac_word... " >&6; }
9314if test "${ac_cv_prog_OTOOL64+set}" = set; then
9315  $as_echo_n "(cached) " >&6
9316else
9317  if test -n "$OTOOL64"; then
9318  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
9319else
9320as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9321for as_dir in $PATH
9322do
9323  IFS=$as_save_IFS
9324  test -z "$as_dir" && as_dir=.
9325  for ac_exec_ext in '' $ac_executable_extensions; do
9326  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9327    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
9328    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9329    break 2
9330  fi
9331done
9332done
9333IFS=$as_save_IFS
9334
9335fi
9336fi
9337OTOOL64=$ac_cv_prog_OTOOL64
9338if test -n "$OTOOL64"; then
9339  { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
9340$as_echo "$OTOOL64" >&6; }
9341else
9342  { $as_echo "$as_me:$LINENO: result: no" >&5
9343$as_echo "no" >&6; }
9344fi
9345
9346
9347fi
9348if test -z "$ac_cv_prog_OTOOL64"; then
9349  ac_ct_OTOOL64=$OTOOL64
9350  # Extract the first word of "otool64", so it can be a program name with args.
9351set dummy otool64; ac_word=$2
9352{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9353$as_echo_n "checking for $ac_word... " >&6; }
9354if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
9355  $as_echo_n "(cached) " >&6
9356else
9357  if test -n "$ac_ct_OTOOL64"; then
9358  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
9359else
9360as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9361for as_dir in $PATH
9362do
9363  IFS=$as_save_IFS
9364  test -z "$as_dir" && as_dir=.
9365  for ac_exec_ext in '' $ac_executable_extensions; do
9366  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9367    ac_cv_prog_ac_ct_OTOOL64="otool64"
9368    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9369    break 2
9370  fi
9371done
9372done
9373IFS=$as_save_IFS
9374
9375fi
9376fi
9377ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
9378if test -n "$ac_ct_OTOOL64"; then
9379  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
9380$as_echo "$ac_ct_OTOOL64" >&6; }
9381else
9382  { $as_echo "$as_me:$LINENO: result: no" >&5
9383$as_echo "no" >&6; }
9384fi
9385
9386  if test "x$ac_ct_OTOOL64" = x; then
9387    OTOOL64=":"
9388  else
9389    case $cross_compiling:$ac_tool_warned in
9390yes:)
9391{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
9392$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9393ac_tool_warned=yes ;;
9394esac
9395    OTOOL64=$ac_ct_OTOOL64
9396  fi
9397else
9398  OTOOL64="$ac_cv_prog_OTOOL64"
9399fi
9400
9401
9402
9403
9404
9405
9406
9407
9408
9409
9410
9411
9412
9413
9414
9415
9416
9417
9418
9419
9420
9421
9422
9423
9424
9425
9426
9427    { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
9428$as_echo_n "checking for -single_module linker flag... " >&6; }
9429if test "${lt_cv_apple_cc_single_mod+set}" = set; then
9430  $as_echo_n "(cached) " >&6
9431else
9432  lt_cv_apple_cc_single_mod=no
9433      if test -z "${LT_MULTI_MODULE}"; then
9434	# By default we will add the -single_module flag. You can override
9435	# by either setting the environment variable LT_MULTI_MODULE
9436	# non-empty at configure time, or by adding -multi_module to the
9437	# link flags.
9438	rm -rf libconftest.dylib*
9439	echo "int foo(void){return 1;}" > conftest.c
9440	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9441-dynamiclib -Wl,-single_module conftest.c" >&5
9442	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9443	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
9444        _lt_result=$?
9445	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
9446	  lt_cv_apple_cc_single_mod=yes
9447	else
9448	  cat conftest.err >&5
9449	fi
9450	rm -rf libconftest.dylib*
9451	rm -f conftest.*
9452      fi
9453fi
9454{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
9455$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9456    { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
9457$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
9458if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
9459  $as_echo_n "(cached) " >&6
9460else
9461  lt_cv_ld_exported_symbols_list=no
9462      save_LDFLAGS=$LDFLAGS
9463      echo "_main" > conftest.sym
9464      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
9465      cat >conftest.$ac_ext <<_ACEOF
9466/* confdefs.h.  */
9467_ACEOF
9468cat confdefs.h >>conftest.$ac_ext
9469cat >>conftest.$ac_ext <<_ACEOF
9470/* end confdefs.h.  */
9471
9472int
9473main ()
9474{
9475
9476  ;
9477  return 0;
9478}
9479_ACEOF
9480rm -f conftest.$ac_objext conftest$ac_exeext
9481if { (ac_try="$ac_link"
9482case "(($ac_try" in
9483  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9484  *) ac_try_echo=$ac_try;;
9485esac
9486eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9487$as_echo "$ac_try_echo") >&5
9488  (eval "$ac_link") 2>conftest.er1
9489  ac_status=$?
9490  grep -v '^ *+' conftest.er1 >conftest.err
9491  rm -f conftest.er1
9492  cat conftest.err >&5
9493  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9494  (exit $ac_status); } && {
9495	 test -z "$ac_c_werror_flag" ||
9496	 test ! -s conftest.err
9497       } && test -s conftest$ac_exeext && {
9498	 test "$cross_compiling" = yes ||
9499	 $as_test_x conftest$ac_exeext
9500       }; then
9501  lt_cv_ld_exported_symbols_list=yes
9502else
9503  $as_echo "$as_me: failed program was:" >&5
9504sed 's/^/| /' conftest.$ac_ext >&5
9505
9506	lt_cv_ld_exported_symbols_list=no
9507fi
9508
9509rm -rf conftest.dSYM
9510rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9511      conftest$ac_exeext conftest.$ac_ext
9512	LDFLAGS="$save_LDFLAGS"
9513
9514fi
9515{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
9516$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9517    case $host_os in
9518    rhapsody* | darwin1.[012])
9519      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
9520    darwin1.*)
9521      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9522    darwin*) # darwin 5.x on
9523      # if running on 10.5 or later, the deployment target defaults
9524      # to the OS version, if on x86, and 10.4, the deployment
9525      # target defaults to 10.4. Don't you love it?
9526      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9527	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
9528	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9529	10.[012]*)
9530	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9531	10.*)
9532	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9533      esac
9534    ;;
9535  esac
9536    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
9537      _lt_dar_single_mod='$single_module'
9538    fi
9539    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9540      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9541    else
9542      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
9543    fi
9544    if test "$DSYMUTIL" != ":"; then
9545      _lt_dsymutil='~$DSYMUTIL $lib || :'
9546    else
9547      _lt_dsymutil=
9548    fi
9549    ;;
9550  esac
9551
9552
9553for ac_header in dlfcn.h
9554do
9555as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9556{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9557$as_echo_n "checking for $ac_header... " >&6; }
9558if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9559  $as_echo_n "(cached) " >&6
9560else
9561  cat >conftest.$ac_ext <<_ACEOF
9562/* confdefs.h.  */
9563_ACEOF
9564cat confdefs.h >>conftest.$ac_ext
9565cat >>conftest.$ac_ext <<_ACEOF
9566/* end confdefs.h.  */
9567$ac_includes_default
9568
9569#include <$ac_header>
9570_ACEOF
9571rm -f conftest.$ac_objext
9572if { (ac_try="$ac_compile"
9573case "(($ac_try" in
9574  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9575  *) ac_try_echo=$ac_try;;
9576esac
9577eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9578$as_echo "$ac_try_echo") >&5
9579  (eval "$ac_compile") 2>conftest.er1
9580  ac_status=$?
9581  grep -v '^ *+' conftest.er1 >conftest.err
9582  rm -f conftest.er1
9583  cat conftest.err >&5
9584  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9585  (exit $ac_status); } && {
9586	 test -z "$ac_c_werror_flag" ||
9587	 test ! -s conftest.err
9588       } && test -s conftest.$ac_objext; then
9589  eval "$as_ac_Header=yes"
9590else
9591  $as_echo "$as_me: failed program was:" >&5
9592sed 's/^/| /' conftest.$ac_ext >&5
9593
9594	eval "$as_ac_Header=no"
9595fi
9596
9597rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9598fi
9599ac_res=`eval 'as_val=${'$as_ac_Header'}
9600		 $as_echo "$as_val"'`
9601	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9602$as_echo "$ac_res" >&6; }
9603as_val=`eval 'as_val=${'$as_ac_Header'}
9604		 $as_echo "$as_val"'`
9605   if test "x$as_val" = x""yes; then
9606  cat >>confdefs.h <<_ACEOF
9607#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9608_ACEOF
9609
9610fi
9611
9612done
9613
9614
9615
9616# Set options
9617
9618
9619
9620        enable_dlopen=no
9621
9622
9623  enable_win32_dll=no
9624
9625
9626            # Check whether --enable-shared was given.
9627if test "${enable_shared+set}" = set; then
9628  enableval=$enable_shared; p=${PACKAGE-default}
9629    case $enableval in
9630    yes) enable_shared=yes ;;
9631    no) enable_shared=no ;;
9632    *)
9633      enable_shared=no
9634      # Look at the argument we got.  We use all the common list separators.
9635      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9636      for pkg in $enableval; do
9637	IFS="$lt_save_ifs"
9638	if test "X$pkg" = "X$p"; then
9639	  enable_shared=yes
9640	fi
9641      done
9642      IFS="$lt_save_ifs"
9643      ;;
9644    esac
9645else
9646  enable_shared=yes
9647fi
9648
9649
9650
9651
9652
9653
9654
9655
9656
9657
9658
9659# Check whether --with-pic was given.
9660if test "${with_pic+set}" = set; then
9661  withval=$with_pic; pic_mode="$withval"
9662else
9663  pic_mode=default
9664fi
9665
9666
9667test -z "$pic_mode" && pic_mode=default
9668
9669
9670
9671
9672
9673
9674
9675  # Check whether --enable-fast-install was given.
9676if test "${enable_fast_install+set}" = set; then
9677  enableval=$enable_fast_install; p=${PACKAGE-default}
9678    case $enableval in
9679    yes) enable_fast_install=yes ;;
9680    no) enable_fast_install=no ;;
9681    *)
9682      enable_fast_install=no
9683      # Look at the argument we got.  We use all the common list separators.
9684      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9685      for pkg in $enableval; do
9686	IFS="$lt_save_ifs"
9687	if test "X$pkg" = "X$p"; then
9688	  enable_fast_install=yes
9689	fi
9690      done
9691      IFS="$lt_save_ifs"
9692      ;;
9693    esac
9694else
9695  enable_fast_install=yes
9696fi
9697
9698
9699
9700
9701
9702
9703
9704
9705
9706
9707
9708# This can be used to rebuild libtool when needed
9709LIBTOOL_DEPS="$ltmain"
9710
9711# Always use our own libtool.
9712LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9713
9714
9715
9716
9717
9718
9719
9720
9721
9722
9723
9724
9725
9726
9727
9728
9729
9730
9731
9732
9733
9734
9735
9736
9737
9738test -z "$LN_S" && LN_S="ln -s"
9739
9740
9741
9742
9743
9744
9745
9746
9747
9748
9749
9750
9751
9752
9753if test -n "${ZSH_VERSION+set}" ; then
9754   setopt NO_GLOB_SUBST
9755fi
9756
9757{ $as_echo "$as_me:$LINENO: checking for objdir" >&5
9758$as_echo_n "checking for objdir... " >&6; }
9759if test "${lt_cv_objdir+set}" = set; then
9760  $as_echo_n "(cached) " >&6
9761else
9762  rm -f .libs 2>/dev/null
9763mkdir .libs 2>/dev/null
9764if test -d .libs; then
9765  lt_cv_objdir=.libs
9766else
9767  # MS-DOS does not allow filenames that begin with a dot.
9768  lt_cv_objdir=_libs
9769fi
9770rmdir .libs 2>/dev/null
9771fi
9772{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
9773$as_echo "$lt_cv_objdir" >&6; }
9774objdir=$lt_cv_objdir
9775
9776
9777
9778
9779
9780cat >>confdefs.h <<_ACEOF
9781#define LT_OBJDIR "$lt_cv_objdir/"
9782_ACEOF
9783
9784
9785
9786
9787
9788
9789
9790
9791
9792
9793
9794
9795
9796
9797
9798
9799
9800case $host_os in
9801aix3*)
9802  # AIX sometimes has problems with the GCC collect2 program.  For some
9803  # reason, if we set the COLLECT_NAMES environment variable, the problems
9804  # vanish in a puff of smoke.
9805  if test "X${COLLECT_NAMES+set}" != Xset; then
9806    COLLECT_NAMES=
9807    export COLLECT_NAMES
9808  fi
9809  ;;
9810esac
9811
9812# Sed substitution that helps us do robust quoting.  It backslashifies
9813# metacharacters that are still active within double-quoted strings.
9814sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
9815
9816# Same as above, but do not quote variable references.
9817double_quote_subst='s/\(["`\\]\)/\\\1/g'
9818
9819# Sed substitution to delay expansion of an escaped shell variable in a
9820# double_quote_subst'ed string.
9821delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
9822
9823# Sed substitution to delay expansion of an escaped single quote.
9824delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
9825
9826# Sed substitution to avoid accidental globbing in evaled expressions
9827no_glob_subst='s/\*/\\\*/g'
9828
9829# Global variables:
9830ofile=libtool
9831can_build_shared=yes
9832
9833# All known linkers require a `.a' archive for static linking (except MSVC,
9834# which needs '.lib').
9835libext=a
9836
9837with_gnu_ld="$lt_cv_prog_gnu_ld"
9838
9839old_CC="$CC"
9840old_CFLAGS="$CFLAGS"
9841
9842# Set sane defaults for various variables
9843test -z "$CC" && CC=cc
9844test -z "$LTCC" && LTCC=$CC
9845test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9846test -z "$LD" && LD=ld
9847test -z "$ac_objext" && ac_objext=o
9848
9849for cc_temp in $compiler""; do
9850  case $cc_temp in
9851    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9852    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9853    \-*) ;;
9854    *) break;;
9855  esac
9856done
9857cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
9858
9859
9860# Only perform the check for file, if the check method requires it
9861test -z "$MAGIC_CMD" && MAGIC_CMD=file
9862case $deplibs_check_method in
9863file_magic*)
9864  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9865    { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
9866$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9867if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
9868  $as_echo_n "(cached) " >&6
9869else
9870  case $MAGIC_CMD in
9871[\\/*] |  ?:[\\/]*)
9872  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9873  ;;
9874*)
9875  lt_save_MAGIC_CMD="$MAGIC_CMD"
9876  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9877  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9878  for ac_dir in $ac_dummy; do
9879    IFS="$lt_save_ifs"
9880    test -z "$ac_dir" && ac_dir=.
9881    if test -f $ac_dir/${ac_tool_prefix}file; then
9882      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9883      if test -n "$file_magic_test_file"; then
9884	case $deplibs_check_method in
9885	"file_magic "*)
9886	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9887	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9888	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9889	    $EGREP "$file_magic_regex" > /dev/null; then
9890	    :
9891	  else
9892	    cat <<_LT_EOF 1>&2
9893
9894*** Warning: the command libtool uses to detect shared libraries,
9895*** $file_magic_cmd, produces output that libtool cannot recognize.
9896*** The result is that libtool may fail to recognize shared libraries
9897*** as such.  This will affect the creation of libtool libraries that
9898*** depend on shared libraries, but programs linked with such libtool
9899*** libraries will work regardless of this problem.  Nevertheless, you
9900*** may want to report the problem to your system manager and/or to
9901*** bug-libtool@gnu.org
9902
9903_LT_EOF
9904	  fi ;;
9905	esac
9906      fi
9907      break
9908    fi
9909  done
9910  IFS="$lt_save_ifs"
9911  MAGIC_CMD="$lt_save_MAGIC_CMD"
9912  ;;
9913esac
9914fi
9915
9916MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9917if test -n "$MAGIC_CMD"; then
9918  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
9919$as_echo "$MAGIC_CMD" >&6; }
9920else
9921  { $as_echo "$as_me:$LINENO: result: no" >&5
9922$as_echo "no" >&6; }
9923fi
9924
9925
9926
9927
9928
9929if test -z "$lt_cv_path_MAGIC_CMD"; then
9930  if test -n "$ac_tool_prefix"; then
9931    { $as_echo "$as_me:$LINENO: checking for file" >&5
9932$as_echo_n "checking for file... " >&6; }
9933if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
9934  $as_echo_n "(cached) " >&6
9935else
9936  case $MAGIC_CMD in
9937[\\/*] |  ?:[\\/]*)
9938  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9939  ;;
9940*)
9941  lt_save_MAGIC_CMD="$MAGIC_CMD"
9942  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9943  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9944  for ac_dir in $ac_dummy; do
9945    IFS="$lt_save_ifs"
9946    test -z "$ac_dir" && ac_dir=.
9947    if test -f $ac_dir/file; then
9948      lt_cv_path_MAGIC_CMD="$ac_dir/file"
9949      if test -n "$file_magic_test_file"; then
9950	case $deplibs_check_method in
9951	"file_magic "*)
9952	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9953	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9954	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9955	    $EGREP "$file_magic_regex" > /dev/null; then
9956	    :
9957	  else
9958	    cat <<_LT_EOF 1>&2
9959
9960*** Warning: the command libtool uses to detect shared libraries,
9961*** $file_magic_cmd, produces output that libtool cannot recognize.
9962*** The result is that libtool may fail to recognize shared libraries
9963*** as such.  This will affect the creation of libtool libraries that
9964*** depend on shared libraries, but programs linked with such libtool
9965*** libraries will work regardless of this problem.  Nevertheless, you
9966*** may want to report the problem to your system manager and/or to
9967*** bug-libtool@gnu.org
9968
9969_LT_EOF
9970	  fi ;;
9971	esac
9972      fi
9973      break
9974    fi
9975  done
9976  IFS="$lt_save_ifs"
9977  MAGIC_CMD="$lt_save_MAGIC_CMD"
9978  ;;
9979esac
9980fi
9981
9982MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9983if test -n "$MAGIC_CMD"; then
9984  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
9985$as_echo "$MAGIC_CMD" >&6; }
9986else
9987  { $as_echo "$as_me:$LINENO: result: no" >&5
9988$as_echo "no" >&6; }
9989fi
9990
9991
9992  else
9993    MAGIC_CMD=:
9994  fi
9995fi
9996
9997  fi
9998  ;;
9999esac
10000
10001# Use C for the default configuration in the libtool script
10002
10003lt_save_CC="$CC"
10004ac_ext=c
10005ac_cpp='$CPP $CPPFLAGS'
10006ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10007ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10008ac_compiler_gnu=$ac_cv_c_compiler_gnu
10009
10010
10011# Source file extension for C test sources.
10012ac_ext=c
10013
10014# Object file extension for compiled C test sources.
10015objext=o
10016objext=$objext
10017
10018# Code to be used in simple compile tests
10019lt_simple_compile_test_code="int some_variable = 0;"
10020
10021# Code to be used in simple link tests
10022lt_simple_link_test_code='int main(){return(0);}'
10023
10024
10025
10026
10027
10028
10029
10030# If no C compiler was specified, use CC.
10031LTCC=${LTCC-"$CC"}
10032
10033# If no C compiler flags were specified, use CFLAGS.
10034LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10035
10036# Allow CC to be a program name with arguments.
10037compiler=$CC
10038
10039# Save the default compiler, since it gets overwritten when the other
10040# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
10041compiler_DEFAULT=$CC
10042
10043# save warnings/boilerplate of simple test code
10044ac_outfile=conftest.$ac_objext
10045echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10046eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10047_lt_compiler_boilerplate=`cat conftest.err`
10048$RM conftest*
10049
10050ac_outfile=conftest.$ac_objext
10051echo "$lt_simple_link_test_code" >conftest.$ac_ext
10052eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10053_lt_linker_boilerplate=`cat conftest.err`
10054$RM -r conftest*
10055
10056
10057if test -n "$compiler"; then
10058
10059lt_prog_compiler_no_builtin_flag=
10060
10061if test "$GCC" = yes; then
10062  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
10063
10064  { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
10065$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
10066if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
10067  $as_echo_n "(cached) " >&6
10068else
10069  lt_cv_prog_compiler_rtti_exceptions=no
10070   ac_outfile=conftest.$ac_objext
10071   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10072   lt_compiler_flag="-fno-rtti -fno-exceptions"
10073   # Insert the option either (1) after the last *FLAGS variable, or
10074   # (2) before a word containing "conftest.", or (3) at the end.
10075   # Note that $ac_compile itself does not contain backslashes and begins
10076   # with a dollar sign (not a hyphen), so the echo should work correctly.
10077   # The option is referenced via a variable to avoid confusing sed.
10078   lt_compile=`echo "$ac_compile" | $SED \
10079   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10080   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10081   -e 's:$: $lt_compiler_flag:'`
10082   (eval echo "\"\$as_me:10082: $lt_compile\"" >&5)
10083   (eval "$lt_compile" 2>conftest.err)
10084   ac_status=$?
10085   cat conftest.err >&5
10086   echo "$as_me:10086: \$? = $ac_status" >&5
10087   if (exit $ac_status) && test -s "$ac_outfile"; then
10088     # The compiler can only warn and ignore the option if not recognized
10089     # So say no if there are warnings other than the usual output.
10090     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
10091     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10092     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10093       lt_cv_prog_compiler_rtti_exceptions=yes
10094     fi
10095   fi
10096   $RM conftest*
10097
10098fi
10099{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
10100$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
10101
10102if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
10103    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
10104else
10105    :
10106fi
10107
10108fi
10109
10110
10111
10112
10113
10114
10115  lt_prog_compiler_wl=
10116lt_prog_compiler_pic=
10117lt_prog_compiler_static=
10118
10119{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
10120$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
10121
10122  if test "$GCC" = yes; then
10123    lt_prog_compiler_wl='-Wl,'
10124    lt_prog_compiler_static='-static'
10125
10126    case $host_os in
10127      aix*)
10128      # All AIX code is PIC.
10129      if test "$host_cpu" = ia64; then
10130	# AIX 5 now supports IA64 processor
10131	lt_prog_compiler_static='-Bstatic'
10132      fi
10133      ;;
10134
10135    amigaos*)
10136      case $host_cpu in
10137      powerpc)
10138            # see comment about AmigaOS4 .so support
10139            lt_prog_compiler_pic='-fPIC'
10140        ;;
10141      m68k)
10142            # FIXME: we need at least 68020 code to build shared libraries, but
10143            # adding the `-m68020' flag to GCC prevents building anything better,
10144            # like `-m68040'.
10145            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
10146        ;;
10147      esac
10148      ;;
10149
10150    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10151      # PIC is the default for these OSes.
10152      ;;
10153
10154    mingw* | cygwin* | pw32* | os2* | cegcc*)
10155      # This hack is so that the source file can tell whether it is being
10156      # built for inclusion in a dll (and should export symbols for example).
10157      # Although the cygwin gcc ignores -fPIC, still need this for old-style
10158      # (--disable-auto-import) libraries
10159      lt_prog_compiler_pic='-DDLL_EXPORT'
10160      ;;
10161
10162    darwin* | rhapsody*)
10163      # PIC is the default on this platform
10164      # Common symbols not allowed in MH_DYLIB files
10165      lt_prog_compiler_pic='-fno-common'
10166      ;;
10167
10168    hpux*)
10169      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
10170      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
10171      # sets the default TLS model and affects inlining.
10172      case $host_cpu in
10173      hppa*64*)
10174	# +Z the default
10175	;;
10176      *)
10177	lt_prog_compiler_pic='-fPIC'
10178	;;
10179      esac
10180      ;;
10181
10182    interix[3-9]*)
10183      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
10184      # Instead, we relocate shared libraries at runtime.
10185      ;;
10186
10187    msdosdjgpp*)
10188      # Just because we use GCC doesn't mean we suddenly get shared libraries
10189      # on systems that don't support them.
10190      lt_prog_compiler_can_build_shared=no
10191      enable_shared=no
10192      ;;
10193
10194    *nto* | *qnx*)
10195      # QNX uses GNU C++, but need to define -shared option too, otherwise
10196      # it will coredump.
10197      lt_prog_compiler_pic='-fPIC -shared'
10198      ;;
10199
10200    sysv4*MP*)
10201      if test -d /usr/nec; then
10202	lt_prog_compiler_pic=-Kconform_pic
10203      fi
10204      ;;
10205
10206    *)
10207      lt_prog_compiler_pic='-fPIC'
10208      ;;
10209    esac
10210  else
10211    # PORTME Check for flag to pass linker flags through the system compiler.
10212    case $host_os in
10213    aix*)
10214      lt_prog_compiler_wl='-Wl,'
10215      if test "$host_cpu" = ia64; then
10216	# AIX 5 now supports IA64 processor
10217	lt_prog_compiler_static='-Bstatic'
10218      else
10219	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
10220      fi
10221      ;;
10222
10223    mingw* | cygwin* | pw32* | os2* | cegcc*)
10224      # This hack is so that the source file can tell whether it is being
10225      # built for inclusion in a dll (and should export symbols for example).
10226      lt_prog_compiler_pic='-DDLL_EXPORT'
10227      ;;
10228
10229    hpux9* | hpux10* | hpux11*)
10230      lt_prog_compiler_wl='-Wl,'
10231      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10232      # not for PA HP-UX.
10233      case $host_cpu in
10234      hppa*64*|ia64*)
10235	# +Z the default
10236	;;
10237      *)
10238	lt_prog_compiler_pic='+Z'
10239	;;
10240      esac
10241      # Is there a better lt_prog_compiler_static that works with the bundled CC?
10242      lt_prog_compiler_static='${wl}-a ${wl}archive'
10243      ;;
10244
10245    irix5* | irix6* | nonstopux*)
10246      lt_prog_compiler_wl='-Wl,'
10247      # PIC (with -KPIC) is the default.
10248      lt_prog_compiler_static='-non_shared'
10249      ;;
10250
10251    linux* | k*bsd*-gnu)
10252      case $cc_basename in
10253      # old Intel for x86_64 which still supported -KPIC.
10254      ecc*)
10255	lt_prog_compiler_wl='-Wl,'
10256	lt_prog_compiler_pic='-KPIC'
10257	lt_prog_compiler_static='-static'
10258        ;;
10259      # icc used to be incompatible with GCC.
10260      # ICC 10 doesn't accept -KPIC any more.
10261      icc* | ifort*)
10262	lt_prog_compiler_wl='-Wl,'
10263	lt_prog_compiler_pic='-fPIC'
10264	lt_prog_compiler_static='-static'
10265        ;;
10266      # Lahey Fortran 8.1.
10267      lf95*)
10268	lt_prog_compiler_wl='-Wl,'
10269	lt_prog_compiler_pic='--shared'
10270	lt_prog_compiler_static='--static'
10271	;;
10272      pgcc* | pgf77* | pgf90* | pgf95*)
10273        # Portland Group compilers (*not* the Pentium gcc compiler,
10274	# which looks to be a dead project)
10275	lt_prog_compiler_wl='-Wl,'
10276	lt_prog_compiler_pic='-fpic'
10277	lt_prog_compiler_static='-Bstatic'
10278        ;;
10279      ccc*)
10280        lt_prog_compiler_wl='-Wl,'
10281        # All Alpha code is PIC.
10282        lt_prog_compiler_static='-non_shared'
10283        ;;
10284      xl*)
10285	# IBM XL C 8.0/Fortran 10.1 on PPC
10286	lt_prog_compiler_wl='-Wl,'
10287	lt_prog_compiler_pic='-qpic'
10288	lt_prog_compiler_static='-qstaticlink'
10289	;;
10290      *)
10291	case `$CC -V 2>&1 | sed 5q` in
10292	*Sun\ C*)
10293	  # Sun C 5.9
10294	  lt_prog_compiler_pic='-KPIC'
10295	  lt_prog_compiler_static='-Bstatic'
10296	  lt_prog_compiler_wl='-Wl,'
10297	  ;;
10298	*Sun\ F*)
10299	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
10300	  lt_prog_compiler_pic='-KPIC'
10301	  lt_prog_compiler_static='-Bstatic'
10302	  lt_prog_compiler_wl=''
10303	  ;;
10304	esac
10305	;;
10306      esac
10307      ;;
10308
10309    newsos6)
10310      lt_prog_compiler_pic='-KPIC'
10311      lt_prog_compiler_static='-Bstatic'
10312      ;;
10313
10314    *nto* | *qnx*)
10315      # QNX uses GNU C++, but need to define -shared option too, otherwise
10316      # it will coredump.
10317      lt_prog_compiler_pic='-fPIC -shared'
10318      ;;
10319
10320    osf3* | osf4* | osf5*)
10321      lt_prog_compiler_wl='-Wl,'
10322      # All OSF/1 code is PIC.
10323      lt_prog_compiler_static='-non_shared'
10324      ;;
10325
10326    rdos*)
10327      lt_prog_compiler_static='-non_shared'
10328      ;;
10329
10330    solaris*)
10331      lt_prog_compiler_pic='-KPIC'
10332      lt_prog_compiler_static='-Bstatic'
10333      case $cc_basename in
10334      f77* | f90* | f95*)
10335	lt_prog_compiler_wl='-Qoption ld ';;
10336      *)
10337	lt_prog_compiler_wl='-Wl,';;
10338      esac
10339      ;;
10340
10341    sunos4*)
10342      lt_prog_compiler_wl='-Qoption ld '
10343      lt_prog_compiler_pic='-PIC'
10344      lt_prog_compiler_static='-Bstatic'
10345      ;;
10346
10347    sysv4 | sysv4.2uw2* | sysv4.3*)
10348      lt_prog_compiler_wl='-Wl,'
10349      lt_prog_compiler_pic='-KPIC'
10350      lt_prog_compiler_static='-Bstatic'
10351      ;;
10352
10353    sysv4*MP*)
10354      if test -d /usr/nec ;then
10355	lt_prog_compiler_pic='-Kconform_pic'
10356	lt_prog_compiler_static='-Bstatic'
10357      fi
10358      ;;
10359
10360    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
10361      lt_prog_compiler_wl='-Wl,'
10362      lt_prog_compiler_pic='-KPIC'
10363      lt_prog_compiler_static='-Bstatic'
10364      ;;
10365
10366    unicos*)
10367      lt_prog_compiler_wl='-Wl,'
10368      lt_prog_compiler_can_build_shared=no
10369      ;;
10370
10371    uts4*)
10372      lt_prog_compiler_pic='-pic'
10373      lt_prog_compiler_static='-Bstatic'
10374      ;;
10375
10376    *)
10377      lt_prog_compiler_can_build_shared=no
10378      ;;
10379    esac
10380  fi
10381
10382case $host_os in
10383  # For platforms which do not support PIC, -DPIC is meaningless:
10384  *djgpp*)
10385    lt_prog_compiler_pic=
10386    ;;
10387  *)
10388    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10389    ;;
10390esac
10391{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
10392$as_echo "$lt_prog_compiler_pic" >&6; }
10393
10394
10395
10396
10397
10398
10399#
10400# Check to make sure the PIC flag actually works.
10401#
10402if test -n "$lt_prog_compiler_pic"; then
10403  { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10404$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10405if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
10406  $as_echo_n "(cached) " >&6
10407else
10408  lt_cv_prog_compiler_pic_works=no
10409   ac_outfile=conftest.$ac_objext
10410   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10411   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
10412   # Insert the option either (1) after the last *FLAGS variable, or
10413   # (2) before a word containing "conftest.", or (3) at the end.
10414   # Note that $ac_compile itself does not contain backslashes and begins
10415   # with a dollar sign (not a hyphen), so the echo should work correctly.
10416   # The option is referenced via a variable to avoid confusing sed.
10417   lt_compile=`echo "$ac_compile" | $SED \
10418   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10419   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10420   -e 's:$: $lt_compiler_flag:'`
10421   (eval echo "\"\$as_me:10421: $lt_compile\"" >&5)
10422   (eval "$lt_compile" 2>conftest.err)
10423   ac_status=$?
10424   cat conftest.err >&5
10425   echo "$as_me:10425: \$? = $ac_status" >&5
10426   if (exit $ac_status) && test -s "$ac_outfile"; then
10427     # The compiler can only warn and ignore the option if not recognized
10428     # So say no if there are warnings other than the usual output.
10429     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
10430     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10431     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10432       lt_cv_prog_compiler_pic_works=yes
10433     fi
10434   fi
10435   $RM conftest*
10436
10437fi
10438{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
10439$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10440
10441if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
10442    case $lt_prog_compiler_pic in
10443     "" | " "*) ;;
10444     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10445     esac
10446else
10447    lt_prog_compiler_pic=
10448     lt_prog_compiler_can_build_shared=no
10449fi
10450
10451fi
10452
10453
10454
10455
10456
10457
10458#
10459# Check to make sure the static flag actually works.
10460#
10461wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10462{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10463$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10464if test "${lt_cv_prog_compiler_static_works+set}" = set; then
10465  $as_echo_n "(cached) " >&6
10466else
10467  lt_cv_prog_compiler_static_works=no
10468   save_LDFLAGS="$LDFLAGS"
10469   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10470   echo "$lt_simple_link_test_code" > conftest.$ac_ext
10471   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10472     # The linker can only warn and ignore the option if not recognized
10473     # So say no if there are warnings
10474     if test -s conftest.err; then
10475       # Append any errors to the config.log.
10476       cat conftest.err 1>&5
10477       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
10478       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10479       if diff conftest.exp conftest.er2 >/dev/null; then
10480         lt_cv_prog_compiler_static_works=yes
10481       fi
10482     else
10483       lt_cv_prog_compiler_static_works=yes
10484     fi
10485   fi
10486   $RM -r conftest*
10487   LDFLAGS="$save_LDFLAGS"
10488
10489fi
10490{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
10491$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10492
10493if test x"$lt_cv_prog_compiler_static_works" = xyes; then
10494    :
10495else
10496    lt_prog_compiler_static=
10497fi
10498
10499
10500
10501
10502
10503
10504
10505  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
10506$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10507if test "${lt_cv_prog_compiler_c_o+set}" = set; then
10508  $as_echo_n "(cached) " >&6
10509else
10510  lt_cv_prog_compiler_c_o=no
10511   $RM -r conftest 2>/dev/null
10512   mkdir conftest
10513   cd conftest
10514   mkdir out
10515   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10516
10517   lt_compiler_flag="-o out/conftest2.$ac_objext"
10518   # Insert the option either (1) after the last *FLAGS variable, or
10519   # (2) before a word containing "conftest.", or (3) at the end.
10520   # Note that $ac_compile itself does not contain backslashes and begins
10521   # with a dollar sign (not a hyphen), so the echo should work correctly.
10522   lt_compile=`echo "$ac_compile" | $SED \
10523   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10524   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10525   -e 's:$: $lt_compiler_flag:'`
10526   (eval echo "\"\$as_me:10526: $lt_compile\"" >&5)
10527   (eval "$lt_compile" 2>out/conftest.err)
10528   ac_status=$?
10529   cat out/conftest.err >&5
10530   echo "$as_me:10530: \$? = $ac_status" >&5
10531   if (exit $ac_status) && test -s out/conftest2.$ac_objext
10532   then
10533     # The compiler can only warn and ignore the option if not recognized
10534     # So say no if there are warnings
10535     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
10536     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10537     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10538       lt_cv_prog_compiler_c_o=yes
10539     fi
10540   fi
10541   chmod u+w . 2>&5
10542   $RM conftest*
10543   # SGI C++ compiler will create directory out/ii_files/ for
10544   # template instantiation
10545   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10546   $RM out/* && rmdir out
10547   cd ..
10548   $RM -r conftest
10549   $RM conftest*
10550
10551fi
10552{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
10553$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10554
10555
10556
10557
10558
10559
10560  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
10561$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10562if test "${lt_cv_prog_compiler_c_o+set}" = set; then
10563  $as_echo_n "(cached) " >&6
10564else
10565  lt_cv_prog_compiler_c_o=no
10566   $RM -r conftest 2>/dev/null
10567   mkdir conftest
10568   cd conftest
10569   mkdir out
10570   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10571
10572   lt_compiler_flag="-o out/conftest2.$ac_objext"
10573   # Insert the option either (1) after the last *FLAGS variable, or
10574   # (2) before a word containing "conftest.", or (3) at the end.
10575   # Note that $ac_compile itself does not contain backslashes and begins
10576   # with a dollar sign (not a hyphen), so the echo should work correctly.
10577   lt_compile=`echo "$ac_compile" | $SED \
10578   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10579   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10580   -e 's:$: $lt_compiler_flag:'`
10581   (eval echo "\"\$as_me:10581: $lt_compile\"" >&5)
10582   (eval "$lt_compile" 2>out/conftest.err)
10583   ac_status=$?
10584   cat out/conftest.err >&5
10585   echo "$as_me:10585: \$? = $ac_status" >&5
10586   if (exit $ac_status) && test -s out/conftest2.$ac_objext
10587   then
10588     # The compiler can only warn and ignore the option if not recognized
10589     # So say no if there are warnings
10590     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
10591     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10592     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10593       lt_cv_prog_compiler_c_o=yes
10594     fi
10595   fi
10596   chmod u+w . 2>&5
10597   $RM conftest*
10598   # SGI C++ compiler will create directory out/ii_files/ for
10599   # template instantiation
10600   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10601   $RM out/* && rmdir out
10602   cd ..
10603   $RM -r conftest
10604   $RM conftest*
10605
10606fi
10607{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
10608$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10609
10610
10611
10612
10613hard_links="nottested"
10614if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
10615  # do not overwrite the value of need_locks provided by the user
10616  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
10617$as_echo_n "checking if we can lock with hard links... " >&6; }
10618  hard_links=yes
10619  $RM conftest*
10620  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10621  touch conftest.a
10622  ln conftest.a conftest.b 2>&5 || hard_links=no
10623  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10624  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
10625$as_echo "$hard_links" >&6; }
10626  if test "$hard_links" = no; then
10627    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10628$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10629    need_locks=warn
10630  fi
10631else
10632  need_locks=no
10633fi
10634
10635
10636
10637
10638
10639
10640  { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10641$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10642
10643  runpath_var=
10644  allow_undefined_flag=
10645  always_export_symbols=no
10646  archive_cmds=
10647  archive_expsym_cmds=
10648  compiler_needs_object=no
10649  enable_shared_with_static_runtimes=no
10650  export_dynamic_flag_spec=
10651  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10652  hardcode_automatic=no
10653  hardcode_direct=no
10654  hardcode_direct_absolute=no
10655  hardcode_libdir_flag_spec=
10656  hardcode_libdir_flag_spec_ld=
10657  hardcode_libdir_separator=
10658  hardcode_minus_L=no
10659  hardcode_shlibpath_var=unsupported
10660  inherit_rpath=no
10661  link_all_deplibs=unknown
10662  module_cmds=
10663  module_expsym_cmds=
10664  old_archive_from_new_cmds=
10665  old_archive_from_expsyms_cmds=
10666  thread_safe_flag_spec=
10667  whole_archive_flag_spec=
10668  # include_expsyms should be a list of space-separated symbols to be *always*
10669  # included in the symbol list
10670  include_expsyms=
10671  # exclude_expsyms can be an extended regexp of symbols to exclude
10672  # it will be wrapped by ` (' and `)$', so one must not match beginning or
10673  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10674  # as well as any symbol that contains `d'.
10675  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10676  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10677  # platforms (ab)use it in PIC code, but their linkers get confused if
10678  # the symbol is explicitly referenced.  Since portable code cannot
10679  # rely on this symbol name, it's probably fine to never include it in
10680  # preloaded symbol tables.
10681  # Exclude shared library initialization/finalization symbols.
10682  extract_expsyms_cmds=
10683
10684  case $host_os in
10685  cygwin* | mingw* | pw32* | cegcc*)
10686    # FIXME: the MSVC++ port hasn't been tested in a loooong time
10687    # When not using gcc, we currently assume that we are using
10688    # Microsoft Visual C++.
10689    if test "$GCC" != yes; then
10690      with_gnu_ld=no
10691    fi
10692    ;;
10693  interix*)
10694    # we just hope/assume this is gcc and not c89 (= MSVC++)
10695    with_gnu_ld=yes
10696    ;;
10697  openbsd*)
10698    with_gnu_ld=no
10699    ;;
10700  esac
10701
10702  ld_shlibs=yes
10703  if test "$with_gnu_ld" = yes; then
10704    # If archive_cmds runs LD, not CC, wlarc should be empty
10705    wlarc='${wl}'
10706
10707    # Set some defaults for GNU ld with shared library support. These
10708    # are reset later if shared libraries are not supported. Putting them
10709    # here allows them to be overridden if necessary.
10710    runpath_var=LD_RUN_PATH
10711    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10712    export_dynamic_flag_spec='${wl}--export-dynamic'
10713    # ancient GNU ld didn't support --whole-archive et. al.
10714    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10715      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10716    else
10717      whole_archive_flag_spec=
10718    fi
10719    supports_anon_versioning=no
10720    case `$LD -v 2>&1` in
10721      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10722      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10723      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10724      *\ 2.11.*) ;; # other 2.11 versions
10725      *) supports_anon_versioning=yes ;;
10726    esac
10727
10728    # See if GNU ld supports shared libraries.
10729    case $host_os in
10730    aix[3-9]*)
10731      # On AIX/PPC, the GNU linker is very broken
10732      if test "$host_cpu" != ia64; then
10733	ld_shlibs=no
10734	cat <<_LT_EOF 1>&2
10735
10736*** Warning: the GNU linker, at least up to release 2.9.1, is reported
10737*** to be unable to reliably create shared libraries on AIX.
10738*** Therefore, libtool is disabling shared libraries support.  If you
10739*** really care for shared libraries, you may want to modify your PATH
10740*** so that a non-GNU linker is found, and then restart.
10741
10742_LT_EOF
10743      fi
10744      ;;
10745
10746    amigaos*)
10747      case $host_cpu in
10748      powerpc)
10749            # see comment about AmigaOS4 .so support
10750            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10751            archive_expsym_cmds=''
10752        ;;
10753      m68k)
10754            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)'
10755            hardcode_libdir_flag_spec='-L$libdir'
10756            hardcode_minus_L=yes
10757        ;;
10758      esac
10759      ;;
10760
10761    beos*)
10762      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10763	allow_undefined_flag=unsupported
10764	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10765	# support --undefined.  This deserves some investigation.  FIXME
10766	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10767      else
10768	ld_shlibs=no
10769      fi
10770      ;;
10771
10772    cygwin* | mingw* | pw32* | cegcc*)
10773      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10774      # as there is no search path for DLLs.
10775      hardcode_libdir_flag_spec='-L$libdir'
10776      allow_undefined_flag=unsupported
10777      always_export_symbols=no
10778      enable_shared_with_static_runtimes=yes
10779      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10780
10781      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10782        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10783	# If the export-symbols file already is a .def file (1st line
10784	# is EXPORTS), use it as is; otherwise, prepend...
10785	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10786	  cp $export_symbols $output_objdir/$soname.def;
10787	else
10788	  echo EXPORTS > $output_objdir/$soname.def;
10789	  cat $export_symbols >> $output_objdir/$soname.def;
10790	fi~
10791	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10792      else
10793	ld_shlibs=no
10794      fi
10795      ;;
10796
10797    interix[3-9]*)
10798      hardcode_direct=no
10799      hardcode_shlibpath_var=no
10800      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10801      export_dynamic_flag_spec='${wl}-E'
10802      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10803      # Instead, shared libraries are loaded at an image base (0x10000000 by
10804      # default) and relocated if they conflict, which is a slow very memory
10805      # consuming and fragmenting process.  To avoid this, we pick a random,
10806      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10807      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
10808      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10809      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'
10810      ;;
10811
10812    gnu* | linux* | tpf* | k*bsd*-gnu)
10813      tmp_diet=no
10814      if test "$host_os" = linux-dietlibc; then
10815	case $cc_basename in
10816	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
10817	esac
10818      fi
10819      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10820	 && test "$tmp_diet" = no
10821      then
10822	tmp_addflag=
10823	tmp_sharedflag='-shared'
10824	case $cc_basename,$host_cpu in
10825        pgcc*)				# Portland Group C compiler
10826	  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'
10827	  tmp_addflag=' $pic_flag'
10828	  ;;
10829	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
10830	  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'
10831	  tmp_addflag=' $pic_flag -Mnomain' ;;
10832	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
10833	  tmp_addflag=' -i_dynamic' ;;
10834	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
10835	  tmp_addflag=' -i_dynamic -nofor_main' ;;
10836	ifc* | ifort*)			# Intel Fortran compiler
10837	  tmp_addflag=' -nofor_main' ;;
10838	lf95*)				# Lahey Fortran 8.1
10839	  whole_archive_flag_spec=
10840	  tmp_sharedflag='--shared' ;;
10841	xl[cC]*)			# IBM XL C 8.0 on PPC (deal with xlf below)
10842	  tmp_sharedflag='-qmkshrobj'
10843	  tmp_addflag= ;;
10844	esac
10845	case `$CC -V 2>&1 | sed 5q` in
10846	*Sun\ C*)			# Sun C 5.9
10847	  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'
10848	  compiler_needs_object=yes
10849	  tmp_sharedflag='-G' ;;
10850	*Sun\ F*)			# Sun Fortran 8.3
10851	  tmp_sharedflag='-G' ;;
10852	esac
10853	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10854
10855        if test "x$supports_anon_versioning" = xyes; then
10856          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10857	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10858	    echo "local: *; };" >> $output_objdir/$libname.ver~
10859	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10860        fi
10861
10862	case $cc_basename in
10863	xlf*)
10864	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10865	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10866	  hardcode_libdir_flag_spec=
10867	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
10868	  archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10869	  if test "x$supports_anon_versioning" = xyes; then
10870	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10871	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10872	      echo "local: *; };" >> $output_objdir/$libname.ver~
10873	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10874	  fi
10875	  ;;
10876	esac
10877      else
10878        ld_shlibs=no
10879      fi
10880      ;;
10881
10882    netbsd*)
10883      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10884	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10885	wlarc=
10886      else
10887	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10888	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10889      fi
10890      ;;
10891
10892    solaris*)
10893      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10894	ld_shlibs=no
10895	cat <<_LT_EOF 1>&2
10896
10897*** Warning: The releases 2.8.* of the GNU linker cannot reliably
10898*** create shared libraries on Solaris systems.  Therefore, libtool
10899*** is disabling shared libraries support.  We urge you to upgrade GNU
10900*** binutils to release 2.9.1 or newer.  Another option is to modify
10901*** your PATH or compiler configuration so that the native linker is
10902*** used, and then restart.
10903
10904_LT_EOF
10905      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10906	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10907	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10908      else
10909	ld_shlibs=no
10910      fi
10911      ;;
10912
10913    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10914      case `$LD -v 2>&1` in
10915        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10916	ld_shlibs=no
10917	cat <<_LT_EOF 1>&2
10918
10919*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10920*** reliably create shared libraries on SCO systems.  Therefore, libtool
10921*** is disabling shared libraries support.  We urge you to upgrade GNU
10922*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
10923*** your PATH or compiler configuration so that the native linker is
10924*** used, and then restart.
10925
10926_LT_EOF
10927	;;
10928	*)
10929	  # For security reasons, it is highly recommended that you always
10930	  # use absolute paths for naming shared libraries, and exclude the
10931	  # DT_RUNPATH tag from executables and libraries.  But doing so
10932	  # requires that you compile everything twice, which is a pain.
10933	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10934	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10935	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10936	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10937	  else
10938	    ld_shlibs=no
10939	  fi
10940	;;
10941      esac
10942      ;;
10943
10944    sunos4*)
10945      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10946      wlarc=
10947      hardcode_direct=yes
10948      hardcode_shlibpath_var=no
10949      ;;
10950
10951    *)
10952      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10953	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10954	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10955      else
10956	ld_shlibs=no
10957      fi
10958      ;;
10959    esac
10960
10961    if test "$ld_shlibs" = no; then
10962      runpath_var=
10963      hardcode_libdir_flag_spec=
10964      export_dynamic_flag_spec=
10965      whole_archive_flag_spec=
10966    fi
10967  else
10968    # PORTME fill in a description of your system's linker (not GNU ld)
10969    case $host_os in
10970    aix3*)
10971      allow_undefined_flag=unsupported
10972      always_export_symbols=yes
10973      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'
10974      # Note: this linker hardcodes the directories in LIBPATH if there
10975      # are no directories specified by -L.
10976      hardcode_minus_L=yes
10977      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10978	# Neither direct hardcoding nor static linking is supported with a
10979	# broken collect2.
10980	hardcode_direct=unsupported
10981      fi
10982      ;;
10983
10984    aix[4-9]*)
10985      if test "$host_cpu" = ia64; then
10986	# On IA64, the linker does run time linking by default, so we don't
10987	# have to do anything special.
10988	aix_use_runtimelinking=no
10989	exp_sym_flag='-Bexport'
10990	no_entry_flag=""
10991      else
10992	# If we're using GNU nm, then we don't want the "-C" option.
10993	# -C means demangle to AIX nm, but means don't demangle with GNU nm
10994	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10995	  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'
10996	else
10997	  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'
10998	fi
10999	aix_use_runtimelinking=no
11000
11001	# Test if we are trying to use run time linking or normal
11002	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
11003	# need to do runtime linking.
11004	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11005	  for ld_flag in $LDFLAGS; do
11006	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
11007	    aix_use_runtimelinking=yes
11008	    break
11009	  fi
11010	  done
11011	  ;;
11012	esac
11013
11014	exp_sym_flag='-bexport'
11015	no_entry_flag='-bnoentry'
11016      fi
11017
11018      # When large executables or shared objects are built, AIX ld can
11019      # have problems creating the table of contents.  If linking a library
11020      # or program results in "error TOC overflow" add -mminimal-toc to
11021      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
11022      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11023
11024      archive_cmds=''
11025      hardcode_direct=yes
11026      hardcode_direct_absolute=yes
11027      hardcode_libdir_separator=':'
11028      link_all_deplibs=yes
11029      file_list_spec='${wl}-f,'
11030
11031      if test "$GCC" = yes; then
11032	case $host_os in aix4.[012]|aix4.[012].*)
11033	# We only want to do this on AIX 4.2 and lower, the check
11034	# below for broken collect2 doesn't work under 4.3+
11035	  collect2name=`${CC} -print-prog-name=collect2`
11036	  if test -f "$collect2name" &&
11037	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11038	  then
11039	  # We have reworked collect2
11040	  :
11041	  else
11042	  # We have old collect2
11043	  hardcode_direct=unsupported
11044	  # It fails to find uninstalled libraries when the uninstalled
11045	  # path is not listed in the libpath.  Setting hardcode_minus_L
11046	  # to unsupported forces relinking
11047	  hardcode_minus_L=yes
11048	  hardcode_libdir_flag_spec='-L$libdir'
11049	  hardcode_libdir_separator=
11050	  fi
11051	  ;;
11052	esac
11053	shared_flag='-shared'
11054	if test "$aix_use_runtimelinking" = yes; then
11055	  shared_flag="$shared_flag "'${wl}-G'
11056	fi
11057      else
11058	# not using gcc
11059	if test "$host_cpu" = ia64; then
11060	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11061	# chokes on -Wl,-G. The following line is correct:
11062	  shared_flag='-G'
11063	else
11064	  if test "$aix_use_runtimelinking" = yes; then
11065	    shared_flag='${wl}-G'
11066	  else
11067	    shared_flag='${wl}-bM:SRE'
11068	  fi
11069	fi
11070      fi
11071
11072      export_dynamic_flag_spec='${wl}-bexpall'
11073      # It seems that -bexpall does not export symbols beginning with
11074      # underscore (_), so it is better to generate a list of symbols to export.
11075      always_export_symbols=yes
11076      if test "$aix_use_runtimelinking" = yes; then
11077	# Warning - without using the other runtime loading flags (-brtl),
11078	# -berok will link without error, but may produce a broken library.
11079	allow_undefined_flag='-berok'
11080        # Determine the default libpath from the value encoded in an
11081        # empty executable.
11082        cat >conftest.$ac_ext <<_ACEOF
11083/* confdefs.h.  */
11084_ACEOF
11085cat confdefs.h >>conftest.$ac_ext
11086cat >>conftest.$ac_ext <<_ACEOF
11087/* end confdefs.h.  */
11088
11089int
11090main ()
11091{
11092
11093  ;
11094  return 0;
11095}
11096_ACEOF
11097rm -f conftest.$ac_objext conftest$ac_exeext
11098if { (ac_try="$ac_link"
11099case "(($ac_try" in
11100  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11101  *) ac_try_echo=$ac_try;;
11102esac
11103eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11104$as_echo "$ac_try_echo") >&5
11105  (eval "$ac_link") 2>conftest.er1
11106  ac_status=$?
11107  grep -v '^ *+' conftest.er1 >conftest.err
11108  rm -f conftest.er1
11109  cat conftest.err >&5
11110  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11111  (exit $ac_status); } && {
11112	 test -z "$ac_c_werror_flag" ||
11113	 test ! -s conftest.err
11114       } && test -s conftest$ac_exeext && {
11115	 test "$cross_compiling" = yes ||
11116	 $as_test_x conftest$ac_exeext
11117       }; then
11118
11119lt_aix_libpath_sed='
11120    /Import File Strings/,/^$/ {
11121	/^0/ {
11122	    s/^0  *\(.*\)$/\1/
11123	    p
11124	}
11125    }'
11126aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11127# Check for a 64-bit object if we didn't find anything.
11128if test -z "$aix_libpath"; then
11129  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11130fi
11131else
11132  $as_echo "$as_me: failed program was:" >&5
11133sed 's/^/| /' conftest.$ac_ext >&5
11134
11135
11136fi
11137
11138rm -rf conftest.dSYM
11139rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11140      conftest$ac_exeext conftest.$ac_ext
11141if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11142
11143        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
11144        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"
11145      else
11146	if test "$host_cpu" = ia64; then
11147	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
11148	  allow_undefined_flag="-z nodefs"
11149	  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"
11150	else
11151	 # Determine the default libpath from the value encoded in an
11152	 # empty executable.
11153	 cat >conftest.$ac_ext <<_ACEOF
11154/* confdefs.h.  */
11155_ACEOF
11156cat confdefs.h >>conftest.$ac_ext
11157cat >>conftest.$ac_ext <<_ACEOF
11158/* end confdefs.h.  */
11159
11160int
11161main ()
11162{
11163
11164  ;
11165  return 0;
11166}
11167_ACEOF
11168rm -f conftest.$ac_objext conftest$ac_exeext
11169if { (ac_try="$ac_link"
11170case "(($ac_try" in
11171  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11172  *) ac_try_echo=$ac_try;;
11173esac
11174eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11175$as_echo "$ac_try_echo") >&5
11176  (eval "$ac_link") 2>conftest.er1
11177  ac_status=$?
11178  grep -v '^ *+' conftest.er1 >conftest.err
11179  rm -f conftest.er1
11180  cat conftest.err >&5
11181  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11182  (exit $ac_status); } && {
11183	 test -z "$ac_c_werror_flag" ||
11184	 test ! -s conftest.err
11185       } && test -s conftest$ac_exeext && {
11186	 test "$cross_compiling" = yes ||
11187	 $as_test_x conftest$ac_exeext
11188       }; then
11189
11190lt_aix_libpath_sed='
11191    /Import File Strings/,/^$/ {
11192	/^0/ {
11193	    s/^0  *\(.*\)$/\1/
11194	    p
11195	}
11196    }'
11197aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11198# Check for a 64-bit object if we didn't find anything.
11199if test -z "$aix_libpath"; then
11200  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11201fi
11202else
11203  $as_echo "$as_me: failed program was:" >&5
11204sed 's/^/| /' conftest.$ac_ext >&5
11205
11206
11207fi
11208
11209rm -rf conftest.dSYM
11210rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11211      conftest$ac_exeext conftest.$ac_ext
11212if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11213
11214	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
11215	  # Warning - without using the other run time loading flags,
11216	  # -berok will link without error, but may produce a broken library.
11217	  no_undefined_flag=' ${wl}-bernotok'
11218	  allow_undefined_flag=' ${wl}-berok'
11219	  # Exported symbols can be pulled into shared objects from archives
11220	  whole_archive_flag_spec='$convenience'
11221	  archive_cmds_need_lc=yes
11222	  # This is similar to how AIX traditionally builds its shared libraries.
11223	  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'
11224	fi
11225      fi
11226      ;;
11227
11228    amigaos*)
11229      case $host_cpu in
11230      powerpc)
11231            # see comment about AmigaOS4 .so support
11232            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11233            archive_expsym_cmds=''
11234        ;;
11235      m68k)
11236            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)'
11237            hardcode_libdir_flag_spec='-L$libdir'
11238            hardcode_minus_L=yes
11239        ;;
11240      esac
11241      ;;
11242
11243    bsdi[45]*)
11244      export_dynamic_flag_spec=-rdynamic
11245      ;;
11246
11247    cygwin* | mingw* | pw32* | cegcc*)
11248      # When not using gcc, we currently assume that we are using
11249      # Microsoft Visual C++.
11250      # hardcode_libdir_flag_spec is actually meaningless, as there is
11251      # no search path for DLLs.
11252      hardcode_libdir_flag_spec=' '
11253      allow_undefined_flag=unsupported
11254      # Tell ltmain to make .lib files, not .a files.
11255      libext=lib
11256      # Tell ltmain to make .dll files, not .so files.
11257      shrext_cmds=".dll"
11258      # FIXME: Setting linknames here is a bad hack.
11259      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
11260      # The linker will automatically build a .lib file if we build a DLL.
11261      old_archive_from_new_cmds='true'
11262      # FIXME: Should let the user specify the lib program.
11263      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
11264      fix_srcfile_path='`cygpath -w "$srcfile"`'
11265      enable_shared_with_static_runtimes=yes
11266      ;;
11267
11268    darwin* | rhapsody*)
11269
11270
11271  archive_cmds_need_lc=no
11272  hardcode_direct=no
11273  hardcode_automatic=yes
11274  hardcode_shlibpath_var=unsupported
11275  whole_archive_flag_spec=''
11276  link_all_deplibs=yes
11277  allow_undefined_flag="$_lt_dar_allow_undefined"
11278  case $cc_basename in
11279     ifort*) _lt_dar_can_shared=yes ;;
11280     *) _lt_dar_can_shared=$GCC ;;
11281  esac
11282  if test "$_lt_dar_can_shared" = "yes"; then
11283    output_verbose_link_cmd=echo
11284    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
11285    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11286    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}"
11287    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}"
11288
11289  else
11290  ld_shlibs=no
11291  fi
11292
11293      ;;
11294
11295    dgux*)
11296      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11297      hardcode_libdir_flag_spec='-L$libdir'
11298      hardcode_shlibpath_var=no
11299      ;;
11300
11301    freebsd1*)
11302      ld_shlibs=no
11303      ;;
11304
11305    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11306    # support.  Future versions do this automatically, but an explicit c++rt0.o
11307    # does not break anything, and helps significantly (at the cost of a little
11308    # extra space).
11309    freebsd2.2*)
11310      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11311      hardcode_libdir_flag_spec='-R$libdir'
11312      hardcode_direct=yes
11313      hardcode_shlibpath_var=no
11314      ;;
11315
11316    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11317    freebsd2*)
11318      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11319      hardcode_direct=yes
11320      hardcode_minus_L=yes
11321      hardcode_shlibpath_var=no
11322      ;;
11323
11324    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11325    freebsd* | dragonfly*)
11326      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
11327      hardcode_libdir_flag_spec='-R$libdir'
11328      hardcode_direct=yes
11329      hardcode_shlibpath_var=no
11330      ;;
11331
11332    hpux9*)
11333      if test "$GCC" = yes; then
11334	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'
11335      else
11336	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'
11337      fi
11338      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11339      hardcode_libdir_separator=:
11340      hardcode_direct=yes
11341
11342      # hardcode_minus_L: Not really in the search PATH,
11343      # but as the default location of the library.
11344      hardcode_minus_L=yes
11345      export_dynamic_flag_spec='${wl}-E'
11346      ;;
11347
11348    hpux10*)
11349      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
11350	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11351      else
11352	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11353      fi
11354      if test "$with_gnu_ld" = no; then
11355	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11356	hardcode_libdir_flag_spec_ld='+b $libdir'
11357	hardcode_libdir_separator=:
11358	hardcode_direct=yes
11359	hardcode_direct_absolute=yes
11360	export_dynamic_flag_spec='${wl}-E'
11361	# hardcode_minus_L: Not really in the search PATH,
11362	# but as the default location of the library.
11363	hardcode_minus_L=yes
11364      fi
11365      ;;
11366
11367    hpux11*)
11368      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
11369	case $host_cpu in
11370	hppa*64*)
11371	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11372	  ;;
11373	ia64*)
11374	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11375	  ;;
11376	*)
11377	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11378	  ;;
11379	esac
11380      else
11381	case $host_cpu in
11382	hppa*64*)
11383	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11384	  ;;
11385	ia64*)
11386	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11387	  ;;
11388	*)
11389	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11390	  ;;
11391	esac
11392      fi
11393      if test "$with_gnu_ld" = no; then
11394	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11395	hardcode_libdir_separator=:
11396
11397	case $host_cpu in
11398	hppa*64*|ia64*)
11399	  hardcode_direct=no
11400	  hardcode_shlibpath_var=no
11401	  ;;
11402	*)
11403	  hardcode_direct=yes
11404	  hardcode_direct_absolute=yes
11405	  export_dynamic_flag_spec='${wl}-E'
11406
11407	  # hardcode_minus_L: Not really in the search PATH,
11408	  # but as the default location of the library.
11409	  hardcode_minus_L=yes
11410	  ;;
11411	esac
11412      fi
11413      ;;
11414
11415    irix5* | irix6* | nonstopux*)
11416      if test "$GCC" = yes; then
11417	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'
11418	# Try to use the -exported_symbol ld option, if it does not
11419	# work, assume that -exports_file does not work either and
11420	# implicitly export all symbols.
11421        save_LDFLAGS="$LDFLAGS"
11422        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11423        cat >conftest.$ac_ext <<_ACEOF
11424int foo(void) {}
11425_ACEOF
11426rm -f conftest.$ac_objext conftest$ac_exeext
11427if { (ac_try="$ac_link"
11428case "(($ac_try" in
11429  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11430  *) ac_try_echo=$ac_try;;
11431esac
11432eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11433$as_echo "$ac_try_echo") >&5
11434  (eval "$ac_link") 2>conftest.er1
11435  ac_status=$?
11436  grep -v '^ *+' conftest.er1 >conftest.err
11437  rm -f conftest.er1
11438  cat conftest.err >&5
11439  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11440  (exit $ac_status); } && {
11441	 test -z "$ac_c_werror_flag" ||
11442	 test ! -s conftest.err
11443       } && test -s conftest$ac_exeext && {
11444	 test "$cross_compiling" = yes ||
11445	 $as_test_x conftest$ac_exeext
11446       }; then
11447  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'
11448
11449else
11450  $as_echo "$as_me: failed program was:" >&5
11451sed 's/^/| /' conftest.$ac_ext >&5
11452
11453
11454fi
11455
11456rm -rf conftest.dSYM
11457rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11458      conftest$ac_exeext conftest.$ac_ext
11459        LDFLAGS="$save_LDFLAGS"
11460      else
11461	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'
11462	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'
11463      fi
11464      archive_cmds_need_lc='no'
11465      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11466      hardcode_libdir_separator=:
11467      inherit_rpath=yes
11468      link_all_deplibs=yes
11469      ;;
11470
11471    netbsd*)
11472      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11473	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
11474      else
11475	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
11476      fi
11477      hardcode_libdir_flag_spec='-R$libdir'
11478      hardcode_direct=yes
11479      hardcode_shlibpath_var=no
11480      ;;
11481
11482    newsos6)
11483      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11484      hardcode_direct=yes
11485      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11486      hardcode_libdir_separator=:
11487      hardcode_shlibpath_var=no
11488      ;;
11489
11490    *nto* | *qnx*)
11491      ;;
11492
11493    openbsd*)
11494      if test -f /usr/libexec/ld.so; then
11495	hardcode_direct=yes
11496	hardcode_shlibpath_var=no
11497	hardcode_direct_absolute=yes
11498	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11499	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11500	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11501	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11502	  export_dynamic_flag_spec='${wl}-E'
11503	else
11504	  case $host_os in
11505	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
11506	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11507	     hardcode_libdir_flag_spec='-R$libdir'
11508	     ;;
11509	   *)
11510	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11511	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11512	     ;;
11513	  esac
11514	fi
11515      else
11516	ld_shlibs=no
11517      fi
11518      ;;
11519
11520    os2*)
11521      hardcode_libdir_flag_spec='-L$libdir'
11522      hardcode_minus_L=yes
11523      allow_undefined_flag=unsupported
11524      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'
11525      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11526      ;;
11527
11528    osf3*)
11529      if test "$GCC" = yes; then
11530	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11531	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'
11532      else
11533	allow_undefined_flag=' -expect_unresolved \*'
11534	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'
11535      fi
11536      archive_cmds_need_lc='no'
11537      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11538      hardcode_libdir_separator=:
11539      ;;
11540
11541    osf4* | osf5*)	# as osf3* with the addition of -msym flag
11542      if test "$GCC" = yes; then
11543	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11544	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'
11545	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11546      else
11547	allow_undefined_flag=' -expect_unresolved \*'
11548	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'
11549	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~
11550	$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'
11551
11552	# Both c and cxx compiler support -rpath directly
11553	hardcode_libdir_flag_spec='-rpath $libdir'
11554      fi
11555      archive_cmds_need_lc='no'
11556      hardcode_libdir_separator=:
11557      ;;
11558
11559    solaris*)
11560      no_undefined_flag=' -z defs'
11561      if test "$GCC" = yes; then
11562	wlarc='${wl}'
11563	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11564	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11565	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11566      else
11567	case `$CC -V 2>&1` in
11568	*"Compilers 5.0"*)
11569	  wlarc=''
11570	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11571	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11572	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11573	  ;;
11574	*)
11575	  wlarc='${wl}'
11576	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11577	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11578	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11579	  ;;
11580	esac
11581      fi
11582      hardcode_libdir_flag_spec='-R$libdir'
11583      hardcode_shlibpath_var=no
11584      case $host_os in
11585      solaris2.[0-5] | solaris2.[0-5].*) ;;
11586      *)
11587	# The compiler driver will combine and reorder linker options,
11588	# but understands `-z linker_flag'.  GCC discards it without `$wl',
11589	# but is careful enough not to reorder.
11590	# Supported since Solaris 2.6 (maybe 2.5.1?)
11591	if test "$GCC" = yes; then
11592	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11593	else
11594	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11595	fi
11596	;;
11597      esac
11598      link_all_deplibs=yes
11599      ;;
11600
11601    sunos4*)
11602      if test "x$host_vendor" = xsequent; then
11603	# Use $CC to link under sequent, because it throws in some extra .o
11604	# files that make .init and .fini sections work.
11605	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11606      else
11607	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11608      fi
11609      hardcode_libdir_flag_spec='-L$libdir'
11610      hardcode_direct=yes
11611      hardcode_minus_L=yes
11612      hardcode_shlibpath_var=no
11613      ;;
11614
11615    sysv4)
11616      case $host_vendor in
11617	sni)
11618	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11619	  hardcode_direct=yes # is this really true???
11620	;;
11621	siemens)
11622	  ## LD is ld it makes a PLAMLIB
11623	  ## CC just makes a GrossModule.
11624	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11625	  reload_cmds='$CC -r -o $output$reload_objs'
11626	  hardcode_direct=no
11627        ;;
11628	motorola)
11629	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11630	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11631	;;
11632      esac
11633      runpath_var='LD_RUN_PATH'
11634      hardcode_shlibpath_var=no
11635      ;;
11636
11637    sysv4.3*)
11638      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11639      hardcode_shlibpath_var=no
11640      export_dynamic_flag_spec='-Bexport'
11641      ;;
11642
11643    sysv4*MP*)
11644      if test -d /usr/nec; then
11645	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11646	hardcode_shlibpath_var=no
11647	runpath_var=LD_RUN_PATH
11648	hardcode_runpath_var=yes
11649	ld_shlibs=yes
11650      fi
11651      ;;
11652
11653    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11654      no_undefined_flag='${wl}-z,text'
11655      archive_cmds_need_lc=no
11656      hardcode_shlibpath_var=no
11657      runpath_var='LD_RUN_PATH'
11658
11659      if test "$GCC" = yes; then
11660	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11661	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11662      else
11663	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11664	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11665      fi
11666      ;;
11667
11668    sysv5* | sco3.2v5* | sco5v6*)
11669      # Note: We can NOT use -z defs as we might desire, because we do not
11670      # link with -lc, and that would cause any symbols used from libc to
11671      # always be unresolved, which means just about no library would
11672      # ever link correctly.  If we're not using GNU ld we use -z text
11673      # though, which does catch some bad symbols but isn't as heavy-handed
11674      # as -z defs.
11675      no_undefined_flag='${wl}-z,text'
11676      allow_undefined_flag='${wl}-z,nodefs'
11677      archive_cmds_need_lc=no
11678      hardcode_shlibpath_var=no
11679      hardcode_libdir_flag_spec='${wl}-R,$libdir'
11680      hardcode_libdir_separator=':'
11681      link_all_deplibs=yes
11682      export_dynamic_flag_spec='${wl}-Bexport'
11683      runpath_var='LD_RUN_PATH'
11684
11685      if test "$GCC" = yes; then
11686	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11687	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11688      else
11689	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11690	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11691      fi
11692      ;;
11693
11694    uts4*)
11695      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11696      hardcode_libdir_flag_spec='-L$libdir'
11697      hardcode_shlibpath_var=no
11698      ;;
11699
11700    *)
11701      ld_shlibs=no
11702      ;;
11703    esac
11704
11705    if test x$host_vendor = xsni; then
11706      case $host in
11707      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11708	export_dynamic_flag_spec='${wl}-Blargedynsym'
11709	;;
11710      esac
11711    fi
11712  fi
11713
11714{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
11715$as_echo "$ld_shlibs" >&6; }
11716test "$ld_shlibs" = no && can_build_shared=no
11717
11718with_gnu_ld=$with_gnu_ld
11719
11720
11721
11722
11723
11724
11725
11726
11727
11728
11729
11730
11731
11732
11733
11734#
11735# Do we need to explicitly link libc?
11736#
11737case "x$archive_cmds_need_lc" in
11738x|xyes)
11739  # Assume -lc should be added
11740  archive_cmds_need_lc=yes
11741
11742  if test "$enable_shared" = yes && test "$GCC" = yes; then
11743    case $archive_cmds in
11744    *'~'*)
11745      # FIXME: we may have to deal with multi-command sequences.
11746      ;;
11747    '$CC '*)
11748      # Test whether the compiler implicitly links with -lc since on some
11749      # systems, -lgcc has to come before -lc. If gcc already passes -lc
11750      # to ld, don't add -lc before -lgcc.
11751      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11752$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11753      $RM conftest*
11754      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11755
11756      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11757  (eval $ac_compile) 2>&5
11758  ac_status=$?
11759  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11760  (exit $ac_status); } 2>conftest.err; then
11761        soname=conftest
11762        lib=conftest
11763        libobjs=conftest.$ac_objext
11764        deplibs=
11765        wl=$lt_prog_compiler_wl
11766	pic_flag=$lt_prog_compiler_pic
11767        compiler_flags=-v
11768        linker_flags=-v
11769        verstring=
11770        output_objdir=.
11771        libname=conftest
11772        lt_save_allow_undefined_flag=$allow_undefined_flag
11773        allow_undefined_flag=
11774        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
11775  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11776  ac_status=$?
11777  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11778  (exit $ac_status); }
11779        then
11780	  archive_cmds_need_lc=no
11781        else
11782	  archive_cmds_need_lc=yes
11783        fi
11784        allow_undefined_flag=$lt_save_allow_undefined_flag
11785      else
11786        cat conftest.err 1>&5
11787      fi
11788      $RM conftest*
11789      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
11790$as_echo "$archive_cmds_need_lc" >&6; }
11791      ;;
11792    esac
11793  fi
11794  ;;
11795esac
11796
11797
11798
11799
11800
11801
11802
11803
11804
11805
11806
11807
11808
11809
11810
11811
11812
11813
11814
11815
11816
11817
11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829
11830
11831
11832
11833
11834
11835
11836
11837
11838
11839
11840
11841
11842
11843
11844
11845
11846
11847
11848
11849
11850
11851
11852
11853
11854
11855
11856
11857
11858
11859
11860
11861
11862
11863
11864
11865
11866
11867
11868
11869
11870
11871
11872
11873
11874
11875
11876
11877
11878
11879
11880
11881
11882
11883
11884
11885
11886
11887
11888
11889
11890
11891
11892
11893
11894
11895
11896
11897
11898
11899
11900
11901
11902
11903
11904
11905
11906
11907
11908
11909
11910
11911
11912
11913
11914
11915
11916
11917
11918
11919
11920
11921
11922
11923
11924
11925
11926
11927
11928
11929
11930
11931
11932
11933
11934
11935
11936
11937
11938
11939
11940
11941
11942
11943
11944
11945
11946
11947
11948
11949
11950
11951
11952
11953  { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11954$as_echo_n "checking dynamic linker characteristics... " >&6; }
11955
11956if test "$GCC" = yes; then
11957  case $host_os in
11958    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11959    *) lt_awk_arg="/^libraries:/" ;;
11960  esac
11961  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11962  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
11963    # if the path contains ";" then we assume it to be the separator
11964    # otherwise default to the standard path separator (i.e. ":") - it is
11965    # assumed that no part of a normal pathname contains ";" but that should
11966    # okay in the real world where ";" in dirpaths is itself problematic.
11967    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
11968  else
11969    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
11970  fi
11971  # Ok, now we have the path, separated by spaces, we can step through it
11972  # and add multilib dir if necessary.
11973  lt_tmp_lt_search_path_spec=
11974  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11975  for lt_sys_path in $lt_search_path_spec; do
11976    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11977      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11978    else
11979      test -d "$lt_sys_path" && \
11980	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11981    fi
11982  done
11983  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
11984BEGIN {RS=" "; FS="/|\n";} {
11985  lt_foo="";
11986  lt_count=0;
11987  for (lt_i = NF; lt_i > 0; lt_i--) {
11988    if ($lt_i != "" && $lt_i != ".") {
11989      if ($lt_i == "..") {
11990        lt_count++;
11991      } else {
11992        if (lt_count == 0) {
11993          lt_foo="/" $lt_i lt_foo;
11994        } else {
11995          lt_count--;
11996        }
11997      }
11998    }
11999  }
12000  if (lt_foo != "") { lt_freq[lt_foo]++; }
12001  if (lt_freq[lt_foo] == 1) { print lt_foo; }
12002}'`
12003  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
12004else
12005  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12006fi
12007library_names_spec=
12008libname_spec='lib$name'
12009soname_spec=
12010shrext_cmds=".so"
12011postinstall_cmds=
12012postuninstall_cmds=
12013finish_cmds=
12014finish_eval=
12015shlibpath_var=
12016shlibpath_overrides_runpath=unknown
12017version_type=none
12018dynamic_linker="$host_os ld.so"
12019sys_lib_dlsearch_path_spec="/lib /usr/lib"
12020need_lib_prefix=unknown
12021hardcode_into_libs=no
12022
12023# when you set need_version to no, make sure it does not cause -set_version
12024# flags to be left without arguments
12025need_version=unknown
12026
12027case $host_os in
12028aix3*)
12029  version_type=linux
12030  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
12031  shlibpath_var=LIBPATH
12032
12033  # AIX 3 has no versioning support, so we append a major version to the name.
12034  soname_spec='${libname}${release}${shared_ext}$major'
12035  ;;
12036
12037aix[4-9]*)
12038  version_type=linux
12039  need_lib_prefix=no
12040  need_version=no
12041  hardcode_into_libs=yes
12042  if test "$host_cpu" = ia64; then
12043    # AIX 5 supports IA64
12044    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12045    shlibpath_var=LD_LIBRARY_PATH
12046  else
12047    # With GCC up to 2.95.x, collect2 would create an import file
12048    # for dependence libraries.  The import file would start with
12049    # the line `#! .'.  This would cause the generated library to
12050    # depend on `.', always an invalid library.  This was fixed in
12051    # development snapshots of GCC prior to 3.0.
12052    case $host_os in
12053      aix4 | aix4.[01] | aix4.[01].*)
12054      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12055	   echo ' yes '
12056	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
12057	:
12058      else
12059	can_build_shared=no
12060      fi
12061      ;;
12062    esac
12063    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12064    # soname into executable. Probably we can add versioning support to
12065    # collect2, so additional links can be useful in future.
12066    if test "$aix_use_runtimelinking" = yes; then
12067      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12068      # instead of lib<name>.a to let people know that these are not
12069      # typical AIX shared libraries.
12070      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12071    else
12072      # We preserve .a as extension for shared libraries through AIX4.2
12073      # and later when we are not doing run time linking.
12074      library_names_spec='${libname}${release}.a $libname.a'
12075      soname_spec='${libname}${release}${shared_ext}$major'
12076    fi
12077    shlibpath_var=LIBPATH
12078  fi
12079  ;;
12080
12081amigaos*)
12082  case $host_cpu in
12083  powerpc)
12084    # Since July 2007 AmigaOS4 officially supports .so libraries.
12085    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12086    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12087    ;;
12088  m68k)
12089    library_names_spec='$libname.ixlibrary $libname.a'
12090    # Create ${libname}_ixlibrary.a entries in /sys/libs.
12091    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'
12092    ;;
12093  esac
12094  ;;
12095
12096beos*)
12097  library_names_spec='${libname}${shared_ext}'
12098  dynamic_linker="$host_os ld.so"
12099  shlibpath_var=LIBRARY_PATH
12100  ;;
12101
12102bsdi[45]*)
12103  version_type=linux
12104  need_version=no
12105  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12106  soname_spec='${libname}${release}${shared_ext}$major'
12107  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
12108  shlibpath_var=LD_LIBRARY_PATH
12109  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12110  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
12111  # the default ld.so.conf also contains /usr/contrib/lib and
12112  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12113  # libtool to hard-code these into programs
12114  ;;
12115
12116cygwin* | mingw* | pw32* | cegcc*)
12117  version_type=windows
12118  shrext_cmds=".dll"
12119  need_version=no
12120  need_lib_prefix=no
12121
12122  case $GCC,$host_os in
12123  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
12124    library_names_spec='$libname.dll.a'
12125    # DLL is installed to $(libdir)/../bin by postinstall_cmds
12126    postinstall_cmds='base_file=`basename \${file}`~
12127      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
12128      dldir=$destdir/`dirname \$dlpath`~
12129      test -d \$dldir || mkdir -p \$dldir~
12130      $install_prog $dir/$dlname \$dldir/$dlname~
12131      chmod a+x \$dldir/$dlname~
12132      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12133        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12134      fi'
12135    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12136      dlpath=$dir/\$dldll~
12137       $RM \$dlpath'
12138    shlibpath_overrides_runpath=yes
12139
12140    case $host_os in
12141    cygwin*)
12142      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12143      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12144      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
12145      ;;
12146    mingw* | cegcc*)
12147      # MinGW DLLs use traditional 'lib' prefix
12148      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12149      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12150      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
12151        # It is most probably a Windows format PATH printed by
12152        # mingw gcc, but we are running on Cygwin. Gcc prints its search
12153        # path with ; separators, and with drive letters. We can handle the
12154        # drive letters (cygwin fileutils understands them), so leave them,
12155        # especially as we might pass files found there to a mingw objdump,
12156        # which wouldn't understand a cygwinified path. Ahh.
12157        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12158      else
12159        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
12160      fi
12161      ;;
12162    pw32*)
12163      # pw32 DLLs use 'pw' prefix rather than 'lib'
12164      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12165      ;;
12166    esac
12167    ;;
12168
12169  *)
12170    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12171    ;;
12172  esac
12173  dynamic_linker='Win32 ld.exe'
12174  # FIXME: first we should search . and the directory the executable is in
12175  shlibpath_var=PATH
12176  ;;
12177
12178darwin* | rhapsody*)
12179  dynamic_linker="$host_os dyld"
12180  version_type=darwin
12181  need_lib_prefix=no
12182  need_version=no
12183  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12184  soname_spec='${libname}${release}${major}$shared_ext'
12185  shlibpath_overrides_runpath=yes
12186  shlibpath_var=DYLD_LIBRARY_PATH
12187  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12188
12189  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
12190  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12191  ;;
12192
12193dgux*)
12194  version_type=linux
12195  need_lib_prefix=no
12196  need_version=no
12197  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12198  soname_spec='${libname}${release}${shared_ext}$major'
12199  shlibpath_var=LD_LIBRARY_PATH
12200  ;;
12201
12202freebsd1*)
12203  dynamic_linker=no
12204  ;;
12205
12206freebsd* | dragonfly*)
12207  # DragonFly does not have aout.  When/if they implement a new
12208  # versioning mechanism, adjust this.
12209  if test -x /usr/bin/objformat; then
12210    objformat=`/usr/bin/objformat`
12211  else
12212    case $host_os in
12213    freebsd[123]*) objformat=aout ;;
12214    *) objformat=elf ;;
12215    esac
12216  fi
12217  version_type=freebsd-$objformat
12218  case $version_type in
12219    freebsd-elf*)
12220      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12221      need_version=no
12222      need_lib_prefix=no
12223      ;;
12224    freebsd-*)
12225      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12226      need_version=yes
12227      ;;
12228  esac
12229  shlibpath_var=LD_LIBRARY_PATH
12230  case $host_os in
12231  freebsd2*)
12232    shlibpath_overrides_runpath=yes
12233    ;;
12234  freebsd3.[01]* | freebsdelf3.[01]*)
12235    shlibpath_overrides_runpath=yes
12236    hardcode_into_libs=yes
12237    ;;
12238  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
12239  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
12240    shlibpath_overrides_runpath=no
12241    hardcode_into_libs=yes
12242    ;;
12243  *) # from 4.6 on, and DragonFly
12244    shlibpath_overrides_runpath=yes
12245    hardcode_into_libs=yes
12246    ;;
12247  esac
12248  ;;
12249
12250gnu*)
12251  version_type=linux
12252  need_lib_prefix=no
12253  need_version=no
12254  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12255  soname_spec='${libname}${release}${shared_ext}$major'
12256  shlibpath_var=LD_LIBRARY_PATH
12257  hardcode_into_libs=yes
12258  ;;
12259
12260hpux9* | hpux10* | hpux11*)
12261  # Give a soname corresponding to the major version so that dld.sl refuses to
12262  # link against other versions.
12263  version_type=sunos
12264  need_lib_prefix=no
12265  need_version=no
12266  case $host_cpu in
12267  ia64*)
12268    shrext_cmds='.so'
12269    hardcode_into_libs=yes
12270    dynamic_linker="$host_os dld.so"
12271    shlibpath_var=LD_LIBRARY_PATH
12272    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12273    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12274    soname_spec='${libname}${release}${shared_ext}$major'
12275    if test "X$HPUX_IA64_MODE" = X32; then
12276      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12277    else
12278      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12279    fi
12280    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12281    ;;
12282  hppa*64*)
12283    shrext_cmds='.sl'
12284    hardcode_into_libs=yes
12285    dynamic_linker="$host_os dld.sl"
12286    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12287    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12288    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12289    soname_spec='${libname}${release}${shared_ext}$major'
12290    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12291    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12292    ;;
12293  *)
12294    shrext_cmds='.sl'
12295    dynamic_linker="$host_os dld.sl"
12296    shlibpath_var=SHLIB_PATH
12297    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12298    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12299    soname_spec='${libname}${release}${shared_ext}$major'
12300    ;;
12301  esac
12302  # HP-UX runs *really* slowly unless shared libraries are mode 555.
12303  postinstall_cmds='chmod 555 $lib'
12304  ;;
12305
12306interix[3-9]*)
12307  version_type=linux
12308  need_lib_prefix=no
12309  need_version=no
12310  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12311  soname_spec='${libname}${release}${shared_ext}$major'
12312  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12313  shlibpath_var=LD_LIBRARY_PATH
12314  shlibpath_overrides_runpath=no
12315  hardcode_into_libs=yes
12316  ;;
12317
12318irix5* | irix6* | nonstopux*)
12319  case $host_os in
12320    nonstopux*) version_type=nonstopux ;;
12321    *)
12322	if test "$lt_cv_prog_gnu_ld" = yes; then
12323		version_type=linux
12324	else
12325		version_type=irix
12326	fi ;;
12327  esac
12328  need_lib_prefix=no
12329  need_version=no
12330  soname_spec='${libname}${release}${shared_ext}$major'
12331  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12332  case $host_os in
12333  irix5* | nonstopux*)
12334    libsuff= shlibsuff=
12335    ;;
12336  *)
12337    case $LD in # libtool.m4 will add one of these switches to LD
12338    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12339      libsuff= shlibsuff= libmagic=32-bit;;
12340    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12341      libsuff=32 shlibsuff=N32 libmagic=N32;;
12342    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12343      libsuff=64 shlibsuff=64 libmagic=64-bit;;
12344    *) libsuff= shlibsuff= libmagic=never-match;;
12345    esac
12346    ;;
12347  esac
12348  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12349  shlibpath_overrides_runpath=no
12350  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12351  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
12352  hardcode_into_libs=yes
12353  ;;
12354
12355# No shared lib support for Linux oldld, aout, or coff.
12356linux*oldld* | linux*aout* | linux*coff*)
12357  dynamic_linker=no
12358  ;;
12359
12360# This must be Linux ELF.
12361linux* | k*bsd*-gnu)
12362  version_type=linux
12363  need_lib_prefix=no
12364  need_version=no
12365  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12366  soname_spec='${libname}${release}${shared_ext}$major'
12367  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12368  shlibpath_var=LD_LIBRARY_PATH
12369  shlibpath_overrides_runpath=no
12370  # Some binutils ld are patched to set DT_RUNPATH
12371  save_LDFLAGS=$LDFLAGS
12372  save_libdir=$libdir
12373  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12374       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12375  cat >conftest.$ac_ext <<_ACEOF
12376/* confdefs.h.  */
12377_ACEOF
12378cat confdefs.h >>conftest.$ac_ext
12379cat >>conftest.$ac_ext <<_ACEOF
12380/* end confdefs.h.  */
12381
12382int
12383main ()
12384{
12385
12386  ;
12387  return 0;
12388}
12389_ACEOF
12390rm -f conftest.$ac_objext conftest$ac_exeext
12391if { (ac_try="$ac_link"
12392case "(($ac_try" in
12393  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12394  *) ac_try_echo=$ac_try;;
12395esac
12396eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12397$as_echo "$ac_try_echo") >&5
12398  (eval "$ac_link") 2>conftest.er1
12399  ac_status=$?
12400  grep -v '^ *+' conftest.er1 >conftest.err
12401  rm -f conftest.er1
12402  cat conftest.err >&5
12403  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12404  (exit $ac_status); } && {
12405	 test -z "$ac_c_werror_flag" ||
12406	 test ! -s conftest.err
12407       } && test -s conftest$ac_exeext && {
12408	 test "$cross_compiling" = yes ||
12409	 $as_test_x conftest$ac_exeext
12410       }; then
12411  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
12412  shlibpath_overrides_runpath=yes
12413fi
12414
12415else
12416  $as_echo "$as_me: failed program was:" >&5
12417sed 's/^/| /' conftest.$ac_ext >&5
12418
12419
12420fi
12421
12422rm -rf conftest.dSYM
12423rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12424      conftest$ac_exeext conftest.$ac_ext
12425  LDFLAGS=$save_LDFLAGS
12426  libdir=$save_libdir
12427
12428  # This implies no fast_install, which is unacceptable.
12429  # Some rework will be needed to allow for fast_install
12430  # before this can be enabled.
12431  hardcode_into_libs=yes
12432
12433  # Add ABI-specific directories to the system library path.
12434  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
12435
12436  # Append ld.so.conf contents to the search path
12437  if test -f /etc/ld.so.conf; then
12438    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' ' '`
12439    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
12440  fi
12441
12442  # We used to test for /lib/ld.so.1 and disable shared libraries on
12443  # powerpc, because MkLinux only supported shared libraries with the
12444  # GNU dynamic linker.  Since this was broken with cross compilers,
12445  # most powerpc-linux boxes support dynamic linking these days and
12446  # people can always --disable-shared, the test was removed, and we
12447  # assume the GNU/Linux dynamic linker is in use.
12448  dynamic_linker='GNU/Linux ld.so'
12449  ;;
12450
12451netbsd*)
12452  version_type=sunos
12453  need_lib_prefix=no
12454  need_version=no
12455  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12456    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12457    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12458    dynamic_linker='NetBSD (a.out) ld.so'
12459  else
12460    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12461    soname_spec='${libname}${release}${shared_ext}$major'
12462    dynamic_linker='NetBSD ld.elf_so'
12463  fi
12464  shlibpath_var=LD_LIBRARY_PATH
12465  shlibpath_overrides_runpath=yes
12466  hardcode_into_libs=yes
12467  ;;
12468
12469newsos6)
12470  version_type=linux
12471  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12472  shlibpath_var=LD_LIBRARY_PATH
12473  shlibpath_overrides_runpath=yes
12474  ;;
12475
12476*nto* | *qnx*)
12477  version_type=qnx
12478  need_lib_prefix=no
12479  need_version=no
12480  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12481  soname_spec='${libname}${release}${shared_ext}$major'
12482  shlibpath_var=LD_LIBRARY_PATH
12483  shlibpath_overrides_runpath=no
12484  hardcode_into_libs=yes
12485  dynamic_linker='ldqnx.so'
12486  ;;
12487
12488openbsd*)
12489  version_type=sunos
12490  sys_lib_dlsearch_path_spec="/usr/lib"
12491  need_lib_prefix=no
12492  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12493  case $host_os in
12494    openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
12495    *)				need_version=no  ;;
12496  esac
12497  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12498  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12499  shlibpath_var=LD_LIBRARY_PATH
12500  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12501    case $host_os in
12502      openbsd2.[89] | openbsd2.[89].*)
12503	shlibpath_overrides_runpath=no
12504	;;
12505      *)
12506	shlibpath_overrides_runpath=yes
12507	;;
12508      esac
12509  else
12510    shlibpath_overrides_runpath=yes
12511  fi
12512  ;;
12513
12514os2*)
12515  libname_spec='$name'
12516  shrext_cmds=".dll"
12517  need_lib_prefix=no
12518  library_names_spec='$libname${shared_ext} $libname.a'
12519  dynamic_linker='OS/2 ld.exe'
12520  shlibpath_var=LIBPATH
12521  ;;
12522
12523osf3* | osf4* | osf5*)
12524  version_type=osf
12525  need_lib_prefix=no
12526  need_version=no
12527  soname_spec='${libname}${release}${shared_ext}$major'
12528  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12529  shlibpath_var=LD_LIBRARY_PATH
12530  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12531  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
12532  ;;
12533
12534rdos*)
12535  dynamic_linker=no
12536  ;;
12537
12538solaris*)
12539  version_type=linux
12540  need_lib_prefix=no
12541  need_version=no
12542  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12543  soname_spec='${libname}${release}${shared_ext}$major'
12544  shlibpath_var=LD_LIBRARY_PATH
12545  shlibpath_overrides_runpath=yes
12546  hardcode_into_libs=yes
12547  # ldd complains unless libraries are executable
12548  postinstall_cmds='chmod +x $lib'
12549  ;;
12550
12551sunos4*)
12552  version_type=sunos
12553  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12554  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12555  shlibpath_var=LD_LIBRARY_PATH
12556  shlibpath_overrides_runpath=yes
12557  if test "$with_gnu_ld" = yes; then
12558    need_lib_prefix=no
12559  fi
12560  need_version=yes
12561  ;;
12562
12563sysv4 | sysv4.3*)
12564  version_type=linux
12565  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12566  soname_spec='${libname}${release}${shared_ext}$major'
12567  shlibpath_var=LD_LIBRARY_PATH
12568  case $host_vendor in
12569    sni)
12570      shlibpath_overrides_runpath=no
12571      need_lib_prefix=no
12572      runpath_var=LD_RUN_PATH
12573      ;;
12574    siemens)
12575      need_lib_prefix=no
12576      ;;
12577    motorola)
12578      need_lib_prefix=no
12579      need_version=no
12580      shlibpath_overrides_runpath=no
12581      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12582      ;;
12583  esac
12584  ;;
12585
12586sysv4*MP*)
12587  if test -d /usr/nec ;then
12588    version_type=linux
12589    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12590    soname_spec='$libname${shared_ext}.$major'
12591    shlibpath_var=LD_LIBRARY_PATH
12592  fi
12593  ;;
12594
12595sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12596  version_type=freebsd-elf
12597  need_lib_prefix=no
12598  need_version=no
12599  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12600  soname_spec='${libname}${release}${shared_ext}$major'
12601  shlibpath_var=LD_LIBRARY_PATH
12602  shlibpath_overrides_runpath=yes
12603  hardcode_into_libs=yes
12604  if test "$with_gnu_ld" = yes; then
12605    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12606  else
12607    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12608    case $host_os in
12609      sco3.2v5*)
12610        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12611	;;
12612    esac
12613  fi
12614  sys_lib_dlsearch_path_spec='/usr/lib'
12615  ;;
12616
12617tpf*)
12618  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
12619  version_type=linux
12620  need_lib_prefix=no
12621  need_version=no
12622  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12623  shlibpath_var=LD_LIBRARY_PATH
12624  shlibpath_overrides_runpath=no
12625  hardcode_into_libs=yes
12626  ;;
12627
12628uts4*)
12629  version_type=linux
12630  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12631  soname_spec='${libname}${release}${shared_ext}$major'
12632  shlibpath_var=LD_LIBRARY_PATH
12633  ;;
12634
12635*)
12636  dynamic_linker=no
12637  ;;
12638esac
12639{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
12640$as_echo "$dynamic_linker" >&6; }
12641test "$dynamic_linker" = no && can_build_shared=no
12642
12643variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12644if test "$GCC" = yes; then
12645  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12646fi
12647
12648if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12649  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
12650fi
12651if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12652  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
12653fi
12654
12655
12656
12657
12658
12659
12660
12661
12662
12663
12664
12665
12666
12667
12668
12669
12670
12671
12672
12673
12674
12675
12676
12677
12678
12679
12680
12681
12682
12683
12684
12685
12686
12687
12688
12689
12690
12691
12692
12693
12694
12695
12696
12697
12698
12699
12700
12701
12702
12703
12704
12705
12706
12707
12708
12709
12710
12711
12712
12713
12714
12715
12716
12717
12718
12719
12720
12721
12722
12723
12724
12725
12726
12727
12728
12729
12730
12731
12732
12733
12734
12735
12736
12737
12738
12739
12740
12741  { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
12742$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12743hardcode_action=
12744if test -n "$hardcode_libdir_flag_spec" ||
12745   test -n "$runpath_var" ||
12746   test "X$hardcode_automatic" = "Xyes" ; then
12747
12748  # We can hardcode non-existent directories.
12749  if test "$hardcode_direct" != no &&
12750     # If the only mechanism to avoid hardcoding is shlibpath_var, we
12751     # have to relink, otherwise we might link with an installed library
12752     # when we should be linking with a yet-to-be-installed one
12753     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12754     test "$hardcode_minus_L" != no; then
12755    # Linking always hardcodes the temporary library directory.
12756    hardcode_action=relink
12757  else
12758    # We can link without hardcoding, and we can hardcode nonexisting dirs.
12759    hardcode_action=immediate
12760  fi
12761else
12762  # We cannot hardcode anything, or else we can only hardcode existing
12763  # directories.
12764  hardcode_action=unsupported
12765fi
12766{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
12767$as_echo "$hardcode_action" >&6; }
12768
12769if test "$hardcode_action" = relink ||
12770   test "$inherit_rpath" = yes; then
12771  # Fast installation is not supported
12772  enable_fast_install=no
12773elif test "$shlibpath_overrides_runpath" = yes ||
12774     test "$enable_shared" = no; then
12775  # Fast installation is not necessary
12776  enable_fast_install=needless
12777fi
12778
12779
12780
12781
12782
12783
12784  if test "x$enable_dlopen" != xyes; then
12785  enable_dlopen=unknown
12786  enable_dlopen_self=unknown
12787  enable_dlopen_self_static=unknown
12788else
12789  lt_cv_dlopen=no
12790  lt_cv_dlopen_libs=
12791
12792  case $host_os in
12793  beos*)
12794    lt_cv_dlopen="load_add_on"
12795    lt_cv_dlopen_libs=
12796    lt_cv_dlopen_self=yes
12797    ;;
12798
12799  mingw* | pw32* | cegcc*)
12800    lt_cv_dlopen="LoadLibrary"
12801    lt_cv_dlopen_libs=
12802    ;;
12803
12804  cygwin*)
12805    lt_cv_dlopen="dlopen"
12806    lt_cv_dlopen_libs=
12807    ;;
12808
12809  darwin*)
12810  # if libdl is installed we need to link against it
12811    { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12812$as_echo_n "checking for dlopen in -ldl... " >&6; }
12813if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12814  $as_echo_n "(cached) " >&6
12815else
12816  ac_check_lib_save_LIBS=$LIBS
12817LIBS="-ldl  $LIBS"
12818cat >conftest.$ac_ext <<_ACEOF
12819/* confdefs.h.  */
12820_ACEOF
12821cat confdefs.h >>conftest.$ac_ext
12822cat >>conftest.$ac_ext <<_ACEOF
12823/* end confdefs.h.  */
12824
12825/* Override any GCC internal prototype to avoid an error.
12826   Use char because int might match the return type of a GCC
12827   builtin and then its argument prototype would still apply.  */
12828#ifdef __cplusplus
12829extern "C"
12830#endif
12831char dlopen ();
12832int
12833main ()
12834{
12835return dlopen ();
12836  ;
12837  return 0;
12838}
12839_ACEOF
12840rm -f conftest.$ac_objext conftest$ac_exeext
12841if { (ac_try="$ac_link"
12842case "(($ac_try" in
12843  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12844  *) ac_try_echo=$ac_try;;
12845esac
12846eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12847$as_echo "$ac_try_echo") >&5
12848  (eval "$ac_link") 2>conftest.er1
12849  ac_status=$?
12850  grep -v '^ *+' conftest.er1 >conftest.err
12851  rm -f conftest.er1
12852  cat conftest.err >&5
12853  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12854  (exit $ac_status); } && {
12855	 test -z "$ac_c_werror_flag" ||
12856	 test ! -s conftest.err
12857       } && test -s conftest$ac_exeext && {
12858	 test "$cross_compiling" = yes ||
12859	 $as_test_x conftest$ac_exeext
12860       }; then
12861  ac_cv_lib_dl_dlopen=yes
12862else
12863  $as_echo "$as_me: failed program was:" >&5
12864sed 's/^/| /' conftest.$ac_ext >&5
12865
12866	ac_cv_lib_dl_dlopen=no
12867fi
12868
12869rm -rf conftest.dSYM
12870rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12871      conftest$ac_exeext conftest.$ac_ext
12872LIBS=$ac_check_lib_save_LIBS
12873fi
12874{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12875$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12876if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
12877  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12878else
12879
12880    lt_cv_dlopen="dyld"
12881    lt_cv_dlopen_libs=
12882    lt_cv_dlopen_self=yes
12883
12884fi
12885
12886    ;;
12887
12888  *)
12889    { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
12890$as_echo_n "checking for shl_load... " >&6; }
12891if test "${ac_cv_func_shl_load+set}" = set; then
12892  $as_echo_n "(cached) " >&6
12893else
12894  cat >conftest.$ac_ext <<_ACEOF
12895/* confdefs.h.  */
12896_ACEOF
12897cat confdefs.h >>conftest.$ac_ext
12898cat >>conftest.$ac_ext <<_ACEOF
12899/* end confdefs.h.  */
12900/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
12901   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12902#define shl_load innocuous_shl_load
12903
12904/* System header to define __stub macros and hopefully few prototypes,
12905    which can conflict with char shl_load (); below.
12906    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12907    <limits.h> exists even on freestanding compilers.  */
12908
12909#ifdef __STDC__
12910# include <limits.h>
12911#else
12912# include <assert.h>
12913#endif
12914
12915#undef shl_load
12916
12917/* Override any GCC internal prototype to avoid an error.
12918   Use char because int might match the return type of a GCC
12919   builtin and then its argument prototype would still apply.  */
12920#ifdef __cplusplus
12921extern "C"
12922#endif
12923char shl_load ();
12924/* The GNU C library defines this for functions which it implements
12925    to always fail with ENOSYS.  Some functions are actually named
12926    something starting with __ and the normal name is an alias.  */
12927#if defined __stub_shl_load || defined __stub___shl_load
12928choke me
12929#endif
12930
12931int
12932main ()
12933{
12934return shl_load ();
12935  ;
12936  return 0;
12937}
12938_ACEOF
12939rm -f conftest.$ac_objext conftest$ac_exeext
12940if { (ac_try="$ac_link"
12941case "(($ac_try" in
12942  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12943  *) ac_try_echo=$ac_try;;
12944esac
12945eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12946$as_echo "$ac_try_echo") >&5
12947  (eval "$ac_link") 2>conftest.er1
12948  ac_status=$?
12949  grep -v '^ *+' conftest.er1 >conftest.err
12950  rm -f conftest.er1
12951  cat conftest.err >&5
12952  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12953  (exit $ac_status); } && {
12954	 test -z "$ac_c_werror_flag" ||
12955	 test ! -s conftest.err
12956       } && test -s conftest$ac_exeext && {
12957	 test "$cross_compiling" = yes ||
12958	 $as_test_x conftest$ac_exeext
12959       }; then
12960  ac_cv_func_shl_load=yes
12961else
12962  $as_echo "$as_me: failed program was:" >&5
12963sed 's/^/| /' conftest.$ac_ext >&5
12964
12965	ac_cv_func_shl_load=no
12966fi
12967
12968rm -rf conftest.dSYM
12969rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12970      conftest$ac_exeext conftest.$ac_ext
12971fi
12972{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
12973$as_echo "$ac_cv_func_shl_load" >&6; }
12974if test "x$ac_cv_func_shl_load" = x""yes; then
12975  lt_cv_dlopen="shl_load"
12976else
12977  { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
12978$as_echo_n "checking for shl_load in -ldld... " >&6; }
12979if test "${ac_cv_lib_dld_shl_load+set}" = set; then
12980  $as_echo_n "(cached) " >&6
12981else
12982  ac_check_lib_save_LIBS=$LIBS
12983LIBS="-ldld  $LIBS"
12984cat >conftest.$ac_ext <<_ACEOF
12985/* confdefs.h.  */
12986_ACEOF
12987cat confdefs.h >>conftest.$ac_ext
12988cat >>conftest.$ac_ext <<_ACEOF
12989/* end confdefs.h.  */
12990
12991/* Override any GCC internal prototype to avoid an error.
12992   Use char because int might match the return type of a GCC
12993   builtin and then its argument prototype would still apply.  */
12994#ifdef __cplusplus
12995extern "C"
12996#endif
12997char shl_load ();
12998int
12999main ()
13000{
13001return shl_load ();
13002  ;
13003  return 0;
13004}
13005_ACEOF
13006rm -f conftest.$ac_objext conftest$ac_exeext
13007if { (ac_try="$ac_link"
13008case "(($ac_try" in
13009  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13010  *) ac_try_echo=$ac_try;;
13011esac
13012eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13013$as_echo "$ac_try_echo") >&5
13014  (eval "$ac_link") 2>conftest.er1
13015  ac_status=$?
13016  grep -v '^ *+' conftest.er1 >conftest.err
13017  rm -f conftest.er1
13018  cat conftest.err >&5
13019  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13020  (exit $ac_status); } && {
13021	 test -z "$ac_c_werror_flag" ||
13022	 test ! -s conftest.err
13023       } && test -s conftest$ac_exeext && {
13024	 test "$cross_compiling" = yes ||
13025	 $as_test_x conftest$ac_exeext
13026       }; then
13027  ac_cv_lib_dld_shl_load=yes
13028else
13029  $as_echo "$as_me: failed program was:" >&5
13030sed 's/^/| /' conftest.$ac_ext >&5
13031
13032	ac_cv_lib_dld_shl_load=no
13033fi
13034
13035rm -rf conftest.dSYM
13036rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13037      conftest$ac_exeext conftest.$ac_ext
13038LIBS=$ac_check_lib_save_LIBS
13039fi
13040{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
13041$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
13042if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
13043  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
13044else
13045  { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
13046$as_echo_n "checking for dlopen... " >&6; }
13047if test "${ac_cv_func_dlopen+set}" = set; then
13048  $as_echo_n "(cached) " >&6
13049else
13050  cat >conftest.$ac_ext <<_ACEOF
13051/* confdefs.h.  */
13052_ACEOF
13053cat confdefs.h >>conftest.$ac_ext
13054cat >>conftest.$ac_ext <<_ACEOF
13055/* end confdefs.h.  */
13056/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
13057   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13058#define dlopen innocuous_dlopen
13059
13060/* System header to define __stub macros and hopefully few prototypes,
13061    which can conflict with char dlopen (); below.
13062    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13063    <limits.h> exists even on freestanding compilers.  */
13064
13065#ifdef __STDC__
13066# include <limits.h>
13067#else
13068# include <assert.h>
13069#endif
13070
13071#undef dlopen
13072
13073/* Override any GCC internal prototype to avoid an error.
13074   Use char because int might match the return type of a GCC
13075   builtin and then its argument prototype would still apply.  */
13076#ifdef __cplusplus
13077extern "C"
13078#endif
13079char dlopen ();
13080/* The GNU C library defines this for functions which it implements
13081    to always fail with ENOSYS.  Some functions are actually named
13082    something starting with __ and the normal name is an alias.  */
13083#if defined __stub_dlopen || defined __stub___dlopen
13084choke me
13085#endif
13086
13087int
13088main ()
13089{
13090return dlopen ();
13091  ;
13092  return 0;
13093}
13094_ACEOF
13095rm -f conftest.$ac_objext conftest$ac_exeext
13096if { (ac_try="$ac_link"
13097case "(($ac_try" in
13098  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13099  *) ac_try_echo=$ac_try;;
13100esac
13101eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13102$as_echo "$ac_try_echo") >&5
13103  (eval "$ac_link") 2>conftest.er1
13104  ac_status=$?
13105  grep -v '^ *+' conftest.er1 >conftest.err
13106  rm -f conftest.er1
13107  cat conftest.err >&5
13108  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13109  (exit $ac_status); } && {
13110	 test -z "$ac_c_werror_flag" ||
13111	 test ! -s conftest.err
13112       } && test -s conftest$ac_exeext && {
13113	 test "$cross_compiling" = yes ||
13114	 $as_test_x conftest$ac_exeext
13115       }; then
13116  ac_cv_func_dlopen=yes
13117else
13118  $as_echo "$as_me: failed program was:" >&5
13119sed 's/^/| /' conftest.$ac_ext >&5
13120
13121	ac_cv_func_dlopen=no
13122fi
13123
13124rm -rf conftest.dSYM
13125rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13126      conftest$ac_exeext conftest.$ac_ext
13127fi
13128{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
13129$as_echo "$ac_cv_func_dlopen" >&6; }
13130if test "x$ac_cv_func_dlopen" = x""yes; then
13131  lt_cv_dlopen="dlopen"
13132else
13133  { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
13134$as_echo_n "checking for dlopen in -ldl... " >&6; }
13135if test "${ac_cv_lib_dl_dlopen+set}" = set; then
13136  $as_echo_n "(cached) " >&6
13137else
13138  ac_check_lib_save_LIBS=$LIBS
13139LIBS="-ldl  $LIBS"
13140cat >conftest.$ac_ext <<_ACEOF
13141/* confdefs.h.  */
13142_ACEOF
13143cat confdefs.h >>conftest.$ac_ext
13144cat >>conftest.$ac_ext <<_ACEOF
13145/* end confdefs.h.  */
13146
13147/* Override any GCC internal prototype to avoid an error.
13148   Use char because int might match the return type of a GCC
13149   builtin and then its argument prototype would still apply.  */
13150#ifdef __cplusplus
13151extern "C"
13152#endif
13153char dlopen ();
13154int
13155main ()
13156{
13157return dlopen ();
13158  ;
13159  return 0;
13160}
13161_ACEOF
13162rm -f conftest.$ac_objext conftest$ac_exeext
13163if { (ac_try="$ac_link"
13164case "(($ac_try" in
13165  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13166  *) ac_try_echo=$ac_try;;
13167esac
13168eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13169$as_echo "$ac_try_echo") >&5
13170  (eval "$ac_link") 2>conftest.er1
13171  ac_status=$?
13172  grep -v '^ *+' conftest.er1 >conftest.err
13173  rm -f conftest.er1
13174  cat conftest.err >&5
13175  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13176  (exit $ac_status); } && {
13177	 test -z "$ac_c_werror_flag" ||
13178	 test ! -s conftest.err
13179       } && test -s conftest$ac_exeext && {
13180	 test "$cross_compiling" = yes ||
13181	 $as_test_x conftest$ac_exeext
13182       }; then
13183  ac_cv_lib_dl_dlopen=yes
13184else
13185  $as_echo "$as_me: failed program was:" >&5
13186sed 's/^/| /' conftest.$ac_ext >&5
13187
13188	ac_cv_lib_dl_dlopen=no
13189fi
13190
13191rm -rf conftest.dSYM
13192rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13193      conftest$ac_exeext conftest.$ac_ext
13194LIBS=$ac_check_lib_save_LIBS
13195fi
13196{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
13197$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13198if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
13199  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
13200else
13201  { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
13202$as_echo_n "checking for dlopen in -lsvld... " >&6; }
13203if test "${ac_cv_lib_svld_dlopen+set}" = set; then
13204  $as_echo_n "(cached) " >&6
13205else
13206  ac_check_lib_save_LIBS=$LIBS
13207LIBS="-lsvld  $LIBS"
13208cat >conftest.$ac_ext <<_ACEOF
13209/* confdefs.h.  */
13210_ACEOF
13211cat confdefs.h >>conftest.$ac_ext
13212cat >>conftest.$ac_ext <<_ACEOF
13213/* end confdefs.h.  */
13214
13215/* Override any GCC internal prototype to avoid an error.
13216   Use char because int might match the return type of a GCC
13217   builtin and then its argument prototype would still apply.  */
13218#ifdef __cplusplus
13219extern "C"
13220#endif
13221char dlopen ();
13222int
13223main ()
13224{
13225return dlopen ();
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  ac_cv_lib_svld_dlopen=yes
13252else
13253  $as_echo "$as_me: failed program was:" >&5
13254sed 's/^/| /' conftest.$ac_ext >&5
13255
13256	ac_cv_lib_svld_dlopen=no
13257fi
13258
13259rm -rf conftest.dSYM
13260rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13261      conftest$ac_exeext conftest.$ac_ext
13262LIBS=$ac_check_lib_save_LIBS
13263fi
13264{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
13265$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13266if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
13267  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
13268else
13269  { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
13270$as_echo_n "checking for dld_link in -ldld... " >&6; }
13271if test "${ac_cv_lib_dld_dld_link+set}" = set; then
13272  $as_echo_n "(cached) " >&6
13273else
13274  ac_check_lib_save_LIBS=$LIBS
13275LIBS="-ldld  $LIBS"
13276cat >conftest.$ac_ext <<_ACEOF
13277/* confdefs.h.  */
13278_ACEOF
13279cat confdefs.h >>conftest.$ac_ext
13280cat >>conftest.$ac_ext <<_ACEOF
13281/* end confdefs.h.  */
13282
13283/* Override any GCC internal prototype to avoid an error.
13284   Use char because int might match the return type of a GCC
13285   builtin and then its argument prototype would still apply.  */
13286#ifdef __cplusplus
13287extern "C"
13288#endif
13289char dld_link ();
13290int
13291main ()
13292{
13293return dld_link ();
13294  ;
13295  return 0;
13296}
13297_ACEOF
13298rm -f conftest.$ac_objext conftest$ac_exeext
13299if { (ac_try="$ac_link"
13300case "(($ac_try" in
13301  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13302  *) ac_try_echo=$ac_try;;
13303esac
13304eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13305$as_echo "$ac_try_echo") >&5
13306  (eval "$ac_link") 2>conftest.er1
13307  ac_status=$?
13308  grep -v '^ *+' conftest.er1 >conftest.err
13309  rm -f conftest.er1
13310  cat conftest.err >&5
13311  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13312  (exit $ac_status); } && {
13313	 test -z "$ac_c_werror_flag" ||
13314	 test ! -s conftest.err
13315       } && test -s conftest$ac_exeext && {
13316	 test "$cross_compiling" = yes ||
13317	 $as_test_x conftest$ac_exeext
13318       }; then
13319  ac_cv_lib_dld_dld_link=yes
13320else
13321  $as_echo "$as_me: failed program was:" >&5
13322sed 's/^/| /' conftest.$ac_ext >&5
13323
13324	ac_cv_lib_dld_dld_link=no
13325fi
13326
13327rm -rf conftest.dSYM
13328rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13329      conftest$ac_exeext conftest.$ac_ext
13330LIBS=$ac_check_lib_save_LIBS
13331fi
13332{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
13333$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13334if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
13335  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
13336fi
13337
13338
13339fi
13340
13341
13342fi
13343
13344
13345fi
13346
13347
13348fi
13349
13350
13351fi
13352
13353    ;;
13354  esac
13355
13356  if test "x$lt_cv_dlopen" != xno; then
13357    enable_dlopen=yes
13358  else
13359    enable_dlopen=no
13360  fi
13361
13362  case $lt_cv_dlopen in
13363  dlopen)
13364    save_CPPFLAGS="$CPPFLAGS"
13365    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
13366
13367    save_LDFLAGS="$LDFLAGS"
13368    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
13369
13370    save_LIBS="$LIBS"
13371    LIBS="$lt_cv_dlopen_libs $LIBS"
13372
13373    { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
13374$as_echo_n "checking whether a program can dlopen itself... " >&6; }
13375if test "${lt_cv_dlopen_self+set}" = set; then
13376  $as_echo_n "(cached) " >&6
13377else
13378  	  if test "$cross_compiling" = yes; then :
13379  lt_cv_dlopen_self=cross
13380else
13381  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13382  lt_status=$lt_dlunknown
13383  cat > conftest.$ac_ext <<_LT_EOF
13384#line 13384 "configure"
13385#include "confdefs.h"
13386
13387#if HAVE_DLFCN_H
13388#include <dlfcn.h>
13389#endif
13390
13391#include <stdio.h>
13392
13393#ifdef RTLD_GLOBAL
13394#  define LT_DLGLOBAL		RTLD_GLOBAL
13395#else
13396#  ifdef DL_GLOBAL
13397#    define LT_DLGLOBAL		DL_GLOBAL
13398#  else
13399#    define LT_DLGLOBAL		0
13400#  endif
13401#endif
13402
13403/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13404   find out it does not work in some platform. */
13405#ifndef LT_DLLAZY_OR_NOW
13406#  ifdef RTLD_LAZY
13407#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
13408#  else
13409#    ifdef DL_LAZY
13410#      define LT_DLLAZY_OR_NOW		DL_LAZY
13411#    else
13412#      ifdef RTLD_NOW
13413#        define LT_DLLAZY_OR_NOW	RTLD_NOW
13414#      else
13415#        ifdef DL_NOW
13416#          define LT_DLLAZY_OR_NOW	DL_NOW
13417#        else
13418#          define LT_DLLAZY_OR_NOW	0
13419#        endif
13420#      endif
13421#    endif
13422#  endif
13423#endif
13424
13425void fnord() { int i=42;}
13426int main ()
13427{
13428  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13429  int status = $lt_dlunknown;
13430
13431  if (self)
13432    {
13433      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13434      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13435      /* dlclose (self); */
13436    }
13437  else
13438    puts (dlerror ());
13439
13440  return status;
13441}
13442_LT_EOF
13443  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13444  (eval $ac_link) 2>&5
13445  ac_status=$?
13446  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13447  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
13448    (./conftest; exit; ) >&5 2>/dev/null
13449    lt_status=$?
13450    case x$lt_status in
13451      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
13452      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
13453      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
13454    esac
13455  else :
13456    # compilation failed
13457    lt_cv_dlopen_self=no
13458  fi
13459fi
13460rm -fr conftest*
13461
13462
13463fi
13464{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
13465$as_echo "$lt_cv_dlopen_self" >&6; }
13466
13467    if test "x$lt_cv_dlopen_self" = xyes; then
13468      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
13469      { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
13470$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13471if test "${lt_cv_dlopen_self_static+set}" = set; then
13472  $as_echo_n "(cached) " >&6
13473else
13474  	  if test "$cross_compiling" = yes; then :
13475  lt_cv_dlopen_self_static=cross
13476else
13477  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13478  lt_status=$lt_dlunknown
13479  cat > conftest.$ac_ext <<_LT_EOF
13480#line 13480 "configure"
13481#include "confdefs.h"
13482
13483#if HAVE_DLFCN_H
13484#include <dlfcn.h>
13485#endif
13486
13487#include <stdio.h>
13488
13489#ifdef RTLD_GLOBAL
13490#  define LT_DLGLOBAL		RTLD_GLOBAL
13491#else
13492#  ifdef DL_GLOBAL
13493#    define LT_DLGLOBAL		DL_GLOBAL
13494#  else
13495#    define LT_DLGLOBAL		0
13496#  endif
13497#endif
13498
13499/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13500   find out it does not work in some platform. */
13501#ifndef LT_DLLAZY_OR_NOW
13502#  ifdef RTLD_LAZY
13503#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
13504#  else
13505#    ifdef DL_LAZY
13506#      define LT_DLLAZY_OR_NOW		DL_LAZY
13507#    else
13508#      ifdef RTLD_NOW
13509#        define LT_DLLAZY_OR_NOW	RTLD_NOW
13510#      else
13511#        ifdef DL_NOW
13512#          define LT_DLLAZY_OR_NOW	DL_NOW
13513#        else
13514#          define LT_DLLAZY_OR_NOW	0
13515#        endif
13516#      endif
13517#    endif
13518#  endif
13519#endif
13520
13521void fnord() { int i=42;}
13522int main ()
13523{
13524  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13525  int status = $lt_dlunknown;
13526
13527  if (self)
13528    {
13529      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13530      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13531      /* dlclose (self); */
13532    }
13533  else
13534    puts (dlerror ());
13535
13536  return status;
13537}
13538_LT_EOF
13539  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13540  (eval $ac_link) 2>&5
13541  ac_status=$?
13542  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13543  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
13544    (./conftest; exit; ) >&5 2>/dev/null
13545    lt_status=$?
13546    case x$lt_status in
13547      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13548      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13549      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
13550    esac
13551  else :
13552    # compilation failed
13553    lt_cv_dlopen_self_static=no
13554  fi
13555fi
13556rm -fr conftest*
13557
13558
13559fi
13560{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
13561$as_echo "$lt_cv_dlopen_self_static" >&6; }
13562    fi
13563
13564    CPPFLAGS="$save_CPPFLAGS"
13565    LDFLAGS="$save_LDFLAGS"
13566    LIBS="$save_LIBS"
13567    ;;
13568  esac
13569
13570  case $lt_cv_dlopen_self in
13571  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13572  *) enable_dlopen_self=unknown ;;
13573  esac
13574
13575  case $lt_cv_dlopen_self_static in
13576  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13577  *) enable_dlopen_self_static=unknown ;;
13578  esac
13579fi
13580
13581
13582
13583
13584
13585
13586
13587
13588
13589
13590
13591
13592
13593
13594
13595
13596
13597striplib=
13598old_striplib=
13599{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
13600$as_echo_n "checking whether stripping libraries is possible... " >&6; }
13601if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
13602  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13603  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13604  { $as_echo "$as_me:$LINENO: result: yes" >&5
13605$as_echo "yes" >&6; }
13606else
13607# FIXME - insert some real tests, host_os isn't really good enough
13608  case $host_os in
13609  darwin*)
13610    if test -n "$STRIP" ; then
13611      striplib="$STRIP -x"
13612      old_striplib="$STRIP -S"
13613      { $as_echo "$as_me:$LINENO: result: yes" >&5
13614$as_echo "yes" >&6; }
13615    else
13616      { $as_echo "$as_me:$LINENO: result: no" >&5
13617$as_echo "no" >&6; }
13618    fi
13619    ;;
13620  *)
13621    { $as_echo "$as_me:$LINENO: result: no" >&5
13622$as_echo "no" >&6; }
13623    ;;
13624  esac
13625fi
13626
13627
13628
13629
13630
13631
13632
13633
13634
13635
13636
13637
13638  # Report which library types will actually be built
13639  { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13640$as_echo_n "checking if libtool supports shared libraries... " >&6; }
13641  { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
13642$as_echo "$can_build_shared" >&6; }
13643
13644  { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13645$as_echo_n "checking whether to build shared libraries... " >&6; }
13646  test "$can_build_shared" = "no" && enable_shared=no
13647
13648  # On AIX, shared libraries and static libraries use the same namespace, and
13649  # are all built from PIC.
13650  case $host_os in
13651  aix3*)
13652    test "$enable_shared" = yes && enable_static=no
13653    if test -n "$RANLIB"; then
13654      archive_cmds="$archive_cmds~\$RANLIB \$lib"
13655      postinstall_cmds='$RANLIB $lib'
13656    fi
13657    ;;
13658
13659  aix[4-9]*)
13660    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13661      test "$enable_shared" = yes && enable_static=no
13662    fi
13663    ;;
13664  esac
13665  { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
13666$as_echo "$enable_shared" >&6; }
13667
13668  { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13669$as_echo_n "checking whether to build static libraries... " >&6; }
13670  # Make sure either enable_shared or enable_static is yes.
13671  test "$enable_shared" = yes || enable_static=yes
13672  { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
13673$as_echo "$enable_static" >&6; }
13674
13675
13676
13677
13678fi
13679ac_ext=c
13680ac_cpp='$CPP $CPPFLAGS'
13681ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13682ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13683ac_compiler_gnu=$ac_cv_c_compiler_gnu
13684
13685CC="$lt_save_CC"
13686
13687
13688
13689
13690
13691
13692
13693
13694
13695
13696
13697
13698
13699        ac_config_commands="$ac_config_commands libtool"
13700
13701
13702
13703
13704# Only expand once:
13705
13706
13707
13708
13709 { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
13710$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
13711if test "${ac_cv_c_bigendian+set}" = set; then
13712  $as_echo_n "(cached) " >&6
13713else
13714  ac_cv_c_bigendian=unknown
13715    # See if we're dealing with a universal compiler.
13716    cat >conftest.$ac_ext <<_ACEOF
13717/* confdefs.h.  */
13718_ACEOF
13719cat confdefs.h >>conftest.$ac_ext
13720cat >>conftest.$ac_ext <<_ACEOF
13721/* end confdefs.h.  */
13722#ifndef __APPLE_CC__
13723	       not a universal capable compiler
13724	     #endif
13725	     typedef int dummy;
13726
13727_ACEOF
13728rm -f conftest.$ac_objext
13729if { (ac_try="$ac_compile"
13730case "(($ac_try" in
13731  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13732  *) ac_try_echo=$ac_try;;
13733esac
13734eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13735$as_echo "$ac_try_echo") >&5
13736  (eval "$ac_compile") 2>conftest.er1
13737  ac_status=$?
13738  grep -v '^ *+' conftest.er1 >conftest.err
13739  rm -f conftest.er1
13740  cat conftest.err >&5
13741  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13742  (exit $ac_status); } && {
13743	 test -z "$ac_c_werror_flag" ||
13744	 test ! -s conftest.err
13745       } && test -s conftest.$ac_objext; then
13746
13747	# Check for potential -arch flags.  It is not universal unless
13748	# there are some -arch flags.  Note that *ppc* also matches
13749	# ppc64.  This check is also rather less than ideal.
13750	case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in  #(
13751	  *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;;
13752	esac
13753else
13754  $as_echo "$as_me: failed program was:" >&5
13755sed 's/^/| /' conftest.$ac_ext >&5
13756
13757
13758fi
13759
13760rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13761    if test $ac_cv_c_bigendian = unknown; then
13762      # See if sys/param.h defines the BYTE_ORDER macro.
13763      cat >conftest.$ac_ext <<_ACEOF
13764/* confdefs.h.  */
13765_ACEOF
13766cat confdefs.h >>conftest.$ac_ext
13767cat >>conftest.$ac_ext <<_ACEOF
13768/* end confdefs.h.  */
13769#include <sys/types.h>
13770	     #include <sys/param.h>
13771
13772int
13773main ()
13774{
13775#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
13776		     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
13777		     && LITTLE_ENDIAN)
13778	      bogus endian macros
13779	     #endif
13780
13781  ;
13782  return 0;
13783}
13784_ACEOF
13785rm -f conftest.$ac_objext
13786if { (ac_try="$ac_compile"
13787case "(($ac_try" in
13788  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13789  *) ac_try_echo=$ac_try;;
13790esac
13791eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13792$as_echo "$ac_try_echo") >&5
13793  (eval "$ac_compile") 2>conftest.er1
13794  ac_status=$?
13795  grep -v '^ *+' conftest.er1 >conftest.err
13796  rm -f conftest.er1
13797  cat conftest.err >&5
13798  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13799  (exit $ac_status); } && {
13800	 test -z "$ac_c_werror_flag" ||
13801	 test ! -s conftest.err
13802       } && test -s conftest.$ac_objext; then
13803  # It does; now see whether it defined to BIG_ENDIAN or not.
13804	 cat >conftest.$ac_ext <<_ACEOF
13805/* confdefs.h.  */
13806_ACEOF
13807cat confdefs.h >>conftest.$ac_ext
13808cat >>conftest.$ac_ext <<_ACEOF
13809/* end confdefs.h.  */
13810#include <sys/types.h>
13811		#include <sys/param.h>
13812
13813int
13814main ()
13815{
13816#if BYTE_ORDER != BIG_ENDIAN
13817		 not big endian
13818		#endif
13819
13820  ;
13821  return 0;
13822}
13823_ACEOF
13824rm -f conftest.$ac_objext
13825if { (ac_try="$ac_compile"
13826case "(($ac_try" in
13827  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13828  *) ac_try_echo=$ac_try;;
13829esac
13830eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13831$as_echo "$ac_try_echo") >&5
13832  (eval "$ac_compile") 2>conftest.er1
13833  ac_status=$?
13834  grep -v '^ *+' conftest.er1 >conftest.err
13835  rm -f conftest.er1
13836  cat conftest.err >&5
13837  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13838  (exit $ac_status); } && {
13839	 test -z "$ac_c_werror_flag" ||
13840	 test ! -s conftest.err
13841       } && test -s conftest.$ac_objext; then
13842  ac_cv_c_bigendian=yes
13843else
13844  $as_echo "$as_me: failed program was:" >&5
13845sed 's/^/| /' conftest.$ac_ext >&5
13846
13847	ac_cv_c_bigendian=no
13848fi
13849
13850rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13851else
13852  $as_echo "$as_me: failed program was:" >&5
13853sed 's/^/| /' conftest.$ac_ext >&5
13854
13855
13856fi
13857
13858rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13859    fi
13860    if test $ac_cv_c_bigendian = unknown; then
13861      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
13862      cat >conftest.$ac_ext <<_ACEOF
13863/* confdefs.h.  */
13864_ACEOF
13865cat confdefs.h >>conftest.$ac_ext
13866cat >>conftest.$ac_ext <<_ACEOF
13867/* end confdefs.h.  */
13868#include <limits.h>
13869
13870int
13871main ()
13872{
13873#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
13874	      bogus endian macros
13875	     #endif
13876
13877  ;
13878  return 0;
13879}
13880_ACEOF
13881rm -f conftest.$ac_objext
13882if { (ac_try="$ac_compile"
13883case "(($ac_try" in
13884  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13885  *) ac_try_echo=$ac_try;;
13886esac
13887eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13888$as_echo "$ac_try_echo") >&5
13889  (eval "$ac_compile") 2>conftest.er1
13890  ac_status=$?
13891  grep -v '^ *+' conftest.er1 >conftest.err
13892  rm -f conftest.er1
13893  cat conftest.err >&5
13894  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13895  (exit $ac_status); } && {
13896	 test -z "$ac_c_werror_flag" ||
13897	 test ! -s conftest.err
13898       } && test -s conftest.$ac_objext; then
13899  # It does; now see whether it defined to _BIG_ENDIAN or not.
13900	 cat >conftest.$ac_ext <<_ACEOF
13901/* confdefs.h.  */
13902_ACEOF
13903cat confdefs.h >>conftest.$ac_ext
13904cat >>conftest.$ac_ext <<_ACEOF
13905/* end confdefs.h.  */
13906#include <limits.h>
13907
13908int
13909main ()
13910{
13911#ifndef _BIG_ENDIAN
13912		 not big endian
13913		#endif
13914
13915  ;
13916  return 0;
13917}
13918_ACEOF
13919rm -f conftest.$ac_objext
13920if { (ac_try="$ac_compile"
13921case "(($ac_try" in
13922  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13923  *) ac_try_echo=$ac_try;;
13924esac
13925eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13926$as_echo "$ac_try_echo") >&5
13927  (eval "$ac_compile") 2>conftest.er1
13928  ac_status=$?
13929  grep -v '^ *+' conftest.er1 >conftest.err
13930  rm -f conftest.er1
13931  cat conftest.err >&5
13932  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13933  (exit $ac_status); } && {
13934	 test -z "$ac_c_werror_flag" ||
13935	 test ! -s conftest.err
13936       } && test -s conftest.$ac_objext; then
13937  ac_cv_c_bigendian=yes
13938else
13939  $as_echo "$as_me: failed program was:" >&5
13940sed 's/^/| /' conftest.$ac_ext >&5
13941
13942	ac_cv_c_bigendian=no
13943fi
13944
13945rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13946else
13947  $as_echo "$as_me: failed program was:" >&5
13948sed 's/^/| /' conftest.$ac_ext >&5
13949
13950
13951fi
13952
13953rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13954    fi
13955    if test $ac_cv_c_bigendian = unknown; then
13956      # Compile a test program.
13957      if test "$cross_compiling" = yes; then
13958  # Try to guess by grepping values from an object file.
13959	 cat >conftest.$ac_ext <<_ACEOF
13960/* confdefs.h.  */
13961_ACEOF
13962cat confdefs.h >>conftest.$ac_ext
13963cat >>conftest.$ac_ext <<_ACEOF
13964/* end confdefs.h.  */
13965short int ascii_mm[] =
13966		  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
13967		short int ascii_ii[] =
13968		  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
13969		int use_ascii (int i) {
13970		  return ascii_mm[i] + ascii_ii[i];
13971		}
13972		short int ebcdic_ii[] =
13973		  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
13974		short int ebcdic_mm[] =
13975		  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
13976		int use_ebcdic (int i) {
13977		  return ebcdic_mm[i] + ebcdic_ii[i];
13978		}
13979		extern int foo;
13980
13981int
13982main ()
13983{
13984return use_ascii (foo) == use_ebcdic (foo);
13985  ;
13986  return 0;
13987}
13988_ACEOF
13989rm -f conftest.$ac_objext
13990if { (ac_try="$ac_compile"
13991case "(($ac_try" in
13992  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13993  *) ac_try_echo=$ac_try;;
13994esac
13995eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13996$as_echo "$ac_try_echo") >&5
13997  (eval "$ac_compile") 2>conftest.er1
13998  ac_status=$?
13999  grep -v '^ *+' conftest.er1 >conftest.err
14000  rm -f conftest.er1
14001  cat conftest.err >&5
14002  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14003  (exit $ac_status); } && {
14004	 test -z "$ac_c_werror_flag" ||
14005	 test ! -s conftest.err
14006       } && test -s conftest.$ac_objext; then
14007  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
14008	      ac_cv_c_bigendian=yes
14009	    fi
14010	    if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
14011	      if test "$ac_cv_c_bigendian" = unknown; then
14012		ac_cv_c_bigendian=no
14013	      else
14014		# finding both strings is unlikely to happen, but who knows?
14015		ac_cv_c_bigendian=unknown
14016	      fi
14017	    fi
14018else
14019  $as_echo "$as_me: failed program was:" >&5
14020sed 's/^/| /' conftest.$ac_ext >&5
14021
14022
14023fi
14024
14025rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14026else
14027  cat >conftest.$ac_ext <<_ACEOF
14028/* confdefs.h.  */
14029_ACEOF
14030cat confdefs.h >>conftest.$ac_ext
14031cat >>conftest.$ac_ext <<_ACEOF
14032/* end confdefs.h.  */
14033$ac_includes_default
14034int
14035main ()
14036{
14037
14038	     /* Are we little or big endian?  From Harbison&Steele.  */
14039	     union
14040	     {
14041	       long int l;
14042	       char c[sizeof (long int)];
14043	     } u;
14044	     u.l = 1;
14045	     return u.c[sizeof (long int) - 1] == 1;
14046
14047  ;
14048  return 0;
14049}
14050_ACEOF
14051rm -f conftest$ac_exeext
14052if { (ac_try="$ac_link"
14053case "(($ac_try" in
14054  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14055  *) ac_try_echo=$ac_try;;
14056esac
14057eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14058$as_echo "$ac_try_echo") >&5
14059  (eval "$ac_link") 2>&5
14060  ac_status=$?
14061  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14062  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14063  { (case "(($ac_try" in
14064  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14065  *) ac_try_echo=$ac_try;;
14066esac
14067eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14068$as_echo "$ac_try_echo") >&5
14069  (eval "$ac_try") 2>&5
14070  ac_status=$?
14071  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14072  (exit $ac_status); }; }; then
14073  ac_cv_c_bigendian=no
14074else
14075  $as_echo "$as_me: program exited with status $ac_status" >&5
14076$as_echo "$as_me: failed program was:" >&5
14077sed 's/^/| /' conftest.$ac_ext >&5
14078
14079( exit $ac_status )
14080ac_cv_c_bigendian=yes
14081fi
14082rm -rf conftest.dSYM
14083rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14084fi
14085
14086
14087    fi
14088fi
14089{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
14090$as_echo "$ac_cv_c_bigendian" >&6; }
14091 case $ac_cv_c_bigendian in #(
14092   yes)
14093
14094cat >>confdefs.h <<\_ACEOF
14095#define _BIG_ENDIAN 1
14096_ACEOF
14097;; #(
14098   no)
14099      ;; #(
14100   universal)
14101
14102cat >>confdefs.h <<\_ACEOF
14103#define AC_APPLE_UNIVERSAL_BUILD 1
14104_ACEOF
14105
14106     ;; #(
14107   *)
14108     { { $as_echo "$as_me:$LINENO: error: unknown endianness
14109 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
14110$as_echo "$as_me: error: unknown endianness
14111 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
14112   { (exit 1); exit 1; }; } ;;
14113 esac
14114
14115{ $as_echo "$as_me:$LINENO: checking whether htole32 is declared" >&5
14116$as_echo_n "checking whether htole32 is declared... " >&6; }
14117if test "${ac_cv_have_decl_htole32+set}" = set; then
14118  $as_echo_n "(cached) " >&6
14119else
14120  cat >conftest.$ac_ext <<_ACEOF
14121/* confdefs.h.  */
14122_ACEOF
14123cat confdefs.h >>conftest.$ac_ext
14124cat >>conftest.$ac_ext <<_ACEOF
14125/* end confdefs.h.  */
14126$ac_includes_default
14127int
14128main ()
14129{
14130#ifndef htole32
14131  (void) htole32;
14132#endif
14133
14134  ;
14135  return 0;
14136}
14137_ACEOF
14138rm -f conftest.$ac_objext
14139if { (ac_try="$ac_compile"
14140case "(($ac_try" in
14141  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14142  *) ac_try_echo=$ac_try;;
14143esac
14144eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14145$as_echo "$ac_try_echo") >&5
14146  (eval "$ac_compile") 2>conftest.er1
14147  ac_status=$?
14148  grep -v '^ *+' conftest.er1 >conftest.err
14149  rm -f conftest.er1
14150  cat conftest.err >&5
14151  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14152  (exit $ac_status); } && {
14153	 test -z "$ac_c_werror_flag" ||
14154	 test ! -s conftest.err
14155       } && test -s conftest.$ac_objext; then
14156  ac_cv_have_decl_htole32=yes
14157else
14158  $as_echo "$as_me: failed program was:" >&5
14159sed 's/^/| /' conftest.$ac_ext >&5
14160
14161	ac_cv_have_decl_htole32=no
14162fi
14163
14164rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14165fi
14166{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_htole32" >&5
14167$as_echo "$ac_cv_have_decl_htole32" >&6; }
14168if test "x$ac_cv_have_decl_htole32" = x""yes; then
14169
14170cat >>confdefs.h <<\_ACEOF
14171#define HTOLE_DEFINED 1
14172_ACEOF
14173
14174fi
14175
14176if test "${ac_cv_header_sys_byteorder_h+set}" = set; then
14177  { $as_echo "$as_me:$LINENO: checking for sys/byteorder.h" >&5
14178$as_echo_n "checking for sys/byteorder.h... " >&6; }
14179if test "${ac_cv_header_sys_byteorder_h+set}" = set; then
14180  $as_echo_n "(cached) " >&6
14181fi
14182{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_byteorder_h" >&5
14183$as_echo "$ac_cv_header_sys_byteorder_h" >&6; }
14184else
14185  # Is the header compilable?
14186{ $as_echo "$as_me:$LINENO: checking sys/byteorder.h usability" >&5
14187$as_echo_n "checking sys/byteorder.h usability... " >&6; }
14188cat >conftest.$ac_ext <<_ACEOF
14189/* confdefs.h.  */
14190_ACEOF
14191cat confdefs.h >>conftest.$ac_ext
14192cat >>conftest.$ac_ext <<_ACEOF
14193/* end confdefs.h.  */
14194$ac_includes_default
14195#include <sys/byteorder.h>
14196_ACEOF
14197rm -f conftest.$ac_objext
14198if { (ac_try="$ac_compile"
14199case "(($ac_try" in
14200  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14201  *) ac_try_echo=$ac_try;;
14202esac
14203eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14204$as_echo "$ac_try_echo") >&5
14205  (eval "$ac_compile") 2>conftest.er1
14206  ac_status=$?
14207  grep -v '^ *+' conftest.er1 >conftest.err
14208  rm -f conftest.er1
14209  cat conftest.err >&5
14210  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14211  (exit $ac_status); } && {
14212	 test -z "$ac_c_werror_flag" ||
14213	 test ! -s conftest.err
14214       } && test -s conftest.$ac_objext; then
14215  ac_header_compiler=yes
14216else
14217  $as_echo "$as_me: failed program was:" >&5
14218sed 's/^/| /' conftest.$ac_ext >&5
14219
14220	ac_header_compiler=no
14221fi
14222
14223rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14224{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14225$as_echo "$ac_header_compiler" >&6; }
14226
14227# Is the header present?
14228{ $as_echo "$as_me:$LINENO: checking sys/byteorder.h presence" >&5
14229$as_echo_n "checking sys/byteorder.h presence... " >&6; }
14230cat >conftest.$ac_ext <<_ACEOF
14231/* confdefs.h.  */
14232_ACEOF
14233cat confdefs.h >>conftest.$ac_ext
14234cat >>conftest.$ac_ext <<_ACEOF
14235/* end confdefs.h.  */
14236#include <sys/byteorder.h>
14237_ACEOF
14238if { (ac_try="$ac_cpp conftest.$ac_ext"
14239case "(($ac_try" in
14240  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14241  *) ac_try_echo=$ac_try;;
14242esac
14243eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14244$as_echo "$ac_try_echo") >&5
14245  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14246  ac_status=$?
14247  grep -v '^ *+' conftest.er1 >conftest.err
14248  rm -f conftest.er1
14249  cat conftest.err >&5
14250  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14251  (exit $ac_status); } >/dev/null && {
14252	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14253	 test ! -s conftest.err
14254       }; then
14255  ac_header_preproc=yes
14256else
14257  $as_echo "$as_me: failed program was:" >&5
14258sed 's/^/| /' conftest.$ac_ext >&5
14259
14260  ac_header_preproc=no
14261fi
14262
14263rm -f conftest.err conftest.$ac_ext
14264{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14265$as_echo "$ac_header_preproc" >&6; }
14266
14267# So?  What about this header?
14268case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14269  yes:no: )
14270    { $as_echo "$as_me:$LINENO: WARNING: sys/byteorder.h: accepted by the compiler, rejected by the preprocessor!" >&5
14271$as_echo "$as_me: WARNING: sys/byteorder.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
14272    { $as_echo "$as_me:$LINENO: WARNING: sys/byteorder.h: proceeding with the compiler's result" >&5
14273$as_echo "$as_me: WARNING: sys/byteorder.h: proceeding with the compiler's result" >&2;}
14274    ac_header_preproc=yes
14275    ;;
14276  no:yes:* )
14277    { $as_echo "$as_me:$LINENO: WARNING: sys/byteorder.h: present but cannot be compiled" >&5
14278$as_echo "$as_me: WARNING: sys/byteorder.h: present but cannot be compiled" >&2;}
14279    { $as_echo "$as_me:$LINENO: WARNING: sys/byteorder.h:     check for missing prerequisite headers?" >&5
14280$as_echo "$as_me: WARNING: sys/byteorder.h:     check for missing prerequisite headers?" >&2;}
14281    { $as_echo "$as_me:$LINENO: WARNING: sys/byteorder.h: see the Autoconf documentation" >&5
14282$as_echo "$as_me: WARNING: sys/byteorder.h: see the Autoconf documentation" >&2;}
14283    { $as_echo "$as_me:$LINENO: WARNING: sys/byteorder.h:     section \"Present But Cannot Be Compiled\"" >&5
14284$as_echo "$as_me: WARNING: sys/byteorder.h:     section \"Present But Cannot Be Compiled\"" >&2;}
14285    { $as_echo "$as_me:$LINENO: WARNING: sys/byteorder.h: proceeding with the preprocessor's result" >&5
14286$as_echo "$as_me: WARNING: sys/byteorder.h: proceeding with the preprocessor's result" >&2;}
14287    { $as_echo "$as_me:$LINENO: WARNING: sys/byteorder.h: in the future, the compiler will take precedence" >&5
14288$as_echo "$as_me: WARNING: sys/byteorder.h: in the future, the compiler will take precedence" >&2;}
14289    ( cat <<\_ASBOX
14290## ----------------------------------------- ##
14291## Report this to trousers-tech@lists.sf.net ##
14292## ----------------------------------------- ##
14293_ASBOX
14294     ) | sed "s/^/$as_me: WARNING:     /" >&2
14295    ;;
14296esac
14297{ $as_echo "$as_me:$LINENO: checking for sys/byteorder.h" >&5
14298$as_echo_n "checking for sys/byteorder.h... " >&6; }
14299if test "${ac_cv_header_sys_byteorder_h+set}" = set; then
14300  $as_echo_n "(cached) " >&6
14301else
14302  ac_cv_header_sys_byteorder_h=$ac_header_preproc
14303fi
14304{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_byteorder_h" >&5
14305$as_echo "$ac_cv_header_sys_byteorder_h" >&6; }
14306
14307fi
14308if test "x$ac_cv_header_sys_byteorder_h" = x""yes; then
14309
14310cat >>confdefs.h <<\_ACEOF
14311#define HAVE_BYTEORDER_H 1
14312_ACEOF
14313
14314fi
14315
14316
14317{ $as_echo "$as_me:$LINENO: checking for daemon" >&5
14318$as_echo_n "checking for daemon... " >&6; }
14319if test "${ac_cv_func_daemon+set}" = set; then
14320  $as_echo_n "(cached) " >&6
14321else
14322  cat >conftest.$ac_ext <<_ACEOF
14323/* confdefs.h.  */
14324_ACEOF
14325cat confdefs.h >>conftest.$ac_ext
14326cat >>conftest.$ac_ext <<_ACEOF
14327/* end confdefs.h.  */
14328/* Define daemon to an innocuous variant, in case <limits.h> declares daemon.
14329   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14330#define daemon innocuous_daemon
14331
14332/* System header to define __stub macros and hopefully few prototypes,
14333    which can conflict with char daemon (); below.
14334    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14335    <limits.h> exists even on freestanding compilers.  */
14336
14337#ifdef __STDC__
14338# include <limits.h>
14339#else
14340# include <assert.h>
14341#endif
14342
14343#undef daemon
14344
14345/* Override any GCC internal prototype to avoid an error.
14346   Use char because int might match the return type of a GCC
14347   builtin and then its argument prototype would still apply.  */
14348#ifdef __cplusplus
14349extern "C"
14350#endif
14351char daemon ();
14352/* The GNU C library defines this for functions which it implements
14353    to always fail with ENOSYS.  Some functions are actually named
14354    something starting with __ and the normal name is an alias.  */
14355#if defined __stub_daemon || defined __stub___daemon
14356choke me
14357#endif
14358
14359int
14360main ()
14361{
14362return daemon ();
14363  ;
14364  return 0;
14365}
14366_ACEOF
14367rm -f conftest.$ac_objext conftest$ac_exeext
14368if { (ac_try="$ac_link"
14369case "(($ac_try" in
14370  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14371  *) ac_try_echo=$ac_try;;
14372esac
14373eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14374$as_echo "$ac_try_echo") >&5
14375  (eval "$ac_link") 2>conftest.er1
14376  ac_status=$?
14377  grep -v '^ *+' conftest.er1 >conftest.err
14378  rm -f conftest.er1
14379  cat conftest.err >&5
14380  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14381  (exit $ac_status); } && {
14382	 test -z "$ac_c_werror_flag" ||
14383	 test ! -s conftest.err
14384       } && test -s conftest$ac_exeext && {
14385	 test "$cross_compiling" = yes ||
14386	 $as_test_x conftest$ac_exeext
14387       }; then
14388  ac_cv_func_daemon=yes
14389else
14390  $as_echo "$as_me: failed program was:" >&5
14391sed 's/^/| /' conftest.$ac_ext >&5
14392
14393	ac_cv_func_daemon=no
14394fi
14395
14396rm -rf conftest.dSYM
14397rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14398      conftest$ac_exeext conftest.$ac_ext
14399fi
14400{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_daemon" >&5
14401$as_echo "$ac_cv_func_daemon" >&6; }
14402if test "x$ac_cv_func_daemon" = x""yes; then
14403
14404cat >>confdefs.h <<\_ACEOF
14405#define HAVE_DAEMON 1
14406_ACEOF
14407
14408fi
14409
14410
14411if test "x${GCC}" = "xyes"; then
14412	CFLAGS="$CFLAGS -W -Wall -Wno-unused-parameter -Wsign-compare"
14413fi
14414
14415CFLAGS="$CFLAGS -I../include \
14416	-DTCSD_DEFAULT_PORT=${TCSD_DEFAULT_PORT} -DTSS_VER_MAJOR=${TSS_VER_MAJOR} \
14417	-DTSS_VER_MINOR=${TSS_VER_MINOR} -DTSS_SPEC_MAJOR=${TSS_SPEC_MAJOR} \
14418	-DTSS_SPEC_MINOR=${TSS_SPEC_MINOR}"
14419#CFLAGS="$CFLAGS -I../include -std=c99 -pedantic -W -Wall"
14420KERNEL_VERSION=`uname -r`
14421
14422
14423# When we build the rpms, prefix will be /usr. This'll do some things that make sense,
14424# like put our sbin stuff in /usr/sbin and our library in /usr/lib. It'll do some other
14425# things that don't make sense like put our config file in /usr/etc. So, I'll just hack
14426# it here. If the --prefix option isn't specified during configure, let it all go to
14427# /usr/local, even /usr/local/etc. :-P
14428if test x"${prefix}" = x"/usr"; then
14429	sysconfdir="/etc"
14430	localstatedir="/var"
14431	mandir="/usr/share/man"
14432elif test x"${prefix}" = x"NONE"; then
14433	localstatedir="/usr/local/var"
14434fi
14435
14436ac_config_files="$ac_config_files dist/tcsd.conf dist/fedora/trousers.spec dist/trousers.spec Makefile src/Makefile src/include/Makefile src/tcs/Makefile src/tddl/Makefile src/tspi/Makefile src/trspi/Makefile src/tcsd/Makefile man/man8/tcsd.8 man/man5/tcsd.conf.5 dist/Makefile man/Makefile man/man3/Makefile man/man5/Makefile man/man8/Makefile"
14437
14438cat >confcache <<\_ACEOF
14439# This file is a shell script that caches the results of configure
14440# tests run on this system so they can be shared between configure
14441# scripts and configure runs, see configure's option --config-cache.
14442# It is not useful on other systems.  If it contains results you don't
14443# want to keep, you may remove or edit it.
14444#
14445# config.status only pays attention to the cache file if you give it
14446# the --recheck option to rerun configure.
14447#
14448# `ac_cv_env_foo' variables (set or unset) will be overridden when
14449# loading this file, other *unset* `ac_cv_foo' will be assigned the
14450# following values.
14451
14452_ACEOF
14453
14454# The following way of writing the cache mishandles newlines in values,
14455# but we know of no workaround that is simple, portable, and efficient.
14456# So, we kill variables containing newlines.
14457# Ultrix sh set writes to stderr and can't be redirected directly,
14458# and sets the high bit in the cache file unless we assign to the vars.
14459(
14460  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14461    eval ac_val=\$$ac_var
14462    case $ac_val in #(
14463    *${as_nl}*)
14464      case $ac_var in #(
14465      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
14466$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14467      esac
14468      case $ac_var in #(
14469      _ | IFS | as_nl) ;; #(
14470      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14471      *) $as_unset $ac_var ;;
14472      esac ;;
14473    esac
14474  done
14475
14476  (set) 2>&1 |
14477    case $as_nl`(ac_space=' '; set) 2>&1` in #(
14478    *${as_nl}ac_space=\ *)
14479      # `set' does not quote correctly, so add quotes (double-quote
14480      # substitution turns \\\\ into \\, and sed turns \\ into \).
14481      sed -n \
14482	"s/'/'\\\\''/g;
14483	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14484      ;; #(
14485    *)
14486      # `set' quotes correctly as required by POSIX, so do not add quotes.
14487      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14488      ;;
14489    esac |
14490    sort
14491) |
14492  sed '
14493     /^ac_cv_env_/b end
14494     t clear
14495     :clear
14496     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14497     t end
14498     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14499     :end' >>confcache
14500if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14501  if test -w "$cache_file"; then
14502    test "x$cache_file" != "x/dev/null" &&
14503      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
14504$as_echo "$as_me: updating cache $cache_file" >&6;}
14505    cat confcache >$cache_file
14506  else
14507    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14508$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14509  fi
14510fi
14511rm -f confcache
14512
14513test "x$prefix" = xNONE && prefix=$ac_default_prefix
14514# Let make expand exec_prefix.
14515test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14516
14517# Transform confdefs.h into DEFS.
14518# Protect against shell expansion while executing Makefile rules.
14519# Protect against Makefile macro expansion.
14520#
14521# If the first sed substitution is executed (which looks for macros that
14522# take arguments), then branch to the quote section.  Otherwise,
14523# look for a macro that doesn't take arguments.
14524ac_script='
14525:mline
14526/\\$/{
14527 N
14528 s,\\\n,,
14529 b mline
14530}
14531t clear
14532:clear
14533s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
14534t quote
14535s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
14536t quote
14537b any
14538:quote
14539s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
14540s/\[/\\&/g
14541s/\]/\\&/g
14542s/\$/$$/g
14543H
14544:any
14545${
14546	g
14547	s/^\n//
14548	s/\n/ /g
14549	p
14550}
14551'
14552DEFS=`sed -n "$ac_script" confdefs.h`
14553
14554
14555ac_libobjs=
14556ac_ltlibobjs=
14557for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14558  # 1. Remove the extension, and $U if already installed.
14559  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14560  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14561  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
14562  #    will be set to the directory where LIBOBJS objects are built.
14563  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14564  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
14565done
14566LIBOBJS=$ac_libobjs
14567
14568LTLIBOBJS=$ac_ltlibobjs
14569
14570
14571 if test -n "$EXEEXT"; then
14572  am__EXEEXT_TRUE=
14573  am__EXEEXT_FALSE='#'
14574else
14575  am__EXEEXT_TRUE='#'
14576  am__EXEEXT_FALSE=
14577fi
14578
14579if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14580  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
14581Usually this means the macro was only invoked conditionally." >&5
14582$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
14583Usually this means the macro was only invoked conditionally." >&2;}
14584   { (exit 1); exit 1; }; }
14585fi
14586if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14587  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
14588Usually this means the macro was only invoked conditionally." >&5
14589$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
14590Usually this means the macro was only invoked conditionally." >&2;}
14591   { (exit 1); exit 1; }; }
14592fi
14593if test -z "${NOUSERCHECK_TRUE}" && test -z "${NOUSERCHECK_FALSE}"; then
14594  { { $as_echo "$as_me:$LINENO: error: conditional \"NOUSERCHECK\" was never defined.
14595Usually this means the macro was only invoked conditionally." >&5
14596$as_echo "$as_me: error: conditional \"NOUSERCHECK\" was never defined.
14597Usually this means the macro was only invoked conditionally." >&2;}
14598   { (exit 1); exit 1; }; }
14599fi
14600if test -z "${HAVE_GTK_TRUE}" && test -z "${HAVE_GTK_FALSE}"; then
14601  { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_GTK\" was never defined.
14602Usually this means the macro was only invoked conditionally." >&5
14603$as_echo "$as_me: error: conditional \"HAVE_GTK\" was never defined.
14604Usually this means the macro was only invoked conditionally." >&2;}
14605   { (exit 1); exit 1; }; }
14606fi
14607if test -z "${HAVE_GTK_TRUE}" && test -z "${HAVE_GTK_FALSE}"; then
14608  { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_GTK\" was never defined.
14609Usually this means the macro was only invoked conditionally." >&5
14610$as_echo "$as_me: error: conditional \"HAVE_GTK\" was never defined.
14611Usually this means the macro was only invoked conditionally." >&2;}
14612   { (exit 1); exit 1; }; }
14613fi
14614if test -z "${HAVE_GTK_TRUE}" && test -z "${HAVE_GTK_FALSE}"; then
14615  { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_GTK\" was never defined.
14616Usually this means the macro was only invoked conditionally." >&5
14617$as_echo "$as_me: error: conditional \"HAVE_GTK\" was never defined.
14618Usually this means the macro was only invoked conditionally." >&2;}
14619   { (exit 1); exit 1; }; }
14620fi
14621if test -z "${OPENSSL_UI_TRUE}" && test -z "${OPENSSL_UI_FALSE}"; then
14622  { { $as_echo "$as_me:$LINENO: error: conditional \"OPENSSL_UI\" was never defined.
14623Usually this means the macro was only invoked conditionally." >&5
14624$as_echo "$as_me: error: conditional \"OPENSSL_UI\" was never defined.
14625Usually this means the macro was only invoked conditionally." >&2;}
14626   { (exit 1); exit 1; }; }
14627fi
14628if test -z "${OPENSSL_UI_TRUE}" && test -z "${OPENSSL_UI_FALSE}"; then
14629  { { $as_echo "$as_me:$LINENO: error: conditional \"OPENSSL_UI\" was never defined.
14630Usually this means the macro was only invoked conditionally." >&5
14631$as_echo "$as_me: error: conditional \"OPENSSL_UI\" was never defined.
14632Usually this means the macro was only invoked conditionally." >&2;}
14633   { (exit 1); exit 1; }; }
14634fi
14635if test -z "${HAVE_GTK_TRUE}" && test -z "${HAVE_GTK_FALSE}"; then
14636  { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_GTK\" was never defined.
14637Usually this means the macro was only invoked conditionally." >&5
14638$as_echo "$as_me: error: conditional \"HAVE_GTK\" was never defined.
14639Usually this means the macro was only invoked conditionally." >&2;}
14640   { (exit 1); exit 1; }; }
14641fi
14642if test -z "${HAVE_GTK_TRUE}" && test -z "${HAVE_GTK_FALSE}"; then
14643  { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_GTK\" was never defined.
14644Usually this means the macro was only invoked conditionally." >&5
14645$as_echo "$as_me: error: conditional \"HAVE_GTK\" was never defined.
14646Usually this means the macro was only invoked conditionally." >&2;}
14647   { (exit 1); exit 1; }; }
14648fi
14649if test -z "${OPENSSL_UI_TRUE}" && test -z "${OPENSSL_UI_FALSE}"; then
14650  { { $as_echo "$as_me:$LINENO: error: conditional \"OPENSSL_UI\" was never defined.
14651Usually this means the macro was only invoked conditionally." >&5
14652$as_echo "$as_me: error: conditional \"OPENSSL_UI\" was never defined.
14653Usually this means the macro was only invoked conditionally." >&2;}
14654   { (exit 1); exit 1; }; }
14655fi
14656if test -z "${TSS_BUILD_HASH_TRUE}" && test -z "${TSS_BUILD_HASH_FALSE}"; then
14657  { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_HASH\" was never defined.
14658Usually this means the macro was only invoked conditionally." >&5
14659$as_echo "$as_me: error: conditional \"TSS_BUILD_HASH\" was never defined.
14660Usually this means the macro was only invoked conditionally." >&2;}
14661   { (exit 1); exit 1; }; }
14662fi
14663if test -z "${TSS_BUILD_GETSET_TRUE}" && test -z "${TSS_BUILD_GETSET_FALSE}"; then
14664  { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_GETSET\" was never defined.
14665Usually this means the macro was only invoked conditionally." >&5
14666$as_echo "$as_me: error: conditional \"TSS_BUILD_GETSET\" was never defined.
14667Usually this means the macro was only invoked conditionally." >&2;}
14668   { (exit 1); exit 1; }; }
14669fi
14670if test -z "${TSS_BUILD_RANDOM_TRUE}" && test -z "${TSS_BUILD_RANDOM_FALSE}"; then
14671  { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_RANDOM\" was never defined.
14672Usually this means the macro was only invoked conditionally." >&5
14673$as_echo "$as_me: error: conditional \"TSS_BUILD_RANDOM\" was never defined.
14674Usually this means the macro was only invoked conditionally." >&2;}
14675   { (exit 1); exit 1; }; }
14676fi
14677if test -z "${TSS_BUILD_CAPS_TRUE}" && test -z "${TSS_BUILD_CAPS_FALSE}"; then
14678  { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_CAPS\" was never defined.
14679Usually this means the macro was only invoked conditionally." >&5
14680$as_echo "$as_me: error: conditional \"TSS_BUILD_CAPS\" was never defined.
14681Usually this means the macro was only invoked conditionally." >&2;}
14682   { (exit 1); exit 1; }; }
14683fi
14684if test -z "${TSS_BUILD_CAPS_TPM_TRUE}" && test -z "${TSS_BUILD_CAPS_TPM_FALSE}"; then
14685  { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_CAPS_TPM\" was never defined.
14686Usually this means the macro was only invoked conditionally." >&5
14687$as_echo "$as_me: error: conditional \"TSS_BUILD_CAPS_TPM\" was never defined.
14688Usually this means the macro was only invoked conditionally." >&2;}
14689   { (exit 1); exit 1; }; }
14690fi
14691if test -z "${TSS_BUILD_POLICY_TRUE}" && test -z "${TSS_BUILD_POLICY_FALSE}"; then
14692  { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_POLICY\" was never defined.
14693Usually this means the macro was only invoked conditionally." >&5
14694$as_echo "$as_me: error: conditional \"TSS_BUILD_POLICY\" was never defined.
14695Usually this means the macro was only invoked conditionally." >&2;}
14696   { (exit 1); exit 1; }; }
14697fi
14698if test -z "${TSS_BUILD_DIR_TRUE}" && test -z "${TSS_BUILD_DIR_FALSE}"; then
14699  { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_DIR\" was never defined.
14700Usually this means the macro was only invoked conditionally." >&5
14701$as_echo "$as_me: error: conditional \"TSS_BUILD_DIR\" was never defined.
14702Usually this means the macro was only invoked conditionally." >&2;}
14703   { (exit 1); exit 1; }; }
14704fi
14705if test -z "${TSS_BUILD_PCR_EVENTS_TRUE}" && test -z "${TSS_BUILD_PCR_EVENTS_FALSE}"; then
14706  { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_PCR_EVENTS\" was never defined.
14707Usually this means the macro was only invoked conditionally." >&5
14708$as_echo "$as_me: error: conditional \"TSS_BUILD_PCR_EVENTS\" was never defined.
14709Usually this means the macro was only invoked conditionally." >&2;}
14710   { (exit 1); exit 1; }; }
14711fi
14712if test -z "${TSS_BUILD_SIGN_TRUE}" && test -z "${TSS_BUILD_SIGN_FALSE}"; then
14713  { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_SIGN\" was never defined.
14714Usually this means the macro was only invoked conditionally." >&5
14715$as_echo "$as_me: error: conditional \"TSS_BUILD_SIGN\" was never defined.
14716Usually this means the macro was only invoked conditionally." >&2;}
14717   { (exit 1); exit 1; }; }
14718fi
14719if test -z "${TSS_BUILD_QUOTE_TRUE}" && test -z "${TSS_BUILD_QUOTE_FALSE}"; then
14720  { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_QUOTE\" was never defined.
14721Usually this means the macro was only invoked conditionally." >&5
14722$as_echo "$as_me: error: conditional \"TSS_BUILD_QUOTE\" was never defined.
14723Usually this means the macro was only invoked conditionally." >&2;}
14724   { (exit 1); exit 1; }; }
14725fi
14726if test -z "${TSS_BUILD_PCR_COMP_TRUE}" && test -z "${TSS_BUILD_PCR_COMP_FALSE}"; then
14727  { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_PCR_COMP\" was never defined.
14728Usually this means the macro was only invoked conditionally." >&5
14729$as_echo "$as_me: error: conditional \"TSS_BUILD_PCR_COMP\" was never defined.
14730Usually this means the macro was only invoked conditionally." >&2;}
14731   { (exit 1); exit 1; }; }
14732fi
14733if test -z "${TSS_BUILD_SEAL_TRUE}" && test -z "${TSS_BUILD_SEAL_FALSE}"; then
14734  { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_SEAL\" was never defined.
14735Usually this means the macro was only invoked conditionally." >&5
14736$as_echo "$as_me: error: conditional \"TSS_BUILD_SEAL\" was never defined.
14737Usually this means the macro was only invoked conditionally." >&2;}
14738   { (exit 1); exit 1; }; }
14739fi
14740if test -z "${TSS_BUILD_CHANGEAUTH_TRUE}" && test -z "${TSS_BUILD_CHANGEAUTH_FALSE}"; then
14741  { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_CHANGEAUTH\" was never defined.
14742Usually this means the macro was only invoked conditionally." >&5
14743$as_echo "$as_me: error: conditional \"TSS_BUILD_CHANGEAUTH\" was never defined.
14744Usually this means the macro was only invoked conditionally." >&2;}
14745   { (exit 1); exit 1; }; }
14746fi
14747if test -z "${TSS_BUILD_BIND_TRUE}" && test -z "${TSS_BUILD_BIND_FALSE}"; then
14748  { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_BIND\" was never defined.
14749Usually this means the macro was only invoked conditionally." >&5
14750$as_echo "$as_me: error: conditional \"TSS_BUILD_BIND\" was never defined.
14751Usually this means the macro was only invoked conditionally." >&2;}
14752   { (exit 1); exit 1; }; }
14753fi
14754if test -z "${TSS_BUILD_OWN_TRUE}" && test -z "${TSS_BUILD_OWN_FALSE}"; then
14755  { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_OWN\" was never defined.
14756Usually this means the macro was only invoked conditionally." >&5
14757$as_echo "$as_me: error: conditional \"TSS_BUILD_OWN\" was never defined.
14758Usually this means the macro was only invoked conditionally." >&2;}
14759   { (exit 1); exit 1; }; }
14760fi
14761if test -z "${TSS_BUILD_EK_TRUE}" && test -z "${TSS_BUILD_EK_FALSE}"; then
14762  { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_EK\" was never defined.
14763Usually this means the macro was only invoked conditionally." >&5
14764$as_echo "$as_me: error: conditional \"TSS_BUILD_EK\" was never defined.
14765Usually this means the macro was only invoked conditionally." >&2;}
14766   { (exit 1); exit 1; }; }
14767fi
14768if test -z "${TSS_BUILD_PS_TRUE}" && test -z "${TSS_BUILD_PS_FALSE}"; then
14769  { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_PS\" was never defined.
14770Usually this means the macro was only invoked conditionally." >&5
14771$as_echo "$as_me: error: conditional \"TSS_BUILD_PS\" was never defined.
14772Usually this means the macro was only invoked conditionally." >&2;}
14773   { (exit 1); exit 1; }; }
14774fi
14775if test -z "${TSS_BUILD_ADMIN_TRUE}" && test -z "${TSS_BUILD_ADMIN_FALSE}"; then
14776  { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_ADMIN\" was never defined.
14777Usually this means the macro was only invoked conditionally." >&5
14778$as_echo "$as_me: error: conditional \"TSS_BUILD_ADMIN\" was never defined.
14779Usually this means the macro was only invoked conditionally." >&2;}
14780   { (exit 1); exit 1; }; }
14781fi
14782if test -z "${TSS_BUILD_AIK_TRUE}" && test -z "${TSS_BUILD_AIK_FALSE}"; then
14783  { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_AIK\" was never defined.
14784Usually this means the macro was only invoked conditionally." >&5
14785$as_echo "$as_me: error: conditional \"TSS_BUILD_AIK\" was never defined.
14786Usually this means the macro was only invoked conditionally." >&2;}
14787   { (exit 1); exit 1; }; }
14788fi
14789if test -z "${TSS_BUILD_CERTIFY_TRUE}" && test -z "${TSS_BUILD_CERTIFY_FALSE}"; then
14790  { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_CERTIFY\" was never defined.
14791Usually this means the macro was only invoked conditionally." >&5
14792$as_echo "$as_me: error: conditional \"TSS_BUILD_CERTIFY\" was never defined.
14793Usually this means the macro was only invoked conditionally." >&2;}
14794   { (exit 1); exit 1; }; }
14795fi
14796if test -z "${TSS_BUILD_MAINT_TRUE}" && test -z "${TSS_BUILD_MAINT_FALSE}"; then
14797  { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_MAINT\" was never defined.
14798Usually this means the macro was only invoked conditionally." >&5
14799$as_echo "$as_me: error: conditional \"TSS_BUILD_MAINT\" was never defined.
14800Usually this means the macro was only invoked conditionally." >&2;}
14801   { (exit 1); exit 1; }; }
14802fi
14803if test -z "${TSS_BUILD_MIGRATION_TRUE}" && test -z "${TSS_BUILD_MIGRATION_FALSE}"; then
14804  { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_MIGRATION\" was never defined.
14805Usually this means the macro was only invoked conditionally." >&5
14806$as_echo "$as_me: error: conditional \"TSS_BUILD_MIGRATION\" was never defined.
14807Usually this means the macro was only invoked conditionally." >&2;}
14808   { (exit 1); exit 1; }; }
14809fi
14810if test -z "${TSS_BUILD_KEY_TRUE}" && test -z "${TSS_BUILD_KEY_FALSE}"; then
14811  { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_KEY\" was never defined.
14812Usually this means the macro was only invoked conditionally." >&5
14813$as_echo "$as_me: error: conditional \"TSS_BUILD_KEY\" was never defined.
14814Usually this means the macro was only invoked conditionally." >&2;}
14815   { (exit 1); exit 1; }; }
14816fi
14817if test -z "${TSS_BUILD_PCR_EXTEND_TRUE}" && test -z "${TSS_BUILD_PCR_EXTEND_FALSE}"; then
14818  { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_PCR_EXTEND\" was never defined.
14819Usually this means the macro was only invoked conditionally." >&5
14820$as_echo "$as_me: error: conditional \"TSS_BUILD_PCR_EXTEND\" was never defined.
14821Usually this means the macro was only invoked conditionally." >&2;}
14822   { (exit 1); exit 1; }; }
14823fi
14824if test -z "${TSS_BUILD_SELFTEST_TRUE}" && test -z "${TSS_BUILD_SELFTEST_FALSE}"; then
14825  { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_SELFTEST\" was never defined.
14826Usually this means the macro was only invoked conditionally." >&5
14827$as_echo "$as_me: error: conditional \"TSS_BUILD_SELFTEST\" was never defined.
14828Usually this means the macro was only invoked conditionally." >&2;}
14829   { (exit 1); exit 1; }; }
14830fi
14831if test -z "${TSS_BUILD_TSS12_TRUE}" && test -z "${TSS_BUILD_TSS12_FALSE}"; then
14832  { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_TSS12\" was never defined.
14833Usually this means the macro was only invoked conditionally." >&5
14834$as_echo "$as_me: error: conditional \"TSS_BUILD_TSS12\" was never defined.
14835Usually this means the macro was only invoked conditionally." >&2;}
14836   { (exit 1); exit 1; }; }
14837fi
14838if test -z "${TSS_BUILD_DAA_TRUE}" && test -z "${TSS_BUILD_DAA_FALSE}"; then
14839  { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_DAA\" was never defined.
14840Usually this means the macro was only invoked conditionally." >&5
14841$as_echo "$as_me: error: conditional \"TSS_BUILD_DAA\" was never defined.
14842Usually this means the macro was only invoked conditionally." >&2;}
14843   { (exit 1); exit 1; }; }
14844fi
14845if test -z "${TSS_BUILD_PCR_COMP12_TRUE}" && test -z "${TSS_BUILD_PCR_COMP12_FALSE}"; then
14846  { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_PCR_COMP12\" was never defined.
14847Usually this means the macro was only invoked conditionally." >&5
14848$as_echo "$as_me: error: conditional \"TSS_BUILD_PCR_COMP12\" was never defined.
14849Usually this means the macro was only invoked conditionally." >&2;}
14850   { (exit 1); exit 1; }; }
14851fi
14852if test -z "${TSS_BUILD_COUNTER_TRUE}" && test -z "${TSS_BUILD_COUNTER_FALSE}"; then
14853  { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_COUNTER\" was never defined.
14854Usually this means the macro was only invoked conditionally." >&5
14855$as_echo "$as_me: error: conditional \"TSS_BUILD_COUNTER\" was never defined.
14856Usually this means the macro was only invoked conditionally." >&2;}
14857   { (exit 1); exit 1; }; }
14858fi
14859if test -z "${TSS_BUILD_TICK_TRUE}" && test -z "${TSS_BUILD_TICK_FALSE}"; then
14860  { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_TICK\" was never defined.
14861Usually this means the macro was only invoked conditionally." >&5
14862$as_echo "$as_me: error: conditional \"TSS_BUILD_TICK\" was never defined.
14863Usually this means the macro was only invoked conditionally." >&2;}
14864   { (exit 1); exit 1; }; }
14865fi
14866if test -z "${TSS_BUILD_TRANSPORT_TRUE}" && test -z "${TSS_BUILD_TRANSPORT_FALSE}"; then
14867  { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_TRANSPORT\" was never defined.
14868Usually this means the macro was only invoked conditionally." >&5
14869$as_echo "$as_me: error: conditional \"TSS_BUILD_TRANSPORT\" was never defined.
14870Usually this means the macro was only invoked conditionally." >&2;}
14871   { (exit 1); exit 1; }; }
14872fi
14873if test -z "${TSS_BUILD_ASN1_TRUE}" && test -z "${TSS_BUILD_ASN1_FALSE}"; then
14874  { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_ASN1\" was never defined.
14875Usually this means the macro was only invoked conditionally." >&5
14876$as_echo "$as_me: error: conditional \"TSS_BUILD_ASN1\" was never defined.
14877Usually this means the macro was only invoked conditionally." >&2;}
14878   { (exit 1); exit 1; }; }
14879fi
14880if test -z "${TSS_BUILD_NV_TRUE}" && test -z "${TSS_BUILD_NV_FALSE}"; then
14881  { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_NV\" was never defined.
14882Usually this means the macro was only invoked conditionally." >&5
14883$as_echo "$as_me: error: conditional \"TSS_BUILD_NV\" was never defined.
14884Usually this means the macro was only invoked conditionally." >&2;}
14885   { (exit 1); exit 1; }; }
14886fi
14887if test -z "${TSS_BUILD_AUDIT_TRUE}" && test -z "${TSS_BUILD_AUDIT_FALSE}"; then
14888  { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_AUDIT\" was never defined.
14889Usually this means the macro was only invoked conditionally." >&5
14890$as_echo "$as_me: error: conditional \"TSS_BUILD_AUDIT\" was never defined.
14891Usually this means the macro was only invoked conditionally." >&2;}
14892   { (exit 1); exit 1; }; }
14893fi
14894if test -z "${TSS_BUILD_SEALX_TRUE}" && test -z "${TSS_BUILD_SEALX_FALSE}"; then
14895  { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_SEALX\" was never defined.
14896Usually this means the macro was only invoked conditionally." >&5
14897$as_echo "$as_me: error: conditional \"TSS_BUILD_SEALX\" was never defined.
14898Usually this means the macro was only invoked conditionally." >&2;}
14899   { (exit 1); exit 1; }; }
14900fi
14901if test -z "${TSS_BUILD_DELEGATION_TRUE}" && test -z "${TSS_BUILD_DELEGATION_FALSE}"; then
14902  { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_DELEGATION\" was never defined.
14903Usually this means the macro was only invoked conditionally." >&5
14904$as_echo "$as_me: error: conditional \"TSS_BUILD_DELEGATION\" was never defined.
14905Usually this means the macro was only invoked conditionally." >&2;}
14906   { (exit 1); exit 1; }; }
14907fi
14908if test -z "${TSS_BUILD_QUOTE2_TRUE}" && test -z "${TSS_BUILD_QUOTE2_FALSE}"; then
14909  { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_QUOTE2\" was never defined.
14910Usually this means the macro was only invoked conditionally." >&5
14911$as_echo "$as_me: error: conditional \"TSS_BUILD_QUOTE2\" was never defined.
14912Usually this means the macro was only invoked conditionally." >&2;}
14913   { (exit 1); exit 1; }; }
14914fi
14915if test -z "${TSS_BUILD_CMK_TRUE}" && test -z "${TSS_BUILD_CMK_FALSE}"; then
14916  { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_CMK\" was never defined.
14917Usually this means the macro was only invoked conditionally." >&5
14918$as_echo "$as_me: error: conditional \"TSS_BUILD_CMK\" was never defined.
14919Usually this means the macro was only invoked conditionally." >&2;}
14920   { (exit 1); exit 1; }; }
14921fi
14922if test -z "${TSS_BUILD_TSS12_TRUE}" && test -z "${TSS_BUILD_TSS12_FALSE}"; then
14923  { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_TSS12\" was never defined.
14924Usually this means the macro was only invoked conditionally." >&5
14925$as_echo "$as_me: error: conditional \"TSS_BUILD_TSS12\" was never defined.
14926Usually this means the macro was only invoked conditionally." >&2;}
14927   { (exit 1); exit 1; }; }
14928fi
14929if test -z "${TSS_BUILD_DAA_TRUE}" && test -z "${TSS_BUILD_DAA_FALSE}"; then
14930  { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_DAA\" was never defined.
14931Usually this means the macro was only invoked conditionally." >&5
14932$as_echo "$as_me: error: conditional \"TSS_BUILD_DAA\" was never defined.
14933Usually this means the macro was only invoked conditionally." >&2;}
14934   { (exit 1); exit 1; }; }
14935fi
14936if test -z "${TSS_BUILD_PCR_COMP12_TRUE}" && test -z "${TSS_BUILD_PCR_COMP12_FALSE}"; then
14937  { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_PCR_COMP12\" was never defined.
14938Usually this means the macro was only invoked conditionally." >&5
14939$as_echo "$as_me: error: conditional \"TSS_BUILD_PCR_COMP12\" was never defined.
14940Usually this means the macro was only invoked conditionally." >&2;}
14941   { (exit 1); exit 1; }; }
14942fi
14943if test -z "${TSS_BUILD_COUNTER_TRUE}" && test -z "${TSS_BUILD_COUNTER_FALSE}"; then
14944  { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_COUNTER\" was never defined.
14945Usually this means the macro was only invoked conditionally." >&5
14946$as_echo "$as_me: error: conditional \"TSS_BUILD_COUNTER\" was never defined.
14947Usually this means the macro was only invoked conditionally." >&2;}
14948   { (exit 1); exit 1; }; }
14949fi
14950if test -z "${TSS_BUILD_TICK_TRUE}" && test -z "${TSS_BUILD_TICK_FALSE}"; then
14951  { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_TICK\" was never defined.
14952Usually this means the macro was only invoked conditionally." >&5
14953$as_echo "$as_me: error: conditional \"TSS_BUILD_TICK\" was never defined.
14954Usually this means the macro was only invoked conditionally." >&2;}
14955   { (exit 1); exit 1; }; }
14956fi
14957if test -z "${TSS_BUILD_TRANSPORT_TRUE}" && test -z "${TSS_BUILD_TRANSPORT_FALSE}"; then
14958  { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_TRANSPORT\" was never defined.
14959Usually this means the macro was only invoked conditionally." >&5
14960$as_echo "$as_me: error: conditional \"TSS_BUILD_TRANSPORT\" was never defined.
14961Usually this means the macro was only invoked conditionally." >&2;}
14962   { (exit 1); exit 1; }; }
14963fi
14964if test -z "${TSS_BUILD_ASN1_TRUE}" && test -z "${TSS_BUILD_ASN1_FALSE}"; then
14965  { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_ASN1\" was never defined.
14966Usually this means the macro was only invoked conditionally." >&5
14967$as_echo "$as_me: error: conditional \"TSS_BUILD_ASN1\" was never defined.
14968Usually this means the macro was only invoked conditionally." >&2;}
14969   { (exit 1); exit 1; }; }
14970fi
14971if test -z "${TSS_BUILD_NV_TRUE}" && test -z "${TSS_BUILD_NV_FALSE}"; then
14972  { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_NV\" was never defined.
14973Usually this means the macro was only invoked conditionally." >&5
14974$as_echo "$as_me: error: conditional \"TSS_BUILD_NV\" was never defined.
14975Usually this means the macro was only invoked conditionally." >&2;}
14976   { (exit 1); exit 1; }; }
14977fi
14978if test -z "${TSS_BUILD_AUDIT_TRUE}" && test -z "${TSS_BUILD_AUDIT_FALSE}"; then
14979  { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_AUDIT\" was never defined.
14980Usually this means the macro was only invoked conditionally." >&5
14981$as_echo "$as_me: error: conditional \"TSS_BUILD_AUDIT\" was never defined.
14982Usually this means the macro was only invoked conditionally." >&2;}
14983   { (exit 1); exit 1; }; }
14984fi
14985if test -z "${TSS_BUILD_SEALX_TRUE}" && test -z "${TSS_BUILD_SEALX_FALSE}"; then
14986  { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_SEALX\" was never defined.
14987Usually this means the macro was only invoked conditionally." >&5
14988$as_echo "$as_me: error: conditional \"TSS_BUILD_SEALX\" was never defined.
14989Usually this means the macro was only invoked conditionally." >&2;}
14990   { (exit 1); exit 1; }; }
14991fi
14992if test -z "${TSS_BUILD_DELEGATION_TRUE}" && test -z "${TSS_BUILD_DELEGATION_FALSE}"; then
14993  { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_DELEGATION\" was never defined.
14994Usually this means the macro was only invoked conditionally." >&5
14995$as_echo "$as_me: error: conditional \"TSS_BUILD_DELEGATION\" was never defined.
14996Usually this means the macro was only invoked conditionally." >&2;}
14997   { (exit 1); exit 1; }; }
14998fi
14999if test -z "${TSS_BUILD_QUOTE2_TRUE}" && test -z "${TSS_BUILD_QUOTE2_FALSE}"; then
15000  { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_QUOTE2\" was never defined.
15001Usually this means the macro was only invoked conditionally." >&5
15002$as_echo "$as_me: error: conditional \"TSS_BUILD_QUOTE2\" was never defined.
15003Usually this means the macro was only invoked conditionally." >&2;}
15004   { (exit 1); exit 1; }; }
15005fi
15006if test -z "${TSS_BUILD_CMK_TRUE}" && test -z "${TSS_BUILD_CMK_FALSE}"; then
15007  { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_CMK\" was never defined.
15008Usually this means the macro was only invoked conditionally." >&5
15009$as_echo "$as_me: error: conditional \"TSS_BUILD_CMK\" was never defined.
15010Usually this means the macro was only invoked conditionally." >&2;}
15011   { (exit 1); exit 1; }; }
15012fi
15013if test -z "${TSS_BUILD_NV_LIST_TRUE}" && test -z "${TSS_BUILD_NV_LIST_FALSE}"; then
15014  { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_NV_LIST\" was never defined.
15015Usually this means the macro was only invoked conditionally." >&5
15016$as_echo "$as_me: error: conditional \"TSS_BUILD_NV_LIST\" was never defined.
15017Usually this means the macro was only invoked conditionally." >&2;}
15018   { (exit 1); exit 1; }; }
15019fi
15020if test -z "${TSS_BUILD_NV_SUPPORT_TRUE}" && test -z "${TSS_BUILD_NV_SUPPORT_FALSE}"; then
15021  { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_NV_SUPPORT\" was never defined.
15022Usually this means the macro was only invoked conditionally." >&5
15023$as_echo "$as_me: error: conditional \"TSS_BUILD_NV_SUPPORT\" was never defined.
15024Usually this means the macro was only invoked conditionally." >&2;}
15025   { (exit 1); exit 1; }; }
15026fi
15027if test -z "${TSS_BUILD_GET_FLAGS_TRUE}" && test -z "${TSS_BUILD_GET_FLAGS_FALSE}"; then
15028  { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_GET_FLAGS\" was never defined.
15029Usually this means the macro was only invoked conditionally." >&5
15030$as_echo "$as_me: error: conditional \"TSS_BUILD_GET_FLAGS\" was never defined.
15031Usually this means the macro was only invoked conditionally." >&2;}
15032   { (exit 1); exit 1; }; }
15033fi
15034if test -z "${TSS_BUILD_PCRS_LIST_TRUE}" && test -z "${TSS_BUILD_PCRS_LIST_FALSE}"; then
15035  { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_PCRS_LIST\" was never defined.
15036Usually this means the macro was only invoked conditionally." >&5
15037$as_echo "$as_me: error: conditional \"TSS_BUILD_PCRS_LIST\" was never defined.
15038Usually this means the macro was only invoked conditionally." >&2;}
15039   { (exit 1); exit 1; }; }
15040fi
15041if test -z "${TSS_BUILD_HASH_LIST_TRUE}" && test -z "${TSS_BUILD_HASH_LIST_FALSE}"; then
15042  { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_HASH_LIST\" was never defined.
15043Usually this means the macro was only invoked conditionally." >&5
15044$as_echo "$as_me: error: conditional \"TSS_BUILD_HASH_LIST\" was never defined.
15045Usually this means the macro was only invoked conditionally." >&2;}
15046   { (exit 1); exit 1; }; }
15047fi
15048if test -z "${TSS_BUILD_ENCDATA_LIST_TRUE}" && test -z "${TSS_BUILD_ENCDATA_LIST_FALSE}"; then
15049  { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_ENCDATA_LIST\" was never defined.
15050Usually this means the macro was only invoked conditionally." >&5
15051$as_echo "$as_me: error: conditional \"TSS_BUILD_ENCDATA_LIST\" was never defined.
15052Usually this means the macro was only invoked conditionally." >&2;}
15053   { (exit 1); exit 1; }; }
15054fi
15055if test -z "${TSS_BUILD_RSAKEY_LIST_TRUE}" && test -z "${TSS_BUILD_RSAKEY_LIST_FALSE}"; then
15056  { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_RSAKEY_LIST\" was never defined.
15057Usually this means the macro was only invoked conditionally." >&5
15058$as_echo "$as_me: error: conditional \"TSS_BUILD_RSAKEY_LIST\" was never defined.
15059Usually this means the macro was only invoked conditionally." >&2;}
15060   { (exit 1); exit 1; }; }
15061fi
15062if test -z "${TSS_BUILD_AUTH_TRUE}" && test -z "${TSS_BUILD_AUTH_FALSE}"; then
15063  { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_AUTH\" was never defined.
15064Usually this means the macro was only invoked conditionally." >&5
15065$as_echo "$as_me: error: conditional \"TSS_BUILD_AUTH\" was never defined.
15066Usually this means the macro was only invoked conditionally." >&2;}
15067   { (exit 1); exit 1; }; }
15068fi
15069if test -z "${TSS_BUILD_ASYM_CRYPTO_TRUE}" && test -z "${TSS_BUILD_ASYM_CRYPTO_FALSE}"; then
15070  { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_ASYM_CRYPTO\" was never defined.
15071Usually this means the macro was only invoked conditionally." >&5
15072$as_echo "$as_me: error: conditional \"TSS_BUILD_ASYM_CRYPTO\" was never defined.
15073Usually this means the macro was only invoked conditionally." >&2;}
15074   { (exit 1); exit 1; }; }
15075fi
15076if test -z "${TSS_BUILD_SYM_CRYPTO_TRUE}" && test -z "${TSS_BUILD_SYM_CRYPTO_FALSE}"; then
15077  { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_SYM_CRYPTO\" was never defined.
15078Usually this means the macro was only invoked conditionally." >&5
15079$as_echo "$as_me: error: conditional \"TSS_BUILD_SYM_CRYPTO\" was never defined.
15080Usually this means the macro was only invoked conditionally." >&2;}
15081   { (exit 1); exit 1; }; }
15082fi
15083if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15084  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
15085Usually this means the macro was only invoked conditionally." >&5
15086$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
15087Usually this means the macro was only invoked conditionally." >&2;}
15088   { (exit 1); exit 1; }; }
15089fi
15090
15091
15092: ${CONFIG_STATUS=./config.status}
15093ac_write_fail=0
15094ac_clean_files_save=$ac_clean_files
15095ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15096{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
15097$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15098cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15099#! $SHELL
15100# Generated by $as_me.
15101# Run this file to recreate the current configuration.
15102# Compiler output produced by configure, useful for debugging
15103# configure, is in config.log if it exists.
15104
15105debug=false
15106ac_cs_recheck=false
15107ac_cs_silent=false
15108SHELL=\${CONFIG_SHELL-$SHELL}
15109_ACEOF
15110
15111cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15112## --------------------- ##
15113## M4sh Initialization.  ##
15114## --------------------- ##
15115
15116# Be more Bourne compatible
15117DUALCASE=1; export DUALCASE # for MKS sh
15118if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
15119  emulate sh
15120  NULLCMD=:
15121  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15122  # is contrary to our usage.  Disable this feature.
15123  alias -g '${1+"$@"}'='"$@"'
15124  setopt NO_GLOB_SUBST
15125else
15126  case `(set -o) 2>/dev/null` in
15127  *posix*) set -o posix ;;
15128esac
15129
15130fi
15131
15132
15133
15134
15135# PATH needs CR
15136# Avoid depending upon Character Ranges.
15137as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15138as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15139as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15140as_cr_digits='0123456789'
15141as_cr_alnum=$as_cr_Letters$as_cr_digits
15142
15143as_nl='
15144'
15145export as_nl
15146# Printing a long string crashes Solaris 7 /usr/bin/printf.
15147as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15148as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15149as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15150if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15151  as_echo='printf %s\n'
15152  as_echo_n='printf %s'
15153else
15154  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15155    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15156    as_echo_n='/usr/ucb/echo -n'
15157  else
15158    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15159    as_echo_n_body='eval
15160      arg=$1;
15161      case $arg in
15162      *"$as_nl"*)
15163	expr "X$arg" : "X\\(.*\\)$as_nl";
15164	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15165      esac;
15166      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15167    '
15168    export as_echo_n_body
15169    as_echo_n='sh -c $as_echo_n_body as_echo'
15170  fi
15171  export as_echo_body
15172  as_echo='sh -c $as_echo_body as_echo'
15173fi
15174
15175# The user is always right.
15176if test "${PATH_SEPARATOR+set}" != set; then
15177  PATH_SEPARATOR=:
15178  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15179    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15180      PATH_SEPARATOR=';'
15181  }
15182fi
15183
15184# Support unset when possible.
15185if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
15186  as_unset=unset
15187else
15188  as_unset=false
15189fi
15190
15191
15192# IFS
15193# We need space, tab and new line, in precisely that order.  Quoting is
15194# there to prevent editors from complaining about space-tab.
15195# (If _AS_PATH_WALK were called with IFS unset, it would disable word
15196# splitting by setting IFS to empty value.)
15197IFS=" ""	$as_nl"
15198
15199# Find who we are.  Look in the path if we contain no directory separator.
15200case $0 in
15201  *[\\/]* ) as_myself=$0 ;;
15202  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15203for as_dir in $PATH
15204do
15205  IFS=$as_save_IFS
15206  test -z "$as_dir" && as_dir=.
15207  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15208done
15209IFS=$as_save_IFS
15210
15211     ;;
15212esac
15213# We did not find ourselves, most probably we were run as `sh COMMAND'
15214# in which case we are not to be found in the path.
15215if test "x$as_myself" = x; then
15216  as_myself=$0
15217fi
15218if test ! -f "$as_myself"; then
15219  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15220  { (exit 1); exit 1; }
15221fi
15222
15223# Work around bugs in pre-3.0 UWIN ksh.
15224for as_var in ENV MAIL MAILPATH
15225do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
15226done
15227PS1='$ '
15228PS2='> '
15229PS4='+ '
15230
15231# NLS nuisances.
15232LC_ALL=C
15233export LC_ALL
15234LANGUAGE=C
15235export LANGUAGE
15236
15237# Required to use basename.
15238if expr a : '\(a\)' >/dev/null 2>&1 &&
15239   test "X`expr 00001 : '.*\(...\)'`" = X001; then
15240  as_expr=expr
15241else
15242  as_expr=false
15243fi
15244
15245if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15246  as_basename=basename
15247else
15248  as_basename=false
15249fi
15250
15251
15252# Name of the executable.
15253as_me=`$as_basename -- "$0" ||
15254$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15255	 X"$0" : 'X\(//\)$' \| \
15256	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15257$as_echo X/"$0" |
15258    sed '/^.*\/\([^/][^/]*\)\/*$/{
15259	    s//\1/
15260	    q
15261	  }
15262	  /^X\/\(\/\/\)$/{
15263	    s//\1/
15264	    q
15265	  }
15266	  /^X\/\(\/\).*/{
15267	    s//\1/
15268	    q
15269	  }
15270	  s/.*/./; q'`
15271
15272# CDPATH.
15273$as_unset CDPATH
15274
15275
15276
15277  as_lineno_1=$LINENO
15278  as_lineno_2=$LINENO
15279  test "x$as_lineno_1" != "x$as_lineno_2" &&
15280  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
15281
15282  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
15283  # uniformly replaced by the line number.  The first 'sed' inserts a
15284  # line-number line after each line using $LINENO; the second 'sed'
15285  # does the real work.  The second script uses 'N' to pair each
15286  # line-number line with the line containing $LINENO, and appends
15287  # trailing '-' during substitution so that $LINENO is not a special
15288  # case at line end.
15289  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
15290  # scripts with optimization help from Paolo Bonzini.  Blame Lee
15291  # E. McMahon (1931-1989) for sed's syntax.  :-)
15292  sed -n '
15293    p
15294    /[$]LINENO/=
15295  ' <$as_myself |
15296    sed '
15297      s/[$]LINENO.*/&-/
15298      t lineno
15299      b
15300      :lineno
15301      N
15302      :loop
15303      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
15304      t loop
15305      s/-\n.*//
15306    ' >$as_me.lineno &&
15307  chmod +x "$as_me.lineno" ||
15308    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
15309   { (exit 1); exit 1; }; }
15310
15311  # Don't try to exec as it changes $[0], causing all sort of problems
15312  # (the dirname of $[0] is not the place where we might find the
15313  # original and so on.  Autoconf is especially sensitive to this).
15314  . "./$as_me.lineno"
15315  # Exit status is that of the last command.
15316  exit
15317}
15318
15319
15320if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15321  as_dirname=dirname
15322else
15323  as_dirname=false
15324fi
15325
15326ECHO_C= ECHO_N= ECHO_T=
15327case `echo -n x` in
15328-n*)
15329  case `echo 'x\c'` in
15330  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
15331  *)   ECHO_C='\c';;
15332  esac;;
15333*)
15334  ECHO_N='-n';;
15335esac
15336if expr a : '\(a\)' >/dev/null 2>&1 &&
15337   test "X`expr 00001 : '.*\(...\)'`" = X001; then
15338  as_expr=expr
15339else
15340  as_expr=false
15341fi
15342
15343rm -f conf$$ conf$$.exe conf$$.file
15344if test -d conf$$.dir; then
15345  rm -f conf$$.dir/conf$$.file
15346else
15347  rm -f conf$$.dir
15348  mkdir conf$$.dir 2>/dev/null
15349fi
15350if (echo >conf$$.file) 2>/dev/null; then
15351  if ln -s conf$$.file conf$$ 2>/dev/null; then
15352    as_ln_s='ln -s'
15353    # ... but there are two gotchas:
15354    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15355    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15356    # In both cases, we have to default to `cp -p'.
15357    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15358      as_ln_s='cp -p'
15359  elif ln conf$$.file conf$$ 2>/dev/null; then
15360    as_ln_s=ln
15361  else
15362    as_ln_s='cp -p'
15363  fi
15364else
15365  as_ln_s='cp -p'
15366fi
15367rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15368rmdir conf$$.dir 2>/dev/null
15369
15370if mkdir -p . 2>/dev/null; then
15371  as_mkdir_p=:
15372else
15373  test -d ./-p && rmdir ./-p
15374  as_mkdir_p=false
15375fi
15376
15377if test -x / >/dev/null 2>&1; then
15378  as_test_x='test -x'
15379else
15380  if ls -dL / >/dev/null 2>&1; then
15381    as_ls_L_option=L
15382  else
15383    as_ls_L_option=
15384  fi
15385  as_test_x='
15386    eval sh -c '\''
15387      if test -d "$1"; then
15388	test -d "$1/.";
15389      else
15390	case $1 in
15391	-*)set "./$1";;
15392	esac;
15393	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
15394	???[sx]*):;;*)false;;esac;fi
15395    '\'' sh
15396  '
15397fi
15398as_executable_p=$as_test_x
15399
15400# Sed expression to map a string onto a valid CPP name.
15401as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15402
15403# Sed expression to map a string onto a valid variable name.
15404as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15405
15406
15407exec 6>&1
15408
15409# Save the log message, to keep $[0] and so on meaningful, and to
15410# report actual input values of CONFIG_FILES etc. instead of their
15411# values after options handling.
15412ac_log="
15413This file was extended by trousers $as_me 0.3.14, which was
15414generated by GNU Autoconf 2.63.  Invocation command line was
15415
15416  CONFIG_FILES    = $CONFIG_FILES
15417  CONFIG_HEADERS  = $CONFIG_HEADERS
15418  CONFIG_LINKS    = $CONFIG_LINKS
15419  CONFIG_COMMANDS = $CONFIG_COMMANDS
15420  $ $0 $@
15421
15422on `(hostname || uname -n) 2>/dev/null | sed 1q`
15423"
15424
15425_ACEOF
15426
15427case $ac_config_files in *"
15428"*) set x $ac_config_files; shift; ac_config_files=$*;;
15429esac
15430
15431
15432
15433cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15434# Files that config.status was made for.
15435config_files="$ac_config_files"
15436config_commands="$ac_config_commands"
15437
15438_ACEOF
15439
15440cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15441ac_cs_usage="\
15442\`$as_me' instantiates files from templates according to the
15443current configuration.
15444
15445Usage: $0 [OPTION]... [FILE]...
15446
15447  -h, --help       print this help, then exit
15448  -V, --version    print version number and configuration settings, then exit
15449  -q, --quiet, --silent
15450                   do not print progress messages
15451  -d, --debug      don't remove temporary files
15452      --recheck    update $as_me by reconfiguring in the same conditions
15453      --file=FILE[:TEMPLATE]
15454                   instantiate the configuration file FILE
15455
15456Configuration files:
15457$config_files
15458
15459Configuration commands:
15460$config_commands
15461
15462Report bugs to <bug-autoconf@gnu.org>."
15463
15464_ACEOF
15465cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15466ac_cs_version="\\
15467trousers config.status 0.3.14
15468configured by $0, generated by GNU Autoconf 2.63,
15469  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15470
15471Copyright (C) 2008 Free Software Foundation, Inc.
15472This config.status script is free software; the Free Software Foundation
15473gives unlimited permission to copy, distribute and modify it."
15474
15475ac_pwd='$ac_pwd'
15476srcdir='$srcdir'
15477INSTALL='$INSTALL'
15478MKDIR_P='$MKDIR_P'
15479AWK='$AWK'
15480test -n "\$AWK" || AWK=awk
15481_ACEOF
15482
15483cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15484# The default lists apply if the user does not specify any file.
15485ac_need_defaults=:
15486while test $# != 0
15487do
15488  case $1 in
15489  --*=*)
15490    ac_option=`expr "X$1" : 'X\([^=]*\)='`
15491    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15492    ac_shift=:
15493    ;;
15494  *)
15495    ac_option=$1
15496    ac_optarg=$2
15497    ac_shift=shift
15498    ;;
15499  esac
15500
15501  case $ac_option in
15502  # Handling of the options.
15503  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15504    ac_cs_recheck=: ;;
15505  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15506    $as_echo "$ac_cs_version"; exit ;;
15507  --debug | --debu | --deb | --de | --d | -d )
15508    debug=: ;;
15509  --file | --fil | --fi | --f )
15510    $ac_shift
15511    case $ac_optarg in
15512    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15513    esac
15514    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
15515    ac_need_defaults=false;;
15516  --he | --h |  --help | --hel | -h )
15517    $as_echo "$ac_cs_usage"; exit ;;
15518  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15519  | -silent | --silent | --silen | --sile | --sil | --si | --s)
15520    ac_cs_silent=: ;;
15521
15522  # This is an error.
15523  -*) { $as_echo "$as_me: error: unrecognized option: $1
15524Try \`$0 --help' for more information." >&2
15525   { (exit 1); exit 1; }; } ;;
15526
15527  *) ac_config_targets="$ac_config_targets $1"
15528     ac_need_defaults=false ;;
15529
15530  esac
15531  shift
15532done
15533
15534ac_configure_extra_args=
15535
15536if $ac_cs_silent; then
15537  exec 6>/dev/null
15538  ac_configure_extra_args="$ac_configure_extra_args --silent"
15539fi
15540
15541_ACEOF
15542cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15543if \$ac_cs_recheck; then
15544  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15545  shift
15546  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15547  CONFIG_SHELL='$SHELL'
15548  export CONFIG_SHELL
15549  exec "\$@"
15550fi
15551
15552_ACEOF
15553cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15554exec 5>>config.log
15555{
15556  echo
15557  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15558## Running $as_me. ##
15559_ASBOX
15560  $as_echo "$ac_log"
15561} >&5
15562
15563_ACEOF
15564cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15565#
15566# INIT-COMMANDS
15567#
15568AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15569
15570
15571# The HP-UX ksh and POSIX shell print the target directory to stdout
15572# if CDPATH is set.
15573(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15574
15575sed_quote_subst='$sed_quote_subst'
15576double_quote_subst='$double_quote_subst'
15577delay_variable_subst='$delay_variable_subst'
15578enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
15579macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
15580macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
15581enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
15582pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
15583enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
15584host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
15585host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
15586host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
15587build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
15588build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
15589build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
15590SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
15591Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
15592GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
15593EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
15594FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
15595LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
15596NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
15597LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
15598max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
15599ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
15600exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
15601lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
15602lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
15603lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
15604reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
15605reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15606OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
15607deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
15608file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
15609AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
15610AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15611STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
15612RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
15613old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15614old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15615old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15616CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
15617CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15618compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
15619GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
15620lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
15621lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
15622lt_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"`'
15623lt_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"`'
15624objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
15625SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
15626ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
15627MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
15628lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
15629lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
15630lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
15631lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
15632lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
15633need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
15634DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
15635NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
15636LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
15637OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
15638OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
15639libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
15640shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15641extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15642archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
15643enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
15644export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15645whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15646compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
15647old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15648old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15649archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15650archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15651module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15652module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15653with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
15654allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15655no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15656hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15657hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
15658hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
15659hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
15660hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
15661hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
15662hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15663hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
15664inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
15665link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
15666fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
15667always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
15668export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15669exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15670include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15671prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15672file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
15673variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
15674need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
15675need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
15676version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
15677runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15678shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15679shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
15680libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15681library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
15682soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15683postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15684postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15685finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15686finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
15687hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
15688sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15689sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15690hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
15691enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
15692enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
15693enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
15694old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
15695striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
15696
15697LTCC='$LTCC'
15698LTCFLAGS='$LTCFLAGS'
15699compiler='$compiler_DEFAULT'
15700
15701# Quote evaled strings.
15702for var in SED \
15703GREP \
15704EGREP \
15705FGREP \
15706LD \
15707NM \
15708LN_S \
15709lt_SP2NL \
15710lt_NL2SP \
15711reload_flag \
15712OBJDUMP \
15713deplibs_check_method \
15714file_magic_cmd \
15715AR \
15716AR_FLAGS \
15717STRIP \
15718RANLIB \
15719CC \
15720CFLAGS \
15721compiler \
15722lt_cv_sys_global_symbol_pipe \
15723lt_cv_sys_global_symbol_to_cdecl \
15724lt_cv_sys_global_symbol_to_c_name_address \
15725lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15726SHELL \
15727ECHO \
15728lt_prog_compiler_no_builtin_flag \
15729lt_prog_compiler_wl \
15730lt_prog_compiler_pic \
15731lt_prog_compiler_static \
15732lt_cv_prog_compiler_c_o \
15733need_locks \
15734DSYMUTIL \
15735NMEDIT \
15736LIPO \
15737OTOOL \
15738OTOOL64 \
15739shrext_cmds \
15740export_dynamic_flag_spec \
15741whole_archive_flag_spec \
15742compiler_needs_object \
15743with_gnu_ld \
15744allow_undefined_flag \
15745no_undefined_flag \
15746hardcode_libdir_flag_spec \
15747hardcode_libdir_flag_spec_ld \
15748hardcode_libdir_separator \
15749fix_srcfile_path \
15750exclude_expsyms \
15751include_expsyms \
15752file_list_spec \
15753variables_saved_for_relink \
15754libname_spec \
15755library_names_spec \
15756soname_spec \
15757finish_eval \
15758old_striplib \
15759striplib; do
15760    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
15761    *[\\\\\\\`\\"\\\$]*)
15762      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15763      ;;
15764    *)
15765      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15766      ;;
15767    esac
15768done
15769
15770# Double-quote double-evaled strings.
15771for var in reload_cmds \
15772old_postinstall_cmds \
15773old_postuninstall_cmds \
15774old_archive_cmds \
15775extract_expsyms_cmds \
15776old_archive_from_new_cmds \
15777old_archive_from_expsyms_cmds \
15778archive_cmds \
15779archive_expsym_cmds \
15780module_cmds \
15781module_expsym_cmds \
15782export_symbols_cmds \
15783prelink_cmds \
15784postinstall_cmds \
15785postuninstall_cmds \
15786finish_cmds \
15787sys_lib_search_path_spec \
15788sys_lib_dlsearch_path_spec; do
15789    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
15790    *[\\\\\\\`\\"\\\$]*)
15791      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15792      ;;
15793    *)
15794      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15795      ;;
15796    esac
15797done
15798
15799# Fix-up fallback echo if it was mangled by the above quoting rules.
15800case \$lt_ECHO in
15801*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
15802  ;;
15803esac
15804
15805ac_aux_dir='$ac_aux_dir'
15806xsi_shell='$xsi_shell'
15807lt_shell_append='$lt_shell_append'
15808
15809# See if we are running on zsh, and set the options which allow our
15810# commands through without removal of \ escapes INIT.
15811if test -n "\${ZSH_VERSION+set}" ; then
15812   setopt NO_GLOB_SUBST
15813fi
15814
15815
15816    PACKAGE='$PACKAGE'
15817    VERSION='$VERSION'
15818    TIMESTAMP='$TIMESTAMP'
15819    RM='$RM'
15820    ofile='$ofile'
15821
15822
15823
15824
15825_ACEOF
15826
15827cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15828
15829# Handling of arguments.
15830for ac_config_target in $ac_config_targets
15831do
15832  case $ac_config_target in
15833    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15834    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15835    "dist/tcsd.conf") CONFIG_FILES="$CONFIG_FILES dist/tcsd.conf" ;;
15836    "dist/fedora/trousers.spec") CONFIG_FILES="$CONFIG_FILES dist/fedora/trousers.spec" ;;
15837    "dist/trousers.spec") CONFIG_FILES="$CONFIG_FILES dist/trousers.spec" ;;
15838    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15839    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
15840    "src/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/Makefile" ;;
15841    "src/tcs/Makefile") CONFIG_FILES="$CONFIG_FILES src/tcs/Makefile" ;;
15842    "src/tddl/Makefile") CONFIG_FILES="$CONFIG_FILES src/tddl/Makefile" ;;
15843    "src/tspi/Makefile") CONFIG_FILES="$CONFIG_FILES src/tspi/Makefile" ;;
15844    "src/trspi/Makefile") CONFIG_FILES="$CONFIG_FILES src/trspi/Makefile" ;;
15845    "src/tcsd/Makefile") CONFIG_FILES="$CONFIG_FILES src/tcsd/Makefile" ;;
15846    "man/man8/tcsd.8") CONFIG_FILES="$CONFIG_FILES man/man8/tcsd.8" ;;
15847    "man/man5/tcsd.conf.5") CONFIG_FILES="$CONFIG_FILES man/man5/tcsd.conf.5" ;;
15848    "dist/Makefile") CONFIG_FILES="$CONFIG_FILES dist/Makefile" ;;
15849    "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
15850    "man/man3/Makefile") CONFIG_FILES="$CONFIG_FILES man/man3/Makefile" ;;
15851    "man/man5/Makefile") CONFIG_FILES="$CONFIG_FILES man/man5/Makefile" ;;
15852    "man/man8/Makefile") CONFIG_FILES="$CONFIG_FILES man/man8/Makefile" ;;
15853
15854  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
15855$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
15856   { (exit 1); exit 1; }; };;
15857  esac
15858done
15859
15860
15861# If the user did not use the arguments to specify the items to instantiate,
15862# then the envvar interface is used.  Set only those that are not.
15863# We use the long form for the default assignment because of an extremely
15864# bizarre bug on SunOS 4.1.3.
15865if $ac_need_defaults; then
15866  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15867  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15868fi
15869
15870# Have a temporary directory for convenience.  Make it in the build tree
15871# simply because there is no reason against having it here, and in addition,
15872# creating and moving files from /tmp can sometimes cause problems.
15873# Hook for its removal unless debugging.
15874# Note that there is a small window in which the directory will not be cleaned:
15875# after its creation but before its name has been assigned to `$tmp'.
15876$debug ||
15877{
15878  tmp=
15879  trap 'exit_status=$?
15880  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15881' 0
15882  trap '{ (exit 1); exit 1; }' 1 2 13 15
15883}
15884# Create a (secure) tmp directory for tmp files.
15885
15886{
15887  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15888  test -n "$tmp" && test -d "$tmp"
15889}  ||
15890{
15891  tmp=./conf$$-$RANDOM
15892  (umask 077 && mkdir "$tmp")
15893} ||
15894{
15895   $as_echo "$as_me: cannot create a temporary directory in ." >&2
15896   { (exit 1); exit 1; }
15897}
15898
15899# Set up the scripts for CONFIG_FILES section.
15900# No need to generate them if there are no CONFIG_FILES.
15901# This happens for instance with `./config.status config.h'.
15902if test -n "$CONFIG_FILES"; then
15903
15904
15905ac_cr='
15906'
15907ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15908if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15909  ac_cs_awk_cr='\\r'
15910else
15911  ac_cs_awk_cr=$ac_cr
15912fi
15913
15914echo 'BEGIN {' >"$tmp/subs1.awk" &&
15915_ACEOF
15916
15917
15918{
15919  echo "cat >conf$$subs.awk <<_ACEOF" &&
15920  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15921  echo "_ACEOF"
15922} >conf$$subs.sh ||
15923  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
15924$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
15925   { (exit 1); exit 1; }; }
15926ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15927ac_delim='%!_!# '
15928for ac_last_try in false false false false false :; do
15929  . ./conf$$subs.sh ||
15930    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
15931$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
15932   { (exit 1); exit 1; }; }
15933
15934  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15935  if test $ac_delim_n = $ac_delim_num; then
15936    break
15937  elif $ac_last_try; then
15938    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
15939$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
15940   { (exit 1); exit 1; }; }
15941  else
15942    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15943  fi
15944done
15945rm -f conf$$subs.sh
15946
15947cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15948cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
15949_ACEOF
15950sed -n '
15951h
15952s/^/S["/; s/!.*/"]=/
15953p
15954g
15955s/^[^!]*!//
15956:repl
15957t repl
15958s/'"$ac_delim"'$//
15959t delim
15960:nl
15961h
15962s/\(.\{148\}\).*/\1/
15963t more1
15964s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15965p
15966n
15967b repl
15968:more1
15969s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15970p
15971g
15972s/.\{148\}//
15973t nl
15974:delim
15975h
15976s/\(.\{148\}\).*/\1/
15977t more2
15978s/["\\]/\\&/g; s/^/"/; s/$/"/
15979p
15980b
15981:more2
15982s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15983p
15984g
15985s/.\{148\}//
15986t delim
15987' <conf$$subs.awk | sed '
15988/^[^""]/{
15989  N
15990  s/\n//
15991}
15992' >>$CONFIG_STATUS || ac_write_fail=1
15993rm -f conf$$subs.awk
15994cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15995_ACAWK
15996cat >>"\$tmp/subs1.awk" <<_ACAWK &&
15997  for (key in S) S_is_set[key] = 1
15998  FS = ""
15999
16000}
16001{
16002  line = $ 0
16003  nfields = split(line, field, "@")
16004  substed = 0
16005  len = length(field[1])
16006  for (i = 2; i < nfields; i++) {
16007    key = field[i]
16008    keylen = length(key)
16009    if (S_is_set[key]) {
16010      value = S[key]
16011      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16012      len += length(value) + length(field[++i])
16013      substed = 1
16014    } else
16015      len += 1 + keylen
16016  }
16017
16018  print line
16019}
16020
16021_ACAWK
16022_ACEOF
16023cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16024if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16025  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16026else
16027  cat
16028fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
16029  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
16030$as_echo "$as_me: error: could not setup config files machinery" >&2;}
16031   { (exit 1); exit 1; }; }
16032_ACEOF
16033
16034# VPATH may cause trouble with some makes, so we remove $(srcdir),
16035# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
16036# trailing colons and then remove the whole line if VPATH becomes empty
16037# (actually we leave an empty line to preserve line numbers).
16038if test "x$srcdir" = x.; then
16039  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
16040s/:*\$(srcdir):*/:/
16041s/:*\${srcdir}:*/:/
16042s/:*@srcdir@:*/:/
16043s/^\([^=]*=[	 ]*\):*/\1/
16044s/:*$//
16045s/^[^=]*=[	 ]*$//
16046}'
16047fi
16048
16049cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16050fi # test -n "$CONFIG_FILES"
16051
16052
16053eval set X "  :F $CONFIG_FILES      :C $CONFIG_COMMANDS"
16054shift
16055for ac_tag
16056do
16057  case $ac_tag in
16058  :[FHLC]) ac_mode=$ac_tag; continue;;
16059  esac
16060  case $ac_mode$ac_tag in
16061  :[FHL]*:*);;
16062  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
16063$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
16064   { (exit 1); exit 1; }; };;
16065  :[FH]-) ac_tag=-:-;;
16066  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16067  esac
16068  ac_save_IFS=$IFS
16069  IFS=:
16070  set x $ac_tag
16071  IFS=$ac_save_IFS
16072  shift
16073  ac_file=$1
16074  shift
16075
16076  case $ac_mode in
16077  :L) ac_source=$1;;
16078  :[FH])
16079    ac_file_inputs=
16080    for ac_f
16081    do
16082      case $ac_f in
16083      -) ac_f="$tmp/stdin";;
16084      *) # Look for the file first in the build tree, then in the source tree
16085	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
16086	 # because $ac_f cannot contain `:'.
16087	 test -f "$ac_f" ||
16088	   case $ac_f in
16089	   [\\/$]*) false;;
16090	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16091	   esac ||
16092	   { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
16093$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
16094   { (exit 1); exit 1; }; };;
16095      esac
16096      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16097      ac_file_inputs="$ac_file_inputs '$ac_f'"
16098    done
16099
16100    # Let's still pretend it is `configure' which instantiates (i.e., don't
16101    # use $as_me), people would be surprised to read:
16102    #    /* config.h.  Generated by config.status.  */
16103    configure_input='Generated from '`
16104	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16105	`' by configure.'
16106    if test x"$ac_file" != x-; then
16107      configure_input="$ac_file.  $configure_input"
16108      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
16109$as_echo "$as_me: creating $ac_file" >&6;}
16110    fi
16111    # Neutralize special characters interpreted by sed in replacement strings.
16112    case $configure_input in #(
16113    *\&* | *\|* | *\\* )
16114       ac_sed_conf_input=`$as_echo "$configure_input" |
16115       sed 's/[\\\\&|]/\\\\&/g'`;; #(
16116    *) ac_sed_conf_input=$configure_input;;
16117    esac
16118
16119    case $ac_tag in
16120    *:-:* | *:-) cat >"$tmp/stdin" \
16121      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
16122$as_echo "$as_me: error: could not create $ac_file" >&2;}
16123   { (exit 1); exit 1; }; } ;;
16124    esac
16125    ;;
16126  esac
16127
16128  ac_dir=`$as_dirname -- "$ac_file" ||
16129$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16130	 X"$ac_file" : 'X\(//\)[^/]' \| \
16131	 X"$ac_file" : 'X\(//\)$' \| \
16132	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16133$as_echo X"$ac_file" |
16134    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16135	    s//\1/
16136	    q
16137	  }
16138	  /^X\(\/\/\)[^/].*/{
16139	    s//\1/
16140	    q
16141	  }
16142	  /^X\(\/\/\)$/{
16143	    s//\1/
16144	    q
16145	  }
16146	  /^X\(\/\).*/{
16147	    s//\1/
16148	    q
16149	  }
16150	  s/.*/./; q'`
16151  { as_dir="$ac_dir"
16152  case $as_dir in #(
16153  -*) as_dir=./$as_dir;;
16154  esac
16155  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
16156    as_dirs=
16157    while :; do
16158      case $as_dir in #(
16159      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16160      *) as_qdir=$as_dir;;
16161      esac
16162      as_dirs="'$as_qdir' $as_dirs"
16163      as_dir=`$as_dirname -- "$as_dir" ||
16164$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16165	 X"$as_dir" : 'X\(//\)[^/]' \| \
16166	 X"$as_dir" : 'X\(//\)$' \| \
16167	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16168$as_echo X"$as_dir" |
16169    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16170	    s//\1/
16171	    q
16172	  }
16173	  /^X\(\/\/\)[^/].*/{
16174	    s//\1/
16175	    q
16176	  }
16177	  /^X\(\/\/\)$/{
16178	    s//\1/
16179	    q
16180	  }
16181	  /^X\(\/\).*/{
16182	    s//\1/
16183	    q
16184	  }
16185	  s/.*/./; q'`
16186      test -d "$as_dir" && break
16187    done
16188    test -z "$as_dirs" || eval "mkdir $as_dirs"
16189  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
16190$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
16191   { (exit 1); exit 1; }; }; }
16192  ac_builddir=.
16193
16194case "$ac_dir" in
16195.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16196*)
16197  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16198  # A ".." for each directory in $ac_dir_suffix.
16199  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16200  case $ac_top_builddir_sub in
16201  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16202  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16203  esac ;;
16204esac
16205ac_abs_top_builddir=$ac_pwd
16206ac_abs_builddir=$ac_pwd$ac_dir_suffix
16207# for backward compatibility:
16208ac_top_builddir=$ac_top_build_prefix
16209
16210case $srcdir in
16211  .)  # We are building in place.
16212    ac_srcdir=.
16213    ac_top_srcdir=$ac_top_builddir_sub
16214    ac_abs_top_srcdir=$ac_pwd ;;
16215  [\\/]* | ?:[\\/]* )  # Absolute name.
16216    ac_srcdir=$srcdir$ac_dir_suffix;
16217    ac_top_srcdir=$srcdir
16218    ac_abs_top_srcdir=$srcdir ;;
16219  *) # Relative name.
16220    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16221    ac_top_srcdir=$ac_top_build_prefix$srcdir
16222    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16223esac
16224ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16225
16226
16227  case $ac_mode in
16228  :F)
16229  #
16230  # CONFIG_FILE
16231  #
16232
16233  case $INSTALL in
16234  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16235  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16236  esac
16237  ac_MKDIR_P=$MKDIR_P
16238  case $MKDIR_P in
16239  [\\/$]* | ?:[\\/]* ) ;;
16240  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16241  esac
16242_ACEOF
16243
16244cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16245# If the template does not know about datarootdir, expand it.
16246# FIXME: This hack should be removed a few years after 2.60.
16247ac_datarootdir_hack=; ac_datarootdir_seen=
16248
16249ac_sed_dataroot='
16250/datarootdir/ {
16251  p
16252  q
16253}
16254/@datadir@/p
16255/@docdir@/p
16256/@infodir@/p
16257/@localedir@/p
16258/@mandir@/p
16259'
16260case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16261*datarootdir*) ac_datarootdir_seen=yes;;
16262*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16263  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16264$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16265_ACEOF
16266cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16267  ac_datarootdir_hack='
16268  s&@datadir@&$datadir&g
16269  s&@docdir@&$docdir&g
16270  s&@infodir@&$infodir&g
16271  s&@localedir@&$localedir&g
16272  s&@mandir@&$mandir&g
16273    s&\\\${datarootdir}&$datarootdir&g' ;;
16274esac
16275_ACEOF
16276
16277# Neutralize VPATH when `$srcdir' = `.'.
16278# Shell code in configure.ac might set extrasub.
16279# FIXME: do we really want to maintain this feature?
16280cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16281ac_sed_extra="$ac_vpsub
16282$extrasub
16283_ACEOF
16284cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16285:t
16286/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16287s|@configure_input@|$ac_sed_conf_input|;t t
16288s&@top_builddir@&$ac_top_builddir_sub&;t t
16289s&@top_build_prefix@&$ac_top_build_prefix&;t t
16290s&@srcdir@&$ac_srcdir&;t t
16291s&@abs_srcdir@&$ac_abs_srcdir&;t t
16292s&@top_srcdir@&$ac_top_srcdir&;t t
16293s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16294s&@builddir@&$ac_builddir&;t t
16295s&@abs_builddir@&$ac_abs_builddir&;t t
16296s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16297s&@INSTALL@&$ac_INSTALL&;t t
16298s&@MKDIR_P@&$ac_MKDIR_P&;t t
16299$ac_datarootdir_hack
16300"
16301eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
16302  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
16303$as_echo "$as_me: error: could not create $ac_file" >&2;}
16304   { (exit 1); exit 1; }; }
16305
16306test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16307  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
16308  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
16309  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16310which seems to be undefined.  Please make sure it is defined." >&5
16311$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16312which seems to be undefined.  Please make sure it is defined." >&2;}
16313
16314  rm -f "$tmp/stdin"
16315  case $ac_file in
16316  -) cat "$tmp/out" && rm -f "$tmp/out";;
16317  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16318  esac \
16319  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
16320$as_echo "$as_me: error: could not create $ac_file" >&2;}
16321   { (exit 1); exit 1; }; }
16322 ;;
16323
16324
16325  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
16326$as_echo "$as_me: executing $ac_file commands" >&6;}
16327 ;;
16328  esac
16329
16330
16331  case $ac_file$ac_mode in
16332    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16333  # Autoconf 2.62 quotes --file arguments for eval, but not when files
16334  # are listed without --file.  Let's play safe and only enable the eval
16335  # if we detect the quoting.
16336  case $CONFIG_FILES in
16337  *\'*) eval set x "$CONFIG_FILES" ;;
16338  *)   set x $CONFIG_FILES ;;
16339  esac
16340  shift
16341  for mf
16342  do
16343    # Strip MF so we end up with the name of the file.
16344    mf=`echo "$mf" | sed -e 's/:.*$//'`
16345    # Check whether this is an Automake generated Makefile or not.
16346    # We used to match only the files named `Makefile.in', but
16347    # some people rename them; so instead we look at the file content.
16348    # Grep'ing the first line is not enough: some people post-process
16349    # each Makefile.in and add a new line on top of each file to say so.
16350    # Grep'ing the whole file is not good either: AIX grep has a line
16351    # limit of 2048, but all sed's we know have understand at least 4000.
16352    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16353      dirpart=`$as_dirname -- "$mf" ||
16354$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16355	 X"$mf" : 'X\(//\)[^/]' \| \
16356	 X"$mf" : 'X\(//\)$' \| \
16357	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16358$as_echo X"$mf" |
16359    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16360	    s//\1/
16361	    q
16362	  }
16363	  /^X\(\/\/\)[^/].*/{
16364	    s//\1/
16365	    q
16366	  }
16367	  /^X\(\/\/\)$/{
16368	    s//\1/
16369	    q
16370	  }
16371	  /^X\(\/\).*/{
16372	    s//\1/
16373	    q
16374	  }
16375	  s/.*/./; q'`
16376    else
16377      continue
16378    fi
16379    # Extract the definition of DEPDIR, am__include, and am__quote
16380    # from the Makefile without running `make'.
16381    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16382    test -z "$DEPDIR" && continue
16383    am__include=`sed -n 's/^am__include = //p' < "$mf"`
16384    test -z "am__include" && continue
16385    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16386    # When using ansi2knr, U may be empty or an underscore; expand it
16387    U=`sed -n 's/^U = //p' < "$mf"`
16388    # Find all dependency output files, they are included files with
16389    # $(DEPDIR) in their names.  We invoke sed twice because it is the
16390    # simplest approach to changing $(DEPDIR) to its actual value in the
16391    # expansion.
16392    for file in `sed -n "
16393      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16394	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16395      # Make sure the directory exists.
16396      test -f "$dirpart/$file" && continue
16397      fdir=`$as_dirname -- "$file" ||
16398$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16399	 X"$file" : 'X\(//\)[^/]' \| \
16400	 X"$file" : 'X\(//\)$' \| \
16401	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16402$as_echo X"$file" |
16403    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16404	    s//\1/
16405	    q
16406	  }
16407	  /^X\(\/\/\)[^/].*/{
16408	    s//\1/
16409	    q
16410	  }
16411	  /^X\(\/\/\)$/{
16412	    s//\1/
16413	    q
16414	  }
16415	  /^X\(\/\).*/{
16416	    s//\1/
16417	    q
16418	  }
16419	  s/.*/./; q'`
16420      { as_dir=$dirpart/$fdir
16421  case $as_dir in #(
16422  -*) as_dir=./$as_dir;;
16423  esac
16424  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
16425    as_dirs=
16426    while :; do
16427      case $as_dir in #(
16428      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16429      *) as_qdir=$as_dir;;
16430      esac
16431      as_dirs="'$as_qdir' $as_dirs"
16432      as_dir=`$as_dirname -- "$as_dir" ||
16433$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16434	 X"$as_dir" : 'X\(//\)[^/]' \| \
16435	 X"$as_dir" : 'X\(//\)$' \| \
16436	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16437$as_echo X"$as_dir" |
16438    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16439	    s//\1/
16440	    q
16441	  }
16442	  /^X\(\/\/\)[^/].*/{
16443	    s//\1/
16444	    q
16445	  }
16446	  /^X\(\/\/\)$/{
16447	    s//\1/
16448	    q
16449	  }
16450	  /^X\(\/\).*/{
16451	    s//\1/
16452	    q
16453	  }
16454	  s/.*/./; q'`
16455      test -d "$as_dir" && break
16456    done
16457    test -z "$as_dirs" || eval "mkdir $as_dirs"
16458  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
16459$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
16460   { (exit 1); exit 1; }; }; }
16461      # echo "creating $dirpart/$file"
16462      echo '# dummy' > "$dirpart/$file"
16463    done
16464  done
16465}
16466 ;;
16467    "libtool":C)
16468
16469    # See if we are running on zsh, and set the options which allow our
16470    # commands through without removal of \ escapes.
16471    if test -n "${ZSH_VERSION+set}" ; then
16472      setopt NO_GLOB_SUBST
16473    fi
16474
16475    cfgfile="${ofile}T"
16476    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16477    $RM "$cfgfile"
16478
16479    cat <<_LT_EOF >> "$cfgfile"
16480#! $SHELL
16481
16482# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16483# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16484# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16485# NOTE: Changes made to this file will be lost: look at ltmain.sh.
16486#
16487#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16488#                 2006, 2007, 2008 Free Software Foundation, Inc.
16489#   Written by Gordon Matzigkeit, 1996
16490#
16491#   This file is part of GNU Libtool.
16492#
16493# GNU Libtool is free software; you can redistribute it and/or
16494# modify it under the terms of the GNU General Public License as
16495# published by the Free Software Foundation; either version 2 of
16496# the License, or (at your option) any later version.
16497#
16498# As a special exception to the GNU General Public License,
16499# if you distribute this file as part of a program or library that
16500# is built using GNU Libtool, you may include this file under the
16501# same distribution terms that you use for the rest of that program.
16502#
16503# GNU Libtool is distributed in the hope that it will be useful,
16504# but WITHOUT ANY WARRANTY; without even the implied warranty of
16505# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16506# GNU General Public License for more details.
16507#
16508# You should have received a copy of the GNU General Public License
16509# along with GNU Libtool; see the file COPYING.  If not, a copy
16510# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16511# obtained by writing to the Free Software Foundation, Inc.,
16512# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16513
16514
16515# The names of the tagged configurations supported by this script.
16516available_tags=""
16517
16518# ### BEGIN LIBTOOL CONFIG
16519
16520# Whether or not to build static libraries.
16521build_old_libs=$enable_static
16522
16523# Which release of libtool.m4 was used?
16524macro_version=$macro_version
16525macro_revision=$macro_revision
16526
16527# Whether or not to build shared libraries.
16528build_libtool_libs=$enable_shared
16529
16530# What type of objects to build.
16531pic_mode=$pic_mode
16532
16533# Whether or not to optimize for fast installation.
16534fast_install=$enable_fast_install
16535
16536# The host system.
16537host_alias=$host_alias
16538host=$host
16539host_os=$host_os
16540
16541# The build system.
16542build_alias=$build_alias
16543build=$build
16544build_os=$build_os
16545
16546# A sed program that does not truncate output.
16547SED=$lt_SED
16548
16549# Sed that helps us avoid accidentally triggering echo(1) options like -n.
16550Xsed="\$SED -e 1s/^X//"
16551
16552# A grep program that handles long lines.
16553GREP=$lt_GREP
16554
16555# An ERE matcher.
16556EGREP=$lt_EGREP
16557
16558# A literal string matcher.
16559FGREP=$lt_FGREP
16560
16561# A BSD- or MS-compatible name lister.
16562NM=$lt_NM
16563
16564# Whether we need soft or hard links.
16565LN_S=$lt_LN_S
16566
16567# What is the maximum length of a command?
16568max_cmd_len=$max_cmd_len
16569
16570# Object file suffix (normally "o").
16571objext=$ac_objext
16572
16573# Executable file suffix (normally "").
16574exeext=$exeext
16575
16576# whether the shell understands "unset".
16577lt_unset=$lt_unset
16578
16579# turn spaces into newlines.
16580SP2NL=$lt_lt_SP2NL
16581
16582# turn newlines into spaces.
16583NL2SP=$lt_lt_NL2SP
16584
16585# How to create reloadable object files.
16586reload_flag=$lt_reload_flag
16587reload_cmds=$lt_reload_cmds
16588
16589# An object symbol dumper.
16590OBJDUMP=$lt_OBJDUMP
16591
16592# Method to check whether dependent libraries are shared objects.
16593deplibs_check_method=$lt_deplibs_check_method
16594
16595# Command to use when deplibs_check_method == "file_magic".
16596file_magic_cmd=$lt_file_magic_cmd
16597
16598# The archiver.
16599AR=$lt_AR
16600AR_FLAGS=$lt_AR_FLAGS
16601
16602# A symbol stripping program.
16603STRIP=$lt_STRIP
16604
16605# Commands used to install an old-style archive.
16606RANLIB=$lt_RANLIB
16607old_postinstall_cmds=$lt_old_postinstall_cmds
16608old_postuninstall_cmds=$lt_old_postuninstall_cmds
16609
16610# A C compiler.
16611LTCC=$lt_CC
16612
16613# LTCC compiler flags.
16614LTCFLAGS=$lt_CFLAGS
16615
16616# Take the output of nm and produce a listing of raw symbols and C names.
16617global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16618
16619# Transform the output of nm in a proper C declaration.
16620global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16621
16622# Transform the output of nm in a C name address pair.
16623global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16624
16625# Transform the output of nm in a C name address pair when lib prefix is needed.
16626global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16627
16628# The name of the directory that contains temporary libtool files.
16629objdir=$objdir
16630
16631# Shell to use when invoking shell scripts.
16632SHELL=$lt_SHELL
16633
16634# An echo program that does not interpret backslashes.
16635ECHO=$lt_ECHO
16636
16637# Used to examine libraries when file_magic_cmd begins with "file".
16638MAGIC_CMD=$MAGIC_CMD
16639
16640# Must we lock files when doing compilation?
16641need_locks=$lt_need_locks
16642
16643# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16644DSYMUTIL=$lt_DSYMUTIL
16645
16646# Tool to change global to local symbols on Mac OS X.
16647NMEDIT=$lt_NMEDIT
16648
16649# Tool to manipulate fat objects and archives on Mac OS X.
16650LIPO=$lt_LIPO
16651
16652# ldd/readelf like tool for Mach-O binaries on Mac OS X.
16653OTOOL=$lt_OTOOL
16654
16655# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16656OTOOL64=$lt_OTOOL64
16657
16658# Old archive suffix (normally "a").
16659libext=$libext
16660
16661# Shared library suffix (normally ".so").
16662shrext_cmds=$lt_shrext_cmds
16663
16664# The commands to extract the exported symbol list from a shared archive.
16665extract_expsyms_cmds=$lt_extract_expsyms_cmds
16666
16667# Variables whose values should be saved in libtool wrapper scripts and
16668# restored at link time.
16669variables_saved_for_relink=$lt_variables_saved_for_relink
16670
16671# Do we need the "lib" prefix for modules?
16672need_lib_prefix=$need_lib_prefix
16673
16674# Do we need a version for libraries?
16675need_version=$need_version
16676
16677# Library versioning type.
16678version_type=$version_type
16679
16680# Shared library runtime path variable.
16681runpath_var=$runpath_var
16682
16683# Shared library path variable.
16684shlibpath_var=$shlibpath_var
16685
16686# Is shlibpath searched before the hard-coded library search path?
16687shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16688
16689# Format of library name prefix.
16690libname_spec=$lt_libname_spec
16691
16692# List of archive names.  First name is the real one, the rest are links.
16693# The last name is the one that the linker finds with -lNAME
16694library_names_spec=$lt_library_names_spec
16695
16696# The coded name of the library, if different from the real name.
16697soname_spec=$lt_soname_spec
16698
16699# Command to use after installation of a shared archive.
16700postinstall_cmds=$lt_postinstall_cmds
16701
16702# Command to use after uninstallation of a shared archive.
16703postuninstall_cmds=$lt_postuninstall_cmds
16704
16705# Commands used to finish a libtool library installation in a directory.
16706finish_cmds=$lt_finish_cmds
16707
16708# As "finish_cmds", except a single script fragment to be evaled but
16709# not shown.
16710finish_eval=$lt_finish_eval
16711
16712# Whether we should hardcode library paths into libraries.
16713hardcode_into_libs=$hardcode_into_libs
16714
16715# Compile-time system search path for libraries.
16716sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16717
16718# Run-time system search path for libraries.
16719sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16720
16721# Whether dlopen is supported.
16722dlopen_support=$enable_dlopen
16723
16724# Whether dlopen of programs is supported.
16725dlopen_self=$enable_dlopen_self
16726
16727# Whether dlopen of statically linked programs is supported.
16728dlopen_self_static=$enable_dlopen_self_static
16729
16730# Commands to strip libraries.
16731old_striplib=$lt_old_striplib
16732striplib=$lt_striplib
16733
16734
16735# The linker used to build libraries.
16736LD=$lt_LD
16737
16738# Commands used to build an old-style archive.
16739old_archive_cmds=$lt_old_archive_cmds
16740
16741# A language specific compiler.
16742CC=$lt_compiler
16743
16744# Is the compiler the GNU compiler?
16745with_gcc=$GCC
16746
16747# Compiler flag to turn off builtin functions.
16748no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16749
16750# How to pass a linker flag through the compiler.
16751wl=$lt_lt_prog_compiler_wl
16752
16753# Additional compiler flags for building library objects.
16754pic_flag=$lt_lt_prog_compiler_pic
16755
16756# Compiler flag to prevent dynamic linking.
16757link_static_flag=$lt_lt_prog_compiler_static
16758
16759# Does compiler simultaneously support -c and -o options?
16760compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16761
16762# Whether or not to add -lc for building shared libraries.
16763build_libtool_need_lc=$archive_cmds_need_lc
16764
16765# Whether or not to disallow shared libs when runtime libs are static.
16766allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16767
16768# Compiler flag to allow reflexive dlopens.
16769export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16770
16771# Compiler flag to generate shared objects directly from archives.
16772whole_archive_flag_spec=$lt_whole_archive_flag_spec
16773
16774# Whether the compiler copes with passing no objects directly.
16775compiler_needs_object=$lt_compiler_needs_object
16776
16777# Create an old-style archive from a shared archive.
16778old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16779
16780# Create a temporary old-style archive to link instead of a shared archive.
16781old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16782
16783# Commands used to build a shared archive.
16784archive_cmds=$lt_archive_cmds
16785archive_expsym_cmds=$lt_archive_expsym_cmds
16786
16787# Commands used to build a loadable module if different from building
16788# a shared archive.
16789module_cmds=$lt_module_cmds
16790module_expsym_cmds=$lt_module_expsym_cmds
16791
16792# Whether we are building with GNU ld or not.
16793with_gnu_ld=$lt_with_gnu_ld
16794
16795# Flag that allows shared libraries with undefined symbols to be built.
16796allow_undefined_flag=$lt_allow_undefined_flag
16797
16798# Flag that enforces no undefined symbols.
16799no_undefined_flag=$lt_no_undefined_flag
16800
16801# Flag to hardcode \$libdir into a binary during linking.
16802# This must work even if \$libdir does not exist
16803hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16804
16805# If ld is used when linking, flag to hardcode \$libdir into a binary
16806# during linking.  This must work even if \$libdir does not exist.
16807hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
16808
16809# Whether we need a single "-rpath" flag with a separated argument.
16810hardcode_libdir_separator=$lt_hardcode_libdir_separator
16811
16812# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16813# DIR into the resulting binary.
16814hardcode_direct=$hardcode_direct
16815
16816# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16817# DIR into the resulting binary and the resulting library dependency is
16818# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16819# library is relocated.
16820hardcode_direct_absolute=$hardcode_direct_absolute
16821
16822# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16823# into the resulting binary.
16824hardcode_minus_L=$hardcode_minus_L
16825
16826# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16827# into the resulting binary.
16828hardcode_shlibpath_var=$hardcode_shlibpath_var
16829
16830# Set to "yes" if building a shared library automatically hardcodes DIR
16831# into the library and all subsequent libraries and executables linked
16832# against it.
16833hardcode_automatic=$hardcode_automatic
16834
16835# Set to yes if linker adds runtime paths of dependent libraries
16836# to runtime path list.
16837inherit_rpath=$inherit_rpath
16838
16839# Whether libtool must link a program against all its dependency libraries.
16840link_all_deplibs=$link_all_deplibs
16841
16842# Fix the shell variable \$srcfile for the compiler.
16843fix_srcfile_path=$lt_fix_srcfile_path
16844
16845# Set to "yes" if exported symbols are required.
16846always_export_symbols=$always_export_symbols
16847
16848# The commands to list exported symbols.
16849export_symbols_cmds=$lt_export_symbols_cmds
16850
16851# Symbols that should not be listed in the preloaded symbols.
16852exclude_expsyms=$lt_exclude_expsyms
16853
16854# Symbols that must always be exported.
16855include_expsyms=$lt_include_expsyms
16856
16857# Commands necessary for linking programs (against libraries) with templates.
16858prelink_cmds=$lt_prelink_cmds
16859
16860# Specify filename containing input files.
16861file_list_spec=$lt_file_list_spec
16862
16863# How to hardcode a shared library path into an executable.
16864hardcode_action=$hardcode_action
16865
16866# ### END LIBTOOL CONFIG
16867
16868_LT_EOF
16869
16870  case $host_os in
16871  aix3*)
16872    cat <<\_LT_EOF >> "$cfgfile"
16873# AIX sometimes has problems with the GCC collect2 program.  For some
16874# reason, if we set the COLLECT_NAMES environment variable, the problems
16875# vanish in a puff of smoke.
16876if test "X${COLLECT_NAMES+set}" != Xset; then
16877  COLLECT_NAMES=
16878  export COLLECT_NAMES
16879fi
16880_LT_EOF
16881    ;;
16882  esac
16883
16884
16885ltmain="$ac_aux_dir/ltmain.sh"
16886
16887
16888  # We use sed instead of cat because bash on DJGPP gets confused if
16889  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
16890  # text mode, it properly converts lines to CR/LF.  This bash problem
16891  # is reportedly fixed, but why not run on old versions too?
16892  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16893    || (rm -f "$cfgfile"; exit 1)
16894
16895  case $xsi_shell in
16896  yes)
16897    cat << \_LT_EOF >> "$cfgfile"
16898
16899# func_dirname file append nondir_replacement
16900# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
16901# otherwise set result to NONDIR_REPLACEMENT.
16902func_dirname ()
16903{
16904  case ${1} in
16905    */*) func_dirname_result="${1%/*}${2}" ;;
16906    *  ) func_dirname_result="${3}" ;;
16907  esac
16908}
16909
16910# func_basename file
16911func_basename ()
16912{
16913  func_basename_result="${1##*/}"
16914}
16915
16916# func_dirname_and_basename file append nondir_replacement
16917# perform func_basename and func_dirname in a single function
16918# call:
16919#   dirname:  Compute the dirname of FILE.  If nonempty,
16920#             add APPEND to the result, otherwise set result
16921#             to NONDIR_REPLACEMENT.
16922#             value returned in "$func_dirname_result"
16923#   basename: Compute filename of FILE.
16924#             value retuned in "$func_basename_result"
16925# Implementation must be kept synchronized with func_dirname
16926# and func_basename. For efficiency, we do not delegate to
16927# those functions but instead duplicate the functionality here.
16928func_dirname_and_basename ()
16929{
16930  case ${1} in
16931    */*) func_dirname_result="${1%/*}${2}" ;;
16932    *  ) func_dirname_result="${3}" ;;
16933  esac
16934  func_basename_result="${1##*/}"
16935}
16936
16937# func_stripname prefix suffix name
16938# strip PREFIX and SUFFIX off of NAME.
16939# PREFIX and SUFFIX must not contain globbing or regex special
16940# characters, hashes, percent signs, but SUFFIX may contain a leading
16941# dot (in which case that matches only a dot).
16942func_stripname ()
16943{
16944  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
16945  # positional parameters, so assign one to ordinary parameter first.
16946  func_stripname_result=${3}
16947  func_stripname_result=${func_stripname_result#"${1}"}
16948  func_stripname_result=${func_stripname_result%"${2}"}
16949}
16950
16951# func_opt_split
16952func_opt_split ()
16953{
16954  func_opt_split_opt=${1%%=*}
16955  func_opt_split_arg=${1#*=}
16956}
16957
16958# func_lo2o object
16959func_lo2o ()
16960{
16961  case ${1} in
16962    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
16963    *)    func_lo2o_result=${1} ;;
16964  esac
16965}
16966
16967# func_xform libobj-or-source
16968func_xform ()
16969{
16970  func_xform_result=${1%.*}.lo
16971}
16972
16973# func_arith arithmetic-term...
16974func_arith ()
16975{
16976  func_arith_result=$(( $* ))
16977}
16978
16979# func_len string
16980# STRING may not start with a hyphen.
16981func_len ()
16982{
16983  func_len_result=${#1}
16984}
16985
16986_LT_EOF
16987    ;;
16988  *) # Bourne compatible functions.
16989    cat << \_LT_EOF >> "$cfgfile"
16990
16991# func_dirname file append nondir_replacement
16992# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
16993# otherwise set result to NONDIR_REPLACEMENT.
16994func_dirname ()
16995{
16996  # Extract subdirectory from the argument.
16997  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
16998  if test "X$func_dirname_result" = "X${1}"; then
16999    func_dirname_result="${3}"
17000  else
17001    func_dirname_result="$func_dirname_result${2}"
17002  fi
17003}
17004
17005# func_basename file
17006func_basename ()
17007{
17008  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
17009}
17010
17011
17012# func_stripname prefix suffix name
17013# strip PREFIX and SUFFIX off of NAME.
17014# PREFIX and SUFFIX must not contain globbing or regex special
17015# characters, hashes, percent signs, but SUFFIX may contain a leading
17016# dot (in which case that matches only a dot).
17017# func_strip_suffix prefix name
17018func_stripname ()
17019{
17020  case ${2} in
17021    .*) func_stripname_result=`$ECHO "X${3}" \
17022           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
17023    *)  func_stripname_result=`$ECHO "X${3}" \
17024           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
17025  esac
17026}
17027
17028# sed scripts:
17029my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
17030my_sed_long_arg='1s/^-[^=]*=//'
17031
17032# func_opt_split
17033func_opt_split ()
17034{
17035  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
17036  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
17037}
17038
17039# func_lo2o object
17040func_lo2o ()
17041{
17042  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
17043}
17044
17045# func_xform libobj-or-source
17046func_xform ()
17047{
17048  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
17049}
17050
17051# func_arith arithmetic-term...
17052func_arith ()
17053{
17054  func_arith_result=`expr "$@"`
17055}
17056
17057# func_len string
17058# STRING may not start with a hyphen.
17059func_len ()
17060{
17061  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
17062}
17063
17064_LT_EOF
17065esac
17066
17067case $lt_shell_append in
17068  yes)
17069    cat << \_LT_EOF >> "$cfgfile"
17070
17071# func_append var value
17072# Append VALUE to the end of shell variable VAR.
17073func_append ()
17074{
17075  eval "$1+=\$2"
17076}
17077_LT_EOF
17078    ;;
17079  *)
17080    cat << \_LT_EOF >> "$cfgfile"
17081
17082# func_append var value
17083# Append VALUE to the end of shell variable VAR.
17084func_append ()
17085{
17086  eval "$1=\$$1\$2"
17087}
17088
17089_LT_EOF
17090    ;;
17091  esac
17092
17093
17094  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
17095    || (rm -f "$cfgfile"; exit 1)
17096
17097  mv -f "$cfgfile" "$ofile" ||
17098    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17099  chmod +x "$ofile"
17100
17101 ;;
17102
17103  esac
17104done # for ac_tag
17105
17106
17107{ (exit 0); exit 0; }
17108_ACEOF
17109chmod +x $CONFIG_STATUS
17110ac_clean_files=$ac_clean_files_save
17111
17112test $ac_write_fail = 0 ||
17113  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
17114$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
17115   { (exit 1); exit 1; }; }
17116
17117
17118# configure is writing to config.log, and then calls config.status.
17119# config.status does its own redirection, appending to config.log.
17120# Unfortunately, on DOS this fails, as config.log is still kept open
17121# by configure, so config.status won't be able to write to it; its
17122# output is simply discarded.  So we exec the FD to /dev/null,
17123# effectively closing config.log, so it can be properly (re)opened and
17124# appended to by config.status.  When coming back to configure, we
17125# need to make the FD available again.
17126if test "$no_create" != yes; then
17127  ac_cs_success=:
17128  ac_config_status_args=
17129  test "$silent" = yes &&
17130    ac_config_status_args="$ac_config_status_args --quiet"
17131  exec 5>/dev/null
17132  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17133  exec 5>>config.log
17134  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17135  # would make configure fail if this is the last instruction.
17136  $ac_cs_success || { (exit 1); exit 1; }
17137fi
17138if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17139  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17140$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17141fi
17142
17143
17144echo "CFLAGS=$CFLAGS"
17145
17146