1@%:@! /bin/sh
2@%:@ Guess values for system-dependent variables and create Makefiles.
3@%:@ Generated by GNU Autoconf 2.68 for knc 1.7.
4@%:@
5@%:@ Report bugs to <elric@imrryr.org>.
6@%:@
7@%:@
8@%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9@%:@ 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10@%:@ Foundation, Inc.
11@%:@
12@%:@
13@%:@ This configure script is free software; the Free Software Foundation
14@%:@ gives unlimited permission to copy, distribute and modify it.
15## -------------------- ##
16## M4sh Initialization. ##
17## -------------------- ##
18
19# Be more Bourne compatible
20DUALCASE=1; export DUALCASE # for MKS sh
21if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22  emulate sh
23  NULLCMD=:
24  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25  # is contrary to our usage.  Disable this feature.
26  alias -g '${1+"$@"}'='"$@"'
27  setopt NO_GLOB_SUBST
28else
29  case `(set -o) 2>/dev/null` in @%:@(
30  *posix*) :
31    set -o posix ;; @%:@(
32  *) :
33     ;;
34esac
35fi
36
37
38as_nl='
39'
40export as_nl
41# Printing a long string crashes Solaris 7 /usr/bin/printf.
42as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45# Prefer a ksh shell builtin over an external printf program on Solaris,
46# but without wasting forks for bash or zsh.
47if test -z "$BASH_VERSION$ZSH_VERSION" \
48    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49  as_echo='print -r --'
50  as_echo_n='print -rn --'
51elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52  as_echo='printf %s\n'
53  as_echo_n='printf %s'
54else
55  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57    as_echo_n='/usr/ucb/echo -n'
58  else
59    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60    as_echo_n_body='eval
61      arg=$1;
62      case $arg in @%:@(
63      *"$as_nl"*)
64	expr "X$arg" : "X\\(.*\\)$as_nl";
65	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66      esac;
67      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68    '
69    export as_echo_n_body
70    as_echo_n='sh -c $as_echo_n_body as_echo'
71  fi
72  export as_echo_body
73  as_echo='sh -c $as_echo_body as_echo'
74fi
75
76# The user is always right.
77if test "${PATH_SEPARATOR+set}" != set; then
78  PATH_SEPARATOR=:
79  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81      PATH_SEPARATOR=';'
82  }
83fi
84
85
86# IFS
87# We need space, tab and new line, in precisely that order.  Quoting is
88# there to prevent editors from complaining about space-tab.
89# (If _AS_PATH_WALK were called with IFS unset, it would disable word
90# splitting by setting IFS to empty value.)
91IFS=" ""	$as_nl"
92
93# Find who we are.  Look in the path if we contain no directory separator.
94as_myself=
95case $0 in @%:@((
96  *[\\/]* ) as_myself=$0 ;;
97  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98for as_dir in $PATH
99do
100  IFS=$as_save_IFS
101  test -z "$as_dir" && as_dir=.
102    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103  done
104IFS=$as_save_IFS
105
106     ;;
107esac
108# We did not find ourselves, most probably we were run as `sh COMMAND'
109# in which case we are not to be found in the path.
110if test "x$as_myself" = x; then
111  as_myself=$0
112fi
113if test ! -f "$as_myself"; then
114  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115  exit 1
116fi
117
118# Unset variables that we do not need and which cause bugs (e.g. in
119# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
120# suppresses any "Segmentation fault" message there.  '((' could
121# trigger a bug in pdksh 5.2.14.
122for as_var in BASH_ENV ENV MAIL MAILPATH
123do eval test x\${$as_var+set} = xset \
124  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125done
126PS1='$ '
127PS2='> '
128PS4='+ '
129
130# NLS nuisances.
131LC_ALL=C
132export LC_ALL
133LANGUAGE=C
134export LANGUAGE
135
136# CDPATH.
137(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138
139if test "x$CONFIG_SHELL" = x; then
140  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141  emulate sh
142  NULLCMD=:
143  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144  # is contrary to our usage.  Disable this feature.
145  alias -g '\${1+\"\$@\"}'='\"\$@\"'
146  setopt NO_GLOB_SUBST
147else
148  case \`(set -o) 2>/dev/null\` in @%:@(
149  *posix*) :
150    set -o posix ;; @%:@(
151  *) :
152     ;;
153esac
154fi
155"
156  as_required="as_fn_return () { (exit \$1); }
157as_fn_success () { as_fn_return 0; }
158as_fn_failure () { as_fn_return 1; }
159as_fn_ret_success () { return 0; }
160as_fn_ret_failure () { return 1; }
161
162exitcode=0
163as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168
169else
170  exitcode=1; echo positional parameters were not saved.
171fi
172test x\$exitcode = x0 || exit 1"
173  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177test \$(( 1 + 1 )) = 2 || exit 1"
178  if (eval "$as_required") 2>/dev/null; then :
179  as_have_required=yes
180else
181  as_have_required=no
182fi
183  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
184
185else
186  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
187as_found=false
188for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
189do
190  IFS=$as_save_IFS
191  test -z "$as_dir" && as_dir=.
192  as_found=:
193  case $as_dir in @%:@(
194	 /*)
195	   for as_base in sh bash ksh sh5; do
196	     # Try only shells that exist, to save several forks.
197	     as_shell=$as_dir/$as_base
198	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
199		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
200  CONFIG_SHELL=$as_shell as_have_required=yes
201		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
202  break 2
203fi
204fi
205	   done;;
206       esac
207  as_found=false
208done
209$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
210	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
211  CONFIG_SHELL=$SHELL as_have_required=yes
212fi; }
213IFS=$as_save_IFS
214
215
216      if test "x$CONFIG_SHELL" != x; then :
217  # We cannot yet assume a decent shell, so we have to provide a
218	# neutralization value for shells without unset; and this also
219	# works around shells that cannot unset nonexistent variables.
220	# Preserve -v and -x to the replacement shell.
221	BASH_ENV=/dev/null
222	ENV=/dev/null
223	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
224	export CONFIG_SHELL
225	case $- in @%:@ ((((
226	  *v*x* | *x*v* ) as_opts=-vx ;;
227	  *v* ) as_opts=-v ;;
228	  *x* ) as_opts=-x ;;
229	  * ) as_opts= ;;
230	esac
231	exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
232fi
233
234    if test x$as_have_required = xno; then :
235  $as_echo "$0: This script requires a shell more modern than all"
236  $as_echo "$0: the shells that I found on your system."
237  if test x${ZSH_VERSION+set} = xset ; then
238    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
239    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
240  else
241    $as_echo "$0: Please tell bug-autoconf@gnu.org and elric@imrryr.org
242$0: about your system, including any error possibly output
243$0: before this message. Then install a modern shell, or
244$0: manually run the script under such a shell if you do
245$0: have one."
246  fi
247  exit 1
248fi
249fi
250fi
251SHELL=${CONFIG_SHELL-/bin/sh}
252export SHELL
253# Unset more variables known to interfere with behavior of common tools.
254CLICOLOR_FORCE= GREP_OPTIONS=
255unset CLICOLOR_FORCE GREP_OPTIONS
256
257## --------------------- ##
258## M4sh Shell Functions. ##
259## --------------------- ##
260@%:@ as_fn_unset VAR
261@%:@ ---------------
262@%:@ Portably unset VAR.
263as_fn_unset ()
264{
265  { eval $1=; unset $1;}
266}
267as_unset=as_fn_unset
268
269@%:@ as_fn_set_status STATUS
270@%:@ -----------------------
271@%:@ Set @S|@? to STATUS, without forking.
272as_fn_set_status ()
273{
274  return $1
275} @%:@ as_fn_set_status
276
277@%:@ as_fn_exit STATUS
278@%:@ -----------------
279@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
280as_fn_exit ()
281{
282  set +e
283  as_fn_set_status $1
284  exit $1
285} @%:@ as_fn_exit
286
287@%:@ as_fn_mkdir_p
288@%:@ -------------
289@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
290as_fn_mkdir_p ()
291{
292
293  case $as_dir in #(
294  -*) as_dir=./$as_dir;;
295  esac
296  test -d "$as_dir" || eval $as_mkdir_p || {
297    as_dirs=
298    while :; do
299      case $as_dir in #(
300      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
301      *) as_qdir=$as_dir;;
302      esac
303      as_dirs="'$as_qdir' $as_dirs"
304      as_dir=`$as_dirname -- "$as_dir" ||
305$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
306	 X"$as_dir" : 'X\(//\)[^/]' \| \
307	 X"$as_dir" : 'X\(//\)$' \| \
308	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
309$as_echo X"$as_dir" |
310    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
311	    s//\1/
312	    q
313	  }
314	  /^X\(\/\/\)[^/].*/{
315	    s//\1/
316	    q
317	  }
318	  /^X\(\/\/\)$/{
319	    s//\1/
320	    q
321	  }
322	  /^X\(\/\).*/{
323	    s//\1/
324	    q
325	  }
326	  s/.*/./; q'`
327      test -d "$as_dir" && break
328    done
329    test -z "$as_dirs" || eval "mkdir $as_dirs"
330  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
331
332
333} @%:@ as_fn_mkdir_p
334@%:@ as_fn_append VAR VALUE
335@%:@ ----------------------
336@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
337@%:@ advantage of any shell optimizations that allow amortized linear growth over
338@%:@ repeated appends, instead of the typical quadratic growth present in naive
339@%:@ implementations.
340if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
341  eval 'as_fn_append ()
342  {
343    eval $1+=\$2
344  }'
345else
346  as_fn_append ()
347  {
348    eval $1=\$$1\$2
349  }
350fi # as_fn_append
351
352@%:@ as_fn_arith ARG...
353@%:@ ------------------
354@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
355@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
356@%:@ must be portable across @S|@(()) and expr.
357if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
358  eval 'as_fn_arith ()
359  {
360    as_val=$(( $* ))
361  }'
362else
363  as_fn_arith ()
364  {
365    as_val=`expr "$@" || test $? -eq 1`
366  }
367fi # as_fn_arith
368
369
370@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
371@%:@ ----------------------------------------
372@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
373@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
374@%:@ script with STATUS, using 1 if that was 0.
375as_fn_error ()
376{
377  as_status=$1; test $as_status -eq 0 && as_status=1
378  if test "$4"; then
379    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
380    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
381  fi
382  $as_echo "$as_me: error: $2" >&2
383  as_fn_exit $as_status
384} @%:@ as_fn_error
385
386if expr a : '\(a\)' >/dev/null 2>&1 &&
387   test "X`expr 00001 : '.*\(...\)'`" = X001; then
388  as_expr=expr
389else
390  as_expr=false
391fi
392
393if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
394  as_basename=basename
395else
396  as_basename=false
397fi
398
399if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
400  as_dirname=dirname
401else
402  as_dirname=false
403fi
404
405as_me=`$as_basename -- "$0" ||
406$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
407	 X"$0" : 'X\(//\)$' \| \
408	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
409$as_echo X/"$0" |
410    sed '/^.*\/\([^/][^/]*\)\/*$/{
411	    s//\1/
412	    q
413	  }
414	  /^X\/\(\/\/\)$/{
415	    s//\1/
416	    q
417	  }
418	  /^X\/\(\/\).*/{
419	    s//\1/
420	    q
421	  }
422	  s/.*/./; q'`
423
424# Avoid depending upon Character Ranges.
425as_cr_letters='abcdefghijklmnopqrstuvwxyz'
426as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
427as_cr_Letters=$as_cr_letters$as_cr_LETTERS
428as_cr_digits='0123456789'
429as_cr_alnum=$as_cr_Letters$as_cr_digits
430
431
432  as_lineno_1=$LINENO as_lineno_1a=$LINENO
433  as_lineno_2=$LINENO as_lineno_2a=$LINENO
434  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
435  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
436  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
437  sed -n '
438    p
439    /[$]LINENO/=
440  ' <$as_myself |
441    sed '
442      s/[$]LINENO.*/&-/
443      t lineno
444      b
445      :lineno
446      N
447      :loop
448      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
449      t loop
450      s/-\n.*//
451    ' >$as_me.lineno &&
452  chmod +x "$as_me.lineno" ||
453    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
454
455  # Don't try to exec as it changes $[0], causing all sort of problems
456  # (the dirname of $[0] is not the place where we might find the
457  # original and so on.  Autoconf is especially sensitive to this).
458  . "./$as_me.lineno"
459  # Exit status is that of the last command.
460  exit
461}
462
463ECHO_C= ECHO_N= ECHO_T=
464case `echo -n x` in @%:@(((((
465-n*)
466  case `echo 'xy\c'` in
467  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
468  xy)  ECHO_C='\c';;
469  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
470       ECHO_T='	';;
471  esac;;
472*)
473  ECHO_N='-n';;
474esac
475
476rm -f conf$$ conf$$.exe conf$$.file
477if test -d conf$$.dir; then
478  rm -f conf$$.dir/conf$$.file
479else
480  rm -f conf$$.dir
481  mkdir conf$$.dir 2>/dev/null
482fi
483if (echo >conf$$.file) 2>/dev/null; then
484  if ln -s conf$$.file conf$$ 2>/dev/null; then
485    as_ln_s='ln -s'
486    # ... but there are two gotchas:
487    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
488    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
489    # In both cases, we have to default to `cp -p'.
490    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
491      as_ln_s='cp -p'
492  elif ln conf$$.file conf$$ 2>/dev/null; then
493    as_ln_s=ln
494  else
495    as_ln_s='cp -p'
496  fi
497else
498  as_ln_s='cp -p'
499fi
500rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
501rmdir conf$$.dir 2>/dev/null
502
503if mkdir -p . 2>/dev/null; then
504  as_mkdir_p='mkdir -p "$as_dir"'
505else
506  test -d ./-p && rmdir ./-p
507  as_mkdir_p=false
508fi
509
510if test -x / >/dev/null 2>&1; then
511  as_test_x='test -x'
512else
513  if ls -dL / >/dev/null 2>&1; then
514    as_ls_L_option=L
515  else
516    as_ls_L_option=
517  fi
518  as_test_x='
519    eval sh -c '\''
520      if test -d "$1"; then
521	test -d "$1/.";
522      else
523	case $1 in @%:@(
524	-*)set "./$1";;
525	esac;
526	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
527	???[sx]*):;;*)false;;esac;fi
528    '\'' sh
529  '
530fi
531as_executable_p=$as_test_x
532
533# Sed expression to map a string onto a valid CPP name.
534as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
535
536# Sed expression to map a string onto a valid variable name.
537as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
538
539
540
541# Check that we are running under the correct shell.
542SHELL=${CONFIG_SHELL-/bin/sh}
543
544case X$lt_ECHO in
545X*--fallback-echo)
546  # Remove one level of quotation (which was required for Make).
547  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
548  ;;
549esac
550
551ECHO=${lt_ECHO-echo}
552if test "X$1" = X--no-reexec; then
553  # Discard the --no-reexec flag, and continue.
554  shift
555elif test "X$1" = X--fallback-echo; then
556  # Avoid inline document here, it may be left over
557  :
558elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
559  # Yippee, $ECHO works!
560  :
561else
562  # Restart under the correct shell.
563  exec $SHELL "$0" --no-reexec ${1+"$@"}
564fi
565
566if test "X$1" = X--fallback-echo; then
567  # used as fallback echo
568  shift
569  cat <<_LT_EOF
570$*
571_LT_EOF
572  exit 0
573fi
574
575# The HP-UX ksh and POSIX shell print the target directory to stdout
576# if CDPATH is set.
577(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
578
579if test -z "$lt_ECHO"; then
580  if test "X${echo_test_string+set}" != Xset; then
581    # find a string as large as possible, as long as the shell can cope with it
582    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
583      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
584      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
585	 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
586      then
587        break
588      fi
589    done
590  fi
591
592  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
593     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
594     test "X$echo_testing_string" = "X$echo_test_string"; then
595    :
596  else
597    # The Solaris, AIX, and Digital Unix default echo programs unquote
598    # backslashes.  This makes it impossible to quote backslashes using
599    #   echo "$something" | sed 's/\\/\\\\/g'
600    #
601    # So, first we look for a working echo in the user's PATH.
602
603    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
604    for dir in $PATH /usr/ucb; do
605      IFS="$lt_save_ifs"
606      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
607         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
608         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
609         test "X$echo_testing_string" = "X$echo_test_string"; then
610        ECHO="$dir/echo"
611        break
612      fi
613    done
614    IFS="$lt_save_ifs"
615
616    if test "X$ECHO" = Xecho; then
617      # We didn't find a better echo, so look for alternatives.
618      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
619         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
620         test "X$echo_testing_string" = "X$echo_test_string"; then
621        # This shell has a builtin print -r that does the trick.
622        ECHO='print -r'
623      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
624	   test "X$CONFIG_SHELL" != X/bin/ksh; then
625        # If we have ksh, try running configure again with it.
626        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
627        export ORIGINAL_CONFIG_SHELL
628        CONFIG_SHELL=/bin/ksh
629        export CONFIG_SHELL
630        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
631      else
632        # Try using printf.
633        ECHO='printf %s\n'
634        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
635	   echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
636	   test "X$echo_testing_string" = "X$echo_test_string"; then
637	  # Cool, printf works
638	  :
639        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
640	     test "X$echo_testing_string" = 'X\t' &&
641	     echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
642	     test "X$echo_testing_string" = "X$echo_test_string"; then
643	  CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
644	  export CONFIG_SHELL
645	  SHELL="$CONFIG_SHELL"
646	  export SHELL
647	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
648        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
649	     test "X$echo_testing_string" = 'X\t' &&
650	     echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
651	     test "X$echo_testing_string" = "X$echo_test_string"; then
652	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
653        else
654	  # maybe with a smaller string...
655	  prev=:
656
657	  for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
658	    if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
659	    then
660	      break
661	    fi
662	    prev="$cmd"
663	  done
664
665	  if test "$prev" != 'sed 50q "$0"'; then
666	    echo_test_string=`eval $prev`
667	    export echo_test_string
668	    exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
669	  else
670	    # Oops.  We lost completely, so just stick with echo.
671	    ECHO=echo
672	  fi
673        fi
674      fi
675    fi
676  fi
677fi
678
679# Copy echo and quote the copy suitably for passing to libtool from
680# the Makefile, instead of quoting the original, which is used later.
681lt_ECHO=$ECHO
682if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
683   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
684fi
685
686
687
688
689test -n "$DJDIR" || exec 7<&0 </dev/null
690exec 6>&1
691
692# Name of the host.
693# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
694# so uname gets run too.
695ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
696
697#
698# Initializations.
699#
700ac_default_prefix=/usr/local
701ac_clean_files=
702ac_config_libobj_dir=.
703LIB@&t@OBJS=
704cross_compiling=no
705subdirs=
706MFLAGS=
707MAKEFLAGS=
708
709# Identity of this package.
710PACKAGE_NAME='knc'
711PACKAGE_TARNAME='knc'
712PACKAGE_VERSION='1.7'
713PACKAGE_STRING='knc 1.7'
714PACKAGE_BUGREPORT='elric@imrryr.org'
715PACKAGE_URL=''
716
717ac_unique_file="bin/gssstdio.c"
718# Factoring default headers for most tests.
719ac_includes_default="\
720#include <stdio.h>
721#ifdef HAVE_SYS_TYPES_H
722# include <sys/types.h>
723#endif
724#ifdef HAVE_SYS_STAT_H
725# include <sys/stat.h>
726#endif
727#ifdef STDC_HEADERS
728# include <stdlib.h>
729# include <stddef.h>
730#else
731# ifdef HAVE_STDLIB_H
732#  include <stdlib.h>
733# endif
734#endif
735#ifdef HAVE_STRING_H
736# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
737#  include <memory.h>
738# endif
739# include <string.h>
740#endif
741#ifdef HAVE_STRINGS_H
742# include <strings.h>
743#endif
744#ifdef HAVE_INTTYPES_H
745# include <inttypes.h>
746#endif
747#ifdef HAVE_STDINT_H
748# include <stdint.h>
749#endif
750#ifdef HAVE_UNISTD_H
751# include <unistd.h>
752#endif"
753
754ac_subst_vars='am__EXEEXT_FALSE
755am__EXEEXT_TRUE
756LTLIBOBJS
757LIB@&t@OBJS
758WFLAGS
759DEVELOPER_MODE_FALSE
760DEVELOPER_MODE_TRUE
761ENABLE_SHARED_FALSE
762ENABLE_SHARED_TRUE
763OTOOL64
764OTOOL
765LIPO
766NMEDIT
767DSYMUTIL
768lt_ECHO
769RANLIB
770AR
771OBJDUMP
772LN_S
773NM
774ac_ct_DUMPBIN
775DUMPBIN
776LD
777FGREP
778EGREP
779GREP
780SED
781host_os
782host_vendor
783host_cpu
784host
785build_os
786build_vendor
787build_cpu
788build
789LIBTOOL
790CPP
791am__fastdepCC_FALSE
792am__fastdepCC_TRUE
793CCDEPMODE
794AMDEPBACKSLASH
795AMDEP_FALSE
796AMDEP_TRUE
797am__quote
798am__include
799DEPDIR
800OBJEXT
801EXEEXT
802ac_ct_CC
803CPPFLAGS
804LDFLAGS
805CFLAGS
806CC
807MAINT
808MAINTAINER_MODE_FALSE
809MAINTAINER_MODE_TRUE
810am__untar
811am__tar
812AMTAR
813am__leading_dot
814SET_MAKE
815AWK
816mkdir_p
817MKDIR_P
818INSTALL_STRIP_PROGRAM
819STRIP
820install_sh
821MAKEINFO
822AUTOHEADER
823AUTOMAKE
824AUTOCONF
825ACLOCAL
826VERSION
827PACKAGE
828CYGPATH_W
829am__isrc
830INSTALL_DATA
831INSTALL_SCRIPT
832INSTALL_PROGRAM
833target_alias
834host_alias
835build_alias
836LIBS
837ECHO_T
838ECHO_N
839ECHO_C
840DEFS
841mandir
842localedir
843libdir
844psdir
845pdfdir
846dvidir
847htmldir
848infodir
849docdir
850oldincludedir
851includedir
852localstatedir
853sharedstatedir
854sysconfdir
855datadir
856datarootdir
857libexecdir
858sbindir
859bindir
860program_transform_name
861prefix
862exec_prefix
863PACKAGE_URL
864PACKAGE_BUGREPORT
865PACKAGE_STRING
866PACKAGE_VERSION
867PACKAGE_TARNAME
868PACKAGE_NAME
869PATH_SEPARATOR
870SHELL'
871ac_subst_files=''
872ac_user_opts='
873enable_option_checking
874enable_maintainer_mode
875enable_dependency_tracking
876enable_shared
877enable_static
878with_pic
879enable_fast_install
880with_gnu_ld
881enable_libtool_lock
882with_gss_dir
883enable_developer
884'
885      ac_precious_vars='build_alias
886host_alias
887target_alias
888CC
889CFLAGS
890LDFLAGS
891LIBS
892CPPFLAGS
893CPP'
894
895
896# Initialize some variables set by options.
897ac_init_help=
898ac_init_version=false
899ac_unrecognized_opts=
900ac_unrecognized_sep=
901# The variables have the same names as the options, with
902# dashes changed to underlines.
903cache_file=/dev/null
904exec_prefix=NONE
905no_create=
906no_recursion=
907prefix=NONE
908program_prefix=NONE
909program_suffix=NONE
910program_transform_name=s,x,x,
911silent=
912site=
913srcdir=
914verbose=
915x_includes=NONE
916x_libraries=NONE
917
918# Installation directory options.
919# These are left unexpanded so users can "make install exec_prefix=/foo"
920# and all the variables that are supposed to be based on exec_prefix
921# by default will actually change.
922# Use braces instead of parens because sh, perl, etc. also accept them.
923# (The list follows the same order as the GNU Coding Standards.)
924bindir='${exec_prefix}/bin'
925sbindir='${exec_prefix}/sbin'
926libexecdir='${exec_prefix}/libexec'
927datarootdir='${prefix}/share'
928datadir='${datarootdir}'
929sysconfdir='${prefix}/etc'
930sharedstatedir='${prefix}/com'
931localstatedir='${prefix}/var'
932includedir='${prefix}/include'
933oldincludedir='/usr/include'
934docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
935infodir='${datarootdir}/info'
936htmldir='${docdir}'
937dvidir='${docdir}'
938pdfdir='${docdir}'
939psdir='${docdir}'
940libdir='${exec_prefix}/lib'
941localedir='${datarootdir}/locale'
942mandir='${datarootdir}/man'
943
944ac_prev=
945ac_dashdash=
946for ac_option
947do
948  # If the previous option needs an argument, assign it.
949  if test -n "$ac_prev"; then
950    eval $ac_prev=\$ac_option
951    ac_prev=
952    continue
953  fi
954
955  case $ac_option in
956  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
957  *=)   ac_optarg= ;;
958  *)    ac_optarg=yes ;;
959  esac
960
961  # Accept the important Cygnus configure options, so we can diagnose typos.
962
963  case $ac_dashdash$ac_option in
964  --)
965    ac_dashdash=yes ;;
966
967  -bindir | --bindir | --bindi | --bind | --bin | --bi)
968    ac_prev=bindir ;;
969  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
970    bindir=$ac_optarg ;;
971
972  -build | --build | --buil | --bui | --bu)
973    ac_prev=build_alias ;;
974  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
975    build_alias=$ac_optarg ;;
976
977  -cache-file | --cache-file | --cache-fil | --cache-fi \
978  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
979    ac_prev=cache_file ;;
980  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
981  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
982    cache_file=$ac_optarg ;;
983
984  --config-cache | -C)
985    cache_file=config.cache ;;
986
987  -datadir | --datadir | --datadi | --datad)
988    ac_prev=datadir ;;
989  -datadir=* | --datadir=* | --datadi=* | --datad=*)
990    datadir=$ac_optarg ;;
991
992  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
993  | --dataroo | --dataro | --datar)
994    ac_prev=datarootdir ;;
995  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
996  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
997    datarootdir=$ac_optarg ;;
998
999  -disable-* | --disable-*)
1000    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1001    # Reject names that are not valid shell variable names.
1002    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1003      as_fn_error $? "invalid feature name: $ac_useropt"
1004    ac_useropt_orig=$ac_useropt
1005    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1006    case $ac_user_opts in
1007      *"
1008"enable_$ac_useropt"
1009"*) ;;
1010      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1011	 ac_unrecognized_sep=', ';;
1012    esac
1013    eval enable_$ac_useropt=no ;;
1014
1015  -docdir | --docdir | --docdi | --doc | --do)
1016    ac_prev=docdir ;;
1017  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1018    docdir=$ac_optarg ;;
1019
1020  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1021    ac_prev=dvidir ;;
1022  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1023    dvidir=$ac_optarg ;;
1024
1025  -enable-* | --enable-*)
1026    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1027    # Reject names that are not valid shell variable names.
1028    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1029      as_fn_error $? "invalid feature name: $ac_useropt"
1030    ac_useropt_orig=$ac_useropt
1031    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1032    case $ac_user_opts in
1033      *"
1034"enable_$ac_useropt"
1035"*) ;;
1036      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1037	 ac_unrecognized_sep=', ';;
1038    esac
1039    eval enable_$ac_useropt=\$ac_optarg ;;
1040
1041  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1042  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1043  | --exec | --exe | --ex)
1044    ac_prev=exec_prefix ;;
1045  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1046  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1047  | --exec=* | --exe=* | --ex=*)
1048    exec_prefix=$ac_optarg ;;
1049
1050  -gas | --gas | --ga | --g)
1051    # Obsolete; use --with-gas.
1052    with_gas=yes ;;
1053
1054  -help | --help | --hel | --he | -h)
1055    ac_init_help=long ;;
1056  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1057    ac_init_help=recursive ;;
1058  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1059    ac_init_help=short ;;
1060
1061  -host | --host | --hos | --ho)
1062    ac_prev=host_alias ;;
1063  -host=* | --host=* | --hos=* | --ho=*)
1064    host_alias=$ac_optarg ;;
1065
1066  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1067    ac_prev=htmldir ;;
1068  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1069  | --ht=*)
1070    htmldir=$ac_optarg ;;
1071
1072  -includedir | --includedir | --includedi | --included | --include \
1073  | --includ | --inclu | --incl | --inc)
1074    ac_prev=includedir ;;
1075  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1076  | --includ=* | --inclu=* | --incl=* | --inc=*)
1077    includedir=$ac_optarg ;;
1078
1079  -infodir | --infodir | --infodi | --infod | --info | --inf)
1080    ac_prev=infodir ;;
1081  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1082    infodir=$ac_optarg ;;
1083
1084  -libdir | --libdir | --libdi | --libd)
1085    ac_prev=libdir ;;
1086  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1087    libdir=$ac_optarg ;;
1088
1089  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1090  | --libexe | --libex | --libe)
1091    ac_prev=libexecdir ;;
1092  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1093  | --libexe=* | --libex=* | --libe=*)
1094    libexecdir=$ac_optarg ;;
1095
1096  -localedir | --localedir | --localedi | --localed | --locale)
1097    ac_prev=localedir ;;
1098  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1099    localedir=$ac_optarg ;;
1100
1101  -localstatedir | --localstatedir | --localstatedi | --localstated \
1102  | --localstate | --localstat | --localsta | --localst | --locals)
1103    ac_prev=localstatedir ;;
1104  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1105  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1106    localstatedir=$ac_optarg ;;
1107
1108  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1109    ac_prev=mandir ;;
1110  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1111    mandir=$ac_optarg ;;
1112
1113  -nfp | --nfp | --nf)
1114    # Obsolete; use --without-fp.
1115    with_fp=no ;;
1116
1117  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1118  | --no-cr | --no-c | -n)
1119    no_create=yes ;;
1120
1121  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1122  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1123    no_recursion=yes ;;
1124
1125  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1126  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1127  | --oldin | --oldi | --old | --ol | --o)
1128    ac_prev=oldincludedir ;;
1129  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1130  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1131  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1132    oldincludedir=$ac_optarg ;;
1133
1134  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1135    ac_prev=prefix ;;
1136  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1137    prefix=$ac_optarg ;;
1138
1139  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1140  | --program-pre | --program-pr | --program-p)
1141    ac_prev=program_prefix ;;
1142  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1143  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1144    program_prefix=$ac_optarg ;;
1145
1146  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1147  | --program-suf | --program-su | --program-s)
1148    ac_prev=program_suffix ;;
1149  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1150  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1151    program_suffix=$ac_optarg ;;
1152
1153  -program-transform-name | --program-transform-name \
1154  | --program-transform-nam | --program-transform-na \
1155  | --program-transform-n | --program-transform- \
1156  | --program-transform | --program-transfor \
1157  | --program-transfo | --program-transf \
1158  | --program-trans | --program-tran \
1159  | --progr-tra | --program-tr | --program-t)
1160    ac_prev=program_transform_name ;;
1161  -program-transform-name=* | --program-transform-name=* \
1162  | --program-transform-nam=* | --program-transform-na=* \
1163  | --program-transform-n=* | --program-transform-=* \
1164  | --program-transform=* | --program-transfor=* \
1165  | --program-transfo=* | --program-transf=* \
1166  | --program-trans=* | --program-tran=* \
1167  | --progr-tra=* | --program-tr=* | --program-t=*)
1168    program_transform_name=$ac_optarg ;;
1169
1170  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1171    ac_prev=pdfdir ;;
1172  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1173    pdfdir=$ac_optarg ;;
1174
1175  -psdir | --psdir | --psdi | --psd | --ps)
1176    ac_prev=psdir ;;
1177  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1178    psdir=$ac_optarg ;;
1179
1180  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1181  | -silent | --silent | --silen | --sile | --sil)
1182    silent=yes ;;
1183
1184  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1185    ac_prev=sbindir ;;
1186  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1187  | --sbi=* | --sb=*)
1188    sbindir=$ac_optarg ;;
1189
1190  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1191  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1192  | --sharedst | --shareds | --shared | --share | --shar \
1193  | --sha | --sh)
1194    ac_prev=sharedstatedir ;;
1195  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1196  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1197  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1198  | --sha=* | --sh=*)
1199    sharedstatedir=$ac_optarg ;;
1200
1201  -site | --site | --sit)
1202    ac_prev=site ;;
1203  -site=* | --site=* | --sit=*)
1204    site=$ac_optarg ;;
1205
1206  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1207    ac_prev=srcdir ;;
1208  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1209    srcdir=$ac_optarg ;;
1210
1211  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1212  | --syscon | --sysco | --sysc | --sys | --sy)
1213    ac_prev=sysconfdir ;;
1214  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1215  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1216    sysconfdir=$ac_optarg ;;
1217
1218  -target | --target | --targe | --targ | --tar | --ta | --t)
1219    ac_prev=target_alias ;;
1220  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1221    target_alias=$ac_optarg ;;
1222
1223  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1224    verbose=yes ;;
1225
1226  -version | --version | --versio | --versi | --vers | -V)
1227    ac_init_version=: ;;
1228
1229  -with-* | --with-*)
1230    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1231    # Reject names that are not valid shell variable names.
1232    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1233      as_fn_error $? "invalid package name: $ac_useropt"
1234    ac_useropt_orig=$ac_useropt
1235    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1236    case $ac_user_opts in
1237      *"
1238"with_$ac_useropt"
1239"*) ;;
1240      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1241	 ac_unrecognized_sep=', ';;
1242    esac
1243    eval with_$ac_useropt=\$ac_optarg ;;
1244
1245  -without-* | --without-*)
1246    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1247    # Reject names that are not valid shell variable names.
1248    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1249      as_fn_error $? "invalid package name: $ac_useropt"
1250    ac_useropt_orig=$ac_useropt
1251    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1252    case $ac_user_opts in
1253      *"
1254"with_$ac_useropt"
1255"*) ;;
1256      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1257	 ac_unrecognized_sep=', ';;
1258    esac
1259    eval with_$ac_useropt=no ;;
1260
1261  --x)
1262    # Obsolete; use --with-x.
1263    with_x=yes ;;
1264
1265  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1266  | --x-incl | --x-inc | --x-in | --x-i)
1267    ac_prev=x_includes ;;
1268  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1269  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1270    x_includes=$ac_optarg ;;
1271
1272  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1273  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1274    ac_prev=x_libraries ;;
1275  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1276  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1277    x_libraries=$ac_optarg ;;
1278
1279  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1280Try \`$0 --help' for more information"
1281    ;;
1282
1283  *=*)
1284    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1285    # Reject names that are not valid shell variable names.
1286    case $ac_envvar in #(
1287      '' | [0-9]* | *[!_$as_cr_alnum]* )
1288      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1289    esac
1290    eval $ac_envvar=\$ac_optarg
1291    export $ac_envvar ;;
1292
1293  *)
1294    # FIXME: should be removed in autoconf 3.0.
1295    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1296    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1297      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1298    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1299    ;;
1300
1301  esac
1302done
1303
1304if test -n "$ac_prev"; then
1305  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1306  as_fn_error $? "missing argument to $ac_option"
1307fi
1308
1309if test -n "$ac_unrecognized_opts"; then
1310  case $enable_option_checking in
1311    no) ;;
1312    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1313    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1314  esac
1315fi
1316
1317# Check all directory arguments for consistency.
1318for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1319		datadir sysconfdir sharedstatedir localstatedir includedir \
1320		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1321		libdir localedir mandir
1322do
1323  eval ac_val=\$$ac_var
1324  # Remove trailing slashes.
1325  case $ac_val in
1326    */ )
1327      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1328      eval $ac_var=\$ac_val;;
1329  esac
1330  # Be sure to have absolute directory names.
1331  case $ac_val in
1332    [\\/$]* | ?:[\\/]* )  continue;;
1333    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1334  esac
1335  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1336done
1337
1338# There might be people who depend on the old broken behavior: `$host'
1339# used to hold the argument of --host etc.
1340# FIXME: To remove some day.
1341build=$build_alias
1342host=$host_alias
1343target=$target_alias
1344
1345# FIXME: To remove some day.
1346if test "x$host_alias" != x; then
1347  if test "x$build_alias" = x; then
1348    cross_compiling=maybe
1349    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1350    If a cross compiler is detected then cross compile mode will be used" >&2
1351  elif test "x$build_alias" != "x$host_alias"; then
1352    cross_compiling=yes
1353  fi
1354fi
1355
1356ac_tool_prefix=
1357test -n "$host_alias" && ac_tool_prefix=$host_alias-
1358
1359test "$silent" = yes && exec 6>/dev/null
1360
1361
1362ac_pwd=`pwd` && test -n "$ac_pwd" &&
1363ac_ls_di=`ls -di .` &&
1364ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1365  as_fn_error $? "working directory cannot be determined"
1366test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1367  as_fn_error $? "pwd does not report name of working directory"
1368
1369
1370# Find the source files, if location was not specified.
1371if test -z "$srcdir"; then
1372  ac_srcdir_defaulted=yes
1373  # Try the directory containing this script, then the parent directory.
1374  ac_confdir=`$as_dirname -- "$as_myself" ||
1375$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1376	 X"$as_myself" : 'X\(//\)[^/]' \| \
1377	 X"$as_myself" : 'X\(//\)$' \| \
1378	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1379$as_echo X"$as_myself" |
1380    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1381	    s//\1/
1382	    q
1383	  }
1384	  /^X\(\/\/\)[^/].*/{
1385	    s//\1/
1386	    q
1387	  }
1388	  /^X\(\/\/\)$/{
1389	    s//\1/
1390	    q
1391	  }
1392	  /^X\(\/\).*/{
1393	    s//\1/
1394	    q
1395	  }
1396	  s/.*/./; q'`
1397  srcdir=$ac_confdir
1398  if test ! -r "$srcdir/$ac_unique_file"; then
1399    srcdir=..
1400  fi
1401else
1402  ac_srcdir_defaulted=no
1403fi
1404if test ! -r "$srcdir/$ac_unique_file"; then
1405  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1406  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1407fi
1408ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1409ac_abs_confdir=`(
1410	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1411	pwd)`
1412# When building in place, set srcdir=.
1413if test "$ac_abs_confdir" = "$ac_pwd"; then
1414  srcdir=.
1415fi
1416# Remove unnecessary trailing slashes from srcdir.
1417# Double slashes in file names in object file debugging info
1418# mess up M-x gdb in Emacs.
1419case $srcdir in
1420*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1421esac
1422for ac_var in $ac_precious_vars; do
1423  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1424  eval ac_env_${ac_var}_value=\$${ac_var}
1425  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1426  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1427done
1428
1429#
1430# Report the --help message.
1431#
1432if test "$ac_init_help" = "long"; then
1433  # Omit some internal or obsolete options to make the list less imposing.
1434  # This message is too long to be a string in the A/UX 3.1 sh.
1435  cat <<_ACEOF
1436\`configure' configures knc 1.7 to adapt to many kinds of systems.
1437
1438Usage: $0 [OPTION]... [VAR=VALUE]...
1439
1440To assign environment variables (e.g., CC, CFLAGS...), specify them as
1441VAR=VALUE.  See below for descriptions of some of the useful variables.
1442
1443Defaults for the options are specified in brackets.
1444
1445Configuration:
1446  -h, --help              display this help and exit
1447      --help=short        display options specific to this package
1448      --help=recursive    display the short help of all the included packages
1449  -V, --version           display version information and exit
1450  -q, --quiet, --silent   do not print \`checking ...' messages
1451      --cache-file=FILE   cache test results in FILE [disabled]
1452  -C, --config-cache      alias for \`--cache-file=config.cache'
1453  -n, --no-create         do not create output files
1454      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1455
1456Installation directories:
1457  --prefix=PREFIX         install architecture-independent files in PREFIX
1458                          @<:@@S|@ac_default_prefix@:>@
1459  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1460                          @<:@PREFIX@:>@
1461
1462By default, \`make install' will install all the files in
1463\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1464an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1465for instance \`--prefix=\$HOME'.
1466
1467For better control, use the options below.
1468
1469Fine tuning of the installation directories:
1470  --bindir=DIR            user executables [EPREFIX/bin]
1471  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1472  --libexecdir=DIR        program executables [EPREFIX/libexec]
1473  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1474  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1475  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1476  --libdir=DIR            object code libraries [EPREFIX/lib]
1477  --includedir=DIR        C header files [PREFIX/include]
1478  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1479  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1480  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1481  --infodir=DIR           info documentation [DATAROOTDIR/info]
1482  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1483  --mandir=DIR            man documentation [DATAROOTDIR/man]
1484  --docdir=DIR            documentation root @<:@DATAROOTDIR/doc/knc@:>@
1485  --htmldir=DIR           html documentation [DOCDIR]
1486  --dvidir=DIR            dvi documentation [DOCDIR]
1487  --pdfdir=DIR            pdf documentation [DOCDIR]
1488  --psdir=DIR             ps documentation [DOCDIR]
1489_ACEOF
1490
1491  cat <<\_ACEOF
1492
1493Program names:
1494  --program-prefix=PREFIX            prepend PREFIX to installed program names
1495  --program-suffix=SUFFIX            append SUFFIX to installed program names
1496  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1497
1498System types:
1499  --build=BUILD     configure for building on BUILD [guessed]
1500  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1501_ACEOF
1502fi
1503
1504if test -n "$ac_init_help"; then
1505  case $ac_init_help in
1506     short | recursive ) echo "Configuration of knc 1.7:";;
1507   esac
1508  cat <<\_ACEOF
1509
1510Optional Features:
1511  --disable-option-checking  ignore unrecognized --enable/--with options
1512  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1513  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1514  --enable-maintainer-mode  enable make rules and dependencies not useful
1515			  (and sometimes confusing) to the casual installer
1516  --disable-dependency-tracking  speeds up one-time build
1517  --enable-dependency-tracking   do not reject slow dependency extractors
1518  --enable-shared@<:@=PKGS@:>@  build shared libraries @<:@default=yes@:>@
1519  --enable-static@<:@=PKGS@:>@  build static libraries @<:@default=yes@:>@
1520  --enable-fast-install@<:@=PKGS@:>@
1521                          optimize for fast installation @<:@default=yes@:>@
1522  --disable-libtool-lock  avoid locking (might break parallel builds)
1523  --enable-developer      enable developer warnings and experimental code
1524
1525Optional Packages:
1526  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1527  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1528  --with-pic              try to use only PIC/non-PIC objects @<:@default=use
1529                          both@:>@
1530  --with-gnu-ld           assume the C compiler uses GNU ld @<:@default=no@:>@
1531  --with-gss-dir=<DIR>    choose the GSSAPI dir
1532
1533Some influential environment variables:
1534  CC          C compiler command
1535  CFLAGS      C compiler flags
1536  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1537              nonstandard directory <lib dir>
1538  LIBS        libraries to pass to the linker, e.g. -l<library>
1539  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1540              you have headers in a nonstandard directory <include dir>
1541  CPP         C preprocessor
1542
1543Use these variables to override the choices made by `configure' or to help
1544it to find libraries and programs with nonstandard names/locations.
1545
1546Report bugs to <elric@imrryr.org>.
1547_ACEOF
1548ac_status=$?
1549fi
1550
1551if test "$ac_init_help" = "recursive"; then
1552  # If there are subdirs, report their specific --help.
1553  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1554    test -d "$ac_dir" ||
1555      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1556      continue
1557    ac_builddir=.
1558
1559case "$ac_dir" in
1560.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1561*)
1562  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1563  # A ".." for each directory in $ac_dir_suffix.
1564  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1565  case $ac_top_builddir_sub in
1566  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1567  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1568  esac ;;
1569esac
1570ac_abs_top_builddir=$ac_pwd
1571ac_abs_builddir=$ac_pwd$ac_dir_suffix
1572# for backward compatibility:
1573ac_top_builddir=$ac_top_build_prefix
1574
1575case $srcdir in
1576  .)  # We are building in place.
1577    ac_srcdir=.
1578    ac_top_srcdir=$ac_top_builddir_sub
1579    ac_abs_top_srcdir=$ac_pwd ;;
1580  [\\/]* | ?:[\\/]* )  # Absolute name.
1581    ac_srcdir=$srcdir$ac_dir_suffix;
1582    ac_top_srcdir=$srcdir
1583    ac_abs_top_srcdir=$srcdir ;;
1584  *) # Relative name.
1585    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1586    ac_top_srcdir=$ac_top_build_prefix$srcdir
1587    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1588esac
1589ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1590
1591    cd "$ac_dir" || { ac_status=$?; continue; }
1592    # Check for guested configure.
1593    if test -f "$ac_srcdir/configure.gnu"; then
1594      echo &&
1595      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1596    elif test -f "$ac_srcdir/configure"; then
1597      echo &&
1598      $SHELL "$ac_srcdir/configure" --help=recursive
1599    else
1600      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1601    fi || ac_status=$?
1602    cd "$ac_pwd" || { ac_status=$?; break; }
1603  done
1604fi
1605
1606test -n "$ac_init_help" && exit $ac_status
1607if $ac_init_version; then
1608  cat <<\_ACEOF
1609knc configure 1.7
1610generated by GNU Autoconf 2.68
1611
1612Copyright (C) 2010 Free Software Foundation, Inc.
1613This configure script is free software; the Free Software Foundation
1614gives unlimited permission to copy, distribute and modify it.
1615_ACEOF
1616  exit
1617fi
1618
1619## ------------------------ ##
1620## Autoconf initialization. ##
1621## ------------------------ ##
1622
1623@%:@ ac_fn_c_try_compile LINENO
1624@%:@ --------------------------
1625@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
1626ac_fn_c_try_compile ()
1627{
1628  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1629  rm -f conftest.$ac_objext
1630  if { { ac_try="$ac_compile"
1631case "(($ac_try" in
1632  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1633  *) ac_try_echo=$ac_try;;
1634esac
1635eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1636$as_echo "$ac_try_echo"; } >&5
1637  (eval "$ac_compile") 2>conftest.err
1638  ac_status=$?
1639  if test -s conftest.err; then
1640    grep -v '^ *+' conftest.err >conftest.er1
1641    cat conftest.er1 >&5
1642    mv -f conftest.er1 conftest.err
1643  fi
1644  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1645  test $ac_status = 0; } && {
1646	 test -z "$ac_c_werror_flag" ||
1647	 test ! -s conftest.err
1648       } && test -s conftest.$ac_objext; then :
1649  ac_retval=0
1650else
1651  $as_echo "$as_me: failed program was:" >&5
1652sed 's/^/| /' conftest.$ac_ext >&5
1653
1654	ac_retval=1
1655fi
1656  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1657  as_fn_set_status $ac_retval
1658
1659} @%:@ ac_fn_c_try_compile
1660
1661@%:@ ac_fn_c_try_cpp LINENO
1662@%:@ ----------------------
1663@%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
1664ac_fn_c_try_cpp ()
1665{
1666  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1667  if { { ac_try="$ac_cpp conftest.$ac_ext"
1668case "(($ac_try" in
1669  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1670  *) ac_try_echo=$ac_try;;
1671esac
1672eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1673$as_echo "$ac_try_echo"; } >&5
1674  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1675  ac_status=$?
1676  if test -s conftest.err; then
1677    grep -v '^ *+' conftest.err >conftest.er1
1678    cat conftest.er1 >&5
1679    mv -f conftest.er1 conftest.err
1680  fi
1681  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1682  test $ac_status = 0; } > conftest.i && {
1683	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1684	 test ! -s conftest.err
1685       }; then :
1686  ac_retval=0
1687else
1688  $as_echo "$as_me: failed program was:" >&5
1689sed 's/^/| /' conftest.$ac_ext >&5
1690
1691    ac_retval=1
1692fi
1693  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1694  as_fn_set_status $ac_retval
1695
1696} @%:@ ac_fn_c_try_cpp
1697
1698@%:@ ac_fn_c_try_link LINENO
1699@%:@ -----------------------
1700@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
1701ac_fn_c_try_link ()
1702{
1703  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1704  rm -f conftest.$ac_objext conftest$ac_exeext
1705  if { { ac_try="$ac_link"
1706case "(($ac_try" in
1707  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1708  *) ac_try_echo=$ac_try;;
1709esac
1710eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1711$as_echo "$ac_try_echo"; } >&5
1712  (eval "$ac_link") 2>conftest.err
1713  ac_status=$?
1714  if test -s conftest.err; then
1715    grep -v '^ *+' conftest.err >conftest.er1
1716    cat conftest.er1 >&5
1717    mv -f conftest.er1 conftest.err
1718  fi
1719  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1720  test $ac_status = 0; } && {
1721	 test -z "$ac_c_werror_flag" ||
1722	 test ! -s conftest.err
1723       } && test -s conftest$ac_exeext && {
1724	 test "$cross_compiling" = yes ||
1725	 $as_test_x conftest$ac_exeext
1726       }; then :
1727  ac_retval=0
1728else
1729  $as_echo "$as_me: failed program was:" >&5
1730sed 's/^/| /' conftest.$ac_ext >&5
1731
1732	ac_retval=1
1733fi
1734  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1735  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1736  # interfere with the next link command; also delete a directory that is
1737  # left behind by Apple's compiler.  We do this before executing the actions.
1738  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1739  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1740  as_fn_set_status $ac_retval
1741
1742} @%:@ ac_fn_c_try_link
1743
1744@%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1745@%:@ -------------------------------------------------------
1746@%:@ Tests whether HEADER exists and can be compiled using the include files in
1747@%:@ INCLUDES, setting the cache variable VAR accordingly.
1748ac_fn_c_check_header_compile ()
1749{
1750  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1751  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1752$as_echo_n "checking for $2... " >&6; }
1753if eval \${$3+:} false; then :
1754  $as_echo_n "(cached) " >&6
1755else
1756  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1757/* end confdefs.h.  */
1758$4
1759@%:@include <$2>
1760_ACEOF
1761if ac_fn_c_try_compile "$LINENO"; then :
1762  eval "$3=yes"
1763else
1764  eval "$3=no"
1765fi
1766rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1767fi
1768eval ac_res=\$$3
1769	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1770$as_echo "$ac_res" >&6; }
1771  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1772
1773} @%:@ ac_fn_c_check_header_compile
1774
1775@%:@ ac_fn_c_try_run LINENO
1776@%:@ ----------------------
1777@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
1778@%:@ that executables *can* be run.
1779ac_fn_c_try_run ()
1780{
1781  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1782  if { { ac_try="$ac_link"
1783case "(($ac_try" in
1784  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1785  *) ac_try_echo=$ac_try;;
1786esac
1787eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1788$as_echo "$ac_try_echo"; } >&5
1789  (eval "$ac_link") 2>&5
1790  ac_status=$?
1791  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1792  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1793  { { case "(($ac_try" in
1794  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1795  *) ac_try_echo=$ac_try;;
1796esac
1797eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1798$as_echo "$ac_try_echo"; } >&5
1799  (eval "$ac_try") 2>&5
1800  ac_status=$?
1801  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1802  test $ac_status = 0; }; }; then :
1803  ac_retval=0
1804else
1805  $as_echo "$as_me: program exited with status $ac_status" >&5
1806       $as_echo "$as_me: failed program was:" >&5
1807sed 's/^/| /' conftest.$ac_ext >&5
1808
1809       ac_retval=$ac_status
1810fi
1811  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1812  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1813  as_fn_set_status $ac_retval
1814
1815} @%:@ ac_fn_c_try_run
1816
1817@%:@ ac_fn_c_check_func LINENO FUNC VAR
1818@%:@ ----------------------------------
1819@%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
1820ac_fn_c_check_func ()
1821{
1822  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1823  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1824$as_echo_n "checking for $2... " >&6; }
1825if eval \${$3+:} false; then :
1826  $as_echo_n "(cached) " >&6
1827else
1828  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1829/* end confdefs.h.  */
1830/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1831   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1832#define $2 innocuous_$2
1833
1834/* System header to define __stub macros and hopefully few prototypes,
1835    which can conflict with char $2 (); below.
1836    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1837    <limits.h> exists even on freestanding compilers.  */
1838
1839#ifdef __STDC__
1840# include <limits.h>
1841#else
1842# include <assert.h>
1843#endif
1844
1845#undef $2
1846
1847/* Override any GCC internal prototype to avoid an error.
1848   Use char because int might match the return type of a GCC
1849   builtin and then its argument prototype would still apply.  */
1850#ifdef __cplusplus
1851extern "C"
1852#endif
1853char $2 ();
1854/* The GNU C library defines this for functions which it implements
1855    to always fail with ENOSYS.  Some functions are actually named
1856    something starting with __ and the normal name is an alias.  */
1857#if defined __stub_$2 || defined __stub___$2
1858choke me
1859#endif
1860
1861int
1862main ()
1863{
1864return $2 ();
1865  ;
1866  return 0;
1867}
1868_ACEOF
1869if ac_fn_c_try_link "$LINENO"; then :
1870  eval "$3=yes"
1871else
1872  eval "$3=no"
1873fi
1874rm -f core conftest.err conftest.$ac_objext \
1875    conftest$ac_exeext conftest.$ac_ext
1876fi
1877eval ac_res=\$$3
1878	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1879$as_echo "$ac_res" >&6; }
1880  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1881
1882} @%:@ ac_fn_c_check_func
1883
1884@%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1885@%:@ -------------------------------------------------------
1886@%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
1887@%:@ the include files in INCLUDES and setting the cache variable VAR
1888@%:@ accordingly.
1889ac_fn_c_check_header_mongrel ()
1890{
1891  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1892  if eval \${$3+:} false; then :
1893  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1894$as_echo_n "checking for $2... " >&6; }
1895if eval \${$3+:} false; then :
1896  $as_echo_n "(cached) " >&6
1897fi
1898eval ac_res=\$$3
1899	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1900$as_echo "$ac_res" >&6; }
1901else
1902  # Is the header compilable?
1903{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1904$as_echo_n "checking $2 usability... " >&6; }
1905cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1906/* end confdefs.h.  */
1907$4
1908@%:@include <$2>
1909_ACEOF
1910if ac_fn_c_try_compile "$LINENO"; then :
1911  ac_header_compiler=yes
1912else
1913  ac_header_compiler=no
1914fi
1915rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1916{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1917$as_echo "$ac_header_compiler" >&6; }
1918
1919# Is the header present?
1920{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1921$as_echo_n "checking $2 presence... " >&6; }
1922cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1923/* end confdefs.h.  */
1924@%:@include <$2>
1925_ACEOF
1926if ac_fn_c_try_cpp "$LINENO"; then :
1927  ac_header_preproc=yes
1928else
1929  ac_header_preproc=no
1930fi
1931rm -f conftest.err conftest.i conftest.$ac_ext
1932{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1933$as_echo "$ac_header_preproc" >&6; }
1934
1935# So?  What about this header?
1936case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1937  yes:no: )
1938    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1939$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1940    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1941$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1942    ;;
1943  no:yes:* )
1944    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1945$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1946    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1947$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1948    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1949$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1950    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1951$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1952    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1953$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1954( $as_echo "## ------------------------------- ##
1955## Report this to elric@imrryr.org ##
1956## ------------------------------- ##"
1957     ) | sed "s/^/$as_me: WARNING:     /" >&2
1958    ;;
1959esac
1960  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1961$as_echo_n "checking for $2... " >&6; }
1962if eval \${$3+:} false; then :
1963  $as_echo_n "(cached) " >&6
1964else
1965  eval "$3=\$ac_header_compiler"
1966fi
1967eval ac_res=\$$3
1968	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1969$as_echo "$ac_res" >&6; }
1970fi
1971  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1972
1973} @%:@ ac_fn_c_check_header_mongrel
1974
1975@%:@ ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1976@%:@ -------------------------------------------
1977@%:@ Tests whether TYPE exists after having included INCLUDES, setting cache
1978@%:@ variable VAR accordingly.
1979ac_fn_c_check_type ()
1980{
1981  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1982  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1983$as_echo_n "checking for $2... " >&6; }
1984if eval \${$3+:} false; then :
1985  $as_echo_n "(cached) " >&6
1986else
1987  eval "$3=no"
1988  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1989/* end confdefs.h.  */
1990$4
1991int
1992main ()
1993{
1994if (sizeof ($2))
1995	 return 0;
1996  ;
1997  return 0;
1998}
1999_ACEOF
2000if ac_fn_c_try_compile "$LINENO"; then :
2001  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2002/* end confdefs.h.  */
2003$4
2004int
2005main ()
2006{
2007if (sizeof (($2)))
2008	    return 0;
2009  ;
2010  return 0;
2011}
2012_ACEOF
2013if ac_fn_c_try_compile "$LINENO"; then :
2014
2015else
2016  eval "$3=yes"
2017fi
2018rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2019fi
2020rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2021fi
2022eval ac_res=\$$3
2023	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2024$as_echo "$ac_res" >&6; }
2025  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2026
2027} @%:@ ac_fn_c_check_type
2028
2029@%:@ ac_fn_c_find_uintX_t LINENO BITS VAR
2030@%:@ ------------------------------------
2031@%:@ Finds an unsigned integer type with width BITS, setting cache variable VAR
2032@%:@ accordingly.
2033ac_fn_c_find_uintX_t ()
2034{
2035  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2036  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
2037$as_echo_n "checking for uint$2_t... " >&6; }
2038if eval \${$3+:} false; then :
2039  $as_echo_n "(cached) " >&6
2040else
2041  eval "$3=no"
2042     # Order is important - never check a type that is potentially smaller
2043     # than half of the expected target width.
2044     for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
2045	 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
2046       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2047/* end confdefs.h.  */
2048$ac_includes_default
2049int
2050main ()
2051{
2052static int test_array @<:@1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)@:>@;
2053test_array @<:@0@:>@ = 0
2054
2055  ;
2056  return 0;
2057}
2058_ACEOF
2059if ac_fn_c_try_compile "$LINENO"; then :
2060  case $ac_type in @%:@(
2061  uint$2_t) :
2062    eval "$3=yes" ;; @%:@(
2063  *) :
2064    eval "$3=\$ac_type" ;;
2065esac
2066fi
2067rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2068       if eval test \"x\$"$3"\" = x"no"; then :
2069
2070else
2071  break
2072fi
2073     done
2074fi
2075eval ac_res=\$$3
2076	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2077$as_echo "$ac_res" >&6; }
2078  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2079
2080} @%:@ ac_fn_c_find_uintX_t
2081cat >config.log <<_ACEOF
2082This file contains any messages produced by compilers while
2083running configure, to aid debugging if configure makes a mistake.
2084
2085It was created by knc $as_me 1.7, which was
2086generated by GNU Autoconf 2.68.  Invocation command line was
2087
2088  $ $0 $@
2089
2090_ACEOF
2091exec 5>>config.log
2092{
2093cat <<_ASUNAME
2094## --------- ##
2095## Platform. ##
2096## --------- ##
2097
2098hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2099uname -m = `(uname -m) 2>/dev/null || echo unknown`
2100uname -r = `(uname -r) 2>/dev/null || echo unknown`
2101uname -s = `(uname -s) 2>/dev/null || echo unknown`
2102uname -v = `(uname -v) 2>/dev/null || echo unknown`
2103
2104/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2105/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2106
2107/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2108/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2109/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2110/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2111/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2112/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2113/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2114
2115_ASUNAME
2116
2117as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2118for as_dir in $PATH
2119do
2120  IFS=$as_save_IFS
2121  test -z "$as_dir" && as_dir=.
2122    $as_echo "PATH: $as_dir"
2123  done
2124IFS=$as_save_IFS
2125
2126} >&5
2127
2128cat >&5 <<_ACEOF
2129
2130
2131## ----------- ##
2132## Core tests. ##
2133## ----------- ##
2134
2135_ACEOF
2136
2137
2138# Keep a trace of the command line.
2139# Strip out --no-create and --no-recursion so they do not pile up.
2140# Strip out --silent because we don't want to record it for future runs.
2141# Also quote any args containing shell meta-characters.
2142# Make two passes to allow for proper duplicate-argument suppression.
2143ac_configure_args=
2144ac_configure_args0=
2145ac_configure_args1=
2146ac_must_keep_next=false
2147for ac_pass in 1 2
2148do
2149  for ac_arg
2150  do
2151    case $ac_arg in
2152    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2153    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2154    | -silent | --silent | --silen | --sile | --sil)
2155      continue ;;
2156    *\'*)
2157      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2158    esac
2159    case $ac_pass in
2160    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2161    2)
2162      as_fn_append ac_configure_args1 " '$ac_arg'"
2163      if test $ac_must_keep_next = true; then
2164	ac_must_keep_next=false # Got value, back to normal.
2165      else
2166	case $ac_arg in
2167	  *=* | --config-cache | -C | -disable-* | --disable-* \
2168	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2169	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2170	  | -with-* | --with-* | -without-* | --without-* | --x)
2171	    case "$ac_configure_args0 " in
2172	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2173	    esac
2174	    ;;
2175	  -* ) ac_must_keep_next=true ;;
2176	esac
2177      fi
2178      as_fn_append ac_configure_args " '$ac_arg'"
2179      ;;
2180    esac
2181  done
2182done
2183{ ac_configure_args0=; unset ac_configure_args0;}
2184{ ac_configure_args1=; unset ac_configure_args1;}
2185
2186# When interrupted or exit'd, cleanup temporary files, and complete
2187# config.log.  We remove comments because anyway the quotes in there
2188# would cause problems or look ugly.
2189# WARNING: Use '\'' to represent an apostrophe within the trap.
2190# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2191trap 'exit_status=$?
2192  # Save into config.log some information that might help in debugging.
2193  {
2194    echo
2195
2196    $as_echo "## ---------------- ##
2197## Cache variables. ##
2198## ---------------- ##"
2199    echo
2200    # The following way of writing the cache mishandles newlines in values,
2201(
2202  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2203    eval ac_val=\$$ac_var
2204    case $ac_val in #(
2205    *${as_nl}*)
2206      case $ac_var in #(
2207      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2208$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2209      esac
2210      case $ac_var in #(
2211      _ | IFS | as_nl) ;; #(
2212      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2213      *) { eval $ac_var=; unset $ac_var;} ;;
2214      esac ;;
2215    esac
2216  done
2217  (set) 2>&1 |
2218    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2219    *${as_nl}ac_space=\ *)
2220      sed -n \
2221	"s/'\''/'\''\\\\'\'''\''/g;
2222	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2223      ;; #(
2224    *)
2225      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2226      ;;
2227    esac |
2228    sort
2229)
2230    echo
2231
2232    $as_echo "## ----------------- ##
2233## Output variables. ##
2234## ----------------- ##"
2235    echo
2236    for ac_var in $ac_subst_vars
2237    do
2238      eval ac_val=\$$ac_var
2239      case $ac_val in
2240      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2241      esac
2242      $as_echo "$ac_var='\''$ac_val'\''"
2243    done | sort
2244    echo
2245
2246    if test -n "$ac_subst_files"; then
2247      $as_echo "## ------------------- ##
2248## File substitutions. ##
2249## ------------------- ##"
2250      echo
2251      for ac_var in $ac_subst_files
2252      do
2253	eval ac_val=\$$ac_var
2254	case $ac_val in
2255	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2256	esac
2257	$as_echo "$ac_var='\''$ac_val'\''"
2258      done | sort
2259      echo
2260    fi
2261
2262    if test -s confdefs.h; then
2263      $as_echo "## ----------- ##
2264## confdefs.h. ##
2265## ----------- ##"
2266      echo
2267      cat confdefs.h
2268      echo
2269    fi
2270    test "$ac_signal" != 0 &&
2271      $as_echo "$as_me: caught signal $ac_signal"
2272    $as_echo "$as_me: exit $exit_status"
2273  } >&5
2274  rm -f core *.core core.conftest.* &&
2275    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2276    exit $exit_status
2277' 0
2278for ac_signal in 1 2 13 15; do
2279  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2280done
2281ac_signal=0
2282
2283# confdefs.h avoids OS command line length limits that DEFS can exceed.
2284rm -f -r conftest* confdefs.h
2285
2286$as_echo "/* confdefs.h */" > confdefs.h
2287
2288# Predefined preprocessor variables.
2289
2290cat >>confdefs.h <<_ACEOF
2291@%:@define PACKAGE_NAME "$PACKAGE_NAME"
2292_ACEOF
2293
2294cat >>confdefs.h <<_ACEOF
2295@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2296_ACEOF
2297
2298cat >>confdefs.h <<_ACEOF
2299@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
2300_ACEOF
2301
2302cat >>confdefs.h <<_ACEOF
2303@%:@define PACKAGE_STRING "$PACKAGE_STRING"
2304_ACEOF
2305
2306cat >>confdefs.h <<_ACEOF
2307@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2308_ACEOF
2309
2310cat >>confdefs.h <<_ACEOF
2311@%:@define PACKAGE_URL "$PACKAGE_URL"
2312_ACEOF
2313
2314
2315# Let the site file select an alternate cache file if it wants to.
2316# Prefer an explicitly selected file to automatically selected ones.
2317ac_site_file1=NONE
2318ac_site_file2=NONE
2319if test -n "$CONFIG_SITE"; then
2320  # We do not want a PATH search for config.site.
2321  case $CONFIG_SITE in @%:@((
2322    -*)  ac_site_file1=./$CONFIG_SITE;;
2323    */*) ac_site_file1=$CONFIG_SITE;;
2324    *)   ac_site_file1=./$CONFIG_SITE;;
2325  esac
2326elif test "x$prefix" != xNONE; then
2327  ac_site_file1=$prefix/share/config.site
2328  ac_site_file2=$prefix/etc/config.site
2329else
2330  ac_site_file1=$ac_default_prefix/share/config.site
2331  ac_site_file2=$ac_default_prefix/etc/config.site
2332fi
2333for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2334do
2335  test "x$ac_site_file" = xNONE && continue
2336  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2337    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2338$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2339    sed 's/^/| /' "$ac_site_file" >&5
2340    . "$ac_site_file" \
2341      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2342$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2343as_fn_error $? "failed to load site script $ac_site_file
2344See \`config.log' for more details" "$LINENO" 5; }
2345  fi
2346done
2347
2348if test -r "$cache_file"; then
2349  # Some versions of bash will fail to source /dev/null (special files
2350  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2351  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2352    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2353$as_echo "$as_me: loading cache $cache_file" >&6;}
2354    case $cache_file in
2355      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2356      *)                      . "./$cache_file";;
2357    esac
2358  fi
2359else
2360  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2361$as_echo "$as_me: creating cache $cache_file" >&6;}
2362  >$cache_file
2363fi
2364
2365# Check that the precious variables saved in the cache have kept the same
2366# value.
2367ac_cache_corrupted=false
2368for ac_var in $ac_precious_vars; do
2369  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2370  eval ac_new_set=\$ac_env_${ac_var}_set
2371  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2372  eval ac_new_val=\$ac_env_${ac_var}_value
2373  case $ac_old_set,$ac_new_set in
2374    set,)
2375      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2376$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2377      ac_cache_corrupted=: ;;
2378    ,set)
2379      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2380$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2381      ac_cache_corrupted=: ;;
2382    ,);;
2383    *)
2384      if test "x$ac_old_val" != "x$ac_new_val"; then
2385	# differences in whitespace do not lead to failure.
2386	ac_old_val_w=`echo x $ac_old_val`
2387	ac_new_val_w=`echo x $ac_new_val`
2388	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2389	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2390$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2391	  ac_cache_corrupted=:
2392	else
2393	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2394$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2395	  eval $ac_var=\$ac_old_val
2396	fi
2397	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2398$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2399	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2400$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2401      fi;;
2402  esac
2403  # Pass precious variables to config.status.
2404  if test "$ac_new_set" = set; then
2405    case $ac_new_val in
2406    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2407    *) ac_arg=$ac_var=$ac_new_val ;;
2408    esac
2409    case " $ac_configure_args " in
2410      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2411      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2412    esac
2413  fi
2414done
2415if $ac_cache_corrupted; then
2416  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2417$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2418  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2419$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2420  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2421fi
2422## -------------------- ##
2423## Main body of script. ##
2424## -------------------- ##
2425
2426ac_ext=c
2427ac_cpp='$CPP $CPPFLAGS'
2428ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2429ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2430ac_compiler_gnu=$ac_cv_c_compiler_gnu
2431
2432
2433
2434ac_config_headers="$ac_config_headers config.h"
2435
2436
2437
2438am__api_version='1.11'
2439
2440ac_aux_dir=
2441for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2442  if test -f "$ac_dir/install-sh"; then
2443    ac_aux_dir=$ac_dir
2444    ac_install_sh="$ac_aux_dir/install-sh -c"
2445    break
2446  elif test -f "$ac_dir/install.sh"; then
2447    ac_aux_dir=$ac_dir
2448    ac_install_sh="$ac_aux_dir/install.sh -c"
2449    break
2450  elif test -f "$ac_dir/shtool"; then
2451    ac_aux_dir=$ac_dir
2452    ac_install_sh="$ac_aux_dir/shtool install -c"
2453    break
2454  fi
2455done
2456if test -z "$ac_aux_dir"; then
2457  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2458fi
2459
2460# These three variables are undocumented and unsupported,
2461# and are intended to be withdrawn in a future Autoconf release.
2462# They can cause serious problems if a builder's source tree is in a directory
2463# whose full name contains unusual characters.
2464ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2465ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2466ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2467
2468
2469# Find a good install program.  We prefer a C program (faster),
2470# so one script is as good as another.  But avoid the broken or
2471# incompatible versions:
2472# SysV /etc/install, /usr/sbin/install
2473# SunOS /usr/etc/install
2474# IRIX /sbin/install
2475# AIX /bin/install
2476# AmigaOS /C/install, which installs bootblocks on floppy discs
2477# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2478# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2479# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2480# OS/2's system install, which has a completely different semantic
2481# ./install, which can be erroneously created by make from ./install.sh.
2482# Reject install programs that cannot install multiple files.
2483{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2484$as_echo_n "checking for a BSD-compatible install... " >&6; }
2485if test -z "$INSTALL"; then
2486if ${ac_cv_path_install+:} false; then :
2487  $as_echo_n "(cached) " >&6
2488else
2489  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2490for as_dir in $PATH
2491do
2492  IFS=$as_save_IFS
2493  test -z "$as_dir" && as_dir=.
2494    # Account for people who put trailing slashes in PATH elements.
2495case $as_dir/ in @%:@((
2496  ./ | .// | /[cC]/* | \
2497  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2498  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2499  /usr/ucb/* ) ;;
2500  *)
2501    # OSF1 and SCO ODT 3.0 have their own names for install.
2502    # Don't use installbsd from OSF since it installs stuff as root
2503    # by default.
2504    for ac_prog in ginstall scoinst install; do
2505      for ac_exec_ext in '' $ac_executable_extensions; do
2506	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2507	  if test $ac_prog = install &&
2508	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2509	    # AIX install.  It has an incompatible calling convention.
2510	    :
2511	  elif test $ac_prog = install &&
2512	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2513	    # program-specific install script used by HP pwplus--don't use.
2514	    :
2515	  else
2516	    rm -rf conftest.one conftest.two conftest.dir
2517	    echo one > conftest.one
2518	    echo two > conftest.two
2519	    mkdir conftest.dir
2520	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2521	      test -s conftest.one && test -s conftest.two &&
2522	      test -s conftest.dir/conftest.one &&
2523	      test -s conftest.dir/conftest.two
2524	    then
2525	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2526	      break 3
2527	    fi
2528	  fi
2529	fi
2530      done
2531    done
2532    ;;
2533esac
2534
2535  done
2536IFS=$as_save_IFS
2537
2538rm -rf conftest.one conftest.two conftest.dir
2539
2540fi
2541  if test "${ac_cv_path_install+set}" = set; then
2542    INSTALL=$ac_cv_path_install
2543  else
2544    # As a last resort, use the slow shell script.  Don't cache a
2545    # value for INSTALL within a source directory, because that will
2546    # break other packages using the cache if that directory is
2547    # removed, or if the value is a relative name.
2548    INSTALL=$ac_install_sh
2549  fi
2550fi
2551{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2552$as_echo "$INSTALL" >&6; }
2553
2554# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2555# It thinks the first close brace ends the variable substitution.
2556test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2557
2558test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2559
2560test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2561
2562{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2563$as_echo_n "checking whether build environment is sane... " >&6; }
2564# Just in case
2565sleep 1
2566echo timestamp > conftest.file
2567# Reject unsafe characters in $srcdir or the absolute working directory
2568# name.  Accept space and tab only in the latter.
2569am_lf='
2570'
2571case `pwd` in
2572  *[\\\"\#\$\&\'\`$am_lf]*)
2573    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2574esac
2575case $srcdir in
2576  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2577    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2578esac
2579
2580# Do `set' in a subshell so we don't clobber the current shell's
2581# arguments.  Must try -L first in case configure is actually a
2582# symlink; some systems play weird games with the mod time of symlinks
2583# (eg FreeBSD returns the mod time of the symlink's containing
2584# directory).
2585if (
2586   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2587   if test "$*" = "X"; then
2588      # -L didn't work.
2589      set X `ls -t "$srcdir/configure" conftest.file`
2590   fi
2591   rm -f conftest.file
2592   if test "$*" != "X $srcdir/configure conftest.file" \
2593      && test "$*" != "X conftest.file $srcdir/configure"; then
2594
2595      # If neither matched, then we have a broken ls.  This can happen
2596      # if, for instance, CONFIG_SHELL is bash and it inherits a
2597      # broken ls alias from the environment.  This has actually
2598      # happened.  Such a system could not be considered "sane".
2599      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2600alias in your environment" "$LINENO" 5
2601   fi
2602
2603   test "$2" = conftest.file
2604   )
2605then
2606   # Ok.
2607   :
2608else
2609   as_fn_error $? "newly created file is older than distributed files!
2610Check your system clock" "$LINENO" 5
2611fi
2612{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2613$as_echo "yes" >&6; }
2614test "$program_prefix" != NONE &&
2615  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2616# Use a double $ so make ignores it.
2617test "$program_suffix" != NONE &&
2618  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2619# Double any \ or $.
2620# By default was `s,x,x', remove it if useless.
2621ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2622program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2623
2624# expand $ac_aux_dir to an absolute path
2625am_aux_dir=`cd $ac_aux_dir && pwd`
2626
2627if test x"${MISSING+set}" != xset; then
2628  case $am_aux_dir in
2629  *\ * | *\	*)
2630    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2631  *)
2632    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2633  esac
2634fi
2635# Use eval to expand $SHELL
2636if eval "$MISSING --run true"; then
2637  am_missing_run="$MISSING --run "
2638else
2639  am_missing_run=
2640  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2641$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2642fi
2643
2644if test x"${install_sh}" != xset; then
2645  case $am_aux_dir in
2646  *\ * | *\	*)
2647    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2648  *)
2649    install_sh="\${SHELL} $am_aux_dir/install-sh"
2650  esac
2651fi
2652
2653# Installed binaries are usually stripped using `strip' when the user
2654# run `make install-strip'.  However `strip' might not be the right
2655# tool to use in cross-compilation environments, therefore Automake
2656# will honor the `STRIP' environment variable to overrule this program.
2657if test "$cross_compiling" != no; then
2658  if test -n "$ac_tool_prefix"; then
2659  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2660set dummy ${ac_tool_prefix}strip; ac_word=$2
2661{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2662$as_echo_n "checking for $ac_word... " >&6; }
2663if ${ac_cv_prog_STRIP+:} false; then :
2664  $as_echo_n "(cached) " >&6
2665else
2666  if test -n "$STRIP"; then
2667  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2668else
2669as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2670for as_dir in $PATH
2671do
2672  IFS=$as_save_IFS
2673  test -z "$as_dir" && as_dir=.
2674    for ac_exec_ext in '' $ac_executable_extensions; do
2675  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2676    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2677    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2678    break 2
2679  fi
2680done
2681  done
2682IFS=$as_save_IFS
2683
2684fi
2685fi
2686STRIP=$ac_cv_prog_STRIP
2687if test -n "$STRIP"; then
2688  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2689$as_echo "$STRIP" >&6; }
2690else
2691  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2692$as_echo "no" >&6; }
2693fi
2694
2695
2696fi
2697if test -z "$ac_cv_prog_STRIP"; then
2698  ac_ct_STRIP=$STRIP
2699  # Extract the first word of "strip", so it can be a program name with args.
2700set dummy strip; ac_word=$2
2701{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2702$as_echo_n "checking for $ac_word... " >&6; }
2703if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2704  $as_echo_n "(cached) " >&6
2705else
2706  if test -n "$ac_ct_STRIP"; then
2707  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2708else
2709as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2710for as_dir in $PATH
2711do
2712  IFS=$as_save_IFS
2713  test -z "$as_dir" && as_dir=.
2714    for ac_exec_ext in '' $ac_executable_extensions; do
2715  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2716    ac_cv_prog_ac_ct_STRIP="strip"
2717    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2718    break 2
2719  fi
2720done
2721  done
2722IFS=$as_save_IFS
2723
2724fi
2725fi
2726ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2727if test -n "$ac_ct_STRIP"; then
2728  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2729$as_echo "$ac_ct_STRIP" >&6; }
2730else
2731  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2732$as_echo "no" >&6; }
2733fi
2734
2735  if test "x$ac_ct_STRIP" = x; then
2736    STRIP=":"
2737  else
2738    case $cross_compiling:$ac_tool_warned in
2739yes:)
2740{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2741$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2742ac_tool_warned=yes ;;
2743esac
2744    STRIP=$ac_ct_STRIP
2745  fi
2746else
2747  STRIP="$ac_cv_prog_STRIP"
2748fi
2749
2750fi
2751INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2752
2753{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2754$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2755if test -z "$MKDIR_P"; then
2756  if ${ac_cv_path_mkdir+:} false; then :
2757  $as_echo_n "(cached) " >&6
2758else
2759  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2760for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2761do
2762  IFS=$as_save_IFS
2763  test -z "$as_dir" && as_dir=.
2764    for ac_prog in mkdir gmkdir; do
2765	 for ac_exec_ext in '' $ac_executable_extensions; do
2766	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2767	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2768	     'mkdir (GNU coreutils) '* | \
2769	     'mkdir (coreutils) '* | \
2770	     'mkdir (fileutils) '4.1*)
2771	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2772	       break 3;;
2773	   esac
2774	 done
2775       done
2776  done
2777IFS=$as_save_IFS
2778
2779fi
2780
2781  test -d ./--version && rmdir ./--version
2782  if test "${ac_cv_path_mkdir+set}" = set; then
2783    MKDIR_P="$ac_cv_path_mkdir -p"
2784  else
2785    # As a last resort, use the slow shell script.  Don't cache a
2786    # value for MKDIR_P within a source directory, because that will
2787    # break other packages using the cache if that directory is
2788    # removed, or if the value is a relative name.
2789    MKDIR_P="$ac_install_sh -d"
2790  fi
2791fi
2792{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2793$as_echo "$MKDIR_P" >&6; }
2794
2795mkdir_p="$MKDIR_P"
2796case $mkdir_p in
2797  [\\/$]* | ?:[\\/]*) ;;
2798  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2799esac
2800
2801for ac_prog in gawk mawk nawk awk
2802do
2803  # Extract the first word of "$ac_prog", so it can be a program name with args.
2804set dummy $ac_prog; ac_word=$2
2805{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2806$as_echo_n "checking for $ac_word... " >&6; }
2807if ${ac_cv_prog_AWK+:} false; then :
2808  $as_echo_n "(cached) " >&6
2809else
2810  if test -n "$AWK"; then
2811  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2812else
2813as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2814for as_dir in $PATH
2815do
2816  IFS=$as_save_IFS
2817  test -z "$as_dir" && as_dir=.
2818    for ac_exec_ext in '' $ac_executable_extensions; do
2819  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2820    ac_cv_prog_AWK="$ac_prog"
2821    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2822    break 2
2823  fi
2824done
2825  done
2826IFS=$as_save_IFS
2827
2828fi
2829fi
2830AWK=$ac_cv_prog_AWK
2831if test -n "$AWK"; then
2832  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2833$as_echo "$AWK" >&6; }
2834else
2835  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2836$as_echo "no" >&6; }
2837fi
2838
2839
2840  test -n "$AWK" && break
2841done
2842
2843{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2844$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2845set x ${MAKE-make}
2846ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2847if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2848  $as_echo_n "(cached) " >&6
2849else
2850  cat >conftest.make <<\_ACEOF
2851SHELL = /bin/sh
2852all:
2853	@echo '@@@%%%=$(MAKE)=@@@%%%'
2854_ACEOF
2855# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2856case `${MAKE-make} -f conftest.make 2>/dev/null` in
2857  *@@@%%%=?*=@@@%%%*)
2858    eval ac_cv_prog_make_${ac_make}_set=yes;;
2859  *)
2860    eval ac_cv_prog_make_${ac_make}_set=no;;
2861esac
2862rm -f conftest.make
2863fi
2864if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2865  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2866$as_echo "yes" >&6; }
2867  SET_MAKE=
2868else
2869  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2870$as_echo "no" >&6; }
2871  SET_MAKE="MAKE=${MAKE-make}"
2872fi
2873
2874rm -rf .tst 2>/dev/null
2875mkdir .tst 2>/dev/null
2876if test -d .tst; then
2877  am__leading_dot=.
2878else
2879  am__leading_dot=_
2880fi
2881rmdir .tst 2>/dev/null
2882
2883if test "`cd $srcdir && pwd`" != "`pwd`"; then
2884  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2885  # is not polluted with repeated "-I."
2886  am__isrc=' -I$(srcdir)'
2887  # test to see if srcdir already configured
2888  if test -f $srcdir/config.status; then
2889    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2890  fi
2891fi
2892
2893# test whether we have cygpath
2894if test -z "$CYGPATH_W"; then
2895  if (cygpath --version) >/dev/null 2>/dev/null; then
2896    CYGPATH_W='cygpath -w'
2897  else
2898    CYGPATH_W=echo
2899  fi
2900fi
2901
2902
2903# Define the identity of the package.
2904 PACKAGE='knc'
2905 VERSION='1.7'
2906
2907
2908cat >>confdefs.h <<_ACEOF
2909@%:@define PACKAGE "$PACKAGE"
2910_ACEOF
2911
2912
2913cat >>confdefs.h <<_ACEOF
2914@%:@define VERSION "$VERSION"
2915_ACEOF
2916
2917# Some tools Automake needs.
2918
2919ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2920
2921
2922AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2923
2924
2925AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2926
2927
2928AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2929
2930
2931MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2932
2933# We need awk for the "check" target.  The system "awk" is bad on
2934# some platforms.
2935# Always define AMTAR for backward compatibility.
2936
2937AMTAR=${AMTAR-"${am_missing_run}tar"}
2938
2939am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2940
2941
2942
2943
2944
2945
2946{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2947$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2948    @%:@ Check whether --enable-maintainer-mode was given.
2949if test "${enable_maintainer_mode+set}" = set; then :
2950  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2951else
2952  USE_MAINTAINER_MODE=no
2953fi
2954
2955  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2956$as_echo "$USE_MAINTAINER_MODE" >&6; }
2957   if test $USE_MAINTAINER_MODE = yes; then
2958  MAINTAINER_MODE_TRUE=
2959  MAINTAINER_MODE_FALSE='#'
2960else
2961  MAINTAINER_MODE_TRUE='#'
2962  MAINTAINER_MODE_FALSE=
2963fi
2964
2965  MAINT=$MAINTAINER_MODE_TRUE
2966
2967
2968
2969ac_ext=c
2970ac_cpp='$CPP $CPPFLAGS'
2971ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2972ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2973ac_compiler_gnu=$ac_cv_c_compiler_gnu
2974if test -n "$ac_tool_prefix"; then
2975  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2976set dummy ${ac_tool_prefix}gcc; ac_word=$2
2977{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2978$as_echo_n "checking for $ac_word... " >&6; }
2979if ${ac_cv_prog_CC+:} false; then :
2980  $as_echo_n "(cached) " >&6
2981else
2982  if test -n "$CC"; then
2983  ac_cv_prog_CC="$CC" # Let the user override the test.
2984else
2985as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2986for as_dir in $PATH
2987do
2988  IFS=$as_save_IFS
2989  test -z "$as_dir" && as_dir=.
2990    for ac_exec_ext in '' $ac_executable_extensions; do
2991  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2992    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2993    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2994    break 2
2995  fi
2996done
2997  done
2998IFS=$as_save_IFS
2999
3000fi
3001fi
3002CC=$ac_cv_prog_CC
3003if test -n "$CC"; then
3004  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3005$as_echo "$CC" >&6; }
3006else
3007  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3008$as_echo "no" >&6; }
3009fi
3010
3011
3012fi
3013if test -z "$ac_cv_prog_CC"; then
3014  ac_ct_CC=$CC
3015  # Extract the first word of "gcc", so it can be a program name with args.
3016set dummy gcc; ac_word=$2
3017{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3018$as_echo_n "checking for $ac_word... " >&6; }
3019if ${ac_cv_prog_ac_ct_CC+:} false; then :
3020  $as_echo_n "(cached) " >&6
3021else
3022  if test -n "$ac_ct_CC"; then
3023  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3024else
3025as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3026for as_dir in $PATH
3027do
3028  IFS=$as_save_IFS
3029  test -z "$as_dir" && as_dir=.
3030    for ac_exec_ext in '' $ac_executable_extensions; do
3031  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3032    ac_cv_prog_ac_ct_CC="gcc"
3033    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3034    break 2
3035  fi
3036done
3037  done
3038IFS=$as_save_IFS
3039
3040fi
3041fi
3042ac_ct_CC=$ac_cv_prog_ac_ct_CC
3043if test -n "$ac_ct_CC"; then
3044  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3045$as_echo "$ac_ct_CC" >&6; }
3046else
3047  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3048$as_echo "no" >&6; }
3049fi
3050
3051  if test "x$ac_ct_CC" = x; then
3052    CC=""
3053  else
3054    case $cross_compiling:$ac_tool_warned in
3055yes:)
3056{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3057$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3058ac_tool_warned=yes ;;
3059esac
3060    CC=$ac_ct_CC
3061  fi
3062else
3063  CC="$ac_cv_prog_CC"
3064fi
3065
3066if test -z "$CC"; then
3067          if test -n "$ac_tool_prefix"; then
3068    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3069set dummy ${ac_tool_prefix}cc; ac_word=$2
3070{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3071$as_echo_n "checking for $ac_word... " >&6; }
3072if ${ac_cv_prog_CC+:} false; then :
3073  $as_echo_n "(cached) " >&6
3074else
3075  if test -n "$CC"; then
3076  ac_cv_prog_CC="$CC" # Let the user override the test.
3077else
3078as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3079for as_dir in $PATH
3080do
3081  IFS=$as_save_IFS
3082  test -z "$as_dir" && as_dir=.
3083    for ac_exec_ext in '' $ac_executable_extensions; do
3084  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3085    ac_cv_prog_CC="${ac_tool_prefix}cc"
3086    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3087    break 2
3088  fi
3089done
3090  done
3091IFS=$as_save_IFS
3092
3093fi
3094fi
3095CC=$ac_cv_prog_CC
3096if test -n "$CC"; then
3097  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3098$as_echo "$CC" >&6; }
3099else
3100  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3101$as_echo "no" >&6; }
3102fi
3103
3104
3105  fi
3106fi
3107if test -z "$CC"; then
3108  # Extract the first word of "cc", so it can be a program name with args.
3109set dummy cc; ac_word=$2
3110{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3111$as_echo_n "checking for $ac_word... " >&6; }
3112if ${ac_cv_prog_CC+:} false; then :
3113  $as_echo_n "(cached) " >&6
3114else
3115  if test -n "$CC"; then
3116  ac_cv_prog_CC="$CC" # Let the user override the test.
3117else
3118  ac_prog_rejected=no
3119as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3120for as_dir in $PATH
3121do
3122  IFS=$as_save_IFS
3123  test -z "$as_dir" && as_dir=.
3124    for ac_exec_ext in '' $ac_executable_extensions; do
3125  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3126    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3127       ac_prog_rejected=yes
3128       continue
3129     fi
3130    ac_cv_prog_CC="cc"
3131    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3132    break 2
3133  fi
3134done
3135  done
3136IFS=$as_save_IFS
3137
3138if test $ac_prog_rejected = yes; then
3139  # We found a bogon in the path, so make sure we never use it.
3140  set dummy $ac_cv_prog_CC
3141  shift
3142  if test $@%:@ != 0; then
3143    # We chose a different compiler from the bogus one.
3144    # However, it has the same basename, so the bogon will be chosen
3145    # first if we set CC to just the basename; use the full file name.
3146    shift
3147    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3148  fi
3149fi
3150fi
3151fi
3152CC=$ac_cv_prog_CC
3153if test -n "$CC"; then
3154  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3155$as_echo "$CC" >&6; }
3156else
3157  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3158$as_echo "no" >&6; }
3159fi
3160
3161
3162fi
3163if test -z "$CC"; then
3164  if test -n "$ac_tool_prefix"; then
3165  for ac_prog in cl.exe
3166  do
3167    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3168set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3169{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3170$as_echo_n "checking for $ac_word... " >&6; }
3171if ${ac_cv_prog_CC+:} false; then :
3172  $as_echo_n "(cached) " >&6
3173else
3174  if test -n "$CC"; then
3175  ac_cv_prog_CC="$CC" # Let the user override the test.
3176else
3177as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3178for as_dir in $PATH
3179do
3180  IFS=$as_save_IFS
3181  test -z "$as_dir" && as_dir=.
3182    for ac_exec_ext in '' $ac_executable_extensions; do
3183  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3184    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3185    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3186    break 2
3187  fi
3188done
3189  done
3190IFS=$as_save_IFS
3191
3192fi
3193fi
3194CC=$ac_cv_prog_CC
3195if test -n "$CC"; then
3196  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3197$as_echo "$CC" >&6; }
3198else
3199  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3200$as_echo "no" >&6; }
3201fi
3202
3203
3204    test -n "$CC" && break
3205  done
3206fi
3207if test -z "$CC"; then
3208  ac_ct_CC=$CC
3209  for ac_prog in cl.exe
3210do
3211  # Extract the first word of "$ac_prog", so it can be a program name with args.
3212set dummy $ac_prog; ac_word=$2
3213{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3214$as_echo_n "checking for $ac_word... " >&6; }
3215if ${ac_cv_prog_ac_ct_CC+:} false; then :
3216  $as_echo_n "(cached) " >&6
3217else
3218  if test -n "$ac_ct_CC"; then
3219  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3220else
3221as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3222for as_dir in $PATH
3223do
3224  IFS=$as_save_IFS
3225  test -z "$as_dir" && as_dir=.
3226    for ac_exec_ext in '' $ac_executable_extensions; do
3227  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3228    ac_cv_prog_ac_ct_CC="$ac_prog"
3229    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3230    break 2
3231  fi
3232done
3233  done
3234IFS=$as_save_IFS
3235
3236fi
3237fi
3238ac_ct_CC=$ac_cv_prog_ac_ct_CC
3239if test -n "$ac_ct_CC"; then
3240  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3241$as_echo "$ac_ct_CC" >&6; }
3242else
3243  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3244$as_echo "no" >&6; }
3245fi
3246
3247
3248  test -n "$ac_ct_CC" && break
3249done
3250
3251  if test "x$ac_ct_CC" = x; then
3252    CC=""
3253  else
3254    case $cross_compiling:$ac_tool_warned in
3255yes:)
3256{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3257$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3258ac_tool_warned=yes ;;
3259esac
3260    CC=$ac_ct_CC
3261  fi
3262fi
3263
3264fi
3265
3266
3267test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3268$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3269as_fn_error $? "no acceptable C compiler found in \$PATH
3270See \`config.log' for more details" "$LINENO" 5; }
3271
3272# Provide some information about the compiler.
3273$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3274set X $ac_compile
3275ac_compiler=$2
3276for ac_option in --version -v -V -qversion; do
3277  { { ac_try="$ac_compiler $ac_option >&5"
3278case "(($ac_try" in
3279  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3280  *) ac_try_echo=$ac_try;;
3281esac
3282eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3283$as_echo "$ac_try_echo"; } >&5
3284  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3285  ac_status=$?
3286  if test -s conftest.err; then
3287    sed '10a\
3288... rest of stderr output deleted ...
3289         10q' conftest.err >conftest.er1
3290    cat conftest.er1 >&5
3291  fi
3292  rm -f conftest.er1 conftest.err
3293  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3294  test $ac_status = 0; }
3295done
3296
3297cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3298/* end confdefs.h.  */
3299
3300int
3301main ()
3302{
3303
3304  ;
3305  return 0;
3306}
3307_ACEOF
3308ac_clean_files_save=$ac_clean_files
3309ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3310# Try to create an executable without -o first, disregard a.out.
3311# It will help us diagnose broken compilers, and finding out an intuition
3312# of exeext.
3313{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3314$as_echo_n "checking whether the C compiler works... " >&6; }
3315ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3316
3317# The possible output files:
3318ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3319
3320ac_rmfiles=
3321for ac_file in $ac_files
3322do
3323  case $ac_file in
3324    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3325    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3326  esac
3327done
3328rm -f $ac_rmfiles
3329
3330if { { ac_try="$ac_link_default"
3331case "(($ac_try" in
3332  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3333  *) ac_try_echo=$ac_try;;
3334esac
3335eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3336$as_echo "$ac_try_echo"; } >&5
3337  (eval "$ac_link_default") 2>&5
3338  ac_status=$?
3339  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3340  test $ac_status = 0; }; then :
3341  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3342# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3343# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3344# so that the user can short-circuit this test for compilers unknown to
3345# Autoconf.
3346for ac_file in $ac_files ''
3347do
3348  test -f "$ac_file" || continue
3349  case $ac_file in
3350    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3351	;;
3352    [ab].out )
3353	# We found the default executable, but exeext='' is most
3354	# certainly right.
3355	break;;
3356    *.* )
3357	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3358	then :; else
3359	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3360	fi
3361	# We set ac_cv_exeext here because the later test for it is not
3362	# safe: cross compilers may not add the suffix if given an `-o'
3363	# argument, so we may need to know it at that point already.
3364	# Even if this section looks crufty: it has the advantage of
3365	# actually working.
3366	break;;
3367    * )
3368	break;;
3369  esac
3370done
3371test "$ac_cv_exeext" = no && ac_cv_exeext=
3372
3373else
3374  ac_file=''
3375fi
3376if test -z "$ac_file"; then :
3377  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3378$as_echo "no" >&6; }
3379$as_echo "$as_me: failed program was:" >&5
3380sed 's/^/| /' conftest.$ac_ext >&5
3381
3382{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3383$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3384as_fn_error 77 "C compiler cannot create executables
3385See \`config.log' for more details" "$LINENO" 5; }
3386else
3387  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3388$as_echo "yes" >&6; }
3389fi
3390{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3391$as_echo_n "checking for C compiler default output file name... " >&6; }
3392{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3393$as_echo "$ac_file" >&6; }
3394ac_exeext=$ac_cv_exeext
3395
3396rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3397ac_clean_files=$ac_clean_files_save
3398{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3399$as_echo_n "checking for suffix of executables... " >&6; }
3400if { { ac_try="$ac_link"
3401case "(($ac_try" in
3402  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3403  *) ac_try_echo=$ac_try;;
3404esac
3405eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3406$as_echo "$ac_try_echo"; } >&5
3407  (eval "$ac_link") 2>&5
3408  ac_status=$?
3409  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3410  test $ac_status = 0; }; then :
3411  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3412# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3413# work properly (i.e., refer to `conftest.exe'), while it won't with
3414# `rm'.
3415for ac_file in conftest.exe conftest conftest.*; do
3416  test -f "$ac_file" || continue
3417  case $ac_file in
3418    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3419    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3420	  break;;
3421    * ) break;;
3422  esac
3423done
3424else
3425  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3426$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3427as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3428See \`config.log' for more details" "$LINENO" 5; }
3429fi
3430rm -f conftest conftest$ac_cv_exeext
3431{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3432$as_echo "$ac_cv_exeext" >&6; }
3433
3434rm -f conftest.$ac_ext
3435EXEEXT=$ac_cv_exeext
3436ac_exeext=$EXEEXT
3437cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3438/* end confdefs.h.  */
3439@%:@include <stdio.h>
3440int
3441main ()
3442{
3443FILE *f = fopen ("conftest.out", "w");
3444 return ferror (f) || fclose (f) != 0;
3445
3446  ;
3447  return 0;
3448}
3449_ACEOF
3450ac_clean_files="$ac_clean_files conftest.out"
3451# Check that the compiler produces executables we can run.  If not, either
3452# the compiler is broken, or we cross compile.
3453{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3454$as_echo_n "checking whether we are cross compiling... " >&6; }
3455if test "$cross_compiling" != yes; then
3456  { { ac_try="$ac_link"
3457case "(($ac_try" in
3458  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3459  *) ac_try_echo=$ac_try;;
3460esac
3461eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3462$as_echo "$ac_try_echo"; } >&5
3463  (eval "$ac_link") 2>&5
3464  ac_status=$?
3465  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3466  test $ac_status = 0; }
3467  if { ac_try='./conftest$ac_cv_exeext'
3468  { { case "(($ac_try" in
3469  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3470  *) ac_try_echo=$ac_try;;
3471esac
3472eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3473$as_echo "$ac_try_echo"; } >&5
3474  (eval "$ac_try") 2>&5
3475  ac_status=$?
3476  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3477  test $ac_status = 0; }; }; then
3478    cross_compiling=no
3479  else
3480    if test "$cross_compiling" = maybe; then
3481	cross_compiling=yes
3482    else
3483	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3484$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3485as_fn_error $? "cannot run C compiled programs.
3486If you meant to cross compile, use \`--host'.
3487See \`config.log' for more details" "$LINENO" 5; }
3488    fi
3489  fi
3490fi
3491{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3492$as_echo "$cross_compiling" >&6; }
3493
3494rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3495ac_clean_files=$ac_clean_files_save
3496{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3497$as_echo_n "checking for suffix of object files... " >&6; }
3498if ${ac_cv_objext+:} false; then :
3499  $as_echo_n "(cached) " >&6
3500else
3501  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3502/* end confdefs.h.  */
3503
3504int
3505main ()
3506{
3507
3508  ;
3509  return 0;
3510}
3511_ACEOF
3512rm -f conftest.o conftest.obj
3513if { { ac_try="$ac_compile"
3514case "(($ac_try" in
3515  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3516  *) ac_try_echo=$ac_try;;
3517esac
3518eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3519$as_echo "$ac_try_echo"; } >&5
3520  (eval "$ac_compile") 2>&5
3521  ac_status=$?
3522  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3523  test $ac_status = 0; }; then :
3524  for ac_file in conftest.o conftest.obj conftest.*; do
3525  test -f "$ac_file" || continue;
3526  case $ac_file in
3527    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3528    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3529       break;;
3530  esac
3531done
3532else
3533  $as_echo "$as_me: failed program was:" >&5
3534sed 's/^/| /' conftest.$ac_ext >&5
3535
3536{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3537$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3538as_fn_error $? "cannot compute suffix of object files: cannot compile
3539See \`config.log' for more details" "$LINENO" 5; }
3540fi
3541rm -f conftest.$ac_cv_objext conftest.$ac_ext
3542fi
3543{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3544$as_echo "$ac_cv_objext" >&6; }
3545OBJEXT=$ac_cv_objext
3546ac_objext=$OBJEXT
3547{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3548$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3549if ${ac_cv_c_compiler_gnu+:} false; then :
3550  $as_echo_n "(cached) " >&6
3551else
3552  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3553/* end confdefs.h.  */
3554
3555int
3556main ()
3557{
3558#ifndef __GNUC__
3559       choke me
3560#endif
3561
3562  ;
3563  return 0;
3564}
3565_ACEOF
3566if ac_fn_c_try_compile "$LINENO"; then :
3567  ac_compiler_gnu=yes
3568else
3569  ac_compiler_gnu=no
3570fi
3571rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3572ac_cv_c_compiler_gnu=$ac_compiler_gnu
3573
3574fi
3575{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3576$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3577if test $ac_compiler_gnu = yes; then
3578  GCC=yes
3579else
3580  GCC=
3581fi
3582ac_test_CFLAGS=${CFLAGS+set}
3583ac_save_CFLAGS=$CFLAGS
3584{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3585$as_echo_n "checking whether $CC accepts -g... " >&6; }
3586if ${ac_cv_prog_cc_g+:} false; then :
3587  $as_echo_n "(cached) " >&6
3588else
3589  ac_save_c_werror_flag=$ac_c_werror_flag
3590   ac_c_werror_flag=yes
3591   ac_cv_prog_cc_g=no
3592   CFLAGS="-g"
3593   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3594/* end confdefs.h.  */
3595
3596int
3597main ()
3598{
3599
3600  ;
3601  return 0;
3602}
3603_ACEOF
3604if ac_fn_c_try_compile "$LINENO"; then :
3605  ac_cv_prog_cc_g=yes
3606else
3607  CFLAGS=""
3608      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3609/* end confdefs.h.  */
3610
3611int
3612main ()
3613{
3614
3615  ;
3616  return 0;
3617}
3618_ACEOF
3619if ac_fn_c_try_compile "$LINENO"; then :
3620
3621else
3622  ac_c_werror_flag=$ac_save_c_werror_flag
3623	 CFLAGS="-g"
3624	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3625/* end confdefs.h.  */
3626
3627int
3628main ()
3629{
3630
3631  ;
3632  return 0;
3633}
3634_ACEOF
3635if ac_fn_c_try_compile "$LINENO"; then :
3636  ac_cv_prog_cc_g=yes
3637fi
3638rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3639fi
3640rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3641fi
3642rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3643   ac_c_werror_flag=$ac_save_c_werror_flag
3644fi
3645{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3646$as_echo "$ac_cv_prog_cc_g" >&6; }
3647if test "$ac_test_CFLAGS" = set; then
3648  CFLAGS=$ac_save_CFLAGS
3649elif test $ac_cv_prog_cc_g = yes; then
3650  if test "$GCC" = yes; then
3651    CFLAGS="-g -O2"
3652  else
3653    CFLAGS="-g"
3654  fi
3655else
3656  if test "$GCC" = yes; then
3657    CFLAGS="-O2"
3658  else
3659    CFLAGS=
3660  fi
3661fi
3662{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3663$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3664if ${ac_cv_prog_cc_c89+:} false; then :
3665  $as_echo_n "(cached) " >&6
3666else
3667  ac_cv_prog_cc_c89=no
3668ac_save_CC=$CC
3669cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3670/* end confdefs.h.  */
3671#include <stdarg.h>
3672#include <stdio.h>
3673#include <sys/types.h>
3674#include <sys/stat.h>
3675/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3676struct buf { int x; };
3677FILE * (*rcsopen) (struct buf *, struct stat *, int);
3678static char *e (p, i)
3679     char **p;
3680     int i;
3681{
3682  return p[i];
3683}
3684static char *f (char * (*g) (char **, int), char **p, ...)
3685{
3686  char *s;
3687  va_list v;
3688  va_start (v,p);
3689  s = g (p, va_arg (v,int));
3690  va_end (v);
3691  return s;
3692}
3693
3694/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3695   function prototypes and stuff, but not '\xHH' hex character constants.
3696   These don't provoke an error unfortunately, instead are silently treated
3697   as 'x'.  The following induces an error, until -std is added to get
3698   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3699   array size at least.  It's necessary to write '\x00'==0 to get something
3700   that's true only with -std.  */
3701int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3702
3703/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3704   inside strings and character constants.  */
3705#define FOO(x) 'x'
3706int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3707
3708int test (int i, double x);
3709struct s1 {int (*f) (int a);};
3710struct s2 {int (*f) (double a);};
3711int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3712int argc;
3713char **argv;
3714int
3715main ()
3716{
3717return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3718  ;
3719  return 0;
3720}
3721_ACEOF
3722for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3723	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3724do
3725  CC="$ac_save_CC $ac_arg"
3726  if ac_fn_c_try_compile "$LINENO"; then :
3727  ac_cv_prog_cc_c89=$ac_arg
3728fi
3729rm -f core conftest.err conftest.$ac_objext
3730  test "x$ac_cv_prog_cc_c89" != "xno" && break
3731done
3732rm -f conftest.$ac_ext
3733CC=$ac_save_CC
3734
3735fi
3736# AC_CACHE_VAL
3737case "x$ac_cv_prog_cc_c89" in
3738  x)
3739    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3740$as_echo "none needed" >&6; } ;;
3741  xno)
3742    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3743$as_echo "unsupported" >&6; } ;;
3744  *)
3745    CC="$CC $ac_cv_prog_cc_c89"
3746    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3747$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3748esac
3749if test "x$ac_cv_prog_cc_c89" != xno; then :
3750
3751fi
3752
3753ac_ext=c
3754ac_cpp='$CPP $CPPFLAGS'
3755ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3756ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3757ac_compiler_gnu=$ac_cv_c_compiler_gnu
3758DEPDIR="${am__leading_dot}deps"
3759
3760ac_config_commands="$ac_config_commands depfiles"
3761
3762
3763am_make=${MAKE-make}
3764cat > confinc << 'END'
3765am__doit:
3766	@echo this is the am__doit target
3767.PHONY: am__doit
3768END
3769# If we don't find an include directive, just comment out the code.
3770{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3771$as_echo_n "checking for style of include used by $am_make... " >&6; }
3772am__include="#"
3773am__quote=
3774_am_result=none
3775# First try GNU make style include.
3776echo "include confinc" > confmf
3777# Ignore all kinds of additional output from `make'.
3778case `$am_make -s -f confmf 2> /dev/null` in #(
3779*the\ am__doit\ target*)
3780  am__include=include
3781  am__quote=
3782  _am_result=GNU
3783  ;;
3784esac
3785# Now try BSD make style include.
3786if test "$am__include" = "#"; then
3787   echo '.include "confinc"' > confmf
3788   case `$am_make -s -f confmf 2> /dev/null` in #(
3789   *the\ am__doit\ target*)
3790     am__include=.include
3791     am__quote="\""
3792     _am_result=BSD
3793     ;;
3794   esac
3795fi
3796
3797
3798{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3799$as_echo "$_am_result" >&6; }
3800rm -f confinc confmf
3801
3802@%:@ Check whether --enable-dependency-tracking was given.
3803if test "${enable_dependency_tracking+set}" = set; then :
3804  enableval=$enable_dependency_tracking;
3805fi
3806
3807if test "x$enable_dependency_tracking" != xno; then
3808  am_depcomp="$ac_aux_dir/depcomp"
3809  AMDEPBACKSLASH='\'
3810fi
3811 if test "x$enable_dependency_tracking" != xno; then
3812  AMDEP_TRUE=
3813  AMDEP_FALSE='#'
3814else
3815  AMDEP_TRUE='#'
3816  AMDEP_FALSE=
3817fi
3818
3819
3820
3821depcc="$CC"   am_compiler_list=
3822
3823{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3824$as_echo_n "checking dependency style of $depcc... " >&6; }
3825if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3826  $as_echo_n "(cached) " >&6
3827else
3828  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3829  # We make a subdir and do the tests there.  Otherwise we can end up
3830  # making bogus files that we don't know about and never remove.  For
3831  # instance it was reported that on HP-UX the gcc test will end up
3832  # making a dummy file named `D' -- because `-MD' means `put the output
3833  # in D'.
3834  mkdir conftest.dir
3835  # Copy depcomp to subdir because otherwise we won't find it if we're
3836  # using a relative directory.
3837  cp "$am_depcomp" conftest.dir
3838  cd conftest.dir
3839  # We will build objects and dependencies in a subdirectory because
3840  # it helps to detect inapplicable dependency modes.  For instance
3841  # both Tru64's cc and ICC support -MD to output dependencies as a
3842  # side effect of compilation, but ICC will put the dependencies in
3843  # the current directory while Tru64 will put them in the object
3844  # directory.
3845  mkdir sub
3846
3847  am_cv_CC_dependencies_compiler_type=none
3848  if test "$am_compiler_list" = ""; then
3849     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3850  fi
3851  am__universal=false
3852  case " $depcc " in #(
3853     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3854     esac
3855
3856  for depmode in $am_compiler_list; do
3857    # Setup a source with many dependencies, because some compilers
3858    # like to wrap large dependency lists on column 80 (with \), and
3859    # we should not choose a depcomp mode which is confused by this.
3860    #
3861    # We need to recreate these files for each test, as the compiler may
3862    # overwrite some of them when testing with obscure command lines.
3863    # This happens at least with the AIX C compiler.
3864    : > sub/conftest.c
3865    for i in 1 2 3 4 5 6; do
3866      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3867      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3868      # Solaris 8's {/usr,}/bin/sh.
3869      touch sub/conftst$i.h
3870    done
3871    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3872
3873    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3874    # mode.  It turns out that the SunPro C++ compiler does not properly
3875    # handle `-M -o', and we need to detect this.  Also, some Intel
3876    # versions had trouble with output in subdirs
3877    am__obj=sub/conftest.${OBJEXT-o}
3878    am__minus_obj="-o $am__obj"
3879    case $depmode in
3880    gcc)
3881      # This depmode causes a compiler race in universal mode.
3882      test "$am__universal" = false || continue
3883      ;;
3884    nosideeffect)
3885      # after this tag, mechanisms are not by side-effect, so they'll
3886      # only be used when explicitly requested
3887      if test "x$enable_dependency_tracking" = xyes; then
3888	continue
3889      else
3890	break
3891      fi
3892      ;;
3893    msvisualcpp | msvcmsys)
3894      # This compiler won't grok `-c -o', but also, the minuso test has
3895      # not run yet.  These depmodes are late enough in the game, and
3896      # so weak that their functioning should not be impacted.
3897      am__obj=conftest.${OBJEXT-o}
3898      am__minus_obj=
3899      ;;
3900    none) break ;;
3901    esac
3902    if depmode=$depmode \
3903       source=sub/conftest.c object=$am__obj \
3904       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3905       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3906         >/dev/null 2>conftest.err &&
3907       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3908       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3909       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3910       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3911      # icc doesn't choke on unknown options, it will just issue warnings
3912      # or remarks (even with -Werror).  So we grep stderr for any message
3913      # that says an option was ignored or not supported.
3914      # When given -MP, icc 7.0 and 7.1 complain thusly:
3915      #   icc: Command line warning: ignoring option '-M'; no argument required
3916      # The diagnosis changed in icc 8.0:
3917      #   icc: Command line remark: option '-MP' not supported
3918      if (grep 'ignoring option' conftest.err ||
3919          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3920        am_cv_CC_dependencies_compiler_type=$depmode
3921        break
3922      fi
3923    fi
3924  done
3925
3926  cd ..
3927  rm -rf conftest.dir
3928else
3929  am_cv_CC_dependencies_compiler_type=none
3930fi
3931
3932fi
3933{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3934$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3935CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3936
3937 if
3938  test "x$enable_dependency_tracking" != xno \
3939  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3940  am__fastdepCC_TRUE=
3941  am__fastdepCC_FALSE='#'
3942else
3943  am__fastdepCC_TRUE='#'
3944  am__fastdepCC_FALSE=
3945fi
3946
3947
3948if test "x$CC" != xcc; then
3949  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
3950$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
3951else
3952  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
3953$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
3954fi
3955set dummy $CC; ac_cc=`$as_echo "$2" |
3956		      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3957if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
3958  $as_echo_n "(cached) " >&6
3959else
3960  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3961/* end confdefs.h.  */
3962
3963int
3964main ()
3965{
3966
3967  ;
3968  return 0;
3969}
3970_ACEOF
3971# Make sure it works both with $CC and with simple cc.
3972# We do the test twice because some compilers refuse to overwrite an
3973# existing .o file with -o, though they will create one.
3974ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3975rm -f conftest2.*
3976if { { case "(($ac_try" in
3977  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3978  *) ac_try_echo=$ac_try;;
3979esac
3980eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3981$as_echo "$ac_try_echo"; } >&5
3982  (eval "$ac_try") 2>&5
3983  ac_status=$?
3984  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3985  test $ac_status = 0; } &&
3986   test -f conftest2.$ac_objext && { { case "(($ac_try" in
3987  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3988  *) ac_try_echo=$ac_try;;
3989esac
3990eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3991$as_echo "$ac_try_echo"; } >&5
3992  (eval "$ac_try") 2>&5
3993  ac_status=$?
3994  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3995  test $ac_status = 0; };
3996then
3997  eval ac_cv_prog_cc_${ac_cc}_c_o=yes
3998  if test "x$CC" != xcc; then
3999    # Test first that cc exists at all.
4000    if { ac_try='cc -c conftest.$ac_ext >&5'
4001  { { case "(($ac_try" in
4002  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4003  *) ac_try_echo=$ac_try;;
4004esac
4005eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4006$as_echo "$ac_try_echo"; } >&5
4007  (eval "$ac_try") 2>&5
4008  ac_status=$?
4009  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4010  test $ac_status = 0; }; }; then
4011      ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4012      rm -f conftest2.*
4013      if { { case "(($ac_try" in
4014  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4015  *) ac_try_echo=$ac_try;;
4016esac
4017eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4018$as_echo "$ac_try_echo"; } >&5
4019  (eval "$ac_try") 2>&5
4020  ac_status=$?
4021  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4022  test $ac_status = 0; } &&
4023	 test -f conftest2.$ac_objext && { { case "(($ac_try" in
4024  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4025  *) ac_try_echo=$ac_try;;
4026esac
4027eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4028$as_echo "$ac_try_echo"; } >&5
4029  (eval "$ac_try") 2>&5
4030  ac_status=$?
4031  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4032  test $ac_status = 0; };
4033      then
4034	# cc works too.
4035	:
4036      else
4037	# cc exists but doesn't like -o.
4038	eval ac_cv_prog_cc_${ac_cc}_c_o=no
4039      fi
4040    fi
4041  fi
4042else
4043  eval ac_cv_prog_cc_${ac_cc}_c_o=no
4044fi
4045rm -f core conftest*
4046
4047fi
4048if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4049  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4050$as_echo "yes" >&6; }
4051else
4052  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4053$as_echo "no" >&6; }
4054
4055$as_echo "@%:@define NO_MINUS_C_MINUS_O 1" >>confdefs.h
4056
4057fi
4058
4059# FIXME: we rely on the cache variable name because
4060# there is no other way.
4061set dummy $CC
4062am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4063eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
4064if test "$am_t" != yes; then
4065   # Losing compiler, so override with the script.
4066   # FIXME: It is wrong to rewrite CC.
4067   # But if we don't then we get into trouble of one sort or another.
4068   # A longer-term fix would be to have automake use am__CC in this case,
4069   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4070   CC="$am_aux_dir/compile $CC"
4071fi
4072
4073
4074ac_ext=c
4075ac_cpp='$CPP $CPPFLAGS'
4076ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4077ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4078ac_compiler_gnu=$ac_cv_c_compiler_gnu
4079{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4080$as_echo_n "checking how to run the C preprocessor... " >&6; }
4081# On Suns, sometimes $CPP names a directory.
4082if test -n "$CPP" && test -d "$CPP"; then
4083  CPP=
4084fi
4085if test -z "$CPP"; then
4086  if ${ac_cv_prog_CPP+:} false; then :
4087  $as_echo_n "(cached) " >&6
4088else
4089      # Double quotes because CPP needs to be expanded
4090    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4091    do
4092      ac_preproc_ok=false
4093for ac_c_preproc_warn_flag in '' yes
4094do
4095  # Use a header file that comes with gcc, so configuring glibc
4096  # with a fresh cross-compiler works.
4097  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4098  # <limits.h> exists even on freestanding compilers.
4099  # On the NeXT, cc -E runs the code through the compiler's parser,
4100  # not just through cpp. "Syntax error" is here to catch this case.
4101  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4102/* end confdefs.h.  */
4103@%:@ifdef __STDC__
4104@%:@ include <limits.h>
4105@%:@else
4106@%:@ include <assert.h>
4107@%:@endif
4108		     Syntax error
4109_ACEOF
4110if ac_fn_c_try_cpp "$LINENO"; then :
4111
4112else
4113  # Broken: fails on valid input.
4114continue
4115fi
4116rm -f conftest.err conftest.i conftest.$ac_ext
4117
4118  # OK, works on sane cases.  Now check whether nonexistent headers
4119  # can be detected and how.
4120  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4121/* end confdefs.h.  */
4122@%:@include <ac_nonexistent.h>
4123_ACEOF
4124if ac_fn_c_try_cpp "$LINENO"; then :
4125  # Broken: success on invalid input.
4126continue
4127else
4128  # Passes both tests.
4129ac_preproc_ok=:
4130break
4131fi
4132rm -f conftest.err conftest.i conftest.$ac_ext
4133
4134done
4135# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4136rm -f conftest.i conftest.err conftest.$ac_ext
4137if $ac_preproc_ok; then :
4138  break
4139fi
4140
4141    done
4142    ac_cv_prog_CPP=$CPP
4143
4144fi
4145  CPP=$ac_cv_prog_CPP
4146else
4147  ac_cv_prog_CPP=$CPP
4148fi
4149{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4150$as_echo "$CPP" >&6; }
4151ac_preproc_ok=false
4152for ac_c_preproc_warn_flag in '' yes
4153do
4154  # Use a header file that comes with gcc, so configuring glibc
4155  # with a fresh cross-compiler works.
4156  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4157  # <limits.h> exists even on freestanding compilers.
4158  # On the NeXT, cc -E runs the code through the compiler's parser,
4159  # not just through cpp. "Syntax error" is here to catch this case.
4160  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4161/* end confdefs.h.  */
4162@%:@ifdef __STDC__
4163@%:@ include <limits.h>
4164@%:@else
4165@%:@ include <assert.h>
4166@%:@endif
4167		     Syntax error
4168_ACEOF
4169if ac_fn_c_try_cpp "$LINENO"; then :
4170
4171else
4172  # Broken: fails on valid input.
4173continue
4174fi
4175rm -f conftest.err conftest.i conftest.$ac_ext
4176
4177  # OK, works on sane cases.  Now check whether nonexistent headers
4178  # can be detected and how.
4179  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4180/* end confdefs.h.  */
4181@%:@include <ac_nonexistent.h>
4182_ACEOF
4183if ac_fn_c_try_cpp "$LINENO"; then :
4184  # Broken: success on invalid input.
4185continue
4186else
4187  # Passes both tests.
4188ac_preproc_ok=:
4189break
4190fi
4191rm -f conftest.err conftest.i conftest.$ac_ext
4192
4193done
4194# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4195rm -f conftest.i conftest.err conftest.$ac_ext
4196if $ac_preproc_ok; then :
4197
4198else
4199  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4200$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4201as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4202See \`config.log' for more details" "$LINENO" 5; }
4203fi
4204
4205ac_ext=c
4206ac_cpp='$CPP $CPPFLAGS'
4207ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4208ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4209ac_compiler_gnu=$ac_cv_c_compiler_gnu
4210
4211case `pwd` in
4212  *\ * | *\	*)
4213    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4214$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4215esac
4216
4217
4218
4219macro_version='2.2.6b'
4220macro_revision='1.3017'
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234ltmain="$ac_aux_dir/ltmain.sh"
4235
4236# Make sure we can run config.sub.
4237$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4238  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4239
4240{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4241$as_echo_n "checking build system type... " >&6; }
4242if ${ac_cv_build+:} false; then :
4243  $as_echo_n "(cached) " >&6
4244else
4245  ac_build_alias=$build_alias
4246test "x$ac_build_alias" = x &&
4247  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4248test "x$ac_build_alias" = x &&
4249  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4250ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4251  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4252
4253fi
4254{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4255$as_echo "$ac_cv_build" >&6; }
4256case $ac_cv_build in
4257*-*-*) ;;
4258*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4259esac
4260build=$ac_cv_build
4261ac_save_IFS=$IFS; IFS='-'
4262set x $ac_cv_build
4263shift
4264build_cpu=$1
4265build_vendor=$2
4266shift; shift
4267# Remember, the first character of IFS is used to create $*,
4268# except with old shells:
4269build_os=$*
4270IFS=$ac_save_IFS
4271case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4272
4273
4274{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4275$as_echo_n "checking host system type... " >&6; }
4276if ${ac_cv_host+:} false; then :
4277  $as_echo_n "(cached) " >&6
4278else
4279  if test "x$host_alias" = x; then
4280  ac_cv_host=$ac_cv_build
4281else
4282  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4283    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4284fi
4285
4286fi
4287{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4288$as_echo "$ac_cv_host" >&6; }
4289case $ac_cv_host in
4290*-*-*) ;;
4291*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4292esac
4293host=$ac_cv_host
4294ac_save_IFS=$IFS; IFS='-'
4295set x $ac_cv_host
4296shift
4297host_cpu=$1
4298host_vendor=$2
4299shift; shift
4300# Remember, the first character of IFS is used to create $*,
4301# except with old shells:
4302host_os=$*
4303IFS=$ac_save_IFS
4304case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4305
4306
4307{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4308$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4309if ${ac_cv_path_SED+:} false; then :
4310  $as_echo_n "(cached) " >&6
4311else
4312            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4313     for ac_i in 1 2 3 4 5 6 7; do
4314       ac_script="$ac_script$as_nl$ac_script"
4315     done
4316     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4317     { ac_script=; unset ac_script;}
4318     if test -z "$SED"; then
4319  ac_path_SED_found=false
4320  # Loop through the user's path and test for each of PROGNAME-LIST
4321  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4322for as_dir in $PATH
4323do
4324  IFS=$as_save_IFS
4325  test -z "$as_dir" && as_dir=.
4326    for ac_prog in sed gsed; do
4327    for ac_exec_ext in '' $ac_executable_extensions; do
4328      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4329      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4330# Check for GNU ac_path_SED and select it if it is found.
4331  # Check for GNU $ac_path_SED
4332case `"$ac_path_SED" --version 2>&1` in
4333*GNU*)
4334  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4335*)
4336  ac_count=0
4337  $as_echo_n 0123456789 >"conftest.in"
4338  while :
4339  do
4340    cat "conftest.in" "conftest.in" >"conftest.tmp"
4341    mv "conftest.tmp" "conftest.in"
4342    cp "conftest.in" "conftest.nl"
4343    $as_echo '' >> "conftest.nl"
4344    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4345    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4346    as_fn_arith $ac_count + 1 && ac_count=$as_val
4347    if test $ac_count -gt ${ac_path_SED_max-0}; then
4348      # Best one so far, save it but keep looking for a better one
4349      ac_cv_path_SED="$ac_path_SED"
4350      ac_path_SED_max=$ac_count
4351    fi
4352    # 10*(2^10) chars as input seems more than enough
4353    test $ac_count -gt 10 && break
4354  done
4355  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4356esac
4357
4358      $ac_path_SED_found && break 3
4359    done
4360  done
4361  done
4362IFS=$as_save_IFS
4363  if test -z "$ac_cv_path_SED"; then
4364    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4365  fi
4366else
4367  ac_cv_path_SED=$SED
4368fi
4369
4370fi
4371{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4372$as_echo "$ac_cv_path_SED" >&6; }
4373 SED="$ac_cv_path_SED"
4374  rm -f conftest.sed
4375
4376test -z "$SED" && SED=sed
4377Xsed="$SED -e 1s/^X//"
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4390$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4391if ${ac_cv_path_GREP+:} false; then :
4392  $as_echo_n "(cached) " >&6
4393else
4394  if test -z "$GREP"; then
4395  ac_path_GREP_found=false
4396  # Loop through the user's path and test for each of PROGNAME-LIST
4397  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4398for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4399do
4400  IFS=$as_save_IFS
4401  test -z "$as_dir" && as_dir=.
4402    for ac_prog in grep ggrep; do
4403    for ac_exec_ext in '' $ac_executable_extensions; do
4404      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4405      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4406# Check for GNU ac_path_GREP and select it if it is found.
4407  # Check for GNU $ac_path_GREP
4408case `"$ac_path_GREP" --version 2>&1` in
4409*GNU*)
4410  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4411*)
4412  ac_count=0
4413  $as_echo_n 0123456789 >"conftest.in"
4414  while :
4415  do
4416    cat "conftest.in" "conftest.in" >"conftest.tmp"
4417    mv "conftest.tmp" "conftest.in"
4418    cp "conftest.in" "conftest.nl"
4419    $as_echo 'GREP' >> "conftest.nl"
4420    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4421    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4422    as_fn_arith $ac_count + 1 && ac_count=$as_val
4423    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4424      # Best one so far, save it but keep looking for a better one
4425      ac_cv_path_GREP="$ac_path_GREP"
4426      ac_path_GREP_max=$ac_count
4427    fi
4428    # 10*(2^10) chars as input seems more than enough
4429    test $ac_count -gt 10 && break
4430  done
4431  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4432esac
4433
4434      $ac_path_GREP_found && break 3
4435    done
4436  done
4437  done
4438IFS=$as_save_IFS
4439  if test -z "$ac_cv_path_GREP"; then
4440    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4441  fi
4442else
4443  ac_cv_path_GREP=$GREP
4444fi
4445
4446fi
4447{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4448$as_echo "$ac_cv_path_GREP" >&6; }
4449 GREP="$ac_cv_path_GREP"
4450
4451
4452{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4453$as_echo_n "checking for egrep... " >&6; }
4454if ${ac_cv_path_EGREP+:} false; then :
4455  $as_echo_n "(cached) " >&6
4456else
4457  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4458   then ac_cv_path_EGREP="$GREP -E"
4459   else
4460     if test -z "$EGREP"; then
4461  ac_path_EGREP_found=false
4462  # Loop through the user's path and test for each of PROGNAME-LIST
4463  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4464for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4465do
4466  IFS=$as_save_IFS
4467  test -z "$as_dir" && as_dir=.
4468    for ac_prog in egrep; do
4469    for ac_exec_ext in '' $ac_executable_extensions; do
4470      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4471      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4472# Check for GNU ac_path_EGREP and select it if it is found.
4473  # Check for GNU $ac_path_EGREP
4474case `"$ac_path_EGREP" --version 2>&1` in
4475*GNU*)
4476  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4477*)
4478  ac_count=0
4479  $as_echo_n 0123456789 >"conftest.in"
4480  while :
4481  do
4482    cat "conftest.in" "conftest.in" >"conftest.tmp"
4483    mv "conftest.tmp" "conftest.in"
4484    cp "conftest.in" "conftest.nl"
4485    $as_echo 'EGREP' >> "conftest.nl"
4486    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4487    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4488    as_fn_arith $ac_count + 1 && ac_count=$as_val
4489    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4490      # Best one so far, save it but keep looking for a better one
4491      ac_cv_path_EGREP="$ac_path_EGREP"
4492      ac_path_EGREP_max=$ac_count
4493    fi
4494    # 10*(2^10) chars as input seems more than enough
4495    test $ac_count -gt 10 && break
4496  done
4497  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4498esac
4499
4500      $ac_path_EGREP_found && break 3
4501    done
4502  done
4503  done
4504IFS=$as_save_IFS
4505  if test -z "$ac_cv_path_EGREP"; then
4506    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4507  fi
4508else
4509  ac_cv_path_EGREP=$EGREP
4510fi
4511
4512   fi
4513fi
4514{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4515$as_echo "$ac_cv_path_EGREP" >&6; }
4516 EGREP="$ac_cv_path_EGREP"
4517
4518
4519{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4520$as_echo_n "checking for fgrep... " >&6; }
4521if ${ac_cv_path_FGREP+:} false; then :
4522  $as_echo_n "(cached) " >&6
4523else
4524  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4525   then ac_cv_path_FGREP="$GREP -F"
4526   else
4527     if test -z "$FGREP"; then
4528  ac_path_FGREP_found=false
4529  # Loop through the user's path and test for each of PROGNAME-LIST
4530  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4531for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4532do
4533  IFS=$as_save_IFS
4534  test -z "$as_dir" && as_dir=.
4535    for ac_prog in fgrep; do
4536    for ac_exec_ext in '' $ac_executable_extensions; do
4537      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4538      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4539# Check for GNU ac_path_FGREP and select it if it is found.
4540  # Check for GNU $ac_path_FGREP
4541case `"$ac_path_FGREP" --version 2>&1` in
4542*GNU*)
4543  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4544*)
4545  ac_count=0
4546  $as_echo_n 0123456789 >"conftest.in"
4547  while :
4548  do
4549    cat "conftest.in" "conftest.in" >"conftest.tmp"
4550    mv "conftest.tmp" "conftest.in"
4551    cp "conftest.in" "conftest.nl"
4552    $as_echo 'FGREP' >> "conftest.nl"
4553    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4554    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4555    as_fn_arith $ac_count + 1 && ac_count=$as_val
4556    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4557      # Best one so far, save it but keep looking for a better one
4558      ac_cv_path_FGREP="$ac_path_FGREP"
4559      ac_path_FGREP_max=$ac_count
4560    fi
4561    # 10*(2^10) chars as input seems more than enough
4562    test $ac_count -gt 10 && break
4563  done
4564  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4565esac
4566
4567      $ac_path_FGREP_found && break 3
4568    done
4569  done
4570  done
4571IFS=$as_save_IFS
4572  if test -z "$ac_cv_path_FGREP"; then
4573    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4574  fi
4575else
4576  ac_cv_path_FGREP=$FGREP
4577fi
4578
4579   fi
4580fi
4581{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4582$as_echo "$ac_cv_path_FGREP" >&6; }
4583 FGREP="$ac_cv_path_FGREP"
4584
4585
4586test -z "$GREP" && GREP=grep
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606@%:@ Check whether --with-gnu-ld was given.
4607if test "${with_gnu_ld+set}" = set; then :
4608  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4609else
4610  with_gnu_ld=no
4611fi
4612
4613ac_prog=ld
4614if test "$GCC" = yes; then
4615  # Check if gcc -print-prog-name=ld gives a path.
4616  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4617$as_echo_n "checking for ld used by $CC... " >&6; }
4618  case $host in
4619  *-*-mingw*)
4620    # gcc leaves a trailing carriage return which upsets mingw
4621    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4622  *)
4623    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4624  esac
4625  case $ac_prog in
4626    # Accept absolute paths.
4627    [\\/]* | ?:[\\/]*)
4628      re_direlt='/[^/][^/]*/\.\./'
4629      # Canonicalize the pathname of ld
4630      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4631      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4632	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4633      done
4634      test -z "$LD" && LD="$ac_prog"
4635      ;;
4636  "")
4637    # If it fails, then pretend we aren't using GCC.
4638    ac_prog=ld
4639    ;;
4640  *)
4641    # If it is relative, then search for the first ld in PATH.
4642    with_gnu_ld=unknown
4643    ;;
4644  esac
4645elif test "$with_gnu_ld" = yes; then
4646  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4647$as_echo_n "checking for GNU ld... " >&6; }
4648else
4649  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4650$as_echo_n "checking for non-GNU ld... " >&6; }
4651fi
4652if ${lt_cv_path_LD+:} false; then :
4653  $as_echo_n "(cached) " >&6
4654else
4655  if test -z "$LD"; then
4656  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4657  for ac_dir in $PATH; do
4658    IFS="$lt_save_ifs"
4659    test -z "$ac_dir" && ac_dir=.
4660    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4661      lt_cv_path_LD="$ac_dir/$ac_prog"
4662      # Check to see if the program is GNU ld.  I'd rather use --version,
4663      # but apparently some variants of GNU ld only accept -v.
4664      # Break only if it was the GNU/non-GNU ld that we prefer.
4665      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4666      *GNU* | *'with BFD'*)
4667	test "$with_gnu_ld" != no && break
4668	;;
4669      *)
4670	test "$with_gnu_ld" != yes && break
4671	;;
4672      esac
4673    fi
4674  done
4675  IFS="$lt_save_ifs"
4676else
4677  lt_cv_path_LD="$LD" # Let the user override the test with a path.
4678fi
4679fi
4680
4681LD="$lt_cv_path_LD"
4682if test -n "$LD"; then
4683  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4684$as_echo "$LD" >&6; }
4685else
4686  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4687$as_echo "no" >&6; }
4688fi
4689test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4690{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4691$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4692if ${lt_cv_prog_gnu_ld+:} false; then :
4693  $as_echo_n "(cached) " >&6
4694else
4695  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4696case `$LD -v 2>&1 </dev/null` in
4697*GNU* | *'with BFD'*)
4698  lt_cv_prog_gnu_ld=yes
4699  ;;
4700*)
4701  lt_cv_prog_gnu_ld=no
4702  ;;
4703esac
4704fi
4705{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4706$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4707with_gnu_ld=$lt_cv_prog_gnu_ld
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4718$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4719if ${lt_cv_path_NM+:} false; then :
4720  $as_echo_n "(cached) " >&6
4721else
4722  if test -n "$NM"; then
4723  # Let the user override the test.
4724  lt_cv_path_NM="$NM"
4725else
4726  lt_nm_to_check="${ac_tool_prefix}nm"
4727  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4728    lt_nm_to_check="$lt_nm_to_check nm"
4729  fi
4730  for lt_tmp_nm in $lt_nm_to_check; do
4731    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4732    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4733      IFS="$lt_save_ifs"
4734      test -z "$ac_dir" && ac_dir=.
4735      tmp_nm="$ac_dir/$lt_tmp_nm"
4736      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4737	# Check to see if the nm accepts a BSD-compat flag.
4738	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
4739	#   nm: unknown option "B" ignored
4740	# Tru64's nm complains that /dev/null is an invalid object file
4741	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4742	*/dev/null* | *'Invalid file or object type'*)
4743	  lt_cv_path_NM="$tmp_nm -B"
4744	  break
4745	  ;;
4746	*)
4747	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4748	  */dev/null*)
4749	    lt_cv_path_NM="$tmp_nm -p"
4750	    break
4751	    ;;
4752	  *)
4753	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4754	    continue # so that we can try to find one that supports BSD flags
4755	    ;;
4756	  esac
4757	  ;;
4758	esac
4759      fi
4760    done
4761    IFS="$lt_save_ifs"
4762  done
4763  : ${lt_cv_path_NM=no}
4764fi
4765fi
4766{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4767$as_echo "$lt_cv_path_NM" >&6; }
4768if test "$lt_cv_path_NM" != "no"; then
4769  NM="$lt_cv_path_NM"
4770else
4771  # Didn't find any BSD compatible name lister, look for dumpbin.
4772  if test -n "$ac_tool_prefix"; then
4773  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4774  do
4775    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4776set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4777{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4778$as_echo_n "checking for $ac_word... " >&6; }
4779if ${ac_cv_prog_DUMPBIN+:} false; then :
4780  $as_echo_n "(cached) " >&6
4781else
4782  if test -n "$DUMPBIN"; then
4783  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4784else
4785as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4786for as_dir in $PATH
4787do
4788  IFS=$as_save_IFS
4789  test -z "$as_dir" && as_dir=.
4790    for ac_exec_ext in '' $ac_executable_extensions; do
4791  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4792    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4793    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4794    break 2
4795  fi
4796done
4797  done
4798IFS=$as_save_IFS
4799
4800fi
4801fi
4802DUMPBIN=$ac_cv_prog_DUMPBIN
4803if test -n "$DUMPBIN"; then
4804  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4805$as_echo "$DUMPBIN" >&6; }
4806else
4807  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4808$as_echo "no" >&6; }
4809fi
4810
4811
4812    test -n "$DUMPBIN" && break
4813  done
4814fi
4815if test -z "$DUMPBIN"; then
4816  ac_ct_DUMPBIN=$DUMPBIN
4817  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4818do
4819  # Extract the first word of "$ac_prog", so it can be a program name with args.
4820set dummy $ac_prog; ac_word=$2
4821{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4822$as_echo_n "checking for $ac_word... " >&6; }
4823if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4824  $as_echo_n "(cached) " >&6
4825else
4826  if test -n "$ac_ct_DUMPBIN"; then
4827  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4828else
4829as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4830for as_dir in $PATH
4831do
4832  IFS=$as_save_IFS
4833  test -z "$as_dir" && as_dir=.
4834    for ac_exec_ext in '' $ac_executable_extensions; do
4835  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4836    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4837    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4838    break 2
4839  fi
4840done
4841  done
4842IFS=$as_save_IFS
4843
4844fi
4845fi
4846ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4847if test -n "$ac_ct_DUMPBIN"; then
4848  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4849$as_echo "$ac_ct_DUMPBIN" >&6; }
4850else
4851  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4852$as_echo "no" >&6; }
4853fi
4854
4855
4856  test -n "$ac_ct_DUMPBIN" && break
4857done
4858
4859  if test "x$ac_ct_DUMPBIN" = x; then
4860    DUMPBIN=":"
4861  else
4862    case $cross_compiling:$ac_tool_warned in
4863yes:)
4864{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4865$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4866ac_tool_warned=yes ;;
4867esac
4868    DUMPBIN=$ac_ct_DUMPBIN
4869  fi
4870fi
4871
4872
4873  if test "$DUMPBIN" != ":"; then
4874    NM="$DUMPBIN"
4875  fi
4876fi
4877test -z "$NM" && NM=nm
4878
4879
4880
4881
4882
4883
4884{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4885$as_echo_n "checking the name lister ($NM) interface... " >&6; }
4886if ${lt_cv_nm_interface+:} false; then :
4887  $as_echo_n "(cached) " >&6
4888else
4889  lt_cv_nm_interface="BSD nm"
4890  echo "int some_variable = 0;" > conftest.$ac_ext
4891  (eval echo "\"\$as_me:__oline__: $ac_compile\"" >&5)
4892  (eval "$ac_compile" 2>conftest.err)
4893  cat conftest.err >&5
4894  (eval echo "\"\$as_me:__oline__: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4895  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4896  cat conftest.err >&5
4897  (eval echo "\"\$as_me:__oline__: output\"" >&5)
4898  cat conftest.out >&5
4899  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4900    lt_cv_nm_interface="MS dumpbin"
4901  fi
4902  rm -f conftest*
4903fi
4904{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4905$as_echo "$lt_cv_nm_interface" >&6; }
4906
4907{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4908$as_echo_n "checking whether ln -s works... " >&6; }
4909LN_S=$as_ln_s
4910if test "$LN_S" = "ln -s"; then
4911  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4912$as_echo "yes" >&6; }
4913else
4914  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4915$as_echo "no, using $LN_S" >&6; }
4916fi
4917
4918# find the maximum length of command line arguments
4919{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4920$as_echo_n "checking the maximum length of command line arguments... " >&6; }
4921if ${lt_cv_sys_max_cmd_len+:} false; then :
4922  $as_echo_n "(cached) " >&6
4923else
4924    i=0
4925  teststring="ABCD"
4926
4927  case $build_os in
4928  msdosdjgpp*)
4929    # On DJGPP, this test can blow up pretty badly due to problems in libc
4930    # (any single argument exceeding 2000 bytes causes a buffer overrun
4931    # during glob expansion).  Even if it were fixed, the result of this
4932    # check would be larger than it should be.
4933    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4934    ;;
4935
4936  gnu*)
4937    # Under GNU Hurd, this test is not required because there is
4938    # no limit to the length of command line arguments.
4939    # Libtool will interpret -1 as no limit whatsoever
4940    lt_cv_sys_max_cmd_len=-1;
4941    ;;
4942
4943  cygwin* | mingw* | cegcc*)
4944    # On Win9x/ME, this test blows up -- it succeeds, but takes
4945    # about 5 minutes as the teststring grows exponentially.
4946    # Worse, since 9x/ME are not pre-emptively multitasking,
4947    # you end up with a "frozen" computer, even though with patience
4948    # the test eventually succeeds (with a max line length of 256k).
4949    # Instead, let's just punt: use the minimum linelength reported by
4950    # all of the supported platforms: 8192 (on NT/2K/XP).
4951    lt_cv_sys_max_cmd_len=8192;
4952    ;;
4953
4954  amigaos*)
4955    # On AmigaOS with pdksh, this test takes hours, literally.
4956    # So we just punt and use a minimum line length of 8192.
4957    lt_cv_sys_max_cmd_len=8192;
4958    ;;
4959
4960  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4961    # This has been around since 386BSD, at least.  Likely further.
4962    if test -x /sbin/sysctl; then
4963      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4964    elif test -x /usr/sbin/sysctl; then
4965      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4966    else
4967      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
4968    fi
4969    # And add a safety zone
4970    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4971    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4972    ;;
4973
4974  interix*)
4975    # We know the value 262144 and hardcode it with a safety zone (like BSD)
4976    lt_cv_sys_max_cmd_len=196608
4977    ;;
4978
4979  osf*)
4980    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4981    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4982    # nice to cause kernel panics so lets avoid the loop below.
4983    # First set a reasonable default.
4984    lt_cv_sys_max_cmd_len=16384
4985    #
4986    if test -x /sbin/sysconfig; then
4987      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4988        *1*) lt_cv_sys_max_cmd_len=-1 ;;
4989      esac
4990    fi
4991    ;;
4992  sco3.2v5*)
4993    lt_cv_sys_max_cmd_len=102400
4994    ;;
4995  sysv5* | sco5v6* | sysv4.2uw2*)
4996    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4997    if test -n "$kargmax"; then
4998      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
4999    else
5000      lt_cv_sys_max_cmd_len=32768
5001    fi
5002    ;;
5003  *)
5004    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5005    if test -n "$lt_cv_sys_max_cmd_len"; then
5006      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5007      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5008    else
5009      # Make teststring a little bigger before we do anything with it.
5010      # a 1K string should be a reasonable start.
5011      for i in 1 2 3 4 5 6 7 8 ; do
5012        teststring=$teststring$teststring
5013      done
5014      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5015      # If test is not a shell built-in, we'll probably end up computing a
5016      # maximum length that is only half of the actual maximum length, but
5017      # we can't tell.
5018      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5019	         = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5020	      test $i != 17 # 1/2 MB should be enough
5021      do
5022        i=`expr $i + 1`
5023        teststring=$teststring$teststring
5024      done
5025      # Only check the string length outside the loop.
5026      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5027      teststring=
5028      # Add a significant safety factor because C++ compilers can tack on
5029      # massive amounts of additional arguments before passing them to the
5030      # linker.  It appears as though 1/2 is a usable value.
5031      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5032    fi
5033    ;;
5034  esac
5035
5036fi
5037
5038if test -n $lt_cv_sys_max_cmd_len ; then
5039  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5040$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5041else
5042  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5043$as_echo "none" >&6; }
5044fi
5045max_cmd_len=$lt_cv_sys_max_cmd_len
5046
5047
5048
5049
5050
5051
5052: ${CP="cp -f"}
5053: ${MV="mv -f"}
5054: ${RM="rm -f"}
5055
5056{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5057$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5058# Try some XSI features
5059xsi_shell=no
5060( _lt_dummy="a/b/c"
5061  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5062      = c,a/b,, \
5063    && eval 'test $(( 1 + 1 )) -eq 2 \
5064    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5065  && xsi_shell=yes
5066{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5067$as_echo "$xsi_shell" >&6; }
5068
5069
5070{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5071$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5072lt_shell_append=no
5073( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5074    >/dev/null 2>&1 \
5075  && lt_shell_append=yes
5076{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5077$as_echo "$lt_shell_append" >&6; }
5078
5079
5080if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5081  lt_unset=unset
5082else
5083  lt_unset=false
5084fi
5085
5086
5087
5088
5089
5090# test EBCDIC or ASCII
5091case `echo X|tr X '\101'` in
5092 A) # ASCII based system
5093    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5094  lt_SP2NL='tr \040 \012'
5095  lt_NL2SP='tr \015\012 \040\040'
5096  ;;
5097 *) # EBCDIC based system
5098  lt_SP2NL='tr \100 \n'
5099  lt_NL2SP='tr \r\n \100\100'
5100  ;;
5101esac
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5112$as_echo_n "checking for $LD option to reload object files... " >&6; }
5113if ${lt_cv_ld_reload_flag+:} false; then :
5114  $as_echo_n "(cached) " >&6
5115else
5116  lt_cv_ld_reload_flag='-r'
5117fi
5118{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5119$as_echo "$lt_cv_ld_reload_flag" >&6; }
5120reload_flag=$lt_cv_ld_reload_flag
5121case $reload_flag in
5122"" | " "*) ;;
5123*) reload_flag=" $reload_flag" ;;
5124esac
5125reload_cmds='$LD$reload_flag -o $output$reload_objs'
5126case $host_os in
5127  darwin*)
5128    if test "$GCC" = yes; then
5129      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5130    else
5131      reload_cmds='$LD$reload_flag -o $output$reload_objs'
5132    fi
5133    ;;
5134esac
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144if test -n "$ac_tool_prefix"; then
5145  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5146set dummy ${ac_tool_prefix}objdump; ac_word=$2
5147{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5148$as_echo_n "checking for $ac_word... " >&6; }
5149if ${ac_cv_prog_OBJDUMP+:} false; then :
5150  $as_echo_n "(cached) " >&6
5151else
5152  if test -n "$OBJDUMP"; then
5153  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5154else
5155as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5156for as_dir in $PATH
5157do
5158  IFS=$as_save_IFS
5159  test -z "$as_dir" && as_dir=.
5160    for ac_exec_ext in '' $ac_executable_extensions; do
5161  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5162    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5163    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5164    break 2
5165  fi
5166done
5167  done
5168IFS=$as_save_IFS
5169
5170fi
5171fi
5172OBJDUMP=$ac_cv_prog_OBJDUMP
5173if test -n "$OBJDUMP"; then
5174  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5175$as_echo "$OBJDUMP" >&6; }
5176else
5177  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5178$as_echo "no" >&6; }
5179fi
5180
5181
5182fi
5183if test -z "$ac_cv_prog_OBJDUMP"; then
5184  ac_ct_OBJDUMP=$OBJDUMP
5185  # Extract the first word of "objdump", so it can be a program name with args.
5186set dummy objdump; ac_word=$2
5187{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5188$as_echo_n "checking for $ac_word... " >&6; }
5189if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5190  $as_echo_n "(cached) " >&6
5191else
5192  if test -n "$ac_ct_OBJDUMP"; then
5193  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5194else
5195as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5196for as_dir in $PATH
5197do
5198  IFS=$as_save_IFS
5199  test -z "$as_dir" && as_dir=.
5200    for ac_exec_ext in '' $ac_executable_extensions; do
5201  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5202    ac_cv_prog_ac_ct_OBJDUMP="objdump"
5203    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5204    break 2
5205  fi
5206done
5207  done
5208IFS=$as_save_IFS
5209
5210fi
5211fi
5212ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5213if test -n "$ac_ct_OBJDUMP"; then
5214  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5215$as_echo "$ac_ct_OBJDUMP" >&6; }
5216else
5217  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5218$as_echo "no" >&6; }
5219fi
5220
5221  if test "x$ac_ct_OBJDUMP" = x; then
5222    OBJDUMP="false"
5223  else
5224    case $cross_compiling:$ac_tool_warned in
5225yes:)
5226{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5227$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5228ac_tool_warned=yes ;;
5229esac
5230    OBJDUMP=$ac_ct_OBJDUMP
5231  fi
5232else
5233  OBJDUMP="$ac_cv_prog_OBJDUMP"
5234fi
5235
5236test -z "$OBJDUMP" && OBJDUMP=objdump
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5247$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5248if ${lt_cv_deplibs_check_method+:} false; then :
5249  $as_echo_n "(cached) " >&6
5250else
5251  lt_cv_file_magic_cmd='$MAGIC_CMD'
5252lt_cv_file_magic_test_file=
5253lt_cv_deplibs_check_method='unknown'
5254# Need to set the preceding variable on all platforms that support
5255# interlibrary dependencies.
5256# 'none' -- dependencies not supported.
5257# `unknown' -- same as none, but documents that we really don't know.
5258# 'pass_all' -- all dependencies passed with no checks.
5259# 'test_compile' -- check by making test program.
5260# 'file_magic [[regex]]' -- check by looking for files in library path
5261# which responds to the $file_magic_cmd with a given extended regex.
5262# If you have `file' or equivalent on your system and you're not sure
5263# whether `pass_all' will *always* work, you probably want this one.
5264
5265case $host_os in
5266aix[4-9]*)
5267  lt_cv_deplibs_check_method=pass_all
5268  ;;
5269
5270beos*)
5271  lt_cv_deplibs_check_method=pass_all
5272  ;;
5273
5274bsdi[45]*)
5275  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5276  lt_cv_file_magic_cmd='/usr/bin/file -L'
5277  lt_cv_file_magic_test_file=/shlib/libc.so
5278  ;;
5279
5280cygwin*)
5281  # func_win32_libid is a shell function defined in ltmain.sh
5282  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5283  lt_cv_file_magic_cmd='func_win32_libid'
5284  ;;
5285
5286mingw* | pw32*)
5287  # Base MSYS/MinGW do not provide the 'file' command needed by
5288  # func_win32_libid shell function, so use a weaker test based on 'objdump',
5289  # unless we find 'file', for example because we are cross-compiling.
5290  if ( file / ) >/dev/null 2>&1; then
5291    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5292    lt_cv_file_magic_cmd='func_win32_libid'
5293  else
5294    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5295    lt_cv_file_magic_cmd='$OBJDUMP -f'
5296  fi
5297  ;;
5298
5299cegcc)
5300  # use the weaker test based on 'objdump'. See mingw*.
5301  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5302  lt_cv_file_magic_cmd='$OBJDUMP -f'
5303  ;;
5304
5305darwin* | rhapsody*)
5306  lt_cv_deplibs_check_method=pass_all
5307  ;;
5308
5309freebsd* | dragonfly*)
5310  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5311    case $host_cpu in
5312    i*86 )
5313      # Not sure whether the presence of OpenBSD here was a mistake.
5314      # Let's accept both of them until this is cleared up.
5315      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5316      lt_cv_file_magic_cmd=/usr/bin/file
5317      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5318      ;;
5319    esac
5320  else
5321    lt_cv_deplibs_check_method=pass_all
5322  fi
5323  ;;
5324
5325gnu*)
5326  lt_cv_deplibs_check_method=pass_all
5327  ;;
5328
5329hpux10.20* | hpux11*)
5330  lt_cv_file_magic_cmd=/usr/bin/file
5331  case $host_cpu in
5332  ia64*)
5333    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5334    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5335    ;;
5336  hppa*64*)
5337    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]'
5338    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5339    ;;
5340  *)
5341    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5342    lt_cv_file_magic_test_file=/usr/lib/libc.sl
5343    ;;
5344  esac
5345  ;;
5346
5347interix[3-9]*)
5348  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5349  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5350  ;;
5351
5352irix5* | irix6* | nonstopux*)
5353  case $LD in
5354  *-32|*"-32 ") libmagic=32-bit;;
5355  *-n32|*"-n32 ") libmagic=N32;;
5356  *-64|*"-64 ") libmagic=64-bit;;
5357  *) libmagic=never-match;;
5358  esac
5359  lt_cv_deplibs_check_method=pass_all
5360  ;;
5361
5362# This must be Linux ELF.
5363linux* | k*bsd*-gnu)
5364  lt_cv_deplibs_check_method=pass_all
5365  ;;
5366
5367netbsd*)
5368  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5369    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5370  else
5371    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5372  fi
5373  ;;
5374
5375newos6*)
5376  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5377  lt_cv_file_magic_cmd=/usr/bin/file
5378  lt_cv_file_magic_test_file=/usr/lib/libnls.so
5379  ;;
5380
5381*nto* | *qnx*)
5382  lt_cv_deplibs_check_method=pass_all
5383  ;;
5384
5385openbsd*)
5386  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5387    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5388  else
5389    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5390  fi
5391  ;;
5392
5393osf3* | osf4* | osf5*)
5394  lt_cv_deplibs_check_method=pass_all
5395  ;;
5396
5397rdos*)
5398  lt_cv_deplibs_check_method=pass_all
5399  ;;
5400
5401solaris*)
5402  lt_cv_deplibs_check_method=pass_all
5403  ;;
5404
5405sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5406  lt_cv_deplibs_check_method=pass_all
5407  ;;
5408
5409sysv4 | sysv4.3*)
5410  case $host_vendor in
5411  motorola)
5412    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]'
5413    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5414    ;;
5415  ncr)
5416    lt_cv_deplibs_check_method=pass_all
5417    ;;
5418  sequent)
5419    lt_cv_file_magic_cmd='/bin/file'
5420    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5421    ;;
5422  sni)
5423    lt_cv_file_magic_cmd='/bin/file'
5424    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5425    lt_cv_file_magic_test_file=/lib/libc.so
5426    ;;
5427  siemens)
5428    lt_cv_deplibs_check_method=pass_all
5429    ;;
5430  pc)
5431    lt_cv_deplibs_check_method=pass_all
5432    ;;
5433  esac
5434  ;;
5435
5436tpf*)
5437  lt_cv_deplibs_check_method=pass_all
5438  ;;
5439esac
5440
5441fi
5442{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5443$as_echo "$lt_cv_deplibs_check_method" >&6; }
5444file_magic_cmd=$lt_cv_file_magic_cmd
5445deplibs_check_method=$lt_cv_deplibs_check_method
5446test -z "$deplibs_check_method" && deplibs_check_method=unknown
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459if test -n "$ac_tool_prefix"; then
5460  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5461set dummy ${ac_tool_prefix}ar; ac_word=$2
5462{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5463$as_echo_n "checking for $ac_word... " >&6; }
5464if ${ac_cv_prog_AR+:} false; then :
5465  $as_echo_n "(cached) " >&6
5466else
5467  if test -n "$AR"; then
5468  ac_cv_prog_AR="$AR" # Let the user override the test.
5469else
5470as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5471for as_dir in $PATH
5472do
5473  IFS=$as_save_IFS
5474  test -z "$as_dir" && as_dir=.
5475    for ac_exec_ext in '' $ac_executable_extensions; do
5476  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5477    ac_cv_prog_AR="${ac_tool_prefix}ar"
5478    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5479    break 2
5480  fi
5481done
5482  done
5483IFS=$as_save_IFS
5484
5485fi
5486fi
5487AR=$ac_cv_prog_AR
5488if test -n "$AR"; then
5489  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5490$as_echo "$AR" >&6; }
5491else
5492  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5493$as_echo "no" >&6; }
5494fi
5495
5496
5497fi
5498if test -z "$ac_cv_prog_AR"; then
5499  ac_ct_AR=$AR
5500  # Extract the first word of "ar", so it can be a program name with args.
5501set dummy ar; ac_word=$2
5502{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5503$as_echo_n "checking for $ac_word... " >&6; }
5504if ${ac_cv_prog_ac_ct_AR+:} false; then :
5505  $as_echo_n "(cached) " >&6
5506else
5507  if test -n "$ac_ct_AR"; then
5508  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5509else
5510as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5511for as_dir in $PATH
5512do
5513  IFS=$as_save_IFS
5514  test -z "$as_dir" && as_dir=.
5515    for ac_exec_ext in '' $ac_executable_extensions; do
5516  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5517    ac_cv_prog_ac_ct_AR="ar"
5518    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5519    break 2
5520  fi
5521done
5522  done
5523IFS=$as_save_IFS
5524
5525fi
5526fi
5527ac_ct_AR=$ac_cv_prog_ac_ct_AR
5528if test -n "$ac_ct_AR"; then
5529  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5530$as_echo "$ac_ct_AR" >&6; }
5531else
5532  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5533$as_echo "no" >&6; }
5534fi
5535
5536  if test "x$ac_ct_AR" = x; then
5537    AR="false"
5538  else
5539    case $cross_compiling:$ac_tool_warned in
5540yes:)
5541{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5542$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5543ac_tool_warned=yes ;;
5544esac
5545    AR=$ac_ct_AR
5546  fi
5547else
5548  AR="$ac_cv_prog_AR"
5549fi
5550
5551test -z "$AR" && AR=ar
5552test -z "$AR_FLAGS" && AR_FLAGS=cru
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564if test -n "$ac_tool_prefix"; then
5565  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5566set dummy ${ac_tool_prefix}strip; ac_word=$2
5567{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5568$as_echo_n "checking for $ac_word... " >&6; }
5569if ${ac_cv_prog_STRIP+:} false; then :
5570  $as_echo_n "(cached) " >&6
5571else
5572  if test -n "$STRIP"; then
5573  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5574else
5575as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5576for as_dir in $PATH
5577do
5578  IFS=$as_save_IFS
5579  test -z "$as_dir" && as_dir=.
5580    for ac_exec_ext in '' $ac_executable_extensions; do
5581  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5582    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5583    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5584    break 2
5585  fi
5586done
5587  done
5588IFS=$as_save_IFS
5589
5590fi
5591fi
5592STRIP=$ac_cv_prog_STRIP
5593if test -n "$STRIP"; then
5594  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5595$as_echo "$STRIP" >&6; }
5596else
5597  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5598$as_echo "no" >&6; }
5599fi
5600
5601
5602fi
5603if test -z "$ac_cv_prog_STRIP"; then
5604  ac_ct_STRIP=$STRIP
5605  # Extract the first word of "strip", so it can be a program name with args.
5606set dummy strip; ac_word=$2
5607{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5608$as_echo_n "checking for $ac_word... " >&6; }
5609if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5610  $as_echo_n "(cached) " >&6
5611else
5612  if test -n "$ac_ct_STRIP"; then
5613  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5614else
5615as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5616for as_dir in $PATH
5617do
5618  IFS=$as_save_IFS
5619  test -z "$as_dir" && as_dir=.
5620    for ac_exec_ext in '' $ac_executable_extensions; do
5621  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5622    ac_cv_prog_ac_ct_STRIP="strip"
5623    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5624    break 2
5625  fi
5626done
5627  done
5628IFS=$as_save_IFS
5629
5630fi
5631fi
5632ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5633if test -n "$ac_ct_STRIP"; then
5634  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5635$as_echo "$ac_ct_STRIP" >&6; }
5636else
5637  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5638$as_echo "no" >&6; }
5639fi
5640
5641  if test "x$ac_ct_STRIP" = x; then
5642    STRIP=":"
5643  else
5644    case $cross_compiling:$ac_tool_warned in
5645yes:)
5646{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5647$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5648ac_tool_warned=yes ;;
5649esac
5650    STRIP=$ac_ct_STRIP
5651  fi
5652else
5653  STRIP="$ac_cv_prog_STRIP"
5654fi
5655
5656test -z "$STRIP" && STRIP=:
5657
5658
5659
5660
5661
5662
5663if test -n "$ac_tool_prefix"; then
5664  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5665set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5666{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5667$as_echo_n "checking for $ac_word... " >&6; }
5668if ${ac_cv_prog_RANLIB+:} false; then :
5669  $as_echo_n "(cached) " >&6
5670else
5671  if test -n "$RANLIB"; then
5672  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5673else
5674as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5675for as_dir in $PATH
5676do
5677  IFS=$as_save_IFS
5678  test -z "$as_dir" && as_dir=.
5679    for ac_exec_ext in '' $ac_executable_extensions; do
5680  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5681    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5682    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5683    break 2
5684  fi
5685done
5686  done
5687IFS=$as_save_IFS
5688
5689fi
5690fi
5691RANLIB=$ac_cv_prog_RANLIB
5692if test -n "$RANLIB"; then
5693  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5694$as_echo "$RANLIB" >&6; }
5695else
5696  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5697$as_echo "no" >&6; }
5698fi
5699
5700
5701fi
5702if test -z "$ac_cv_prog_RANLIB"; then
5703  ac_ct_RANLIB=$RANLIB
5704  # Extract the first word of "ranlib", so it can be a program name with args.
5705set dummy ranlib; ac_word=$2
5706{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5707$as_echo_n "checking for $ac_word... " >&6; }
5708if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5709  $as_echo_n "(cached) " >&6
5710else
5711  if test -n "$ac_ct_RANLIB"; then
5712  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5713else
5714as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5715for as_dir in $PATH
5716do
5717  IFS=$as_save_IFS
5718  test -z "$as_dir" && as_dir=.
5719    for ac_exec_ext in '' $ac_executable_extensions; do
5720  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5721    ac_cv_prog_ac_ct_RANLIB="ranlib"
5722    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5723    break 2
5724  fi
5725done
5726  done
5727IFS=$as_save_IFS
5728
5729fi
5730fi
5731ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5732if test -n "$ac_ct_RANLIB"; then
5733  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5734$as_echo "$ac_ct_RANLIB" >&6; }
5735else
5736  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5737$as_echo "no" >&6; }
5738fi
5739
5740  if test "x$ac_ct_RANLIB" = x; then
5741    RANLIB=":"
5742  else
5743    case $cross_compiling:$ac_tool_warned in
5744yes:)
5745{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5746$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5747ac_tool_warned=yes ;;
5748esac
5749    RANLIB=$ac_ct_RANLIB
5750  fi
5751else
5752  RANLIB="$ac_cv_prog_RANLIB"
5753fi
5754
5755test -z "$RANLIB" && RANLIB=:
5756
5757
5758
5759
5760
5761
5762# Determine commands to create old-style static archives.
5763old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5764old_postinstall_cmds='chmod 644 $oldlib'
5765old_postuninstall_cmds=
5766
5767if test -n "$RANLIB"; then
5768  case $host_os in
5769  openbsd*)
5770    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5771    ;;
5772  *)
5773    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5774    ;;
5775  esac
5776  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5777fi
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812# If no C compiler was specified, use CC.
5813LTCC=${LTCC-"$CC"}
5814
5815# If no C compiler flags were specified, use CFLAGS.
5816LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5817
5818# Allow CC to be a program name with arguments.
5819compiler=$CC
5820
5821
5822# Check for command to grab the raw symbol name followed by C symbol from nm.
5823{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5824$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5825if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5826  $as_echo_n "(cached) " >&6
5827else
5828
5829# These are sane defaults that work on at least a few old systems.
5830# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
5831
5832# Character class describing NM global symbol codes.
5833symcode='[BCDEGRST]'
5834
5835# Regexp to match symbols that can be accessed directly from C.
5836sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5837
5838# Define system-specific variables.
5839case $host_os in
5840aix*)
5841  symcode='[BCDT]'
5842  ;;
5843cygwin* | mingw* | pw32* | cegcc*)
5844  symcode='[ABCDGISTW]'
5845  ;;
5846hpux*)
5847  if test "$host_cpu" = ia64; then
5848    symcode='[ABCDEGRST]'
5849  fi
5850  ;;
5851irix* | nonstopux*)
5852  symcode='[BCDEGRST]'
5853  ;;
5854osf*)
5855  symcode='[BCDEGQRST]'
5856  ;;
5857solaris*)
5858  symcode='[BDRT]'
5859  ;;
5860sco3.2v5*)
5861  symcode='[DT]'
5862  ;;
5863sysv4.2uw2*)
5864  symcode='[DT]'
5865  ;;
5866sysv5* | sco5v6* | unixware* | OpenUNIX*)
5867  symcode='[ABDT]'
5868  ;;
5869sysv4)
5870  symcode='[DFNSTU]'
5871  ;;
5872esac
5873
5874# If we're using GNU nm, then use its standard symbol codes.
5875case `$NM -V 2>&1` in
5876*GNU* | *'with BFD'*)
5877  symcode='[ABCDGIRSTW]' ;;
5878esac
5879
5880# Transform an extracted symbol line into a proper C declaration.
5881# Some systems (esp. on ia64) link data and code symbols differently,
5882# so use this general approach.
5883lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5884
5885# Transform an extracted symbol line into symbol name and symbol address
5886lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
5887lt_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'"
5888
5889# Handle CRLF in mingw tool chain
5890opt_cr=
5891case $build_os in
5892mingw*)
5893  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5894  ;;
5895esac
5896
5897# Try without a prefix underscore, then with it.
5898for ac_symprfx in "" "_"; do
5899
5900  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5901  symxfrm="\\1 $ac_symprfx\\2 \\2"
5902
5903  # Write the raw and C identifiers.
5904  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5905    # Fake it for dumpbin and say T for any non-static function
5906    # and D for any global variable.
5907    # Also find C++ and __fastcall symbols from MSVC++,
5908    # which start with @ or ?.
5909    lt_cv_sys_global_symbol_pipe="$AWK '"\
5910"     {last_section=section; section=\$ 3};"\
5911"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5912"     \$ 0!~/External *\|/{next};"\
5913"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5914"     {if(hide[section]) next};"\
5915"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5916"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5917"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
5918"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5919"     ' prfx=^$ac_symprfx"
5920  else
5921    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5922  fi
5923
5924  # Check to see that the pipe works correctly.
5925  pipe_works=no
5926
5927  rm -f conftest*
5928  cat > conftest.$ac_ext <<_LT_EOF
5929#ifdef __cplusplus
5930extern "C" {
5931#endif
5932char nm_test_var;
5933void nm_test_func(void);
5934void nm_test_func(void){}
5935#ifdef __cplusplus
5936}
5937#endif
5938int main(){nm_test_var='a';nm_test_func();return(0);}
5939_LT_EOF
5940
5941  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5942  (eval $ac_compile) 2>&5
5943  ac_status=$?
5944  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5945  test $ac_status = 0; }; then
5946    # Now try to grab the symbols.
5947    nlist=conftest.nm
5948    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
5949  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5950  ac_status=$?
5951  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5952  test $ac_status = 0; } && test -s "$nlist"; then
5953      # Try sorting and uniquifying the output.
5954      if sort "$nlist" | uniq > "$nlist"T; then
5955	mv -f "$nlist"T "$nlist"
5956      else
5957	rm -f "$nlist"T
5958      fi
5959
5960      # Make sure that we snagged all the symbols we need.
5961      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5962	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5963	  cat <<_LT_EOF > conftest.$ac_ext
5964#ifdef __cplusplus
5965extern "C" {
5966#endif
5967
5968_LT_EOF
5969	  # Now generate the symbol file.
5970	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5971
5972	  cat <<_LT_EOF >> conftest.$ac_ext
5973
5974/* The mapping between symbol names and symbols.  */
5975const struct {
5976  const char *name;
5977  void       *address;
5978}
5979lt__PROGRAM__LTX_preloaded_symbols[] =
5980{
5981  { "@PROGRAM@", (void *) 0 },
5982_LT_EOF
5983	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5984	  cat <<\_LT_EOF >> conftest.$ac_ext
5985  {0, (void *) 0}
5986};
5987
5988/* This works around a problem in FreeBSD linker */
5989#ifdef FREEBSD_WORKAROUND
5990static const void *lt_preloaded_setup() {
5991  return lt__PROGRAM__LTX_preloaded_symbols;
5992}
5993#endif
5994
5995#ifdef __cplusplus
5996}
5997#endif
5998_LT_EOF
5999	  # Now try linking the two files.
6000	  mv conftest.$ac_objext conftstm.$ac_objext
6001	  lt_save_LIBS="$LIBS"
6002	  lt_save_CFLAGS="$CFLAGS"
6003	  LIBS="conftstm.$ac_objext"
6004	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6005	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6006  (eval $ac_link) 2>&5
6007  ac_status=$?
6008  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6009  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6010	    pipe_works=yes
6011	  fi
6012	  LIBS="$lt_save_LIBS"
6013	  CFLAGS="$lt_save_CFLAGS"
6014	else
6015	  echo "cannot find nm_test_func in $nlist" >&5
6016	fi
6017      else
6018	echo "cannot find nm_test_var in $nlist" >&5
6019      fi
6020    else
6021      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6022    fi
6023  else
6024    echo "$progname: failed program was:" >&5
6025    cat conftest.$ac_ext >&5
6026  fi
6027  rm -rf conftest* conftst*
6028
6029  # Do not use the global_symbol_pipe unless it works.
6030  if test "$pipe_works" = yes; then
6031    break
6032  else
6033    lt_cv_sys_global_symbol_pipe=
6034  fi
6035done
6036
6037fi
6038
6039if test -z "$lt_cv_sys_global_symbol_pipe"; then
6040  lt_cv_sys_global_symbol_to_cdecl=
6041fi
6042if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6043  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6044$as_echo "failed" >&6; }
6045else
6046  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6047$as_echo "ok" >&6; }
6048fi
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072@%:@ Check whether --enable-libtool-lock was given.
6073if test "${enable_libtool_lock+set}" = set; then :
6074  enableval=$enable_libtool_lock;
6075fi
6076
6077test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6078
6079# Some flags need to be propagated to the compiler or linker for good
6080# libtool support.
6081case $host in
6082ia64-*-hpux*)
6083  # Find out which ABI we are using.
6084  echo 'int i;' > conftest.$ac_ext
6085  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6086  (eval $ac_compile) 2>&5
6087  ac_status=$?
6088  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6089  test $ac_status = 0; }; then
6090    case `/usr/bin/file conftest.$ac_objext` in
6091      *ELF-32*)
6092	HPUX_IA64_MODE="32"
6093	;;
6094      *ELF-64*)
6095	HPUX_IA64_MODE="64"
6096	;;
6097    esac
6098  fi
6099  rm -rf conftest*
6100  ;;
6101*-*-irix6*)
6102  # Find out which ABI we are using.
6103  echo '#line __oline__ "configure"' > conftest.$ac_ext
6104  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6105  (eval $ac_compile) 2>&5
6106  ac_status=$?
6107  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6108  test $ac_status = 0; }; then
6109    if test "$lt_cv_prog_gnu_ld" = yes; then
6110      case `/usr/bin/file conftest.$ac_objext` in
6111	*32-bit*)
6112	  LD="${LD-ld} -melf32bsmip"
6113	  ;;
6114	*N32*)
6115	  LD="${LD-ld} -melf32bmipn32"
6116	  ;;
6117	*64-bit*)
6118	  LD="${LD-ld} -melf64bmip"
6119	;;
6120      esac
6121    else
6122      case `/usr/bin/file conftest.$ac_objext` in
6123	*32-bit*)
6124	  LD="${LD-ld} -32"
6125	  ;;
6126	*N32*)
6127	  LD="${LD-ld} -n32"
6128	  ;;
6129	*64-bit*)
6130	  LD="${LD-ld} -64"
6131	  ;;
6132      esac
6133    fi
6134  fi
6135  rm -rf conftest*
6136  ;;
6137
6138x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6139s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6140  # Find out which ABI we are using.
6141  echo 'int i;' > conftest.$ac_ext
6142  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6143  (eval $ac_compile) 2>&5
6144  ac_status=$?
6145  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6146  test $ac_status = 0; }; then
6147    case `/usr/bin/file conftest.o` in
6148      *32-bit*)
6149	case $host in
6150	  x86_64-*kfreebsd*-gnu)
6151	    LD="${LD-ld} -m elf_i386_fbsd"
6152	    ;;
6153	  x86_64-*linux*)
6154	    LD="${LD-ld} -m elf_i386"
6155	    ;;
6156	  ppc64-*linux*|powerpc64-*linux*)
6157	    LD="${LD-ld} -m elf32ppclinux"
6158	    ;;
6159	  s390x-*linux*)
6160	    LD="${LD-ld} -m elf_s390"
6161	    ;;
6162	  sparc64-*linux*)
6163	    LD="${LD-ld} -m elf32_sparc"
6164	    ;;
6165	esac
6166	;;
6167      *64-bit*)
6168	case $host in
6169	  x86_64-*kfreebsd*-gnu)
6170	    LD="${LD-ld} -m elf_x86_64_fbsd"
6171	    ;;
6172	  x86_64-*linux*)
6173	    LD="${LD-ld} -m elf_x86_64"
6174	    ;;
6175	  ppc*-*linux*|powerpc*-*linux*)
6176	    LD="${LD-ld} -m elf64ppc"
6177	    ;;
6178	  s390*-*linux*|s390*-*tpf*)
6179	    LD="${LD-ld} -m elf64_s390"
6180	    ;;
6181	  sparc*-*linux*)
6182	    LD="${LD-ld} -m elf64_sparc"
6183	    ;;
6184	esac
6185	;;
6186    esac
6187  fi
6188  rm -rf conftest*
6189  ;;
6190
6191*-*-sco3.2v5*)
6192  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6193  SAVE_CFLAGS="$CFLAGS"
6194  CFLAGS="$CFLAGS -belf"
6195  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6196$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6197if ${lt_cv_cc_needs_belf+:} false; then :
6198  $as_echo_n "(cached) " >&6
6199else
6200  ac_ext=c
6201ac_cpp='$CPP $CPPFLAGS'
6202ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6203ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6204ac_compiler_gnu=$ac_cv_c_compiler_gnu
6205
6206     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6207/* end confdefs.h.  */
6208
6209int
6210main ()
6211{
6212
6213  ;
6214  return 0;
6215}
6216_ACEOF
6217if ac_fn_c_try_link "$LINENO"; then :
6218  lt_cv_cc_needs_belf=yes
6219else
6220  lt_cv_cc_needs_belf=no
6221fi
6222rm -f core conftest.err conftest.$ac_objext \
6223    conftest$ac_exeext conftest.$ac_ext
6224     ac_ext=c
6225ac_cpp='$CPP $CPPFLAGS'
6226ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6227ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6228ac_compiler_gnu=$ac_cv_c_compiler_gnu
6229
6230fi
6231{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6232$as_echo "$lt_cv_cc_needs_belf" >&6; }
6233  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6234    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6235    CFLAGS="$SAVE_CFLAGS"
6236  fi
6237  ;;
6238sparc*-*solaris*)
6239  # Find out which ABI we are using.
6240  echo 'int i;' > conftest.$ac_ext
6241  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6242  (eval $ac_compile) 2>&5
6243  ac_status=$?
6244  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6245  test $ac_status = 0; }; then
6246    case `/usr/bin/file conftest.o` in
6247    *64-bit*)
6248      case $lt_cv_prog_gnu_ld in
6249      yes*) LD="${LD-ld} -m elf64_sparc" ;;
6250      *)
6251	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6252	  LD="${LD-ld} -64"
6253	fi
6254	;;
6255      esac
6256      ;;
6257    esac
6258  fi
6259  rm -rf conftest*
6260  ;;
6261esac
6262
6263need_locks="$enable_libtool_lock"
6264
6265
6266  case $host_os in
6267    rhapsody* | darwin*)
6268    if test -n "$ac_tool_prefix"; then
6269  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6270set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6271{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6272$as_echo_n "checking for $ac_word... " >&6; }
6273if ${ac_cv_prog_DSYMUTIL+:} false; then :
6274  $as_echo_n "(cached) " >&6
6275else
6276  if test -n "$DSYMUTIL"; then
6277  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6278else
6279as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6280for as_dir in $PATH
6281do
6282  IFS=$as_save_IFS
6283  test -z "$as_dir" && as_dir=.
6284    for ac_exec_ext in '' $ac_executable_extensions; do
6285  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6286    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6287    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6288    break 2
6289  fi
6290done
6291  done
6292IFS=$as_save_IFS
6293
6294fi
6295fi
6296DSYMUTIL=$ac_cv_prog_DSYMUTIL
6297if test -n "$DSYMUTIL"; then
6298  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6299$as_echo "$DSYMUTIL" >&6; }
6300else
6301  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6302$as_echo "no" >&6; }
6303fi
6304
6305
6306fi
6307if test -z "$ac_cv_prog_DSYMUTIL"; then
6308  ac_ct_DSYMUTIL=$DSYMUTIL
6309  # Extract the first word of "dsymutil", so it can be a program name with args.
6310set dummy dsymutil; ac_word=$2
6311{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6312$as_echo_n "checking for $ac_word... " >&6; }
6313if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6314  $as_echo_n "(cached) " >&6
6315else
6316  if test -n "$ac_ct_DSYMUTIL"; then
6317  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6318else
6319as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6320for as_dir in $PATH
6321do
6322  IFS=$as_save_IFS
6323  test -z "$as_dir" && as_dir=.
6324    for ac_exec_ext in '' $ac_executable_extensions; do
6325  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6326    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6327    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6328    break 2
6329  fi
6330done
6331  done
6332IFS=$as_save_IFS
6333
6334fi
6335fi
6336ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6337if test -n "$ac_ct_DSYMUTIL"; then
6338  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6339$as_echo "$ac_ct_DSYMUTIL" >&6; }
6340else
6341  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6342$as_echo "no" >&6; }
6343fi
6344
6345  if test "x$ac_ct_DSYMUTIL" = x; then
6346    DSYMUTIL=":"
6347  else
6348    case $cross_compiling:$ac_tool_warned in
6349yes:)
6350{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6351$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6352ac_tool_warned=yes ;;
6353esac
6354    DSYMUTIL=$ac_ct_DSYMUTIL
6355  fi
6356else
6357  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6358fi
6359
6360    if test -n "$ac_tool_prefix"; then
6361  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6362set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6363{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6364$as_echo_n "checking for $ac_word... " >&6; }
6365if ${ac_cv_prog_NMEDIT+:} false; then :
6366  $as_echo_n "(cached) " >&6
6367else
6368  if test -n "$NMEDIT"; then
6369  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6370else
6371as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6372for as_dir in $PATH
6373do
6374  IFS=$as_save_IFS
6375  test -z "$as_dir" && as_dir=.
6376    for ac_exec_ext in '' $ac_executable_extensions; do
6377  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6378    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6379    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6380    break 2
6381  fi
6382done
6383  done
6384IFS=$as_save_IFS
6385
6386fi
6387fi
6388NMEDIT=$ac_cv_prog_NMEDIT
6389if test -n "$NMEDIT"; then
6390  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6391$as_echo "$NMEDIT" >&6; }
6392else
6393  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6394$as_echo "no" >&6; }
6395fi
6396
6397
6398fi
6399if test -z "$ac_cv_prog_NMEDIT"; then
6400  ac_ct_NMEDIT=$NMEDIT
6401  # Extract the first word of "nmedit", so it can be a program name with args.
6402set dummy nmedit; ac_word=$2
6403{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6404$as_echo_n "checking for $ac_word... " >&6; }
6405if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6406  $as_echo_n "(cached) " >&6
6407else
6408  if test -n "$ac_ct_NMEDIT"; then
6409  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6410else
6411as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6412for as_dir in $PATH
6413do
6414  IFS=$as_save_IFS
6415  test -z "$as_dir" && as_dir=.
6416    for ac_exec_ext in '' $ac_executable_extensions; do
6417  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6418    ac_cv_prog_ac_ct_NMEDIT="nmedit"
6419    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6420    break 2
6421  fi
6422done
6423  done
6424IFS=$as_save_IFS
6425
6426fi
6427fi
6428ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6429if test -n "$ac_ct_NMEDIT"; then
6430  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6431$as_echo "$ac_ct_NMEDIT" >&6; }
6432else
6433  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6434$as_echo "no" >&6; }
6435fi
6436
6437  if test "x$ac_ct_NMEDIT" = x; then
6438    NMEDIT=":"
6439  else
6440    case $cross_compiling:$ac_tool_warned in
6441yes:)
6442{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6443$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6444ac_tool_warned=yes ;;
6445esac
6446    NMEDIT=$ac_ct_NMEDIT
6447  fi
6448else
6449  NMEDIT="$ac_cv_prog_NMEDIT"
6450fi
6451
6452    if test -n "$ac_tool_prefix"; then
6453  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6454set dummy ${ac_tool_prefix}lipo; ac_word=$2
6455{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6456$as_echo_n "checking for $ac_word... " >&6; }
6457if ${ac_cv_prog_LIPO+:} false; then :
6458  $as_echo_n "(cached) " >&6
6459else
6460  if test -n "$LIPO"; then
6461  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6462else
6463as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6464for as_dir in $PATH
6465do
6466  IFS=$as_save_IFS
6467  test -z "$as_dir" && as_dir=.
6468    for ac_exec_ext in '' $ac_executable_extensions; do
6469  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6470    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6471    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6472    break 2
6473  fi
6474done
6475  done
6476IFS=$as_save_IFS
6477
6478fi
6479fi
6480LIPO=$ac_cv_prog_LIPO
6481if test -n "$LIPO"; then
6482  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6483$as_echo "$LIPO" >&6; }
6484else
6485  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6486$as_echo "no" >&6; }
6487fi
6488
6489
6490fi
6491if test -z "$ac_cv_prog_LIPO"; then
6492  ac_ct_LIPO=$LIPO
6493  # Extract the first word of "lipo", so it can be a program name with args.
6494set dummy lipo; ac_word=$2
6495{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6496$as_echo_n "checking for $ac_word... " >&6; }
6497if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6498  $as_echo_n "(cached) " >&6
6499else
6500  if test -n "$ac_ct_LIPO"; then
6501  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6502else
6503as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6504for as_dir in $PATH
6505do
6506  IFS=$as_save_IFS
6507  test -z "$as_dir" && as_dir=.
6508    for ac_exec_ext in '' $ac_executable_extensions; do
6509  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6510    ac_cv_prog_ac_ct_LIPO="lipo"
6511    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6512    break 2
6513  fi
6514done
6515  done
6516IFS=$as_save_IFS
6517
6518fi
6519fi
6520ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6521if test -n "$ac_ct_LIPO"; then
6522  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6523$as_echo "$ac_ct_LIPO" >&6; }
6524else
6525  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6526$as_echo "no" >&6; }
6527fi
6528
6529  if test "x$ac_ct_LIPO" = x; then
6530    LIPO=":"
6531  else
6532    case $cross_compiling:$ac_tool_warned in
6533yes:)
6534{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6535$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6536ac_tool_warned=yes ;;
6537esac
6538    LIPO=$ac_ct_LIPO
6539  fi
6540else
6541  LIPO="$ac_cv_prog_LIPO"
6542fi
6543
6544    if test -n "$ac_tool_prefix"; then
6545  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6546set dummy ${ac_tool_prefix}otool; ac_word=$2
6547{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6548$as_echo_n "checking for $ac_word... " >&6; }
6549if ${ac_cv_prog_OTOOL+:} false; then :
6550  $as_echo_n "(cached) " >&6
6551else
6552  if test -n "$OTOOL"; then
6553  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6554else
6555as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6556for as_dir in $PATH
6557do
6558  IFS=$as_save_IFS
6559  test -z "$as_dir" && as_dir=.
6560    for ac_exec_ext in '' $ac_executable_extensions; do
6561  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6562    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6563    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6564    break 2
6565  fi
6566done
6567  done
6568IFS=$as_save_IFS
6569
6570fi
6571fi
6572OTOOL=$ac_cv_prog_OTOOL
6573if test -n "$OTOOL"; then
6574  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6575$as_echo "$OTOOL" >&6; }
6576else
6577  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6578$as_echo "no" >&6; }
6579fi
6580
6581
6582fi
6583if test -z "$ac_cv_prog_OTOOL"; then
6584  ac_ct_OTOOL=$OTOOL
6585  # Extract the first word of "otool", so it can be a program name with args.
6586set dummy otool; ac_word=$2
6587{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6588$as_echo_n "checking for $ac_word... " >&6; }
6589if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6590  $as_echo_n "(cached) " >&6
6591else
6592  if test -n "$ac_ct_OTOOL"; then
6593  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6594else
6595as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6596for as_dir in $PATH
6597do
6598  IFS=$as_save_IFS
6599  test -z "$as_dir" && as_dir=.
6600    for ac_exec_ext in '' $ac_executable_extensions; do
6601  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6602    ac_cv_prog_ac_ct_OTOOL="otool"
6603    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6604    break 2
6605  fi
6606done
6607  done
6608IFS=$as_save_IFS
6609
6610fi
6611fi
6612ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6613if test -n "$ac_ct_OTOOL"; then
6614  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6615$as_echo "$ac_ct_OTOOL" >&6; }
6616else
6617  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6618$as_echo "no" >&6; }
6619fi
6620
6621  if test "x$ac_ct_OTOOL" = x; then
6622    OTOOL=":"
6623  else
6624    case $cross_compiling:$ac_tool_warned in
6625yes:)
6626{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6627$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6628ac_tool_warned=yes ;;
6629esac
6630    OTOOL=$ac_ct_OTOOL
6631  fi
6632else
6633  OTOOL="$ac_cv_prog_OTOOL"
6634fi
6635
6636    if test -n "$ac_tool_prefix"; then
6637  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6638set dummy ${ac_tool_prefix}otool64; ac_word=$2
6639{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6640$as_echo_n "checking for $ac_word... " >&6; }
6641if ${ac_cv_prog_OTOOL64+:} false; then :
6642  $as_echo_n "(cached) " >&6
6643else
6644  if test -n "$OTOOL64"; then
6645  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6646else
6647as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6648for as_dir in $PATH
6649do
6650  IFS=$as_save_IFS
6651  test -z "$as_dir" && as_dir=.
6652    for ac_exec_ext in '' $ac_executable_extensions; do
6653  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6654    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6655    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6656    break 2
6657  fi
6658done
6659  done
6660IFS=$as_save_IFS
6661
6662fi
6663fi
6664OTOOL64=$ac_cv_prog_OTOOL64
6665if test -n "$OTOOL64"; then
6666  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6667$as_echo "$OTOOL64" >&6; }
6668else
6669  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6670$as_echo "no" >&6; }
6671fi
6672
6673
6674fi
6675if test -z "$ac_cv_prog_OTOOL64"; then
6676  ac_ct_OTOOL64=$OTOOL64
6677  # Extract the first word of "otool64", so it can be a program name with args.
6678set dummy otool64; ac_word=$2
6679{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6680$as_echo_n "checking for $ac_word... " >&6; }
6681if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
6682  $as_echo_n "(cached) " >&6
6683else
6684  if test -n "$ac_ct_OTOOL64"; then
6685  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6686else
6687as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6688for as_dir in $PATH
6689do
6690  IFS=$as_save_IFS
6691  test -z "$as_dir" && as_dir=.
6692    for ac_exec_ext in '' $ac_executable_extensions; do
6693  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6694    ac_cv_prog_ac_ct_OTOOL64="otool64"
6695    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6696    break 2
6697  fi
6698done
6699  done
6700IFS=$as_save_IFS
6701
6702fi
6703fi
6704ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6705if test -n "$ac_ct_OTOOL64"; then
6706  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6707$as_echo "$ac_ct_OTOOL64" >&6; }
6708else
6709  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6710$as_echo "no" >&6; }
6711fi
6712
6713  if test "x$ac_ct_OTOOL64" = x; then
6714    OTOOL64=":"
6715  else
6716    case $cross_compiling:$ac_tool_warned in
6717yes:)
6718{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6719$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6720ac_tool_warned=yes ;;
6721esac
6722    OTOOL64=$ac_ct_OTOOL64
6723  fi
6724else
6725  OTOOL64="$ac_cv_prog_OTOOL64"
6726fi
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6755$as_echo_n "checking for -single_module linker flag... " >&6; }
6756if ${lt_cv_apple_cc_single_mod+:} false; then :
6757  $as_echo_n "(cached) " >&6
6758else
6759  lt_cv_apple_cc_single_mod=no
6760      if test -z "${LT_MULTI_MODULE}"; then
6761	# By default we will add the -single_module flag. You can override
6762	# by either setting the environment variable LT_MULTI_MODULE
6763	# non-empty at configure time, or by adding -multi_module to the
6764	# link flags.
6765	rm -rf libconftest.dylib*
6766	echo "int foo(void){return 1;}" > conftest.c
6767	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6768-dynamiclib -Wl,-single_module conftest.c" >&5
6769	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6770	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6771        _lt_result=$?
6772	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6773	  lt_cv_apple_cc_single_mod=yes
6774	else
6775	  cat conftest.err >&5
6776	fi
6777	rm -rf libconftest.dylib*
6778	rm -f conftest.*
6779      fi
6780fi
6781{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6782$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6783    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6784$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6785if ${lt_cv_ld_exported_symbols_list+:} false; then :
6786  $as_echo_n "(cached) " >&6
6787else
6788  lt_cv_ld_exported_symbols_list=no
6789      save_LDFLAGS=$LDFLAGS
6790      echo "_main" > conftest.sym
6791      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6792      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6793/* end confdefs.h.  */
6794
6795int
6796main ()
6797{
6798
6799  ;
6800  return 0;
6801}
6802_ACEOF
6803if ac_fn_c_try_link "$LINENO"; then :
6804  lt_cv_ld_exported_symbols_list=yes
6805else
6806  lt_cv_ld_exported_symbols_list=no
6807fi
6808rm -f core conftest.err conftest.$ac_objext \
6809    conftest$ac_exeext conftest.$ac_ext
6810	LDFLAGS="$save_LDFLAGS"
6811
6812fi
6813{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6814$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6815    case $host_os in
6816    rhapsody* | darwin1.[012])
6817      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6818    darwin1.*)
6819      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6820    darwin*) # darwin 5.x on
6821      # if running on 10.5 or later, the deployment target defaults
6822      # to the OS version, if on x86, and 10.4, the deployment
6823      # target defaults to 10.4. Don't you love it?
6824      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6825	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6826	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6827	10.[012]*)
6828	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6829	10.*)
6830	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6831      esac
6832    ;;
6833  esac
6834    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6835      _lt_dar_single_mod='$single_module'
6836    fi
6837    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6838      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6839    else
6840      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6841    fi
6842    if test "$DSYMUTIL" != ":"; then
6843      _lt_dsymutil='~$DSYMUTIL $lib || :'
6844    else
6845      _lt_dsymutil=
6846    fi
6847    ;;
6848  esac
6849
6850
6851{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6852$as_echo_n "checking for ANSI C header files... " >&6; }
6853if ${ac_cv_header_stdc+:} false; then :
6854  $as_echo_n "(cached) " >&6
6855else
6856  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6857/* end confdefs.h.  */
6858#include <stdlib.h>
6859#include <stdarg.h>
6860#include <string.h>
6861#include <float.h>
6862
6863int
6864main ()
6865{
6866
6867  ;
6868  return 0;
6869}
6870_ACEOF
6871if ac_fn_c_try_compile "$LINENO"; then :
6872  ac_cv_header_stdc=yes
6873else
6874  ac_cv_header_stdc=no
6875fi
6876rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6877
6878if test $ac_cv_header_stdc = yes; then
6879  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6880  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6881/* end confdefs.h.  */
6882#include <string.h>
6883
6884_ACEOF
6885if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6886  $EGREP "memchr" >/dev/null 2>&1; then :
6887
6888else
6889  ac_cv_header_stdc=no
6890fi
6891rm -f conftest*
6892
6893fi
6894
6895if test $ac_cv_header_stdc = yes; then
6896  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6897  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6898/* end confdefs.h.  */
6899#include <stdlib.h>
6900
6901_ACEOF
6902if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6903  $EGREP "free" >/dev/null 2>&1; then :
6904
6905else
6906  ac_cv_header_stdc=no
6907fi
6908rm -f conftest*
6909
6910fi
6911
6912if test $ac_cv_header_stdc = yes; then
6913  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6914  if test "$cross_compiling" = yes; then :
6915  :
6916else
6917  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6918/* end confdefs.h.  */
6919#include <ctype.h>
6920#include <stdlib.h>
6921#if ((' ' & 0x0FF) == 0x020)
6922# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6923# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6924#else
6925# define ISLOWER(c) \
6926		   (('a' <= (c) && (c) <= 'i') \
6927		     || ('j' <= (c) && (c) <= 'r') \
6928		     || ('s' <= (c) && (c) <= 'z'))
6929# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6930#endif
6931
6932#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6933int
6934main ()
6935{
6936  int i;
6937  for (i = 0; i < 256; i++)
6938    if (XOR (islower (i), ISLOWER (i))
6939	|| toupper (i) != TOUPPER (i))
6940      return 2;
6941  return 0;
6942}
6943_ACEOF
6944if ac_fn_c_try_run "$LINENO"; then :
6945
6946else
6947  ac_cv_header_stdc=no
6948fi
6949rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6950  conftest.$ac_objext conftest.beam conftest.$ac_ext
6951fi
6952
6953fi
6954fi
6955{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6956$as_echo "$ac_cv_header_stdc" >&6; }
6957if test $ac_cv_header_stdc = yes; then
6958
6959$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
6960
6961fi
6962
6963# On IRIX 5.3, sys/types and inttypes.h are conflicting.
6964for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6965		  inttypes.h stdint.h unistd.h
6966do :
6967  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6968ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6969"
6970if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6971  cat >>confdefs.h <<_ACEOF
6972@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6973_ACEOF
6974
6975fi
6976
6977done
6978
6979
6980for ac_header in dlfcn.h
6981do :
6982  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
6983"
6984if test "x$ac_cv_header_dlfcn_h" = xyes; then :
6985  cat >>confdefs.h <<_ACEOF
6986@%:@define HAVE_DLFCN_H 1
6987_ACEOF
6988
6989fi
6990
6991done
6992
6993
6994
6995# Set options
6996
6997
6998
6999        enable_dlopen=no
7000
7001
7002  enable_win32_dll=no
7003
7004
7005            @%:@ Check whether --enable-shared was given.
7006if test "${enable_shared+set}" = set; then :
7007  enableval=$enable_shared; p=${PACKAGE-default}
7008    case $enableval in
7009    yes) enable_shared=yes ;;
7010    no) enable_shared=no ;;
7011    *)
7012      enable_shared=no
7013      # Look at the argument we got.  We use all the common list separators.
7014      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7015      for pkg in $enableval; do
7016	IFS="$lt_save_ifs"
7017	if test "X$pkg" = "X$p"; then
7018	  enable_shared=yes
7019	fi
7020      done
7021      IFS="$lt_save_ifs"
7022      ;;
7023    esac
7024else
7025  enable_shared=yes
7026fi
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036  @%:@ Check whether --enable-static was given.
7037if test "${enable_static+set}" = set; then :
7038  enableval=$enable_static; p=${PACKAGE-default}
7039    case $enableval in
7040    yes) enable_static=yes ;;
7041    no) enable_static=no ;;
7042    *)
7043     enable_static=no
7044      # Look at the argument we got.  We use all the common list separators.
7045      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7046      for pkg in $enableval; do
7047	IFS="$lt_save_ifs"
7048	if test "X$pkg" = "X$p"; then
7049	  enable_static=yes
7050	fi
7051      done
7052      IFS="$lt_save_ifs"
7053      ;;
7054    esac
7055else
7056  enable_static=yes
7057fi
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068@%:@ Check whether --with-pic was given.
7069if test "${with_pic+set}" = set; then :
7070  withval=$with_pic; pic_mode="$withval"
7071else
7072  pic_mode=default
7073fi
7074
7075
7076test -z "$pic_mode" && pic_mode=default
7077
7078
7079
7080
7081
7082
7083
7084  @%:@ Check whether --enable-fast-install was given.
7085if test "${enable_fast_install+set}" = set; then :
7086  enableval=$enable_fast_install; p=${PACKAGE-default}
7087    case $enableval in
7088    yes) enable_fast_install=yes ;;
7089    no) enable_fast_install=no ;;
7090    *)
7091      enable_fast_install=no
7092      # Look at the argument we got.  We use all the common list separators.
7093      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7094      for pkg in $enableval; do
7095	IFS="$lt_save_ifs"
7096	if test "X$pkg" = "X$p"; then
7097	  enable_fast_install=yes
7098	fi
7099      done
7100      IFS="$lt_save_ifs"
7101      ;;
7102    esac
7103else
7104  enable_fast_install=yes
7105fi
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117# This can be used to rebuild libtool when needed
7118LIBTOOL_DEPS="$ltmain"
7119
7120# Always use our own libtool.
7121LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147test -z "$LN_S" && LN_S="ln -s"
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162if test -n "${ZSH_VERSION+set}" ; then
7163   setopt NO_GLOB_SUBST
7164fi
7165
7166{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7167$as_echo_n "checking for objdir... " >&6; }
7168if ${lt_cv_objdir+:} false; then :
7169  $as_echo_n "(cached) " >&6
7170else
7171  rm -f .libs 2>/dev/null
7172mkdir .libs 2>/dev/null
7173if test -d .libs; then
7174  lt_cv_objdir=.libs
7175else
7176  # MS-DOS does not allow filenames that begin with a dot.
7177  lt_cv_objdir=_libs
7178fi
7179rmdir .libs 2>/dev/null
7180fi
7181{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7182$as_echo "$lt_cv_objdir" >&6; }
7183objdir=$lt_cv_objdir
7184
7185
7186
7187
7188
7189cat >>confdefs.h <<_ACEOF
7190@%:@define LT_OBJDIR "$lt_cv_objdir/"
7191_ACEOF
7192
7193
7194
7195
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209case $host_os in
7210aix3*)
7211  # AIX sometimes has problems with the GCC collect2 program.  For some
7212  # reason, if we set the COLLECT_NAMES environment variable, the problems
7213  # vanish in a puff of smoke.
7214  if test "X${COLLECT_NAMES+set}" != Xset; then
7215    COLLECT_NAMES=
7216    export COLLECT_NAMES
7217  fi
7218  ;;
7219esac
7220
7221# Sed substitution that helps us do robust quoting.  It backslashifies
7222# metacharacters that are still active within double-quoted strings.
7223sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7224
7225# Same as above, but do not quote variable references.
7226double_quote_subst='s/\(["`\\]\)/\\\1/g'
7227
7228# Sed substitution to delay expansion of an escaped shell variable in a
7229# double_quote_subst'ed string.
7230delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7231
7232# Sed substitution to delay expansion of an escaped single quote.
7233delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7234
7235# Sed substitution to avoid accidental globbing in evaled expressions
7236no_glob_subst='s/\*/\\\*/g'
7237
7238# Global variables:
7239ofile=libtool
7240can_build_shared=yes
7241
7242# All known linkers require a `.a' archive for static linking (except MSVC,
7243# which needs '.lib').
7244libext=a
7245
7246with_gnu_ld="$lt_cv_prog_gnu_ld"
7247
7248old_CC="$CC"
7249old_CFLAGS="$CFLAGS"
7250
7251# Set sane defaults for various variables
7252test -z "$CC" && CC=cc
7253test -z "$LTCC" && LTCC=$CC
7254test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7255test -z "$LD" && LD=ld
7256test -z "$ac_objext" && ac_objext=o
7257
7258for cc_temp in $compiler""; do
7259  case $cc_temp in
7260    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7261    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7262    \-*) ;;
7263    *) break;;
7264  esac
7265done
7266cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7267
7268
7269# Only perform the check for file, if the check method requires it
7270test -z "$MAGIC_CMD" && MAGIC_CMD=file
7271case $deplibs_check_method in
7272file_magic*)
7273  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7274    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7275$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7276if ${lt_cv_path_MAGIC_CMD+:} false; then :
7277  $as_echo_n "(cached) " >&6
7278else
7279  case $MAGIC_CMD in
7280[\\/*] |  ?:[\\/]*)
7281  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7282  ;;
7283*)
7284  lt_save_MAGIC_CMD="$MAGIC_CMD"
7285  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7286  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7287  for ac_dir in $ac_dummy; do
7288    IFS="$lt_save_ifs"
7289    test -z "$ac_dir" && ac_dir=.
7290    if test -f $ac_dir/${ac_tool_prefix}file; then
7291      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7292      if test -n "$file_magic_test_file"; then
7293	case $deplibs_check_method in
7294	"file_magic "*)
7295	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7296	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7297	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7298	    $EGREP "$file_magic_regex" > /dev/null; then
7299	    :
7300	  else
7301	    cat <<_LT_EOF 1>&2
7302
7303*** Warning: the command libtool uses to detect shared libraries,
7304*** $file_magic_cmd, produces output that libtool cannot recognize.
7305*** The result is that libtool may fail to recognize shared libraries
7306*** as such.  This will affect the creation of libtool libraries that
7307*** depend on shared libraries, but programs linked with such libtool
7308*** libraries will work regardless of this problem.  Nevertheless, you
7309*** may want to report the problem to your system manager and/or to
7310*** bug-libtool@gnu.org
7311
7312_LT_EOF
7313	  fi ;;
7314	esac
7315      fi
7316      break
7317    fi
7318  done
7319  IFS="$lt_save_ifs"
7320  MAGIC_CMD="$lt_save_MAGIC_CMD"
7321  ;;
7322esac
7323fi
7324
7325MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7326if test -n "$MAGIC_CMD"; then
7327  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7328$as_echo "$MAGIC_CMD" >&6; }
7329else
7330  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7331$as_echo "no" >&6; }
7332fi
7333
7334
7335
7336
7337
7338if test -z "$lt_cv_path_MAGIC_CMD"; then
7339  if test -n "$ac_tool_prefix"; then
7340    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7341$as_echo_n "checking for file... " >&6; }
7342if ${lt_cv_path_MAGIC_CMD+:} false; then :
7343  $as_echo_n "(cached) " >&6
7344else
7345  case $MAGIC_CMD in
7346[\\/*] |  ?:[\\/]*)
7347  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7348  ;;
7349*)
7350  lt_save_MAGIC_CMD="$MAGIC_CMD"
7351  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7352  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7353  for ac_dir in $ac_dummy; do
7354    IFS="$lt_save_ifs"
7355    test -z "$ac_dir" && ac_dir=.
7356    if test -f $ac_dir/file; then
7357      lt_cv_path_MAGIC_CMD="$ac_dir/file"
7358      if test -n "$file_magic_test_file"; then
7359	case $deplibs_check_method in
7360	"file_magic "*)
7361	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7362	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7363	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7364	    $EGREP "$file_magic_regex" > /dev/null; then
7365	    :
7366	  else
7367	    cat <<_LT_EOF 1>&2
7368
7369*** Warning: the command libtool uses to detect shared libraries,
7370*** $file_magic_cmd, produces output that libtool cannot recognize.
7371*** The result is that libtool may fail to recognize shared libraries
7372*** as such.  This will affect the creation of libtool libraries that
7373*** depend on shared libraries, but programs linked with such libtool
7374*** libraries will work regardless of this problem.  Nevertheless, you
7375*** may want to report the problem to your system manager and/or to
7376*** bug-libtool@gnu.org
7377
7378_LT_EOF
7379	  fi ;;
7380	esac
7381      fi
7382      break
7383    fi
7384  done
7385  IFS="$lt_save_ifs"
7386  MAGIC_CMD="$lt_save_MAGIC_CMD"
7387  ;;
7388esac
7389fi
7390
7391MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7392if test -n "$MAGIC_CMD"; then
7393  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7394$as_echo "$MAGIC_CMD" >&6; }
7395else
7396  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7397$as_echo "no" >&6; }
7398fi
7399
7400
7401  else
7402    MAGIC_CMD=:
7403  fi
7404fi
7405
7406  fi
7407  ;;
7408esac
7409
7410# Use C for the default configuration in the libtool script
7411
7412lt_save_CC="$CC"
7413ac_ext=c
7414ac_cpp='$CPP $CPPFLAGS'
7415ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7416ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7417ac_compiler_gnu=$ac_cv_c_compiler_gnu
7418
7419
7420# Source file extension for C test sources.
7421ac_ext=c
7422
7423# Object file extension for compiled C test sources.
7424objext=o
7425objext=$objext
7426
7427# Code to be used in simple compile tests
7428lt_simple_compile_test_code="int some_variable = 0;"
7429
7430# Code to be used in simple link tests
7431lt_simple_link_test_code='int main(){return(0);}'
7432
7433
7434
7435
7436
7437
7438
7439# If no C compiler was specified, use CC.
7440LTCC=${LTCC-"$CC"}
7441
7442# If no C compiler flags were specified, use CFLAGS.
7443LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7444
7445# Allow CC to be a program name with arguments.
7446compiler=$CC
7447
7448# Save the default compiler, since it gets overwritten when the other
7449# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7450compiler_DEFAULT=$CC
7451
7452# save warnings/boilerplate of simple test code
7453ac_outfile=conftest.$ac_objext
7454echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7455eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7456_lt_compiler_boilerplate=`cat conftest.err`
7457$RM conftest*
7458
7459ac_outfile=conftest.$ac_objext
7460echo "$lt_simple_link_test_code" >conftest.$ac_ext
7461eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7462_lt_linker_boilerplate=`cat conftest.err`
7463$RM -r conftest*
7464
7465
7466## CAVEAT EMPTOR:
7467## There is no encapsulation within the following macros, do not change
7468## the running order or otherwise move them around unless you know exactly
7469## what you are doing...
7470if test -n "$compiler"; then
7471
7472lt_prog_compiler_no_builtin_flag=
7473
7474if test "$GCC" = yes; then
7475  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7476
7477  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7478$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7479if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7480  $as_echo_n "(cached) " >&6
7481else
7482  lt_cv_prog_compiler_rtti_exceptions=no
7483   ac_outfile=conftest.$ac_objext
7484   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7485   lt_compiler_flag="-fno-rtti -fno-exceptions"
7486   # Insert the option either (1) after the last *FLAGS variable, or
7487   # (2) before a word containing "conftest.", or (3) at the end.
7488   # Note that $ac_compile itself does not contain backslashes and begins
7489   # with a dollar sign (not a hyphen), so the echo should work correctly.
7490   # The option is referenced via a variable to avoid confusing sed.
7491   lt_compile=`echo "$ac_compile" | $SED \
7492   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7493   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7494   -e 's:$: $lt_compiler_flag:'`
7495   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
7496   (eval "$lt_compile" 2>conftest.err)
7497   ac_status=$?
7498   cat conftest.err >&5
7499   echo "$as_me:__oline__: \$? = $ac_status" >&5
7500   if (exit $ac_status) && test -s "$ac_outfile"; then
7501     # The compiler can only warn and ignore the option if not recognized
7502     # So say no if there are warnings other than the usual output.
7503     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7504     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7505     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7506       lt_cv_prog_compiler_rtti_exceptions=yes
7507     fi
7508   fi
7509   $RM conftest*
7510
7511fi
7512{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7513$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7514
7515if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7516    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7517else
7518    :
7519fi
7520
7521fi
7522
7523
7524
7525
7526
7527
7528  lt_prog_compiler_wl=
7529lt_prog_compiler_pic=
7530lt_prog_compiler_static=
7531
7532{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7533$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7534
7535  if test "$GCC" = yes; then
7536    lt_prog_compiler_wl='-Wl,'
7537    lt_prog_compiler_static='-static'
7538
7539    case $host_os in
7540      aix*)
7541      # All AIX code is PIC.
7542      if test "$host_cpu" = ia64; then
7543	# AIX 5 now supports IA64 processor
7544	lt_prog_compiler_static='-Bstatic'
7545      fi
7546      ;;
7547
7548    amigaos*)
7549      case $host_cpu in
7550      powerpc)
7551            # see comment about AmigaOS4 .so support
7552            lt_prog_compiler_pic='-fPIC'
7553        ;;
7554      m68k)
7555            # FIXME: we need at least 68020 code to build shared libraries, but
7556            # adding the `-m68020' flag to GCC prevents building anything better,
7557            # like `-m68040'.
7558            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7559        ;;
7560      esac
7561      ;;
7562
7563    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7564      # PIC is the default for these OSes.
7565      ;;
7566
7567    mingw* | cygwin* | pw32* | os2* | cegcc*)
7568      # This hack is so that the source file can tell whether it is being
7569      # built for inclusion in a dll (and should export symbols for example).
7570      # Although the cygwin gcc ignores -fPIC, still need this for old-style
7571      # (--disable-auto-import) libraries
7572      lt_prog_compiler_pic='-DDLL_EXPORT'
7573      ;;
7574
7575    darwin* | rhapsody*)
7576      # PIC is the default on this platform
7577      # Common symbols not allowed in MH_DYLIB files
7578      lt_prog_compiler_pic='-fno-common'
7579      ;;
7580
7581    hpux*)
7582      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7583      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
7584      # sets the default TLS model and affects inlining.
7585      case $host_cpu in
7586      hppa*64*)
7587	# +Z the default
7588	;;
7589      *)
7590	lt_prog_compiler_pic='-fPIC'
7591	;;
7592      esac
7593      ;;
7594
7595    interix[3-9]*)
7596      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7597      # Instead, we relocate shared libraries at runtime.
7598      ;;
7599
7600    msdosdjgpp*)
7601      # Just because we use GCC doesn't mean we suddenly get shared libraries
7602      # on systems that don't support them.
7603      lt_prog_compiler_can_build_shared=no
7604      enable_shared=no
7605      ;;
7606
7607    *nto* | *qnx*)
7608      # QNX uses GNU C++, but need to define -shared option too, otherwise
7609      # it will coredump.
7610      lt_prog_compiler_pic='-fPIC -shared'
7611      ;;
7612
7613    sysv4*MP*)
7614      if test -d /usr/nec; then
7615	lt_prog_compiler_pic=-Kconform_pic
7616      fi
7617      ;;
7618
7619    *)
7620      lt_prog_compiler_pic='-fPIC'
7621      ;;
7622    esac
7623  else
7624    # PORTME Check for flag to pass linker flags through the system compiler.
7625    case $host_os in
7626    aix*)
7627      lt_prog_compiler_wl='-Wl,'
7628      if test "$host_cpu" = ia64; then
7629	# AIX 5 now supports IA64 processor
7630	lt_prog_compiler_static='-Bstatic'
7631      else
7632	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7633      fi
7634      ;;
7635
7636    mingw* | cygwin* | pw32* | os2* | cegcc*)
7637      # This hack is so that the source file can tell whether it is being
7638      # built for inclusion in a dll (and should export symbols for example).
7639      lt_prog_compiler_pic='-DDLL_EXPORT'
7640      ;;
7641
7642    hpux9* | hpux10* | hpux11*)
7643      lt_prog_compiler_wl='-Wl,'
7644      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7645      # not for PA HP-UX.
7646      case $host_cpu in
7647      hppa*64*|ia64*)
7648	# +Z the default
7649	;;
7650      *)
7651	lt_prog_compiler_pic='+Z'
7652	;;
7653      esac
7654      # Is there a better lt_prog_compiler_static that works with the bundled CC?
7655      lt_prog_compiler_static='${wl}-a ${wl}archive'
7656      ;;
7657
7658    irix5* | irix6* | nonstopux*)
7659      lt_prog_compiler_wl='-Wl,'
7660      # PIC (with -KPIC) is the default.
7661      lt_prog_compiler_static='-non_shared'
7662      ;;
7663
7664    linux* | k*bsd*-gnu)
7665      case $cc_basename in
7666      # old Intel for x86_64 which still supported -KPIC.
7667      ecc*)
7668	lt_prog_compiler_wl='-Wl,'
7669	lt_prog_compiler_pic='-KPIC'
7670	lt_prog_compiler_static='-static'
7671        ;;
7672      # icc used to be incompatible with GCC.
7673      # ICC 10 doesn't accept -KPIC any more.
7674      icc* | ifort*)
7675	lt_prog_compiler_wl='-Wl,'
7676	lt_prog_compiler_pic='-fPIC'
7677	lt_prog_compiler_static='-static'
7678        ;;
7679      # Lahey Fortran 8.1.
7680      lf95*)
7681	lt_prog_compiler_wl='-Wl,'
7682	lt_prog_compiler_pic='--shared'
7683	lt_prog_compiler_static='--static'
7684	;;
7685      pgcc* | pgf77* | pgf90* | pgf95*)
7686        # Portland Group compilers (*not* the Pentium gcc compiler,
7687	# which looks to be a dead project)
7688	lt_prog_compiler_wl='-Wl,'
7689	lt_prog_compiler_pic='-fpic'
7690	lt_prog_compiler_static='-Bstatic'
7691        ;;
7692      ccc*)
7693        lt_prog_compiler_wl='-Wl,'
7694        # All Alpha code is PIC.
7695        lt_prog_compiler_static='-non_shared'
7696        ;;
7697      xl*)
7698	# IBM XL C 8.0/Fortran 10.1 on PPC
7699	lt_prog_compiler_wl='-Wl,'
7700	lt_prog_compiler_pic='-qpic'
7701	lt_prog_compiler_static='-qstaticlink'
7702	;;
7703      *)
7704	case `$CC -V 2>&1 | sed 5q` in
7705	*Sun\ C*)
7706	  # Sun C 5.9
7707	  lt_prog_compiler_pic='-KPIC'
7708	  lt_prog_compiler_static='-Bstatic'
7709	  lt_prog_compiler_wl='-Wl,'
7710	  ;;
7711	*Sun\ F*)
7712	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
7713	  lt_prog_compiler_pic='-KPIC'
7714	  lt_prog_compiler_static='-Bstatic'
7715	  lt_prog_compiler_wl=''
7716	  ;;
7717	esac
7718	;;
7719      esac
7720      ;;
7721
7722    newsos6)
7723      lt_prog_compiler_pic='-KPIC'
7724      lt_prog_compiler_static='-Bstatic'
7725      ;;
7726
7727    *nto* | *qnx*)
7728      # QNX uses GNU C++, but need to define -shared option too, otherwise
7729      # it will coredump.
7730      lt_prog_compiler_pic='-fPIC -shared'
7731      ;;
7732
7733    osf3* | osf4* | osf5*)
7734      lt_prog_compiler_wl='-Wl,'
7735      # All OSF/1 code is PIC.
7736      lt_prog_compiler_static='-non_shared'
7737      ;;
7738
7739    rdos*)
7740      lt_prog_compiler_static='-non_shared'
7741      ;;
7742
7743    solaris*)
7744      lt_prog_compiler_pic='-KPIC'
7745      lt_prog_compiler_static='-Bstatic'
7746      case $cc_basename in
7747      f77* | f90* | f95*)
7748	lt_prog_compiler_wl='-Qoption ld ';;
7749      *)
7750	lt_prog_compiler_wl='-Wl,';;
7751      esac
7752      ;;
7753
7754    sunos4*)
7755      lt_prog_compiler_wl='-Qoption ld '
7756      lt_prog_compiler_pic='-PIC'
7757      lt_prog_compiler_static='-Bstatic'
7758      ;;
7759
7760    sysv4 | sysv4.2uw2* | sysv4.3*)
7761      lt_prog_compiler_wl='-Wl,'
7762      lt_prog_compiler_pic='-KPIC'
7763      lt_prog_compiler_static='-Bstatic'
7764      ;;
7765
7766    sysv4*MP*)
7767      if test -d /usr/nec ;then
7768	lt_prog_compiler_pic='-Kconform_pic'
7769	lt_prog_compiler_static='-Bstatic'
7770      fi
7771      ;;
7772
7773    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7774      lt_prog_compiler_wl='-Wl,'
7775      lt_prog_compiler_pic='-KPIC'
7776      lt_prog_compiler_static='-Bstatic'
7777      ;;
7778
7779    unicos*)
7780      lt_prog_compiler_wl='-Wl,'
7781      lt_prog_compiler_can_build_shared=no
7782      ;;
7783
7784    uts4*)
7785      lt_prog_compiler_pic='-pic'
7786      lt_prog_compiler_static='-Bstatic'
7787      ;;
7788
7789    *)
7790      lt_prog_compiler_can_build_shared=no
7791      ;;
7792    esac
7793  fi
7794
7795case $host_os in
7796  # For platforms which do not support PIC, -DPIC is meaningless:
7797  *djgpp*)
7798    lt_prog_compiler_pic=
7799    ;;
7800  *)
7801    lt_prog_compiler_pic="$lt_prog_compiler_pic@&t@ -DPIC"
7802    ;;
7803esac
7804{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
7805$as_echo "$lt_prog_compiler_pic" >&6; }
7806
7807
7808
7809
7810
7811
7812#
7813# Check to make sure the PIC flag actually works.
7814#
7815if test -n "$lt_prog_compiler_pic"; then
7816  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7817$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7818if ${lt_cv_prog_compiler_pic_works+:} false; then :
7819  $as_echo_n "(cached) " >&6
7820else
7821  lt_cv_prog_compiler_pic_works=no
7822   ac_outfile=conftest.$ac_objext
7823   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7824   lt_compiler_flag="$lt_prog_compiler_pic@&t@ -DPIC"
7825   # Insert the option either (1) after the last *FLAGS variable, or
7826   # (2) before a word containing "conftest.", or (3) at the end.
7827   # Note that $ac_compile itself does not contain backslashes and begins
7828   # with a dollar sign (not a hyphen), so the echo should work correctly.
7829   # The option is referenced via a variable to avoid confusing sed.
7830   lt_compile=`echo "$ac_compile" | $SED \
7831   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7832   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7833   -e 's:$: $lt_compiler_flag:'`
7834   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
7835   (eval "$lt_compile" 2>conftest.err)
7836   ac_status=$?
7837   cat conftest.err >&5
7838   echo "$as_me:__oline__: \$? = $ac_status" >&5
7839   if (exit $ac_status) && test -s "$ac_outfile"; then
7840     # The compiler can only warn and ignore the option if not recognized
7841     # So say no if there are warnings other than the usual output.
7842     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7843     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7844     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7845       lt_cv_prog_compiler_pic_works=yes
7846     fi
7847   fi
7848   $RM conftest*
7849
7850fi
7851{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
7852$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7853
7854if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7855    case $lt_prog_compiler_pic in
7856     "" | " "*) ;;
7857     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7858     esac
7859else
7860    lt_prog_compiler_pic=
7861     lt_prog_compiler_can_build_shared=no
7862fi
7863
7864fi
7865
7866
7867
7868
7869
7870
7871#
7872# Check to make sure the static flag actually works.
7873#
7874wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7875{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7876$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7877if ${lt_cv_prog_compiler_static_works+:} false; then :
7878  $as_echo_n "(cached) " >&6
7879else
7880  lt_cv_prog_compiler_static_works=no
7881   save_LDFLAGS="$LDFLAGS"
7882   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7883   echo "$lt_simple_link_test_code" > conftest.$ac_ext
7884   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7885     # The linker can only warn and ignore the option if not recognized
7886     # So say no if there are warnings
7887     if test -s conftest.err; then
7888       # Append any errors to the config.log.
7889       cat conftest.err 1>&5
7890       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7891       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7892       if diff conftest.exp conftest.er2 >/dev/null; then
7893         lt_cv_prog_compiler_static_works=yes
7894       fi
7895     else
7896       lt_cv_prog_compiler_static_works=yes
7897     fi
7898   fi
7899   $RM -r conftest*
7900   LDFLAGS="$save_LDFLAGS"
7901
7902fi
7903{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
7904$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7905
7906if test x"$lt_cv_prog_compiler_static_works" = xyes; then
7907    :
7908else
7909    lt_prog_compiler_static=
7910fi
7911
7912
7913
7914
7915
7916
7917
7918  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7919$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7920if ${lt_cv_prog_compiler_c_o+:} false; then :
7921  $as_echo_n "(cached) " >&6
7922else
7923  lt_cv_prog_compiler_c_o=no
7924   $RM -r conftest 2>/dev/null
7925   mkdir conftest
7926   cd conftest
7927   mkdir out
7928   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7929
7930   lt_compiler_flag="-o out/conftest2.$ac_objext"
7931   # Insert the option either (1) after the last *FLAGS variable, or
7932   # (2) before a word containing "conftest.", or (3) at the end.
7933   # Note that $ac_compile itself does not contain backslashes and begins
7934   # with a dollar sign (not a hyphen), so the echo should work correctly.
7935   lt_compile=`echo "$ac_compile" | $SED \
7936   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7937   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7938   -e 's:$: $lt_compiler_flag:'`
7939   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
7940   (eval "$lt_compile" 2>out/conftest.err)
7941   ac_status=$?
7942   cat out/conftest.err >&5
7943   echo "$as_me:__oline__: \$? = $ac_status" >&5
7944   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7945   then
7946     # The compiler can only warn and ignore the option if not recognized
7947     # So say no if there are warnings
7948     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7949     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7950     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7951       lt_cv_prog_compiler_c_o=yes
7952     fi
7953   fi
7954   chmod u+w . 2>&5
7955   $RM conftest*
7956   # SGI C++ compiler will create directory out/ii_files/ for
7957   # template instantiation
7958   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7959   $RM out/* && rmdir out
7960   cd ..
7961   $RM -r conftest
7962   $RM conftest*
7963
7964fi
7965{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7966$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7967
7968
7969
7970
7971
7972
7973  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7974$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7975if ${lt_cv_prog_compiler_c_o+:} false; then :
7976  $as_echo_n "(cached) " >&6
7977else
7978  lt_cv_prog_compiler_c_o=no
7979   $RM -r conftest 2>/dev/null
7980   mkdir conftest
7981   cd conftest
7982   mkdir out
7983   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7984
7985   lt_compiler_flag="-o out/conftest2.$ac_objext"
7986   # Insert the option either (1) after the last *FLAGS variable, or
7987   # (2) before a word containing "conftest.", or (3) at the end.
7988   # Note that $ac_compile itself does not contain backslashes and begins
7989   # with a dollar sign (not a hyphen), so the echo should work correctly.
7990   lt_compile=`echo "$ac_compile" | $SED \
7991   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7992   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7993   -e 's:$: $lt_compiler_flag:'`
7994   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
7995   (eval "$lt_compile" 2>out/conftest.err)
7996   ac_status=$?
7997   cat out/conftest.err >&5
7998   echo "$as_me:__oline__: \$? = $ac_status" >&5
7999   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8000   then
8001     # The compiler can only warn and ignore the option if not recognized
8002     # So say no if there are warnings
8003     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8004     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8005     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8006       lt_cv_prog_compiler_c_o=yes
8007     fi
8008   fi
8009   chmod u+w . 2>&5
8010   $RM conftest*
8011   # SGI C++ compiler will create directory out/ii_files/ for
8012   # template instantiation
8013   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8014   $RM out/* && rmdir out
8015   cd ..
8016   $RM -r conftest
8017   $RM conftest*
8018
8019fi
8020{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8021$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8022
8023
8024
8025
8026hard_links="nottested"
8027if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8028  # do not overwrite the value of need_locks provided by the user
8029  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8030$as_echo_n "checking if we can lock with hard links... " >&6; }
8031  hard_links=yes
8032  $RM conftest*
8033  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8034  touch conftest.a
8035  ln conftest.a conftest.b 2>&5 || hard_links=no
8036  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8037  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8038$as_echo "$hard_links" >&6; }
8039  if test "$hard_links" = no; then
8040    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8041$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8042    need_locks=warn
8043  fi
8044else
8045  need_locks=no
8046fi
8047
8048
8049
8050
8051
8052
8053  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8054$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8055
8056  runpath_var=
8057  allow_undefined_flag=
8058  always_export_symbols=no
8059  archive_cmds=
8060  archive_expsym_cmds=
8061  compiler_needs_object=no
8062  enable_shared_with_static_runtimes=no
8063  export_dynamic_flag_spec=
8064  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8065  hardcode_automatic=no
8066  hardcode_direct=no
8067  hardcode_direct_absolute=no
8068  hardcode_libdir_flag_spec=
8069  hardcode_libdir_flag_spec_ld=
8070  hardcode_libdir_separator=
8071  hardcode_minus_L=no
8072  hardcode_shlibpath_var=unsupported
8073  inherit_rpath=no
8074  link_all_deplibs=unknown
8075  module_cmds=
8076  module_expsym_cmds=
8077  old_archive_from_new_cmds=
8078  old_archive_from_expsyms_cmds=
8079  thread_safe_flag_spec=
8080  whole_archive_flag_spec=
8081  # include_expsyms should be a list of space-separated symbols to be *always*
8082  # included in the symbol list
8083  include_expsyms=
8084  # exclude_expsyms can be an extended regexp of symbols to exclude
8085  # it will be wrapped by ` (' and `)$', so one must not match beginning or
8086  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8087  # as well as any symbol that contains `d'.
8088  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8089  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8090  # platforms (ab)use it in PIC code, but their linkers get confused if
8091  # the symbol is explicitly referenced.  Since portable code cannot
8092  # rely on this symbol name, it's probably fine to never include it in
8093  # preloaded symbol tables.
8094  # Exclude shared library initialization/finalization symbols.
8095  extract_expsyms_cmds=
8096
8097  case $host_os in
8098  cygwin* | mingw* | pw32* | cegcc*)
8099    # FIXME: the MSVC++ port hasn't been tested in a loooong time
8100    # When not using gcc, we currently assume that we are using
8101    # Microsoft Visual C++.
8102    if test "$GCC" != yes; then
8103      with_gnu_ld=no
8104    fi
8105    ;;
8106  interix*)
8107    # we just hope/assume this is gcc and not c89 (= MSVC++)
8108    with_gnu_ld=yes
8109    ;;
8110  openbsd*)
8111    with_gnu_ld=no
8112    ;;
8113  esac
8114
8115  ld_shlibs=yes
8116  if test "$with_gnu_ld" = yes; then
8117    # If archive_cmds runs LD, not CC, wlarc should be empty
8118    wlarc='${wl}'
8119
8120    # Set some defaults for GNU ld with shared library support. These
8121    # are reset later if shared libraries are not supported. Putting them
8122    # here allows them to be overridden if necessary.
8123    runpath_var=LD_RUN_PATH
8124    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8125    export_dynamic_flag_spec='${wl}--export-dynamic'
8126    # ancient GNU ld didn't support --whole-archive et. al.
8127    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8128      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8129    else
8130      whole_archive_flag_spec=
8131    fi
8132    supports_anon_versioning=no
8133    case `$LD -v 2>&1` in
8134      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8135      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8136      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8137      *\ 2.11.*) ;; # other 2.11 versions
8138      *) supports_anon_versioning=yes ;;
8139    esac
8140
8141    # See if GNU ld supports shared libraries.
8142    case $host_os in
8143    aix[3-9]*)
8144      # On AIX/PPC, the GNU linker is very broken
8145      if test "$host_cpu" != ia64; then
8146	ld_shlibs=no
8147	cat <<_LT_EOF 1>&2
8148
8149*** Warning: the GNU linker, at least up to release 2.9.1, is reported
8150*** to be unable to reliably create shared libraries on AIX.
8151*** Therefore, libtool is disabling shared libraries support.  If you
8152*** really care for shared libraries, you may want to modify your PATH
8153*** so that a non-GNU linker is found, and then restart.
8154
8155_LT_EOF
8156      fi
8157      ;;
8158
8159    amigaos*)
8160      case $host_cpu in
8161      powerpc)
8162            # see comment about AmigaOS4 .so support
8163            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8164            archive_expsym_cmds=''
8165        ;;
8166      m68k)
8167            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)'
8168            hardcode_libdir_flag_spec='-L$libdir'
8169            hardcode_minus_L=yes
8170        ;;
8171      esac
8172      ;;
8173
8174    beos*)
8175      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8176	allow_undefined_flag=unsupported
8177	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8178	# support --undefined.  This deserves some investigation.  FIXME
8179	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8180      else
8181	ld_shlibs=no
8182      fi
8183      ;;
8184
8185    cygwin* | mingw* | pw32* | cegcc*)
8186      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8187      # as there is no search path for DLLs.
8188      hardcode_libdir_flag_spec='-L$libdir'
8189      allow_undefined_flag=unsupported
8190      always_export_symbols=no
8191      enable_shared_with_static_runtimes=yes
8192      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8193
8194      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8195        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8196	# If the export-symbols file already is a .def file (1st line
8197	# is EXPORTS), use it as is; otherwise, prepend...
8198	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8199	  cp $export_symbols $output_objdir/$soname.def;
8200	else
8201	  echo EXPORTS > $output_objdir/$soname.def;
8202	  cat $export_symbols >> $output_objdir/$soname.def;
8203	fi~
8204	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8205      else
8206	ld_shlibs=no
8207      fi
8208      ;;
8209
8210    interix[3-9]*)
8211      hardcode_direct=no
8212      hardcode_shlibpath_var=no
8213      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8214      export_dynamic_flag_spec='${wl}-E'
8215      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8216      # Instead, shared libraries are loaded at an image base (0x10000000 by
8217      # default) and relocated if they conflict, which is a slow very memory
8218      # consuming and fragmenting process.  To avoid this, we pick a random,
8219      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8220      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
8221      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8222      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'
8223      ;;
8224
8225    gnu* | linux* | tpf* | k*bsd*-gnu)
8226      tmp_diet=no
8227      if test "$host_os" = linux-dietlibc; then
8228	case $cc_basename in
8229	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
8230	esac
8231      fi
8232      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8233	 && test "$tmp_diet" = no
8234      then
8235	tmp_addflag=
8236	tmp_sharedflag='-shared'
8237	case $cc_basename,$host_cpu in
8238        pgcc*)				# Portland Group C compiler
8239	  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'
8240	  tmp_addflag=' $pic_flag'
8241	  ;;
8242	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
8243	  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'
8244	  tmp_addflag=' $pic_flag -Mnomain' ;;
8245	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
8246	  tmp_addflag=' -i_dynamic' ;;
8247	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
8248	  tmp_addflag=' -i_dynamic -nofor_main' ;;
8249	ifc* | ifort*)			# Intel Fortran compiler
8250	  tmp_addflag=' -nofor_main' ;;
8251	lf95*)				# Lahey Fortran 8.1
8252	  whole_archive_flag_spec=
8253	  tmp_sharedflag='--shared' ;;
8254	xl[cC]*)			# IBM XL C 8.0 on PPC (deal with xlf below)
8255	  tmp_sharedflag='-qmkshrobj'
8256	  tmp_addflag= ;;
8257	esac
8258	case `$CC -V 2>&1 | sed 5q` in
8259	*Sun\ C*)			# Sun C 5.9
8260	  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'
8261	  compiler_needs_object=yes
8262	  tmp_sharedflag='-G' ;;
8263	*Sun\ F*)			# Sun Fortran 8.3
8264	  tmp_sharedflag='-G' ;;
8265	esac
8266	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8267
8268        if test "x$supports_anon_versioning" = xyes; then
8269          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8270	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8271	    echo "local: *; };" >> $output_objdir/$libname.ver~
8272	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8273        fi
8274
8275	case $cc_basename in
8276	xlf*)
8277	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8278	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8279	  hardcode_libdir_flag_spec=
8280	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
8281	  archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8282	  if test "x$supports_anon_versioning" = xyes; then
8283	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8284	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8285	      echo "local: *; };" >> $output_objdir/$libname.ver~
8286	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8287	  fi
8288	  ;;
8289	esac
8290      else
8291        ld_shlibs=no
8292      fi
8293      ;;
8294
8295    netbsd*)
8296      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8297	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8298	wlarc=
8299      else
8300	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8301	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8302      fi
8303      ;;
8304
8305    solaris*)
8306      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8307	ld_shlibs=no
8308	cat <<_LT_EOF 1>&2
8309
8310*** Warning: The releases 2.8.* of the GNU linker cannot reliably
8311*** create shared libraries on Solaris systems.  Therefore, libtool
8312*** is disabling shared libraries support.  We urge you to upgrade GNU
8313*** binutils to release 2.9.1 or newer.  Another option is to modify
8314*** your PATH or compiler configuration so that the native linker is
8315*** used, and then restart.
8316
8317_LT_EOF
8318      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8319	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8320	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8321      else
8322	ld_shlibs=no
8323      fi
8324      ;;
8325
8326    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8327      case `$LD -v 2>&1` in
8328        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8329	ld_shlibs=no
8330	cat <<_LT_EOF 1>&2
8331
8332*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8333*** reliably create shared libraries on SCO systems.  Therefore, libtool
8334*** is disabling shared libraries support.  We urge you to upgrade GNU
8335*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
8336*** your PATH or compiler configuration so that the native linker is
8337*** used, and then restart.
8338
8339_LT_EOF
8340	;;
8341	*)
8342	  # For security reasons, it is highly recommended that you always
8343	  # use absolute paths for naming shared libraries, and exclude the
8344	  # DT_RUNPATH tag from executables and libraries.  But doing so
8345	  # requires that you compile everything twice, which is a pain.
8346	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8347	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8348	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8349	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8350	  else
8351	    ld_shlibs=no
8352	  fi
8353	;;
8354      esac
8355      ;;
8356
8357    sunos4*)
8358      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8359      wlarc=
8360      hardcode_direct=yes
8361      hardcode_shlibpath_var=no
8362      ;;
8363
8364    *)
8365      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8366	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8367	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8368      else
8369	ld_shlibs=no
8370      fi
8371      ;;
8372    esac
8373
8374    if test "$ld_shlibs" = no; then
8375      runpath_var=
8376      hardcode_libdir_flag_spec=
8377      export_dynamic_flag_spec=
8378      whole_archive_flag_spec=
8379    fi
8380  else
8381    # PORTME fill in a description of your system's linker (not GNU ld)
8382    case $host_os in
8383    aix3*)
8384      allow_undefined_flag=unsupported
8385      always_export_symbols=yes
8386      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'
8387      # Note: this linker hardcodes the directories in LIBPATH if there
8388      # are no directories specified by -L.
8389      hardcode_minus_L=yes
8390      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8391	# Neither direct hardcoding nor static linking is supported with a
8392	# broken collect2.
8393	hardcode_direct=unsupported
8394      fi
8395      ;;
8396
8397    aix[4-9]*)
8398      if test "$host_cpu" = ia64; then
8399	# On IA64, the linker does run time linking by default, so we don't
8400	# have to do anything special.
8401	aix_use_runtimelinking=no
8402	exp_sym_flag='-Bexport'
8403	no_entry_flag=""
8404      else
8405	# If we're using GNU nm, then we don't want the "-C" option.
8406	# -C means demangle to AIX nm, but means don't demangle with GNU nm
8407	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8408	  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'
8409	else
8410	  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'
8411	fi
8412	aix_use_runtimelinking=no
8413
8414	# Test if we are trying to use run time linking or normal
8415	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
8416	# need to do runtime linking.
8417	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8418	  for ld_flag in $LDFLAGS; do
8419	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8420	    aix_use_runtimelinking=yes
8421	    break
8422	  fi
8423	  done
8424	  ;;
8425	esac
8426
8427	exp_sym_flag='-bexport'
8428	no_entry_flag='-bnoentry'
8429      fi
8430
8431      # When large executables or shared objects are built, AIX ld can
8432      # have problems creating the table of contents.  If linking a library
8433      # or program results in "error TOC overflow" add -mminimal-toc to
8434      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
8435      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8436
8437      archive_cmds=''
8438      hardcode_direct=yes
8439      hardcode_direct_absolute=yes
8440      hardcode_libdir_separator=':'
8441      link_all_deplibs=yes
8442      file_list_spec='${wl}-f,'
8443
8444      if test "$GCC" = yes; then
8445	case $host_os in aix4.[012]|aix4.[012].*)
8446	# We only want to do this on AIX 4.2 and lower, the check
8447	# below for broken collect2 doesn't work under 4.3+
8448	  collect2name=`${CC} -print-prog-name=collect2`
8449	  if test -f "$collect2name" &&
8450	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8451	  then
8452	  # We have reworked collect2
8453	  :
8454	  else
8455	  # We have old collect2
8456	  hardcode_direct=unsupported
8457	  # It fails to find uninstalled libraries when the uninstalled
8458	  # path is not listed in the libpath.  Setting hardcode_minus_L
8459	  # to unsupported forces relinking
8460	  hardcode_minus_L=yes
8461	  hardcode_libdir_flag_spec='-L$libdir'
8462	  hardcode_libdir_separator=
8463	  fi
8464	  ;;
8465	esac
8466	shared_flag='-shared'
8467	if test "$aix_use_runtimelinking" = yes; then
8468	  shared_flag="$shared_flag "'${wl}-G'
8469	fi
8470      else
8471	# not using gcc
8472	if test "$host_cpu" = ia64; then
8473	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8474	# chokes on -Wl,-G. The following line is correct:
8475	  shared_flag='-G'
8476	else
8477	  if test "$aix_use_runtimelinking" = yes; then
8478	    shared_flag='${wl}-G'
8479	  else
8480	    shared_flag='${wl}-bM:SRE'
8481	  fi
8482	fi
8483      fi
8484
8485      export_dynamic_flag_spec='${wl}-bexpall'
8486      # It seems that -bexpall does not export symbols beginning with
8487      # underscore (_), so it is better to generate a list of symbols to export.
8488      always_export_symbols=yes
8489      if test "$aix_use_runtimelinking" = yes; then
8490	# Warning - without using the other runtime loading flags (-brtl),
8491	# -berok will link without error, but may produce a broken library.
8492	allow_undefined_flag='-berok'
8493        # Determine the default libpath from the value encoded in an
8494        # empty executable.
8495        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8496/* end confdefs.h.  */
8497
8498int
8499main ()
8500{
8501
8502  ;
8503  return 0;
8504}
8505_ACEOF
8506if ac_fn_c_try_link "$LINENO"; then :
8507
8508lt_aix_libpath_sed='
8509    /Import File Strings/,/^$/ {
8510	/^0/ {
8511	    s/^0  *\(.*\)$/\1/
8512	    p
8513	}
8514    }'
8515aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8516# Check for a 64-bit object if we didn't find anything.
8517if test -z "$aix_libpath"; then
8518  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8519fi
8520fi
8521rm -f core conftest.err conftest.$ac_objext \
8522    conftest$ac_exeext conftest.$ac_ext
8523if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8524
8525        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8526        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"
8527      else
8528	if test "$host_cpu" = ia64; then
8529	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8530	  allow_undefined_flag="-z nodefs"
8531	  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"
8532	else
8533	 # Determine the default libpath from the value encoded in an
8534	 # empty executable.
8535	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8536/* end confdefs.h.  */
8537
8538int
8539main ()
8540{
8541
8542  ;
8543  return 0;
8544}
8545_ACEOF
8546if ac_fn_c_try_link "$LINENO"; then :
8547
8548lt_aix_libpath_sed='
8549    /Import File Strings/,/^$/ {
8550	/^0/ {
8551	    s/^0  *\(.*\)$/\1/
8552	    p
8553	}
8554    }'
8555aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8556# Check for a 64-bit object if we didn't find anything.
8557if test -z "$aix_libpath"; then
8558  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8559fi
8560fi
8561rm -f core conftest.err conftest.$ac_objext \
8562    conftest$ac_exeext conftest.$ac_ext
8563if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8564
8565	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8566	  # Warning - without using the other run time loading flags,
8567	  # -berok will link without error, but may produce a broken library.
8568	  no_undefined_flag=' ${wl}-bernotok'
8569	  allow_undefined_flag=' ${wl}-berok'
8570	  # Exported symbols can be pulled into shared objects from archives
8571	  whole_archive_flag_spec='$convenience'
8572	  archive_cmds_need_lc=yes
8573	  # This is similar to how AIX traditionally builds its shared libraries.
8574	  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'
8575	fi
8576      fi
8577      ;;
8578
8579    amigaos*)
8580      case $host_cpu in
8581      powerpc)
8582            # see comment about AmigaOS4 .so support
8583            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8584            archive_expsym_cmds=''
8585        ;;
8586      m68k)
8587            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)'
8588            hardcode_libdir_flag_spec='-L$libdir'
8589            hardcode_minus_L=yes
8590        ;;
8591      esac
8592      ;;
8593
8594    bsdi[45]*)
8595      export_dynamic_flag_spec=-rdynamic
8596      ;;
8597
8598    cygwin* | mingw* | pw32* | cegcc*)
8599      # When not using gcc, we currently assume that we are using
8600      # Microsoft Visual C++.
8601      # hardcode_libdir_flag_spec is actually meaningless, as there is
8602      # no search path for DLLs.
8603      hardcode_libdir_flag_spec=' '
8604      allow_undefined_flag=unsupported
8605      # Tell ltmain to make .lib files, not .a files.
8606      libext=lib
8607      # Tell ltmain to make .dll files, not .so files.
8608      shrext_cmds=".dll"
8609      # FIXME: Setting linknames here is a bad hack.
8610      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8611      # The linker will automatically build a .lib file if we build a DLL.
8612      old_archive_from_new_cmds='true'
8613      # FIXME: Should let the user specify the lib program.
8614      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8615      fix_srcfile_path='`cygpath -w "$srcfile"`'
8616      enable_shared_with_static_runtimes=yes
8617      ;;
8618
8619    darwin* | rhapsody*)
8620
8621
8622  archive_cmds_need_lc=no
8623  hardcode_direct=no
8624  hardcode_automatic=yes
8625  hardcode_shlibpath_var=unsupported
8626  whole_archive_flag_spec=''
8627  link_all_deplibs=yes
8628  allow_undefined_flag="$_lt_dar_allow_undefined"
8629  case $cc_basename in
8630     ifort*) _lt_dar_can_shared=yes ;;
8631     *) _lt_dar_can_shared=$GCC ;;
8632  esac
8633  if test "$_lt_dar_can_shared" = "yes"; then
8634    output_verbose_link_cmd=echo
8635    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8636    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8637    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}"
8638    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}"
8639
8640  else
8641  ld_shlibs=no
8642  fi
8643
8644      ;;
8645
8646    dgux*)
8647      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8648      hardcode_libdir_flag_spec='-L$libdir'
8649      hardcode_shlibpath_var=no
8650      ;;
8651
8652    freebsd1*)
8653      ld_shlibs=no
8654      ;;
8655
8656    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8657    # support.  Future versions do this automatically, but an explicit c++rt0.o
8658    # does not break anything, and helps significantly (at the cost of a little
8659    # extra space).
8660    freebsd2.2*)
8661      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8662      hardcode_libdir_flag_spec='-R$libdir'
8663      hardcode_direct=yes
8664      hardcode_shlibpath_var=no
8665      ;;
8666
8667    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8668    freebsd2*)
8669      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8670      hardcode_direct=yes
8671      hardcode_minus_L=yes
8672      hardcode_shlibpath_var=no
8673      ;;
8674
8675    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8676    freebsd* | dragonfly*)
8677      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8678      hardcode_libdir_flag_spec='-R$libdir'
8679      hardcode_direct=yes
8680      hardcode_shlibpath_var=no
8681      ;;
8682
8683    hpux9*)
8684      if test "$GCC" = yes; then
8685	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'
8686      else
8687	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'
8688      fi
8689      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8690      hardcode_libdir_separator=:
8691      hardcode_direct=yes
8692
8693      # hardcode_minus_L: Not really in the search PATH,
8694      # but as the default location of the library.
8695      hardcode_minus_L=yes
8696      export_dynamic_flag_spec='${wl}-E'
8697      ;;
8698
8699    hpux10*)
8700      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8701	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8702      else
8703	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8704      fi
8705      if test "$with_gnu_ld" = no; then
8706	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8707	hardcode_libdir_flag_spec_ld='+b $libdir'
8708	hardcode_libdir_separator=:
8709	hardcode_direct=yes
8710	hardcode_direct_absolute=yes
8711	export_dynamic_flag_spec='${wl}-E'
8712	# hardcode_minus_L: Not really in the search PATH,
8713	# but as the default location of the library.
8714	hardcode_minus_L=yes
8715      fi
8716      ;;
8717
8718    hpux11*)
8719      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8720	case $host_cpu in
8721	hppa*64*)
8722	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8723	  ;;
8724	ia64*)
8725	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8726	  ;;
8727	*)
8728	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8729	  ;;
8730	esac
8731      else
8732	case $host_cpu in
8733	hppa*64*)
8734	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8735	  ;;
8736	ia64*)
8737	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8738	  ;;
8739	*)
8740	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8741	  ;;
8742	esac
8743      fi
8744      if test "$with_gnu_ld" = no; then
8745	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8746	hardcode_libdir_separator=:
8747
8748	case $host_cpu in
8749	hppa*64*|ia64*)
8750	  hardcode_direct=no
8751	  hardcode_shlibpath_var=no
8752	  ;;
8753	*)
8754	  hardcode_direct=yes
8755	  hardcode_direct_absolute=yes
8756	  export_dynamic_flag_spec='${wl}-E'
8757
8758	  # hardcode_minus_L: Not really in the search PATH,
8759	  # but as the default location of the library.
8760	  hardcode_minus_L=yes
8761	  ;;
8762	esac
8763      fi
8764      ;;
8765
8766    irix5* | irix6* | nonstopux*)
8767      if test "$GCC" = yes; then
8768	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'
8769	# Try to use the -exported_symbol ld option, if it does not
8770	# work, assume that -exports_file does not work either and
8771	# implicitly export all symbols.
8772        save_LDFLAGS="$LDFLAGS"
8773        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8774        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8775/* end confdefs.h.  */
8776int foo(void) {}
8777_ACEOF
8778if ac_fn_c_try_link "$LINENO"; then :
8779  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'
8780
8781fi
8782rm -f core conftest.err conftest.$ac_objext \
8783    conftest$ac_exeext conftest.$ac_ext
8784        LDFLAGS="$save_LDFLAGS"
8785      else
8786	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'
8787	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'
8788      fi
8789      archive_cmds_need_lc='no'
8790      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8791      hardcode_libdir_separator=:
8792      inherit_rpath=yes
8793      link_all_deplibs=yes
8794      ;;
8795
8796    netbsd*)
8797      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8798	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
8799      else
8800	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
8801      fi
8802      hardcode_libdir_flag_spec='-R$libdir'
8803      hardcode_direct=yes
8804      hardcode_shlibpath_var=no
8805      ;;
8806
8807    newsos6)
8808      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8809      hardcode_direct=yes
8810      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8811      hardcode_libdir_separator=:
8812      hardcode_shlibpath_var=no
8813      ;;
8814
8815    *nto* | *qnx*)
8816      ;;
8817
8818    openbsd*)
8819      if test -f /usr/libexec/ld.so; then
8820	hardcode_direct=yes
8821	hardcode_shlibpath_var=no
8822	hardcode_direct_absolute=yes
8823	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8824	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8825	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8826	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8827	  export_dynamic_flag_spec='${wl}-E'
8828	else
8829	  case $host_os in
8830	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8831	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8832	     hardcode_libdir_flag_spec='-R$libdir'
8833	     ;;
8834	   *)
8835	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8836	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8837	     ;;
8838	  esac
8839	fi
8840      else
8841	ld_shlibs=no
8842      fi
8843      ;;
8844
8845    os2*)
8846      hardcode_libdir_flag_spec='-L$libdir'
8847      hardcode_minus_L=yes
8848      allow_undefined_flag=unsupported
8849      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'
8850      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8851      ;;
8852
8853    osf3*)
8854      if test "$GCC" = yes; then
8855	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8856	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'
8857      else
8858	allow_undefined_flag=' -expect_unresolved \*'
8859	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'
8860      fi
8861      archive_cmds_need_lc='no'
8862      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8863      hardcode_libdir_separator=:
8864      ;;
8865
8866    osf4* | osf5*)	# as osf3* with the addition of -msym flag
8867      if test "$GCC" = yes; then
8868	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8869	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'
8870	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8871      else
8872	allow_undefined_flag=' -expect_unresolved \*'
8873	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'
8874	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~
8875	$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'
8876
8877	# Both c and cxx compiler support -rpath directly
8878	hardcode_libdir_flag_spec='-rpath $libdir'
8879      fi
8880      archive_cmds_need_lc='no'
8881      hardcode_libdir_separator=:
8882      ;;
8883
8884    solaris*)
8885      no_undefined_flag=' -z defs'
8886      if test "$GCC" = yes; then
8887	wlarc='${wl}'
8888	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8889	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8890	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8891      else
8892	case `$CC -V 2>&1` in
8893	*"Compilers 5.0"*)
8894	  wlarc=''
8895	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8896	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8897	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8898	  ;;
8899	*)
8900	  wlarc='${wl}'
8901	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8902	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8903	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8904	  ;;
8905	esac
8906      fi
8907      hardcode_libdir_flag_spec='-R$libdir'
8908      hardcode_shlibpath_var=no
8909      case $host_os in
8910      solaris2.[0-5] | solaris2.[0-5].*) ;;
8911      *)
8912	# The compiler driver will combine and reorder linker options,
8913	# but understands `-z linker_flag'.  GCC discards it without `$wl',
8914	# but is careful enough not to reorder.
8915	# Supported since Solaris 2.6 (maybe 2.5.1?)
8916	if test "$GCC" = yes; then
8917	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8918	else
8919	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8920	fi
8921	;;
8922      esac
8923      link_all_deplibs=yes
8924      ;;
8925
8926    sunos4*)
8927      if test "x$host_vendor" = xsequent; then
8928	# Use $CC to link under sequent, because it throws in some extra .o
8929	# files that make .init and .fini sections work.
8930	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8931      else
8932	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8933      fi
8934      hardcode_libdir_flag_spec='-L$libdir'
8935      hardcode_direct=yes
8936      hardcode_minus_L=yes
8937      hardcode_shlibpath_var=no
8938      ;;
8939
8940    sysv4)
8941      case $host_vendor in
8942	sni)
8943	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8944	  hardcode_direct=yes # is this really true???
8945	;;
8946	siemens)
8947	  ## LD is ld it makes a PLAMLIB
8948	  ## CC just makes a GrossModule.
8949	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8950	  reload_cmds='$CC -r -o $output$reload_objs'
8951	  hardcode_direct=no
8952        ;;
8953	motorola)
8954	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8955	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8956	;;
8957      esac
8958      runpath_var='LD_RUN_PATH'
8959      hardcode_shlibpath_var=no
8960      ;;
8961
8962    sysv4.3*)
8963      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8964      hardcode_shlibpath_var=no
8965      export_dynamic_flag_spec='-Bexport'
8966      ;;
8967
8968    sysv4*MP*)
8969      if test -d /usr/nec; then
8970	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8971	hardcode_shlibpath_var=no
8972	runpath_var=LD_RUN_PATH
8973	hardcode_runpath_var=yes
8974	ld_shlibs=yes
8975      fi
8976      ;;
8977
8978    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8979      no_undefined_flag='${wl}-z,text'
8980      archive_cmds_need_lc=no
8981      hardcode_shlibpath_var=no
8982      runpath_var='LD_RUN_PATH'
8983
8984      if test "$GCC" = yes; then
8985	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8986	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8987      else
8988	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8989	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8990      fi
8991      ;;
8992
8993    sysv5* | sco3.2v5* | sco5v6*)
8994      # Note: We can NOT use -z defs as we might desire, because we do not
8995      # link with -lc, and that would cause any symbols used from libc to
8996      # always be unresolved, which means just about no library would
8997      # ever link correctly.  If we're not using GNU ld we use -z text
8998      # though, which does catch some bad symbols but isn't as heavy-handed
8999      # as -z defs.
9000      no_undefined_flag='${wl}-z,text'
9001      allow_undefined_flag='${wl}-z,nodefs'
9002      archive_cmds_need_lc=no
9003      hardcode_shlibpath_var=no
9004      hardcode_libdir_flag_spec='${wl}-R,$libdir'
9005      hardcode_libdir_separator=':'
9006      link_all_deplibs=yes
9007      export_dynamic_flag_spec='${wl}-Bexport'
9008      runpath_var='LD_RUN_PATH'
9009
9010      if test "$GCC" = yes; then
9011	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9012	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9013      else
9014	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9015	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9016      fi
9017      ;;
9018
9019    uts4*)
9020      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9021      hardcode_libdir_flag_spec='-L$libdir'
9022      hardcode_shlibpath_var=no
9023      ;;
9024
9025    *)
9026      ld_shlibs=no
9027      ;;
9028    esac
9029
9030    if test x$host_vendor = xsni; then
9031      case $host in
9032      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9033	export_dynamic_flag_spec='${wl}-Blargedynsym'
9034	;;
9035      esac
9036    fi
9037  fi
9038
9039{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9040$as_echo "$ld_shlibs" >&6; }
9041test "$ld_shlibs" = no && can_build_shared=no
9042
9043with_gnu_ld=$with_gnu_ld
9044
9045
9046
9047
9048
9049
9050
9051
9052
9053
9054
9055
9056
9057
9058
9059#
9060# Do we need to explicitly link libc?
9061#
9062case "x$archive_cmds_need_lc" in
9063x|xyes)
9064  # Assume -lc should be added
9065  archive_cmds_need_lc=yes
9066
9067  if test "$enable_shared" = yes && test "$GCC" = yes; then
9068    case $archive_cmds in
9069    *'~'*)
9070      # FIXME: we may have to deal with multi-command sequences.
9071      ;;
9072    '$CC '*)
9073      # Test whether the compiler implicitly links with -lc since on some
9074      # systems, -lgcc has to come before -lc. If gcc already passes -lc
9075      # to ld, don't add -lc before -lgcc.
9076      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9077$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9078      $RM conftest*
9079      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9080
9081      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9082  (eval $ac_compile) 2>&5
9083  ac_status=$?
9084  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9085  test $ac_status = 0; } 2>conftest.err; then
9086        soname=conftest
9087        lib=conftest
9088        libobjs=conftest.$ac_objext
9089        deplibs=
9090        wl=$lt_prog_compiler_wl
9091	pic_flag=$lt_prog_compiler_pic
9092        compiler_flags=-v
9093        linker_flags=-v
9094        verstring=
9095        output_objdir=.
9096        libname=conftest
9097        lt_save_allow_undefined_flag=$allow_undefined_flag
9098        allow_undefined_flag=
9099        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9100  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9101  ac_status=$?
9102  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9103  test $ac_status = 0; }
9104        then
9105	  archive_cmds_need_lc=no
9106        else
9107	  archive_cmds_need_lc=yes
9108        fi
9109        allow_undefined_flag=$lt_save_allow_undefined_flag
9110      else
9111        cat conftest.err 1>&5
9112      fi
9113      $RM conftest*
9114      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9115$as_echo "$archive_cmds_need_lc" >&6; }
9116      ;;
9117    esac
9118  fi
9119  ;;
9120esac
9121
9122
9123
9124
9125
9126
9127
9128
9129
9130
9131
9132
9133
9134
9135
9136
9137
9138
9139
9140
9141
9142
9143
9144
9145
9146
9147
9148
9149
9150
9151
9152
9153
9154
9155
9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189
9190
9191
9192
9193
9194
9195
9196
9197
9198
9199
9200
9201
9202
9203
9204
9205
9206
9207
9208
9209
9210
9211
9212
9213
9214
9215
9216
9217
9218
9219
9220
9221
9222
9223
9224
9225
9226
9227
9228
9229
9230
9231
9232
9233
9234
9235
9236
9237
9238
9239
9240
9241
9242
9243
9244
9245
9246
9247
9248
9249
9250
9251
9252
9253
9254
9255
9256
9257
9258
9259
9260
9261
9262
9263
9264
9265
9266
9267
9268
9269
9270
9271
9272
9273
9274
9275
9276
9277
9278  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9279$as_echo_n "checking dynamic linker characteristics... " >&6; }
9280
9281if test "$GCC" = yes; then
9282  case $host_os in
9283    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9284    *) lt_awk_arg="/^libraries:/" ;;
9285  esac
9286  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9287  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9288    # if the path contains ";" then we assume it to be the separator
9289    # otherwise default to the standard path separator (i.e. ":") - it is
9290    # assumed that no part of a normal pathname contains ";" but that should
9291    # okay in the real world where ";" in dirpaths is itself problematic.
9292    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9293  else
9294    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9295  fi
9296  # Ok, now we have the path, separated by spaces, we can step through it
9297  # and add multilib dir if necessary.
9298  lt_tmp_lt_search_path_spec=
9299  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9300  for lt_sys_path in $lt_search_path_spec; do
9301    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9302      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9303    else
9304      test -d "$lt_sys_path" && \
9305	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9306    fi
9307  done
9308  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9309BEGIN {RS=" "; FS="/|\n";} {
9310  lt_foo="";
9311  lt_count=0;
9312  for (lt_i = NF; lt_i > 0; lt_i--) {
9313    if ($lt_i != "" && $lt_i != ".") {
9314      if ($lt_i == "..") {
9315        lt_count++;
9316      } else {
9317        if (lt_count == 0) {
9318          lt_foo="/" $lt_i lt_foo;
9319        } else {
9320          lt_count--;
9321        }
9322      }
9323    }
9324  }
9325  if (lt_foo != "") { lt_freq[lt_foo]++; }
9326  if (lt_freq[lt_foo] == 1) { print lt_foo; }
9327}'`
9328  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9329else
9330  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9331fi
9332library_names_spec=
9333libname_spec='lib$name'
9334soname_spec=
9335shrext_cmds=".so"
9336postinstall_cmds=
9337postuninstall_cmds=
9338finish_cmds=
9339finish_eval=
9340shlibpath_var=
9341shlibpath_overrides_runpath=unknown
9342version_type=none
9343dynamic_linker="$host_os ld.so"
9344sys_lib_dlsearch_path_spec="/lib /usr/lib"
9345need_lib_prefix=unknown
9346hardcode_into_libs=no
9347
9348# when you set need_version to no, make sure it does not cause -set_version
9349# flags to be left without arguments
9350need_version=unknown
9351
9352case $host_os in
9353aix3*)
9354  version_type=linux
9355  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9356  shlibpath_var=LIBPATH
9357
9358  # AIX 3 has no versioning support, so we append a major version to the name.
9359  soname_spec='${libname}${release}${shared_ext}$major'
9360  ;;
9361
9362aix[4-9]*)
9363  version_type=linux
9364  need_lib_prefix=no
9365  need_version=no
9366  hardcode_into_libs=yes
9367  if test "$host_cpu" = ia64; then
9368    # AIX 5 supports IA64
9369    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9370    shlibpath_var=LD_LIBRARY_PATH
9371  else
9372    # With GCC up to 2.95.x, collect2 would create an import file
9373    # for dependence libraries.  The import file would start with
9374    # the line `#! .'.  This would cause the generated library to
9375    # depend on `.', always an invalid library.  This was fixed in
9376    # development snapshots of GCC prior to 3.0.
9377    case $host_os in
9378      aix4 | aix4.[01] | aix4.[01].*)
9379      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9380	   echo ' yes '
9381	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9382	:
9383      else
9384	can_build_shared=no
9385      fi
9386      ;;
9387    esac
9388    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9389    # soname into executable. Probably we can add versioning support to
9390    # collect2, so additional links can be useful in future.
9391    if test "$aix_use_runtimelinking" = yes; then
9392      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9393      # instead of lib<name>.a to let people know that these are not
9394      # typical AIX shared libraries.
9395      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9396    else
9397      # We preserve .a as extension for shared libraries through AIX4.2
9398      # and later when we are not doing run time linking.
9399      library_names_spec='${libname}${release}.a $libname.a'
9400      soname_spec='${libname}${release}${shared_ext}$major'
9401    fi
9402    shlibpath_var=LIBPATH
9403  fi
9404  ;;
9405
9406amigaos*)
9407  case $host_cpu in
9408  powerpc)
9409    # Since July 2007 AmigaOS4 officially supports .so libraries.
9410    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9411    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9412    ;;
9413  m68k)
9414    library_names_spec='$libname.ixlibrary $libname.a'
9415    # Create ${libname}_ixlibrary.a entries in /sys/libs.
9416    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'
9417    ;;
9418  esac
9419  ;;
9420
9421beos*)
9422  library_names_spec='${libname}${shared_ext}'
9423  dynamic_linker="$host_os ld.so"
9424  shlibpath_var=LIBRARY_PATH
9425  ;;
9426
9427bsdi[45]*)
9428  version_type=linux
9429  need_version=no
9430  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9431  soname_spec='${libname}${release}${shared_ext}$major'
9432  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9433  shlibpath_var=LD_LIBRARY_PATH
9434  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9435  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9436  # the default ld.so.conf also contains /usr/contrib/lib and
9437  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9438  # libtool to hard-code these into programs
9439  ;;
9440
9441cygwin* | mingw* | pw32* | cegcc*)
9442  version_type=windows
9443  shrext_cmds=".dll"
9444  need_version=no
9445  need_lib_prefix=no
9446
9447  case $GCC,$host_os in
9448  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9449    library_names_spec='$libname.dll.a'
9450    # DLL is installed to $(libdir)/../bin by postinstall_cmds
9451    postinstall_cmds='base_file=`basename \${file}`~
9452      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9453      dldir=$destdir/`dirname \$dlpath`~
9454      test -d \$dldir || mkdir -p \$dldir~
9455      $install_prog $dir/$dlname \$dldir/$dlname~
9456      chmod a+x \$dldir/$dlname~
9457      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9458        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9459      fi'
9460    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9461      dlpath=$dir/\$dldll~
9462       $RM \$dlpath'
9463    shlibpath_overrides_runpath=yes
9464
9465    case $host_os in
9466    cygwin*)
9467      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9468      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9469      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9470      ;;
9471    mingw* | cegcc*)
9472      # MinGW DLLs use traditional 'lib' prefix
9473      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9474      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9475      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9476        # It is most probably a Windows format PATH printed by
9477        # mingw gcc, but we are running on Cygwin. Gcc prints its search
9478        # path with ; separators, and with drive letters. We can handle the
9479        # drive letters (cygwin fileutils understands them), so leave them,
9480        # especially as we might pass files found there to a mingw objdump,
9481        # which wouldn't understand a cygwinified path. Ahh.
9482        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9483      else
9484        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9485      fi
9486      ;;
9487    pw32*)
9488      # pw32 DLLs use 'pw' prefix rather than 'lib'
9489      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9490      ;;
9491    esac
9492    ;;
9493
9494  *)
9495    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9496    ;;
9497  esac
9498  dynamic_linker='Win32 ld.exe'
9499  # FIXME: first we should search . and the directory the executable is in
9500  shlibpath_var=PATH
9501  ;;
9502
9503darwin* | rhapsody*)
9504  dynamic_linker="$host_os dyld"
9505  version_type=darwin
9506  need_lib_prefix=no
9507  need_version=no
9508  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9509  soname_spec='${libname}${release}${major}$shared_ext'
9510  shlibpath_overrides_runpath=yes
9511  shlibpath_var=DYLD_LIBRARY_PATH
9512  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9513
9514  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9515  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9516  ;;
9517
9518dgux*)
9519  version_type=linux
9520  need_lib_prefix=no
9521  need_version=no
9522  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9523  soname_spec='${libname}${release}${shared_ext}$major'
9524  shlibpath_var=LD_LIBRARY_PATH
9525  ;;
9526
9527freebsd1*)
9528  dynamic_linker=no
9529  ;;
9530
9531freebsd* | dragonfly*)
9532  # DragonFly does not have aout.  When/if they implement a new
9533  # versioning mechanism, adjust this.
9534  if test -x /usr/bin/objformat; then
9535    objformat=`/usr/bin/objformat`
9536  else
9537    case $host_os in
9538    freebsd[123]*) objformat=aout ;;
9539    *) objformat=elf ;;
9540    esac
9541  fi
9542  version_type=freebsd-$objformat
9543  case $version_type in
9544    freebsd-elf*)
9545      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9546      need_version=no
9547      need_lib_prefix=no
9548      ;;
9549    freebsd-*)
9550      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9551      need_version=yes
9552      ;;
9553  esac
9554  shlibpath_var=LD_LIBRARY_PATH
9555  case $host_os in
9556  freebsd2*)
9557    shlibpath_overrides_runpath=yes
9558    ;;
9559  freebsd3.[01]* | freebsdelf3.[01]*)
9560    shlibpath_overrides_runpath=yes
9561    hardcode_into_libs=yes
9562    ;;
9563  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9564  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9565    shlibpath_overrides_runpath=no
9566    hardcode_into_libs=yes
9567    ;;
9568  *) # from 4.6 on, and DragonFly
9569    shlibpath_overrides_runpath=yes
9570    hardcode_into_libs=yes
9571    ;;
9572  esac
9573  ;;
9574
9575gnu*)
9576  version_type=linux
9577  need_lib_prefix=no
9578  need_version=no
9579  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9580  soname_spec='${libname}${release}${shared_ext}$major'
9581  shlibpath_var=LD_LIBRARY_PATH
9582  hardcode_into_libs=yes
9583  ;;
9584
9585hpux9* | hpux10* | hpux11*)
9586  # Give a soname corresponding to the major version so that dld.sl refuses to
9587  # link against other versions.
9588  version_type=sunos
9589  need_lib_prefix=no
9590  need_version=no
9591  case $host_cpu in
9592  ia64*)
9593    shrext_cmds='.so'
9594    hardcode_into_libs=yes
9595    dynamic_linker="$host_os dld.so"
9596    shlibpath_var=LD_LIBRARY_PATH
9597    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9598    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9599    soname_spec='${libname}${release}${shared_ext}$major'
9600    if test "X$HPUX_IA64_MODE" = X32; then
9601      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9602    else
9603      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9604    fi
9605    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9606    ;;
9607  hppa*64*)
9608    shrext_cmds='.sl'
9609    hardcode_into_libs=yes
9610    dynamic_linker="$host_os dld.sl"
9611    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9612    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9613    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9614    soname_spec='${libname}${release}${shared_ext}$major'
9615    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9616    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9617    ;;
9618  *)
9619    shrext_cmds='.sl'
9620    dynamic_linker="$host_os dld.sl"
9621    shlibpath_var=SHLIB_PATH
9622    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9623    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9624    soname_spec='${libname}${release}${shared_ext}$major'
9625    ;;
9626  esac
9627  # HP-UX runs *really* slowly unless shared libraries are mode 555.
9628  postinstall_cmds='chmod 555 $lib'
9629  ;;
9630
9631interix[3-9]*)
9632  version_type=linux
9633  need_lib_prefix=no
9634  need_version=no
9635  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9636  soname_spec='${libname}${release}${shared_ext}$major'
9637  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9638  shlibpath_var=LD_LIBRARY_PATH
9639  shlibpath_overrides_runpath=no
9640  hardcode_into_libs=yes
9641  ;;
9642
9643irix5* | irix6* | nonstopux*)
9644  case $host_os in
9645    nonstopux*) version_type=nonstopux ;;
9646    *)
9647	if test "$lt_cv_prog_gnu_ld" = yes; then
9648		version_type=linux
9649	else
9650		version_type=irix
9651	fi ;;
9652  esac
9653  need_lib_prefix=no
9654  need_version=no
9655  soname_spec='${libname}${release}${shared_ext}$major'
9656  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9657  case $host_os in
9658  irix5* | nonstopux*)
9659    libsuff= shlibsuff=
9660    ;;
9661  *)
9662    case $LD in # libtool.m4 will add one of these switches to LD
9663    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9664      libsuff= shlibsuff= libmagic=32-bit;;
9665    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9666      libsuff=32 shlibsuff=N32 libmagic=N32;;
9667    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9668      libsuff=64 shlibsuff=64 libmagic=64-bit;;
9669    *) libsuff= shlibsuff= libmagic=never-match;;
9670    esac
9671    ;;
9672  esac
9673  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9674  shlibpath_overrides_runpath=no
9675  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9676  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9677  hardcode_into_libs=yes
9678  ;;
9679
9680# No shared lib support for Linux oldld, aout, or coff.
9681linux*oldld* | linux*aout* | linux*coff*)
9682  dynamic_linker=no
9683  ;;
9684
9685# This must be Linux ELF.
9686linux* | k*bsd*-gnu)
9687  version_type=linux
9688  need_lib_prefix=no
9689  need_version=no
9690  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9691  soname_spec='${libname}${release}${shared_ext}$major'
9692  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9693  shlibpath_var=LD_LIBRARY_PATH
9694  shlibpath_overrides_runpath=no
9695  # Some binutils ld are patched to set DT_RUNPATH
9696  save_LDFLAGS=$LDFLAGS
9697  save_libdir=$libdir
9698  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9699       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9700  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9701/* end confdefs.h.  */
9702
9703int
9704main ()
9705{
9706
9707  ;
9708  return 0;
9709}
9710_ACEOF
9711if ac_fn_c_try_link "$LINENO"; then :
9712  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
9713  shlibpath_overrides_runpath=yes
9714fi
9715fi
9716rm -f core conftest.err conftest.$ac_objext \
9717    conftest$ac_exeext conftest.$ac_ext
9718  LDFLAGS=$save_LDFLAGS
9719  libdir=$save_libdir
9720
9721  # This implies no fast_install, which is unacceptable.
9722  # Some rework will be needed to allow for fast_install
9723  # before this can be enabled.
9724  hardcode_into_libs=yes
9725
9726  # Append ld.so.conf contents to the search path
9727  if test -f /etc/ld.so.conf; then
9728    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' ' '`
9729    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9730  fi
9731
9732  # We used to test for /lib/ld.so.1 and disable shared libraries on
9733  # powerpc, because MkLinux only supported shared libraries with the
9734  # GNU dynamic linker.  Since this was broken with cross compilers,
9735  # most powerpc-linux boxes support dynamic linking these days and
9736  # people can always --disable-shared, the test was removed, and we
9737  # assume the GNU/Linux dynamic linker is in use.
9738  dynamic_linker='GNU/Linux ld.so'
9739  ;;
9740
9741netbsd*)
9742  version_type=sunos
9743  need_lib_prefix=no
9744  need_version=no
9745  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9746    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9747    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9748    dynamic_linker='NetBSD (a.out) ld.so'
9749  else
9750    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9751    soname_spec='${libname}${release}${shared_ext}$major'
9752    dynamic_linker='NetBSD ld.elf_so'
9753  fi
9754  shlibpath_var=LD_LIBRARY_PATH
9755  shlibpath_overrides_runpath=yes
9756  hardcode_into_libs=yes
9757  ;;
9758
9759newsos6)
9760  version_type=linux
9761  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9762  shlibpath_var=LD_LIBRARY_PATH
9763  shlibpath_overrides_runpath=yes
9764  ;;
9765
9766*nto* | *qnx*)
9767  version_type=qnx
9768  need_lib_prefix=no
9769  need_version=no
9770  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9771  soname_spec='${libname}${release}${shared_ext}$major'
9772  shlibpath_var=LD_LIBRARY_PATH
9773  shlibpath_overrides_runpath=no
9774  hardcode_into_libs=yes
9775  dynamic_linker='ldqnx.so'
9776  ;;
9777
9778openbsd*)
9779  version_type=sunos
9780  sys_lib_dlsearch_path_spec="/usr/lib"
9781  need_lib_prefix=no
9782  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9783  case $host_os in
9784    openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
9785    *)				need_version=no  ;;
9786  esac
9787  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9788  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9789  shlibpath_var=LD_LIBRARY_PATH
9790  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9791    case $host_os in
9792      openbsd2.[89] | openbsd2.[89].*)
9793	shlibpath_overrides_runpath=no
9794	;;
9795      *)
9796	shlibpath_overrides_runpath=yes
9797	;;
9798      esac
9799  else
9800    shlibpath_overrides_runpath=yes
9801  fi
9802  ;;
9803
9804os2*)
9805  libname_spec='$name'
9806  shrext_cmds=".dll"
9807  need_lib_prefix=no
9808  library_names_spec='$libname${shared_ext} $libname.a'
9809  dynamic_linker='OS/2 ld.exe'
9810  shlibpath_var=LIBPATH
9811  ;;
9812
9813osf3* | osf4* | osf5*)
9814  version_type=osf
9815  need_lib_prefix=no
9816  need_version=no
9817  soname_spec='${libname}${release}${shared_ext}$major'
9818  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9819  shlibpath_var=LD_LIBRARY_PATH
9820  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9821  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9822  ;;
9823
9824rdos*)
9825  dynamic_linker=no
9826  ;;
9827
9828solaris*)
9829  version_type=linux
9830  need_lib_prefix=no
9831  need_version=no
9832  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9833  soname_spec='${libname}${release}${shared_ext}$major'
9834  shlibpath_var=LD_LIBRARY_PATH
9835  shlibpath_overrides_runpath=yes
9836  hardcode_into_libs=yes
9837  # ldd complains unless libraries are executable
9838  postinstall_cmds='chmod +x $lib'
9839  ;;
9840
9841sunos4*)
9842  version_type=sunos
9843  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9844  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9845  shlibpath_var=LD_LIBRARY_PATH
9846  shlibpath_overrides_runpath=yes
9847  if test "$with_gnu_ld" = yes; then
9848    need_lib_prefix=no
9849  fi
9850  need_version=yes
9851  ;;
9852
9853sysv4 | sysv4.3*)
9854  version_type=linux
9855  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9856  soname_spec='${libname}${release}${shared_ext}$major'
9857  shlibpath_var=LD_LIBRARY_PATH
9858  case $host_vendor in
9859    sni)
9860      shlibpath_overrides_runpath=no
9861      need_lib_prefix=no
9862      runpath_var=LD_RUN_PATH
9863      ;;
9864    siemens)
9865      need_lib_prefix=no
9866      ;;
9867    motorola)
9868      need_lib_prefix=no
9869      need_version=no
9870      shlibpath_overrides_runpath=no
9871      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9872      ;;
9873  esac
9874  ;;
9875
9876sysv4*MP*)
9877  if test -d /usr/nec ;then
9878    version_type=linux
9879    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9880    soname_spec='$libname${shared_ext}.$major'
9881    shlibpath_var=LD_LIBRARY_PATH
9882  fi
9883  ;;
9884
9885sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9886  version_type=freebsd-elf
9887  need_lib_prefix=no
9888  need_version=no
9889  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9890  soname_spec='${libname}${release}${shared_ext}$major'
9891  shlibpath_var=LD_LIBRARY_PATH
9892  shlibpath_overrides_runpath=yes
9893  hardcode_into_libs=yes
9894  if test "$with_gnu_ld" = yes; then
9895    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9896  else
9897    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9898    case $host_os in
9899      sco3.2v5*)
9900        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9901	;;
9902    esac
9903  fi
9904  sys_lib_dlsearch_path_spec='/usr/lib'
9905  ;;
9906
9907tpf*)
9908  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
9909  version_type=linux
9910  need_lib_prefix=no
9911  need_version=no
9912  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9913  shlibpath_var=LD_LIBRARY_PATH
9914  shlibpath_overrides_runpath=no
9915  hardcode_into_libs=yes
9916  ;;
9917
9918uts4*)
9919  version_type=linux
9920  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9921  soname_spec='${libname}${release}${shared_ext}$major'
9922  shlibpath_var=LD_LIBRARY_PATH
9923  ;;
9924
9925*)
9926  dynamic_linker=no
9927  ;;
9928esac
9929{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
9930$as_echo "$dynamic_linker" >&6; }
9931test "$dynamic_linker" = no && can_build_shared=no
9932
9933variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9934if test "$GCC" = yes; then
9935  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9936fi
9937
9938if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9939  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
9940fi
9941if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9942  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
9943fi
9944
9945
9946
9947
9948
9949
9950
9951
9952
9953
9954
9955
9956
9957
9958
9959
9960
9961
9962
9963
9964
9965
9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
9977
9978
9979
9980
9981
9982
9983
9984
9985
9986
9987
9988
9989
9990
9991
9992
9993
9994
9995
9996
9997
9998
9999
10000
10001
10002
10003
10004
10005
10006
10007
10008
10009
10010
10011
10012
10013
10014
10015
10016
10017
10018
10019
10020
10021
10022
10023
10024
10025
10026
10027
10028
10029
10030
10031  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10032$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10033hardcode_action=
10034if test -n "$hardcode_libdir_flag_spec" ||
10035   test -n "$runpath_var" ||
10036   test "X$hardcode_automatic" = "Xyes" ; then
10037
10038  # We can hardcode non-existent directories.
10039  if test "$hardcode_direct" != no &&
10040     # If the only mechanism to avoid hardcoding is shlibpath_var, we
10041     # have to relink, otherwise we might link with an installed library
10042     # when we should be linking with a yet-to-be-installed one
10043     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10044     test "$hardcode_minus_L" != no; then
10045    # Linking always hardcodes the temporary library directory.
10046    hardcode_action=relink
10047  else
10048    # We can link without hardcoding, and we can hardcode nonexisting dirs.
10049    hardcode_action=immediate
10050  fi
10051else
10052  # We cannot hardcode anything, or else we can only hardcode existing
10053  # directories.
10054  hardcode_action=unsupported
10055fi
10056{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10057$as_echo "$hardcode_action" >&6; }
10058
10059if test "$hardcode_action" = relink ||
10060   test "$inherit_rpath" = yes; then
10061  # Fast installation is not supported
10062  enable_fast_install=no
10063elif test "$shlibpath_overrides_runpath" = yes ||
10064     test "$enable_shared" = no; then
10065  # Fast installation is not necessary
10066  enable_fast_install=needless
10067fi
10068
10069
10070
10071
10072
10073
10074  if test "x$enable_dlopen" != xyes; then
10075  enable_dlopen=unknown
10076  enable_dlopen_self=unknown
10077  enable_dlopen_self_static=unknown
10078else
10079  lt_cv_dlopen=no
10080  lt_cv_dlopen_libs=
10081
10082  case $host_os in
10083  beos*)
10084    lt_cv_dlopen="load_add_on"
10085    lt_cv_dlopen_libs=
10086    lt_cv_dlopen_self=yes
10087    ;;
10088
10089  mingw* | pw32* | cegcc*)
10090    lt_cv_dlopen="LoadLibrary"
10091    lt_cv_dlopen_libs=
10092    ;;
10093
10094  cygwin*)
10095    lt_cv_dlopen="dlopen"
10096    lt_cv_dlopen_libs=
10097    ;;
10098
10099  darwin*)
10100  # if libdl is installed we need to link against it
10101    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10102$as_echo_n "checking for dlopen in -ldl... " >&6; }
10103if ${ac_cv_lib_dl_dlopen+:} false; then :
10104  $as_echo_n "(cached) " >&6
10105else
10106  ac_check_lib_save_LIBS=$LIBS
10107LIBS="-ldl  $LIBS"
10108cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10109/* end confdefs.h.  */
10110
10111/* Override any GCC internal prototype to avoid an error.
10112   Use char because int might match the return type of a GCC
10113   builtin and then its argument prototype would still apply.  */
10114#ifdef __cplusplus
10115extern "C"
10116#endif
10117char dlopen ();
10118int
10119main ()
10120{
10121return dlopen ();
10122  ;
10123  return 0;
10124}
10125_ACEOF
10126if ac_fn_c_try_link "$LINENO"; then :
10127  ac_cv_lib_dl_dlopen=yes
10128else
10129  ac_cv_lib_dl_dlopen=no
10130fi
10131rm -f core conftest.err conftest.$ac_objext \
10132    conftest$ac_exeext conftest.$ac_ext
10133LIBS=$ac_check_lib_save_LIBS
10134fi
10135{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10136$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10137if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10138  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10139else
10140
10141    lt_cv_dlopen="dyld"
10142    lt_cv_dlopen_libs=
10143    lt_cv_dlopen_self=yes
10144
10145fi
10146
10147    ;;
10148
10149  *)
10150    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10151if test "x$ac_cv_func_shl_load" = xyes; then :
10152  lt_cv_dlopen="shl_load"
10153else
10154  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10155$as_echo_n "checking for shl_load in -ldld... " >&6; }
10156if ${ac_cv_lib_dld_shl_load+:} false; then :
10157  $as_echo_n "(cached) " >&6
10158else
10159  ac_check_lib_save_LIBS=$LIBS
10160LIBS="-ldld  $LIBS"
10161cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10162/* end confdefs.h.  */
10163
10164/* Override any GCC internal prototype to avoid an error.
10165   Use char because int might match the return type of a GCC
10166   builtin and then its argument prototype would still apply.  */
10167#ifdef __cplusplus
10168extern "C"
10169#endif
10170char shl_load ();
10171int
10172main ()
10173{
10174return shl_load ();
10175  ;
10176  return 0;
10177}
10178_ACEOF
10179if ac_fn_c_try_link "$LINENO"; then :
10180  ac_cv_lib_dld_shl_load=yes
10181else
10182  ac_cv_lib_dld_shl_load=no
10183fi
10184rm -f core conftest.err conftest.$ac_objext \
10185    conftest$ac_exeext conftest.$ac_ext
10186LIBS=$ac_check_lib_save_LIBS
10187fi
10188{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10189$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10190if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
10191  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10192else
10193  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10194if test "x$ac_cv_func_dlopen" = xyes; then :
10195  lt_cv_dlopen="dlopen"
10196else
10197  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10198$as_echo_n "checking for dlopen in -ldl... " >&6; }
10199if ${ac_cv_lib_dl_dlopen+:} false; then :
10200  $as_echo_n "(cached) " >&6
10201else
10202  ac_check_lib_save_LIBS=$LIBS
10203LIBS="-ldl  $LIBS"
10204cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10205/* end confdefs.h.  */
10206
10207/* Override any GCC internal prototype to avoid an error.
10208   Use char because int might match the return type of a GCC
10209   builtin and then its argument prototype would still apply.  */
10210#ifdef __cplusplus
10211extern "C"
10212#endif
10213char dlopen ();
10214int
10215main ()
10216{
10217return dlopen ();
10218  ;
10219  return 0;
10220}
10221_ACEOF
10222if ac_fn_c_try_link "$LINENO"; then :
10223  ac_cv_lib_dl_dlopen=yes
10224else
10225  ac_cv_lib_dl_dlopen=no
10226fi
10227rm -f core conftest.err conftest.$ac_objext \
10228    conftest$ac_exeext conftest.$ac_ext
10229LIBS=$ac_check_lib_save_LIBS
10230fi
10231{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10232$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10233if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10234  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10235else
10236  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10237$as_echo_n "checking for dlopen in -lsvld... " >&6; }
10238if ${ac_cv_lib_svld_dlopen+:} false; then :
10239  $as_echo_n "(cached) " >&6
10240else
10241  ac_check_lib_save_LIBS=$LIBS
10242LIBS="-lsvld  $LIBS"
10243cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10244/* end confdefs.h.  */
10245
10246/* Override any GCC internal prototype to avoid an error.
10247   Use char because int might match the return type of a GCC
10248   builtin and then its argument prototype would still apply.  */
10249#ifdef __cplusplus
10250extern "C"
10251#endif
10252char dlopen ();
10253int
10254main ()
10255{
10256return dlopen ();
10257  ;
10258  return 0;
10259}
10260_ACEOF
10261if ac_fn_c_try_link "$LINENO"; then :
10262  ac_cv_lib_svld_dlopen=yes
10263else
10264  ac_cv_lib_svld_dlopen=no
10265fi
10266rm -f core conftest.err conftest.$ac_objext \
10267    conftest$ac_exeext conftest.$ac_ext
10268LIBS=$ac_check_lib_save_LIBS
10269fi
10270{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10271$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10272if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
10273  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10274else
10275  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10276$as_echo_n "checking for dld_link in -ldld... " >&6; }
10277if ${ac_cv_lib_dld_dld_link+:} false; then :
10278  $as_echo_n "(cached) " >&6
10279else
10280  ac_check_lib_save_LIBS=$LIBS
10281LIBS="-ldld  $LIBS"
10282cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10283/* end confdefs.h.  */
10284
10285/* Override any GCC internal prototype to avoid an error.
10286   Use char because int might match the return type of a GCC
10287   builtin and then its argument prototype would still apply.  */
10288#ifdef __cplusplus
10289extern "C"
10290#endif
10291char dld_link ();
10292int
10293main ()
10294{
10295return dld_link ();
10296  ;
10297  return 0;
10298}
10299_ACEOF
10300if ac_fn_c_try_link "$LINENO"; then :
10301  ac_cv_lib_dld_dld_link=yes
10302else
10303  ac_cv_lib_dld_dld_link=no
10304fi
10305rm -f core conftest.err conftest.$ac_objext \
10306    conftest$ac_exeext conftest.$ac_ext
10307LIBS=$ac_check_lib_save_LIBS
10308fi
10309{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10310$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10311if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
10312  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10313fi
10314
10315
10316fi
10317
10318
10319fi
10320
10321
10322fi
10323
10324
10325fi
10326
10327
10328fi
10329
10330    ;;
10331  esac
10332
10333  if test "x$lt_cv_dlopen" != xno; then
10334    enable_dlopen=yes
10335  else
10336    enable_dlopen=no
10337  fi
10338
10339  case $lt_cv_dlopen in
10340  dlopen)
10341    save_CPPFLAGS="$CPPFLAGS"
10342    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10343
10344    save_LDFLAGS="$LDFLAGS"
10345    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10346
10347    save_LIBS="$LIBS"
10348    LIBS="$lt_cv_dlopen_libs $LIBS"
10349
10350    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10351$as_echo_n "checking whether a program can dlopen itself... " >&6; }
10352if ${lt_cv_dlopen_self+:} false; then :
10353  $as_echo_n "(cached) " >&6
10354else
10355  	  if test "$cross_compiling" = yes; then :
10356  lt_cv_dlopen_self=cross
10357else
10358  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10359  lt_status=$lt_dlunknown
10360  cat > conftest.$ac_ext <<_LT_EOF
10361#line __oline__ "configure"
10362#include "confdefs.h"
10363
10364#if HAVE_DLFCN_H
10365#include <dlfcn.h>
10366#endif
10367
10368#include <stdio.h>
10369
10370#ifdef RTLD_GLOBAL
10371#  define LT_DLGLOBAL		RTLD_GLOBAL
10372#else
10373#  ifdef DL_GLOBAL
10374#    define LT_DLGLOBAL		DL_GLOBAL
10375#  else
10376#    define LT_DLGLOBAL		0
10377#  endif
10378#endif
10379
10380/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10381   find out it does not work in some platform. */
10382#ifndef LT_DLLAZY_OR_NOW
10383#  ifdef RTLD_LAZY
10384#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
10385#  else
10386#    ifdef DL_LAZY
10387#      define LT_DLLAZY_OR_NOW		DL_LAZY
10388#    else
10389#      ifdef RTLD_NOW
10390#        define LT_DLLAZY_OR_NOW	RTLD_NOW
10391#      else
10392#        ifdef DL_NOW
10393#          define LT_DLLAZY_OR_NOW	DL_NOW
10394#        else
10395#          define LT_DLLAZY_OR_NOW	0
10396#        endif
10397#      endif
10398#    endif
10399#  endif
10400#endif
10401
10402void fnord() { int i=42;}
10403int main ()
10404{
10405  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10406  int status = $lt_dlunknown;
10407
10408  if (self)
10409    {
10410      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10411      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10412      /* dlclose (self); */
10413    }
10414  else
10415    puts (dlerror ());
10416
10417  return status;
10418}
10419_LT_EOF
10420  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10421  (eval $ac_link) 2>&5
10422  ac_status=$?
10423  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10424  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10425    (./conftest; exit; ) >&5 2>/dev/null
10426    lt_status=$?
10427    case x$lt_status in
10428      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10429      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10430      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10431    esac
10432  else :
10433    # compilation failed
10434    lt_cv_dlopen_self=no
10435  fi
10436fi
10437rm -fr conftest*
10438
10439
10440fi
10441{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10442$as_echo "$lt_cv_dlopen_self" >&6; }
10443
10444    if test "x$lt_cv_dlopen_self" = xyes; then
10445      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10446      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10447$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10448if ${lt_cv_dlopen_self_static+:} false; then :
10449  $as_echo_n "(cached) " >&6
10450else
10451  	  if test "$cross_compiling" = yes; then :
10452  lt_cv_dlopen_self_static=cross
10453else
10454  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10455  lt_status=$lt_dlunknown
10456  cat > conftest.$ac_ext <<_LT_EOF
10457#line __oline__ "configure"
10458#include "confdefs.h"
10459
10460#if HAVE_DLFCN_H
10461#include <dlfcn.h>
10462#endif
10463
10464#include <stdio.h>
10465
10466#ifdef RTLD_GLOBAL
10467#  define LT_DLGLOBAL		RTLD_GLOBAL
10468#else
10469#  ifdef DL_GLOBAL
10470#    define LT_DLGLOBAL		DL_GLOBAL
10471#  else
10472#    define LT_DLGLOBAL		0
10473#  endif
10474#endif
10475
10476/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10477   find out it does not work in some platform. */
10478#ifndef LT_DLLAZY_OR_NOW
10479#  ifdef RTLD_LAZY
10480#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
10481#  else
10482#    ifdef DL_LAZY
10483#      define LT_DLLAZY_OR_NOW		DL_LAZY
10484#    else
10485#      ifdef RTLD_NOW
10486#        define LT_DLLAZY_OR_NOW	RTLD_NOW
10487#      else
10488#        ifdef DL_NOW
10489#          define LT_DLLAZY_OR_NOW	DL_NOW
10490#        else
10491#          define LT_DLLAZY_OR_NOW	0
10492#        endif
10493#      endif
10494#    endif
10495#  endif
10496#endif
10497
10498void fnord() { int i=42;}
10499int main ()
10500{
10501  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10502  int status = $lt_dlunknown;
10503
10504  if (self)
10505    {
10506      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10507      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10508      /* dlclose (self); */
10509    }
10510  else
10511    puts (dlerror ());
10512
10513  return status;
10514}
10515_LT_EOF
10516  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10517  (eval $ac_link) 2>&5
10518  ac_status=$?
10519  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10520  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10521    (./conftest; exit; ) >&5 2>/dev/null
10522    lt_status=$?
10523    case x$lt_status in
10524      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10525      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10526      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10527    esac
10528  else :
10529    # compilation failed
10530    lt_cv_dlopen_self_static=no
10531  fi
10532fi
10533rm -fr conftest*
10534
10535
10536fi
10537{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10538$as_echo "$lt_cv_dlopen_self_static" >&6; }
10539    fi
10540
10541    CPPFLAGS="$save_CPPFLAGS"
10542    LDFLAGS="$save_LDFLAGS"
10543    LIBS="$save_LIBS"
10544    ;;
10545  esac
10546
10547  case $lt_cv_dlopen_self in
10548  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10549  *) enable_dlopen_self=unknown ;;
10550  esac
10551
10552  case $lt_cv_dlopen_self_static in
10553  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10554  *) enable_dlopen_self_static=unknown ;;
10555  esac
10556fi
10557
10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574striplib=
10575old_striplib=
10576{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10577$as_echo_n "checking whether stripping libraries is possible... " >&6; }
10578if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10579  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10580  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10581  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10582$as_echo "yes" >&6; }
10583else
10584# FIXME - insert some real tests, host_os isn't really good enough
10585  case $host_os in
10586  darwin*)
10587    if test -n "$STRIP" ; then
10588      striplib="$STRIP -x"
10589      old_striplib="$STRIP -S"
10590      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10591$as_echo "yes" >&6; }
10592    else
10593      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10594$as_echo "no" >&6; }
10595    fi
10596    ;;
10597  *)
10598    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10599$as_echo "no" >&6; }
10600    ;;
10601  esac
10602fi
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
10613
10614
10615  # Report which library types will actually be built
10616  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
10617$as_echo_n "checking if libtool supports shared libraries... " >&6; }
10618  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
10619$as_echo "$can_build_shared" >&6; }
10620
10621  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
10622$as_echo_n "checking whether to build shared libraries... " >&6; }
10623  test "$can_build_shared" = "no" && enable_shared=no
10624
10625  # On AIX, shared libraries and static libraries use the same namespace, and
10626  # are all built from PIC.
10627  case $host_os in
10628  aix3*)
10629    test "$enable_shared" = yes && enable_static=no
10630    if test -n "$RANLIB"; then
10631      archive_cmds="$archive_cmds~\$RANLIB \$lib"
10632      postinstall_cmds='$RANLIB $lib'
10633    fi
10634    ;;
10635
10636  aix[4-9]*)
10637    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10638      test "$enable_shared" = yes && enable_static=no
10639    fi
10640    ;;
10641  esac
10642  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
10643$as_echo "$enable_shared" >&6; }
10644
10645  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
10646$as_echo_n "checking whether to build static libraries... " >&6; }
10647  # Make sure either enable_shared or enable_static is yes.
10648  test "$enable_shared" = yes || enable_static=yes
10649  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
10650$as_echo "$enable_static" >&6; }
10651
10652
10653
10654
10655fi
10656ac_ext=c
10657ac_cpp='$CPP $CPPFLAGS'
10658ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10659ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10660ac_compiler_gnu=$ac_cv_c_compiler_gnu
10661
10662CC="$lt_save_CC"
10663
10664
10665
10666
10667
10668
10669
10670
10671
10672
10673
10674
10675
10676        ac_config_commands="$ac_config_commands libtool"
10677
10678
10679
10680
10681# Only expand once:
10682
10683
10684
10685
10686
10687
10688 if test "$enable_shared" = "yes"; then
10689  ENABLE_SHARED_TRUE=
10690  ENABLE_SHARED_FALSE='#'
10691else
10692  ENABLE_SHARED_TRUE='#'
10693  ENABLE_SHARED_FALSE=
10694fi
10695
10696
10697
10698@%:@ Check whether --with-gss-dir was given.
10699if test "${with_gss_dir+set}" = set; then :
10700  withval=$with_gss_dir; gssdir=$withval
10701else
10702  gssdir=/usr
10703fi
10704
10705
10706if test -d ${gssdir}; then
10707	CPPFLAGS="$CPPFLAGS -I$gssdir/include"
10708	LDFLAGS="$LDFLAGS -L$gssdir/lib"
10709fi
10710
10711for ac_header in gssapi/gssapi_krb5.h gssapi/gssapi.h gssapi.h
10712do :
10713  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10714ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10715if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10716  cat >>confdefs.h <<_ACEOF
10717@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10718_ACEOF
10719 break
10720fi
10721
10722done
10723
10724
10725{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gss_init_sec_context" >&5
10726$as_echo_n "checking for library containing gss_init_sec_context... " >&6; }
10727if ${ac_cv_search_gss_init_sec_context+:} false; then :
10728  $as_echo_n "(cached) " >&6
10729else
10730  ac_func_search_save_LIBS=$LIBS
10731cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10732/* end confdefs.h.  */
10733
10734/* Override any GCC internal prototype to avoid an error.
10735   Use char because int might match the return type of a GCC
10736   builtin and then its argument prototype would still apply.  */
10737#ifdef __cplusplus
10738extern "C"
10739#endif
10740char gss_init_sec_context ();
10741int
10742main ()
10743{
10744return gss_init_sec_context ();
10745  ;
10746  return 0;
10747}
10748_ACEOF
10749for ac_lib in '' gssapi gssapi_krb5; do
10750  if test -z "$ac_lib"; then
10751    ac_res="none required"
10752  else
10753    ac_res=-l$ac_lib
10754    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
10755  fi
10756  if ac_fn_c_try_link "$LINENO"; then :
10757  ac_cv_search_gss_init_sec_context=$ac_res
10758fi
10759rm -f core conftest.err conftest.$ac_objext \
10760    conftest$ac_exeext
10761  if ${ac_cv_search_gss_init_sec_context+:} false; then :
10762  break
10763fi
10764done
10765if ${ac_cv_search_gss_init_sec_context+:} false; then :
10766
10767else
10768  ac_cv_search_gss_init_sec_context=no
10769fi
10770rm conftest.$ac_ext
10771LIBS=$ac_func_search_save_LIBS
10772fi
10773{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gss_init_sec_context" >&5
10774$as_echo "$ac_cv_search_gss_init_sec_context" >&6; }
10775ac_res=$ac_cv_search_gss_init_sec_context
10776if test "$ac_res" != no; then :
10777  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
10778
10779fi
10780
10781
10782#
10783# We only enable warnings if --enable-developer is specified.
10784
10785@%:@ Check whether --enable-developer was given.
10786if test "${enable_developer+set}" = set; then :
10787  enableval=$enable_developer;
10788fi
10789
10790 if test "X$enable_developer" = Xyes; then
10791  DEVELOPER_MODE_TRUE=
10792  DEVELOPER_MODE_FALSE='#'
10793else
10794  DEVELOPER_MODE_TRUE='#'
10795  DEVELOPER_MODE_FALSE=
10796fi
10797
10798
10799if test "X$enable_developer" = Xyes; then
10800	WFLAGS="-Werror"
10801	WFLAGS="$WFLAGS -Wall"
10802	WFLAGS="$WFLAGS -Wextra"
10803	WFLAGS="$WFLAGS -Wstrict-prototypes"
10804	WFLAGS="$WFLAGS -Wmissing-prototypes"
10805	WFLAGS="$WFLAGS -Wpointer-arith"
10806	WFLAGS="$WFLAGS -Wno-traditional"
10807	WFLAGS="$WFLAGS -Wreturn-type"
10808	WFLAGS="$WFLAGS -Wswitch"
10809	WFLAGS="$WFLAGS -Wno-shadow"
10810	WFLAGS="$WFLAGS -Wcast-qual"
10811	WFLAGS="$WFLAGS -Wwrite-strings"
10812	WFLAGS="$WFLAGS -Wno-unused-parameter"
10813	WFLAGS="$WFLAGS -Wsign-compare"
10814fi
10815
10816
10817# Checks for typedefs, structures, and compiler characteristics.
10818ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
10819if test "x$ac_cv_type_pid_t" = xyes; then :
10820
10821else
10822
10823cat >>confdefs.h <<_ACEOF
10824@%:@define pid_t int
10825_ACEOF
10826
10827fi
10828
10829ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
10830if test "x$ac_cv_type_size_t" = xyes; then :
10831
10832else
10833
10834cat >>confdefs.h <<_ACEOF
10835@%:@define size_t unsigned int
10836_ACEOF
10837
10838fi
10839
10840ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
10841if test "x$ac_cv_type_ssize_t" = xyes; then :
10842
10843else
10844
10845cat >>confdefs.h <<_ACEOF
10846@%:@define ssize_t int
10847_ACEOF
10848
10849fi
10850
10851ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t"
10852case $ac_cv_c_uint16_t in #(
10853  no|yes) ;; #(
10854  *)
10855
10856
10857cat >>confdefs.h <<_ACEOF
10858@%:@define uint16_t $ac_cv_c_uint16_t
10859_ACEOF
10860;;
10861  esac
10862
10863ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
10864case $ac_cv_c_uint32_t in #(
10865  no|yes) ;; #(
10866  *)
10867
10868$as_echo "@%:@define _UINT32_T 1" >>confdefs.h
10869
10870
10871cat >>confdefs.h <<_ACEOF
10872@%:@define uint32_t $ac_cv_c_uint32_t
10873_ACEOF
10874;;
10875  esac
10876
10877
10878# Checks for library functions.
10879for ac_header in vfork.h
10880do :
10881  ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
10882if test "x$ac_cv_header_vfork_h" = xyes; then :
10883  cat >>confdefs.h <<_ACEOF
10884@%:@define HAVE_VFORK_H 1
10885_ACEOF
10886
10887fi
10888
10889done
10890
10891for ac_func in fork vfork
10892do :
10893  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10894ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
10895if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
10896  cat >>confdefs.h <<_ACEOF
10897@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
10898_ACEOF
10899
10900fi
10901done
10902
10903if test "x$ac_cv_func_fork" = xyes; then
10904  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
10905$as_echo_n "checking for working fork... " >&6; }
10906if ${ac_cv_func_fork_works+:} false; then :
10907  $as_echo_n "(cached) " >&6
10908else
10909  if test "$cross_compiling" = yes; then :
10910  ac_cv_func_fork_works=cross
10911else
10912  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10913/* end confdefs.h.  */
10914$ac_includes_default
10915int
10916main ()
10917{
10918
10919	  /* By Ruediger Kuhlmann. */
10920	  return fork () < 0;
10921
10922  ;
10923  return 0;
10924}
10925_ACEOF
10926if ac_fn_c_try_run "$LINENO"; then :
10927  ac_cv_func_fork_works=yes
10928else
10929  ac_cv_func_fork_works=no
10930fi
10931rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
10932  conftest.$ac_objext conftest.beam conftest.$ac_ext
10933fi
10934
10935fi
10936{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
10937$as_echo "$ac_cv_func_fork_works" >&6; }
10938
10939else
10940  ac_cv_func_fork_works=$ac_cv_func_fork
10941fi
10942if test "x$ac_cv_func_fork_works" = xcross; then
10943  case $host in
10944    *-*-amigaos* | *-*-msdosdjgpp*)
10945      # Override, as these systems have only a dummy fork() stub
10946      ac_cv_func_fork_works=no
10947      ;;
10948    *)
10949      ac_cv_func_fork_works=yes
10950      ;;
10951  esac
10952  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
10953$as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
10954fi
10955ac_cv_func_vfork_works=$ac_cv_func_vfork
10956if test "x$ac_cv_func_vfork" = xyes; then
10957  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
10958$as_echo_n "checking for working vfork... " >&6; }
10959if ${ac_cv_func_vfork_works+:} false; then :
10960  $as_echo_n "(cached) " >&6
10961else
10962  if test "$cross_compiling" = yes; then :
10963  ac_cv_func_vfork_works=cross
10964else
10965  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10966/* end confdefs.h.  */
10967/* Thanks to Paul Eggert for this test.  */
10968$ac_includes_default
10969#include <sys/wait.h>
10970#ifdef HAVE_VFORK_H
10971# include <vfork.h>
10972#endif
10973/* On some sparc systems, changes by the child to local and incoming
10974   argument registers are propagated back to the parent.  The compiler
10975   is told about this with #include <vfork.h>, but some compilers
10976   (e.g. gcc -O) don't grok <vfork.h>.  Test for this by using a
10977   static variable whose address is put into a register that is
10978   clobbered by the vfork.  */
10979static void
10980#ifdef __cplusplus
10981sparc_address_test (int arg)
10982# else
10983sparc_address_test (arg) int arg;
10984#endif
10985{
10986  static pid_t child;
10987  if (!child) {
10988    child = vfork ();
10989    if (child < 0) {
10990      perror ("vfork");
10991      _exit(2);
10992    }
10993    if (!child) {
10994      arg = getpid();
10995      write(-1, "", 0);
10996      _exit (arg);
10997    }
10998  }
10999}
11000
11001int
11002main ()
11003{
11004  pid_t parent = getpid ();
11005  pid_t child;
11006
11007  sparc_address_test (0);
11008
11009  child = vfork ();
11010
11011  if (child == 0) {
11012    /* Here is another test for sparc vfork register problems.  This
11013       test uses lots of local variables, at least as many local
11014       variables as main has allocated so far including compiler
11015       temporaries.  4 locals are enough for gcc 1.40.3 on a Solaris
11016       4.1.3 sparc, but we use 8 to be safe.  A buggy compiler should
11017       reuse the register of parent for one of the local variables,
11018       since it will think that parent can't possibly be used any more
11019       in this routine.  Assigning to the local variable will thus
11020       munge parent in the parent process.  */
11021    pid_t
11022      p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
11023      p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
11024    /* Convince the compiler that p..p7 are live; otherwise, it might
11025       use the same hardware register for all 8 local variables.  */
11026    if (p != p1 || p != p2 || p != p3 || p != p4
11027	|| p != p5 || p != p6 || p != p7)
11028      _exit(1);
11029
11030    /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
11031       from child file descriptors.  If the child closes a descriptor
11032       before it execs or exits, this munges the parent's descriptor
11033       as well.  Test for this by closing stdout in the child.  */
11034    _exit(close(fileno(stdout)) != 0);
11035  } else {
11036    int status;
11037    struct stat st;
11038
11039    while (wait(&status) != child)
11040      ;
11041    return (
11042	 /* Was there some problem with vforking?  */
11043	 child < 0
11044
11045	 /* Did the child fail?  (This shouldn't happen.)  */
11046	 || status
11047
11048	 /* Did the vfork/compiler bug occur?  */
11049	 || parent != getpid()
11050
11051	 /* Did the file descriptor bug occur?  */
11052	 || fstat(fileno(stdout), &st) != 0
11053	 );
11054  }
11055}
11056_ACEOF
11057if ac_fn_c_try_run "$LINENO"; then :
11058  ac_cv_func_vfork_works=yes
11059else
11060  ac_cv_func_vfork_works=no
11061fi
11062rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
11063  conftest.$ac_objext conftest.beam conftest.$ac_ext
11064fi
11065
11066fi
11067{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
11068$as_echo "$ac_cv_func_vfork_works" >&6; }
11069
11070fi;
11071if test "x$ac_cv_func_fork_works" = xcross; then
11072  ac_cv_func_vfork_works=$ac_cv_func_vfork
11073  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
11074$as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
11075fi
11076
11077if test "x$ac_cv_func_vfork_works" = xyes; then
11078
11079$as_echo "@%:@define HAVE_WORKING_VFORK 1" >>confdefs.h
11080
11081else
11082
11083$as_echo "@%:@define vfork fork" >>confdefs.h
11084
11085fi
11086if test "x$ac_cv_func_fork_works" = xyes; then
11087
11088$as_echo "@%:@define HAVE_WORKING_FORK 1" >>confdefs.h
11089
11090fi
11091
11092
11093ac_config_files="$ac_config_files Makefile bin/Makefile lib/Makefile test/Makefile"
11094
11095cat >confcache <<\_ACEOF
11096# This file is a shell script that caches the results of configure
11097# tests run on this system so they can be shared between configure
11098# scripts and configure runs, see configure's option --config-cache.
11099# It is not useful on other systems.  If it contains results you don't
11100# want to keep, you may remove or edit it.
11101#
11102# config.status only pays attention to the cache file if you give it
11103# the --recheck option to rerun configure.
11104#
11105# `ac_cv_env_foo' variables (set or unset) will be overridden when
11106# loading this file, other *unset* `ac_cv_foo' will be assigned the
11107# following values.
11108
11109_ACEOF
11110
11111# The following way of writing the cache mishandles newlines in values,
11112# but we know of no workaround that is simple, portable, and efficient.
11113# So, we kill variables containing newlines.
11114# Ultrix sh set writes to stderr and can't be redirected directly,
11115# and sets the high bit in the cache file unless we assign to the vars.
11116(
11117  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
11118    eval ac_val=\$$ac_var
11119    case $ac_val in #(
11120    *${as_nl}*)
11121      case $ac_var in #(
11122      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
11123$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
11124      esac
11125      case $ac_var in #(
11126      _ | IFS | as_nl) ;; #(
11127      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
11128      *) { eval $ac_var=; unset $ac_var;} ;;
11129      esac ;;
11130    esac
11131  done
11132
11133  (set) 2>&1 |
11134    case $as_nl`(ac_space=' '; set) 2>&1` in #(
11135    *${as_nl}ac_space=\ *)
11136      # `set' does not quote correctly, so add quotes: double-quote
11137      # substitution turns \\\\ into \\, and sed turns \\ into \.
11138      sed -n \
11139	"s/'/'\\\\''/g;
11140	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11141      ;; #(
11142    *)
11143      # `set' quotes correctly as required by POSIX, so do not add quotes.
11144      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11145      ;;
11146    esac |
11147    sort
11148) |
11149  sed '
11150     /^ac_cv_env_/b end
11151     t clear
11152     :clear
11153     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11154     t end
11155     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11156     :end' >>confcache
11157if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
11158  if test -w "$cache_file"; then
11159    if test "x$cache_file" != "x/dev/null"; then
11160      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
11161$as_echo "$as_me: updating cache $cache_file" >&6;}
11162      if test ! -f "$cache_file" || test -h "$cache_file"; then
11163	cat confcache >"$cache_file"
11164      else
11165        case $cache_file in #(
11166        */* | ?:*)
11167	  mv -f confcache "$cache_file"$$ &&
11168	  mv -f "$cache_file"$$ "$cache_file" ;; #(
11169        *)
11170	  mv -f confcache "$cache_file" ;;
11171	esac
11172      fi
11173    fi
11174  else
11175    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
11176$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11177  fi
11178fi
11179rm -f confcache
11180
11181test "x$prefix" = xNONE && prefix=$ac_default_prefix
11182# Let make expand exec_prefix.
11183test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
11184
11185DEFS=-DHAVE_CONFIG_H
11186
11187ac_libobjs=
11188ac_ltlibobjs=
11189U=
11190for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
11191  # 1. Remove the extension, and $U if already installed.
11192  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
11193  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
11194  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
11195  #    will be set to the directory where LIBOBJS objects are built.
11196  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
11197  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
11198done
11199LIB@&t@OBJS=$ac_libobjs
11200
11201LTLIBOBJS=$ac_ltlibobjs
11202
11203
11204 if test -n "$EXEEXT"; then
11205  am__EXEEXT_TRUE=
11206  am__EXEEXT_FALSE='#'
11207else
11208  am__EXEEXT_TRUE='#'
11209  am__EXEEXT_FALSE=
11210fi
11211
11212if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
11213  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
11214Usually this means the macro was only invoked conditionally." "$LINENO" 5
11215fi
11216if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
11217  as_fn_error $? "conditional \"AMDEP\" was never defined.
11218Usually this means the macro was only invoked conditionally." "$LINENO" 5
11219fi
11220if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11221  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
11222Usually this means the macro was only invoked conditionally." "$LINENO" 5
11223fi
11224if test -z "${ENABLE_SHARED_TRUE}" && test -z "${ENABLE_SHARED_FALSE}"; then
11225  as_fn_error $? "conditional \"ENABLE_SHARED\" was never defined.
11226Usually this means the macro was only invoked conditionally." "$LINENO" 5
11227fi
11228if test -z "${DEVELOPER_MODE_TRUE}" && test -z "${DEVELOPER_MODE_FALSE}"; then
11229  as_fn_error $? "conditional \"DEVELOPER_MODE\" was never defined.
11230Usually this means the macro was only invoked conditionally." "$LINENO" 5
11231fi
11232
11233: "${CONFIG_STATUS=./config.status}"
11234ac_write_fail=0
11235ac_clean_files_save=$ac_clean_files
11236ac_clean_files="$ac_clean_files $CONFIG_STATUS"
11237{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
11238$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
11239as_write_fail=0
11240cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
11241#! $SHELL
11242# Generated by $as_me.
11243# Run this file to recreate the current configuration.
11244# Compiler output produced by configure, useful for debugging
11245# configure, is in config.log if it exists.
11246
11247debug=false
11248ac_cs_recheck=false
11249ac_cs_silent=false
11250
11251SHELL=\${CONFIG_SHELL-$SHELL}
11252export SHELL
11253_ASEOF
11254cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
11255## -------------------- ##
11256## M4sh Initialization. ##
11257## -------------------- ##
11258
11259# Be more Bourne compatible
11260DUALCASE=1; export DUALCASE # for MKS sh
11261if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
11262  emulate sh
11263  NULLCMD=:
11264  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
11265  # is contrary to our usage.  Disable this feature.
11266  alias -g '${1+"$@"}'='"$@"'
11267  setopt NO_GLOB_SUBST
11268else
11269  case `(set -o) 2>/dev/null` in @%:@(
11270  *posix*) :
11271    set -o posix ;; @%:@(
11272  *) :
11273     ;;
11274esac
11275fi
11276
11277
11278as_nl='
11279'
11280export as_nl
11281# Printing a long string crashes Solaris 7 /usr/bin/printf.
11282as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
11283as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
11284as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
11285# Prefer a ksh shell builtin over an external printf program on Solaris,
11286# but without wasting forks for bash or zsh.
11287if test -z "$BASH_VERSION$ZSH_VERSION" \
11288    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
11289  as_echo='print -r --'
11290  as_echo_n='print -rn --'
11291elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
11292  as_echo='printf %s\n'
11293  as_echo_n='printf %s'
11294else
11295  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
11296    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
11297    as_echo_n='/usr/ucb/echo -n'
11298  else
11299    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
11300    as_echo_n_body='eval
11301      arg=$1;
11302      case $arg in @%:@(
11303      *"$as_nl"*)
11304	expr "X$arg" : "X\\(.*\\)$as_nl";
11305	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
11306      esac;
11307      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
11308    '
11309    export as_echo_n_body
11310    as_echo_n='sh -c $as_echo_n_body as_echo'
11311  fi
11312  export as_echo_body
11313  as_echo='sh -c $as_echo_body as_echo'
11314fi
11315
11316# The user is always right.
11317if test "${PATH_SEPARATOR+set}" != set; then
11318  PATH_SEPARATOR=:
11319  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
11320    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
11321      PATH_SEPARATOR=';'
11322  }
11323fi
11324
11325
11326# IFS
11327# We need space, tab and new line, in precisely that order.  Quoting is
11328# there to prevent editors from complaining about space-tab.
11329# (If _AS_PATH_WALK were called with IFS unset, it would disable word
11330# splitting by setting IFS to empty value.)
11331IFS=" ""	$as_nl"
11332
11333# Find who we are.  Look in the path if we contain no directory separator.
11334as_myself=
11335case $0 in @%:@((
11336  *[\\/]* ) as_myself=$0 ;;
11337  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11338for as_dir in $PATH
11339do
11340  IFS=$as_save_IFS
11341  test -z "$as_dir" && as_dir=.
11342    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11343  done
11344IFS=$as_save_IFS
11345
11346     ;;
11347esac
11348# We did not find ourselves, most probably we were run as `sh COMMAND'
11349# in which case we are not to be found in the path.
11350if test "x$as_myself" = x; then
11351  as_myself=$0
11352fi
11353if test ! -f "$as_myself"; then
11354  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
11355  exit 1
11356fi
11357
11358# Unset variables that we do not need and which cause bugs (e.g. in
11359# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
11360# suppresses any "Segmentation fault" message there.  '((' could
11361# trigger a bug in pdksh 5.2.14.
11362for as_var in BASH_ENV ENV MAIL MAILPATH
11363do eval test x\${$as_var+set} = xset \
11364  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
11365done
11366PS1='$ '
11367PS2='> '
11368PS4='+ '
11369
11370# NLS nuisances.
11371LC_ALL=C
11372export LC_ALL
11373LANGUAGE=C
11374export LANGUAGE
11375
11376# CDPATH.
11377(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
11378
11379
11380@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
11381@%:@ ----------------------------------------
11382@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
11383@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
11384@%:@ script with STATUS, using 1 if that was 0.
11385as_fn_error ()
11386{
11387  as_status=$1; test $as_status -eq 0 && as_status=1
11388  if test "$4"; then
11389    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
11390    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
11391  fi
11392  $as_echo "$as_me: error: $2" >&2
11393  as_fn_exit $as_status
11394} @%:@ as_fn_error
11395
11396
11397@%:@ as_fn_set_status STATUS
11398@%:@ -----------------------
11399@%:@ Set @S|@? to STATUS, without forking.
11400as_fn_set_status ()
11401{
11402  return $1
11403} @%:@ as_fn_set_status
11404
11405@%:@ as_fn_exit STATUS
11406@%:@ -----------------
11407@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
11408as_fn_exit ()
11409{
11410  set +e
11411  as_fn_set_status $1
11412  exit $1
11413} @%:@ as_fn_exit
11414
11415@%:@ as_fn_unset VAR
11416@%:@ ---------------
11417@%:@ Portably unset VAR.
11418as_fn_unset ()
11419{
11420  { eval $1=; unset $1;}
11421}
11422as_unset=as_fn_unset
11423@%:@ as_fn_append VAR VALUE
11424@%:@ ----------------------
11425@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
11426@%:@ advantage of any shell optimizations that allow amortized linear growth over
11427@%:@ repeated appends, instead of the typical quadratic growth present in naive
11428@%:@ implementations.
11429if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
11430  eval 'as_fn_append ()
11431  {
11432    eval $1+=\$2
11433  }'
11434else
11435  as_fn_append ()
11436  {
11437    eval $1=\$$1\$2
11438  }
11439fi # as_fn_append
11440
11441@%:@ as_fn_arith ARG...
11442@%:@ ------------------
11443@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
11444@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
11445@%:@ must be portable across @S|@(()) and expr.
11446if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
11447  eval 'as_fn_arith ()
11448  {
11449    as_val=$(( $* ))
11450  }'
11451else
11452  as_fn_arith ()
11453  {
11454    as_val=`expr "$@" || test $? -eq 1`
11455  }
11456fi # as_fn_arith
11457
11458
11459if expr a : '\(a\)' >/dev/null 2>&1 &&
11460   test "X`expr 00001 : '.*\(...\)'`" = X001; then
11461  as_expr=expr
11462else
11463  as_expr=false
11464fi
11465
11466if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
11467  as_basename=basename
11468else
11469  as_basename=false
11470fi
11471
11472if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
11473  as_dirname=dirname
11474else
11475  as_dirname=false
11476fi
11477
11478as_me=`$as_basename -- "$0" ||
11479$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11480	 X"$0" : 'X\(//\)$' \| \
11481	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
11482$as_echo X/"$0" |
11483    sed '/^.*\/\([^/][^/]*\)\/*$/{
11484	    s//\1/
11485	    q
11486	  }
11487	  /^X\/\(\/\/\)$/{
11488	    s//\1/
11489	    q
11490	  }
11491	  /^X\/\(\/\).*/{
11492	    s//\1/
11493	    q
11494	  }
11495	  s/.*/./; q'`
11496
11497# Avoid depending upon Character Ranges.
11498as_cr_letters='abcdefghijklmnopqrstuvwxyz'
11499as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11500as_cr_Letters=$as_cr_letters$as_cr_LETTERS
11501as_cr_digits='0123456789'
11502as_cr_alnum=$as_cr_Letters$as_cr_digits
11503
11504ECHO_C= ECHO_N= ECHO_T=
11505case `echo -n x` in @%:@(((((
11506-n*)
11507  case `echo 'xy\c'` in
11508  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
11509  xy)  ECHO_C='\c';;
11510  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
11511       ECHO_T='	';;
11512  esac;;
11513*)
11514  ECHO_N='-n';;
11515esac
11516
11517rm -f conf$$ conf$$.exe conf$$.file
11518if test -d conf$$.dir; then
11519  rm -f conf$$.dir/conf$$.file
11520else
11521  rm -f conf$$.dir
11522  mkdir conf$$.dir 2>/dev/null
11523fi
11524if (echo >conf$$.file) 2>/dev/null; then
11525  if ln -s conf$$.file conf$$ 2>/dev/null; then
11526    as_ln_s='ln -s'
11527    # ... but there are two gotchas:
11528    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
11529    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
11530    # In both cases, we have to default to `cp -p'.
11531    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
11532      as_ln_s='cp -p'
11533  elif ln conf$$.file conf$$ 2>/dev/null; then
11534    as_ln_s=ln
11535  else
11536    as_ln_s='cp -p'
11537  fi
11538else
11539  as_ln_s='cp -p'
11540fi
11541rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
11542rmdir conf$$.dir 2>/dev/null
11543
11544
11545@%:@ as_fn_mkdir_p
11546@%:@ -------------
11547@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
11548as_fn_mkdir_p ()
11549{
11550
11551  case $as_dir in #(
11552  -*) as_dir=./$as_dir;;
11553  esac
11554  test -d "$as_dir" || eval $as_mkdir_p || {
11555    as_dirs=
11556    while :; do
11557      case $as_dir in #(
11558      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
11559      *) as_qdir=$as_dir;;
11560      esac
11561      as_dirs="'$as_qdir' $as_dirs"
11562      as_dir=`$as_dirname -- "$as_dir" ||
11563$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11564	 X"$as_dir" : 'X\(//\)[^/]' \| \
11565	 X"$as_dir" : 'X\(//\)$' \| \
11566	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11567$as_echo X"$as_dir" |
11568    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11569	    s//\1/
11570	    q
11571	  }
11572	  /^X\(\/\/\)[^/].*/{
11573	    s//\1/
11574	    q
11575	  }
11576	  /^X\(\/\/\)$/{
11577	    s//\1/
11578	    q
11579	  }
11580	  /^X\(\/\).*/{
11581	    s//\1/
11582	    q
11583	  }
11584	  s/.*/./; q'`
11585      test -d "$as_dir" && break
11586    done
11587    test -z "$as_dirs" || eval "mkdir $as_dirs"
11588  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
11589
11590
11591} @%:@ as_fn_mkdir_p
11592if mkdir -p . 2>/dev/null; then
11593  as_mkdir_p='mkdir -p "$as_dir"'
11594else
11595  test -d ./-p && rmdir ./-p
11596  as_mkdir_p=false
11597fi
11598
11599if test -x / >/dev/null 2>&1; then
11600  as_test_x='test -x'
11601else
11602  if ls -dL / >/dev/null 2>&1; then
11603    as_ls_L_option=L
11604  else
11605    as_ls_L_option=
11606  fi
11607  as_test_x='
11608    eval sh -c '\''
11609      if test -d "$1"; then
11610	test -d "$1/.";
11611      else
11612	case $1 in @%:@(
11613	-*)set "./$1";;
11614	esac;
11615	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
11616	???[sx]*):;;*)false;;esac;fi
11617    '\'' sh
11618  '
11619fi
11620as_executable_p=$as_test_x
11621
11622# Sed expression to map a string onto a valid CPP name.
11623as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11624
11625# Sed expression to map a string onto a valid variable name.
11626as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11627
11628
11629exec 6>&1
11630## ----------------------------------- ##
11631## Main body of $CONFIG_STATUS script. ##
11632## ----------------------------------- ##
11633_ASEOF
11634test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
11635
11636cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11637# Save the log message, to keep $0 and so on meaningful, and to
11638# report actual input values of CONFIG_FILES etc. instead of their
11639# values after options handling.
11640ac_log="
11641This file was extended by knc $as_me 1.7, which was
11642generated by GNU Autoconf 2.68.  Invocation command line was
11643
11644  CONFIG_FILES    = $CONFIG_FILES
11645  CONFIG_HEADERS  = $CONFIG_HEADERS
11646  CONFIG_LINKS    = $CONFIG_LINKS
11647  CONFIG_COMMANDS = $CONFIG_COMMANDS
11648  $ $0 $@
11649
11650on `(hostname || uname -n) 2>/dev/null | sed 1q`
11651"
11652
11653_ACEOF
11654
11655case $ac_config_files in *"
11656"*) set x $ac_config_files; shift; ac_config_files=$*;;
11657esac
11658
11659case $ac_config_headers in *"
11660"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
11661esac
11662
11663
11664cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11665# Files that config.status was made for.
11666config_files="$ac_config_files"
11667config_headers="$ac_config_headers"
11668config_commands="$ac_config_commands"
11669
11670_ACEOF
11671
11672cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11673ac_cs_usage="\
11674\`$as_me' instantiates files and other configuration actions
11675from templates according to the current configuration.  Unless the files
11676and actions are specified as TAGs, all are instantiated by default.
11677
11678Usage: $0 [OPTION]... [TAG]...
11679
11680  -h, --help       print this help, then exit
11681  -V, --version    print version number and configuration settings, then exit
11682      --config     print configuration, then exit
11683  -q, --quiet, --silent
11684                   do not print progress messages
11685  -d, --debug      don't remove temporary files
11686      --recheck    update $as_me by reconfiguring in the same conditions
11687      --file=FILE[:TEMPLATE]
11688                   instantiate the configuration file FILE
11689      --header=FILE[:TEMPLATE]
11690                   instantiate the configuration header FILE
11691
11692Configuration files:
11693$config_files
11694
11695Configuration headers:
11696$config_headers
11697
11698Configuration commands:
11699$config_commands
11700
11701Report bugs to <elric@imrryr.org>."
11702
11703_ACEOF
11704cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11705ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
11706ac_cs_version="\\
11707knc config.status 1.7
11708configured by $0, generated by GNU Autoconf 2.68,
11709  with options \\"\$ac_cs_config\\"
11710
11711Copyright (C) 2010 Free Software Foundation, Inc.
11712This config.status script is free software; the Free Software Foundation
11713gives unlimited permission to copy, distribute and modify it."
11714
11715ac_pwd='$ac_pwd'
11716srcdir='$srcdir'
11717INSTALL='$INSTALL'
11718MKDIR_P='$MKDIR_P'
11719AWK='$AWK'
11720test -n "\$AWK" || AWK=awk
11721_ACEOF
11722
11723cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11724# The default lists apply if the user does not specify any file.
11725ac_need_defaults=:
11726while test $# != 0
11727do
11728  case $1 in
11729  --*=?*)
11730    ac_option=`expr "X$1" : 'X\([^=]*\)='`
11731    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
11732    ac_shift=:
11733    ;;
11734  --*=)
11735    ac_option=`expr "X$1" : 'X\([^=]*\)='`
11736    ac_optarg=
11737    ac_shift=:
11738    ;;
11739  *)
11740    ac_option=$1
11741    ac_optarg=$2
11742    ac_shift=shift
11743    ;;
11744  esac
11745
11746  case $ac_option in
11747  # Handling of the options.
11748  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
11749    ac_cs_recheck=: ;;
11750  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
11751    $as_echo "$ac_cs_version"; exit ;;
11752  --config | --confi | --conf | --con | --co | --c )
11753    $as_echo "$ac_cs_config"; exit ;;
11754  --debug | --debu | --deb | --de | --d | -d )
11755    debug=: ;;
11756  --file | --fil | --fi | --f )
11757    $ac_shift
11758    case $ac_optarg in
11759    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
11760    '') as_fn_error $? "missing file argument" ;;
11761    esac
11762    as_fn_append CONFIG_FILES " '$ac_optarg'"
11763    ac_need_defaults=false;;
11764  --header | --heade | --head | --hea )
11765    $ac_shift
11766    case $ac_optarg in
11767    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
11768    esac
11769    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
11770    ac_need_defaults=false;;
11771  --he | --h)
11772    # Conflict between --help and --header
11773    as_fn_error $? "ambiguous option: \`$1'
11774Try \`$0 --help' for more information.";;
11775  --help | --hel | -h )
11776    $as_echo "$ac_cs_usage"; exit ;;
11777  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
11778  | -silent | --silent | --silen | --sile | --sil | --si | --s)
11779    ac_cs_silent=: ;;
11780
11781  # This is an error.
11782  -*) as_fn_error $? "unrecognized option: \`$1'
11783Try \`$0 --help' for more information." ;;
11784
11785  *) as_fn_append ac_config_targets " $1"
11786     ac_need_defaults=false ;;
11787
11788  esac
11789  shift
11790done
11791
11792ac_configure_extra_args=
11793
11794if $ac_cs_silent; then
11795  exec 6>/dev/null
11796  ac_configure_extra_args="$ac_configure_extra_args --silent"
11797fi
11798
11799_ACEOF
11800cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11801if \$ac_cs_recheck; then
11802  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
11803  shift
11804  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
11805  CONFIG_SHELL='$SHELL'
11806  export CONFIG_SHELL
11807  exec "\$@"
11808fi
11809
11810_ACEOF
11811cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11812exec 5>>config.log
11813{
11814  echo
11815  sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
11816@%:@@%:@ Running $as_me. @%:@@%:@
11817_ASBOX
11818  $as_echo "$ac_log"
11819} >&5
11820
11821_ACEOF
11822cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11823#
11824# INIT-COMMANDS
11825#
11826AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
11827
11828
11829# The HP-UX ksh and POSIX shell print the target directory to stdout
11830# if CDPATH is set.
11831(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
11832
11833sed_quote_subst='$sed_quote_subst'
11834double_quote_subst='$double_quote_subst'
11835delay_variable_subst='$delay_variable_subst'
11836macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
11837macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
11838enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
11839enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
11840pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
11841enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
11842host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
11843host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
11844host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
11845build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
11846build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
11847build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
11848SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
11849Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
11850GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
11851EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
11852FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
11853LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
11854NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
11855LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
11856max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
11857ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
11858exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
11859lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
11860lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
11861lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
11862reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
11863reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11864OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
11865deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
11866file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
11867AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
11868AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
11869STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
11870RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
11871old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11872old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11873old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11874CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
11875CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
11876compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
11877GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
11878lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
11879lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
11880lt_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"`'
11881lt_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"`'
11882objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
11883SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
11884ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
11885MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
11886lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
11887lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
11888lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
11889lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
11890lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
11891need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
11892DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
11893NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
11894LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
11895OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
11896OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
11897libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
11898shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11899extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11900archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
11901enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
11902export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
11903whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
11904compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
11905old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11906old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11907archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11908archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11909module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11910module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11911with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
11912allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
11913no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
11914hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
11915hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
11916hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
11917hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
11918hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
11919hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
11920hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
11921hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
11922inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
11923link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
11924fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
11925always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
11926export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11927exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
11928include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
11929prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11930file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
11931variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
11932need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
11933need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
11934version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
11935runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
11936shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
11937shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
11938libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
11939library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
11940soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
11941postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11942postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11943finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11944finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
11945hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
11946sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
11947sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
11948hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
11949enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
11950enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
11951enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
11952old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
11953striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
11954
11955LTCC='$LTCC'
11956LTCFLAGS='$LTCFLAGS'
11957compiler='$compiler_DEFAULT'
11958
11959# Quote evaled strings.
11960for var in SED \
11961GREP \
11962EGREP \
11963FGREP \
11964LD \
11965NM \
11966LN_S \
11967lt_SP2NL \
11968lt_NL2SP \
11969reload_flag \
11970OBJDUMP \
11971deplibs_check_method \
11972file_magic_cmd \
11973AR \
11974AR_FLAGS \
11975STRIP \
11976RANLIB \
11977CC \
11978CFLAGS \
11979compiler \
11980lt_cv_sys_global_symbol_pipe \
11981lt_cv_sys_global_symbol_to_cdecl \
11982lt_cv_sys_global_symbol_to_c_name_address \
11983lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
11984SHELL \
11985ECHO \
11986lt_prog_compiler_no_builtin_flag \
11987lt_prog_compiler_wl \
11988lt_prog_compiler_pic \
11989lt_prog_compiler_static \
11990lt_cv_prog_compiler_c_o \
11991need_locks \
11992DSYMUTIL \
11993NMEDIT \
11994LIPO \
11995OTOOL \
11996OTOOL64 \
11997shrext_cmds \
11998export_dynamic_flag_spec \
11999whole_archive_flag_spec \
12000compiler_needs_object \
12001with_gnu_ld \
12002allow_undefined_flag \
12003no_undefined_flag \
12004hardcode_libdir_flag_spec \
12005hardcode_libdir_flag_spec_ld \
12006hardcode_libdir_separator \
12007fix_srcfile_path \
12008exclude_expsyms \
12009include_expsyms \
12010file_list_spec \
12011variables_saved_for_relink \
12012libname_spec \
12013library_names_spec \
12014soname_spec \
12015finish_eval \
12016old_striplib \
12017striplib; do
12018    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
12019    *[\\\\\\\`\\"\\\$]*)
12020      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
12021      ;;
12022    *)
12023      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12024      ;;
12025    esac
12026done
12027
12028# Double-quote double-evaled strings.
12029for var in reload_cmds \
12030old_postinstall_cmds \
12031old_postuninstall_cmds \
12032old_archive_cmds \
12033extract_expsyms_cmds \
12034old_archive_from_new_cmds \
12035old_archive_from_expsyms_cmds \
12036archive_cmds \
12037archive_expsym_cmds \
12038module_cmds \
12039module_expsym_cmds \
12040export_symbols_cmds \
12041prelink_cmds \
12042postinstall_cmds \
12043postuninstall_cmds \
12044finish_cmds \
12045sys_lib_search_path_spec \
12046sys_lib_dlsearch_path_spec; do
12047    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
12048    *[\\\\\\\`\\"\\\$]*)
12049      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
12050      ;;
12051    *)
12052      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12053      ;;
12054    esac
12055done
12056
12057# Fix-up fallback echo if it was mangled by the above quoting rules.
12058case \$lt_ECHO in
12059*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
12060  ;;
12061esac
12062
12063ac_aux_dir='$ac_aux_dir'
12064xsi_shell='$xsi_shell'
12065lt_shell_append='$lt_shell_append'
12066
12067# See if we are running on zsh, and set the options which allow our
12068# commands through without removal of \ escapes INIT.
12069if test -n "\${ZSH_VERSION+set}" ; then
12070   setopt NO_GLOB_SUBST
12071fi
12072
12073
12074    PACKAGE='$PACKAGE'
12075    VERSION='$VERSION'
12076    TIMESTAMP='$TIMESTAMP'
12077    RM='$RM'
12078    ofile='$ofile'
12079
12080
12081
12082
12083_ACEOF
12084
12085cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12086
12087# Handling of arguments.
12088for ac_config_target in $ac_config_targets
12089do
12090  case $ac_config_target in
12091    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
12092    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
12093    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
12094    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
12095    "bin/Makefile") CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
12096    "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
12097    "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
12098
12099  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
12100  esac
12101done
12102
12103
12104# If the user did not use the arguments to specify the items to instantiate,
12105# then the envvar interface is used.  Set only those that are not.
12106# We use the long form for the default assignment because of an extremely
12107# bizarre bug on SunOS 4.1.3.
12108if $ac_need_defaults; then
12109  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
12110  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
12111  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
12112fi
12113
12114# Have a temporary directory for convenience.  Make it in the build tree
12115# simply because there is no reason against having it here, and in addition,
12116# creating and moving files from /tmp can sometimes cause problems.
12117# Hook for its removal unless debugging.
12118# Note that there is a small window in which the directory will not be cleaned:
12119# after its creation but before its name has been assigned to `$tmp'.
12120$debug ||
12121{
12122  tmp= ac_tmp=
12123  trap 'exit_status=$?
12124  : "${ac_tmp:=$tmp}"
12125  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
12126' 0
12127  trap 'as_fn_exit 1' 1 2 13 15
12128}
12129# Create a (secure) tmp directory for tmp files.
12130
12131{
12132  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
12133  test -d "$tmp"
12134}  ||
12135{
12136  tmp=./conf$$-$RANDOM
12137  (umask 077 && mkdir "$tmp")
12138} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
12139ac_tmp=$tmp
12140
12141# Set up the scripts for CONFIG_FILES section.
12142# No need to generate them if there are no CONFIG_FILES.
12143# This happens for instance with `./config.status config.h'.
12144if test -n "$CONFIG_FILES"; then
12145
12146
12147ac_cr=`echo X | tr X '\015'`
12148# On cygwin, bash can eat \r inside `` if the user requested igncr.
12149# But we know of no other shell where ac_cr would be empty at this
12150# point, so we can use a bashism as a fallback.
12151if test "x$ac_cr" = x; then
12152  eval ac_cr=\$\'\\r\'
12153fi
12154ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
12155if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
12156  ac_cs_awk_cr='\\r'
12157else
12158  ac_cs_awk_cr=$ac_cr
12159fi
12160
12161echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
12162_ACEOF
12163
12164
12165{
12166  echo "cat >conf$$subs.awk <<_ACEOF" &&
12167  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
12168  echo "_ACEOF"
12169} >conf$$subs.sh ||
12170  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
12171ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
12172ac_delim='%!_!# '
12173for ac_last_try in false false false false false :; do
12174  . ./conf$$subs.sh ||
12175    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
12176
12177  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
12178  if test $ac_delim_n = $ac_delim_num; then
12179    break
12180  elif $ac_last_try; then
12181    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
12182  else
12183    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
12184  fi
12185done
12186rm -f conf$$subs.sh
12187
12188cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12189cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
12190_ACEOF
12191sed -n '
12192h
12193s/^/S["/; s/!.*/"]=/
12194p
12195g
12196s/^[^!]*!//
12197:repl
12198t repl
12199s/'"$ac_delim"'$//
12200t delim
12201:nl
12202h
12203s/\(.\{148\}\)..*/\1/
12204t more1
12205s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
12206p
12207n
12208b repl
12209:more1
12210s/["\\]/\\&/g; s/^/"/; s/$/"\\/
12211p
12212g
12213s/.\{148\}//
12214t nl
12215:delim
12216h
12217s/\(.\{148\}\)..*/\1/
12218t more2
12219s/["\\]/\\&/g; s/^/"/; s/$/"/
12220p
12221b
12222:more2
12223s/["\\]/\\&/g; s/^/"/; s/$/"\\/
12224p
12225g
12226s/.\{148\}//
12227t delim
12228' <conf$$subs.awk | sed '
12229/^[^""]/{
12230  N
12231  s/\n//
12232}
12233' >>$CONFIG_STATUS || ac_write_fail=1
12234rm -f conf$$subs.awk
12235cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12236_ACAWK
12237cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
12238  for (key in S) S_is_set[key] = 1
12239  FS = ""
12240
12241}
12242{
12243  line = $ 0
12244  nfields = split(line, field, "@")
12245  substed = 0
12246  len = length(field[1])
12247  for (i = 2; i < nfields; i++) {
12248    key = field[i]
12249    keylen = length(key)
12250    if (S_is_set[key]) {
12251      value = S[key]
12252      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
12253      len += length(value) + length(field[++i])
12254      substed = 1
12255    } else
12256      len += 1 + keylen
12257  }
12258
12259  print line
12260}
12261
12262_ACAWK
12263_ACEOF
12264cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12265if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
12266  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
12267else
12268  cat
12269fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
12270  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
12271_ACEOF
12272
12273# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
12274# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
12275# trailing colons and then remove the whole line if VPATH becomes empty
12276# (actually we leave an empty line to preserve line numbers).
12277if test "x$srcdir" = x.; then
12278  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
12279h
12280s///
12281s/^/:/
12282s/[	 ]*$/:/
12283s/:\$(srcdir):/:/g
12284s/:\${srcdir}:/:/g
12285s/:@srcdir@:/:/g
12286s/^:*//
12287s/:*$//
12288x
12289s/\(=[	 ]*\).*/\1/
12290G
12291s/\n//
12292s/^[^=]*=[	 ]*$//
12293}'
12294fi
12295
12296cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12297fi # test -n "$CONFIG_FILES"
12298
12299# Set up the scripts for CONFIG_HEADERS section.
12300# No need to generate them if there are no CONFIG_HEADERS.
12301# This happens for instance with `./config.status Makefile'.
12302if test -n "$CONFIG_HEADERS"; then
12303cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
12304BEGIN {
12305_ACEOF
12306
12307# Transform confdefs.h into an awk script `defines.awk', embedded as
12308# here-document in config.status, that substitutes the proper values into
12309# config.h.in to produce config.h.
12310
12311# Create a delimiter string that does not exist in confdefs.h, to ease
12312# handling of long lines.
12313ac_delim='%!_!# '
12314for ac_last_try in false false :; do
12315  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
12316  if test -z "$ac_tt"; then
12317    break
12318  elif $ac_last_try; then
12319    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
12320  else
12321    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
12322  fi
12323done
12324
12325# For the awk script, D is an array of macro values keyed by name,
12326# likewise P contains macro parameters if any.  Preserve backslash
12327# newline sequences.
12328
12329ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
12330sed -n '
12331s/.\{148\}/&'"$ac_delim"'/g
12332t rset
12333:rset
12334s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
12335t def
12336d
12337:def
12338s/\\$//
12339t bsnl
12340s/["\\]/\\&/g
12341s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
12342D["\1"]=" \3"/p
12343s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
12344d
12345:bsnl
12346s/["\\]/\\&/g
12347s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
12348D["\1"]=" \3\\\\\\n"\\/p
12349t cont
12350s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
12351t cont
12352d
12353:cont
12354n
12355s/.\{148\}/&'"$ac_delim"'/g
12356t clear
12357:clear
12358s/\\$//
12359t bsnlc
12360s/["\\]/\\&/g; s/^/"/; s/$/"/p
12361d
12362:bsnlc
12363s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
12364b cont
12365' <confdefs.h | sed '
12366s/'"$ac_delim"'/"\\\
12367"/g' >>$CONFIG_STATUS || ac_write_fail=1
12368
12369cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12370  for (key in D) D_is_set[key] = 1
12371  FS = ""
12372}
12373/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
12374  line = \$ 0
12375  split(line, arg, " ")
12376  if (arg[1] == "#") {
12377    defundef = arg[2]
12378    mac1 = arg[3]
12379  } else {
12380    defundef = substr(arg[1], 2)
12381    mac1 = arg[2]
12382  }
12383  split(mac1, mac2, "(") #)
12384  macro = mac2[1]
12385  prefix = substr(line, 1, index(line, defundef) - 1)
12386  if (D_is_set[macro]) {
12387    # Preserve the white space surrounding the "#".
12388    print prefix "define", macro P[macro] D[macro]
12389    next
12390  } else {
12391    # Replace #undef with comments.  This is necessary, for example,
12392    # in the case of _POSIX_SOURCE, which is predefined and required
12393    # on some systems where configure will not decide to define it.
12394    if (defundef == "undef") {
12395      print "/*", prefix defundef, macro, "*/"
12396      next
12397    }
12398  }
12399}
12400{ print }
12401_ACAWK
12402_ACEOF
12403cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12404  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
12405fi # test -n "$CONFIG_HEADERS"
12406
12407
12408eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
12409shift
12410for ac_tag
12411do
12412  case $ac_tag in
12413  :[FHLC]) ac_mode=$ac_tag; continue;;
12414  esac
12415  case $ac_mode$ac_tag in
12416  :[FHL]*:*);;
12417  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
12418  :[FH]-) ac_tag=-:-;;
12419  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
12420  esac
12421  ac_save_IFS=$IFS
12422  IFS=:
12423  set x $ac_tag
12424  IFS=$ac_save_IFS
12425  shift
12426  ac_file=$1
12427  shift
12428
12429  case $ac_mode in
12430  :L) ac_source=$1;;
12431  :[FH])
12432    ac_file_inputs=
12433    for ac_f
12434    do
12435      case $ac_f in
12436      -) ac_f="$ac_tmp/stdin";;
12437      *) # Look for the file first in the build tree, then in the source tree
12438	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
12439	 # because $ac_f cannot contain `:'.
12440	 test -f "$ac_f" ||
12441	   case $ac_f in
12442	   [\\/$]*) false;;
12443	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
12444	   esac ||
12445	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
12446      esac
12447      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
12448      as_fn_append ac_file_inputs " '$ac_f'"
12449    done
12450
12451    # Let's still pretend it is `configure' which instantiates (i.e., don't
12452    # use $as_me), people would be surprised to read:
12453    #    /* config.h.  Generated by config.status.  */
12454    configure_input='Generated from '`
12455	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
12456	`' by configure.'
12457    if test x"$ac_file" != x-; then
12458      configure_input="$ac_file.  $configure_input"
12459      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
12460$as_echo "$as_me: creating $ac_file" >&6;}
12461    fi
12462    # Neutralize special characters interpreted by sed in replacement strings.
12463    case $configure_input in #(
12464    *\&* | *\|* | *\\* )
12465       ac_sed_conf_input=`$as_echo "$configure_input" |
12466       sed 's/[\\\\&|]/\\\\&/g'`;; #(
12467    *) ac_sed_conf_input=$configure_input;;
12468    esac
12469
12470    case $ac_tag in
12471    *:-:* | *:-) cat >"$ac_tmp/stdin" \
12472      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
12473    esac
12474    ;;
12475  esac
12476
12477  ac_dir=`$as_dirname -- "$ac_file" ||
12478$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12479	 X"$ac_file" : 'X\(//\)[^/]' \| \
12480	 X"$ac_file" : 'X\(//\)$' \| \
12481	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
12482$as_echo X"$ac_file" |
12483    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12484	    s//\1/
12485	    q
12486	  }
12487	  /^X\(\/\/\)[^/].*/{
12488	    s//\1/
12489	    q
12490	  }
12491	  /^X\(\/\/\)$/{
12492	    s//\1/
12493	    q
12494	  }
12495	  /^X\(\/\).*/{
12496	    s//\1/
12497	    q
12498	  }
12499	  s/.*/./; q'`
12500  as_dir="$ac_dir"; as_fn_mkdir_p
12501  ac_builddir=.
12502
12503case "$ac_dir" in
12504.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
12505*)
12506  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
12507  # A ".." for each directory in $ac_dir_suffix.
12508  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
12509  case $ac_top_builddir_sub in
12510  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
12511  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
12512  esac ;;
12513esac
12514ac_abs_top_builddir=$ac_pwd
12515ac_abs_builddir=$ac_pwd$ac_dir_suffix
12516# for backward compatibility:
12517ac_top_builddir=$ac_top_build_prefix
12518
12519case $srcdir in
12520  .)  # We are building in place.
12521    ac_srcdir=.
12522    ac_top_srcdir=$ac_top_builddir_sub
12523    ac_abs_top_srcdir=$ac_pwd ;;
12524  [\\/]* | ?:[\\/]* )  # Absolute name.
12525    ac_srcdir=$srcdir$ac_dir_suffix;
12526    ac_top_srcdir=$srcdir
12527    ac_abs_top_srcdir=$srcdir ;;
12528  *) # Relative name.
12529    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
12530    ac_top_srcdir=$ac_top_build_prefix$srcdir
12531    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
12532esac
12533ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
12534
12535
12536  case $ac_mode in
12537  :F)
12538  #
12539  # CONFIG_FILE
12540  #
12541
12542  case $INSTALL in
12543  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
12544  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
12545  esac
12546  ac_MKDIR_P=$MKDIR_P
12547  case $MKDIR_P in
12548  [\\/$]* | ?:[\\/]* ) ;;
12549  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
12550  esac
12551_ACEOF
12552
12553cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12554# If the template does not know about datarootdir, expand it.
12555# FIXME: This hack should be removed a few years after 2.60.
12556ac_datarootdir_hack=; ac_datarootdir_seen=
12557ac_sed_dataroot='
12558/datarootdir/ {
12559  p
12560  q
12561}
12562/@datadir@/p
12563/@docdir@/p
12564/@infodir@/p
12565/@localedir@/p
12566/@mandir@/p'
12567case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
12568*datarootdir*) ac_datarootdir_seen=yes;;
12569*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
12570  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
12571$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
12572_ACEOF
12573cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12574  ac_datarootdir_hack='
12575  s&@datadir@&$datadir&g
12576  s&@docdir@&$docdir&g
12577  s&@infodir@&$infodir&g
12578  s&@localedir@&$localedir&g
12579  s&@mandir@&$mandir&g
12580  s&\\\${datarootdir}&$datarootdir&g' ;;
12581esac
12582_ACEOF
12583
12584# Neutralize VPATH when `$srcdir' = `.'.
12585# Shell code in configure.ac might set extrasub.
12586# FIXME: do we really want to maintain this feature?
12587cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12588ac_sed_extra="$ac_vpsub
12589$extrasub
12590_ACEOF
12591cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12592:t
12593/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
12594s|@configure_input@|$ac_sed_conf_input|;t t
12595s&@top_builddir@&$ac_top_builddir_sub&;t t
12596s&@top_build_prefix@&$ac_top_build_prefix&;t t
12597s&@srcdir@&$ac_srcdir&;t t
12598s&@abs_srcdir@&$ac_abs_srcdir&;t t
12599s&@top_srcdir@&$ac_top_srcdir&;t t
12600s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
12601s&@builddir@&$ac_builddir&;t t
12602s&@abs_builddir@&$ac_abs_builddir&;t t
12603s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
12604s&@INSTALL@&$ac_INSTALL&;t t
12605s&@MKDIR_P@&$ac_MKDIR_P&;t t
12606$ac_datarootdir_hack
12607"
12608eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
12609  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
12610
12611test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
12612  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
12613  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
12614      "$ac_tmp/out"`; test -z "$ac_out"; } &&
12615  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
12616which seems to be undefined.  Please make sure it is defined" >&5
12617$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
12618which seems to be undefined.  Please make sure it is defined" >&2;}
12619
12620  rm -f "$ac_tmp/stdin"
12621  case $ac_file in
12622  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
12623  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
12624  esac \
12625  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
12626 ;;
12627  :H)
12628  #
12629  # CONFIG_HEADER
12630  #
12631  if test x"$ac_file" != x-; then
12632    {
12633      $as_echo "/* $configure_input  */" \
12634      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
12635    } >"$ac_tmp/config.h" \
12636      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
12637    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
12638      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
12639$as_echo "$as_me: $ac_file is unchanged" >&6;}
12640    else
12641      rm -f "$ac_file"
12642      mv "$ac_tmp/config.h" "$ac_file" \
12643	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
12644    fi
12645  else
12646    $as_echo "/* $configure_input  */" \
12647      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
12648      || as_fn_error $? "could not create -" "$LINENO" 5
12649  fi
12650# Compute "$ac_file"'s index in $config_headers.
12651_am_arg="$ac_file"
12652_am_stamp_count=1
12653for _am_header in $config_headers :; do
12654  case $_am_header in
12655    $_am_arg | $_am_arg:* )
12656      break ;;
12657    * )
12658      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
12659  esac
12660done
12661echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
12662$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12663	 X"$_am_arg" : 'X\(//\)[^/]' \| \
12664	 X"$_am_arg" : 'X\(//\)$' \| \
12665	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
12666$as_echo X"$_am_arg" |
12667    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12668	    s//\1/
12669	    q
12670	  }
12671	  /^X\(\/\/\)[^/].*/{
12672	    s//\1/
12673	    q
12674	  }
12675	  /^X\(\/\/\)$/{
12676	    s//\1/
12677	    q
12678	  }
12679	  /^X\(\/\).*/{
12680	    s//\1/
12681	    q
12682	  }
12683	  s/.*/./; q'`/stamp-h$_am_stamp_count
12684 ;;
12685
12686  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
12687$as_echo "$as_me: executing $ac_file commands" >&6;}
12688 ;;
12689  esac
12690
12691
12692  case $ac_file$ac_mode in
12693    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
12694  # Autoconf 2.62 quotes --file arguments for eval, but not when files
12695  # are listed without --file.  Let's play safe and only enable the eval
12696  # if we detect the quoting.
12697  case $CONFIG_FILES in
12698  *\'*) eval set x "$CONFIG_FILES" ;;
12699  *)   set x $CONFIG_FILES ;;
12700  esac
12701  shift
12702  for mf
12703  do
12704    # Strip MF so we end up with the name of the file.
12705    mf=`echo "$mf" | sed -e 's/:.*$//'`
12706    # Check whether this is an Automake generated Makefile or not.
12707    # We used to match only the files named `Makefile.in', but
12708    # some people rename them; so instead we look at the file content.
12709    # Grep'ing the first line is not enough: some people post-process
12710    # each Makefile.in and add a new line on top of each file to say so.
12711    # Grep'ing the whole file is not good either: AIX grep has a line
12712    # limit of 2048, but all sed's we know have understand at least 4000.
12713    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
12714      dirpart=`$as_dirname -- "$mf" ||
12715$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12716	 X"$mf" : 'X\(//\)[^/]' \| \
12717	 X"$mf" : 'X\(//\)$' \| \
12718	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
12719$as_echo X"$mf" |
12720    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12721	    s//\1/
12722	    q
12723	  }
12724	  /^X\(\/\/\)[^/].*/{
12725	    s//\1/
12726	    q
12727	  }
12728	  /^X\(\/\/\)$/{
12729	    s//\1/
12730	    q
12731	  }
12732	  /^X\(\/\).*/{
12733	    s//\1/
12734	    q
12735	  }
12736	  s/.*/./; q'`
12737    else
12738      continue
12739    fi
12740    # Extract the definition of DEPDIR, am__include, and am__quote
12741    # from the Makefile without running `make'.
12742    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
12743    test -z "$DEPDIR" && continue
12744    am__include=`sed -n 's/^am__include = //p' < "$mf"`
12745    test -z "am__include" && continue
12746    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
12747    # When using ansi2knr, U may be empty or an underscore; expand it
12748    U=`sed -n 's/^U = //p' < "$mf"`
12749    # Find all dependency output files, they are included files with
12750    # $(DEPDIR) in their names.  We invoke sed twice because it is the
12751    # simplest approach to changing $(DEPDIR) to its actual value in the
12752    # expansion.
12753    for file in `sed -n "
12754      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
12755	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
12756      # Make sure the directory exists.
12757      test -f "$dirpart/$file" && continue
12758      fdir=`$as_dirname -- "$file" ||
12759$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12760	 X"$file" : 'X\(//\)[^/]' \| \
12761	 X"$file" : 'X\(//\)$' \| \
12762	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
12763$as_echo X"$file" |
12764    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12765	    s//\1/
12766	    q
12767	  }
12768	  /^X\(\/\/\)[^/].*/{
12769	    s//\1/
12770	    q
12771	  }
12772	  /^X\(\/\/\)$/{
12773	    s//\1/
12774	    q
12775	  }
12776	  /^X\(\/\).*/{
12777	    s//\1/
12778	    q
12779	  }
12780	  s/.*/./; q'`
12781      as_dir=$dirpart/$fdir; as_fn_mkdir_p
12782      # echo "creating $dirpart/$file"
12783      echo '# dummy' > "$dirpart/$file"
12784    done
12785  done
12786}
12787 ;;
12788    "libtool":C)
12789
12790    # See if we are running on zsh, and set the options which allow our
12791    # commands through without removal of \ escapes.
12792    if test -n "${ZSH_VERSION+set}" ; then
12793      setopt NO_GLOB_SUBST
12794    fi
12795
12796    cfgfile="${ofile}T"
12797    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
12798    $RM "$cfgfile"
12799
12800    cat <<_LT_EOF >> "$cfgfile"
12801#! $SHELL
12802
12803# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
12804# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
12805# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12806# NOTE: Changes made to this file will be lost: look at ltmain.sh.
12807#
12808#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
12809#                 2006, 2007, 2008 Free Software Foundation, Inc.
12810#   Written by Gordon Matzigkeit, 1996
12811#
12812#   This file is part of GNU Libtool.
12813#
12814# GNU Libtool is free software; you can redistribute it and/or
12815# modify it under the terms of the GNU General Public License as
12816# published by the Free Software Foundation; either version 2 of
12817# the License, or (at your option) any later version.
12818#
12819# As a special exception to the GNU General Public License,
12820# if you distribute this file as part of a program or library that
12821# is built using GNU Libtool, you may include this file under the
12822# same distribution terms that you use for the rest of that program.
12823#
12824# GNU Libtool is distributed in the hope that it will be useful,
12825# but WITHOUT ANY WARRANTY; without even the implied warranty of
12826# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12827# GNU General Public License for more details.
12828#
12829# You should have received a copy of the GNU General Public License
12830# along with GNU Libtool; see the file COPYING.  If not, a copy
12831# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
12832# obtained by writing to the Free Software Foundation, Inc.,
12833# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
12834
12835
12836# The names of the tagged configurations supported by this script.
12837available_tags=""
12838
12839# ### BEGIN LIBTOOL CONFIG
12840
12841# Which release of libtool.m4 was used?
12842macro_version=$macro_version
12843macro_revision=$macro_revision
12844
12845# Whether or not to build shared libraries.
12846build_libtool_libs=$enable_shared
12847
12848# Whether or not to build static libraries.
12849build_old_libs=$enable_static
12850
12851# What type of objects to build.
12852pic_mode=$pic_mode
12853
12854# Whether or not to optimize for fast installation.
12855fast_install=$enable_fast_install
12856
12857# The host system.
12858host_alias=$host_alias
12859host=$host
12860host_os=$host_os
12861
12862# The build system.
12863build_alias=$build_alias
12864build=$build
12865build_os=$build_os
12866
12867# A sed program that does not truncate output.
12868SED=$lt_SED
12869
12870# Sed that helps us avoid accidentally triggering echo(1) options like -n.
12871Xsed="\$SED -e 1s/^X//"
12872
12873# A grep program that handles long lines.
12874GREP=$lt_GREP
12875
12876# An ERE matcher.
12877EGREP=$lt_EGREP
12878
12879# A literal string matcher.
12880FGREP=$lt_FGREP
12881
12882# A BSD- or MS-compatible name lister.
12883NM=$lt_NM
12884
12885# Whether we need soft or hard links.
12886LN_S=$lt_LN_S
12887
12888# What is the maximum length of a command?
12889max_cmd_len=$max_cmd_len
12890
12891# Object file suffix (normally "o").
12892objext=$ac_objext
12893
12894# Executable file suffix (normally "").
12895exeext=$exeext
12896
12897# whether the shell understands "unset".
12898lt_unset=$lt_unset
12899
12900# turn spaces into newlines.
12901SP2NL=$lt_lt_SP2NL
12902
12903# turn newlines into spaces.
12904NL2SP=$lt_lt_NL2SP
12905
12906# How to create reloadable object files.
12907reload_flag=$lt_reload_flag
12908reload_cmds=$lt_reload_cmds
12909
12910# An object symbol dumper.
12911OBJDUMP=$lt_OBJDUMP
12912
12913# Method to check whether dependent libraries are shared objects.
12914deplibs_check_method=$lt_deplibs_check_method
12915
12916# Command to use when deplibs_check_method == "file_magic".
12917file_magic_cmd=$lt_file_magic_cmd
12918
12919# The archiver.
12920AR=$lt_AR
12921AR_FLAGS=$lt_AR_FLAGS
12922
12923# A symbol stripping program.
12924STRIP=$lt_STRIP
12925
12926# Commands used to install an old-style archive.
12927RANLIB=$lt_RANLIB
12928old_postinstall_cmds=$lt_old_postinstall_cmds
12929old_postuninstall_cmds=$lt_old_postuninstall_cmds
12930
12931# A C compiler.
12932LTCC=$lt_CC
12933
12934# LTCC compiler flags.
12935LTCFLAGS=$lt_CFLAGS
12936
12937# Take the output of nm and produce a listing of raw symbols and C names.
12938global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12939
12940# Transform the output of nm in a proper C declaration.
12941global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12942
12943# Transform the output of nm in a C name address pair.
12944global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12945
12946# Transform the output of nm in a C name address pair when lib prefix is needed.
12947global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
12948
12949# The name of the directory that contains temporary libtool files.
12950objdir=$objdir
12951
12952# Shell to use when invoking shell scripts.
12953SHELL=$lt_SHELL
12954
12955# An echo program that does not interpret backslashes.
12956ECHO=$lt_ECHO
12957
12958# Used to examine libraries when file_magic_cmd begins with "file".
12959MAGIC_CMD=$MAGIC_CMD
12960
12961# Must we lock files when doing compilation?
12962need_locks=$lt_need_locks
12963
12964# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
12965DSYMUTIL=$lt_DSYMUTIL
12966
12967# Tool to change global to local symbols on Mac OS X.
12968NMEDIT=$lt_NMEDIT
12969
12970# Tool to manipulate fat objects and archives on Mac OS X.
12971LIPO=$lt_LIPO
12972
12973# ldd/readelf like tool for Mach-O binaries on Mac OS X.
12974OTOOL=$lt_OTOOL
12975
12976# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
12977OTOOL64=$lt_OTOOL64
12978
12979# Old archive suffix (normally "a").
12980libext=$libext
12981
12982# Shared library suffix (normally ".so").
12983shrext_cmds=$lt_shrext_cmds
12984
12985# The commands to extract the exported symbol list from a shared archive.
12986extract_expsyms_cmds=$lt_extract_expsyms_cmds
12987
12988# Variables whose values should be saved in libtool wrapper scripts and
12989# restored at link time.
12990variables_saved_for_relink=$lt_variables_saved_for_relink
12991
12992# Do we need the "lib" prefix for modules?
12993need_lib_prefix=$need_lib_prefix
12994
12995# Do we need a version for libraries?
12996need_version=$need_version
12997
12998# Library versioning type.
12999version_type=$version_type
13000
13001# Shared library runtime path variable.
13002runpath_var=$runpath_var
13003
13004# Shared library path variable.
13005shlibpath_var=$shlibpath_var
13006
13007# Is shlibpath searched before the hard-coded library search path?
13008shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13009
13010# Format of library name prefix.
13011libname_spec=$lt_libname_spec
13012
13013# List of archive names.  First name is the real one, the rest are links.
13014# The last name is the one that the linker finds with -lNAME
13015library_names_spec=$lt_library_names_spec
13016
13017# The coded name of the library, if different from the real name.
13018soname_spec=$lt_soname_spec
13019
13020# Command to use after installation of a shared archive.
13021postinstall_cmds=$lt_postinstall_cmds
13022
13023# Command to use after uninstallation of a shared archive.
13024postuninstall_cmds=$lt_postuninstall_cmds
13025
13026# Commands used to finish a libtool library installation in a directory.
13027finish_cmds=$lt_finish_cmds
13028
13029# As "finish_cmds", except a single script fragment to be evaled but
13030# not shown.
13031finish_eval=$lt_finish_eval
13032
13033# Whether we should hardcode library paths into libraries.
13034hardcode_into_libs=$hardcode_into_libs
13035
13036# Compile-time system search path for libraries.
13037sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13038
13039# Run-time system search path for libraries.
13040sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13041
13042# Whether dlopen is supported.
13043dlopen_support=$enable_dlopen
13044
13045# Whether dlopen of programs is supported.
13046dlopen_self=$enable_dlopen_self
13047
13048# Whether dlopen of statically linked programs is supported.
13049dlopen_self_static=$enable_dlopen_self_static
13050
13051# Commands to strip libraries.
13052old_striplib=$lt_old_striplib
13053striplib=$lt_striplib
13054
13055
13056# The linker used to build libraries.
13057LD=$lt_LD
13058
13059# Commands used to build an old-style archive.
13060old_archive_cmds=$lt_old_archive_cmds
13061
13062# A language specific compiler.
13063CC=$lt_compiler
13064
13065# Is the compiler the GNU compiler?
13066with_gcc=$GCC
13067
13068# Compiler flag to turn off builtin functions.
13069no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
13070
13071# How to pass a linker flag through the compiler.
13072wl=$lt_lt_prog_compiler_wl
13073
13074# Additional compiler flags for building library objects.
13075pic_flag=$lt_lt_prog_compiler_pic
13076
13077# Compiler flag to prevent dynamic linking.
13078link_static_flag=$lt_lt_prog_compiler_static
13079
13080# Does compiler simultaneously support -c and -o options?
13081compiler_c_o=$lt_lt_cv_prog_compiler_c_o
13082
13083# Whether or not to add -lc for building shared libraries.
13084build_libtool_need_lc=$archive_cmds_need_lc
13085
13086# Whether or not to disallow shared libs when runtime libs are static.
13087allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
13088
13089# Compiler flag to allow reflexive dlopens.
13090export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
13091
13092# Compiler flag to generate shared objects directly from archives.
13093whole_archive_flag_spec=$lt_whole_archive_flag_spec
13094
13095# Whether the compiler copes with passing no objects directly.
13096compiler_needs_object=$lt_compiler_needs_object
13097
13098# Create an old-style archive from a shared archive.
13099old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
13100
13101# Create a temporary old-style archive to link instead of a shared archive.
13102old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
13103
13104# Commands used to build a shared archive.
13105archive_cmds=$lt_archive_cmds
13106archive_expsym_cmds=$lt_archive_expsym_cmds
13107
13108# Commands used to build a loadable module if different from building
13109# a shared archive.
13110module_cmds=$lt_module_cmds
13111module_expsym_cmds=$lt_module_expsym_cmds
13112
13113# Whether we are building with GNU ld or not.
13114with_gnu_ld=$lt_with_gnu_ld
13115
13116# Flag that allows shared libraries with undefined symbols to be built.
13117allow_undefined_flag=$lt_allow_undefined_flag
13118
13119# Flag that enforces no undefined symbols.
13120no_undefined_flag=$lt_no_undefined_flag
13121
13122# Flag to hardcode \$libdir into a binary during linking.
13123# This must work even if \$libdir does not exist
13124hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
13125
13126# If ld is used when linking, flag to hardcode \$libdir into a binary
13127# during linking.  This must work even if \$libdir does not exist.
13128hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
13129
13130# Whether we need a single "-rpath" flag with a separated argument.
13131hardcode_libdir_separator=$lt_hardcode_libdir_separator
13132
13133# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13134# DIR into the resulting binary.
13135hardcode_direct=$hardcode_direct
13136
13137# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13138# DIR into the resulting binary and the resulting library dependency is
13139# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
13140# library is relocated.
13141hardcode_direct_absolute=$hardcode_direct_absolute
13142
13143# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
13144# into the resulting binary.
13145hardcode_minus_L=$hardcode_minus_L
13146
13147# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
13148# into the resulting binary.
13149hardcode_shlibpath_var=$hardcode_shlibpath_var
13150
13151# Set to "yes" if building a shared library automatically hardcodes DIR
13152# into the library and all subsequent libraries and executables linked
13153# against it.
13154hardcode_automatic=$hardcode_automatic
13155
13156# Set to yes if linker adds runtime paths of dependent libraries
13157# to runtime path list.
13158inherit_rpath=$inherit_rpath
13159
13160# Whether libtool must link a program against all its dependency libraries.
13161link_all_deplibs=$link_all_deplibs
13162
13163# Fix the shell variable \$srcfile for the compiler.
13164fix_srcfile_path=$lt_fix_srcfile_path
13165
13166# Set to "yes" if exported symbols are required.
13167always_export_symbols=$always_export_symbols
13168
13169# The commands to list exported symbols.
13170export_symbols_cmds=$lt_export_symbols_cmds
13171
13172# Symbols that should not be listed in the preloaded symbols.
13173exclude_expsyms=$lt_exclude_expsyms
13174
13175# Symbols that must always be exported.
13176include_expsyms=$lt_include_expsyms
13177
13178# Commands necessary for linking programs (against libraries) with templates.
13179prelink_cmds=$lt_prelink_cmds
13180
13181# Specify filename containing input files.
13182file_list_spec=$lt_file_list_spec
13183
13184# How to hardcode a shared library path into an executable.
13185hardcode_action=$hardcode_action
13186
13187# ### END LIBTOOL CONFIG
13188
13189_LT_EOF
13190
13191  case $host_os in
13192  aix3*)
13193    cat <<\_LT_EOF >> "$cfgfile"
13194# AIX sometimes has problems with the GCC collect2 program.  For some
13195# reason, if we set the COLLECT_NAMES environment variable, the problems
13196# vanish in a puff of smoke.
13197if test "X${COLLECT_NAMES+set}" != Xset; then
13198  COLLECT_NAMES=
13199  export COLLECT_NAMES
13200fi
13201_LT_EOF
13202    ;;
13203  esac
13204
13205
13206ltmain="$ac_aux_dir/ltmain.sh"
13207
13208
13209  # We use sed instead of cat because bash on DJGPP gets confused if
13210  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
13211  # text mode, it properly converts lines to CR/LF.  This bash problem
13212  # is reportedly fixed, but why not run on old versions too?
13213  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
13214    || (rm -f "$cfgfile"; exit 1)
13215
13216  case $xsi_shell in
13217  yes)
13218    cat << \_LT_EOF >> "$cfgfile"
13219
13220# func_dirname file append nondir_replacement
13221# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
13222# otherwise set result to NONDIR_REPLACEMENT.
13223func_dirname ()
13224{
13225  case ${1} in
13226    */*) func_dirname_result="${1%/*}${2}" ;;
13227    *  ) func_dirname_result="${3}" ;;
13228  esac
13229}
13230
13231# func_basename file
13232func_basename ()
13233{
13234  func_basename_result="${1##*/}"
13235}
13236
13237# func_dirname_and_basename file append nondir_replacement
13238# perform func_basename and func_dirname in a single function
13239# call:
13240#   dirname:  Compute the dirname of FILE.  If nonempty,
13241#             add APPEND to the result, otherwise set result
13242#             to NONDIR_REPLACEMENT.
13243#             value returned in "$func_dirname_result"
13244#   basename: Compute filename of FILE.
13245#             value retuned in "$func_basename_result"
13246# Implementation must be kept synchronized with func_dirname
13247# and func_basename. For efficiency, we do not delegate to
13248# those functions but instead duplicate the functionality here.
13249func_dirname_and_basename ()
13250{
13251  case ${1} in
13252    */*) func_dirname_result="${1%/*}${2}" ;;
13253    *  ) func_dirname_result="${3}" ;;
13254  esac
13255  func_basename_result="${1##*/}"
13256}
13257
13258# func_stripname prefix suffix name
13259# strip PREFIX and SUFFIX off of NAME.
13260# PREFIX and SUFFIX must not contain globbing or regex special
13261# characters, hashes, percent signs, but SUFFIX may contain a leading
13262# dot (in which case that matches only a dot).
13263func_stripname ()
13264{
13265  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
13266  # positional parameters, so assign one to ordinary parameter first.
13267  func_stripname_result=${3}
13268  func_stripname_result=${func_stripname_result#"${1}"}
13269  func_stripname_result=${func_stripname_result%"${2}"}
13270}
13271
13272# func_opt_split
13273func_opt_split ()
13274{
13275  func_opt_split_opt=${1%%=*}
13276  func_opt_split_arg=${1#*=}
13277}
13278
13279# func_lo2o object
13280func_lo2o ()
13281{
13282  case ${1} in
13283    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
13284    *)    func_lo2o_result=${1} ;;
13285  esac
13286}
13287
13288# func_xform libobj-or-source
13289func_xform ()
13290{
13291  func_xform_result=${1%.*}.lo
13292}
13293
13294# func_arith arithmetic-term...
13295func_arith ()
13296{
13297  func_arith_result=$(( $* ))
13298}
13299
13300# func_len string
13301# STRING may not start with a hyphen.
13302func_len ()
13303{
13304  func_len_result=${#1}
13305}
13306
13307_LT_EOF
13308    ;;
13309  *) # Bourne compatible functions.
13310    cat << \_LT_EOF >> "$cfgfile"
13311
13312# func_dirname file append nondir_replacement
13313# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
13314# otherwise set result to NONDIR_REPLACEMENT.
13315func_dirname ()
13316{
13317  # Extract subdirectory from the argument.
13318  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
13319  if test "X$func_dirname_result" = "X${1}"; then
13320    func_dirname_result="${3}"
13321  else
13322    func_dirname_result="$func_dirname_result${2}"
13323  fi
13324}
13325
13326# func_basename file
13327func_basename ()
13328{
13329  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
13330}
13331
13332
13333# func_stripname prefix suffix name
13334# strip PREFIX and SUFFIX off of NAME.
13335# PREFIX and SUFFIX must not contain globbing or regex special
13336# characters, hashes, percent signs, but SUFFIX may contain a leading
13337# dot (in which case that matches only a dot).
13338# func_strip_suffix prefix name
13339func_stripname ()
13340{
13341  case ${2} in
13342    .*) func_stripname_result=`$ECHO "X${3}" \
13343           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
13344    *)  func_stripname_result=`$ECHO "X${3}" \
13345           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
13346  esac
13347}
13348
13349# sed scripts:
13350my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
13351my_sed_long_arg='1s/^-[^=]*=//'
13352
13353# func_opt_split
13354func_opt_split ()
13355{
13356  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
13357  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
13358}
13359
13360# func_lo2o object
13361func_lo2o ()
13362{
13363  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
13364}
13365
13366# func_xform libobj-or-source
13367func_xform ()
13368{
13369  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
13370}
13371
13372# func_arith arithmetic-term...
13373func_arith ()
13374{
13375  func_arith_result=`expr "$@"`
13376}
13377
13378# func_len string
13379# STRING may not start with a hyphen.
13380func_len ()
13381{
13382  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
13383}
13384
13385_LT_EOF
13386esac
13387
13388case $lt_shell_append in
13389  yes)
13390    cat << \_LT_EOF >> "$cfgfile"
13391
13392# func_append var value
13393# Append VALUE to the end of shell variable VAR.
13394func_append ()
13395{
13396  eval "$1+=\$2"
13397}
13398_LT_EOF
13399    ;;
13400  *)
13401    cat << \_LT_EOF >> "$cfgfile"
13402
13403# func_append var value
13404# Append VALUE to the end of shell variable VAR.
13405func_append ()
13406{
13407  eval "$1=\$$1\$2"
13408}
13409
13410_LT_EOF
13411    ;;
13412  esac
13413
13414
13415  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
13416    || (rm -f "$cfgfile"; exit 1)
13417
13418  mv -f "$cfgfile" "$ofile" ||
13419    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
13420  chmod +x "$ofile"
13421
13422 ;;
13423
13424  esac
13425done # for ac_tag
13426
13427
13428as_fn_exit 0
13429_ACEOF
13430ac_clean_files=$ac_clean_files_save
13431
13432test $ac_write_fail = 0 ||
13433  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
13434
13435
13436# configure is writing to config.log, and then calls config.status.
13437# config.status does its own redirection, appending to config.log.
13438# Unfortunately, on DOS this fails, as config.log is still kept open
13439# by configure, so config.status won't be able to write to it; its
13440# output is simply discarded.  So we exec the FD to /dev/null,
13441# effectively closing config.log, so it can be properly (re)opened and
13442# appended to by config.status.  When coming back to configure, we
13443# need to make the FD available again.
13444if test "$no_create" != yes; then
13445  ac_cs_success=:
13446  ac_config_status_args=
13447  test "$silent" = yes &&
13448    ac_config_status_args="$ac_config_status_args --quiet"
13449  exec 5>/dev/null
13450  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
13451  exec 5>>config.log
13452  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13453  # would make configure fail if this is the last instruction.
13454  $ac_cs_success || as_fn_exit 1
13455fi
13456if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
13457  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
13458$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
13459fi
13460
13461