1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.67 for fsWalk 0.5.0.
4#
5# Report bugs to <https://sourceforge.net/apps/trac/razorbacktm/>.
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.
94case $0 in #((
95  *[\\/]* ) as_myself=$0 ;;
96  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97for as_dir in $PATH
98do
99  IFS=$as_save_IFS
100  test -z "$as_dir" && as_dir=.
101    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
102  done
103IFS=$as_save_IFS
104
105     ;;
106esac
107# We did not find ourselves, most probably we were run as `sh COMMAND'
108# in which case we are not to be found in the path.
109if test "x$as_myself" = x; then
110  as_myself=$0
111fi
112if test ! -f "$as_myself"; then
113  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114  exit 1
115fi
116
117# Unset variables that we do not need and which cause bugs (e.g. in
118# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
119# suppresses any "Segmentation fault" message there.  '((' could
120# trigger a bug in pdksh 5.2.14.
121for as_var in BASH_ENV ENV MAIL MAILPATH
122do eval test x\${$as_var+set} = xset \
123  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
124done
125PS1='$ '
126PS2='> '
127PS4='+ '
128
129# NLS nuisances.
130LC_ALL=C
131export LC_ALL
132LANGUAGE=C
133export LANGUAGE
134
135# CDPATH.
136(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137
138if test "x$CONFIG_SHELL" = x; then
139  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140  emulate sh
141  NULLCMD=:
142  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143  # is contrary to our usage.  Disable this feature.
144  alias -g '\${1+\"\$@\"}'='\"\$@\"'
145  setopt NO_GLOB_SUBST
146else
147  case \`(set -o) 2>/dev/null\` in #(
148  *posix*) :
149    set -o posix ;; #(
150  *) :
151     ;;
152esac
153fi
154"
155  as_required="as_fn_return () { (exit \$1); }
156as_fn_success () { as_fn_return 0; }
157as_fn_failure () { as_fn_return 1; }
158as_fn_ret_success () { return 0; }
159as_fn_ret_failure () { return 1; }
160
161exitcode=0
162as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167
168else
169  exitcode=1; echo positional parameters were not saved.
170fi
171test x\$exitcode = x0 || exit 1"
172  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176test \$(( 1 + 1 )) = 2 || exit 1"
177  if (eval "$as_required") 2>/dev/null; then :
178  as_have_required=yes
179else
180  as_have_required=no
181fi
182  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
183
184else
185  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
186as_found=false
187for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
188do
189  IFS=$as_save_IFS
190  test -z "$as_dir" && as_dir=.
191  as_found=:
192  case $as_dir in #(
193	 /*)
194	   for as_base in sh bash ksh sh5; do
195	     # Try only shells that exist, to save several forks.
196	     as_shell=$as_dir/$as_base
197	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
199  CONFIG_SHELL=$as_shell as_have_required=yes
200		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
201  break 2
202fi
203fi
204	   done;;
205       esac
206  as_found=false
207done
208$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
210  CONFIG_SHELL=$SHELL as_have_required=yes
211fi; }
212IFS=$as_save_IFS
213
214
215      if test "x$CONFIG_SHELL" != x; then :
216  # We cannot yet assume a decent shell, so we have to provide a
217	# neutralization value for shells without unset; and this also
218	# works around shells that cannot unset nonexistent variables.
219	BASH_ENV=/dev/null
220	ENV=/dev/null
221	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
222	export CONFIG_SHELL
223	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224fi
225
226    if test x$as_have_required = xno; then :
227  $as_echo "$0: This script requires a shell more modern than all"
228  $as_echo "$0: the shells that I found on your system."
229  if test x${ZSH_VERSION+set} = xset ; then
230    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
232  else
233    $as_echo "$0: Please tell bug-autoconf@gnu.org and
234$0: https://sourceforge.net/apps/trac/razorbacktm/ about
235$0: your system, including any error possibly output before
236$0: this message. Then install a modern shell, or manually
237$0: run the script under such a shell if you do have one."
238  fi
239  exit 1
240fi
241fi
242fi
243SHELL=${CONFIG_SHELL-/bin/sh}
244export SHELL
245# Unset more variables known to interfere with behavior of common tools.
246CLICOLOR_FORCE= GREP_OPTIONS=
247unset CLICOLOR_FORCE GREP_OPTIONS
248
249## --------------------- ##
250## M4sh Shell Functions. ##
251## --------------------- ##
252# as_fn_unset VAR
253# ---------------
254# Portably unset VAR.
255as_fn_unset ()
256{
257  { eval $1=; unset $1;}
258}
259as_unset=as_fn_unset
260
261# as_fn_set_status STATUS
262# -----------------------
263# Set $? to STATUS, without forking.
264as_fn_set_status ()
265{
266  return $1
267} # as_fn_set_status
268
269# as_fn_exit STATUS
270# -----------------
271# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
272as_fn_exit ()
273{
274  set +e
275  as_fn_set_status $1
276  exit $1
277} # as_fn_exit
278
279# as_fn_mkdir_p
280# -------------
281# Create "$as_dir" as a directory, including parents if necessary.
282as_fn_mkdir_p ()
283{
284
285  case $as_dir in #(
286  -*) as_dir=./$as_dir;;
287  esac
288  test -d "$as_dir" || eval $as_mkdir_p || {
289    as_dirs=
290    while :; do
291      case $as_dir in #(
292      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
293      *) as_qdir=$as_dir;;
294      esac
295      as_dirs="'$as_qdir' $as_dirs"
296      as_dir=`$as_dirname -- "$as_dir" ||
297$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
298	 X"$as_dir" : 'X\(//\)[^/]' \| \
299	 X"$as_dir" : 'X\(//\)$' \| \
300	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
301$as_echo X"$as_dir" |
302    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
303	    s//\1/
304	    q
305	  }
306	  /^X\(\/\/\)[^/].*/{
307	    s//\1/
308	    q
309	  }
310	  /^X\(\/\/\)$/{
311	    s//\1/
312	    q
313	  }
314	  /^X\(\/\).*/{
315	    s//\1/
316	    q
317	  }
318	  s/.*/./; q'`
319      test -d "$as_dir" && break
320    done
321    test -z "$as_dirs" || eval "mkdir $as_dirs"
322  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
323
324
325} # as_fn_mkdir_p
326# as_fn_append VAR VALUE
327# ----------------------
328# Append the text in VALUE to the end of the definition contained in VAR. Take
329# advantage of any shell optimizations that allow amortized linear growth over
330# repeated appends, instead of the typical quadratic growth present in naive
331# implementations.
332if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
333  eval 'as_fn_append ()
334  {
335    eval $1+=\$2
336  }'
337else
338  as_fn_append ()
339  {
340    eval $1=\$$1\$2
341  }
342fi # as_fn_append
343
344# as_fn_arith ARG...
345# ------------------
346# Perform arithmetic evaluation on the ARGs, and store the result in the
347# global $as_val. Take advantage of shells that can avoid forks. The arguments
348# must be portable across $(()) and expr.
349if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
350  eval 'as_fn_arith ()
351  {
352    as_val=$(( $* ))
353  }'
354else
355  as_fn_arith ()
356  {
357    as_val=`expr "$@" || test $? -eq 1`
358  }
359fi # as_fn_arith
360
361
362# as_fn_error STATUS ERROR [LINENO LOG_FD]
363# ----------------------------------------
364# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
365# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
366# script with STATUS, using 1 if that was 0.
367as_fn_error ()
368{
369  as_status=$1; test $as_status -eq 0 && as_status=1
370  if test "$4"; then
371    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
372    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
373  fi
374  $as_echo "$as_me: error: $2" >&2
375  as_fn_exit $as_status
376} # as_fn_error
377
378if expr a : '\(a\)' >/dev/null 2>&1 &&
379   test "X`expr 00001 : '.*\(...\)'`" = X001; then
380  as_expr=expr
381else
382  as_expr=false
383fi
384
385if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
386  as_basename=basename
387else
388  as_basename=false
389fi
390
391if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
392  as_dirname=dirname
393else
394  as_dirname=false
395fi
396
397as_me=`$as_basename -- "$0" ||
398$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
399	 X"$0" : 'X\(//\)$' \| \
400	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
401$as_echo X/"$0" |
402    sed '/^.*\/\([^/][^/]*\)\/*$/{
403	    s//\1/
404	    q
405	  }
406	  /^X\/\(\/\/\)$/{
407	    s//\1/
408	    q
409	  }
410	  /^X\/\(\/\).*/{
411	    s//\1/
412	    q
413	  }
414	  s/.*/./; q'`
415
416# Avoid depending upon Character Ranges.
417as_cr_letters='abcdefghijklmnopqrstuvwxyz'
418as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
419as_cr_Letters=$as_cr_letters$as_cr_LETTERS
420as_cr_digits='0123456789'
421as_cr_alnum=$as_cr_Letters$as_cr_digits
422
423
424  as_lineno_1=$LINENO as_lineno_1a=$LINENO
425  as_lineno_2=$LINENO as_lineno_2a=$LINENO
426  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
427  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
428  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
429  sed -n '
430    p
431    /[$]LINENO/=
432  ' <$as_myself |
433    sed '
434      s/[$]LINENO.*/&-/
435      t lineno
436      b
437      :lineno
438      N
439      :loop
440      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
441      t loop
442      s/-\n.*//
443    ' >$as_me.lineno &&
444  chmod +x "$as_me.lineno" ||
445    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
446
447  # Don't try to exec as it changes $[0], causing all sort of problems
448  # (the dirname of $[0] is not the place where we might find the
449  # original and so on.  Autoconf is especially sensitive to this).
450  . "./$as_me.lineno"
451  # Exit status is that of the last command.
452  exit
453}
454
455ECHO_C= ECHO_N= ECHO_T=
456case `echo -n x` in #(((((
457-n*)
458  case `echo 'xy\c'` in
459  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
460  xy)  ECHO_C='\c';;
461  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
462       ECHO_T='	';;
463  esac;;
464*)
465  ECHO_N='-n';;
466esac
467
468rm -f conf$$ conf$$.exe conf$$.file
469if test -d conf$$.dir; then
470  rm -f conf$$.dir/conf$$.file
471else
472  rm -f conf$$.dir
473  mkdir conf$$.dir 2>/dev/null
474fi
475if (echo >conf$$.file) 2>/dev/null; then
476  if ln -s conf$$.file conf$$ 2>/dev/null; then
477    as_ln_s='ln -s'
478    # ... but there are two gotchas:
479    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
480    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
481    # In both cases, we have to default to `cp -p'.
482    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
483      as_ln_s='cp -p'
484  elif ln conf$$.file conf$$ 2>/dev/null; then
485    as_ln_s=ln
486  else
487    as_ln_s='cp -p'
488  fi
489else
490  as_ln_s='cp -p'
491fi
492rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
493rmdir conf$$.dir 2>/dev/null
494
495if mkdir -p . 2>/dev/null; then
496  as_mkdir_p='mkdir -p "$as_dir"'
497else
498  test -d ./-p && rmdir ./-p
499  as_mkdir_p=false
500fi
501
502if test -x / >/dev/null 2>&1; then
503  as_test_x='test -x'
504else
505  if ls -dL / >/dev/null 2>&1; then
506    as_ls_L_option=L
507  else
508    as_ls_L_option=
509  fi
510  as_test_x='
511    eval sh -c '\''
512      if test -d "$1"; then
513	test -d "$1/.";
514      else
515	case $1 in #(
516	-*)set "./$1";;
517	esac;
518	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
519	???[sx]*):;;*)false;;esac;fi
520    '\'' sh
521  '
522fi
523as_executable_p=$as_test_x
524
525# Sed expression to map a string onto a valid CPP name.
526as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
527
528# Sed expression to map a string onto a valid variable name.
529as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
530
531
532
533# Check that we are running under the correct shell.
534SHELL=${CONFIG_SHELL-/bin/sh}
535
536case X$lt_ECHO in
537X*--fallback-echo)
538  # Remove one level of quotation (which was required for Make).
539  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
540  ;;
541esac
542
543ECHO=${lt_ECHO-echo}
544if test "X$1" = X--no-reexec; then
545  # Discard the --no-reexec flag, and continue.
546  shift
547elif test "X$1" = X--fallback-echo; then
548  # Avoid inline document here, it may be left over
549  :
550elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
551  # Yippee, $ECHO works!
552  :
553else
554  # Restart under the correct shell.
555  exec $SHELL "$0" --no-reexec ${1+"$@"}
556fi
557
558if test "X$1" = X--fallback-echo; then
559  # used as fallback echo
560  shift
561  cat <<_LT_EOF
562$*
563_LT_EOF
564  exit 0
565fi
566
567# The HP-UX ksh and POSIX shell print the target directory to stdout
568# if CDPATH is set.
569(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
570
571if test -z "$lt_ECHO"; then
572  if test "X${echo_test_string+set}" != Xset; then
573    # find a string as large as possible, as long as the shell can cope with it
574    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
575      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
576      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
577	 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
578      then
579        break
580      fi
581    done
582  fi
583
584  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
585     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
586     test "X$echo_testing_string" = "X$echo_test_string"; then
587    :
588  else
589    # The Solaris, AIX, and Digital Unix default echo programs unquote
590    # backslashes.  This makes it impossible to quote backslashes using
591    #   echo "$something" | sed 's/\\/\\\\/g'
592    #
593    # So, first we look for a working echo in the user's PATH.
594
595    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
596    for dir in $PATH /usr/ucb; do
597      IFS="$lt_save_ifs"
598      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
599         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
600         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
601         test "X$echo_testing_string" = "X$echo_test_string"; then
602        ECHO="$dir/echo"
603        break
604      fi
605    done
606    IFS="$lt_save_ifs"
607
608    if test "X$ECHO" = Xecho; then
609      # We didn't find a better echo, so look for alternatives.
610      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
611         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
612         test "X$echo_testing_string" = "X$echo_test_string"; then
613        # This shell has a builtin print -r that does the trick.
614        ECHO='print -r'
615      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
616	   test "X$CONFIG_SHELL" != X/bin/ksh; then
617        # If we have ksh, try running configure again with it.
618        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
619        export ORIGINAL_CONFIG_SHELL
620        CONFIG_SHELL=/bin/ksh
621        export CONFIG_SHELL
622        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
623      else
624        # Try using printf.
625        ECHO='printf %s\n'
626        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
627	   echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
628	   test "X$echo_testing_string" = "X$echo_test_string"; then
629	  # Cool, printf works
630	  :
631        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
632	     test "X$echo_testing_string" = 'X\t' &&
633	     echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
634	     test "X$echo_testing_string" = "X$echo_test_string"; then
635	  CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
636	  export CONFIG_SHELL
637	  SHELL="$CONFIG_SHELL"
638	  export SHELL
639	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
640        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
641	     test "X$echo_testing_string" = 'X\t' &&
642	     echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
643	     test "X$echo_testing_string" = "X$echo_test_string"; then
644	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
645        else
646	  # maybe with a smaller string...
647	  prev=:
648
649	  for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
650	    if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
651	    then
652	      break
653	    fi
654	    prev="$cmd"
655	  done
656
657	  if test "$prev" != 'sed 50q "$0"'; then
658	    echo_test_string=`eval $prev`
659	    export echo_test_string
660	    exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
661	  else
662	    # Oops.  We lost completely, so just stick with echo.
663	    ECHO=echo
664	  fi
665        fi
666      fi
667    fi
668  fi
669fi
670
671# Copy echo and quote the copy suitably for passing to libtool from
672# the Makefile, instead of quoting the original, which is used later.
673lt_ECHO=$ECHO
674if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
675   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
676fi
677
678
679
680
681test -n "$DJDIR" || exec 7<&0 </dev/null
682exec 6>&1
683
684# Name of the host.
685# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
686# so uname gets run too.
687ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
688
689#
690# Initializations.
691#
692ac_default_prefix=/usr/local
693ac_clean_files=
694ac_config_libobj_dir=.
695LIBOBJS=
696cross_compiling=no
697subdirs=
698MFLAGS=
699MAKEFLAGS=
700
701# Identity of this package.
702PACKAGE_NAME='fsWalk'
703PACKAGE_TARNAME='fsWalk'
704PACKAGE_VERSION='0.5.0'
705PACKAGE_STRING='fsWalk 0.5.0'
706PACKAGE_BUGREPORT='https://sourceforge.net/apps/trac/razorbacktm/'
707PACKAGE_URL=''
708
709ac_unique_file="src/fswalk.c"
710# Factoring default headers for most tests.
711ac_includes_default="\
712#include <stdio.h>
713#ifdef HAVE_SYS_TYPES_H
714# include <sys/types.h>
715#endif
716#ifdef HAVE_SYS_STAT_H
717# include <sys/stat.h>
718#endif
719#ifdef STDC_HEADERS
720# include <stdlib.h>
721# include <stddef.h>
722#else
723# ifdef HAVE_STDLIB_H
724#  include <stdlib.h>
725# endif
726#endif
727#ifdef HAVE_STRING_H
728# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
729#  include <memory.h>
730# endif
731# include <string.h>
732#endif
733#ifdef HAVE_STRINGS_H
734# include <strings.h>
735#endif
736#ifdef HAVE_INTTYPES_H
737# include <inttypes.h>
738#endif
739#ifdef HAVE_STDINT_H
740# include <stdint.h>
741#endif
742#ifdef HAVE_UNISTD_H
743# include <unistd.h>
744#endif"
745
746ac_header_list=
747ac_subst_vars='am__EXEEXT_FALSE
748am__EXEEXT_TRUE
749LTLIBOBJS
750PKGLIBDIR
751XCCFLAGS
752extra_incl
753NUGGET_VERSION
754NUGGET_LIBRARIES
755NUGGET_INCLUDES
756LIBOBJS
757RAZORBACK_LIBS
758RAZORBACK_CFLAGS
759JSON_LIBS
760JSON_CFLAGS
761LIBCONFIG_LIBS
762LIBCONFIG_CFLAGS
763PKG_CONFIG_LIBDIR
764PKG_CONFIG_PATH
765PKG_CONFIG
766LIBEXECDIR
767SYSCONFDIR
768PLATFORM_FREEBSD_FALSE
769PLATFORM_FREEBSD_TRUE
770PLATFORM_LINUX_FALSE
771PLATFORM_LINUX_TRUE
772CPP
773OTOOL64
774OTOOL
775LIPO
776NMEDIT
777DSYMUTIL
778lt_ECHO
779RANLIB
780AR
781OBJDUMP
782LN_S
783NM
784ac_ct_DUMPBIN
785DUMPBIN
786LD
787FGREP
788EGREP
789GREP
790SED
791LIBTOOL
792am__fastdepCC_FALSE
793am__fastdepCC_TRUE
794CCDEPMODE
795AMDEPBACKSLASH
796AMDEP_FALSE
797AMDEP_TRUE
798am__quote
799am__include
800DEPDIR
801OBJEXT
802EXEEXT
803ac_ct_CC
804CPPFLAGS
805LDFLAGS
806CFLAGS
807CC
808host_os
809host_vendor
810host_cpu
811host
812build_os
813build_vendor
814build_cpu
815build
816am__untar
817am__tar
818AMTAR
819am__leading_dot
820SET_MAKE
821AWK
822mkdir_p
823MKDIR_P
824INSTALL_STRIP_PROGRAM
825STRIP
826install_sh
827MAKEINFO
828AUTOHEADER
829AUTOMAKE
830AUTOCONF
831ACLOCAL
832VERSION
833PACKAGE
834CYGPATH_W
835am__isrc
836INSTALL_DATA
837INSTALL_SCRIPT
838INSTALL_PROGRAM
839target_alias
840host_alias
841build_alias
842LIBS
843ECHO_T
844ECHO_N
845ECHO_C
846DEFS
847mandir
848localedir
849libdir
850psdir
851pdfdir
852dvidir
853htmldir
854infodir
855docdir
856oldincludedir
857includedir
858localstatedir
859sharedstatedir
860sysconfdir
861datadir
862datarootdir
863libexecdir
864sbindir
865bindir
866program_transform_name
867prefix
868exec_prefix
869PACKAGE_URL
870PACKAGE_BUGREPORT
871PACKAGE_STRING
872PACKAGE_VERSION
873PACKAGE_TARNAME
874PACKAGE_NAME
875PATH_SEPARATOR
876SHELL'
877ac_subst_files=''
878ac_user_opts='
879enable_option_checking
880enable_dependency_tracking
881enable_shared
882enable_static
883with_pic
884enable_fast_install
885with_gnu_ld
886enable_libtool_lock
887enable_debug
888enable_assert
889enable_unimplemented
890enable_inline
891enable_perf
892enable_profile
893with_with_api
894enable_master_nugget_check
895'
896      ac_precious_vars='build_alias
897host_alias
898target_alias
899CC
900CFLAGS
901LDFLAGS
902LIBS
903CPPFLAGS
904CPP
905PKG_CONFIG
906PKG_CONFIG_PATH
907PKG_CONFIG_LIBDIR
908LIBCONFIG_CFLAGS
909LIBCONFIG_LIBS
910JSON_CFLAGS
911JSON_LIBS
912RAZORBACK_CFLAGS
913RAZORBACK_LIBS'
914
915
916# Initialize some variables set by options.
917ac_init_help=
918ac_init_version=false
919ac_unrecognized_opts=
920ac_unrecognized_sep=
921# The variables have the same names as the options, with
922# dashes changed to underlines.
923cache_file=/dev/null
924exec_prefix=NONE
925no_create=
926no_recursion=
927prefix=NONE
928program_prefix=NONE
929program_suffix=NONE
930program_transform_name=s,x,x,
931silent=
932site=
933srcdir=
934verbose=
935x_includes=NONE
936x_libraries=NONE
937
938# Installation directory options.
939# These are left unexpanded so users can "make install exec_prefix=/foo"
940# and all the variables that are supposed to be based on exec_prefix
941# by default will actually change.
942# Use braces instead of parens because sh, perl, etc. also accept them.
943# (The list follows the same order as the GNU Coding Standards.)
944bindir='${exec_prefix}/bin'
945sbindir='${exec_prefix}/sbin'
946libexecdir='${exec_prefix}/libexec'
947datarootdir='${prefix}/share'
948datadir='${datarootdir}'
949sysconfdir='${prefix}/etc'
950sharedstatedir='${prefix}/com'
951localstatedir='${prefix}/var'
952includedir='${prefix}/include'
953oldincludedir='/usr/include'
954docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
955infodir='${datarootdir}/info'
956htmldir='${docdir}'
957dvidir='${docdir}'
958pdfdir='${docdir}'
959psdir='${docdir}'
960libdir='${exec_prefix}/lib'
961localedir='${datarootdir}/locale'
962mandir='${datarootdir}/man'
963
964ac_prev=
965ac_dashdash=
966for ac_option
967do
968  # If the previous option needs an argument, assign it.
969  if test -n "$ac_prev"; then
970    eval $ac_prev=\$ac_option
971    ac_prev=
972    continue
973  fi
974
975  case $ac_option in
976  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
977  *=)   ac_optarg= ;;
978  *)    ac_optarg=yes ;;
979  esac
980
981  # Accept the important Cygnus configure options, so we can diagnose typos.
982
983  case $ac_dashdash$ac_option in
984  --)
985    ac_dashdash=yes ;;
986
987  -bindir | --bindir | --bindi | --bind | --bin | --bi)
988    ac_prev=bindir ;;
989  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
990    bindir=$ac_optarg ;;
991
992  -build | --build | --buil | --bui | --bu)
993    ac_prev=build_alias ;;
994  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
995    build_alias=$ac_optarg ;;
996
997  -cache-file | --cache-file | --cache-fil | --cache-fi \
998  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
999    ac_prev=cache_file ;;
1000  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1001  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1002    cache_file=$ac_optarg ;;
1003
1004  --config-cache | -C)
1005    cache_file=config.cache ;;
1006
1007  -datadir | --datadir | --datadi | --datad)
1008    ac_prev=datadir ;;
1009  -datadir=* | --datadir=* | --datadi=* | --datad=*)
1010    datadir=$ac_optarg ;;
1011
1012  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1013  | --dataroo | --dataro | --datar)
1014    ac_prev=datarootdir ;;
1015  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1016  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1017    datarootdir=$ac_optarg ;;
1018
1019  -disable-* | --disable-*)
1020    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1021    # Reject names that are not valid shell variable names.
1022    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1023      as_fn_error $? "invalid feature name: $ac_useropt"
1024    ac_useropt_orig=$ac_useropt
1025    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1026    case $ac_user_opts in
1027      *"
1028"enable_$ac_useropt"
1029"*) ;;
1030      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1031	 ac_unrecognized_sep=', ';;
1032    esac
1033    eval enable_$ac_useropt=no ;;
1034
1035  -docdir | --docdir | --docdi | --doc | --do)
1036    ac_prev=docdir ;;
1037  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1038    docdir=$ac_optarg ;;
1039
1040  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1041    ac_prev=dvidir ;;
1042  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1043    dvidir=$ac_optarg ;;
1044
1045  -enable-* | --enable-*)
1046    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1047    # Reject names that are not valid shell variable names.
1048    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1049      as_fn_error $? "invalid feature name: $ac_useropt"
1050    ac_useropt_orig=$ac_useropt
1051    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1052    case $ac_user_opts in
1053      *"
1054"enable_$ac_useropt"
1055"*) ;;
1056      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1057	 ac_unrecognized_sep=', ';;
1058    esac
1059    eval enable_$ac_useropt=\$ac_optarg ;;
1060
1061  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1062  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1063  | --exec | --exe | --ex)
1064    ac_prev=exec_prefix ;;
1065  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1066  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1067  | --exec=* | --exe=* | --ex=*)
1068    exec_prefix=$ac_optarg ;;
1069
1070  -gas | --gas | --ga | --g)
1071    # Obsolete; use --with-gas.
1072    with_gas=yes ;;
1073
1074  -help | --help | --hel | --he | -h)
1075    ac_init_help=long ;;
1076  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1077    ac_init_help=recursive ;;
1078  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1079    ac_init_help=short ;;
1080
1081  -host | --host | --hos | --ho)
1082    ac_prev=host_alias ;;
1083  -host=* | --host=* | --hos=* | --ho=*)
1084    host_alias=$ac_optarg ;;
1085
1086  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1087    ac_prev=htmldir ;;
1088  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1089  | --ht=*)
1090    htmldir=$ac_optarg ;;
1091
1092  -includedir | --includedir | --includedi | --included | --include \
1093  | --includ | --inclu | --incl | --inc)
1094    ac_prev=includedir ;;
1095  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1096  | --includ=* | --inclu=* | --incl=* | --inc=*)
1097    includedir=$ac_optarg ;;
1098
1099  -infodir | --infodir | --infodi | --infod | --info | --inf)
1100    ac_prev=infodir ;;
1101  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1102    infodir=$ac_optarg ;;
1103
1104  -libdir | --libdir | --libdi | --libd)
1105    ac_prev=libdir ;;
1106  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1107    libdir=$ac_optarg ;;
1108
1109  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1110  | --libexe | --libex | --libe)
1111    ac_prev=libexecdir ;;
1112  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1113  | --libexe=* | --libex=* | --libe=*)
1114    libexecdir=$ac_optarg ;;
1115
1116  -localedir | --localedir | --localedi | --localed | --locale)
1117    ac_prev=localedir ;;
1118  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1119    localedir=$ac_optarg ;;
1120
1121  -localstatedir | --localstatedir | --localstatedi | --localstated \
1122  | --localstate | --localstat | --localsta | --localst | --locals)
1123    ac_prev=localstatedir ;;
1124  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1125  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1126    localstatedir=$ac_optarg ;;
1127
1128  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1129    ac_prev=mandir ;;
1130  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1131    mandir=$ac_optarg ;;
1132
1133  -nfp | --nfp | --nf)
1134    # Obsolete; use --without-fp.
1135    with_fp=no ;;
1136
1137  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1138  | --no-cr | --no-c | -n)
1139    no_create=yes ;;
1140
1141  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1142  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1143    no_recursion=yes ;;
1144
1145  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1146  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1147  | --oldin | --oldi | --old | --ol | --o)
1148    ac_prev=oldincludedir ;;
1149  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1150  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1151  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1152    oldincludedir=$ac_optarg ;;
1153
1154  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1155    ac_prev=prefix ;;
1156  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1157    prefix=$ac_optarg ;;
1158
1159  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1160  | --program-pre | --program-pr | --program-p)
1161    ac_prev=program_prefix ;;
1162  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1163  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1164    program_prefix=$ac_optarg ;;
1165
1166  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1167  | --program-suf | --program-su | --program-s)
1168    ac_prev=program_suffix ;;
1169  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1170  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1171    program_suffix=$ac_optarg ;;
1172
1173  -program-transform-name | --program-transform-name \
1174  | --program-transform-nam | --program-transform-na \
1175  | --program-transform-n | --program-transform- \
1176  | --program-transform | --program-transfor \
1177  | --program-transfo | --program-transf \
1178  | --program-trans | --program-tran \
1179  | --progr-tra | --program-tr | --program-t)
1180    ac_prev=program_transform_name ;;
1181  -program-transform-name=* | --program-transform-name=* \
1182  | --program-transform-nam=* | --program-transform-na=* \
1183  | --program-transform-n=* | --program-transform-=* \
1184  | --program-transform=* | --program-transfor=* \
1185  | --program-transfo=* | --program-transf=* \
1186  | --program-trans=* | --program-tran=* \
1187  | --progr-tra=* | --program-tr=* | --program-t=*)
1188    program_transform_name=$ac_optarg ;;
1189
1190  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1191    ac_prev=pdfdir ;;
1192  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1193    pdfdir=$ac_optarg ;;
1194
1195  -psdir | --psdir | --psdi | --psd | --ps)
1196    ac_prev=psdir ;;
1197  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1198    psdir=$ac_optarg ;;
1199
1200  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1201  | -silent | --silent | --silen | --sile | --sil)
1202    silent=yes ;;
1203
1204  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1205    ac_prev=sbindir ;;
1206  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1207  | --sbi=* | --sb=*)
1208    sbindir=$ac_optarg ;;
1209
1210  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1211  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1212  | --sharedst | --shareds | --shared | --share | --shar \
1213  | --sha | --sh)
1214    ac_prev=sharedstatedir ;;
1215  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1216  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1217  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1218  | --sha=* | --sh=*)
1219    sharedstatedir=$ac_optarg ;;
1220
1221  -site | --site | --sit)
1222    ac_prev=site ;;
1223  -site=* | --site=* | --sit=*)
1224    site=$ac_optarg ;;
1225
1226  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1227    ac_prev=srcdir ;;
1228  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1229    srcdir=$ac_optarg ;;
1230
1231  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1232  | --syscon | --sysco | --sysc | --sys | --sy)
1233    ac_prev=sysconfdir ;;
1234  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1235  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1236    sysconfdir=$ac_optarg ;;
1237
1238  -target | --target | --targe | --targ | --tar | --ta | --t)
1239    ac_prev=target_alias ;;
1240  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1241    target_alias=$ac_optarg ;;
1242
1243  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1244    verbose=yes ;;
1245
1246  -version | --version | --versio | --versi | --vers | -V)
1247    ac_init_version=: ;;
1248
1249  -with-* | --with-*)
1250    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1251    # Reject names that are not valid shell variable names.
1252    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1253      as_fn_error $? "invalid package name: $ac_useropt"
1254    ac_useropt_orig=$ac_useropt
1255    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1256    case $ac_user_opts in
1257      *"
1258"with_$ac_useropt"
1259"*) ;;
1260      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1261	 ac_unrecognized_sep=', ';;
1262    esac
1263    eval with_$ac_useropt=\$ac_optarg ;;
1264
1265  -without-* | --without-*)
1266    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1267    # Reject names that are not valid shell variable names.
1268    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1269      as_fn_error $? "invalid package name: $ac_useropt"
1270    ac_useropt_orig=$ac_useropt
1271    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1272    case $ac_user_opts in
1273      *"
1274"with_$ac_useropt"
1275"*) ;;
1276      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1277	 ac_unrecognized_sep=', ';;
1278    esac
1279    eval with_$ac_useropt=no ;;
1280
1281  --x)
1282    # Obsolete; use --with-x.
1283    with_x=yes ;;
1284
1285  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1286  | --x-incl | --x-inc | --x-in | --x-i)
1287    ac_prev=x_includes ;;
1288  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1289  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1290    x_includes=$ac_optarg ;;
1291
1292  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1293  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1294    ac_prev=x_libraries ;;
1295  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1296  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1297    x_libraries=$ac_optarg ;;
1298
1299  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1300Try \`$0 --help' for more information"
1301    ;;
1302
1303  *=*)
1304    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1305    # Reject names that are not valid shell variable names.
1306    case $ac_envvar in #(
1307      '' | [0-9]* | *[!_$as_cr_alnum]* )
1308      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1309    esac
1310    eval $ac_envvar=\$ac_optarg
1311    export $ac_envvar ;;
1312
1313  *)
1314    # FIXME: should be removed in autoconf 3.0.
1315    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1316    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1317      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1318    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1319    ;;
1320
1321  esac
1322done
1323
1324if test -n "$ac_prev"; then
1325  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1326  as_fn_error $? "missing argument to $ac_option"
1327fi
1328
1329if test -n "$ac_unrecognized_opts"; then
1330  case $enable_option_checking in
1331    no) ;;
1332    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1333    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1334  esac
1335fi
1336
1337# Check all directory arguments for consistency.
1338for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1339		datadir sysconfdir sharedstatedir localstatedir includedir \
1340		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1341		libdir localedir mandir
1342do
1343  eval ac_val=\$$ac_var
1344  # Remove trailing slashes.
1345  case $ac_val in
1346    */ )
1347      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1348      eval $ac_var=\$ac_val;;
1349  esac
1350  # Be sure to have absolute directory names.
1351  case $ac_val in
1352    [\\/$]* | ?:[\\/]* )  continue;;
1353    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1354  esac
1355  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1356done
1357
1358# There might be people who depend on the old broken behavior: `$host'
1359# used to hold the argument of --host etc.
1360# FIXME: To remove some day.
1361build=$build_alias
1362host=$host_alias
1363target=$target_alias
1364
1365# FIXME: To remove some day.
1366if test "x$host_alias" != x; then
1367  if test "x$build_alias" = x; then
1368    cross_compiling=maybe
1369    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1370    If a cross compiler is detected then cross compile mode will be used" >&2
1371  elif test "x$build_alias" != "x$host_alias"; then
1372    cross_compiling=yes
1373  fi
1374fi
1375
1376ac_tool_prefix=
1377test -n "$host_alias" && ac_tool_prefix=$host_alias-
1378
1379test "$silent" = yes && exec 6>/dev/null
1380
1381
1382ac_pwd=`pwd` && test -n "$ac_pwd" &&
1383ac_ls_di=`ls -di .` &&
1384ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1385  as_fn_error $? "working directory cannot be determined"
1386test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1387  as_fn_error $? "pwd does not report name of working directory"
1388
1389
1390# Find the source files, if location was not specified.
1391if test -z "$srcdir"; then
1392  ac_srcdir_defaulted=yes
1393  # Try the directory containing this script, then the parent directory.
1394  ac_confdir=`$as_dirname -- "$as_myself" ||
1395$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1396	 X"$as_myself" : 'X\(//\)[^/]' \| \
1397	 X"$as_myself" : 'X\(//\)$' \| \
1398	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1399$as_echo X"$as_myself" |
1400    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1401	    s//\1/
1402	    q
1403	  }
1404	  /^X\(\/\/\)[^/].*/{
1405	    s//\1/
1406	    q
1407	  }
1408	  /^X\(\/\/\)$/{
1409	    s//\1/
1410	    q
1411	  }
1412	  /^X\(\/\).*/{
1413	    s//\1/
1414	    q
1415	  }
1416	  s/.*/./; q'`
1417  srcdir=$ac_confdir
1418  if test ! -r "$srcdir/$ac_unique_file"; then
1419    srcdir=..
1420  fi
1421else
1422  ac_srcdir_defaulted=no
1423fi
1424if test ! -r "$srcdir/$ac_unique_file"; then
1425  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1426  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1427fi
1428ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1429ac_abs_confdir=`(
1430	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1431	pwd)`
1432# When building in place, set srcdir=.
1433if test "$ac_abs_confdir" = "$ac_pwd"; then
1434  srcdir=.
1435fi
1436# Remove unnecessary trailing slashes from srcdir.
1437# Double slashes in file names in object file debugging info
1438# mess up M-x gdb in Emacs.
1439case $srcdir in
1440*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1441esac
1442for ac_var in $ac_precious_vars; do
1443  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1444  eval ac_env_${ac_var}_value=\$${ac_var}
1445  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1446  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1447done
1448
1449#
1450# Report the --help message.
1451#
1452if test "$ac_init_help" = "long"; then
1453  # Omit some internal or obsolete options to make the list less imposing.
1454  # This message is too long to be a string in the A/UX 3.1 sh.
1455  cat <<_ACEOF
1456\`configure' configures fsWalk 0.5.0 to adapt to many kinds of systems.
1457
1458Usage: $0 [OPTION]... [VAR=VALUE]...
1459
1460To assign environment variables (e.g., CC, CFLAGS...), specify them as
1461VAR=VALUE.  See below for descriptions of some of the useful variables.
1462
1463Defaults for the options are specified in brackets.
1464
1465Configuration:
1466  -h, --help              display this help and exit
1467      --help=short        display options specific to this package
1468      --help=recursive    display the short help of all the included packages
1469  -V, --version           display version information and exit
1470  -q, --quiet, --silent   do not print \`checking ...' messages
1471      --cache-file=FILE   cache test results in FILE [disabled]
1472  -C, --config-cache      alias for \`--cache-file=config.cache'
1473  -n, --no-create         do not create output files
1474      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1475
1476Installation directories:
1477  --prefix=PREFIX         install architecture-independent files in PREFIX
1478                          [$ac_default_prefix]
1479  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1480                          [PREFIX]
1481
1482By default, \`make install' will install all the files in
1483\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1484an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1485for instance \`--prefix=\$HOME'.
1486
1487For better control, use the options below.
1488
1489Fine tuning of the installation directories:
1490  --bindir=DIR            user executables [EPREFIX/bin]
1491  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1492  --libexecdir=DIR        program executables [EPREFIX/libexec]
1493  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1494  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1495  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1496  --libdir=DIR            object code libraries [EPREFIX/lib]
1497  --includedir=DIR        C header files [PREFIX/include]
1498  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1499  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1500  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1501  --infodir=DIR           info documentation [DATAROOTDIR/info]
1502  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1503  --mandir=DIR            man documentation [DATAROOTDIR/man]
1504  --docdir=DIR            documentation root [DATAROOTDIR/doc/fsWalk]
1505  --htmldir=DIR           html documentation [DOCDIR]
1506  --dvidir=DIR            dvi documentation [DOCDIR]
1507  --pdfdir=DIR            pdf documentation [DOCDIR]
1508  --psdir=DIR             ps documentation [DOCDIR]
1509_ACEOF
1510
1511  cat <<\_ACEOF
1512
1513Program names:
1514  --program-prefix=PREFIX            prepend PREFIX to installed program names
1515  --program-suffix=SUFFIX            append SUFFIX to installed program names
1516  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1517
1518System types:
1519  --build=BUILD     configure for building on BUILD [guessed]
1520  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1521_ACEOF
1522fi
1523
1524if test -n "$ac_init_help"; then
1525  case $ac_init_help in
1526     short | recursive ) echo "Configuration of fsWalk 0.5.0:";;
1527   esac
1528  cat <<\_ACEOF
1529
1530Optional Features:
1531  --disable-option-checking  ignore unrecognized --enable/--with options
1532  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1533  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1534  --disable-dependency-tracking  speeds up one-time build
1535  --enable-dependency-tracking   do not reject slow dependency extractors
1536  --enable-shared[=PKGS]  build shared libraries [default=yes]
1537  --enable-static[=PKGS]  build static libraries [default=yes]
1538  --enable-fast-install[=PKGS]
1539                          optimize for fast installation [default=yes]
1540  --disable-libtool-lock  avoid locking (might break parallel builds)
1541  --enable-debug          Enable debug build options
1542  --enable-assert         Enable assert build options
1543  --enable-unimplemented  Enable unimplemented asserts options
1544  --disable-inline        Do not use inline functions
1545  --disable-perf          Disable performance statistics
1546  --enable-profile        Enable profile build options
1547  --disable-master-nugget-check
1548                          Do not check for the presence of master_nugget even
1549                          if its required.
1550
1551Optional Packages:
1552  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1553  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1554  --with-pic              try to use only PIC/non-PIC objects [default=use
1555                          both]
1556  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1557  --with-api              Location of the API
1558
1559Some influential environment variables:
1560  CC          C compiler command
1561  CFLAGS      C compiler flags
1562  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1563              nonstandard directory <lib dir>
1564  LIBS        libraries to pass to the linker, e.g. -l<library>
1565  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1566              you have headers in a nonstandard directory <include dir>
1567  CPP         C preprocessor
1568  PKG_CONFIG  path to pkg-config utility
1569  PKG_CONFIG_PATH
1570              directories to add to pkg-config's search path
1571  PKG_CONFIG_LIBDIR
1572              path overriding pkg-config's built-in search path
1573  LIBCONFIG_CFLAGS
1574              C compiler flags for LIBCONFIG, overriding pkg-config
1575  LIBCONFIG_LIBS
1576              linker flags for LIBCONFIG, overriding pkg-config
1577  JSON_CFLAGS C compiler flags for JSON, overriding pkg-config
1578  JSON_LIBS   linker flags for JSON, overriding pkg-config
1579  RAZORBACK_CFLAGS
1580              C compiler flags for RAZORBACK, overriding pkg-config
1581  RAZORBACK_LIBS
1582              linker flags for RAZORBACK, overriding pkg-config
1583
1584Use these variables to override the choices made by `configure' or to help
1585it to find libraries and programs with nonstandard names/locations.
1586
1587Report bugs to <https://sourceforge.net/apps/trac/razorbacktm/>.
1588_ACEOF
1589ac_status=$?
1590fi
1591
1592if test "$ac_init_help" = "recursive"; then
1593  # If there are subdirs, report their specific --help.
1594  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1595    test -d "$ac_dir" ||
1596      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1597      continue
1598    ac_builddir=.
1599
1600case "$ac_dir" in
1601.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1602*)
1603  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1604  # A ".." for each directory in $ac_dir_suffix.
1605  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1606  case $ac_top_builddir_sub in
1607  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1608  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1609  esac ;;
1610esac
1611ac_abs_top_builddir=$ac_pwd
1612ac_abs_builddir=$ac_pwd$ac_dir_suffix
1613# for backward compatibility:
1614ac_top_builddir=$ac_top_build_prefix
1615
1616case $srcdir in
1617  .)  # We are building in place.
1618    ac_srcdir=.
1619    ac_top_srcdir=$ac_top_builddir_sub
1620    ac_abs_top_srcdir=$ac_pwd ;;
1621  [\\/]* | ?:[\\/]* )  # Absolute name.
1622    ac_srcdir=$srcdir$ac_dir_suffix;
1623    ac_top_srcdir=$srcdir
1624    ac_abs_top_srcdir=$srcdir ;;
1625  *) # Relative name.
1626    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1627    ac_top_srcdir=$ac_top_build_prefix$srcdir
1628    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1629esac
1630ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1631
1632    cd "$ac_dir" || { ac_status=$?; continue; }
1633    # Check for guested configure.
1634    if test -f "$ac_srcdir/configure.gnu"; then
1635      echo &&
1636      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1637    elif test -f "$ac_srcdir/configure"; then
1638      echo &&
1639      $SHELL "$ac_srcdir/configure" --help=recursive
1640    else
1641      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1642    fi || ac_status=$?
1643    cd "$ac_pwd" || { ac_status=$?; break; }
1644  done
1645fi
1646
1647test -n "$ac_init_help" && exit $ac_status
1648if $ac_init_version; then
1649  cat <<\_ACEOF
1650fsWalk configure 0.5.0
1651generated by GNU Autoconf 2.67
1652
1653Copyright (C) 2010 Free Software Foundation, Inc.
1654This configure script is free software; the Free Software Foundation
1655gives unlimited permission to copy, distribute and modify it.
1656_ACEOF
1657  exit
1658fi
1659
1660## ------------------------ ##
1661## Autoconf initialization. ##
1662## ------------------------ ##
1663
1664# ac_fn_c_try_compile LINENO
1665# --------------------------
1666# Try to compile conftest.$ac_ext, and return whether this succeeded.
1667ac_fn_c_try_compile ()
1668{
1669  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1670  rm -f conftest.$ac_objext
1671  if { { ac_try="$ac_compile"
1672case "(($ac_try" in
1673  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1674  *) ac_try_echo=$ac_try;;
1675esac
1676eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1677$as_echo "$ac_try_echo"; } >&5
1678  (eval "$ac_compile") 2>conftest.err
1679  ac_status=$?
1680  if test -s conftest.err; then
1681    grep -v '^ *+' conftest.err >conftest.er1
1682    cat conftest.er1 >&5
1683    mv -f conftest.er1 conftest.err
1684  fi
1685  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1686  test $ac_status = 0; } && {
1687	 test -z "$ac_c_werror_flag" ||
1688	 test ! -s conftest.err
1689       } && test -s conftest.$ac_objext; then :
1690  ac_retval=0
1691else
1692  $as_echo "$as_me: failed program was:" >&5
1693sed 's/^/| /' conftest.$ac_ext >&5
1694
1695	ac_retval=1
1696fi
1697  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1698  as_fn_set_status $ac_retval
1699
1700} # ac_fn_c_try_compile
1701
1702# ac_fn_c_try_link LINENO
1703# -----------------------
1704# Try to link conftest.$ac_ext, and return whether this succeeded.
1705ac_fn_c_try_link ()
1706{
1707  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1708  rm -f conftest.$ac_objext conftest$ac_exeext
1709  if { { ac_try="$ac_link"
1710case "(($ac_try" in
1711  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1712  *) ac_try_echo=$ac_try;;
1713esac
1714eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1715$as_echo "$ac_try_echo"; } >&5
1716  (eval "$ac_link") 2>conftest.err
1717  ac_status=$?
1718  if test -s conftest.err; then
1719    grep -v '^ *+' conftest.err >conftest.er1
1720    cat conftest.er1 >&5
1721    mv -f conftest.er1 conftest.err
1722  fi
1723  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1724  test $ac_status = 0; } && {
1725	 test -z "$ac_c_werror_flag" ||
1726	 test ! -s conftest.err
1727       } && test -s conftest$ac_exeext && {
1728	 test "$cross_compiling" = yes ||
1729	 $as_test_x conftest$ac_exeext
1730       }; then :
1731  ac_retval=0
1732else
1733  $as_echo "$as_me: failed program was:" >&5
1734sed 's/^/| /' conftest.$ac_ext >&5
1735
1736	ac_retval=1
1737fi
1738  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1739  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1740  # interfere with the next link command; also delete a directory that is
1741  # left behind by Apple's compiler.  We do this before executing the actions.
1742  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1743  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1744  as_fn_set_status $ac_retval
1745
1746} # ac_fn_c_try_link
1747
1748# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1749# -------------------------------------------------------
1750# Tests whether HEADER exists and can be compiled using the include files in
1751# INCLUDES, setting the cache variable VAR accordingly.
1752ac_fn_c_check_header_compile ()
1753{
1754  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1755  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1756$as_echo_n "checking for $2... " >&6; }
1757if eval "test \"\${$3+set}\"" = set; then :
1758  $as_echo_n "(cached) " >&6
1759else
1760  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1761/* end confdefs.h.  */
1762$4
1763#include <$2>
1764_ACEOF
1765if ac_fn_c_try_compile "$LINENO"; then :
1766  eval "$3=yes"
1767else
1768  eval "$3=no"
1769fi
1770rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1771fi
1772eval ac_res=\$$3
1773	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1774$as_echo "$ac_res" >&6; }
1775  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1776
1777} # ac_fn_c_check_header_compile
1778
1779# ac_fn_c_try_cpp LINENO
1780# ----------------------
1781# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1782ac_fn_c_try_cpp ()
1783{
1784  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1785  if { { ac_try="$ac_cpp conftest.$ac_ext"
1786case "(($ac_try" in
1787  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1788  *) ac_try_echo=$ac_try;;
1789esac
1790eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1791$as_echo "$ac_try_echo"; } >&5
1792  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1793  ac_status=$?
1794  if test -s conftest.err; then
1795    grep -v '^ *+' conftest.err >conftest.er1
1796    cat conftest.er1 >&5
1797    mv -f conftest.er1 conftest.err
1798  fi
1799  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1800  test $ac_status = 0; } > conftest.i && {
1801	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1802	 test ! -s conftest.err
1803       }; then :
1804  ac_retval=0
1805else
1806  $as_echo "$as_me: failed program was:" >&5
1807sed 's/^/| /' conftest.$ac_ext >&5
1808
1809    ac_retval=1
1810fi
1811  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1812  as_fn_set_status $ac_retval
1813
1814} # ac_fn_c_try_cpp
1815
1816# ac_fn_c_try_run LINENO
1817# ----------------------
1818# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1819# that executables *can* be run.
1820ac_fn_c_try_run ()
1821{
1822  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1823  if { { ac_try="$ac_link"
1824case "(($ac_try" in
1825  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1826  *) ac_try_echo=$ac_try;;
1827esac
1828eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1829$as_echo "$ac_try_echo"; } >&5
1830  (eval "$ac_link") 2>&5
1831  ac_status=$?
1832  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1833  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1834  { { case "(($ac_try" in
1835  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1836  *) ac_try_echo=$ac_try;;
1837esac
1838eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1839$as_echo "$ac_try_echo"; } >&5
1840  (eval "$ac_try") 2>&5
1841  ac_status=$?
1842  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1843  test $ac_status = 0; }; }; then :
1844  ac_retval=0
1845else
1846  $as_echo "$as_me: program exited with status $ac_status" >&5
1847       $as_echo "$as_me: failed program was:" >&5
1848sed 's/^/| /' conftest.$ac_ext >&5
1849
1850       ac_retval=$ac_status
1851fi
1852  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1853  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1854  as_fn_set_status $ac_retval
1855
1856} # ac_fn_c_try_run
1857
1858# ac_fn_c_check_func LINENO FUNC VAR
1859# ----------------------------------
1860# Tests whether FUNC exists, setting the cache variable VAR accordingly
1861ac_fn_c_check_func ()
1862{
1863  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1864  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1865$as_echo_n "checking for $2... " >&6; }
1866if eval "test \"\${$3+set}\"" = set; then :
1867  $as_echo_n "(cached) " >&6
1868else
1869  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1870/* end confdefs.h.  */
1871/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1872   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1873#define $2 innocuous_$2
1874
1875/* System header to define __stub macros and hopefully few prototypes,
1876    which can conflict with char $2 (); below.
1877    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1878    <limits.h> exists even on freestanding compilers.  */
1879
1880#ifdef __STDC__
1881# include <limits.h>
1882#else
1883# include <assert.h>
1884#endif
1885
1886#undef $2
1887
1888/* Override any GCC internal prototype to avoid an error.
1889   Use char because int might match the return type of a GCC
1890   builtin and then its argument prototype would still apply.  */
1891#ifdef __cplusplus
1892extern "C"
1893#endif
1894char $2 ();
1895/* The GNU C library defines this for functions which it implements
1896    to always fail with ENOSYS.  Some functions are actually named
1897    something starting with __ and the normal name is an alias.  */
1898#if defined __stub_$2 || defined __stub___$2
1899choke me
1900#endif
1901
1902int
1903main ()
1904{
1905return $2 ();
1906  ;
1907  return 0;
1908}
1909_ACEOF
1910if ac_fn_c_try_link "$LINENO"; then :
1911  eval "$3=yes"
1912else
1913  eval "$3=no"
1914fi
1915rm -f core conftest.err conftest.$ac_objext \
1916    conftest$ac_exeext conftest.$ac_ext
1917fi
1918eval ac_res=\$$3
1919	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1920$as_echo "$ac_res" >&6; }
1921  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1922
1923} # ac_fn_c_check_func
1924
1925# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1926# -------------------------------------------------------
1927# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1928# the include files in INCLUDES and setting the cache variable VAR
1929# accordingly.
1930ac_fn_c_check_header_mongrel ()
1931{
1932  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1933  if eval "test \"\${$3+set}\"" = set; then :
1934  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1935$as_echo_n "checking for $2... " >&6; }
1936if eval "test \"\${$3+set}\"" = set; then :
1937  $as_echo_n "(cached) " >&6
1938fi
1939eval ac_res=\$$3
1940	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1941$as_echo "$ac_res" >&6; }
1942else
1943  # Is the header compilable?
1944{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1945$as_echo_n "checking $2 usability... " >&6; }
1946cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1947/* end confdefs.h.  */
1948$4
1949#include <$2>
1950_ACEOF
1951if ac_fn_c_try_compile "$LINENO"; then :
1952  ac_header_compiler=yes
1953else
1954  ac_header_compiler=no
1955fi
1956rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1957{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1958$as_echo "$ac_header_compiler" >&6; }
1959
1960# Is the header present?
1961{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1962$as_echo_n "checking $2 presence... " >&6; }
1963cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1964/* end confdefs.h.  */
1965#include <$2>
1966_ACEOF
1967if ac_fn_c_try_cpp "$LINENO"; then :
1968  ac_header_preproc=yes
1969else
1970  ac_header_preproc=no
1971fi
1972rm -f conftest.err conftest.i conftest.$ac_ext
1973{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1974$as_echo "$ac_header_preproc" >&6; }
1975
1976# So?  What about this header?
1977case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1978  yes:no: )
1979    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1980$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1981    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1982$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1983    ;;
1984  no:yes:* )
1985    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1986$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1987    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1988$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1989    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1990$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1991    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1992$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1993    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1994$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1995( $as_echo "## ------------------------------------------------------------- ##
1996## Report this to https://sourceforge.net/apps/trac/razorbacktm/ ##
1997## ------------------------------------------------------------- ##"
1998     ) | sed "s/^/$as_me: WARNING:     /" >&2
1999    ;;
2000esac
2001  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2002$as_echo_n "checking for $2... " >&6; }
2003if eval "test \"\${$3+set}\"" = set; then :
2004  $as_echo_n "(cached) " >&6
2005else
2006  eval "$3=\$ac_header_compiler"
2007fi
2008eval ac_res=\$$3
2009	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2010$as_echo "$ac_res" >&6; }
2011fi
2012  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2013
2014} # ac_fn_c_check_header_mongrel
2015
2016# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2017# -------------------------------------------
2018# Tests whether TYPE exists after having included INCLUDES, setting cache
2019# variable VAR accordingly.
2020ac_fn_c_check_type ()
2021{
2022  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2023  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2024$as_echo_n "checking for $2... " >&6; }
2025if eval "test \"\${$3+set}\"" = set; then :
2026  $as_echo_n "(cached) " >&6
2027else
2028  eval "$3=no"
2029  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2030/* end confdefs.h.  */
2031$4
2032int
2033main ()
2034{
2035if (sizeof ($2))
2036	 return 0;
2037  ;
2038  return 0;
2039}
2040_ACEOF
2041if ac_fn_c_try_compile "$LINENO"; then :
2042  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2043/* end confdefs.h.  */
2044$4
2045int
2046main ()
2047{
2048if (sizeof (($2)))
2049	    return 0;
2050  ;
2051  return 0;
2052}
2053_ACEOF
2054if ac_fn_c_try_compile "$LINENO"; then :
2055
2056else
2057  eval "$3=yes"
2058fi
2059rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2060fi
2061rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2062fi
2063eval ac_res=\$$3
2064	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2065$as_echo "$ac_res" >&6; }
2066  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2067
2068} # ac_fn_c_check_type
2069
2070# ac_fn_c_find_uintX_t LINENO BITS VAR
2071# ------------------------------------
2072# Finds an unsigned integer type with width BITS, setting cache variable VAR
2073# accordingly.
2074ac_fn_c_find_uintX_t ()
2075{
2076  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2077  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
2078$as_echo_n "checking for uint$2_t... " >&6; }
2079if eval "test \"\${$3+set}\"" = set; then :
2080  $as_echo_n "(cached) " >&6
2081else
2082  eval "$3=no"
2083     # Order is important - never check a type that is potentially smaller
2084     # than half of the expected target width.
2085     for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
2086	 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
2087       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2088/* end confdefs.h.  */
2089$ac_includes_default
2090int
2091main ()
2092{
2093static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
2094test_array [0] = 0
2095
2096  ;
2097  return 0;
2098}
2099_ACEOF
2100if ac_fn_c_try_compile "$LINENO"; then :
2101  case $ac_type in #(
2102  uint$2_t) :
2103    eval "$3=yes" ;; #(
2104  *) :
2105    eval "$3=\$ac_type" ;;
2106esac
2107fi
2108rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2109       if eval test \"x\$"$3"\" = x"no"; then :
2110
2111else
2112  break
2113fi
2114     done
2115fi
2116eval ac_res=\$$3
2117	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2118$as_echo "$ac_res" >&6; }
2119  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2120
2121} # ac_fn_c_find_uintX_t
2122cat >config.log <<_ACEOF
2123This file contains any messages produced by compilers while
2124running configure, to aid debugging if configure makes a mistake.
2125
2126It was created by fsWalk $as_me 0.5.0, which was
2127generated by GNU Autoconf 2.67.  Invocation command line was
2128
2129  $ $0 $@
2130
2131_ACEOF
2132exec 5>>config.log
2133{
2134cat <<_ASUNAME
2135## --------- ##
2136## Platform. ##
2137## --------- ##
2138
2139hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2140uname -m = `(uname -m) 2>/dev/null || echo unknown`
2141uname -r = `(uname -r) 2>/dev/null || echo unknown`
2142uname -s = `(uname -s) 2>/dev/null || echo unknown`
2143uname -v = `(uname -v) 2>/dev/null || echo unknown`
2144
2145/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2146/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2147
2148/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2149/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2150/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2151/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2152/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2153/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2154/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2155
2156_ASUNAME
2157
2158as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2159for as_dir in $PATH
2160do
2161  IFS=$as_save_IFS
2162  test -z "$as_dir" && as_dir=.
2163    $as_echo "PATH: $as_dir"
2164  done
2165IFS=$as_save_IFS
2166
2167} >&5
2168
2169cat >&5 <<_ACEOF
2170
2171
2172## ----------- ##
2173## Core tests. ##
2174## ----------- ##
2175
2176_ACEOF
2177
2178
2179# Keep a trace of the command line.
2180# Strip out --no-create and --no-recursion so they do not pile up.
2181# Strip out --silent because we don't want to record it for future runs.
2182# Also quote any args containing shell meta-characters.
2183# Make two passes to allow for proper duplicate-argument suppression.
2184ac_configure_args=
2185ac_configure_args0=
2186ac_configure_args1=
2187ac_must_keep_next=false
2188for ac_pass in 1 2
2189do
2190  for ac_arg
2191  do
2192    case $ac_arg in
2193    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2194    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2195    | -silent | --silent | --silen | --sile | --sil)
2196      continue ;;
2197    *\'*)
2198      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2199    esac
2200    case $ac_pass in
2201    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2202    2)
2203      as_fn_append ac_configure_args1 " '$ac_arg'"
2204      if test $ac_must_keep_next = true; then
2205	ac_must_keep_next=false # Got value, back to normal.
2206      else
2207	case $ac_arg in
2208	  *=* | --config-cache | -C | -disable-* | --disable-* \
2209	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2210	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2211	  | -with-* | --with-* | -without-* | --without-* | --x)
2212	    case "$ac_configure_args0 " in
2213	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2214	    esac
2215	    ;;
2216	  -* ) ac_must_keep_next=true ;;
2217	esac
2218      fi
2219      as_fn_append ac_configure_args " '$ac_arg'"
2220      ;;
2221    esac
2222  done
2223done
2224{ ac_configure_args0=; unset ac_configure_args0;}
2225{ ac_configure_args1=; unset ac_configure_args1;}
2226
2227# When interrupted or exit'd, cleanup temporary files, and complete
2228# config.log.  We remove comments because anyway the quotes in there
2229# would cause problems or look ugly.
2230# WARNING: Use '\'' to represent an apostrophe within the trap.
2231# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2232trap 'exit_status=$?
2233  # Save into config.log some information that might help in debugging.
2234  {
2235    echo
2236
2237    $as_echo "## ---------------- ##
2238## Cache variables. ##
2239## ---------------- ##"
2240    echo
2241    # The following way of writing the cache mishandles newlines in values,
2242(
2243  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2244    eval ac_val=\$$ac_var
2245    case $ac_val in #(
2246    *${as_nl}*)
2247      case $ac_var in #(
2248      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2249$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2250      esac
2251      case $ac_var in #(
2252      _ | IFS | as_nl) ;; #(
2253      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2254      *) { eval $ac_var=; unset $ac_var;} ;;
2255      esac ;;
2256    esac
2257  done
2258  (set) 2>&1 |
2259    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2260    *${as_nl}ac_space=\ *)
2261      sed -n \
2262	"s/'\''/'\''\\\\'\'''\''/g;
2263	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2264      ;; #(
2265    *)
2266      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2267      ;;
2268    esac |
2269    sort
2270)
2271    echo
2272
2273    $as_echo "## ----------------- ##
2274## Output variables. ##
2275## ----------------- ##"
2276    echo
2277    for ac_var in $ac_subst_vars
2278    do
2279      eval ac_val=\$$ac_var
2280      case $ac_val in
2281      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2282      esac
2283      $as_echo "$ac_var='\''$ac_val'\''"
2284    done | sort
2285    echo
2286
2287    if test -n "$ac_subst_files"; then
2288      $as_echo "## ------------------- ##
2289## File substitutions. ##
2290## ------------------- ##"
2291      echo
2292      for ac_var in $ac_subst_files
2293      do
2294	eval ac_val=\$$ac_var
2295	case $ac_val in
2296	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2297	esac
2298	$as_echo "$ac_var='\''$ac_val'\''"
2299      done | sort
2300      echo
2301    fi
2302
2303    if test -s confdefs.h; then
2304      $as_echo "## ----------- ##
2305## confdefs.h. ##
2306## ----------- ##"
2307      echo
2308      cat confdefs.h
2309      echo
2310    fi
2311    test "$ac_signal" != 0 &&
2312      $as_echo "$as_me: caught signal $ac_signal"
2313    $as_echo "$as_me: exit $exit_status"
2314  } >&5
2315  rm -f core *.core core.conftest.* &&
2316    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2317    exit $exit_status
2318' 0
2319for ac_signal in 1 2 13 15; do
2320  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2321done
2322ac_signal=0
2323
2324# confdefs.h avoids OS command line length limits that DEFS can exceed.
2325rm -f -r conftest* confdefs.h
2326
2327$as_echo "/* confdefs.h */" > confdefs.h
2328
2329# Predefined preprocessor variables.
2330
2331cat >>confdefs.h <<_ACEOF
2332#define PACKAGE_NAME "$PACKAGE_NAME"
2333_ACEOF
2334
2335cat >>confdefs.h <<_ACEOF
2336#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2337_ACEOF
2338
2339cat >>confdefs.h <<_ACEOF
2340#define PACKAGE_VERSION "$PACKAGE_VERSION"
2341_ACEOF
2342
2343cat >>confdefs.h <<_ACEOF
2344#define PACKAGE_STRING "$PACKAGE_STRING"
2345_ACEOF
2346
2347cat >>confdefs.h <<_ACEOF
2348#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2349_ACEOF
2350
2351cat >>confdefs.h <<_ACEOF
2352#define PACKAGE_URL "$PACKAGE_URL"
2353_ACEOF
2354
2355
2356# Let the site file select an alternate cache file if it wants to.
2357# Prefer an explicitly selected file to automatically selected ones.
2358ac_site_file1=NONE
2359ac_site_file2=NONE
2360if test -n "$CONFIG_SITE"; then
2361  # We do not want a PATH search for config.site.
2362  case $CONFIG_SITE in #((
2363    -*)  ac_site_file1=./$CONFIG_SITE;;
2364    */*) ac_site_file1=$CONFIG_SITE;;
2365    *)   ac_site_file1=./$CONFIG_SITE;;
2366  esac
2367elif test "x$prefix" != xNONE; then
2368  ac_site_file1=$prefix/share/config.site
2369  ac_site_file2=$prefix/etc/config.site
2370else
2371  ac_site_file1=$ac_default_prefix/share/config.site
2372  ac_site_file2=$ac_default_prefix/etc/config.site
2373fi
2374for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2375do
2376  test "x$ac_site_file" = xNONE && continue
2377  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2378    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2379$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2380    sed 's/^/| /' "$ac_site_file" >&5
2381    . "$ac_site_file" \
2382      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2383$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2384as_fn_error $? "failed to load site script $ac_site_file
2385See \`config.log' for more details" "$LINENO" 5 ; }
2386  fi
2387done
2388
2389if test -r "$cache_file"; then
2390  # Some versions of bash will fail to source /dev/null (special files
2391  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2392  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2393    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2394$as_echo "$as_me: loading cache $cache_file" >&6;}
2395    case $cache_file in
2396      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2397      *)                      . "./$cache_file";;
2398    esac
2399  fi
2400else
2401  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2402$as_echo "$as_me: creating cache $cache_file" >&6;}
2403  >$cache_file
2404fi
2405
2406as_fn_append ac_header_list " stdlib.h"
2407as_fn_append ac_header_list " unistd.h"
2408as_fn_append ac_header_list " sys/param.h"
2409# Check that the precious variables saved in the cache have kept the same
2410# value.
2411ac_cache_corrupted=false
2412for ac_var in $ac_precious_vars; do
2413  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2414  eval ac_new_set=\$ac_env_${ac_var}_set
2415  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2416  eval ac_new_val=\$ac_env_${ac_var}_value
2417  case $ac_old_set,$ac_new_set in
2418    set,)
2419      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2420$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2421      ac_cache_corrupted=: ;;
2422    ,set)
2423      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2424$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2425      ac_cache_corrupted=: ;;
2426    ,);;
2427    *)
2428      if test "x$ac_old_val" != "x$ac_new_val"; then
2429	# differences in whitespace do not lead to failure.
2430	ac_old_val_w=`echo x $ac_old_val`
2431	ac_new_val_w=`echo x $ac_new_val`
2432	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2433	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2434$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2435	  ac_cache_corrupted=:
2436	else
2437	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2438$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2439	  eval $ac_var=\$ac_old_val
2440	fi
2441	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2442$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2443	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2444$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2445      fi;;
2446  esac
2447  # Pass precious variables to config.status.
2448  if test "$ac_new_set" = set; then
2449    case $ac_new_val in
2450    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2451    *) ac_arg=$ac_var=$ac_new_val ;;
2452    esac
2453    case " $ac_configure_args " in
2454      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2455      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2456    esac
2457  fi
2458done
2459if $ac_cache_corrupted; then
2460  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2461$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2462  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2463$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2464  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2465fi
2466## -------------------- ##
2467## Main body of script. ##
2468## -------------------- ##
2469
2470ac_ext=c
2471ac_cpp='$CPP $CPPFLAGS'
2472ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2473ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2474ac_compiler_gnu=$ac_cv_c_compiler_gnu
2475
2476
2477ac_aux_dir=
2478for ac_dir in . "$srcdir"/.; do
2479  if test -f "$ac_dir/install-sh"; then
2480    ac_aux_dir=$ac_dir
2481    ac_install_sh="$ac_aux_dir/install-sh -c"
2482    break
2483  elif test -f "$ac_dir/install.sh"; then
2484    ac_aux_dir=$ac_dir
2485    ac_install_sh="$ac_aux_dir/install.sh -c"
2486    break
2487  elif test -f "$ac_dir/shtool"; then
2488    ac_aux_dir=$ac_dir
2489    ac_install_sh="$ac_aux_dir/shtool install -c"
2490    break
2491  fi
2492done
2493if test -z "$ac_aux_dir"; then
2494  as_fn_error $? "cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
2495fi
2496
2497# These three variables are undocumented and unsupported,
2498# and are intended to be withdrawn in a future Autoconf release.
2499# They can cause serious problems if a builder's source tree is in a directory
2500# whose full name contains unusual characters.
2501ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2502ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2503ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2504
2505
2506
2507
2508ac_config_headers="$ac_config_headers config.h"
2509
2510am__api_version='1.11'
2511
2512# Find a good install program.  We prefer a C program (faster),
2513# so one script is as good as another.  But avoid the broken or
2514# incompatible versions:
2515# SysV /etc/install, /usr/sbin/install
2516# SunOS /usr/etc/install
2517# IRIX /sbin/install
2518# AIX /bin/install
2519# AmigaOS /C/install, which installs bootblocks on floppy discs
2520# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2521# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2522# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2523# OS/2's system install, which has a completely different semantic
2524# ./install, which can be erroneously created by make from ./install.sh.
2525# Reject install programs that cannot install multiple files.
2526{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2527$as_echo_n "checking for a BSD-compatible install... " >&6; }
2528if test -z "$INSTALL"; then
2529if test "${ac_cv_path_install+set}" = set; then :
2530  $as_echo_n "(cached) " >&6
2531else
2532  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2533for as_dir in $PATH
2534do
2535  IFS=$as_save_IFS
2536  test -z "$as_dir" && as_dir=.
2537    # Account for people who put trailing slashes in PATH elements.
2538case $as_dir/ in #((
2539  ./ | .// | /[cC]/* | \
2540  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2541  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2542  /usr/ucb/* ) ;;
2543  *)
2544    # OSF1 and SCO ODT 3.0 have their own names for install.
2545    # Don't use installbsd from OSF since it installs stuff as root
2546    # by default.
2547    for ac_prog in ginstall scoinst install; do
2548      for ac_exec_ext in '' $ac_executable_extensions; do
2549	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2550	  if test $ac_prog = install &&
2551	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2552	    # AIX install.  It has an incompatible calling convention.
2553	    :
2554	  elif test $ac_prog = install &&
2555	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2556	    # program-specific install script used by HP pwplus--don't use.
2557	    :
2558	  else
2559	    rm -rf conftest.one conftest.two conftest.dir
2560	    echo one > conftest.one
2561	    echo two > conftest.two
2562	    mkdir conftest.dir
2563	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2564	      test -s conftest.one && test -s conftest.two &&
2565	      test -s conftest.dir/conftest.one &&
2566	      test -s conftest.dir/conftest.two
2567	    then
2568	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2569	      break 3
2570	    fi
2571	  fi
2572	fi
2573      done
2574    done
2575    ;;
2576esac
2577
2578  done
2579IFS=$as_save_IFS
2580
2581rm -rf conftest.one conftest.two conftest.dir
2582
2583fi
2584  if test "${ac_cv_path_install+set}" = set; then
2585    INSTALL=$ac_cv_path_install
2586  else
2587    # As a last resort, use the slow shell script.  Don't cache a
2588    # value for INSTALL within a source directory, because that will
2589    # break other packages using the cache if that directory is
2590    # removed, or if the value is a relative name.
2591    INSTALL=$ac_install_sh
2592  fi
2593fi
2594{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2595$as_echo "$INSTALL" >&6; }
2596
2597# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2598# It thinks the first close brace ends the variable substitution.
2599test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2600
2601test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2602
2603test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2604
2605{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2606$as_echo_n "checking whether build environment is sane... " >&6; }
2607# Just in case
2608sleep 1
2609echo timestamp > conftest.file
2610# Reject unsafe characters in $srcdir or the absolute working directory
2611# name.  Accept space and tab only in the latter.
2612am_lf='
2613'
2614case `pwd` in
2615  *[\\\"\#\$\&\'\`$am_lf]*)
2616    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
2617esac
2618case $srcdir in
2619  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2620    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
2621esac
2622
2623# Do `set' in a subshell so we don't clobber the current shell's
2624# arguments.  Must try -L first in case configure is actually a
2625# symlink; some systems play weird games with the mod time of symlinks
2626# (eg FreeBSD returns the mod time of the symlink's containing
2627# directory).
2628if (
2629   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2630   if test "$*" = "X"; then
2631      # -L didn't work.
2632      set X `ls -t "$srcdir/configure" conftest.file`
2633   fi
2634   rm -f conftest.file
2635   if test "$*" != "X $srcdir/configure conftest.file" \
2636      && test "$*" != "X conftest.file $srcdir/configure"; then
2637
2638      # If neither matched, then we have a broken ls.  This can happen
2639      # if, for instance, CONFIG_SHELL is bash and it inherits a
2640      # broken ls alias from the environment.  This has actually
2641      # happened.  Such a system could not be considered "sane".
2642      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2643alias in your environment" "$LINENO" 5
2644   fi
2645
2646   test "$2" = conftest.file
2647   )
2648then
2649   # Ok.
2650   :
2651else
2652   as_fn_error $? "newly created file is older than distributed files!
2653Check your system clock" "$LINENO" 5
2654fi
2655{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2656$as_echo "yes" >&6; }
2657test "$program_prefix" != NONE &&
2658  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2659# Use a double $ so make ignores it.
2660test "$program_suffix" != NONE &&
2661  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2662# Double any \ or $.
2663# By default was `s,x,x', remove it if useless.
2664ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2665program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2666
2667# expand $ac_aux_dir to an absolute path
2668am_aux_dir=`cd $ac_aux_dir && pwd`
2669
2670if test x"${MISSING+set}" != xset; then
2671  case $am_aux_dir in
2672  *\ * | *\	*)
2673    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2674  *)
2675    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2676  esac
2677fi
2678# Use eval to expand $SHELL
2679if eval "$MISSING --run true"; then
2680  am_missing_run="$MISSING --run "
2681else
2682  am_missing_run=
2683  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2684$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2685fi
2686
2687if test x"${install_sh}" != xset; then
2688  case $am_aux_dir in
2689  *\ * | *\	*)
2690    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2691  *)
2692    install_sh="\${SHELL} $am_aux_dir/install-sh"
2693  esac
2694fi
2695
2696# Installed binaries are usually stripped using `strip' when the user
2697# run `make install-strip'.  However `strip' might not be the right
2698# tool to use in cross-compilation environments, therefore Automake
2699# will honor the `STRIP' environment variable to overrule this program.
2700if test "$cross_compiling" != no; then
2701  if test -n "$ac_tool_prefix"; then
2702  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2703set dummy ${ac_tool_prefix}strip; ac_word=$2
2704{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2705$as_echo_n "checking for $ac_word... " >&6; }
2706if test "${ac_cv_prog_STRIP+set}" = set; then :
2707  $as_echo_n "(cached) " >&6
2708else
2709  if test -n "$STRIP"; then
2710  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2711else
2712as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2713for as_dir in $PATH
2714do
2715  IFS=$as_save_IFS
2716  test -z "$as_dir" && as_dir=.
2717    for ac_exec_ext in '' $ac_executable_extensions; do
2718  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2719    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2720    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2721    break 2
2722  fi
2723done
2724  done
2725IFS=$as_save_IFS
2726
2727fi
2728fi
2729STRIP=$ac_cv_prog_STRIP
2730if test -n "$STRIP"; then
2731  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2732$as_echo "$STRIP" >&6; }
2733else
2734  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2735$as_echo "no" >&6; }
2736fi
2737
2738
2739fi
2740if test -z "$ac_cv_prog_STRIP"; then
2741  ac_ct_STRIP=$STRIP
2742  # Extract the first word of "strip", so it can be a program name with args.
2743set dummy strip; ac_word=$2
2744{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2745$as_echo_n "checking for $ac_word... " >&6; }
2746if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2747  $as_echo_n "(cached) " >&6
2748else
2749  if test -n "$ac_ct_STRIP"; then
2750  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2751else
2752as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2753for as_dir in $PATH
2754do
2755  IFS=$as_save_IFS
2756  test -z "$as_dir" && as_dir=.
2757    for ac_exec_ext in '' $ac_executable_extensions; do
2758  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2759    ac_cv_prog_ac_ct_STRIP="strip"
2760    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2761    break 2
2762  fi
2763done
2764  done
2765IFS=$as_save_IFS
2766
2767fi
2768fi
2769ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2770if test -n "$ac_ct_STRIP"; then
2771  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2772$as_echo "$ac_ct_STRIP" >&6; }
2773else
2774  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2775$as_echo "no" >&6; }
2776fi
2777
2778  if test "x$ac_ct_STRIP" = x; then
2779    STRIP=":"
2780  else
2781    case $cross_compiling:$ac_tool_warned in
2782yes:)
2783{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2784$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2785ac_tool_warned=yes ;;
2786esac
2787    STRIP=$ac_ct_STRIP
2788  fi
2789else
2790  STRIP="$ac_cv_prog_STRIP"
2791fi
2792
2793fi
2794INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2795
2796{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2797$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2798if test -z "$MKDIR_P"; then
2799  if test "${ac_cv_path_mkdir+set}" = set; then :
2800  $as_echo_n "(cached) " >&6
2801else
2802  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2803for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2804do
2805  IFS=$as_save_IFS
2806  test -z "$as_dir" && as_dir=.
2807    for ac_prog in mkdir gmkdir; do
2808	 for ac_exec_ext in '' $ac_executable_extensions; do
2809	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2810	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2811	     'mkdir (GNU coreutils) '* | \
2812	     'mkdir (coreutils) '* | \
2813	     'mkdir (fileutils) '4.1*)
2814	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2815	       break 3;;
2816	   esac
2817	 done
2818       done
2819  done
2820IFS=$as_save_IFS
2821
2822fi
2823
2824  test -d ./--version && rmdir ./--version
2825  if test "${ac_cv_path_mkdir+set}" = set; then
2826    MKDIR_P="$ac_cv_path_mkdir -p"
2827  else
2828    # As a last resort, use the slow shell script.  Don't cache a
2829    # value for MKDIR_P within a source directory, because that will
2830    # break other packages using the cache if that directory is
2831    # removed, or if the value is a relative name.
2832    MKDIR_P="$ac_install_sh -d"
2833  fi
2834fi
2835{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2836$as_echo "$MKDIR_P" >&6; }
2837
2838mkdir_p="$MKDIR_P"
2839case $mkdir_p in
2840  [\\/$]* | ?:[\\/]*) ;;
2841  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2842esac
2843
2844for ac_prog in gawk mawk nawk awk
2845do
2846  # Extract the first word of "$ac_prog", so it can be a program name with args.
2847set dummy $ac_prog; ac_word=$2
2848{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2849$as_echo_n "checking for $ac_word... " >&6; }
2850if test "${ac_cv_prog_AWK+set}" = set; then :
2851  $as_echo_n "(cached) " >&6
2852else
2853  if test -n "$AWK"; then
2854  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2855else
2856as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2857for as_dir in $PATH
2858do
2859  IFS=$as_save_IFS
2860  test -z "$as_dir" && as_dir=.
2861    for ac_exec_ext in '' $ac_executable_extensions; do
2862  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2863    ac_cv_prog_AWK="$ac_prog"
2864    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2865    break 2
2866  fi
2867done
2868  done
2869IFS=$as_save_IFS
2870
2871fi
2872fi
2873AWK=$ac_cv_prog_AWK
2874if test -n "$AWK"; then
2875  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2876$as_echo "$AWK" >&6; }
2877else
2878  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2879$as_echo "no" >&6; }
2880fi
2881
2882
2883  test -n "$AWK" && break
2884done
2885
2886{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2887$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2888set x ${MAKE-make}
2889ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2890if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2891  $as_echo_n "(cached) " >&6
2892else
2893  cat >conftest.make <<\_ACEOF
2894SHELL = /bin/sh
2895all:
2896	@echo '@@@%%%=$(MAKE)=@@@%%%'
2897_ACEOF
2898# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2899case `${MAKE-make} -f conftest.make 2>/dev/null` in
2900  *@@@%%%=?*=@@@%%%*)
2901    eval ac_cv_prog_make_${ac_make}_set=yes;;
2902  *)
2903    eval ac_cv_prog_make_${ac_make}_set=no;;
2904esac
2905rm -f conftest.make
2906fi
2907if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2908  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2909$as_echo "yes" >&6; }
2910  SET_MAKE=
2911else
2912  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2913$as_echo "no" >&6; }
2914  SET_MAKE="MAKE=${MAKE-make}"
2915fi
2916
2917rm -rf .tst 2>/dev/null
2918mkdir .tst 2>/dev/null
2919if test -d .tst; then
2920  am__leading_dot=.
2921else
2922  am__leading_dot=_
2923fi
2924rmdir .tst 2>/dev/null
2925
2926if test "`cd $srcdir && pwd`" != "`pwd`"; then
2927  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2928  # is not polluted with repeated "-I."
2929  am__isrc=' -I$(srcdir)'
2930  # test to see if srcdir already configured
2931  if test -f $srcdir/config.status; then
2932    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2933  fi
2934fi
2935
2936# test whether we have cygpath
2937if test -z "$CYGPATH_W"; then
2938  if (cygpath --version) >/dev/null 2>/dev/null; then
2939    CYGPATH_W='cygpath -w'
2940  else
2941    CYGPATH_W=echo
2942  fi
2943fi
2944
2945
2946# Define the identity of the package.
2947 PACKAGE='fsWalk'
2948 VERSION='0.5.0'
2949
2950
2951# Some tools Automake needs.
2952
2953ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2954
2955
2956AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2957
2958
2959AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2960
2961
2962AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2963
2964
2965MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2966
2967# We need awk for the "check" target.  The system "awk" is bad on
2968# some platforms.
2969# Always define AMTAR for backward compatibility.
2970
2971AMTAR=${AMTAR-"${am_missing_run}tar"}
2972
2973
2974{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
2975$as_echo_n "checking how to create a ustar tar archive... " >&6; }
2976# Loop over all known methods to create a tar archive until one works.
2977_am_tools='gnutar plaintar pax cpio none'
2978_am_tools=${am_cv_prog_tar_ustar-$_am_tools}
2979# Do not fold the above two line into one, because Tru64 sh and
2980# Solaris sh will not grok spaces in the rhs of `-'.
2981for _am_tool in $_am_tools
2982do
2983  case $_am_tool in
2984  gnutar)
2985    for _am_tar in tar gnutar gtar;
2986    do
2987      { echo "$as_me:$LINENO: $_am_tar --version" >&5
2988   ($_am_tar --version) >&5 2>&5
2989   ac_status=$?
2990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2991   (exit $ac_status); } && break
2992    done
2993    am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
2994    am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
2995    am__untar="$_am_tar -xf -"
2996    ;;
2997  plaintar)
2998    # Must skip GNU tar: if it does not support --format= it doesn't create
2999    # ustar tarball either.
3000    (tar --version) >/dev/null 2>&1 && continue
3001    am__tar='tar chf - "$$tardir"'
3002    am__tar_='tar chf - "$tardir"'
3003    am__untar='tar xf -'
3004    ;;
3005  pax)
3006    am__tar='pax -L -x ustar -w "$$tardir"'
3007    am__tar_='pax -L -x ustar -w "$tardir"'
3008    am__untar='pax -r'
3009    ;;
3010  cpio)
3011    am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
3012    am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
3013    am__untar='cpio -i -H ustar -d'
3014    ;;
3015  none)
3016    am__tar=false
3017    am__tar_=false
3018    am__untar=false
3019    ;;
3020  esac
3021
3022  # If the value was cached, stop now.  We just wanted to have am__tar
3023  # and am__untar set.
3024  test -n "${am_cv_prog_tar_ustar}" && break
3025
3026  # tar/untar a dummy directory, and stop if the command works
3027  rm -rf conftest.dir
3028  mkdir conftest.dir
3029  echo GrepMe > conftest.dir/file
3030  { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
3031   (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
3032   ac_status=$?
3033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3034   (exit $ac_status); }
3035  rm -rf conftest.dir
3036  if test -s conftest.tar; then
3037    { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
3038   ($am__untar <conftest.tar) >&5 2>&5
3039   ac_status=$?
3040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3041   (exit $ac_status); }
3042    grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
3043  fi
3044done
3045rm -rf conftest.dir
3046
3047if test "${am_cv_prog_tar_ustar+set}" = set; then :
3048  $as_echo_n "(cached) " >&6
3049else
3050  am_cv_prog_tar_ustar=$_am_tool
3051fi
3052
3053{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
3054$as_echo "$am_cv_prog_tar_ustar" >&6; }
3055
3056
3057
3058
3059
3060
3061# Pull in the checks for the build tools.
3062
3063# Make sure we can run config.sub.
3064$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3065  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3066
3067{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3068$as_echo_n "checking build system type... " >&6; }
3069if test "${ac_cv_build+set}" = set; then :
3070  $as_echo_n "(cached) " >&6
3071else
3072  ac_build_alias=$build_alias
3073test "x$ac_build_alias" = x &&
3074  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3075test "x$ac_build_alias" = x &&
3076  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3077ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3078  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3079
3080fi
3081{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3082$as_echo "$ac_cv_build" >&6; }
3083case $ac_cv_build in
3084*-*-*) ;;
3085*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
3086esac
3087build=$ac_cv_build
3088ac_save_IFS=$IFS; IFS='-'
3089set x $ac_cv_build
3090shift
3091build_cpu=$1
3092build_vendor=$2
3093shift; shift
3094# Remember, the first character of IFS is used to create $*,
3095# except with old shells:
3096build_os=$*
3097IFS=$ac_save_IFS
3098case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3099
3100
3101{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3102$as_echo_n "checking host system type... " >&6; }
3103if test "${ac_cv_host+set}" = set; then :
3104  $as_echo_n "(cached) " >&6
3105else
3106  if test "x$host_alias" = x; then
3107  ac_cv_host=$ac_cv_build
3108else
3109  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3110    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3111fi
3112
3113fi
3114{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3115$as_echo "$ac_cv_host" >&6; }
3116case $ac_cv_host in
3117*-*-*) ;;
3118*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
3119esac
3120host=$ac_cv_host
3121ac_save_IFS=$IFS; IFS='-'
3122set x $ac_cv_host
3123shift
3124host_cpu=$1
3125host_vendor=$2
3126shift; shift
3127# Remember, the first character of IFS is used to create $*,
3128# except with old shells:
3129host_os=$*
3130IFS=$ac_save_IFS
3131case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3132
3133
3134
3135ac_ext=c
3136ac_cpp='$CPP $CPPFLAGS'
3137ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3138ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3139ac_compiler_gnu=$ac_cv_c_compiler_gnu
3140if test -n "$ac_tool_prefix"; then
3141  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3142set dummy ${ac_tool_prefix}gcc; ac_word=$2
3143{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3144$as_echo_n "checking for $ac_word... " >&6; }
3145if test "${ac_cv_prog_CC+set}" = set; then :
3146  $as_echo_n "(cached) " >&6
3147else
3148  if test -n "$CC"; then
3149  ac_cv_prog_CC="$CC" # Let the user override the test.
3150else
3151as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3152for as_dir in $PATH
3153do
3154  IFS=$as_save_IFS
3155  test -z "$as_dir" && as_dir=.
3156    for ac_exec_ext in '' $ac_executable_extensions; do
3157  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3158    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3159    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3160    break 2
3161  fi
3162done
3163  done
3164IFS=$as_save_IFS
3165
3166fi
3167fi
3168CC=$ac_cv_prog_CC
3169if test -n "$CC"; then
3170  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3171$as_echo "$CC" >&6; }
3172else
3173  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3174$as_echo "no" >&6; }
3175fi
3176
3177
3178fi
3179if test -z "$ac_cv_prog_CC"; then
3180  ac_ct_CC=$CC
3181  # Extract the first word of "gcc", so it can be a program name with args.
3182set dummy gcc; ac_word=$2
3183{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3184$as_echo_n "checking for $ac_word... " >&6; }
3185if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3186  $as_echo_n "(cached) " >&6
3187else
3188  if test -n "$ac_ct_CC"; then
3189  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3190else
3191as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3192for as_dir in $PATH
3193do
3194  IFS=$as_save_IFS
3195  test -z "$as_dir" && as_dir=.
3196    for ac_exec_ext in '' $ac_executable_extensions; do
3197  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3198    ac_cv_prog_ac_ct_CC="gcc"
3199    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3200    break 2
3201  fi
3202done
3203  done
3204IFS=$as_save_IFS
3205
3206fi
3207fi
3208ac_ct_CC=$ac_cv_prog_ac_ct_CC
3209if test -n "$ac_ct_CC"; then
3210  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3211$as_echo "$ac_ct_CC" >&6; }
3212else
3213  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3214$as_echo "no" >&6; }
3215fi
3216
3217  if test "x$ac_ct_CC" = x; then
3218    CC=""
3219  else
3220    case $cross_compiling:$ac_tool_warned in
3221yes:)
3222{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3223$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3224ac_tool_warned=yes ;;
3225esac
3226    CC=$ac_ct_CC
3227  fi
3228else
3229  CC="$ac_cv_prog_CC"
3230fi
3231
3232if test -z "$CC"; then
3233          if test -n "$ac_tool_prefix"; then
3234    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3235set dummy ${ac_tool_prefix}cc; ac_word=$2
3236{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3237$as_echo_n "checking for $ac_word... " >&6; }
3238if test "${ac_cv_prog_CC+set}" = set; then :
3239  $as_echo_n "(cached) " >&6
3240else
3241  if test -n "$CC"; then
3242  ac_cv_prog_CC="$CC" # Let the user override the test.
3243else
3244as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3245for as_dir in $PATH
3246do
3247  IFS=$as_save_IFS
3248  test -z "$as_dir" && as_dir=.
3249    for ac_exec_ext in '' $ac_executable_extensions; do
3250  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3251    ac_cv_prog_CC="${ac_tool_prefix}cc"
3252    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3253    break 2
3254  fi
3255done
3256  done
3257IFS=$as_save_IFS
3258
3259fi
3260fi
3261CC=$ac_cv_prog_CC
3262if test -n "$CC"; then
3263  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3264$as_echo "$CC" >&6; }
3265else
3266  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3267$as_echo "no" >&6; }
3268fi
3269
3270
3271  fi
3272fi
3273if test -z "$CC"; then
3274  # Extract the first word of "cc", so it can be a program name with args.
3275set dummy cc; ac_word=$2
3276{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3277$as_echo_n "checking for $ac_word... " >&6; }
3278if test "${ac_cv_prog_CC+set}" = set; then :
3279  $as_echo_n "(cached) " >&6
3280else
3281  if test -n "$CC"; then
3282  ac_cv_prog_CC="$CC" # Let the user override the test.
3283else
3284  ac_prog_rejected=no
3285as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3286for as_dir in $PATH
3287do
3288  IFS=$as_save_IFS
3289  test -z "$as_dir" && as_dir=.
3290    for ac_exec_ext in '' $ac_executable_extensions; do
3291  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3292    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3293       ac_prog_rejected=yes
3294       continue
3295     fi
3296    ac_cv_prog_CC="cc"
3297    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3298    break 2
3299  fi
3300done
3301  done
3302IFS=$as_save_IFS
3303
3304if test $ac_prog_rejected = yes; then
3305  # We found a bogon in the path, so make sure we never use it.
3306  set dummy $ac_cv_prog_CC
3307  shift
3308  if test $# != 0; then
3309    # We chose a different compiler from the bogus one.
3310    # However, it has the same basename, so the bogon will be chosen
3311    # first if we set CC to just the basename; use the full file name.
3312    shift
3313    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3314  fi
3315fi
3316fi
3317fi
3318CC=$ac_cv_prog_CC
3319if test -n "$CC"; then
3320  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3321$as_echo "$CC" >&6; }
3322else
3323  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3324$as_echo "no" >&6; }
3325fi
3326
3327
3328fi
3329if test -z "$CC"; then
3330  if test -n "$ac_tool_prefix"; then
3331  for ac_prog in cl.exe
3332  do
3333    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3334set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3335{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3336$as_echo_n "checking for $ac_word... " >&6; }
3337if test "${ac_cv_prog_CC+set}" = set; then :
3338  $as_echo_n "(cached) " >&6
3339else
3340  if test -n "$CC"; then
3341  ac_cv_prog_CC="$CC" # Let the user override the test.
3342else
3343as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3344for as_dir in $PATH
3345do
3346  IFS=$as_save_IFS
3347  test -z "$as_dir" && as_dir=.
3348    for ac_exec_ext in '' $ac_executable_extensions; do
3349  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3350    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3351    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3352    break 2
3353  fi
3354done
3355  done
3356IFS=$as_save_IFS
3357
3358fi
3359fi
3360CC=$ac_cv_prog_CC
3361if test -n "$CC"; then
3362  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3363$as_echo "$CC" >&6; }
3364else
3365  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3366$as_echo "no" >&6; }
3367fi
3368
3369
3370    test -n "$CC" && break
3371  done
3372fi
3373if test -z "$CC"; then
3374  ac_ct_CC=$CC
3375  for ac_prog in cl.exe
3376do
3377  # Extract the first word of "$ac_prog", so it can be a program name with args.
3378set dummy $ac_prog; ac_word=$2
3379{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3380$as_echo_n "checking for $ac_word... " >&6; }
3381if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3382  $as_echo_n "(cached) " >&6
3383else
3384  if test -n "$ac_ct_CC"; then
3385  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3386else
3387as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3388for as_dir in $PATH
3389do
3390  IFS=$as_save_IFS
3391  test -z "$as_dir" && as_dir=.
3392    for ac_exec_ext in '' $ac_executable_extensions; do
3393  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3394    ac_cv_prog_ac_ct_CC="$ac_prog"
3395    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3396    break 2
3397  fi
3398done
3399  done
3400IFS=$as_save_IFS
3401
3402fi
3403fi
3404ac_ct_CC=$ac_cv_prog_ac_ct_CC
3405if test -n "$ac_ct_CC"; then
3406  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3407$as_echo "$ac_ct_CC" >&6; }
3408else
3409  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3410$as_echo "no" >&6; }
3411fi
3412
3413
3414  test -n "$ac_ct_CC" && break
3415done
3416
3417  if test "x$ac_ct_CC" = x; then
3418    CC=""
3419  else
3420    case $cross_compiling:$ac_tool_warned in
3421yes:)
3422{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3423$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3424ac_tool_warned=yes ;;
3425esac
3426    CC=$ac_ct_CC
3427  fi
3428fi
3429
3430fi
3431
3432
3433test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3434$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3435as_fn_error $? "no acceptable C compiler found in \$PATH
3436See \`config.log' for more details" "$LINENO" 5 ; }
3437
3438# Provide some information about the compiler.
3439$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3440set X $ac_compile
3441ac_compiler=$2
3442for ac_option in --version -v -V -qversion; do
3443  { { ac_try="$ac_compiler $ac_option >&5"
3444case "(($ac_try" in
3445  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3446  *) ac_try_echo=$ac_try;;
3447esac
3448eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3449$as_echo "$ac_try_echo"; } >&5
3450  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3451  ac_status=$?
3452  if test -s conftest.err; then
3453    sed '10a\
3454... rest of stderr output deleted ...
3455         10q' conftest.err >conftest.er1
3456    cat conftest.er1 >&5
3457  fi
3458  rm -f conftest.er1 conftest.err
3459  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3460  test $ac_status = 0; }
3461done
3462
3463cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3464/* end confdefs.h.  */
3465
3466int
3467main ()
3468{
3469
3470  ;
3471  return 0;
3472}
3473_ACEOF
3474ac_clean_files_save=$ac_clean_files
3475ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3476# Try to create an executable without -o first, disregard a.out.
3477# It will help us diagnose broken compilers, and finding out an intuition
3478# of exeext.
3479{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3480$as_echo_n "checking whether the C compiler works... " >&6; }
3481ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3482
3483# The possible output files:
3484ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3485
3486ac_rmfiles=
3487for ac_file in $ac_files
3488do
3489  case $ac_file in
3490    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3491    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3492  esac
3493done
3494rm -f $ac_rmfiles
3495
3496if { { ac_try="$ac_link_default"
3497case "(($ac_try" in
3498  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3499  *) ac_try_echo=$ac_try;;
3500esac
3501eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3502$as_echo "$ac_try_echo"; } >&5
3503  (eval "$ac_link_default") 2>&5
3504  ac_status=$?
3505  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3506  test $ac_status = 0; }; then :
3507  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3508# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3509# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3510# so that the user can short-circuit this test for compilers unknown to
3511# Autoconf.
3512for ac_file in $ac_files ''
3513do
3514  test -f "$ac_file" || continue
3515  case $ac_file in
3516    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3517	;;
3518    [ab].out )
3519	# We found the default executable, but exeext='' is most
3520	# certainly right.
3521	break;;
3522    *.* )
3523	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3524	then :; else
3525	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3526	fi
3527	# We set ac_cv_exeext here because the later test for it is not
3528	# safe: cross compilers may not add the suffix if given an `-o'
3529	# argument, so we may need to know it at that point already.
3530	# Even if this section looks crufty: it has the advantage of
3531	# actually working.
3532	break;;
3533    * )
3534	break;;
3535  esac
3536done
3537test "$ac_cv_exeext" = no && ac_cv_exeext=
3538
3539else
3540  ac_file=''
3541fi
3542if test -z "$ac_file"; then :
3543  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3544$as_echo "no" >&6; }
3545$as_echo "$as_me: failed program was:" >&5
3546sed 's/^/| /' conftest.$ac_ext >&5
3547
3548{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3549$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3550as_fn_error 77 "C compiler cannot create executables
3551See \`config.log' for more details" "$LINENO" 5 ; }
3552else
3553  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3554$as_echo "yes" >&6; }
3555fi
3556{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3557$as_echo_n "checking for C compiler default output file name... " >&6; }
3558{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3559$as_echo "$ac_file" >&6; }
3560ac_exeext=$ac_cv_exeext
3561
3562rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3563ac_clean_files=$ac_clean_files_save
3564{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3565$as_echo_n "checking for suffix of executables... " >&6; }
3566if { { ac_try="$ac_link"
3567case "(($ac_try" in
3568  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3569  *) ac_try_echo=$ac_try;;
3570esac
3571eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3572$as_echo "$ac_try_echo"; } >&5
3573  (eval "$ac_link") 2>&5
3574  ac_status=$?
3575  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3576  test $ac_status = 0; }; then :
3577  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3578# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3579# work properly (i.e., refer to `conftest.exe'), while it won't with
3580# `rm'.
3581for ac_file in conftest.exe conftest conftest.*; do
3582  test -f "$ac_file" || continue
3583  case $ac_file in
3584    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3585    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3586	  break;;
3587    * ) break;;
3588  esac
3589done
3590else
3591  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3592$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3593as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3594See \`config.log' for more details" "$LINENO" 5 ; }
3595fi
3596rm -f conftest conftest$ac_cv_exeext
3597{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3598$as_echo "$ac_cv_exeext" >&6; }
3599
3600rm -f conftest.$ac_ext
3601EXEEXT=$ac_cv_exeext
3602ac_exeext=$EXEEXT
3603cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3604/* end confdefs.h.  */
3605#include <stdio.h>
3606int
3607main ()
3608{
3609FILE *f = fopen ("conftest.out", "w");
3610 return ferror (f) || fclose (f) != 0;
3611
3612  ;
3613  return 0;
3614}
3615_ACEOF
3616ac_clean_files="$ac_clean_files conftest.out"
3617# Check that the compiler produces executables we can run.  If not, either
3618# the compiler is broken, or we cross compile.
3619{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3620$as_echo_n "checking whether we are cross compiling... " >&6; }
3621if test "$cross_compiling" != yes; then
3622  { { ac_try="$ac_link"
3623case "(($ac_try" in
3624  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3625  *) ac_try_echo=$ac_try;;
3626esac
3627eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3628$as_echo "$ac_try_echo"; } >&5
3629  (eval "$ac_link") 2>&5
3630  ac_status=$?
3631  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3632  test $ac_status = 0; }
3633  if { ac_try='./conftest$ac_cv_exeext'
3634  { { case "(($ac_try" in
3635  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3636  *) ac_try_echo=$ac_try;;
3637esac
3638eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3639$as_echo "$ac_try_echo"; } >&5
3640  (eval "$ac_try") 2>&5
3641  ac_status=$?
3642  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3643  test $ac_status = 0; }; }; then
3644    cross_compiling=no
3645  else
3646    if test "$cross_compiling" = maybe; then
3647	cross_compiling=yes
3648    else
3649	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3650$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3651as_fn_error $? "cannot run C compiled programs.
3652If you meant to cross compile, use \`--host'.
3653See \`config.log' for more details" "$LINENO" 5 ; }
3654    fi
3655  fi
3656fi
3657{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3658$as_echo "$cross_compiling" >&6; }
3659
3660rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3661ac_clean_files=$ac_clean_files_save
3662{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3663$as_echo_n "checking for suffix of object files... " >&6; }
3664if test "${ac_cv_objext+set}" = set; then :
3665  $as_echo_n "(cached) " >&6
3666else
3667  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3668/* end confdefs.h.  */
3669
3670int
3671main ()
3672{
3673
3674  ;
3675  return 0;
3676}
3677_ACEOF
3678rm -f conftest.o conftest.obj
3679if { { ac_try="$ac_compile"
3680case "(($ac_try" in
3681  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3682  *) ac_try_echo=$ac_try;;
3683esac
3684eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3685$as_echo "$ac_try_echo"; } >&5
3686  (eval "$ac_compile") 2>&5
3687  ac_status=$?
3688  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3689  test $ac_status = 0; }; then :
3690  for ac_file in conftest.o conftest.obj conftest.*; do
3691  test -f "$ac_file" || continue;
3692  case $ac_file in
3693    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3694    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3695       break;;
3696  esac
3697done
3698else
3699  $as_echo "$as_me: failed program was:" >&5
3700sed 's/^/| /' conftest.$ac_ext >&5
3701
3702{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3703$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3704as_fn_error $? "cannot compute suffix of object files: cannot compile
3705See \`config.log' for more details" "$LINENO" 5 ; }
3706fi
3707rm -f conftest.$ac_cv_objext conftest.$ac_ext
3708fi
3709{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3710$as_echo "$ac_cv_objext" >&6; }
3711OBJEXT=$ac_cv_objext
3712ac_objext=$OBJEXT
3713{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3714$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3715if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3716  $as_echo_n "(cached) " >&6
3717else
3718  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3719/* end confdefs.h.  */
3720
3721int
3722main ()
3723{
3724#ifndef __GNUC__
3725       choke me
3726#endif
3727
3728  ;
3729  return 0;
3730}
3731_ACEOF
3732if ac_fn_c_try_compile "$LINENO"; then :
3733  ac_compiler_gnu=yes
3734else
3735  ac_compiler_gnu=no
3736fi
3737rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3738ac_cv_c_compiler_gnu=$ac_compiler_gnu
3739
3740fi
3741{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3742$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3743if test $ac_compiler_gnu = yes; then
3744  GCC=yes
3745else
3746  GCC=
3747fi
3748ac_test_CFLAGS=${CFLAGS+set}
3749ac_save_CFLAGS=$CFLAGS
3750{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3751$as_echo_n "checking whether $CC accepts -g... " >&6; }
3752if test "${ac_cv_prog_cc_g+set}" = set; then :
3753  $as_echo_n "(cached) " >&6
3754else
3755  ac_save_c_werror_flag=$ac_c_werror_flag
3756   ac_c_werror_flag=yes
3757   ac_cv_prog_cc_g=no
3758   CFLAGS="-g"
3759   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3760/* end confdefs.h.  */
3761
3762int
3763main ()
3764{
3765
3766  ;
3767  return 0;
3768}
3769_ACEOF
3770if ac_fn_c_try_compile "$LINENO"; then :
3771  ac_cv_prog_cc_g=yes
3772else
3773  CFLAGS=""
3774      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3775/* end confdefs.h.  */
3776
3777int
3778main ()
3779{
3780
3781  ;
3782  return 0;
3783}
3784_ACEOF
3785if ac_fn_c_try_compile "$LINENO"; then :
3786
3787else
3788  ac_c_werror_flag=$ac_save_c_werror_flag
3789	 CFLAGS="-g"
3790	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3791/* end confdefs.h.  */
3792
3793int
3794main ()
3795{
3796
3797  ;
3798  return 0;
3799}
3800_ACEOF
3801if ac_fn_c_try_compile "$LINENO"; then :
3802  ac_cv_prog_cc_g=yes
3803fi
3804rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3805fi
3806rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3807fi
3808rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3809   ac_c_werror_flag=$ac_save_c_werror_flag
3810fi
3811{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3812$as_echo "$ac_cv_prog_cc_g" >&6; }
3813if test "$ac_test_CFLAGS" = set; then
3814  CFLAGS=$ac_save_CFLAGS
3815elif test $ac_cv_prog_cc_g = yes; then
3816  if test "$GCC" = yes; then
3817    CFLAGS="-g -O2"
3818  else
3819    CFLAGS="-g"
3820  fi
3821else
3822  if test "$GCC" = yes; then
3823    CFLAGS="-O2"
3824  else
3825    CFLAGS=
3826  fi
3827fi
3828{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3829$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3830if test "${ac_cv_prog_cc_c89+set}" = set; then :
3831  $as_echo_n "(cached) " >&6
3832else
3833  ac_cv_prog_cc_c89=no
3834ac_save_CC=$CC
3835cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3836/* end confdefs.h.  */
3837#include <stdarg.h>
3838#include <stdio.h>
3839#include <sys/types.h>
3840#include <sys/stat.h>
3841/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3842struct buf { int x; };
3843FILE * (*rcsopen) (struct buf *, struct stat *, int);
3844static char *e (p, i)
3845     char **p;
3846     int i;
3847{
3848  return p[i];
3849}
3850static char *f (char * (*g) (char **, int), char **p, ...)
3851{
3852  char *s;
3853  va_list v;
3854  va_start (v,p);
3855  s = g (p, va_arg (v,int));
3856  va_end (v);
3857  return s;
3858}
3859
3860/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3861   function prototypes and stuff, but not '\xHH' hex character constants.
3862   These don't provoke an error unfortunately, instead are silently treated
3863   as 'x'.  The following induces an error, until -std is added to get
3864   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3865   array size at least.  It's necessary to write '\x00'==0 to get something
3866   that's true only with -std.  */
3867int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3868
3869/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3870   inside strings and character constants.  */
3871#define FOO(x) 'x'
3872int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3873
3874int test (int i, double x);
3875struct s1 {int (*f) (int a);};
3876struct s2 {int (*f) (double a);};
3877int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3878int argc;
3879char **argv;
3880int
3881main ()
3882{
3883return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3884  ;
3885  return 0;
3886}
3887_ACEOF
3888for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3889	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3890do
3891  CC="$ac_save_CC $ac_arg"
3892  if ac_fn_c_try_compile "$LINENO"; then :
3893  ac_cv_prog_cc_c89=$ac_arg
3894fi
3895rm -f core conftest.err conftest.$ac_objext
3896  test "x$ac_cv_prog_cc_c89" != "xno" && break
3897done
3898rm -f conftest.$ac_ext
3899CC=$ac_save_CC
3900
3901fi
3902# AC_CACHE_VAL
3903case "x$ac_cv_prog_cc_c89" in
3904  x)
3905    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3906$as_echo "none needed" >&6; } ;;
3907  xno)
3908    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3909$as_echo "unsupported" >&6; } ;;
3910  *)
3911    CC="$CC $ac_cv_prog_cc_c89"
3912    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3913$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3914esac
3915if test "x$ac_cv_prog_cc_c89" != xno; then :
3916
3917fi
3918
3919ac_ext=c
3920ac_cpp='$CPP $CPPFLAGS'
3921ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3922ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3923ac_compiler_gnu=$ac_cv_c_compiler_gnu
3924DEPDIR="${am__leading_dot}deps"
3925
3926ac_config_commands="$ac_config_commands depfiles"
3927
3928
3929am_make=${MAKE-make}
3930cat > confinc << 'END'
3931am__doit:
3932	@echo this is the am__doit target
3933.PHONY: am__doit
3934END
3935# If we don't find an include directive, just comment out the code.
3936{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3937$as_echo_n "checking for style of include used by $am_make... " >&6; }
3938am__include="#"
3939am__quote=
3940_am_result=none
3941# First try GNU make style include.
3942echo "include confinc" > confmf
3943# Ignore all kinds of additional output from `make'.
3944case `$am_make -s -f confmf 2> /dev/null` in #(
3945*the\ am__doit\ target*)
3946  am__include=include
3947  am__quote=
3948  _am_result=GNU
3949  ;;
3950esac
3951# Now try BSD make style include.
3952if test "$am__include" = "#"; then
3953   echo '.include "confinc"' > confmf
3954   case `$am_make -s -f confmf 2> /dev/null` in #(
3955   *the\ am__doit\ target*)
3956     am__include=.include
3957     am__quote="\""
3958     _am_result=BSD
3959     ;;
3960   esac
3961fi
3962
3963
3964{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3965$as_echo "$_am_result" >&6; }
3966rm -f confinc confmf
3967
3968# Check whether --enable-dependency-tracking was given.
3969if test "${enable_dependency_tracking+set}" = set; then :
3970  enableval=$enable_dependency_tracking;
3971fi
3972
3973if test "x$enable_dependency_tracking" != xno; then
3974  am_depcomp="$ac_aux_dir/depcomp"
3975  AMDEPBACKSLASH='\'
3976fi
3977 if test "x$enable_dependency_tracking" != xno; then
3978  AMDEP_TRUE=
3979  AMDEP_FALSE='#'
3980else
3981  AMDEP_TRUE='#'
3982  AMDEP_FALSE=
3983fi
3984
3985
3986
3987depcc="$CC"   am_compiler_list=
3988
3989{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3990$as_echo_n "checking dependency style of $depcc... " >&6; }
3991if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3992  $as_echo_n "(cached) " >&6
3993else
3994  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3995  # We make a subdir and do the tests there.  Otherwise we can end up
3996  # making bogus files that we don't know about and never remove.  For
3997  # instance it was reported that on HP-UX the gcc test will end up
3998  # making a dummy file named `D' -- because `-MD' means `put the output
3999  # in D'.
4000  mkdir conftest.dir
4001  # Copy depcomp to subdir because otherwise we won't find it if we're
4002  # using a relative directory.
4003  cp "$am_depcomp" conftest.dir
4004  cd conftest.dir
4005  # We will build objects and dependencies in a subdirectory because
4006  # it helps to detect inapplicable dependency modes.  For instance
4007  # both Tru64's cc and ICC support -MD to output dependencies as a
4008  # side effect of compilation, but ICC will put the dependencies in
4009  # the current directory while Tru64 will put them in the object
4010  # directory.
4011  mkdir sub
4012
4013  am_cv_CC_dependencies_compiler_type=none
4014  if test "$am_compiler_list" = ""; then
4015     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4016  fi
4017  am__universal=false
4018  case " $depcc " in #(
4019     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4020     esac
4021
4022  for depmode in $am_compiler_list; do
4023    # Setup a source with many dependencies, because some compilers
4024    # like to wrap large dependency lists on column 80 (with \), and
4025    # we should not choose a depcomp mode which is confused by this.
4026    #
4027    # We need to recreate these files for each test, as the compiler may
4028    # overwrite some of them when testing with obscure command lines.
4029    # This happens at least with the AIX C compiler.
4030    : > sub/conftest.c
4031    for i in 1 2 3 4 5 6; do
4032      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4033      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4034      # Solaris 8's {/usr,}/bin/sh.
4035      touch sub/conftst$i.h
4036    done
4037    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4038
4039    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4040    # mode.  It turns out that the SunPro C++ compiler does not properly
4041    # handle `-M -o', and we need to detect this.  Also, some Intel
4042    # versions had trouble with output in subdirs
4043    am__obj=sub/conftest.${OBJEXT-o}
4044    am__minus_obj="-o $am__obj"
4045    case $depmode in
4046    gcc)
4047      # This depmode causes a compiler race in universal mode.
4048      test "$am__universal" = false || continue
4049      ;;
4050    nosideeffect)
4051      # after this tag, mechanisms are not by side-effect, so they'll
4052      # only be used when explicitly requested
4053      if test "x$enable_dependency_tracking" = xyes; then
4054	continue
4055      else
4056	break
4057      fi
4058      ;;
4059    msvisualcpp | msvcmsys)
4060      # This compiler won't grok `-c -o', but also, the minuso test has
4061      # not run yet.  These depmodes are late enough in the game, and
4062      # so weak that their functioning should not be impacted.
4063      am__obj=conftest.${OBJEXT-o}
4064      am__minus_obj=
4065      ;;
4066    none) break ;;
4067    esac
4068    if depmode=$depmode \
4069       source=sub/conftest.c object=$am__obj \
4070       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4071       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4072         >/dev/null 2>conftest.err &&
4073       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4074       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4075       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4076       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4077      # icc doesn't choke on unknown options, it will just issue warnings
4078      # or remarks (even with -Werror).  So we grep stderr for any message
4079      # that says an option was ignored or not supported.
4080      # When given -MP, icc 7.0 and 7.1 complain thusly:
4081      #   icc: Command line warning: ignoring option '-M'; no argument required
4082      # The diagnosis changed in icc 8.0:
4083      #   icc: Command line remark: option '-MP' not supported
4084      if (grep 'ignoring option' conftest.err ||
4085          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4086        am_cv_CC_dependencies_compiler_type=$depmode
4087        break
4088      fi
4089    fi
4090  done
4091
4092  cd ..
4093  rm -rf conftest.dir
4094else
4095  am_cv_CC_dependencies_compiler_type=none
4096fi
4097
4098fi
4099{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4100$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4101CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4102
4103 if
4104  test "x$enable_dependency_tracking" != xno \
4105  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4106  am__fastdepCC_TRUE=
4107  am__fastdepCC_FALSE='#'
4108else
4109  am__fastdepCC_TRUE='#'
4110  am__fastdepCC_FALSE=
4111fi
4112
4113
4114
4115case `pwd` in
4116  *\ * | *\	*)
4117    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4118$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4119esac
4120
4121
4122
4123macro_version='2.2.6b'
4124macro_revision='1.3017'
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138ltmain="$ac_aux_dir/ltmain.sh"
4139
4140{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4141$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4142if test "${ac_cv_path_SED+set}" = set; then :
4143  $as_echo_n "(cached) " >&6
4144else
4145            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4146     for ac_i in 1 2 3 4 5 6 7; do
4147       ac_script="$ac_script$as_nl$ac_script"
4148     done
4149     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4150     { ac_script=; unset ac_script;}
4151     if test -z "$SED"; then
4152  ac_path_SED_found=false
4153  # Loop through the user's path and test for each of PROGNAME-LIST
4154  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4155for as_dir in $PATH
4156do
4157  IFS=$as_save_IFS
4158  test -z "$as_dir" && as_dir=.
4159    for ac_prog in sed gsed; do
4160    for ac_exec_ext in '' $ac_executable_extensions; do
4161      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4162      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4163# Check for GNU ac_path_SED and select it if it is found.
4164  # Check for GNU $ac_path_SED
4165case `"$ac_path_SED" --version 2>&1` in
4166*GNU*)
4167  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4168*)
4169  ac_count=0
4170  $as_echo_n 0123456789 >"conftest.in"
4171  while :
4172  do
4173    cat "conftest.in" "conftest.in" >"conftest.tmp"
4174    mv "conftest.tmp" "conftest.in"
4175    cp "conftest.in" "conftest.nl"
4176    $as_echo '' >> "conftest.nl"
4177    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4178    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4179    as_fn_arith $ac_count + 1 && ac_count=$as_val
4180    if test $ac_count -gt ${ac_path_SED_max-0}; then
4181      # Best one so far, save it but keep looking for a better one
4182      ac_cv_path_SED="$ac_path_SED"
4183      ac_path_SED_max=$ac_count
4184    fi
4185    # 10*(2^10) chars as input seems more than enough
4186    test $ac_count -gt 10 && break
4187  done
4188  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4189esac
4190
4191      $ac_path_SED_found && break 3
4192    done
4193  done
4194  done
4195IFS=$as_save_IFS
4196  if test -z "$ac_cv_path_SED"; then
4197    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4198  fi
4199else
4200  ac_cv_path_SED=$SED
4201fi
4202
4203fi
4204{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4205$as_echo "$ac_cv_path_SED" >&6; }
4206 SED="$ac_cv_path_SED"
4207  rm -f conftest.sed
4208
4209test -z "$SED" && SED=sed
4210Xsed="$SED -e 1s/^X//"
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4223$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4224if test "${ac_cv_path_GREP+set}" = set; then :
4225  $as_echo_n "(cached) " >&6
4226else
4227  if test -z "$GREP"; then
4228  ac_path_GREP_found=false
4229  # Loop through the user's path and test for each of PROGNAME-LIST
4230  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4231for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4232do
4233  IFS=$as_save_IFS
4234  test -z "$as_dir" && as_dir=.
4235    for ac_prog in grep ggrep; do
4236    for ac_exec_ext in '' $ac_executable_extensions; do
4237      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4238      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4239# Check for GNU ac_path_GREP and select it if it is found.
4240  # Check for GNU $ac_path_GREP
4241case `"$ac_path_GREP" --version 2>&1` in
4242*GNU*)
4243  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4244*)
4245  ac_count=0
4246  $as_echo_n 0123456789 >"conftest.in"
4247  while :
4248  do
4249    cat "conftest.in" "conftest.in" >"conftest.tmp"
4250    mv "conftest.tmp" "conftest.in"
4251    cp "conftest.in" "conftest.nl"
4252    $as_echo 'GREP' >> "conftest.nl"
4253    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4254    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4255    as_fn_arith $ac_count + 1 && ac_count=$as_val
4256    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4257      # Best one so far, save it but keep looking for a better one
4258      ac_cv_path_GREP="$ac_path_GREP"
4259      ac_path_GREP_max=$ac_count
4260    fi
4261    # 10*(2^10) chars as input seems more than enough
4262    test $ac_count -gt 10 && break
4263  done
4264  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4265esac
4266
4267      $ac_path_GREP_found && break 3
4268    done
4269  done
4270  done
4271IFS=$as_save_IFS
4272  if test -z "$ac_cv_path_GREP"; then
4273    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4274  fi
4275else
4276  ac_cv_path_GREP=$GREP
4277fi
4278
4279fi
4280{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4281$as_echo "$ac_cv_path_GREP" >&6; }
4282 GREP="$ac_cv_path_GREP"
4283
4284
4285{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4286$as_echo_n "checking for egrep... " >&6; }
4287if test "${ac_cv_path_EGREP+set}" = set; then :
4288  $as_echo_n "(cached) " >&6
4289else
4290  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4291   then ac_cv_path_EGREP="$GREP -E"
4292   else
4293     if test -z "$EGREP"; then
4294  ac_path_EGREP_found=false
4295  # Loop through the user's path and test for each of PROGNAME-LIST
4296  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4297for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4298do
4299  IFS=$as_save_IFS
4300  test -z "$as_dir" && as_dir=.
4301    for ac_prog in egrep; do
4302    for ac_exec_ext in '' $ac_executable_extensions; do
4303      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4304      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4305# Check for GNU ac_path_EGREP and select it if it is found.
4306  # Check for GNU $ac_path_EGREP
4307case `"$ac_path_EGREP" --version 2>&1` in
4308*GNU*)
4309  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4310*)
4311  ac_count=0
4312  $as_echo_n 0123456789 >"conftest.in"
4313  while :
4314  do
4315    cat "conftest.in" "conftest.in" >"conftest.tmp"
4316    mv "conftest.tmp" "conftest.in"
4317    cp "conftest.in" "conftest.nl"
4318    $as_echo 'EGREP' >> "conftest.nl"
4319    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4320    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4321    as_fn_arith $ac_count + 1 && ac_count=$as_val
4322    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4323      # Best one so far, save it but keep looking for a better one
4324      ac_cv_path_EGREP="$ac_path_EGREP"
4325      ac_path_EGREP_max=$ac_count
4326    fi
4327    # 10*(2^10) chars as input seems more than enough
4328    test $ac_count -gt 10 && break
4329  done
4330  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4331esac
4332
4333      $ac_path_EGREP_found && break 3
4334    done
4335  done
4336  done
4337IFS=$as_save_IFS
4338  if test -z "$ac_cv_path_EGREP"; then
4339    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4340  fi
4341else
4342  ac_cv_path_EGREP=$EGREP
4343fi
4344
4345   fi
4346fi
4347{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4348$as_echo "$ac_cv_path_EGREP" >&6; }
4349 EGREP="$ac_cv_path_EGREP"
4350
4351
4352{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4353$as_echo_n "checking for fgrep... " >&6; }
4354if test "${ac_cv_path_FGREP+set}" = set; then :
4355  $as_echo_n "(cached) " >&6
4356else
4357  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4358   then ac_cv_path_FGREP="$GREP -F"
4359   else
4360     if test -z "$FGREP"; then
4361  ac_path_FGREP_found=false
4362  # Loop through the user's path and test for each of PROGNAME-LIST
4363  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4364for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4365do
4366  IFS=$as_save_IFS
4367  test -z "$as_dir" && as_dir=.
4368    for ac_prog in fgrep; do
4369    for ac_exec_ext in '' $ac_executable_extensions; do
4370      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4371      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4372# Check for GNU ac_path_FGREP and select it if it is found.
4373  # Check for GNU $ac_path_FGREP
4374case `"$ac_path_FGREP" --version 2>&1` in
4375*GNU*)
4376  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4377*)
4378  ac_count=0
4379  $as_echo_n 0123456789 >"conftest.in"
4380  while :
4381  do
4382    cat "conftest.in" "conftest.in" >"conftest.tmp"
4383    mv "conftest.tmp" "conftest.in"
4384    cp "conftest.in" "conftest.nl"
4385    $as_echo 'FGREP' >> "conftest.nl"
4386    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4387    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4388    as_fn_arith $ac_count + 1 && ac_count=$as_val
4389    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4390      # Best one so far, save it but keep looking for a better one
4391      ac_cv_path_FGREP="$ac_path_FGREP"
4392      ac_path_FGREP_max=$ac_count
4393    fi
4394    # 10*(2^10) chars as input seems more than enough
4395    test $ac_count -gt 10 && break
4396  done
4397  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4398esac
4399
4400      $ac_path_FGREP_found && break 3
4401    done
4402  done
4403  done
4404IFS=$as_save_IFS
4405  if test -z "$ac_cv_path_FGREP"; then
4406    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4407  fi
4408else
4409  ac_cv_path_FGREP=$FGREP
4410fi
4411
4412   fi
4413fi
4414{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4415$as_echo "$ac_cv_path_FGREP" >&6; }
4416 FGREP="$ac_cv_path_FGREP"
4417
4418
4419test -z "$GREP" && GREP=grep
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439# Check whether --with-gnu-ld was given.
4440if test "${with_gnu_ld+set}" = set; then :
4441  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4442else
4443  with_gnu_ld=no
4444fi
4445
4446ac_prog=ld
4447if test "$GCC" = yes; then
4448  # Check if gcc -print-prog-name=ld gives a path.
4449  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4450$as_echo_n "checking for ld used by $CC... " >&6; }
4451  case $host in
4452  *-*-mingw*)
4453    # gcc leaves a trailing carriage return which upsets mingw
4454    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4455  *)
4456    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4457  esac
4458  case $ac_prog in
4459    # Accept absolute paths.
4460    [\\/]* | ?:[\\/]*)
4461      re_direlt='/[^/][^/]*/\.\./'
4462      # Canonicalize the pathname of ld
4463      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4464      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4465	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4466      done
4467      test -z "$LD" && LD="$ac_prog"
4468      ;;
4469  "")
4470    # If it fails, then pretend we aren't using GCC.
4471    ac_prog=ld
4472    ;;
4473  *)
4474    # If it is relative, then search for the first ld in PATH.
4475    with_gnu_ld=unknown
4476    ;;
4477  esac
4478elif test "$with_gnu_ld" = yes; then
4479  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4480$as_echo_n "checking for GNU ld... " >&6; }
4481else
4482  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4483$as_echo_n "checking for non-GNU ld... " >&6; }
4484fi
4485if test "${lt_cv_path_LD+set}" = set; then :
4486  $as_echo_n "(cached) " >&6
4487else
4488  if test -z "$LD"; then
4489  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4490  for ac_dir in $PATH; do
4491    IFS="$lt_save_ifs"
4492    test -z "$ac_dir" && ac_dir=.
4493    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4494      lt_cv_path_LD="$ac_dir/$ac_prog"
4495      # Check to see if the program is GNU ld.  I'd rather use --version,
4496      # but apparently some variants of GNU ld only accept -v.
4497      # Break only if it was the GNU/non-GNU ld that we prefer.
4498      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4499      *GNU* | *'with BFD'*)
4500	test "$with_gnu_ld" != no && break
4501	;;
4502      *)
4503	test "$with_gnu_ld" != yes && break
4504	;;
4505      esac
4506    fi
4507  done
4508  IFS="$lt_save_ifs"
4509else
4510  lt_cv_path_LD="$LD" # Let the user override the test with a path.
4511fi
4512fi
4513
4514LD="$lt_cv_path_LD"
4515if test -n "$LD"; then
4516  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4517$as_echo "$LD" >&6; }
4518else
4519  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4520$as_echo "no" >&6; }
4521fi
4522test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4523{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4524$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4525if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4526  $as_echo_n "(cached) " >&6
4527else
4528  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4529case `$LD -v 2>&1 </dev/null` in
4530*GNU* | *'with BFD'*)
4531  lt_cv_prog_gnu_ld=yes
4532  ;;
4533*)
4534  lt_cv_prog_gnu_ld=no
4535  ;;
4536esac
4537fi
4538{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4539$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4540with_gnu_ld=$lt_cv_prog_gnu_ld
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4551$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4552if test "${lt_cv_path_NM+set}" = set; then :
4553  $as_echo_n "(cached) " >&6
4554else
4555  if test -n "$NM"; then
4556  # Let the user override the test.
4557  lt_cv_path_NM="$NM"
4558else
4559  lt_nm_to_check="${ac_tool_prefix}nm"
4560  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4561    lt_nm_to_check="$lt_nm_to_check nm"
4562  fi
4563  for lt_tmp_nm in $lt_nm_to_check; do
4564    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4565    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4566      IFS="$lt_save_ifs"
4567      test -z "$ac_dir" && ac_dir=.
4568      tmp_nm="$ac_dir/$lt_tmp_nm"
4569      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4570	# Check to see if the nm accepts a BSD-compat flag.
4571	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
4572	#   nm: unknown option "B" ignored
4573	# Tru64's nm complains that /dev/null is an invalid object file
4574	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4575	*/dev/null* | *'Invalid file or object type'*)
4576	  lt_cv_path_NM="$tmp_nm -B"
4577	  break
4578	  ;;
4579	*)
4580	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4581	  */dev/null*)
4582	    lt_cv_path_NM="$tmp_nm -p"
4583	    break
4584	    ;;
4585	  *)
4586	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4587	    continue # so that we can try to find one that supports BSD flags
4588	    ;;
4589	  esac
4590	  ;;
4591	esac
4592      fi
4593    done
4594    IFS="$lt_save_ifs"
4595  done
4596  : ${lt_cv_path_NM=no}
4597fi
4598fi
4599{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4600$as_echo "$lt_cv_path_NM" >&6; }
4601if test "$lt_cv_path_NM" != "no"; then
4602  NM="$lt_cv_path_NM"
4603else
4604  # Didn't find any BSD compatible name lister, look for dumpbin.
4605  if test -n "$ac_tool_prefix"; then
4606  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4607  do
4608    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4609set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4610{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4611$as_echo_n "checking for $ac_word... " >&6; }
4612if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
4613  $as_echo_n "(cached) " >&6
4614else
4615  if test -n "$DUMPBIN"; then
4616  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4617else
4618as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4619for as_dir in $PATH
4620do
4621  IFS=$as_save_IFS
4622  test -z "$as_dir" && as_dir=.
4623    for ac_exec_ext in '' $ac_executable_extensions; do
4624  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4625    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4626    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4627    break 2
4628  fi
4629done
4630  done
4631IFS=$as_save_IFS
4632
4633fi
4634fi
4635DUMPBIN=$ac_cv_prog_DUMPBIN
4636if test -n "$DUMPBIN"; then
4637  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4638$as_echo "$DUMPBIN" >&6; }
4639else
4640  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4641$as_echo "no" >&6; }
4642fi
4643
4644
4645    test -n "$DUMPBIN" && break
4646  done
4647fi
4648if test -z "$DUMPBIN"; then
4649  ac_ct_DUMPBIN=$DUMPBIN
4650  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4651do
4652  # Extract the first word of "$ac_prog", so it can be a program name with args.
4653set dummy $ac_prog; ac_word=$2
4654{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4655$as_echo_n "checking for $ac_word... " >&6; }
4656if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
4657  $as_echo_n "(cached) " >&6
4658else
4659  if test -n "$ac_ct_DUMPBIN"; then
4660  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4661else
4662as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4663for as_dir in $PATH
4664do
4665  IFS=$as_save_IFS
4666  test -z "$as_dir" && as_dir=.
4667    for ac_exec_ext in '' $ac_executable_extensions; do
4668  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4669    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4670    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4671    break 2
4672  fi
4673done
4674  done
4675IFS=$as_save_IFS
4676
4677fi
4678fi
4679ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4680if test -n "$ac_ct_DUMPBIN"; then
4681  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4682$as_echo "$ac_ct_DUMPBIN" >&6; }
4683else
4684  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4685$as_echo "no" >&6; }
4686fi
4687
4688
4689  test -n "$ac_ct_DUMPBIN" && break
4690done
4691
4692  if test "x$ac_ct_DUMPBIN" = x; then
4693    DUMPBIN=":"
4694  else
4695    case $cross_compiling:$ac_tool_warned in
4696yes:)
4697{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4698$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4699ac_tool_warned=yes ;;
4700esac
4701    DUMPBIN=$ac_ct_DUMPBIN
4702  fi
4703fi
4704
4705
4706  if test "$DUMPBIN" != ":"; then
4707    NM="$DUMPBIN"
4708  fi
4709fi
4710test -z "$NM" && NM=nm
4711
4712
4713
4714
4715
4716
4717{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4718$as_echo_n "checking the name lister ($NM) interface... " >&6; }
4719if test "${lt_cv_nm_interface+set}" = set; then :
4720  $as_echo_n "(cached) " >&6
4721else
4722  lt_cv_nm_interface="BSD nm"
4723  echo "int some_variable = 0;" > conftest.$ac_ext
4724  (eval echo "\"\$as_me:4724: $ac_compile\"" >&5)
4725  (eval "$ac_compile" 2>conftest.err)
4726  cat conftest.err >&5
4727  (eval echo "\"\$as_me:4727: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4728  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4729  cat conftest.err >&5
4730  (eval echo "\"\$as_me:4730: output\"" >&5)
4731  cat conftest.out >&5
4732  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4733    lt_cv_nm_interface="MS dumpbin"
4734  fi
4735  rm -f conftest*
4736fi
4737{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4738$as_echo "$lt_cv_nm_interface" >&6; }
4739
4740{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4741$as_echo_n "checking whether ln -s works... " >&6; }
4742LN_S=$as_ln_s
4743if test "$LN_S" = "ln -s"; then
4744  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4745$as_echo "yes" >&6; }
4746else
4747  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4748$as_echo "no, using $LN_S" >&6; }
4749fi
4750
4751# find the maximum length of command line arguments
4752{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4753$as_echo_n "checking the maximum length of command line arguments... " >&6; }
4754if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
4755  $as_echo_n "(cached) " >&6
4756else
4757    i=0
4758  teststring="ABCD"
4759
4760  case $build_os in
4761  msdosdjgpp*)
4762    # On DJGPP, this test can blow up pretty badly due to problems in libc
4763    # (any single argument exceeding 2000 bytes causes a buffer overrun
4764    # during glob expansion).  Even if it were fixed, the result of this
4765    # check would be larger than it should be.
4766    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4767    ;;
4768
4769  gnu*)
4770    # Under GNU Hurd, this test is not required because there is
4771    # no limit to the length of command line arguments.
4772    # Libtool will interpret -1 as no limit whatsoever
4773    lt_cv_sys_max_cmd_len=-1;
4774    ;;
4775
4776  cygwin* | mingw* | cegcc*)
4777    # On Win9x/ME, this test blows up -- it succeeds, but takes
4778    # about 5 minutes as the teststring grows exponentially.
4779    # Worse, since 9x/ME are not pre-emptively multitasking,
4780    # you end up with a "frozen" computer, even though with patience
4781    # the test eventually succeeds (with a max line length of 256k).
4782    # Instead, let's just punt: use the minimum linelength reported by
4783    # all of the supported platforms: 8192 (on NT/2K/XP).
4784    lt_cv_sys_max_cmd_len=8192;
4785    ;;
4786
4787  amigaos*)
4788    # On AmigaOS with pdksh, this test takes hours, literally.
4789    # So we just punt and use a minimum line length of 8192.
4790    lt_cv_sys_max_cmd_len=8192;
4791    ;;
4792
4793  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4794    # This has been around since 386BSD, at least.  Likely further.
4795    if test -x /sbin/sysctl; then
4796      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4797    elif test -x /usr/sbin/sysctl; then
4798      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4799    else
4800      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
4801    fi
4802    # And add a safety zone
4803    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4804    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4805    ;;
4806
4807  interix*)
4808    # We know the value 262144 and hardcode it with a safety zone (like BSD)
4809    lt_cv_sys_max_cmd_len=196608
4810    ;;
4811
4812  osf*)
4813    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4814    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4815    # nice to cause kernel panics so lets avoid the loop below.
4816    # First set a reasonable default.
4817    lt_cv_sys_max_cmd_len=16384
4818    #
4819    if test -x /sbin/sysconfig; then
4820      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4821        *1*) lt_cv_sys_max_cmd_len=-1 ;;
4822      esac
4823    fi
4824    ;;
4825  sco3.2v5*)
4826    lt_cv_sys_max_cmd_len=102400
4827    ;;
4828  sysv5* | sco5v6* | sysv4.2uw2*)
4829    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4830    if test -n "$kargmax"; then
4831      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
4832    else
4833      lt_cv_sys_max_cmd_len=32768
4834    fi
4835    ;;
4836  *)
4837    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4838    if test -n "$lt_cv_sys_max_cmd_len"; then
4839      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4840      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4841    else
4842      # Make teststring a little bigger before we do anything with it.
4843      # a 1K string should be a reasonable start.
4844      for i in 1 2 3 4 5 6 7 8 ; do
4845        teststring=$teststring$teststring
4846      done
4847      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4848      # If test is not a shell built-in, we'll probably end up computing a
4849      # maximum length that is only half of the actual maximum length, but
4850      # we can't tell.
4851      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4852	         = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4853	      test $i != 17 # 1/2 MB should be enough
4854      do
4855        i=`expr $i + 1`
4856        teststring=$teststring$teststring
4857      done
4858      # Only check the string length outside the loop.
4859      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4860      teststring=
4861      # Add a significant safety factor because C++ compilers can tack on
4862      # massive amounts of additional arguments before passing them to the
4863      # linker.  It appears as though 1/2 is a usable value.
4864      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4865    fi
4866    ;;
4867  esac
4868
4869fi
4870
4871if test -n $lt_cv_sys_max_cmd_len ; then
4872  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4873$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4874else
4875  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4876$as_echo "none" >&6; }
4877fi
4878max_cmd_len=$lt_cv_sys_max_cmd_len
4879
4880
4881
4882
4883
4884
4885: ${CP="cp -f"}
4886: ${MV="mv -f"}
4887: ${RM="rm -f"}
4888
4889{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4890$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4891# Try some XSI features
4892xsi_shell=no
4893( _lt_dummy="a/b/c"
4894  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4895      = c,a/b,, \
4896    && eval 'test $(( 1 + 1 )) -eq 2 \
4897    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4898  && xsi_shell=yes
4899{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4900$as_echo "$xsi_shell" >&6; }
4901
4902
4903{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4904$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4905lt_shell_append=no
4906( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4907    >/dev/null 2>&1 \
4908  && lt_shell_append=yes
4909{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4910$as_echo "$lt_shell_append" >&6; }
4911
4912
4913if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4914  lt_unset=unset
4915else
4916  lt_unset=false
4917fi
4918
4919
4920
4921
4922
4923# test EBCDIC or ASCII
4924case `echo X|tr X '\101'` in
4925 A) # ASCII based system
4926    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4927  lt_SP2NL='tr \040 \012'
4928  lt_NL2SP='tr \015\012 \040\040'
4929  ;;
4930 *) # EBCDIC based system
4931  lt_SP2NL='tr \100 \n'
4932  lt_NL2SP='tr \r\n \100\100'
4933  ;;
4934esac
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4945$as_echo_n "checking for $LD option to reload object files... " >&6; }
4946if test "${lt_cv_ld_reload_flag+set}" = set; then :
4947  $as_echo_n "(cached) " >&6
4948else
4949  lt_cv_ld_reload_flag='-r'
4950fi
4951{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4952$as_echo "$lt_cv_ld_reload_flag" >&6; }
4953reload_flag=$lt_cv_ld_reload_flag
4954case $reload_flag in
4955"" | " "*) ;;
4956*) reload_flag=" $reload_flag" ;;
4957esac
4958reload_cmds='$LD$reload_flag -o $output$reload_objs'
4959case $host_os in
4960  darwin*)
4961    if test "$GCC" = yes; then
4962      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4963    else
4964      reload_cmds='$LD$reload_flag -o $output$reload_objs'
4965    fi
4966    ;;
4967esac
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977if test -n "$ac_tool_prefix"; then
4978  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4979set dummy ${ac_tool_prefix}objdump; ac_word=$2
4980{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4981$as_echo_n "checking for $ac_word... " >&6; }
4982if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
4983  $as_echo_n "(cached) " >&6
4984else
4985  if test -n "$OBJDUMP"; then
4986  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4987else
4988as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4989for as_dir in $PATH
4990do
4991  IFS=$as_save_IFS
4992  test -z "$as_dir" && as_dir=.
4993    for ac_exec_ext in '' $ac_executable_extensions; do
4994  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4995    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4996    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4997    break 2
4998  fi
4999done
5000  done
5001IFS=$as_save_IFS
5002
5003fi
5004fi
5005OBJDUMP=$ac_cv_prog_OBJDUMP
5006if test -n "$OBJDUMP"; then
5007  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5008$as_echo "$OBJDUMP" >&6; }
5009else
5010  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5011$as_echo "no" >&6; }
5012fi
5013
5014
5015fi
5016if test -z "$ac_cv_prog_OBJDUMP"; then
5017  ac_ct_OBJDUMP=$OBJDUMP
5018  # Extract the first word of "objdump", so it can be a program name with args.
5019set dummy objdump; ac_word=$2
5020{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5021$as_echo_n "checking for $ac_word... " >&6; }
5022if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5023  $as_echo_n "(cached) " >&6
5024else
5025  if test -n "$ac_ct_OBJDUMP"; then
5026  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5027else
5028as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5029for as_dir in $PATH
5030do
5031  IFS=$as_save_IFS
5032  test -z "$as_dir" && as_dir=.
5033    for ac_exec_ext in '' $ac_executable_extensions; do
5034  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5035    ac_cv_prog_ac_ct_OBJDUMP="objdump"
5036    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5037    break 2
5038  fi
5039done
5040  done
5041IFS=$as_save_IFS
5042
5043fi
5044fi
5045ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5046if test -n "$ac_ct_OBJDUMP"; then
5047  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5048$as_echo "$ac_ct_OBJDUMP" >&6; }
5049else
5050  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5051$as_echo "no" >&6; }
5052fi
5053
5054  if test "x$ac_ct_OBJDUMP" = x; then
5055    OBJDUMP="false"
5056  else
5057    case $cross_compiling:$ac_tool_warned in
5058yes:)
5059{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5060$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5061ac_tool_warned=yes ;;
5062esac
5063    OBJDUMP=$ac_ct_OBJDUMP
5064  fi
5065else
5066  OBJDUMP="$ac_cv_prog_OBJDUMP"
5067fi
5068
5069test -z "$OBJDUMP" && OBJDUMP=objdump
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5080$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5081if test "${lt_cv_deplibs_check_method+set}" = set; then :
5082  $as_echo_n "(cached) " >&6
5083else
5084  lt_cv_file_magic_cmd='$MAGIC_CMD'
5085lt_cv_file_magic_test_file=
5086lt_cv_deplibs_check_method='unknown'
5087# Need to set the preceding variable on all platforms that support
5088# interlibrary dependencies.
5089# 'none' -- dependencies not supported.
5090# `unknown' -- same as none, but documents that we really don't know.
5091# 'pass_all' -- all dependencies passed with no checks.
5092# 'test_compile' -- check by making test program.
5093# 'file_magic [[regex]]' -- check by looking for files in library path
5094# which responds to the $file_magic_cmd with a given extended regex.
5095# If you have `file' or equivalent on your system and you're not sure
5096# whether `pass_all' will *always* work, you probably want this one.
5097
5098case $host_os in
5099aix[4-9]*)
5100  lt_cv_deplibs_check_method=pass_all
5101  ;;
5102
5103beos*)
5104  lt_cv_deplibs_check_method=pass_all
5105  ;;
5106
5107bsdi[45]*)
5108  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5109  lt_cv_file_magic_cmd='/usr/bin/file -L'
5110  lt_cv_file_magic_test_file=/shlib/libc.so
5111  ;;
5112
5113cygwin*)
5114  # func_win32_libid is a shell function defined in ltmain.sh
5115  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5116  lt_cv_file_magic_cmd='func_win32_libid'
5117  ;;
5118
5119mingw* | pw32*)
5120  # Base MSYS/MinGW do not provide the 'file' command needed by
5121  # func_win32_libid shell function, so use a weaker test based on 'objdump',
5122  # unless we find 'file', for example because we are cross-compiling.
5123  if ( file / ) >/dev/null 2>&1; then
5124    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5125    lt_cv_file_magic_cmd='func_win32_libid'
5126  else
5127    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5128    lt_cv_file_magic_cmd='$OBJDUMP -f'
5129  fi
5130  ;;
5131
5132cegcc)
5133  # use the weaker test based on 'objdump'. See mingw*.
5134  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5135  lt_cv_file_magic_cmd='$OBJDUMP -f'
5136  ;;
5137
5138darwin* | rhapsody*)
5139  lt_cv_deplibs_check_method=pass_all
5140  ;;
5141
5142freebsd* | dragonfly*)
5143  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5144    case $host_cpu in
5145    i*86 )
5146      # Not sure whether the presence of OpenBSD here was a mistake.
5147      # Let's accept both of them until this is cleared up.
5148      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5149      lt_cv_file_magic_cmd=/usr/bin/file
5150      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5151      ;;
5152    esac
5153  else
5154    lt_cv_deplibs_check_method=pass_all
5155  fi
5156  ;;
5157
5158gnu*)
5159  lt_cv_deplibs_check_method=pass_all
5160  ;;
5161
5162hpux10.20* | hpux11*)
5163  lt_cv_file_magic_cmd=/usr/bin/file
5164  case $host_cpu in
5165  ia64*)
5166    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5167    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5168    ;;
5169  hppa*64*)
5170    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]'
5171    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5172    ;;
5173  *)
5174    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5175    lt_cv_file_magic_test_file=/usr/lib/libc.sl
5176    ;;
5177  esac
5178  ;;
5179
5180interix[3-9]*)
5181  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5182  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5183  ;;
5184
5185irix5* | irix6* | nonstopux*)
5186  case $LD in
5187  *-32|*"-32 ") libmagic=32-bit;;
5188  *-n32|*"-n32 ") libmagic=N32;;
5189  *-64|*"-64 ") libmagic=64-bit;;
5190  *) libmagic=never-match;;
5191  esac
5192  lt_cv_deplibs_check_method=pass_all
5193  ;;
5194
5195# This must be Linux ELF.
5196linux* | k*bsd*-gnu | kopensolaris*-gnu)
5197  lt_cv_deplibs_check_method=pass_all
5198  ;;
5199
5200netbsd* | netbsdelf*-gnu)
5201  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5202    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5203  else
5204    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5205  fi
5206  ;;
5207
5208newos6*)
5209  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5210  lt_cv_file_magic_cmd=/usr/bin/file
5211  lt_cv_file_magic_test_file=/usr/lib/libnls.so
5212  ;;
5213
5214*nto* | *qnx*)
5215  lt_cv_deplibs_check_method=pass_all
5216  ;;
5217
5218openbsd*)
5219  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5220    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5221  else
5222    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5223  fi
5224  ;;
5225
5226osf3* | osf4* | osf5*)
5227  lt_cv_deplibs_check_method=pass_all
5228  ;;
5229
5230rdos*)
5231  lt_cv_deplibs_check_method=pass_all
5232  ;;
5233
5234solaris*)
5235  lt_cv_deplibs_check_method=pass_all
5236  ;;
5237
5238sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5239  lt_cv_deplibs_check_method=pass_all
5240  ;;
5241
5242sysv4 | sysv4.3*)
5243  case $host_vendor in
5244  motorola)
5245    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]'
5246    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5247    ;;
5248  ncr)
5249    lt_cv_deplibs_check_method=pass_all
5250    ;;
5251  sequent)
5252    lt_cv_file_magic_cmd='/bin/file'
5253    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5254    ;;
5255  sni)
5256    lt_cv_file_magic_cmd='/bin/file'
5257    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5258    lt_cv_file_magic_test_file=/lib/libc.so
5259    ;;
5260  siemens)
5261    lt_cv_deplibs_check_method=pass_all
5262    ;;
5263  pc)
5264    lt_cv_deplibs_check_method=pass_all
5265    ;;
5266  esac
5267  ;;
5268
5269tpf*)
5270  lt_cv_deplibs_check_method=pass_all
5271  ;;
5272esac
5273
5274fi
5275{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5276$as_echo "$lt_cv_deplibs_check_method" >&6; }
5277file_magic_cmd=$lt_cv_file_magic_cmd
5278deplibs_check_method=$lt_cv_deplibs_check_method
5279test -z "$deplibs_check_method" && deplibs_check_method=unknown
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292if test -n "$ac_tool_prefix"; then
5293  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5294set dummy ${ac_tool_prefix}ar; ac_word=$2
5295{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5296$as_echo_n "checking for $ac_word... " >&6; }
5297if test "${ac_cv_prog_AR+set}" = set; then :
5298  $as_echo_n "(cached) " >&6
5299else
5300  if test -n "$AR"; then
5301  ac_cv_prog_AR="$AR" # Let the user override the test.
5302else
5303as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5304for as_dir in $PATH
5305do
5306  IFS=$as_save_IFS
5307  test -z "$as_dir" && as_dir=.
5308    for ac_exec_ext in '' $ac_executable_extensions; do
5309  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5310    ac_cv_prog_AR="${ac_tool_prefix}ar"
5311    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5312    break 2
5313  fi
5314done
5315  done
5316IFS=$as_save_IFS
5317
5318fi
5319fi
5320AR=$ac_cv_prog_AR
5321if test -n "$AR"; then
5322  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5323$as_echo "$AR" >&6; }
5324else
5325  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5326$as_echo "no" >&6; }
5327fi
5328
5329
5330fi
5331if test -z "$ac_cv_prog_AR"; then
5332  ac_ct_AR=$AR
5333  # Extract the first word of "ar", so it can be a program name with args.
5334set dummy ar; ac_word=$2
5335{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5336$as_echo_n "checking for $ac_word... " >&6; }
5337if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5338  $as_echo_n "(cached) " >&6
5339else
5340  if test -n "$ac_ct_AR"; then
5341  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5342else
5343as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5344for as_dir in $PATH
5345do
5346  IFS=$as_save_IFS
5347  test -z "$as_dir" && as_dir=.
5348    for ac_exec_ext in '' $ac_executable_extensions; do
5349  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5350    ac_cv_prog_ac_ct_AR="ar"
5351    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5352    break 2
5353  fi
5354done
5355  done
5356IFS=$as_save_IFS
5357
5358fi
5359fi
5360ac_ct_AR=$ac_cv_prog_ac_ct_AR
5361if test -n "$ac_ct_AR"; then
5362  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5363$as_echo "$ac_ct_AR" >&6; }
5364else
5365  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5366$as_echo "no" >&6; }
5367fi
5368
5369  if test "x$ac_ct_AR" = x; then
5370    AR="false"
5371  else
5372    case $cross_compiling:$ac_tool_warned in
5373yes:)
5374{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5375$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5376ac_tool_warned=yes ;;
5377esac
5378    AR=$ac_ct_AR
5379  fi
5380else
5381  AR="$ac_cv_prog_AR"
5382fi
5383
5384test -z "$AR" && AR=ar
5385test -z "$AR_FLAGS" && AR_FLAGS=cru
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397if test -n "$ac_tool_prefix"; then
5398  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5399set dummy ${ac_tool_prefix}strip; ac_word=$2
5400{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5401$as_echo_n "checking for $ac_word... " >&6; }
5402if test "${ac_cv_prog_STRIP+set}" = set; then :
5403  $as_echo_n "(cached) " >&6
5404else
5405  if test -n "$STRIP"; then
5406  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5407else
5408as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5409for as_dir in $PATH
5410do
5411  IFS=$as_save_IFS
5412  test -z "$as_dir" && as_dir=.
5413    for ac_exec_ext in '' $ac_executable_extensions; do
5414  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5415    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5416    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5417    break 2
5418  fi
5419done
5420  done
5421IFS=$as_save_IFS
5422
5423fi
5424fi
5425STRIP=$ac_cv_prog_STRIP
5426if test -n "$STRIP"; then
5427  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5428$as_echo "$STRIP" >&6; }
5429else
5430  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5431$as_echo "no" >&6; }
5432fi
5433
5434
5435fi
5436if test -z "$ac_cv_prog_STRIP"; then
5437  ac_ct_STRIP=$STRIP
5438  # Extract the first word of "strip", so it can be a program name with args.
5439set dummy strip; ac_word=$2
5440{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5441$as_echo_n "checking for $ac_word... " >&6; }
5442if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5443  $as_echo_n "(cached) " >&6
5444else
5445  if test -n "$ac_ct_STRIP"; then
5446  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5447else
5448as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5449for as_dir in $PATH
5450do
5451  IFS=$as_save_IFS
5452  test -z "$as_dir" && as_dir=.
5453    for ac_exec_ext in '' $ac_executable_extensions; do
5454  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5455    ac_cv_prog_ac_ct_STRIP="strip"
5456    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5457    break 2
5458  fi
5459done
5460  done
5461IFS=$as_save_IFS
5462
5463fi
5464fi
5465ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5466if test -n "$ac_ct_STRIP"; then
5467  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5468$as_echo "$ac_ct_STRIP" >&6; }
5469else
5470  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5471$as_echo "no" >&6; }
5472fi
5473
5474  if test "x$ac_ct_STRIP" = x; then
5475    STRIP=":"
5476  else
5477    case $cross_compiling:$ac_tool_warned in
5478yes:)
5479{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5480$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5481ac_tool_warned=yes ;;
5482esac
5483    STRIP=$ac_ct_STRIP
5484  fi
5485else
5486  STRIP="$ac_cv_prog_STRIP"
5487fi
5488
5489test -z "$STRIP" && STRIP=:
5490
5491
5492
5493
5494
5495
5496if test -n "$ac_tool_prefix"; then
5497  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5498set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5499{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5500$as_echo_n "checking for $ac_word... " >&6; }
5501if test "${ac_cv_prog_RANLIB+set}" = set; then :
5502  $as_echo_n "(cached) " >&6
5503else
5504  if test -n "$RANLIB"; then
5505  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5506else
5507as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5508for as_dir in $PATH
5509do
5510  IFS=$as_save_IFS
5511  test -z "$as_dir" && as_dir=.
5512    for ac_exec_ext in '' $ac_executable_extensions; do
5513  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5514    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5515    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5516    break 2
5517  fi
5518done
5519  done
5520IFS=$as_save_IFS
5521
5522fi
5523fi
5524RANLIB=$ac_cv_prog_RANLIB
5525if test -n "$RANLIB"; then
5526  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5527$as_echo "$RANLIB" >&6; }
5528else
5529  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5530$as_echo "no" >&6; }
5531fi
5532
5533
5534fi
5535if test -z "$ac_cv_prog_RANLIB"; then
5536  ac_ct_RANLIB=$RANLIB
5537  # Extract the first word of "ranlib", so it can be a program name with args.
5538set dummy ranlib; ac_word=$2
5539{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5540$as_echo_n "checking for $ac_word... " >&6; }
5541if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5542  $as_echo_n "(cached) " >&6
5543else
5544  if test -n "$ac_ct_RANLIB"; then
5545  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5546else
5547as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5548for as_dir in $PATH
5549do
5550  IFS=$as_save_IFS
5551  test -z "$as_dir" && as_dir=.
5552    for ac_exec_ext in '' $ac_executable_extensions; do
5553  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5554    ac_cv_prog_ac_ct_RANLIB="ranlib"
5555    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5556    break 2
5557  fi
5558done
5559  done
5560IFS=$as_save_IFS
5561
5562fi
5563fi
5564ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5565if test -n "$ac_ct_RANLIB"; then
5566  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5567$as_echo "$ac_ct_RANLIB" >&6; }
5568else
5569  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5570$as_echo "no" >&6; }
5571fi
5572
5573  if test "x$ac_ct_RANLIB" = x; then
5574    RANLIB=":"
5575  else
5576    case $cross_compiling:$ac_tool_warned in
5577yes:)
5578{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5579$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5580ac_tool_warned=yes ;;
5581esac
5582    RANLIB=$ac_ct_RANLIB
5583  fi
5584else
5585  RANLIB="$ac_cv_prog_RANLIB"
5586fi
5587
5588test -z "$RANLIB" && RANLIB=:
5589
5590
5591
5592
5593
5594
5595# Determine commands to create old-style static archives.
5596old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5597old_postinstall_cmds='chmod 644 $oldlib'
5598old_postuninstall_cmds=
5599
5600if test -n "$RANLIB"; then
5601  case $host_os in
5602  openbsd*)
5603    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5604    ;;
5605  *)
5606    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5607    ;;
5608  esac
5609  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5610fi
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645# If no C compiler was specified, use CC.
5646LTCC=${LTCC-"$CC"}
5647
5648# If no C compiler flags were specified, use CFLAGS.
5649LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5650
5651# Allow CC to be a program name with arguments.
5652compiler=$CC
5653
5654
5655# Check for command to grab the raw symbol name followed by C symbol from nm.
5656{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5657$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5658if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
5659  $as_echo_n "(cached) " >&6
5660else
5661
5662# These are sane defaults that work on at least a few old systems.
5663# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
5664
5665# Character class describing NM global symbol codes.
5666symcode='[BCDEGRST]'
5667
5668# Regexp to match symbols that can be accessed directly from C.
5669sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5670
5671# Define system-specific variables.
5672case $host_os in
5673aix*)
5674  symcode='[BCDT]'
5675  ;;
5676cygwin* | mingw* | pw32* | cegcc*)
5677  symcode='[ABCDGISTW]'
5678  ;;
5679hpux*)
5680  if test "$host_cpu" = ia64; then
5681    symcode='[ABCDEGRST]'
5682  fi
5683  ;;
5684irix* | nonstopux*)
5685  symcode='[BCDEGRST]'
5686  ;;
5687osf*)
5688  symcode='[BCDEGQRST]'
5689  ;;
5690solaris*)
5691  symcode='[BDRT]'
5692  ;;
5693sco3.2v5*)
5694  symcode='[DT]'
5695  ;;
5696sysv4.2uw2*)
5697  symcode='[DT]'
5698  ;;
5699sysv5* | sco5v6* | unixware* | OpenUNIX*)
5700  symcode='[ABDT]'
5701  ;;
5702sysv4)
5703  symcode='[DFNSTU]'
5704  ;;
5705esac
5706
5707# If we're using GNU nm, then use its standard symbol codes.
5708case `$NM -V 2>&1` in
5709*GNU* | *'with BFD'*)
5710  symcode='[ABCDGIRSTW]' ;;
5711esac
5712
5713# Transform an extracted symbol line into a proper C declaration.
5714# Some systems (esp. on ia64) link data and code symbols differently,
5715# so use this general approach.
5716lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5717
5718# Transform an extracted symbol line into symbol name and symbol address
5719lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
5720lt_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'"
5721
5722# Handle CRLF in mingw tool chain
5723opt_cr=
5724case $build_os in
5725mingw*)
5726  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5727  ;;
5728esac
5729
5730# Try without a prefix underscore, then with it.
5731for ac_symprfx in "" "_"; do
5732
5733  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5734  symxfrm="\\1 $ac_symprfx\\2 \\2"
5735
5736  # Write the raw and C identifiers.
5737  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5738    # Fake it for dumpbin and say T for any non-static function
5739    # and D for any global variable.
5740    # Also find C++ and __fastcall symbols from MSVC++,
5741    # which start with @ or ?.
5742    lt_cv_sys_global_symbol_pipe="$AWK '"\
5743"     {last_section=section; section=\$ 3};"\
5744"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5745"     \$ 0!~/External *\|/{next};"\
5746"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5747"     {if(hide[section]) next};"\
5748"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5749"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5750"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
5751"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5752"     ' prfx=^$ac_symprfx"
5753  else
5754    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5755  fi
5756
5757  # Check to see that the pipe works correctly.
5758  pipe_works=no
5759
5760  rm -f conftest*
5761  cat > conftest.$ac_ext <<_LT_EOF
5762#ifdef __cplusplus
5763extern "C" {
5764#endif
5765char nm_test_var;
5766void nm_test_func(void);
5767void nm_test_func(void){}
5768#ifdef __cplusplus
5769}
5770#endif
5771int main(){nm_test_var='a';nm_test_func();return(0);}
5772_LT_EOF
5773
5774  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5775  (eval $ac_compile) 2>&5
5776  ac_status=$?
5777  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5778  test $ac_status = 0; }; then
5779    # Now try to grab the symbols.
5780    nlist=conftest.nm
5781    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
5782  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5783  ac_status=$?
5784  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5785  test $ac_status = 0; } && test -s "$nlist"; then
5786      # Try sorting and uniquifying the output.
5787      if sort "$nlist" | uniq > "$nlist"T; then
5788	mv -f "$nlist"T "$nlist"
5789      else
5790	rm -f "$nlist"T
5791      fi
5792
5793      # Make sure that we snagged all the symbols we need.
5794      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5795	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5796	  cat <<_LT_EOF > conftest.$ac_ext
5797#ifdef __cplusplus
5798extern "C" {
5799#endif
5800
5801_LT_EOF
5802	  # Now generate the symbol file.
5803	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5804
5805	  cat <<_LT_EOF >> conftest.$ac_ext
5806
5807/* The mapping between symbol names and symbols.  */
5808const struct {
5809  const char *name;
5810  void       *address;
5811}
5812lt__PROGRAM__LTX_preloaded_symbols[] =
5813{
5814  { "@PROGRAM@", (void *) 0 },
5815_LT_EOF
5816	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5817	  cat <<\_LT_EOF >> conftest.$ac_ext
5818  {0, (void *) 0}
5819};
5820
5821/* This works around a problem in FreeBSD linker */
5822#ifdef FREEBSD_WORKAROUND
5823static const void *lt_preloaded_setup() {
5824  return lt__PROGRAM__LTX_preloaded_symbols;
5825}
5826#endif
5827
5828#ifdef __cplusplus
5829}
5830#endif
5831_LT_EOF
5832	  # Now try linking the two files.
5833	  mv conftest.$ac_objext conftstm.$ac_objext
5834	  lt_save_LIBS="$LIBS"
5835	  lt_save_CFLAGS="$CFLAGS"
5836	  LIBS="conftstm.$ac_objext"
5837	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5838	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5839  (eval $ac_link) 2>&5
5840  ac_status=$?
5841  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5842  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
5843	    pipe_works=yes
5844	  fi
5845	  LIBS="$lt_save_LIBS"
5846	  CFLAGS="$lt_save_CFLAGS"
5847	else
5848	  echo "cannot find nm_test_func in $nlist" >&5
5849	fi
5850      else
5851	echo "cannot find nm_test_var in $nlist" >&5
5852      fi
5853    else
5854      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5855    fi
5856  else
5857    echo "$progname: failed program was:" >&5
5858    cat conftest.$ac_ext >&5
5859  fi
5860  rm -rf conftest* conftst*
5861
5862  # Do not use the global_symbol_pipe unless it works.
5863  if test "$pipe_works" = yes; then
5864    break
5865  else
5866    lt_cv_sys_global_symbol_pipe=
5867  fi
5868done
5869
5870fi
5871
5872if test -z "$lt_cv_sys_global_symbol_pipe"; then
5873  lt_cv_sys_global_symbol_to_cdecl=
5874fi
5875if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5876  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
5877$as_echo "failed" >&6; }
5878else
5879  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5880$as_echo "ok" >&6; }
5881fi
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905# Check whether --enable-libtool-lock was given.
5906if test "${enable_libtool_lock+set}" = set; then :
5907  enableval=$enable_libtool_lock;
5908fi
5909
5910test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5911
5912# Some flags need to be propagated to the compiler or linker for good
5913# libtool support.
5914case $host in
5915ia64-*-hpux*)
5916  # Find out which ABI we are using.
5917  echo 'int i;' > conftest.$ac_ext
5918  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5919  (eval $ac_compile) 2>&5
5920  ac_status=$?
5921  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5922  test $ac_status = 0; }; then
5923    case `/usr/bin/file conftest.$ac_objext` in
5924      *ELF-32*)
5925	HPUX_IA64_MODE="32"
5926	;;
5927      *ELF-64*)
5928	HPUX_IA64_MODE="64"
5929	;;
5930    esac
5931  fi
5932  rm -rf conftest*
5933  ;;
5934*-*-irix6*)
5935  # Find out which ABI we are using.
5936  echo '#line 5936 "configure"' > conftest.$ac_ext
5937  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5938  (eval $ac_compile) 2>&5
5939  ac_status=$?
5940  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5941  test $ac_status = 0; }; then
5942    if test "$lt_cv_prog_gnu_ld" = yes; then
5943      case `/usr/bin/file conftest.$ac_objext` in
5944	*32-bit*)
5945	  LD="${LD-ld} -melf32bsmip"
5946	  ;;
5947	*N32*)
5948	  LD="${LD-ld} -melf32bmipn32"
5949	  ;;
5950	*64-bit*)
5951	  LD="${LD-ld} -melf64bmip"
5952	;;
5953      esac
5954    else
5955      case `/usr/bin/file conftest.$ac_objext` in
5956	*32-bit*)
5957	  LD="${LD-ld} -32"
5958	  ;;
5959	*N32*)
5960	  LD="${LD-ld} -n32"
5961	  ;;
5962	*64-bit*)
5963	  LD="${LD-ld} -64"
5964	  ;;
5965      esac
5966    fi
5967  fi
5968  rm -rf conftest*
5969  ;;
5970
5971x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5972s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5973  # Find out which ABI we are using.
5974  echo 'int i;' > conftest.$ac_ext
5975  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5976  (eval $ac_compile) 2>&5
5977  ac_status=$?
5978  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5979  test $ac_status = 0; }; then
5980    case `/usr/bin/file conftest.o` in
5981      *32-bit*)
5982	case $host in
5983	  x86_64-*kfreebsd*-gnu)
5984	    LD="${LD-ld} -m elf_i386_fbsd"
5985	    ;;
5986	  x86_64-*linux*)
5987	    LD="${LD-ld} -m elf_i386"
5988	    ;;
5989	  ppc64-*linux*|powerpc64-*linux*)
5990	    LD="${LD-ld} -m elf32ppclinux"
5991	    ;;
5992	  s390x-*linux*)
5993	    LD="${LD-ld} -m elf_s390"
5994	    ;;
5995	  sparc64-*linux*)
5996	    LD="${LD-ld} -m elf32_sparc"
5997	    ;;
5998	esac
5999	;;
6000      *64-bit*)
6001	case $host in
6002	  x86_64-*kfreebsd*-gnu)
6003	    LD="${LD-ld} -m elf_x86_64_fbsd"
6004	    ;;
6005	  x86_64-*linux*)
6006	    LD="${LD-ld} -m elf_x86_64"
6007	    ;;
6008	  ppc*-*linux*|powerpc*-*linux*)
6009	    LD="${LD-ld} -m elf64ppc"
6010	    ;;
6011	  s390*-*linux*|s390*-*tpf*)
6012	    LD="${LD-ld} -m elf64_s390"
6013	    ;;
6014	  sparc*-*linux*)
6015	    LD="${LD-ld} -m elf64_sparc"
6016	    ;;
6017	esac
6018	;;
6019    esac
6020  fi
6021  rm -rf conftest*
6022  ;;
6023
6024*-*-sco3.2v5*)
6025  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6026  SAVE_CFLAGS="$CFLAGS"
6027  CFLAGS="$CFLAGS -belf"
6028  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6029$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6030if test "${lt_cv_cc_needs_belf+set}" = set; then :
6031  $as_echo_n "(cached) " >&6
6032else
6033  ac_ext=c
6034ac_cpp='$CPP $CPPFLAGS'
6035ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6036ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6037ac_compiler_gnu=$ac_cv_c_compiler_gnu
6038
6039     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6040/* end confdefs.h.  */
6041
6042int
6043main ()
6044{
6045
6046  ;
6047  return 0;
6048}
6049_ACEOF
6050if ac_fn_c_try_link "$LINENO"; then :
6051  lt_cv_cc_needs_belf=yes
6052else
6053  lt_cv_cc_needs_belf=no
6054fi
6055rm -f core conftest.err conftest.$ac_objext \
6056    conftest$ac_exeext conftest.$ac_ext
6057     ac_ext=c
6058ac_cpp='$CPP $CPPFLAGS'
6059ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6060ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6061ac_compiler_gnu=$ac_cv_c_compiler_gnu
6062
6063fi
6064{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6065$as_echo "$lt_cv_cc_needs_belf" >&6; }
6066  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6067    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6068    CFLAGS="$SAVE_CFLAGS"
6069  fi
6070  ;;
6071sparc*-*solaris*)
6072  # Find out which ABI we are using.
6073  echo 'int i;' > conftest.$ac_ext
6074  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6075  (eval $ac_compile) 2>&5
6076  ac_status=$?
6077  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6078  test $ac_status = 0; }; then
6079    case `/usr/bin/file conftest.o` in
6080    *64-bit*)
6081      case $lt_cv_prog_gnu_ld in
6082      yes*) LD="${LD-ld} -m elf64_sparc" ;;
6083      *)
6084	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6085	  LD="${LD-ld} -64"
6086	fi
6087	;;
6088      esac
6089      ;;
6090    esac
6091  fi
6092  rm -rf conftest*
6093  ;;
6094esac
6095
6096need_locks="$enable_libtool_lock"
6097
6098
6099  case $host_os in
6100    rhapsody* | darwin*)
6101    if test -n "$ac_tool_prefix"; then
6102  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6103set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6104{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6105$as_echo_n "checking for $ac_word... " >&6; }
6106if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6107  $as_echo_n "(cached) " >&6
6108else
6109  if test -n "$DSYMUTIL"; then
6110  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6111else
6112as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6113for as_dir in $PATH
6114do
6115  IFS=$as_save_IFS
6116  test -z "$as_dir" && as_dir=.
6117    for ac_exec_ext in '' $ac_executable_extensions; do
6118  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6119    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6120    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6121    break 2
6122  fi
6123done
6124  done
6125IFS=$as_save_IFS
6126
6127fi
6128fi
6129DSYMUTIL=$ac_cv_prog_DSYMUTIL
6130if test -n "$DSYMUTIL"; then
6131  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6132$as_echo "$DSYMUTIL" >&6; }
6133else
6134  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6135$as_echo "no" >&6; }
6136fi
6137
6138
6139fi
6140if test -z "$ac_cv_prog_DSYMUTIL"; then
6141  ac_ct_DSYMUTIL=$DSYMUTIL
6142  # Extract the first word of "dsymutil", so it can be a program name with args.
6143set dummy dsymutil; ac_word=$2
6144{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6145$as_echo_n "checking for $ac_word... " >&6; }
6146if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6147  $as_echo_n "(cached) " >&6
6148else
6149  if test -n "$ac_ct_DSYMUTIL"; then
6150  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6151else
6152as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6153for as_dir in $PATH
6154do
6155  IFS=$as_save_IFS
6156  test -z "$as_dir" && as_dir=.
6157    for ac_exec_ext in '' $ac_executable_extensions; do
6158  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6159    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6160    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6161    break 2
6162  fi
6163done
6164  done
6165IFS=$as_save_IFS
6166
6167fi
6168fi
6169ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6170if test -n "$ac_ct_DSYMUTIL"; then
6171  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6172$as_echo "$ac_ct_DSYMUTIL" >&6; }
6173else
6174  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6175$as_echo "no" >&6; }
6176fi
6177
6178  if test "x$ac_ct_DSYMUTIL" = x; then
6179    DSYMUTIL=":"
6180  else
6181    case $cross_compiling:$ac_tool_warned in
6182yes:)
6183{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6184$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6185ac_tool_warned=yes ;;
6186esac
6187    DSYMUTIL=$ac_ct_DSYMUTIL
6188  fi
6189else
6190  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6191fi
6192
6193    if test -n "$ac_tool_prefix"; then
6194  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6195set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6196{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6197$as_echo_n "checking for $ac_word... " >&6; }
6198if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6199  $as_echo_n "(cached) " >&6
6200else
6201  if test -n "$NMEDIT"; then
6202  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6203else
6204as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6205for as_dir in $PATH
6206do
6207  IFS=$as_save_IFS
6208  test -z "$as_dir" && as_dir=.
6209    for ac_exec_ext in '' $ac_executable_extensions; do
6210  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6211    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6212    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6213    break 2
6214  fi
6215done
6216  done
6217IFS=$as_save_IFS
6218
6219fi
6220fi
6221NMEDIT=$ac_cv_prog_NMEDIT
6222if test -n "$NMEDIT"; then
6223  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6224$as_echo "$NMEDIT" >&6; }
6225else
6226  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6227$as_echo "no" >&6; }
6228fi
6229
6230
6231fi
6232if test -z "$ac_cv_prog_NMEDIT"; then
6233  ac_ct_NMEDIT=$NMEDIT
6234  # Extract the first word of "nmedit", so it can be a program name with args.
6235set dummy nmedit; ac_word=$2
6236{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6237$as_echo_n "checking for $ac_word... " >&6; }
6238if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6239  $as_echo_n "(cached) " >&6
6240else
6241  if test -n "$ac_ct_NMEDIT"; then
6242  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6243else
6244as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6245for as_dir in $PATH
6246do
6247  IFS=$as_save_IFS
6248  test -z "$as_dir" && as_dir=.
6249    for ac_exec_ext in '' $ac_executable_extensions; do
6250  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6251    ac_cv_prog_ac_ct_NMEDIT="nmedit"
6252    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6253    break 2
6254  fi
6255done
6256  done
6257IFS=$as_save_IFS
6258
6259fi
6260fi
6261ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6262if test -n "$ac_ct_NMEDIT"; then
6263  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6264$as_echo "$ac_ct_NMEDIT" >&6; }
6265else
6266  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6267$as_echo "no" >&6; }
6268fi
6269
6270  if test "x$ac_ct_NMEDIT" = x; then
6271    NMEDIT=":"
6272  else
6273    case $cross_compiling:$ac_tool_warned in
6274yes:)
6275{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6276$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6277ac_tool_warned=yes ;;
6278esac
6279    NMEDIT=$ac_ct_NMEDIT
6280  fi
6281else
6282  NMEDIT="$ac_cv_prog_NMEDIT"
6283fi
6284
6285    if test -n "$ac_tool_prefix"; then
6286  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6287set dummy ${ac_tool_prefix}lipo; ac_word=$2
6288{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6289$as_echo_n "checking for $ac_word... " >&6; }
6290if test "${ac_cv_prog_LIPO+set}" = set; then :
6291  $as_echo_n "(cached) " >&6
6292else
6293  if test -n "$LIPO"; then
6294  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6295else
6296as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6297for as_dir in $PATH
6298do
6299  IFS=$as_save_IFS
6300  test -z "$as_dir" && as_dir=.
6301    for ac_exec_ext in '' $ac_executable_extensions; do
6302  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6303    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6304    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6305    break 2
6306  fi
6307done
6308  done
6309IFS=$as_save_IFS
6310
6311fi
6312fi
6313LIPO=$ac_cv_prog_LIPO
6314if test -n "$LIPO"; then
6315  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6316$as_echo "$LIPO" >&6; }
6317else
6318  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6319$as_echo "no" >&6; }
6320fi
6321
6322
6323fi
6324if test -z "$ac_cv_prog_LIPO"; then
6325  ac_ct_LIPO=$LIPO
6326  # Extract the first word of "lipo", so it can be a program name with args.
6327set dummy lipo; ac_word=$2
6328{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6329$as_echo_n "checking for $ac_word... " >&6; }
6330if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6331  $as_echo_n "(cached) " >&6
6332else
6333  if test -n "$ac_ct_LIPO"; then
6334  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6335else
6336as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6337for as_dir in $PATH
6338do
6339  IFS=$as_save_IFS
6340  test -z "$as_dir" && as_dir=.
6341    for ac_exec_ext in '' $ac_executable_extensions; do
6342  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6343    ac_cv_prog_ac_ct_LIPO="lipo"
6344    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6345    break 2
6346  fi
6347done
6348  done
6349IFS=$as_save_IFS
6350
6351fi
6352fi
6353ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6354if test -n "$ac_ct_LIPO"; then
6355  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6356$as_echo "$ac_ct_LIPO" >&6; }
6357else
6358  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6359$as_echo "no" >&6; }
6360fi
6361
6362  if test "x$ac_ct_LIPO" = x; then
6363    LIPO=":"
6364  else
6365    case $cross_compiling:$ac_tool_warned in
6366yes:)
6367{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6368$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6369ac_tool_warned=yes ;;
6370esac
6371    LIPO=$ac_ct_LIPO
6372  fi
6373else
6374  LIPO="$ac_cv_prog_LIPO"
6375fi
6376
6377    if test -n "$ac_tool_prefix"; then
6378  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6379set dummy ${ac_tool_prefix}otool; ac_word=$2
6380{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6381$as_echo_n "checking for $ac_word... " >&6; }
6382if test "${ac_cv_prog_OTOOL+set}" = set; then :
6383  $as_echo_n "(cached) " >&6
6384else
6385  if test -n "$OTOOL"; then
6386  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6387else
6388as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6389for as_dir in $PATH
6390do
6391  IFS=$as_save_IFS
6392  test -z "$as_dir" && as_dir=.
6393    for ac_exec_ext in '' $ac_executable_extensions; do
6394  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6395    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6396    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6397    break 2
6398  fi
6399done
6400  done
6401IFS=$as_save_IFS
6402
6403fi
6404fi
6405OTOOL=$ac_cv_prog_OTOOL
6406if test -n "$OTOOL"; then
6407  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6408$as_echo "$OTOOL" >&6; }
6409else
6410  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6411$as_echo "no" >&6; }
6412fi
6413
6414
6415fi
6416if test -z "$ac_cv_prog_OTOOL"; then
6417  ac_ct_OTOOL=$OTOOL
6418  # Extract the first word of "otool", so it can be a program name with args.
6419set dummy otool; ac_word=$2
6420{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6421$as_echo_n "checking for $ac_word... " >&6; }
6422if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6423  $as_echo_n "(cached) " >&6
6424else
6425  if test -n "$ac_ct_OTOOL"; then
6426  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6427else
6428as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6429for as_dir in $PATH
6430do
6431  IFS=$as_save_IFS
6432  test -z "$as_dir" && as_dir=.
6433    for ac_exec_ext in '' $ac_executable_extensions; do
6434  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6435    ac_cv_prog_ac_ct_OTOOL="otool"
6436    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6437    break 2
6438  fi
6439done
6440  done
6441IFS=$as_save_IFS
6442
6443fi
6444fi
6445ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6446if test -n "$ac_ct_OTOOL"; then
6447  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6448$as_echo "$ac_ct_OTOOL" >&6; }
6449else
6450  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6451$as_echo "no" >&6; }
6452fi
6453
6454  if test "x$ac_ct_OTOOL" = x; then
6455    OTOOL=":"
6456  else
6457    case $cross_compiling:$ac_tool_warned in
6458yes:)
6459{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6460$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6461ac_tool_warned=yes ;;
6462esac
6463    OTOOL=$ac_ct_OTOOL
6464  fi
6465else
6466  OTOOL="$ac_cv_prog_OTOOL"
6467fi
6468
6469    if test -n "$ac_tool_prefix"; then
6470  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6471set dummy ${ac_tool_prefix}otool64; ac_word=$2
6472{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6473$as_echo_n "checking for $ac_word... " >&6; }
6474if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6475  $as_echo_n "(cached) " >&6
6476else
6477  if test -n "$OTOOL64"; then
6478  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6479else
6480as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6481for as_dir in $PATH
6482do
6483  IFS=$as_save_IFS
6484  test -z "$as_dir" && as_dir=.
6485    for ac_exec_ext in '' $ac_executable_extensions; do
6486  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6487    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6488    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6489    break 2
6490  fi
6491done
6492  done
6493IFS=$as_save_IFS
6494
6495fi
6496fi
6497OTOOL64=$ac_cv_prog_OTOOL64
6498if test -n "$OTOOL64"; then
6499  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6500$as_echo "$OTOOL64" >&6; }
6501else
6502  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6503$as_echo "no" >&6; }
6504fi
6505
6506
6507fi
6508if test -z "$ac_cv_prog_OTOOL64"; then
6509  ac_ct_OTOOL64=$OTOOL64
6510  # Extract the first word of "otool64", so it can be a program name with args.
6511set dummy otool64; ac_word=$2
6512{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6513$as_echo_n "checking for $ac_word... " >&6; }
6514if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6515  $as_echo_n "(cached) " >&6
6516else
6517  if test -n "$ac_ct_OTOOL64"; then
6518  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6519else
6520as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6521for as_dir in $PATH
6522do
6523  IFS=$as_save_IFS
6524  test -z "$as_dir" && as_dir=.
6525    for ac_exec_ext in '' $ac_executable_extensions; do
6526  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6527    ac_cv_prog_ac_ct_OTOOL64="otool64"
6528    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6529    break 2
6530  fi
6531done
6532  done
6533IFS=$as_save_IFS
6534
6535fi
6536fi
6537ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6538if test -n "$ac_ct_OTOOL64"; then
6539  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6540$as_echo "$ac_ct_OTOOL64" >&6; }
6541else
6542  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6543$as_echo "no" >&6; }
6544fi
6545
6546  if test "x$ac_ct_OTOOL64" = x; then
6547    OTOOL64=":"
6548  else
6549    case $cross_compiling:$ac_tool_warned in
6550yes:)
6551{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6552$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6553ac_tool_warned=yes ;;
6554esac
6555    OTOOL64=$ac_ct_OTOOL64
6556  fi
6557else
6558  OTOOL64="$ac_cv_prog_OTOOL64"
6559fi
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6588$as_echo_n "checking for -single_module linker flag... " >&6; }
6589if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
6590  $as_echo_n "(cached) " >&6
6591else
6592  lt_cv_apple_cc_single_mod=no
6593      if test -z "${LT_MULTI_MODULE}"; then
6594	# By default we will add the -single_module flag. You can override
6595	# by either setting the environment variable LT_MULTI_MODULE
6596	# non-empty at configure time, or by adding -multi_module to the
6597	# link flags.
6598	rm -rf libconftest.dylib*
6599	echo "int foo(void){return 1;}" > conftest.c
6600	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6601-dynamiclib -Wl,-single_module conftest.c" >&5
6602	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6603	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6604        _lt_result=$?
6605	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6606	  lt_cv_apple_cc_single_mod=yes
6607	else
6608	  cat conftest.err >&5
6609	fi
6610	rm -rf libconftest.dylib*
6611	rm -f conftest.*
6612      fi
6613fi
6614{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6615$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6616    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6617$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6618if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
6619  $as_echo_n "(cached) " >&6
6620else
6621  lt_cv_ld_exported_symbols_list=no
6622      save_LDFLAGS=$LDFLAGS
6623      echo "_main" > conftest.sym
6624      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6625      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6626/* end confdefs.h.  */
6627
6628int
6629main ()
6630{
6631
6632  ;
6633  return 0;
6634}
6635_ACEOF
6636if ac_fn_c_try_link "$LINENO"; then :
6637  lt_cv_ld_exported_symbols_list=yes
6638else
6639  lt_cv_ld_exported_symbols_list=no
6640fi
6641rm -f core conftest.err conftest.$ac_objext \
6642    conftest$ac_exeext conftest.$ac_ext
6643	LDFLAGS="$save_LDFLAGS"
6644
6645fi
6646{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6647$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6648    case $host_os in
6649    rhapsody* | darwin1.[012])
6650      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6651    darwin1.*)
6652      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6653    darwin*) # darwin 5.x on
6654      # if running on 10.5 or later, the deployment target defaults
6655      # to the OS version, if on x86, and 10.4, the deployment
6656      # target defaults to 10.4. Don't you love it?
6657      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6658	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6659	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6660	10.[012]*)
6661	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6662	10.*)
6663	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6664      esac
6665    ;;
6666  esac
6667    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6668      _lt_dar_single_mod='$single_module'
6669    fi
6670    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6671      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6672    else
6673      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6674    fi
6675    if test "$DSYMUTIL" != ":"; then
6676      _lt_dsymutil='~$DSYMUTIL $lib || :'
6677    else
6678      _lt_dsymutil=
6679    fi
6680    ;;
6681  esac
6682
6683ac_ext=c
6684ac_cpp='$CPP $CPPFLAGS'
6685ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6686ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6687ac_compiler_gnu=$ac_cv_c_compiler_gnu
6688{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6689$as_echo_n "checking how to run the C preprocessor... " >&6; }
6690# On Suns, sometimes $CPP names a directory.
6691if test -n "$CPP" && test -d "$CPP"; then
6692  CPP=
6693fi
6694if test -z "$CPP"; then
6695  if test "${ac_cv_prog_CPP+set}" = set; then :
6696  $as_echo_n "(cached) " >&6
6697else
6698      # Double quotes because CPP needs to be expanded
6699    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6700    do
6701      ac_preproc_ok=false
6702for ac_c_preproc_warn_flag in '' yes
6703do
6704  # Use a header file that comes with gcc, so configuring glibc
6705  # with a fresh cross-compiler works.
6706  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6707  # <limits.h> exists even on freestanding compilers.
6708  # On the NeXT, cc -E runs the code through the compiler's parser,
6709  # not just through cpp. "Syntax error" is here to catch this case.
6710  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6711/* end confdefs.h.  */
6712#ifdef __STDC__
6713# include <limits.h>
6714#else
6715# include <assert.h>
6716#endif
6717		     Syntax error
6718_ACEOF
6719if ac_fn_c_try_cpp "$LINENO"; then :
6720
6721else
6722  # Broken: fails on valid input.
6723continue
6724fi
6725rm -f conftest.err conftest.i conftest.$ac_ext
6726
6727  # OK, works on sane cases.  Now check whether nonexistent headers
6728  # can be detected and how.
6729  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6730/* end confdefs.h.  */
6731#include <ac_nonexistent.h>
6732_ACEOF
6733if ac_fn_c_try_cpp "$LINENO"; then :
6734  # Broken: success on invalid input.
6735continue
6736else
6737  # Passes both tests.
6738ac_preproc_ok=:
6739break
6740fi
6741rm -f conftest.err conftest.i conftest.$ac_ext
6742
6743done
6744# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6745rm -f conftest.i conftest.err conftest.$ac_ext
6746if $ac_preproc_ok; then :
6747  break
6748fi
6749
6750    done
6751    ac_cv_prog_CPP=$CPP
6752
6753fi
6754  CPP=$ac_cv_prog_CPP
6755else
6756  ac_cv_prog_CPP=$CPP
6757fi
6758{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6759$as_echo "$CPP" >&6; }
6760ac_preproc_ok=false
6761for ac_c_preproc_warn_flag in '' yes
6762do
6763  # Use a header file that comes with gcc, so configuring glibc
6764  # with a fresh cross-compiler works.
6765  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6766  # <limits.h> exists even on freestanding compilers.
6767  # On the NeXT, cc -E runs the code through the compiler's parser,
6768  # not just through cpp. "Syntax error" is here to catch this case.
6769  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6770/* end confdefs.h.  */
6771#ifdef __STDC__
6772# include <limits.h>
6773#else
6774# include <assert.h>
6775#endif
6776		     Syntax error
6777_ACEOF
6778if ac_fn_c_try_cpp "$LINENO"; then :
6779
6780else
6781  # Broken: fails on valid input.
6782continue
6783fi
6784rm -f conftest.err conftest.i conftest.$ac_ext
6785
6786  # OK, works on sane cases.  Now check whether nonexistent headers
6787  # can be detected and how.
6788  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6789/* end confdefs.h.  */
6790#include <ac_nonexistent.h>
6791_ACEOF
6792if ac_fn_c_try_cpp "$LINENO"; then :
6793  # Broken: success on invalid input.
6794continue
6795else
6796  # Passes both tests.
6797ac_preproc_ok=:
6798break
6799fi
6800rm -f conftest.err conftest.i conftest.$ac_ext
6801
6802done
6803# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6804rm -f conftest.i conftest.err conftest.$ac_ext
6805if $ac_preproc_ok; then :
6806
6807else
6808  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6809$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6810as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6811See \`config.log' for more details" "$LINENO" 5 ; }
6812fi
6813
6814ac_ext=c
6815ac_cpp='$CPP $CPPFLAGS'
6816ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6817ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6818ac_compiler_gnu=$ac_cv_c_compiler_gnu
6819
6820
6821{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6822$as_echo_n "checking for ANSI C header files... " >&6; }
6823if test "${ac_cv_header_stdc+set}" = set; then :
6824  $as_echo_n "(cached) " >&6
6825else
6826  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6827/* end confdefs.h.  */
6828#include <stdlib.h>
6829#include <stdarg.h>
6830#include <string.h>
6831#include <float.h>
6832
6833int
6834main ()
6835{
6836
6837  ;
6838  return 0;
6839}
6840_ACEOF
6841if ac_fn_c_try_compile "$LINENO"; then :
6842  ac_cv_header_stdc=yes
6843else
6844  ac_cv_header_stdc=no
6845fi
6846rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6847
6848if test $ac_cv_header_stdc = yes; then
6849  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6850  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6851/* end confdefs.h.  */
6852#include <string.h>
6853
6854_ACEOF
6855if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6856  $EGREP "memchr" >/dev/null 2>&1; then :
6857
6858else
6859  ac_cv_header_stdc=no
6860fi
6861rm -f conftest*
6862
6863fi
6864
6865if test $ac_cv_header_stdc = yes; then
6866  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6867  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6868/* end confdefs.h.  */
6869#include <stdlib.h>
6870
6871_ACEOF
6872if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6873  $EGREP "free" >/dev/null 2>&1; then :
6874
6875else
6876  ac_cv_header_stdc=no
6877fi
6878rm -f conftest*
6879
6880fi
6881
6882if test $ac_cv_header_stdc = yes; then
6883  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6884  if test "$cross_compiling" = yes; then :
6885  :
6886else
6887  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6888/* end confdefs.h.  */
6889#include <ctype.h>
6890#include <stdlib.h>
6891#if ((' ' & 0x0FF) == 0x020)
6892# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6893# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6894#else
6895# define ISLOWER(c) \
6896		   (('a' <= (c) && (c) <= 'i') \
6897		     || ('j' <= (c) && (c) <= 'r') \
6898		     || ('s' <= (c) && (c) <= 'z'))
6899# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6900#endif
6901
6902#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6903int
6904main ()
6905{
6906  int i;
6907  for (i = 0; i < 256; i++)
6908    if (XOR (islower (i), ISLOWER (i))
6909	|| toupper (i) != TOUPPER (i))
6910      return 2;
6911  return 0;
6912}
6913_ACEOF
6914if ac_fn_c_try_run "$LINENO"; then :
6915
6916else
6917  ac_cv_header_stdc=no
6918fi
6919rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6920  conftest.$ac_objext conftest.beam conftest.$ac_ext
6921fi
6922
6923fi
6924fi
6925{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6926$as_echo "$ac_cv_header_stdc" >&6; }
6927if test $ac_cv_header_stdc = yes; then
6928
6929$as_echo "#define STDC_HEADERS 1" >>confdefs.h
6930
6931fi
6932
6933# On IRIX 5.3, sys/types and inttypes.h are conflicting.
6934for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6935		  inttypes.h stdint.h unistd.h
6936do :
6937  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6938ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6939"
6940if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6941  cat >>confdefs.h <<_ACEOF
6942#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6943_ACEOF
6944
6945fi
6946
6947done
6948
6949
6950for ac_header in dlfcn.h
6951do :
6952  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
6953"
6954if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
6955  cat >>confdefs.h <<_ACEOF
6956#define HAVE_DLFCN_H 1
6957_ACEOF
6958
6959fi
6960
6961done
6962
6963
6964
6965# Set options
6966
6967
6968
6969        enable_dlopen=no
6970
6971
6972  enable_win32_dll=no
6973
6974
6975            # Check whether --enable-shared was given.
6976if test "${enable_shared+set}" = set; then :
6977  enableval=$enable_shared; p=${PACKAGE-default}
6978    case $enableval in
6979    yes) enable_shared=yes ;;
6980    no) enable_shared=no ;;
6981    *)
6982      enable_shared=no
6983      # Look at the argument we got.  We use all the common list separators.
6984      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6985      for pkg in $enableval; do
6986	IFS="$lt_save_ifs"
6987	if test "X$pkg" = "X$p"; then
6988	  enable_shared=yes
6989	fi
6990      done
6991      IFS="$lt_save_ifs"
6992      ;;
6993    esac
6994else
6995  enable_shared=yes
6996fi
6997
6998
6999
7000
7001
7002
7003
7004
7005
7006  # Check whether --enable-static was given.
7007if test "${enable_static+set}" = set; then :
7008  enableval=$enable_static; p=${PACKAGE-default}
7009    case $enableval in
7010    yes) enable_static=yes ;;
7011    no) enable_static=no ;;
7012    *)
7013     enable_static=no
7014      # Look at the argument we got.  We use all the common list separators.
7015      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7016      for pkg in $enableval; do
7017	IFS="$lt_save_ifs"
7018	if test "X$pkg" = "X$p"; then
7019	  enable_static=yes
7020	fi
7021      done
7022      IFS="$lt_save_ifs"
7023      ;;
7024    esac
7025else
7026  enable_static=yes
7027fi
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038# Check whether --with-pic was given.
7039if test "${with_pic+set}" = set; then :
7040  withval=$with_pic; pic_mode="$withval"
7041else
7042  pic_mode=default
7043fi
7044
7045
7046test -z "$pic_mode" && pic_mode=default
7047
7048
7049
7050
7051
7052
7053
7054  # Check whether --enable-fast-install was given.
7055if test "${enable_fast_install+set}" = set; then :
7056  enableval=$enable_fast_install; p=${PACKAGE-default}
7057    case $enableval in
7058    yes) enable_fast_install=yes ;;
7059    no) enable_fast_install=no ;;
7060    *)
7061      enable_fast_install=no
7062      # Look at the argument we got.  We use all the common list separators.
7063      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7064      for pkg in $enableval; do
7065	IFS="$lt_save_ifs"
7066	if test "X$pkg" = "X$p"; then
7067	  enable_fast_install=yes
7068	fi
7069      done
7070      IFS="$lt_save_ifs"
7071      ;;
7072    esac
7073else
7074  enable_fast_install=yes
7075fi
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087# This can be used to rebuild libtool when needed
7088LIBTOOL_DEPS="$ltmain"
7089
7090# Always use our own libtool.
7091LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117test -z "$LN_S" && LN_S="ln -s"
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132if test -n "${ZSH_VERSION+set}" ; then
7133   setopt NO_GLOB_SUBST
7134fi
7135
7136{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7137$as_echo_n "checking for objdir... " >&6; }
7138if test "${lt_cv_objdir+set}" = set; then :
7139  $as_echo_n "(cached) " >&6
7140else
7141  rm -f .libs 2>/dev/null
7142mkdir .libs 2>/dev/null
7143if test -d .libs; then
7144  lt_cv_objdir=.libs
7145else
7146  # MS-DOS does not allow filenames that begin with a dot.
7147  lt_cv_objdir=_libs
7148fi
7149rmdir .libs 2>/dev/null
7150fi
7151{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7152$as_echo "$lt_cv_objdir" >&6; }
7153objdir=$lt_cv_objdir
7154
7155
7156
7157
7158
7159cat >>confdefs.h <<_ACEOF
7160#define LT_OBJDIR "$lt_cv_objdir/"
7161_ACEOF
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179case $host_os in
7180aix3*)
7181  # AIX sometimes has problems with the GCC collect2 program.  For some
7182  # reason, if we set the COLLECT_NAMES environment variable, the problems
7183  # vanish in a puff of smoke.
7184  if test "X${COLLECT_NAMES+set}" != Xset; then
7185    COLLECT_NAMES=
7186    export COLLECT_NAMES
7187  fi
7188  ;;
7189esac
7190
7191# Sed substitution that helps us do robust quoting.  It backslashifies
7192# metacharacters that are still active within double-quoted strings.
7193sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7194
7195# Same as above, but do not quote variable references.
7196double_quote_subst='s/\(["`\\]\)/\\\1/g'
7197
7198# Sed substitution to delay expansion of an escaped shell variable in a
7199# double_quote_subst'ed string.
7200delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7201
7202# Sed substitution to delay expansion of an escaped single quote.
7203delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7204
7205# Sed substitution to avoid accidental globbing in evaled expressions
7206no_glob_subst='s/\*/\\\*/g'
7207
7208# Global variables:
7209ofile=libtool
7210can_build_shared=yes
7211
7212# All known linkers require a `.a' archive for static linking (except MSVC,
7213# which needs '.lib').
7214libext=a
7215
7216with_gnu_ld="$lt_cv_prog_gnu_ld"
7217
7218old_CC="$CC"
7219old_CFLAGS="$CFLAGS"
7220
7221# Set sane defaults for various variables
7222test -z "$CC" && CC=cc
7223test -z "$LTCC" && LTCC=$CC
7224test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7225test -z "$LD" && LD=ld
7226test -z "$ac_objext" && ac_objext=o
7227
7228for cc_temp in $compiler""; do
7229  case $cc_temp in
7230    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7231    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7232    \-*) ;;
7233    *) break;;
7234  esac
7235done
7236cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7237
7238
7239# Only perform the check for file, if the check method requires it
7240test -z "$MAGIC_CMD" && MAGIC_CMD=file
7241case $deplibs_check_method in
7242file_magic*)
7243  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7244    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7245$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7246if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7247  $as_echo_n "(cached) " >&6
7248else
7249  case $MAGIC_CMD in
7250[\\/*] |  ?:[\\/]*)
7251  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7252  ;;
7253*)
7254  lt_save_MAGIC_CMD="$MAGIC_CMD"
7255  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7256  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7257  for ac_dir in $ac_dummy; do
7258    IFS="$lt_save_ifs"
7259    test -z "$ac_dir" && ac_dir=.
7260    if test -f $ac_dir/${ac_tool_prefix}file; then
7261      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7262      if test -n "$file_magic_test_file"; then
7263	case $deplibs_check_method in
7264	"file_magic "*)
7265	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7266	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7267	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7268	    $EGREP "$file_magic_regex" > /dev/null; then
7269	    :
7270	  else
7271	    cat <<_LT_EOF 1>&2
7272
7273*** Warning: the command libtool uses to detect shared libraries,
7274*** $file_magic_cmd, produces output that libtool cannot recognize.
7275*** The result is that libtool may fail to recognize shared libraries
7276*** as such.  This will affect the creation of libtool libraries that
7277*** depend on shared libraries, but programs linked with such libtool
7278*** libraries will work regardless of this problem.  Nevertheless, you
7279*** may want to report the problem to your system manager and/or to
7280*** bug-libtool@gnu.org
7281
7282_LT_EOF
7283	  fi ;;
7284	esac
7285      fi
7286      break
7287    fi
7288  done
7289  IFS="$lt_save_ifs"
7290  MAGIC_CMD="$lt_save_MAGIC_CMD"
7291  ;;
7292esac
7293fi
7294
7295MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7296if test -n "$MAGIC_CMD"; then
7297  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7298$as_echo "$MAGIC_CMD" >&6; }
7299else
7300  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7301$as_echo "no" >&6; }
7302fi
7303
7304
7305
7306
7307
7308if test -z "$lt_cv_path_MAGIC_CMD"; then
7309  if test -n "$ac_tool_prefix"; then
7310    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7311$as_echo_n "checking for file... " >&6; }
7312if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7313  $as_echo_n "(cached) " >&6
7314else
7315  case $MAGIC_CMD in
7316[\\/*] |  ?:[\\/]*)
7317  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7318  ;;
7319*)
7320  lt_save_MAGIC_CMD="$MAGIC_CMD"
7321  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7322  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7323  for ac_dir in $ac_dummy; do
7324    IFS="$lt_save_ifs"
7325    test -z "$ac_dir" && ac_dir=.
7326    if test -f $ac_dir/file; then
7327      lt_cv_path_MAGIC_CMD="$ac_dir/file"
7328      if test -n "$file_magic_test_file"; then
7329	case $deplibs_check_method in
7330	"file_magic "*)
7331	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7332	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7333	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7334	    $EGREP "$file_magic_regex" > /dev/null; then
7335	    :
7336	  else
7337	    cat <<_LT_EOF 1>&2
7338
7339*** Warning: the command libtool uses to detect shared libraries,
7340*** $file_magic_cmd, produces output that libtool cannot recognize.
7341*** The result is that libtool may fail to recognize shared libraries
7342*** as such.  This will affect the creation of libtool libraries that
7343*** depend on shared libraries, but programs linked with such libtool
7344*** libraries will work regardless of this problem.  Nevertheless, you
7345*** may want to report the problem to your system manager and/or to
7346*** bug-libtool@gnu.org
7347
7348_LT_EOF
7349	  fi ;;
7350	esac
7351      fi
7352      break
7353    fi
7354  done
7355  IFS="$lt_save_ifs"
7356  MAGIC_CMD="$lt_save_MAGIC_CMD"
7357  ;;
7358esac
7359fi
7360
7361MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7362if test -n "$MAGIC_CMD"; then
7363  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7364$as_echo "$MAGIC_CMD" >&6; }
7365else
7366  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7367$as_echo "no" >&6; }
7368fi
7369
7370
7371  else
7372    MAGIC_CMD=:
7373  fi
7374fi
7375
7376  fi
7377  ;;
7378esac
7379
7380# Use C for the default configuration in the libtool script
7381
7382lt_save_CC="$CC"
7383ac_ext=c
7384ac_cpp='$CPP $CPPFLAGS'
7385ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7386ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7387ac_compiler_gnu=$ac_cv_c_compiler_gnu
7388
7389
7390# Source file extension for C test sources.
7391ac_ext=c
7392
7393# Object file extension for compiled C test sources.
7394objext=o
7395objext=$objext
7396
7397# Code to be used in simple compile tests
7398lt_simple_compile_test_code="int some_variable = 0;"
7399
7400# Code to be used in simple link tests
7401lt_simple_link_test_code='int main(){return(0);}'
7402
7403
7404
7405
7406
7407
7408
7409# If no C compiler was specified, use CC.
7410LTCC=${LTCC-"$CC"}
7411
7412# If no C compiler flags were specified, use CFLAGS.
7413LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7414
7415# Allow CC to be a program name with arguments.
7416compiler=$CC
7417
7418# Save the default compiler, since it gets overwritten when the other
7419# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7420compiler_DEFAULT=$CC
7421
7422# save warnings/boilerplate of simple test code
7423ac_outfile=conftest.$ac_objext
7424echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7425eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7426_lt_compiler_boilerplate=`cat conftest.err`
7427$RM conftest*
7428
7429ac_outfile=conftest.$ac_objext
7430echo "$lt_simple_link_test_code" >conftest.$ac_ext
7431eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7432_lt_linker_boilerplate=`cat conftest.err`
7433$RM -r conftest*
7434
7435
7436## CAVEAT EMPTOR:
7437## There is no encapsulation within the following macros, do not change
7438## the running order or otherwise move them around unless you know exactly
7439## what you are doing...
7440if test -n "$compiler"; then
7441
7442lt_prog_compiler_no_builtin_flag=
7443
7444if test "$GCC" = yes; then
7445  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7446
7447  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7448$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7449if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7450  $as_echo_n "(cached) " >&6
7451else
7452  lt_cv_prog_compiler_rtti_exceptions=no
7453   ac_outfile=conftest.$ac_objext
7454   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7455   lt_compiler_flag="-fno-rtti -fno-exceptions"
7456   # Insert the option either (1) after the last *FLAGS variable, or
7457   # (2) before a word containing "conftest.", or (3) at the end.
7458   # Note that $ac_compile itself does not contain backslashes and begins
7459   # with a dollar sign (not a hyphen), so the echo should work correctly.
7460   # The option is referenced via a variable to avoid confusing sed.
7461   lt_compile=`echo "$ac_compile" | $SED \
7462   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7463   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7464   -e 's:$: $lt_compiler_flag:'`
7465   (eval echo "\"\$as_me:7465: $lt_compile\"" >&5)
7466   (eval "$lt_compile" 2>conftest.err)
7467   ac_status=$?
7468   cat conftest.err >&5
7469   echo "$as_me:7469: \$? = $ac_status" >&5
7470   if (exit $ac_status) && test -s "$ac_outfile"; then
7471     # The compiler can only warn and ignore the option if not recognized
7472     # So say no if there are warnings other than the usual output.
7473     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7474     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7475     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7476       lt_cv_prog_compiler_rtti_exceptions=yes
7477     fi
7478   fi
7479   $RM conftest*
7480
7481fi
7482{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7483$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7484
7485if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7486    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7487else
7488    :
7489fi
7490
7491fi
7492
7493
7494
7495
7496
7497
7498  lt_prog_compiler_wl=
7499lt_prog_compiler_pic=
7500lt_prog_compiler_static=
7501
7502{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7503$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7504
7505  if test "$GCC" = yes; then
7506    lt_prog_compiler_wl='-Wl,'
7507    lt_prog_compiler_static='-static'
7508
7509    case $host_os in
7510      aix*)
7511      # All AIX code is PIC.
7512      if test "$host_cpu" = ia64; then
7513	# AIX 5 now supports IA64 processor
7514	lt_prog_compiler_static='-Bstatic'
7515      fi
7516      ;;
7517
7518    amigaos*)
7519      case $host_cpu in
7520      powerpc)
7521            # see comment about AmigaOS4 .so support
7522            lt_prog_compiler_pic='-fPIC'
7523        ;;
7524      m68k)
7525            # FIXME: we need at least 68020 code to build shared libraries, but
7526            # adding the `-m68020' flag to GCC prevents building anything better,
7527            # like `-m68040'.
7528            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7529        ;;
7530      esac
7531      ;;
7532
7533    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7534      # PIC is the default for these OSes.
7535      ;;
7536
7537    mingw* | cygwin* | pw32* | os2* | cegcc*)
7538      # This hack is so that the source file can tell whether it is being
7539      # built for inclusion in a dll (and should export symbols for example).
7540      # Although the cygwin gcc ignores -fPIC, still need this for old-style
7541      # (--disable-auto-import) libraries
7542      lt_prog_compiler_pic='-DDLL_EXPORT'
7543      ;;
7544
7545    darwin* | rhapsody*)
7546      # PIC is the default on this platform
7547      # Common symbols not allowed in MH_DYLIB files
7548      lt_prog_compiler_pic='-fno-common'
7549      ;;
7550
7551    hpux*)
7552      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7553      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
7554      # sets the default TLS model and affects inlining.
7555      case $host_cpu in
7556      hppa*64*)
7557	# +Z the default
7558	;;
7559      *)
7560	lt_prog_compiler_pic='-fPIC'
7561	;;
7562      esac
7563      ;;
7564
7565    interix[3-9]*)
7566      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7567      # Instead, we relocate shared libraries at runtime.
7568      ;;
7569
7570    msdosdjgpp*)
7571      # Just because we use GCC doesn't mean we suddenly get shared libraries
7572      # on systems that don't support them.
7573      lt_prog_compiler_can_build_shared=no
7574      enable_shared=no
7575      ;;
7576
7577    *nto* | *qnx*)
7578      # QNX uses GNU C++, but need to define -shared option too, otherwise
7579      # it will coredump.
7580      lt_prog_compiler_pic='-fPIC -shared'
7581      ;;
7582
7583    sysv4*MP*)
7584      if test -d /usr/nec; then
7585	lt_prog_compiler_pic=-Kconform_pic
7586      fi
7587      ;;
7588
7589    *)
7590      lt_prog_compiler_pic='-fPIC'
7591      ;;
7592    esac
7593  else
7594    # PORTME Check for flag to pass linker flags through the system compiler.
7595    case $host_os in
7596    aix*)
7597      lt_prog_compiler_wl='-Wl,'
7598      if test "$host_cpu" = ia64; then
7599	# AIX 5 now supports IA64 processor
7600	lt_prog_compiler_static='-Bstatic'
7601      else
7602	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7603      fi
7604      ;;
7605
7606    mingw* | cygwin* | pw32* | os2* | cegcc*)
7607      # This hack is so that the source file can tell whether it is being
7608      # built for inclusion in a dll (and should export symbols for example).
7609      lt_prog_compiler_pic='-DDLL_EXPORT'
7610      ;;
7611
7612    hpux9* | hpux10* | hpux11*)
7613      lt_prog_compiler_wl='-Wl,'
7614      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7615      # not for PA HP-UX.
7616      case $host_cpu in
7617      hppa*64*|ia64*)
7618	# +Z the default
7619	;;
7620      *)
7621	lt_prog_compiler_pic='+Z'
7622	;;
7623      esac
7624      # Is there a better lt_prog_compiler_static that works with the bundled CC?
7625      lt_prog_compiler_static='${wl}-a ${wl}archive'
7626      ;;
7627
7628    irix5* | irix6* | nonstopux*)
7629      lt_prog_compiler_wl='-Wl,'
7630      # PIC (with -KPIC) is the default.
7631      lt_prog_compiler_static='-non_shared'
7632      ;;
7633
7634    linux* | k*bsd*-gnu | kopensolaris*-gnu)
7635      case $cc_basename in
7636      # old Intel for x86_64 which still supported -KPIC.
7637      ecc*)
7638	lt_prog_compiler_wl='-Wl,'
7639	lt_prog_compiler_pic='-KPIC'
7640	lt_prog_compiler_static='-static'
7641        ;;
7642      # icc used to be incompatible with GCC.
7643      # ICC 10 doesn't accept -KPIC any more.
7644      icc* | ifort*)
7645	lt_prog_compiler_wl='-Wl,'
7646	lt_prog_compiler_pic='-fPIC'
7647	lt_prog_compiler_static='-static'
7648        ;;
7649      # Lahey Fortran 8.1.
7650      lf95*)
7651	lt_prog_compiler_wl='-Wl,'
7652	lt_prog_compiler_pic='--shared'
7653	lt_prog_compiler_static='--static'
7654	;;
7655      pgcc* | pgf77* | pgf90* | pgf95*)
7656        # Portland Group compilers (*not* the Pentium gcc compiler,
7657	# which looks to be a dead project)
7658	lt_prog_compiler_wl='-Wl,'
7659	lt_prog_compiler_pic='-fpic'
7660	lt_prog_compiler_static='-Bstatic'
7661        ;;
7662      ccc*)
7663        lt_prog_compiler_wl='-Wl,'
7664        # All Alpha code is PIC.
7665        lt_prog_compiler_static='-non_shared'
7666        ;;
7667      xl*)
7668	# IBM XL C 8.0/Fortran 10.1 on PPC
7669	lt_prog_compiler_wl='-Wl,'
7670	lt_prog_compiler_pic='-qpic'
7671	lt_prog_compiler_static='-qstaticlink'
7672	;;
7673      *)
7674	case `$CC -V 2>&1 | sed 5q` in
7675	*Sun\ C*)
7676	  # Sun C 5.9
7677	  lt_prog_compiler_pic='-KPIC'
7678	  lt_prog_compiler_static='-Bstatic'
7679	  lt_prog_compiler_wl='-Wl,'
7680	  ;;
7681	*Sun\ F*)
7682	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
7683	  lt_prog_compiler_pic='-KPIC'
7684	  lt_prog_compiler_static='-Bstatic'
7685	  lt_prog_compiler_wl=''
7686	  ;;
7687	esac
7688	;;
7689      esac
7690      ;;
7691
7692    newsos6)
7693      lt_prog_compiler_pic='-KPIC'
7694      lt_prog_compiler_static='-Bstatic'
7695      ;;
7696
7697    *nto* | *qnx*)
7698      # QNX uses GNU C++, but need to define -shared option too, otherwise
7699      # it will coredump.
7700      lt_prog_compiler_pic='-fPIC -shared'
7701      ;;
7702
7703    osf3* | osf4* | osf5*)
7704      lt_prog_compiler_wl='-Wl,'
7705      # All OSF/1 code is PIC.
7706      lt_prog_compiler_static='-non_shared'
7707      ;;
7708
7709    rdos*)
7710      lt_prog_compiler_static='-non_shared'
7711      ;;
7712
7713    solaris*)
7714      lt_prog_compiler_pic='-KPIC'
7715      lt_prog_compiler_static='-Bstatic'
7716      case $cc_basename in
7717      f77* | f90* | f95*)
7718	lt_prog_compiler_wl='-Qoption ld ';;
7719      *)
7720	lt_prog_compiler_wl='-Wl,';;
7721      esac
7722      ;;
7723
7724    sunos4*)
7725      lt_prog_compiler_wl='-Qoption ld '
7726      lt_prog_compiler_pic='-PIC'
7727      lt_prog_compiler_static='-Bstatic'
7728      ;;
7729
7730    sysv4 | sysv4.2uw2* | sysv4.3*)
7731      lt_prog_compiler_wl='-Wl,'
7732      lt_prog_compiler_pic='-KPIC'
7733      lt_prog_compiler_static='-Bstatic'
7734      ;;
7735
7736    sysv4*MP*)
7737      if test -d /usr/nec ;then
7738	lt_prog_compiler_pic='-Kconform_pic'
7739	lt_prog_compiler_static='-Bstatic'
7740      fi
7741      ;;
7742
7743    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7744      lt_prog_compiler_wl='-Wl,'
7745      lt_prog_compiler_pic='-KPIC'
7746      lt_prog_compiler_static='-Bstatic'
7747      ;;
7748
7749    unicos*)
7750      lt_prog_compiler_wl='-Wl,'
7751      lt_prog_compiler_can_build_shared=no
7752      ;;
7753
7754    uts4*)
7755      lt_prog_compiler_pic='-pic'
7756      lt_prog_compiler_static='-Bstatic'
7757      ;;
7758
7759    *)
7760      lt_prog_compiler_can_build_shared=no
7761      ;;
7762    esac
7763  fi
7764
7765case $host_os in
7766  # For platforms which do not support PIC, -DPIC is meaningless:
7767  *djgpp*)
7768    lt_prog_compiler_pic=
7769    ;;
7770  *)
7771    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7772    ;;
7773esac
7774{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
7775$as_echo "$lt_prog_compiler_pic" >&6; }
7776
7777
7778
7779
7780
7781
7782#
7783# Check to make sure the PIC flag actually works.
7784#
7785if test -n "$lt_prog_compiler_pic"; then
7786  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7787$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7788if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
7789  $as_echo_n "(cached) " >&6
7790else
7791  lt_cv_prog_compiler_pic_works=no
7792   ac_outfile=conftest.$ac_objext
7793   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7794   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7795   # Insert the option either (1) after the last *FLAGS variable, or
7796   # (2) before a word containing "conftest.", or (3) at the end.
7797   # Note that $ac_compile itself does not contain backslashes and begins
7798   # with a dollar sign (not a hyphen), so the echo should work correctly.
7799   # The option is referenced via a variable to avoid confusing sed.
7800   lt_compile=`echo "$ac_compile" | $SED \
7801   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7802   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7803   -e 's:$: $lt_compiler_flag:'`
7804   (eval echo "\"\$as_me:7804: $lt_compile\"" >&5)
7805   (eval "$lt_compile" 2>conftest.err)
7806   ac_status=$?
7807   cat conftest.err >&5
7808   echo "$as_me:7808: \$? = $ac_status" >&5
7809   if (exit $ac_status) && test -s "$ac_outfile"; then
7810     # The compiler can only warn and ignore the option if not recognized
7811     # So say no if there are warnings other than the usual output.
7812     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7813     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7814     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7815       lt_cv_prog_compiler_pic_works=yes
7816     fi
7817   fi
7818   $RM conftest*
7819
7820fi
7821{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
7822$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7823
7824if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7825    case $lt_prog_compiler_pic in
7826     "" | " "*) ;;
7827     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7828     esac
7829else
7830    lt_prog_compiler_pic=
7831     lt_prog_compiler_can_build_shared=no
7832fi
7833
7834fi
7835
7836
7837
7838
7839
7840
7841#
7842# Check to make sure the static flag actually works.
7843#
7844wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7845{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7846$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7847if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
7848  $as_echo_n "(cached) " >&6
7849else
7850  lt_cv_prog_compiler_static_works=no
7851   save_LDFLAGS="$LDFLAGS"
7852   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7853   echo "$lt_simple_link_test_code" > conftest.$ac_ext
7854   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7855     # The linker can only warn and ignore the option if not recognized
7856     # So say no if there are warnings
7857     if test -s conftest.err; then
7858       # Append any errors to the config.log.
7859       cat conftest.err 1>&5
7860       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7861       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7862       if diff conftest.exp conftest.er2 >/dev/null; then
7863         lt_cv_prog_compiler_static_works=yes
7864       fi
7865     else
7866       lt_cv_prog_compiler_static_works=yes
7867     fi
7868   fi
7869   $RM -r conftest*
7870   LDFLAGS="$save_LDFLAGS"
7871
7872fi
7873{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
7874$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7875
7876if test x"$lt_cv_prog_compiler_static_works" = xyes; then
7877    :
7878else
7879    lt_prog_compiler_static=
7880fi
7881
7882
7883
7884
7885
7886
7887
7888  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7889$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7890if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7891  $as_echo_n "(cached) " >&6
7892else
7893  lt_cv_prog_compiler_c_o=no
7894   $RM -r conftest 2>/dev/null
7895   mkdir conftest
7896   cd conftest
7897   mkdir out
7898   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7899
7900   lt_compiler_flag="-o out/conftest2.$ac_objext"
7901   # Insert the option either (1) after the last *FLAGS variable, or
7902   # (2) before a word containing "conftest.", or (3) at the end.
7903   # Note that $ac_compile itself does not contain backslashes and begins
7904   # with a dollar sign (not a hyphen), so the echo should work correctly.
7905   lt_compile=`echo "$ac_compile" | $SED \
7906   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7907   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7908   -e 's:$: $lt_compiler_flag:'`
7909   (eval echo "\"\$as_me:7909: $lt_compile\"" >&5)
7910   (eval "$lt_compile" 2>out/conftest.err)
7911   ac_status=$?
7912   cat out/conftest.err >&5
7913   echo "$as_me:7913: \$? = $ac_status" >&5
7914   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7915   then
7916     # The compiler can only warn and ignore the option if not recognized
7917     # So say no if there are warnings
7918     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7919     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7920     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7921       lt_cv_prog_compiler_c_o=yes
7922     fi
7923   fi
7924   chmod u+w . 2>&5
7925   $RM conftest*
7926   # SGI C++ compiler will create directory out/ii_files/ for
7927   # template instantiation
7928   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7929   $RM out/* && rmdir out
7930   cd ..
7931   $RM -r conftest
7932   $RM conftest*
7933
7934fi
7935{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7936$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7937
7938
7939
7940
7941
7942
7943  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7944$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7945if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7946  $as_echo_n "(cached) " >&6
7947else
7948  lt_cv_prog_compiler_c_o=no
7949   $RM -r conftest 2>/dev/null
7950   mkdir conftest
7951   cd conftest
7952   mkdir out
7953   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7954
7955   lt_compiler_flag="-o out/conftest2.$ac_objext"
7956   # Insert the option either (1) after the last *FLAGS variable, or
7957   # (2) before a word containing "conftest.", or (3) at the end.
7958   # Note that $ac_compile itself does not contain backslashes and begins
7959   # with a dollar sign (not a hyphen), so the echo should work correctly.
7960   lt_compile=`echo "$ac_compile" | $SED \
7961   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7962   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7963   -e 's:$: $lt_compiler_flag:'`
7964   (eval echo "\"\$as_me:7964: $lt_compile\"" >&5)
7965   (eval "$lt_compile" 2>out/conftest.err)
7966   ac_status=$?
7967   cat out/conftest.err >&5
7968   echo "$as_me:7968: \$? = $ac_status" >&5
7969   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7970   then
7971     # The compiler can only warn and ignore the option if not recognized
7972     # So say no if there are warnings
7973     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7974     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7975     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7976       lt_cv_prog_compiler_c_o=yes
7977     fi
7978   fi
7979   chmod u+w . 2>&5
7980   $RM conftest*
7981   # SGI C++ compiler will create directory out/ii_files/ for
7982   # template instantiation
7983   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7984   $RM out/* && rmdir out
7985   cd ..
7986   $RM -r conftest
7987   $RM conftest*
7988
7989fi
7990{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7991$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7992
7993
7994
7995
7996hard_links="nottested"
7997if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7998  # do not overwrite the value of need_locks provided by the user
7999  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8000$as_echo_n "checking if we can lock with hard links... " >&6; }
8001  hard_links=yes
8002  $RM conftest*
8003  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8004  touch conftest.a
8005  ln conftest.a conftest.b 2>&5 || hard_links=no
8006  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8007  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8008$as_echo "$hard_links" >&6; }
8009  if test "$hard_links" = no; then
8010    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8011$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8012    need_locks=warn
8013  fi
8014else
8015  need_locks=no
8016fi
8017
8018
8019
8020
8021
8022
8023  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8024$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8025
8026  runpath_var=
8027  allow_undefined_flag=
8028  always_export_symbols=no
8029  archive_cmds=
8030  archive_expsym_cmds=
8031  compiler_needs_object=no
8032  enable_shared_with_static_runtimes=no
8033  export_dynamic_flag_spec=
8034  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8035  hardcode_automatic=no
8036  hardcode_direct=no
8037  hardcode_direct_absolute=no
8038  hardcode_libdir_flag_spec=
8039  hardcode_libdir_flag_spec_ld=
8040  hardcode_libdir_separator=
8041  hardcode_minus_L=no
8042  hardcode_shlibpath_var=unsupported
8043  inherit_rpath=no
8044  link_all_deplibs=unknown
8045  module_cmds=
8046  module_expsym_cmds=
8047  old_archive_from_new_cmds=
8048  old_archive_from_expsyms_cmds=
8049  thread_safe_flag_spec=
8050  whole_archive_flag_spec=
8051  # include_expsyms should be a list of space-separated symbols to be *always*
8052  # included in the symbol list
8053  include_expsyms=
8054  # exclude_expsyms can be an extended regexp of symbols to exclude
8055  # it will be wrapped by ` (' and `)$', so one must not match beginning or
8056  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8057  # as well as any symbol that contains `d'.
8058  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8059  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8060  # platforms (ab)use it in PIC code, but their linkers get confused if
8061  # the symbol is explicitly referenced.  Since portable code cannot
8062  # rely on this symbol name, it's probably fine to never include it in
8063  # preloaded symbol tables.
8064  # Exclude shared library initialization/finalization symbols.
8065  extract_expsyms_cmds=
8066
8067  case $host_os in
8068  cygwin* | mingw* | pw32* | cegcc*)
8069    # FIXME: the MSVC++ port hasn't been tested in a loooong time
8070    # When not using gcc, we currently assume that we are using
8071    # Microsoft Visual C++.
8072    if test "$GCC" != yes; then
8073      with_gnu_ld=no
8074    fi
8075    ;;
8076  interix*)
8077    # we just hope/assume this is gcc and not c89 (= MSVC++)
8078    with_gnu_ld=yes
8079    ;;
8080  openbsd*)
8081    with_gnu_ld=no
8082    ;;
8083  linux* | k*bsd*-gnu)
8084    link_all_deplibs=no
8085    ;;
8086  esac
8087
8088  ld_shlibs=yes
8089  if test "$with_gnu_ld" = yes; then
8090    # If archive_cmds runs LD, not CC, wlarc should be empty
8091    wlarc='${wl}'
8092
8093    # Set some defaults for GNU ld with shared library support. These
8094    # are reset later if shared libraries are not supported. Putting them
8095    # here allows them to be overridden if necessary.
8096    runpath_var=LD_RUN_PATH
8097    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8098    export_dynamic_flag_spec='${wl}--export-dynamic'
8099    # ancient GNU ld didn't support --whole-archive et. al.
8100    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8101      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8102    else
8103      whole_archive_flag_spec=
8104    fi
8105    supports_anon_versioning=no
8106    case `$LD -v 2>&1` in
8107      *GNU\ gold*) supports_anon_versioning=yes ;;
8108      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8109      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8110      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8111      *\ 2.11.*) ;; # other 2.11 versions
8112      *) supports_anon_versioning=yes ;;
8113    esac
8114
8115    # See if GNU ld supports shared libraries.
8116    case $host_os in
8117    aix[3-9]*)
8118      # On AIX/PPC, the GNU linker is very broken
8119      if test "$host_cpu" != ia64; then
8120	ld_shlibs=no
8121	cat <<_LT_EOF 1>&2
8122
8123*** Warning: the GNU linker, at least up to release 2.9.1, is reported
8124*** to be unable to reliably create shared libraries on AIX.
8125*** Therefore, libtool is disabling shared libraries support.  If you
8126*** really care for shared libraries, you may want to modify your PATH
8127*** so that a non-GNU linker is found, and then restart.
8128
8129_LT_EOF
8130      fi
8131      ;;
8132
8133    amigaos*)
8134      case $host_cpu in
8135      powerpc)
8136            # see comment about AmigaOS4 .so support
8137            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8138            archive_expsym_cmds=''
8139        ;;
8140      m68k)
8141            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)'
8142            hardcode_libdir_flag_spec='-L$libdir'
8143            hardcode_minus_L=yes
8144        ;;
8145      esac
8146      ;;
8147
8148    beos*)
8149      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8150	allow_undefined_flag=unsupported
8151	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8152	# support --undefined.  This deserves some investigation.  FIXME
8153	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8154      else
8155	ld_shlibs=no
8156      fi
8157      ;;
8158
8159    cygwin* | mingw* | pw32* | cegcc*)
8160      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8161      # as there is no search path for DLLs.
8162      hardcode_libdir_flag_spec='-L$libdir'
8163      allow_undefined_flag=unsupported
8164      always_export_symbols=no
8165      enable_shared_with_static_runtimes=yes
8166      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8167
8168      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8169        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8170	# If the export-symbols file already is a .def file (1st line
8171	# is EXPORTS), use it as is; otherwise, prepend...
8172	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8173	  cp $export_symbols $output_objdir/$soname.def;
8174	else
8175	  echo EXPORTS > $output_objdir/$soname.def;
8176	  cat $export_symbols >> $output_objdir/$soname.def;
8177	fi~
8178	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8179      else
8180	ld_shlibs=no
8181      fi
8182      ;;
8183
8184    interix[3-9]*)
8185      hardcode_direct=no
8186      hardcode_shlibpath_var=no
8187      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8188      export_dynamic_flag_spec='${wl}-E'
8189      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8190      # Instead, shared libraries are loaded at an image base (0x10000000 by
8191      # default) and relocated if they conflict, which is a slow very memory
8192      # consuming and fragmenting process.  To avoid this, we pick a random,
8193      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8194      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
8195      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8196      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'
8197      ;;
8198
8199    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8200      tmp_diet=no
8201      if test "$host_os" = linux-dietlibc; then
8202	case $cc_basename in
8203	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
8204	esac
8205      fi
8206      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8207	 && test "$tmp_diet" = no
8208      then
8209	tmp_addflag=
8210	tmp_sharedflag='-shared'
8211	case $cc_basename,$host_cpu in
8212        pgcc*)				# Portland Group C compiler
8213	  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'
8214	  tmp_addflag=' $pic_flag'
8215	  ;;
8216	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
8217	  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'
8218	  tmp_addflag=' $pic_flag -Mnomain' ;;
8219	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
8220	  tmp_addflag=' -i_dynamic' ;;
8221	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
8222	  tmp_addflag=' -i_dynamic -nofor_main' ;;
8223	ifc* | ifort*)			# Intel Fortran compiler
8224	  tmp_addflag=' -nofor_main' ;;
8225	lf95*)				# Lahey Fortran 8.1
8226	  whole_archive_flag_spec=
8227	  tmp_sharedflag='--shared' ;;
8228	xl[cC]*)			# IBM XL C 8.0 on PPC (deal with xlf below)
8229	  tmp_sharedflag='-qmkshrobj'
8230	  tmp_addflag= ;;
8231	esac
8232	case `$CC -V 2>&1 | sed 5q` in
8233	*Sun\ C*)			# Sun C 5.9
8234	  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'
8235	  compiler_needs_object=yes
8236	  tmp_sharedflag='-G' ;;
8237	*Sun\ F*)			# Sun Fortran 8.3
8238	  tmp_sharedflag='-G' ;;
8239	esac
8240	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8241
8242        if test "x$supports_anon_versioning" = xyes; then
8243          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8244	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8245	    echo "local: *; };" >> $output_objdir/$libname.ver~
8246	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8247        fi
8248
8249	case $cc_basename in
8250	xlf*)
8251	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8252	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8253	  hardcode_libdir_flag_spec=
8254	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
8255	  archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8256	  if test "x$supports_anon_versioning" = xyes; then
8257	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8258	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8259	      echo "local: *; };" >> $output_objdir/$libname.ver~
8260	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8261	  fi
8262	  ;;
8263	esac
8264      else
8265        ld_shlibs=no
8266      fi
8267      ;;
8268
8269    netbsd* | netbsdelf*-gnu)
8270      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8271	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8272	wlarc=
8273      else
8274	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8275	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8276      fi
8277      ;;
8278
8279    solaris*)
8280      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8281	ld_shlibs=no
8282	cat <<_LT_EOF 1>&2
8283
8284*** Warning: The releases 2.8.* of the GNU linker cannot reliably
8285*** create shared libraries on Solaris systems.  Therefore, libtool
8286*** is disabling shared libraries support.  We urge you to upgrade GNU
8287*** binutils to release 2.9.1 or newer.  Another option is to modify
8288*** your PATH or compiler configuration so that the native linker is
8289*** used, and then restart.
8290
8291_LT_EOF
8292      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8293	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8294	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8295      else
8296	ld_shlibs=no
8297      fi
8298      ;;
8299
8300    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8301      case `$LD -v 2>&1` in
8302        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8303	ld_shlibs=no
8304	cat <<_LT_EOF 1>&2
8305
8306*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8307*** reliably create shared libraries on SCO systems.  Therefore, libtool
8308*** is disabling shared libraries support.  We urge you to upgrade GNU
8309*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
8310*** your PATH or compiler configuration so that the native linker is
8311*** used, and then restart.
8312
8313_LT_EOF
8314	;;
8315	*)
8316	  # For security reasons, it is highly recommended that you always
8317	  # use absolute paths for naming shared libraries, and exclude the
8318	  # DT_RUNPATH tag from executables and libraries.  But doing so
8319	  # requires that you compile everything twice, which is a pain.
8320	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8321	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8322	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8323	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8324	  else
8325	    ld_shlibs=no
8326	  fi
8327	;;
8328      esac
8329      ;;
8330
8331    sunos4*)
8332      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8333      wlarc=
8334      hardcode_direct=yes
8335      hardcode_shlibpath_var=no
8336      ;;
8337
8338    *)
8339      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8340	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8341	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8342      else
8343	ld_shlibs=no
8344      fi
8345      ;;
8346    esac
8347
8348    if test "$ld_shlibs" = no; then
8349      runpath_var=
8350      hardcode_libdir_flag_spec=
8351      export_dynamic_flag_spec=
8352      whole_archive_flag_spec=
8353    fi
8354  else
8355    # PORTME fill in a description of your system's linker (not GNU ld)
8356    case $host_os in
8357    aix3*)
8358      allow_undefined_flag=unsupported
8359      always_export_symbols=yes
8360      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'
8361      # Note: this linker hardcodes the directories in LIBPATH if there
8362      # are no directories specified by -L.
8363      hardcode_minus_L=yes
8364      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8365	# Neither direct hardcoding nor static linking is supported with a
8366	# broken collect2.
8367	hardcode_direct=unsupported
8368      fi
8369      ;;
8370
8371    aix[4-9]*)
8372      if test "$host_cpu" = ia64; then
8373	# On IA64, the linker does run time linking by default, so we don't
8374	# have to do anything special.
8375	aix_use_runtimelinking=no
8376	exp_sym_flag='-Bexport'
8377	no_entry_flag=""
8378      else
8379	# If we're using GNU nm, then we don't want the "-C" option.
8380	# -C means demangle to AIX nm, but means don't demangle with GNU nm
8381	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8382	  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'
8383	else
8384	  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'
8385	fi
8386	aix_use_runtimelinking=no
8387
8388	# Test if we are trying to use run time linking or normal
8389	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
8390	# need to do runtime linking.
8391	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8392	  for ld_flag in $LDFLAGS; do
8393	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8394	    aix_use_runtimelinking=yes
8395	    break
8396	  fi
8397	  done
8398	  ;;
8399	esac
8400
8401	exp_sym_flag='-bexport'
8402	no_entry_flag='-bnoentry'
8403      fi
8404
8405      # When large executables or shared objects are built, AIX ld can
8406      # have problems creating the table of contents.  If linking a library
8407      # or program results in "error TOC overflow" add -mminimal-toc to
8408      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
8409      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8410
8411      archive_cmds=''
8412      hardcode_direct=yes
8413      hardcode_direct_absolute=yes
8414      hardcode_libdir_separator=':'
8415      link_all_deplibs=yes
8416      file_list_spec='${wl}-f,'
8417
8418      if test "$GCC" = yes; then
8419	case $host_os in aix4.[012]|aix4.[012].*)
8420	# We only want to do this on AIX 4.2 and lower, the check
8421	# below for broken collect2 doesn't work under 4.3+
8422	  collect2name=`${CC} -print-prog-name=collect2`
8423	  if test -f "$collect2name" &&
8424	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8425	  then
8426	  # We have reworked collect2
8427	  :
8428	  else
8429	  # We have old collect2
8430	  hardcode_direct=unsupported
8431	  # It fails to find uninstalled libraries when the uninstalled
8432	  # path is not listed in the libpath.  Setting hardcode_minus_L
8433	  # to unsupported forces relinking
8434	  hardcode_minus_L=yes
8435	  hardcode_libdir_flag_spec='-L$libdir'
8436	  hardcode_libdir_separator=
8437	  fi
8438	  ;;
8439	esac
8440	shared_flag='-shared'
8441	if test "$aix_use_runtimelinking" = yes; then
8442	  shared_flag="$shared_flag "'${wl}-G'
8443	fi
8444	link_all_deplibs=no
8445      else
8446	# not using gcc
8447	if test "$host_cpu" = ia64; then
8448	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8449	# chokes on -Wl,-G. The following line is correct:
8450	  shared_flag='-G'
8451	else
8452	  if test "$aix_use_runtimelinking" = yes; then
8453	    shared_flag='${wl}-G'
8454	  else
8455	    shared_flag='${wl}-bM:SRE'
8456	  fi
8457	fi
8458      fi
8459
8460      export_dynamic_flag_spec='${wl}-bexpall'
8461      # It seems that -bexpall does not export symbols beginning with
8462      # underscore (_), so it is better to generate a list of symbols to export.
8463      always_export_symbols=yes
8464      if test "$aix_use_runtimelinking" = yes; then
8465	# Warning - without using the other runtime loading flags (-brtl),
8466	# -berok will link without error, but may produce a broken library.
8467	allow_undefined_flag='-berok'
8468        # Determine the default libpath from the value encoded in an
8469        # empty executable.
8470        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8471/* end confdefs.h.  */
8472
8473int
8474main ()
8475{
8476
8477  ;
8478  return 0;
8479}
8480_ACEOF
8481if ac_fn_c_try_link "$LINENO"; then :
8482
8483lt_aix_libpath_sed='
8484    /Import File Strings/,/^$/ {
8485	/^0/ {
8486	    s/^0  *\(.*\)$/\1/
8487	    p
8488	}
8489    }'
8490aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8491# Check for a 64-bit object if we didn't find anything.
8492if test -z "$aix_libpath"; then
8493  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8494fi
8495fi
8496rm -f core conftest.err conftest.$ac_objext \
8497    conftest$ac_exeext conftest.$ac_ext
8498if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8499
8500        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8501        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"
8502      else
8503	if test "$host_cpu" = ia64; then
8504	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8505	  allow_undefined_flag="-z nodefs"
8506	  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"
8507	else
8508	 # Determine the default libpath from the value encoded in an
8509	 # empty executable.
8510	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8511/* end confdefs.h.  */
8512
8513int
8514main ()
8515{
8516
8517  ;
8518  return 0;
8519}
8520_ACEOF
8521if ac_fn_c_try_link "$LINENO"; then :
8522
8523lt_aix_libpath_sed='
8524    /Import File Strings/,/^$/ {
8525	/^0/ {
8526	    s/^0  *\(.*\)$/\1/
8527	    p
8528	}
8529    }'
8530aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8531# Check for a 64-bit object if we didn't find anything.
8532if test -z "$aix_libpath"; then
8533  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8534fi
8535fi
8536rm -f core conftest.err conftest.$ac_objext \
8537    conftest$ac_exeext conftest.$ac_ext
8538if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8539
8540	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8541	  # Warning - without using the other run time loading flags,
8542	  # -berok will link without error, but may produce a broken library.
8543	  no_undefined_flag=' ${wl}-bernotok'
8544	  allow_undefined_flag=' ${wl}-berok'
8545	  # Exported symbols can be pulled into shared objects from archives
8546	  whole_archive_flag_spec='$convenience'
8547	  archive_cmds_need_lc=yes
8548	  # This is similar to how AIX traditionally builds its shared libraries.
8549	  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'
8550	fi
8551      fi
8552      ;;
8553
8554    amigaos*)
8555      case $host_cpu in
8556      powerpc)
8557            # see comment about AmigaOS4 .so support
8558            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8559            archive_expsym_cmds=''
8560        ;;
8561      m68k)
8562            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)'
8563            hardcode_libdir_flag_spec='-L$libdir'
8564            hardcode_minus_L=yes
8565        ;;
8566      esac
8567      ;;
8568
8569    bsdi[45]*)
8570      export_dynamic_flag_spec=-rdynamic
8571      ;;
8572
8573    cygwin* | mingw* | pw32* | cegcc*)
8574      # When not using gcc, we currently assume that we are using
8575      # Microsoft Visual C++.
8576      # hardcode_libdir_flag_spec is actually meaningless, as there is
8577      # no search path for DLLs.
8578      hardcode_libdir_flag_spec=' '
8579      allow_undefined_flag=unsupported
8580      # Tell ltmain to make .lib files, not .a files.
8581      libext=lib
8582      # Tell ltmain to make .dll files, not .so files.
8583      shrext_cmds=".dll"
8584      # FIXME: Setting linknames here is a bad hack.
8585      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8586      # The linker will automatically build a .lib file if we build a DLL.
8587      old_archive_from_new_cmds='true'
8588      # FIXME: Should let the user specify the lib program.
8589      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8590      fix_srcfile_path='`cygpath -w "$srcfile"`'
8591      enable_shared_with_static_runtimes=yes
8592      ;;
8593
8594    darwin* | rhapsody*)
8595
8596
8597  archive_cmds_need_lc=no
8598  hardcode_direct=no
8599  hardcode_automatic=yes
8600  hardcode_shlibpath_var=unsupported
8601  whole_archive_flag_spec=''
8602  link_all_deplibs=yes
8603  allow_undefined_flag="$_lt_dar_allow_undefined"
8604  case $cc_basename in
8605     ifort*) _lt_dar_can_shared=yes ;;
8606     *) _lt_dar_can_shared=$GCC ;;
8607  esac
8608  if test "$_lt_dar_can_shared" = "yes"; then
8609    output_verbose_link_cmd=echo
8610    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8611    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8612    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}"
8613    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}"
8614
8615  else
8616  ld_shlibs=no
8617  fi
8618
8619      ;;
8620
8621    dgux*)
8622      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8623      hardcode_libdir_flag_spec='-L$libdir'
8624      hardcode_shlibpath_var=no
8625      ;;
8626
8627    freebsd1*)
8628      ld_shlibs=no
8629      ;;
8630
8631    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8632    # support.  Future versions do this automatically, but an explicit c++rt0.o
8633    # does not break anything, and helps significantly (at the cost of a little
8634    # extra space).
8635    freebsd2.2*)
8636      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8637      hardcode_libdir_flag_spec='-R$libdir'
8638      hardcode_direct=yes
8639      hardcode_shlibpath_var=no
8640      ;;
8641
8642    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8643    freebsd2*)
8644      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8645      hardcode_direct=yes
8646      hardcode_minus_L=yes
8647      hardcode_shlibpath_var=no
8648      ;;
8649
8650    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8651    freebsd* | dragonfly*)
8652      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8653      hardcode_libdir_flag_spec='-R$libdir'
8654      hardcode_direct=yes
8655      hardcode_shlibpath_var=no
8656      ;;
8657
8658    hpux9*)
8659      if test "$GCC" = yes; then
8660	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'
8661      else
8662	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'
8663      fi
8664      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8665      hardcode_libdir_separator=:
8666      hardcode_direct=yes
8667
8668      # hardcode_minus_L: Not really in the search PATH,
8669      # but as the default location of the library.
8670      hardcode_minus_L=yes
8671      export_dynamic_flag_spec='${wl}-E'
8672      ;;
8673
8674    hpux10*)
8675      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8676	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8677      else
8678	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8679      fi
8680      if test "$with_gnu_ld" = no; then
8681	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8682	hardcode_libdir_flag_spec_ld='+b $libdir'
8683	hardcode_libdir_separator=:
8684	hardcode_direct=yes
8685	hardcode_direct_absolute=yes
8686	export_dynamic_flag_spec='${wl}-E'
8687	# hardcode_minus_L: Not really in the search PATH,
8688	# but as the default location of the library.
8689	hardcode_minus_L=yes
8690      fi
8691      ;;
8692
8693    hpux11*)
8694      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8695	case $host_cpu in
8696	hppa*64*)
8697	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8698	  ;;
8699	ia64*)
8700	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8701	  ;;
8702	*)
8703	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8704	  ;;
8705	esac
8706      else
8707	case $host_cpu in
8708	hppa*64*)
8709	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8710	  ;;
8711	ia64*)
8712	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8713	  ;;
8714	*)
8715	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8716	  ;;
8717	esac
8718      fi
8719      if test "$with_gnu_ld" = no; then
8720	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8721	hardcode_libdir_separator=:
8722
8723	case $host_cpu in
8724	hppa*64*|ia64*)
8725	  hardcode_direct=no
8726	  hardcode_shlibpath_var=no
8727	  ;;
8728	*)
8729	  hardcode_direct=yes
8730	  hardcode_direct_absolute=yes
8731	  export_dynamic_flag_spec='${wl}-E'
8732
8733	  # hardcode_minus_L: Not really in the search PATH,
8734	  # but as the default location of the library.
8735	  hardcode_minus_L=yes
8736	  ;;
8737	esac
8738      fi
8739      ;;
8740
8741    irix5* | irix6* | nonstopux*)
8742      if test "$GCC" = yes; then
8743	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'
8744	# Try to use the -exported_symbol ld option, if it does not
8745	# work, assume that -exports_file does not work either and
8746	# implicitly export all symbols.
8747        save_LDFLAGS="$LDFLAGS"
8748        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8749        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8750/* end confdefs.h.  */
8751int foo(void) {}
8752_ACEOF
8753if ac_fn_c_try_link "$LINENO"; then :
8754  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'
8755
8756fi
8757rm -f core conftest.err conftest.$ac_objext \
8758    conftest$ac_exeext conftest.$ac_ext
8759        LDFLAGS="$save_LDFLAGS"
8760      else
8761	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'
8762	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'
8763      fi
8764      archive_cmds_need_lc='no'
8765      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8766      hardcode_libdir_separator=:
8767      inherit_rpath=yes
8768      link_all_deplibs=yes
8769      ;;
8770
8771    netbsd* | netbsdelf*-gnu)
8772      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8773	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
8774      else
8775	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
8776      fi
8777      hardcode_libdir_flag_spec='-R$libdir'
8778      hardcode_direct=yes
8779      hardcode_shlibpath_var=no
8780      ;;
8781
8782    newsos6)
8783      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8784      hardcode_direct=yes
8785      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8786      hardcode_libdir_separator=:
8787      hardcode_shlibpath_var=no
8788      ;;
8789
8790    *nto* | *qnx*)
8791      ;;
8792
8793    openbsd*)
8794      if test -f /usr/libexec/ld.so; then
8795	hardcode_direct=yes
8796	hardcode_shlibpath_var=no
8797	hardcode_direct_absolute=yes
8798	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8799	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8800	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8801	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8802	  export_dynamic_flag_spec='${wl}-E'
8803	else
8804	  case $host_os in
8805	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8806	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8807	     hardcode_libdir_flag_spec='-R$libdir'
8808	     ;;
8809	   *)
8810	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8811	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8812	     ;;
8813	  esac
8814	fi
8815      else
8816	ld_shlibs=no
8817      fi
8818      ;;
8819
8820    os2*)
8821      hardcode_libdir_flag_spec='-L$libdir'
8822      hardcode_minus_L=yes
8823      allow_undefined_flag=unsupported
8824      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'
8825      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8826      ;;
8827
8828    osf3*)
8829      if test "$GCC" = yes; then
8830	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8831	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'
8832      else
8833	allow_undefined_flag=' -expect_unresolved \*'
8834	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'
8835      fi
8836      archive_cmds_need_lc='no'
8837      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8838      hardcode_libdir_separator=:
8839      ;;
8840
8841    osf4* | osf5*)	# as osf3* with the addition of -msym flag
8842      if test "$GCC" = yes; then
8843	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8844	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'
8845	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8846      else
8847	allow_undefined_flag=' -expect_unresolved \*'
8848	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'
8849	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~
8850	$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'
8851
8852	# Both c and cxx compiler support -rpath directly
8853	hardcode_libdir_flag_spec='-rpath $libdir'
8854      fi
8855      archive_cmds_need_lc='no'
8856      hardcode_libdir_separator=:
8857      ;;
8858
8859    solaris*)
8860      no_undefined_flag=' -z defs'
8861      if test "$GCC" = yes; then
8862	wlarc='${wl}'
8863	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8864	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8865	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8866      else
8867	case `$CC -V 2>&1` in
8868	*"Compilers 5.0"*)
8869	  wlarc=''
8870	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8871	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8872	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8873	  ;;
8874	*)
8875	  wlarc='${wl}'
8876	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8877	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8878	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8879	  ;;
8880	esac
8881      fi
8882      hardcode_libdir_flag_spec='-R$libdir'
8883      hardcode_shlibpath_var=no
8884      case $host_os in
8885      solaris2.[0-5] | solaris2.[0-5].*) ;;
8886      *)
8887	# The compiler driver will combine and reorder linker options,
8888	# but understands `-z linker_flag'.  GCC discards it without `$wl',
8889	# but is careful enough not to reorder.
8890	# Supported since Solaris 2.6 (maybe 2.5.1?)
8891	if test "$GCC" = yes; then
8892	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8893	else
8894	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8895	fi
8896	;;
8897      esac
8898      link_all_deplibs=yes
8899      ;;
8900
8901    sunos4*)
8902      if test "x$host_vendor" = xsequent; then
8903	# Use $CC to link under sequent, because it throws in some extra .o
8904	# files that make .init and .fini sections work.
8905	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8906      else
8907	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8908      fi
8909      hardcode_libdir_flag_spec='-L$libdir'
8910      hardcode_direct=yes
8911      hardcode_minus_L=yes
8912      hardcode_shlibpath_var=no
8913      ;;
8914
8915    sysv4)
8916      case $host_vendor in
8917	sni)
8918	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8919	  hardcode_direct=yes # is this really true???
8920	;;
8921	siemens)
8922	  ## LD is ld it makes a PLAMLIB
8923	  ## CC just makes a GrossModule.
8924	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8925	  reload_cmds='$CC -r -o $output$reload_objs'
8926	  hardcode_direct=no
8927        ;;
8928	motorola)
8929	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8930	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8931	;;
8932      esac
8933      runpath_var='LD_RUN_PATH'
8934      hardcode_shlibpath_var=no
8935      ;;
8936
8937    sysv4.3*)
8938      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8939      hardcode_shlibpath_var=no
8940      export_dynamic_flag_spec='-Bexport'
8941      ;;
8942
8943    sysv4*MP*)
8944      if test -d /usr/nec; then
8945	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8946	hardcode_shlibpath_var=no
8947	runpath_var=LD_RUN_PATH
8948	hardcode_runpath_var=yes
8949	ld_shlibs=yes
8950      fi
8951      ;;
8952
8953    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8954      no_undefined_flag='${wl}-z,text'
8955      archive_cmds_need_lc=no
8956      hardcode_shlibpath_var=no
8957      runpath_var='LD_RUN_PATH'
8958
8959      if test "$GCC" = yes; then
8960	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8961	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8962      else
8963	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8964	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8965      fi
8966      ;;
8967
8968    sysv5* | sco3.2v5* | sco5v6*)
8969      # Note: We can NOT use -z defs as we might desire, because we do not
8970      # link with -lc, and that would cause any symbols used from libc to
8971      # always be unresolved, which means just about no library would
8972      # ever link correctly.  If we're not using GNU ld we use -z text
8973      # though, which does catch some bad symbols but isn't as heavy-handed
8974      # as -z defs.
8975      no_undefined_flag='${wl}-z,text'
8976      allow_undefined_flag='${wl}-z,nodefs'
8977      archive_cmds_need_lc=no
8978      hardcode_shlibpath_var=no
8979      hardcode_libdir_flag_spec='${wl}-R,$libdir'
8980      hardcode_libdir_separator=':'
8981      link_all_deplibs=yes
8982      export_dynamic_flag_spec='${wl}-Bexport'
8983      runpath_var='LD_RUN_PATH'
8984
8985      if test "$GCC" = yes; then
8986	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8987	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8988      else
8989	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8990	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8991      fi
8992      ;;
8993
8994    uts4*)
8995      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8996      hardcode_libdir_flag_spec='-L$libdir'
8997      hardcode_shlibpath_var=no
8998      ;;
8999
9000    *)
9001      ld_shlibs=no
9002      ;;
9003    esac
9004
9005    if test x$host_vendor = xsni; then
9006      case $host in
9007      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9008	export_dynamic_flag_spec='${wl}-Blargedynsym'
9009	;;
9010      esac
9011    fi
9012  fi
9013
9014{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9015$as_echo "$ld_shlibs" >&6; }
9016test "$ld_shlibs" = no && can_build_shared=no
9017
9018with_gnu_ld=$with_gnu_ld
9019
9020
9021
9022
9023
9024
9025
9026
9027
9028
9029
9030
9031
9032
9033
9034#
9035# Do we need to explicitly link libc?
9036#
9037case "x$archive_cmds_need_lc" in
9038x|xyes)
9039  # Assume -lc should be added
9040  archive_cmds_need_lc=yes
9041
9042  if test "$enable_shared" = yes && test "$GCC" = yes; then
9043    case $archive_cmds in
9044    *'~'*)
9045      # FIXME: we may have to deal with multi-command sequences.
9046      ;;
9047    '$CC '*)
9048      # Test whether the compiler implicitly links with -lc since on some
9049      # systems, -lgcc has to come before -lc. If gcc already passes -lc
9050      # to ld, don't add -lc before -lgcc.
9051      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9052$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9053      $RM conftest*
9054      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9055
9056      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9057  (eval $ac_compile) 2>&5
9058  ac_status=$?
9059  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9060  test $ac_status = 0; } 2>conftest.err; then
9061        soname=conftest
9062        lib=conftest
9063        libobjs=conftest.$ac_objext
9064        deplibs=
9065        wl=$lt_prog_compiler_wl
9066	pic_flag=$lt_prog_compiler_pic
9067        compiler_flags=-v
9068        linker_flags=-v
9069        verstring=
9070        output_objdir=.
9071        libname=conftest
9072        lt_save_allow_undefined_flag=$allow_undefined_flag
9073        allow_undefined_flag=
9074        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9075  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9076  ac_status=$?
9077  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9078  test $ac_status = 0; }
9079        then
9080	  archive_cmds_need_lc=no
9081        else
9082	  archive_cmds_need_lc=yes
9083        fi
9084        allow_undefined_flag=$lt_save_allow_undefined_flag
9085      else
9086        cat conftest.err 1>&5
9087      fi
9088      $RM conftest*
9089      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9090$as_echo "$archive_cmds_need_lc" >&6; }
9091      ;;
9092    esac
9093  fi
9094  ;;
9095esac
9096
9097
9098
9099
9100
9101
9102
9103
9104
9105
9106
9107
9108
9109
9110
9111
9112
9113
9114
9115
9116
9117
9118
9119
9120
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  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9254$as_echo_n "checking dynamic linker characteristics... " >&6; }
9255
9256if test "$GCC" = yes; then
9257  case $host_os in
9258    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9259    *) lt_awk_arg="/^libraries:/" ;;
9260  esac
9261  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9262  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9263    # if the path contains ";" then we assume it to be the separator
9264    # otherwise default to the standard path separator (i.e. ":") - it is
9265    # assumed that no part of a normal pathname contains ";" but that should
9266    # okay in the real world where ";" in dirpaths is itself problematic.
9267    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9268  else
9269    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9270  fi
9271  # Ok, now we have the path, separated by spaces, we can step through it
9272  # and add multilib dir if necessary.
9273  lt_tmp_lt_search_path_spec=
9274  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9275  for lt_sys_path in $lt_search_path_spec; do
9276    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9277      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9278    else
9279      test -d "$lt_sys_path" && \
9280	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9281    fi
9282  done
9283  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9284BEGIN {RS=" "; FS="/|\n";} {
9285  lt_foo="";
9286  lt_count=0;
9287  for (lt_i = NF; lt_i > 0; lt_i--) {
9288    if ($lt_i != "" && $lt_i != ".") {
9289      if ($lt_i == "..") {
9290        lt_count++;
9291      } else {
9292        if (lt_count == 0) {
9293          lt_foo="/" $lt_i lt_foo;
9294        } else {
9295          lt_count--;
9296        }
9297      }
9298    }
9299  }
9300  if (lt_foo != "") { lt_freq[lt_foo]++; }
9301  if (lt_freq[lt_foo] == 1) { print lt_foo; }
9302}'`
9303  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9304else
9305  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9306fi
9307library_names_spec=
9308libname_spec='lib$name'
9309soname_spec=
9310shrext_cmds=".so"
9311postinstall_cmds=
9312postuninstall_cmds=
9313finish_cmds=
9314finish_eval=
9315shlibpath_var=
9316shlibpath_overrides_runpath=unknown
9317version_type=none
9318dynamic_linker="$host_os ld.so"
9319sys_lib_dlsearch_path_spec="/lib /usr/lib"
9320need_lib_prefix=unknown
9321hardcode_into_libs=no
9322
9323# when you set need_version to no, make sure it does not cause -set_version
9324# flags to be left without arguments
9325need_version=unknown
9326
9327case $host_os in
9328aix3*)
9329  version_type=linux
9330  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9331  shlibpath_var=LIBPATH
9332
9333  # AIX 3 has no versioning support, so we append a major version to the name.
9334  soname_spec='${libname}${release}${shared_ext}$major'
9335  ;;
9336
9337aix[4-9]*)
9338  version_type=linux
9339  need_lib_prefix=no
9340  need_version=no
9341  hardcode_into_libs=yes
9342  if test "$host_cpu" = ia64; then
9343    # AIX 5 supports IA64
9344    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9345    shlibpath_var=LD_LIBRARY_PATH
9346  else
9347    # With GCC up to 2.95.x, collect2 would create an import file
9348    # for dependence libraries.  The import file would start with
9349    # the line `#! .'.  This would cause the generated library to
9350    # depend on `.', always an invalid library.  This was fixed in
9351    # development snapshots of GCC prior to 3.0.
9352    case $host_os in
9353      aix4 | aix4.[01] | aix4.[01].*)
9354      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9355	   echo ' yes '
9356	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9357	:
9358      else
9359	can_build_shared=no
9360      fi
9361      ;;
9362    esac
9363    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9364    # soname into executable. Probably we can add versioning support to
9365    # collect2, so additional links can be useful in future.
9366    if test "$aix_use_runtimelinking" = yes; then
9367      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9368      # instead of lib<name>.a to let people know that these are not
9369      # typical AIX shared libraries.
9370      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9371    else
9372      # We preserve .a as extension for shared libraries through AIX4.2
9373      # and later when we are not doing run time linking.
9374      library_names_spec='${libname}${release}.a $libname.a'
9375      soname_spec='${libname}${release}${shared_ext}$major'
9376    fi
9377    shlibpath_var=LIBPATH
9378  fi
9379  ;;
9380
9381amigaos*)
9382  case $host_cpu in
9383  powerpc)
9384    # Since July 2007 AmigaOS4 officially supports .so libraries.
9385    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9386    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9387    ;;
9388  m68k)
9389    library_names_spec='$libname.ixlibrary $libname.a'
9390    # Create ${libname}_ixlibrary.a entries in /sys/libs.
9391    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'
9392    ;;
9393  esac
9394  ;;
9395
9396beos*)
9397  library_names_spec='${libname}${shared_ext}'
9398  dynamic_linker="$host_os ld.so"
9399  shlibpath_var=LIBRARY_PATH
9400  ;;
9401
9402bsdi[45]*)
9403  version_type=linux
9404  need_version=no
9405  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9406  soname_spec='${libname}${release}${shared_ext}$major'
9407  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9408  shlibpath_var=LD_LIBRARY_PATH
9409  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9410  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9411  # the default ld.so.conf also contains /usr/contrib/lib and
9412  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9413  # libtool to hard-code these into programs
9414  ;;
9415
9416cygwin* | mingw* | pw32* | cegcc*)
9417  version_type=windows
9418  shrext_cmds=".dll"
9419  need_version=no
9420  need_lib_prefix=no
9421
9422  case $GCC,$host_os in
9423  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9424    library_names_spec='$libname.dll.a'
9425    # DLL is installed to $(libdir)/../bin by postinstall_cmds
9426    postinstall_cmds='base_file=`basename \${file}`~
9427      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9428      dldir=$destdir/`dirname \$dlpath`~
9429      test -d \$dldir || mkdir -p \$dldir~
9430      $install_prog $dir/$dlname \$dldir/$dlname~
9431      chmod a+x \$dldir/$dlname~
9432      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9433        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9434      fi'
9435    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9436      dlpath=$dir/\$dldll~
9437       $RM \$dlpath'
9438    shlibpath_overrides_runpath=yes
9439
9440    case $host_os in
9441    cygwin*)
9442      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9443      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9444      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9445      ;;
9446    mingw* | cegcc*)
9447      # MinGW DLLs use traditional 'lib' prefix
9448      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9449      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9450      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9451        # It is most probably a Windows format PATH printed by
9452        # mingw gcc, but we are running on Cygwin. Gcc prints its search
9453        # path with ; separators, and with drive letters. We can handle the
9454        # drive letters (cygwin fileutils understands them), so leave them,
9455        # especially as we might pass files found there to a mingw objdump,
9456        # which wouldn't understand a cygwinified path. Ahh.
9457        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9458      else
9459        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9460      fi
9461      ;;
9462    pw32*)
9463      # pw32 DLLs use 'pw' prefix rather than 'lib'
9464      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9465      ;;
9466    esac
9467    ;;
9468
9469  *)
9470    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9471    ;;
9472  esac
9473  dynamic_linker='Win32 ld.exe'
9474  # FIXME: first we should search . and the directory the executable is in
9475  shlibpath_var=PATH
9476  ;;
9477
9478darwin* | rhapsody*)
9479  dynamic_linker="$host_os dyld"
9480  version_type=darwin
9481  need_lib_prefix=no
9482  need_version=no
9483  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9484  soname_spec='${libname}${release}${major}$shared_ext'
9485  shlibpath_overrides_runpath=yes
9486  shlibpath_var=DYLD_LIBRARY_PATH
9487  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9488
9489  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9490  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9491  ;;
9492
9493dgux*)
9494  version_type=linux
9495  need_lib_prefix=no
9496  need_version=no
9497  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9498  soname_spec='${libname}${release}${shared_ext}$major'
9499  shlibpath_var=LD_LIBRARY_PATH
9500  ;;
9501
9502freebsd1*)
9503  dynamic_linker=no
9504  ;;
9505
9506freebsd* | dragonfly*)
9507  # DragonFly does not have aout.  When/if they implement a new
9508  # versioning mechanism, adjust this.
9509  if test -x /usr/bin/objformat; then
9510    objformat=`/usr/bin/objformat`
9511  else
9512    case $host_os in
9513    freebsd[123]*) objformat=aout ;;
9514    *) objformat=elf ;;
9515    esac
9516  fi
9517  version_type=freebsd-$objformat
9518  case $version_type in
9519    freebsd-elf*)
9520      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9521      need_version=no
9522      need_lib_prefix=no
9523      ;;
9524    freebsd-*)
9525      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9526      need_version=yes
9527      ;;
9528  esac
9529  shlibpath_var=LD_LIBRARY_PATH
9530  case $host_os in
9531  freebsd2*)
9532    shlibpath_overrides_runpath=yes
9533    ;;
9534  freebsd3.[01]* | freebsdelf3.[01]*)
9535    shlibpath_overrides_runpath=yes
9536    hardcode_into_libs=yes
9537    ;;
9538  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9539  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9540    shlibpath_overrides_runpath=no
9541    hardcode_into_libs=yes
9542    ;;
9543  *) # from 4.6 on, and DragonFly
9544    shlibpath_overrides_runpath=yes
9545    hardcode_into_libs=yes
9546    ;;
9547  esac
9548  ;;
9549
9550gnu*)
9551  version_type=linux
9552  need_lib_prefix=no
9553  need_version=no
9554  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9555  soname_spec='${libname}${release}${shared_ext}$major'
9556  shlibpath_var=LD_LIBRARY_PATH
9557  hardcode_into_libs=yes
9558  ;;
9559
9560hpux9* | hpux10* | hpux11*)
9561  # Give a soname corresponding to the major version so that dld.sl refuses to
9562  # link against other versions.
9563  version_type=sunos
9564  need_lib_prefix=no
9565  need_version=no
9566  case $host_cpu in
9567  ia64*)
9568    shrext_cmds='.so'
9569    hardcode_into_libs=yes
9570    dynamic_linker="$host_os dld.so"
9571    shlibpath_var=LD_LIBRARY_PATH
9572    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9573    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9574    soname_spec='${libname}${release}${shared_ext}$major'
9575    if test "X$HPUX_IA64_MODE" = X32; then
9576      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9577    else
9578      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9579    fi
9580    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9581    ;;
9582  hppa*64*)
9583    shrext_cmds='.sl'
9584    hardcode_into_libs=yes
9585    dynamic_linker="$host_os dld.sl"
9586    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9587    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9588    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9589    soname_spec='${libname}${release}${shared_ext}$major'
9590    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9591    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9592    ;;
9593  *)
9594    shrext_cmds='.sl'
9595    dynamic_linker="$host_os dld.sl"
9596    shlibpath_var=SHLIB_PATH
9597    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
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    ;;
9601  esac
9602  # HP-UX runs *really* slowly unless shared libraries are mode 555.
9603  postinstall_cmds='chmod 555 $lib'
9604  ;;
9605
9606interix[3-9]*)
9607  version_type=linux
9608  need_lib_prefix=no
9609  need_version=no
9610  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9611  soname_spec='${libname}${release}${shared_ext}$major'
9612  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9613  shlibpath_var=LD_LIBRARY_PATH
9614  shlibpath_overrides_runpath=no
9615  hardcode_into_libs=yes
9616  ;;
9617
9618irix5* | irix6* | nonstopux*)
9619  case $host_os in
9620    nonstopux*) version_type=nonstopux ;;
9621    *)
9622	if test "$lt_cv_prog_gnu_ld" = yes; then
9623		version_type=linux
9624	else
9625		version_type=irix
9626	fi ;;
9627  esac
9628  need_lib_prefix=no
9629  need_version=no
9630  soname_spec='${libname}${release}${shared_ext}$major'
9631  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9632  case $host_os in
9633  irix5* | nonstopux*)
9634    libsuff= shlibsuff=
9635    ;;
9636  *)
9637    case $LD in # libtool.m4 will add one of these switches to LD
9638    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9639      libsuff= shlibsuff= libmagic=32-bit;;
9640    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9641      libsuff=32 shlibsuff=N32 libmagic=N32;;
9642    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9643      libsuff=64 shlibsuff=64 libmagic=64-bit;;
9644    *) libsuff= shlibsuff= libmagic=never-match;;
9645    esac
9646    ;;
9647  esac
9648  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9649  shlibpath_overrides_runpath=no
9650  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9651  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9652  hardcode_into_libs=yes
9653  ;;
9654
9655# No shared lib support for Linux oldld, aout, or coff.
9656linux*oldld* | linux*aout* | linux*coff*)
9657  dynamic_linker=no
9658  ;;
9659
9660# This must be Linux ELF.
9661linux* | k*bsd*-gnu | kopensolaris*-gnu)
9662  version_type=linux
9663  need_lib_prefix=no
9664  need_version=no
9665  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9666  soname_spec='${libname}${release}${shared_ext}$major'
9667  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9668  shlibpath_var=LD_LIBRARY_PATH
9669  shlibpath_overrides_runpath=no
9670  # Some binutils ld are patched to set DT_RUNPATH
9671  save_LDFLAGS=$LDFLAGS
9672  save_libdir=$libdir
9673  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9674       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9675  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9676/* end confdefs.h.  */
9677
9678int
9679main ()
9680{
9681
9682  ;
9683  return 0;
9684}
9685_ACEOF
9686if ac_fn_c_try_link "$LINENO"; then :
9687  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
9688  shlibpath_overrides_runpath=yes
9689fi
9690fi
9691rm -f core conftest.err conftest.$ac_objext \
9692    conftest$ac_exeext conftest.$ac_ext
9693  LDFLAGS=$save_LDFLAGS
9694  libdir=$save_libdir
9695
9696  # This implies no fast_install, which is unacceptable.
9697  # Some rework will be needed to allow for fast_install
9698  # before this can be enabled.
9699  hardcode_into_libs=yes
9700
9701  # Append ld.so.conf contents to the search path
9702  if test -f /etc/ld.so.conf; then
9703    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' ' '`
9704    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9705  fi
9706
9707  # We used to test for /lib/ld.so.1 and disable shared libraries on
9708  # powerpc, because MkLinux only supported shared libraries with the
9709  # GNU dynamic linker.  Since this was broken with cross compilers,
9710  # most powerpc-linux boxes support dynamic linking these days and
9711  # people can always --disable-shared, the test was removed, and we
9712  # assume the GNU/Linux dynamic linker is in use.
9713  dynamic_linker='GNU/Linux ld.so'
9714  ;;
9715
9716netbsdelf*-gnu)
9717  version_type=linux
9718  need_lib_prefix=no
9719  need_version=no
9720  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9721  soname_spec='${libname}${release}${shared_ext}$major'
9722  shlibpath_var=LD_LIBRARY_PATH
9723  shlibpath_overrides_runpath=no
9724  hardcode_into_libs=yes
9725  dynamic_linker='NetBSD ld.elf_so'
9726  ;;
9727
9728netbsd*)
9729  version_type=sunos
9730  need_lib_prefix=no
9731  need_version=no
9732  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9733    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9734    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9735    dynamic_linker='NetBSD (a.out) ld.so'
9736  else
9737    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9738    soname_spec='${libname}${release}${shared_ext}$major'
9739    dynamic_linker='NetBSD ld.elf_so'
9740  fi
9741  shlibpath_var=LD_LIBRARY_PATH
9742  shlibpath_overrides_runpath=yes
9743  hardcode_into_libs=yes
9744  ;;
9745
9746newsos6)
9747  version_type=linux
9748  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9749  shlibpath_var=LD_LIBRARY_PATH
9750  shlibpath_overrides_runpath=yes
9751  ;;
9752
9753*nto* | *qnx*)
9754  version_type=qnx
9755  need_lib_prefix=no
9756  need_version=no
9757  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9758  soname_spec='${libname}${release}${shared_ext}$major'
9759  shlibpath_var=LD_LIBRARY_PATH
9760  shlibpath_overrides_runpath=no
9761  hardcode_into_libs=yes
9762  dynamic_linker='ldqnx.so'
9763  ;;
9764
9765openbsd*)
9766  version_type=sunos
9767  sys_lib_dlsearch_path_spec="/usr/lib"
9768  need_lib_prefix=no
9769  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9770  case $host_os in
9771    openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
9772    *)				need_version=no  ;;
9773  esac
9774  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9775  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9776  shlibpath_var=LD_LIBRARY_PATH
9777  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9778    case $host_os in
9779      openbsd2.[89] | openbsd2.[89].*)
9780	shlibpath_overrides_runpath=no
9781	;;
9782      *)
9783	shlibpath_overrides_runpath=yes
9784	;;
9785      esac
9786  else
9787    shlibpath_overrides_runpath=yes
9788  fi
9789  ;;
9790
9791os2*)
9792  libname_spec='$name'
9793  shrext_cmds=".dll"
9794  need_lib_prefix=no
9795  library_names_spec='$libname${shared_ext} $libname.a'
9796  dynamic_linker='OS/2 ld.exe'
9797  shlibpath_var=LIBPATH
9798  ;;
9799
9800osf3* | osf4* | osf5*)
9801  version_type=osf
9802  need_lib_prefix=no
9803  need_version=no
9804  soname_spec='${libname}${release}${shared_ext}$major'
9805  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9806  shlibpath_var=LD_LIBRARY_PATH
9807  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9808  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9809  ;;
9810
9811rdos*)
9812  dynamic_linker=no
9813  ;;
9814
9815solaris*)
9816  version_type=linux
9817  need_lib_prefix=no
9818  need_version=no
9819  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9820  soname_spec='${libname}${release}${shared_ext}$major'
9821  shlibpath_var=LD_LIBRARY_PATH
9822  shlibpath_overrides_runpath=yes
9823  hardcode_into_libs=yes
9824  # ldd complains unless libraries are executable
9825  postinstall_cmds='chmod +x $lib'
9826  ;;
9827
9828sunos4*)
9829  version_type=sunos
9830  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9831  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9832  shlibpath_var=LD_LIBRARY_PATH
9833  shlibpath_overrides_runpath=yes
9834  if test "$with_gnu_ld" = yes; then
9835    need_lib_prefix=no
9836  fi
9837  need_version=yes
9838  ;;
9839
9840sysv4 | sysv4.3*)
9841  version_type=linux
9842  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9843  soname_spec='${libname}${release}${shared_ext}$major'
9844  shlibpath_var=LD_LIBRARY_PATH
9845  case $host_vendor in
9846    sni)
9847      shlibpath_overrides_runpath=no
9848      need_lib_prefix=no
9849      runpath_var=LD_RUN_PATH
9850      ;;
9851    siemens)
9852      need_lib_prefix=no
9853      ;;
9854    motorola)
9855      need_lib_prefix=no
9856      need_version=no
9857      shlibpath_overrides_runpath=no
9858      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9859      ;;
9860  esac
9861  ;;
9862
9863sysv4*MP*)
9864  if test -d /usr/nec ;then
9865    version_type=linux
9866    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9867    soname_spec='$libname${shared_ext}.$major'
9868    shlibpath_var=LD_LIBRARY_PATH
9869  fi
9870  ;;
9871
9872sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9873  version_type=freebsd-elf
9874  need_lib_prefix=no
9875  need_version=no
9876  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9877  soname_spec='${libname}${release}${shared_ext}$major'
9878  shlibpath_var=LD_LIBRARY_PATH
9879  shlibpath_overrides_runpath=yes
9880  hardcode_into_libs=yes
9881  if test "$with_gnu_ld" = yes; then
9882    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9883  else
9884    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9885    case $host_os in
9886      sco3.2v5*)
9887        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9888	;;
9889    esac
9890  fi
9891  sys_lib_dlsearch_path_spec='/usr/lib'
9892  ;;
9893
9894tpf*)
9895  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
9896  version_type=linux
9897  need_lib_prefix=no
9898  need_version=no
9899  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9900  shlibpath_var=LD_LIBRARY_PATH
9901  shlibpath_overrides_runpath=no
9902  hardcode_into_libs=yes
9903  ;;
9904
9905uts4*)
9906  version_type=linux
9907  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9908  soname_spec='${libname}${release}${shared_ext}$major'
9909  shlibpath_var=LD_LIBRARY_PATH
9910  ;;
9911
9912*)
9913  dynamic_linker=no
9914  ;;
9915esac
9916{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
9917$as_echo "$dynamic_linker" >&6; }
9918test "$dynamic_linker" = no && can_build_shared=no
9919
9920variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9921if test "$GCC" = yes; then
9922  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9923fi
9924
9925if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9926  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
9927fi
9928if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9929  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
9930fi
9931
9932
9933
9934
9935
9936
9937
9938
9939
9940
9941
9942
9943
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  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10019$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10020hardcode_action=
10021if test -n "$hardcode_libdir_flag_spec" ||
10022   test -n "$runpath_var" ||
10023   test "X$hardcode_automatic" = "Xyes" ; then
10024
10025  # We can hardcode non-existent directories.
10026  if test "$hardcode_direct" != no &&
10027     # If the only mechanism to avoid hardcoding is shlibpath_var, we
10028     # have to relink, otherwise we might link with an installed library
10029     # when we should be linking with a yet-to-be-installed one
10030     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10031     test "$hardcode_minus_L" != no; then
10032    # Linking always hardcodes the temporary library directory.
10033    hardcode_action=relink
10034  else
10035    # We can link without hardcoding, and we can hardcode nonexisting dirs.
10036    hardcode_action=immediate
10037  fi
10038else
10039  # We cannot hardcode anything, or else we can only hardcode existing
10040  # directories.
10041  hardcode_action=unsupported
10042fi
10043{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10044$as_echo "$hardcode_action" >&6; }
10045
10046if test "$hardcode_action" = relink ||
10047   test "$inherit_rpath" = yes; then
10048  # Fast installation is not supported
10049  enable_fast_install=no
10050elif test "$shlibpath_overrides_runpath" = yes ||
10051     test "$enable_shared" = no; then
10052  # Fast installation is not necessary
10053  enable_fast_install=needless
10054fi
10055
10056
10057
10058
10059
10060
10061  if test "x$enable_dlopen" != xyes; then
10062  enable_dlopen=unknown
10063  enable_dlopen_self=unknown
10064  enable_dlopen_self_static=unknown
10065else
10066  lt_cv_dlopen=no
10067  lt_cv_dlopen_libs=
10068
10069  case $host_os in
10070  beos*)
10071    lt_cv_dlopen="load_add_on"
10072    lt_cv_dlopen_libs=
10073    lt_cv_dlopen_self=yes
10074    ;;
10075
10076  mingw* | pw32* | cegcc*)
10077    lt_cv_dlopen="LoadLibrary"
10078    lt_cv_dlopen_libs=
10079    ;;
10080
10081  cygwin*)
10082    lt_cv_dlopen="dlopen"
10083    lt_cv_dlopen_libs=
10084    ;;
10085
10086  darwin*)
10087  # if libdl is installed we need to link against it
10088    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10089$as_echo_n "checking for dlopen in -ldl... " >&6; }
10090if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10091  $as_echo_n "(cached) " >&6
10092else
10093  ac_check_lib_save_LIBS=$LIBS
10094LIBS="-ldl  $LIBS"
10095cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10096/* end confdefs.h.  */
10097
10098/* Override any GCC internal prototype to avoid an error.
10099   Use char because int might match the return type of a GCC
10100   builtin and then its argument prototype would still apply.  */
10101#ifdef __cplusplus
10102extern "C"
10103#endif
10104char dlopen ();
10105int
10106main ()
10107{
10108return dlopen ();
10109  ;
10110  return 0;
10111}
10112_ACEOF
10113if ac_fn_c_try_link "$LINENO"; then :
10114  ac_cv_lib_dl_dlopen=yes
10115else
10116  ac_cv_lib_dl_dlopen=no
10117fi
10118rm -f core conftest.err conftest.$ac_objext \
10119    conftest$ac_exeext conftest.$ac_ext
10120LIBS=$ac_check_lib_save_LIBS
10121fi
10122{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10123$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10124if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10125  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10126else
10127
10128    lt_cv_dlopen="dyld"
10129    lt_cv_dlopen_libs=
10130    lt_cv_dlopen_self=yes
10131
10132fi
10133
10134    ;;
10135
10136  *)
10137    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10138if test "x$ac_cv_func_shl_load" = x""yes; then :
10139  lt_cv_dlopen="shl_load"
10140else
10141  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10142$as_echo_n "checking for shl_load in -ldld... " >&6; }
10143if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10144  $as_echo_n "(cached) " >&6
10145else
10146  ac_check_lib_save_LIBS=$LIBS
10147LIBS="-ldld  $LIBS"
10148cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10149/* end confdefs.h.  */
10150
10151/* Override any GCC internal prototype to avoid an error.
10152   Use char because int might match the return type of a GCC
10153   builtin and then its argument prototype would still apply.  */
10154#ifdef __cplusplus
10155extern "C"
10156#endif
10157char shl_load ();
10158int
10159main ()
10160{
10161return shl_load ();
10162  ;
10163  return 0;
10164}
10165_ACEOF
10166if ac_fn_c_try_link "$LINENO"; then :
10167  ac_cv_lib_dld_shl_load=yes
10168else
10169  ac_cv_lib_dld_shl_load=no
10170fi
10171rm -f core conftest.err conftest.$ac_objext \
10172    conftest$ac_exeext conftest.$ac_ext
10173LIBS=$ac_check_lib_save_LIBS
10174fi
10175{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10176$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10177if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
10178  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10179else
10180  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10181if test "x$ac_cv_func_dlopen" = x""yes; then :
10182  lt_cv_dlopen="dlopen"
10183else
10184  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10185$as_echo_n "checking for dlopen in -ldl... " >&6; }
10186if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10187  $as_echo_n "(cached) " >&6
10188else
10189  ac_check_lib_save_LIBS=$LIBS
10190LIBS="-ldl  $LIBS"
10191cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10192/* end confdefs.h.  */
10193
10194/* Override any GCC internal prototype to avoid an error.
10195   Use char because int might match the return type of a GCC
10196   builtin and then its argument prototype would still apply.  */
10197#ifdef __cplusplus
10198extern "C"
10199#endif
10200char dlopen ();
10201int
10202main ()
10203{
10204return dlopen ();
10205  ;
10206  return 0;
10207}
10208_ACEOF
10209if ac_fn_c_try_link "$LINENO"; then :
10210  ac_cv_lib_dl_dlopen=yes
10211else
10212  ac_cv_lib_dl_dlopen=no
10213fi
10214rm -f core conftest.err conftest.$ac_objext \
10215    conftest$ac_exeext conftest.$ac_ext
10216LIBS=$ac_check_lib_save_LIBS
10217fi
10218{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10219$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10220if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10221  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10222else
10223  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10224$as_echo_n "checking for dlopen in -lsvld... " >&6; }
10225if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10226  $as_echo_n "(cached) " >&6
10227else
10228  ac_check_lib_save_LIBS=$LIBS
10229LIBS="-lsvld  $LIBS"
10230cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10231/* end confdefs.h.  */
10232
10233/* Override any GCC internal prototype to avoid an error.
10234   Use char because int might match the return type of a GCC
10235   builtin and then its argument prototype would still apply.  */
10236#ifdef __cplusplus
10237extern "C"
10238#endif
10239char dlopen ();
10240int
10241main ()
10242{
10243return dlopen ();
10244  ;
10245  return 0;
10246}
10247_ACEOF
10248if ac_fn_c_try_link "$LINENO"; then :
10249  ac_cv_lib_svld_dlopen=yes
10250else
10251  ac_cv_lib_svld_dlopen=no
10252fi
10253rm -f core conftest.err conftest.$ac_objext \
10254    conftest$ac_exeext conftest.$ac_ext
10255LIBS=$ac_check_lib_save_LIBS
10256fi
10257{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10258$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10259if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
10260  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10261else
10262  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10263$as_echo_n "checking for dld_link in -ldld... " >&6; }
10264if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10265  $as_echo_n "(cached) " >&6
10266else
10267  ac_check_lib_save_LIBS=$LIBS
10268LIBS="-ldld  $LIBS"
10269cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10270/* end confdefs.h.  */
10271
10272/* Override any GCC internal prototype to avoid an error.
10273   Use char because int might match the return type of a GCC
10274   builtin and then its argument prototype would still apply.  */
10275#ifdef __cplusplus
10276extern "C"
10277#endif
10278char dld_link ();
10279int
10280main ()
10281{
10282return dld_link ();
10283  ;
10284  return 0;
10285}
10286_ACEOF
10287if ac_fn_c_try_link "$LINENO"; then :
10288  ac_cv_lib_dld_dld_link=yes
10289else
10290  ac_cv_lib_dld_dld_link=no
10291fi
10292rm -f core conftest.err conftest.$ac_objext \
10293    conftest$ac_exeext conftest.$ac_ext
10294LIBS=$ac_check_lib_save_LIBS
10295fi
10296{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10297$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10298if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
10299  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10300fi
10301
10302
10303fi
10304
10305
10306fi
10307
10308
10309fi
10310
10311
10312fi
10313
10314
10315fi
10316
10317    ;;
10318  esac
10319
10320  if test "x$lt_cv_dlopen" != xno; then
10321    enable_dlopen=yes
10322  else
10323    enable_dlopen=no
10324  fi
10325
10326  case $lt_cv_dlopen in
10327  dlopen)
10328    save_CPPFLAGS="$CPPFLAGS"
10329    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10330
10331    save_LDFLAGS="$LDFLAGS"
10332    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10333
10334    save_LIBS="$LIBS"
10335    LIBS="$lt_cv_dlopen_libs $LIBS"
10336
10337    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10338$as_echo_n "checking whether a program can dlopen itself... " >&6; }
10339if test "${lt_cv_dlopen_self+set}" = set; then :
10340  $as_echo_n "(cached) " >&6
10341else
10342  	  if test "$cross_compiling" = yes; then :
10343  lt_cv_dlopen_self=cross
10344else
10345  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10346  lt_status=$lt_dlunknown
10347  cat > conftest.$ac_ext <<_LT_EOF
10348#line 10348 "configure"
10349#include "confdefs.h"
10350
10351#if HAVE_DLFCN_H
10352#include <dlfcn.h>
10353#endif
10354
10355#include <stdio.h>
10356
10357#ifdef RTLD_GLOBAL
10358#  define LT_DLGLOBAL		RTLD_GLOBAL
10359#else
10360#  ifdef DL_GLOBAL
10361#    define LT_DLGLOBAL		DL_GLOBAL
10362#  else
10363#    define LT_DLGLOBAL		0
10364#  endif
10365#endif
10366
10367/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10368   find out it does not work in some platform. */
10369#ifndef LT_DLLAZY_OR_NOW
10370#  ifdef RTLD_LAZY
10371#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
10372#  else
10373#    ifdef DL_LAZY
10374#      define LT_DLLAZY_OR_NOW		DL_LAZY
10375#    else
10376#      ifdef RTLD_NOW
10377#        define LT_DLLAZY_OR_NOW	RTLD_NOW
10378#      else
10379#        ifdef DL_NOW
10380#          define LT_DLLAZY_OR_NOW	DL_NOW
10381#        else
10382#          define LT_DLLAZY_OR_NOW	0
10383#        endif
10384#      endif
10385#    endif
10386#  endif
10387#endif
10388
10389void fnord() { int i=42;}
10390int main ()
10391{
10392  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10393  int status = $lt_dlunknown;
10394
10395  if (self)
10396    {
10397      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10398      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10399      /* dlclose (self); */
10400    }
10401  else
10402    puts (dlerror ());
10403
10404  return status;
10405}
10406_LT_EOF
10407  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10408  (eval $ac_link) 2>&5
10409  ac_status=$?
10410  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10411  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10412    (./conftest; exit; ) >&5 2>/dev/null
10413    lt_status=$?
10414    case x$lt_status in
10415      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10416      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10417      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10418    esac
10419  else :
10420    # compilation failed
10421    lt_cv_dlopen_self=no
10422  fi
10423fi
10424rm -fr conftest*
10425
10426
10427fi
10428{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10429$as_echo "$lt_cv_dlopen_self" >&6; }
10430
10431    if test "x$lt_cv_dlopen_self" = xyes; then
10432      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10433      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10434$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10435if test "${lt_cv_dlopen_self_static+set}" = set; then :
10436  $as_echo_n "(cached) " >&6
10437else
10438  	  if test "$cross_compiling" = yes; then :
10439  lt_cv_dlopen_self_static=cross
10440else
10441  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10442  lt_status=$lt_dlunknown
10443  cat > conftest.$ac_ext <<_LT_EOF
10444#line 10444 "configure"
10445#include "confdefs.h"
10446
10447#if HAVE_DLFCN_H
10448#include <dlfcn.h>
10449#endif
10450
10451#include <stdio.h>
10452
10453#ifdef RTLD_GLOBAL
10454#  define LT_DLGLOBAL		RTLD_GLOBAL
10455#else
10456#  ifdef DL_GLOBAL
10457#    define LT_DLGLOBAL		DL_GLOBAL
10458#  else
10459#    define LT_DLGLOBAL		0
10460#  endif
10461#endif
10462
10463/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10464   find out it does not work in some platform. */
10465#ifndef LT_DLLAZY_OR_NOW
10466#  ifdef RTLD_LAZY
10467#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
10468#  else
10469#    ifdef DL_LAZY
10470#      define LT_DLLAZY_OR_NOW		DL_LAZY
10471#    else
10472#      ifdef RTLD_NOW
10473#        define LT_DLLAZY_OR_NOW	RTLD_NOW
10474#      else
10475#        ifdef DL_NOW
10476#          define LT_DLLAZY_OR_NOW	DL_NOW
10477#        else
10478#          define LT_DLLAZY_OR_NOW	0
10479#        endif
10480#      endif
10481#    endif
10482#  endif
10483#endif
10484
10485void fnord() { int i=42;}
10486int main ()
10487{
10488  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10489  int status = $lt_dlunknown;
10490
10491  if (self)
10492    {
10493      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10494      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10495      /* dlclose (self); */
10496    }
10497  else
10498    puts (dlerror ());
10499
10500  return status;
10501}
10502_LT_EOF
10503  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10504  (eval $ac_link) 2>&5
10505  ac_status=$?
10506  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10507  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10508    (./conftest; exit; ) >&5 2>/dev/null
10509    lt_status=$?
10510    case x$lt_status in
10511      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10512      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10513      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10514    esac
10515  else :
10516    # compilation failed
10517    lt_cv_dlopen_self_static=no
10518  fi
10519fi
10520rm -fr conftest*
10521
10522
10523fi
10524{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10525$as_echo "$lt_cv_dlopen_self_static" >&6; }
10526    fi
10527
10528    CPPFLAGS="$save_CPPFLAGS"
10529    LDFLAGS="$save_LDFLAGS"
10530    LIBS="$save_LIBS"
10531    ;;
10532  esac
10533
10534  case $lt_cv_dlopen_self in
10535  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10536  *) enable_dlopen_self=unknown ;;
10537  esac
10538
10539  case $lt_cv_dlopen_self_static in
10540  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10541  *) enable_dlopen_self_static=unknown ;;
10542  esac
10543fi
10544
10545
10546
10547
10548
10549
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561striplib=
10562old_striplib=
10563{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10564$as_echo_n "checking whether stripping libraries is possible... " >&6; }
10565if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10566  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10567  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10568  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10569$as_echo "yes" >&6; }
10570else
10571# FIXME - insert some real tests, host_os isn't really good enough
10572  case $host_os in
10573  darwin*)
10574    if test -n "$STRIP" ; then
10575      striplib="$STRIP -x"
10576      old_striplib="$STRIP -S"
10577      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10578$as_echo "yes" >&6; }
10579    else
10580      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10581$as_echo "no" >&6; }
10582    fi
10583    ;;
10584  *)
10585    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10586$as_echo "no" >&6; }
10587    ;;
10588  esac
10589fi
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602  # Report which library types will actually be built
10603  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
10604$as_echo_n "checking if libtool supports shared libraries... " >&6; }
10605  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
10606$as_echo "$can_build_shared" >&6; }
10607
10608  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
10609$as_echo_n "checking whether to build shared libraries... " >&6; }
10610  test "$can_build_shared" = "no" && enable_shared=no
10611
10612  # On AIX, shared libraries and static libraries use the same namespace, and
10613  # are all built from PIC.
10614  case $host_os in
10615  aix3*)
10616    test "$enable_shared" = yes && enable_static=no
10617    if test -n "$RANLIB"; then
10618      archive_cmds="$archive_cmds~\$RANLIB \$lib"
10619      postinstall_cmds='$RANLIB $lib'
10620    fi
10621    ;;
10622
10623  aix[4-9]*)
10624    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10625      test "$enable_shared" = yes && enable_static=no
10626    fi
10627    ;;
10628  esac
10629  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
10630$as_echo "$enable_shared" >&6; }
10631
10632  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
10633$as_echo_n "checking whether to build static libraries... " >&6; }
10634  # Make sure either enable_shared or enable_static is yes.
10635  test "$enable_shared" = yes || enable_static=yes
10636  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
10637$as_echo "$enable_static" >&6; }
10638
10639
10640
10641
10642fi
10643ac_ext=c
10644ac_cpp='$CPP $CPPFLAGS'
10645ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10646ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10647ac_compiler_gnu=$ac_cv_c_compiler_gnu
10648
10649CC="$lt_save_CC"
10650
10651
10652
10653
10654
10655
10656
10657
10658
10659
10660
10661
10662
10663        ac_config_commands="$ac_config_commands libtool"
10664
10665
10666
10667
10668# Only expand once:
10669
10670
10671enable_dlopen=yes
10672
10673
10674
10675
10676
10677# CFLAGS Can go away with its annoying default -g -O2
10678CFLAGS=''
10679
10680
10681# Pull in the platform specific build/configure environment options.
10682extra_incl=
10683case "$host" in
10684    *-openbsd*)
10685
10686$as_echo "#define C_BSD 1" >>confdefs.h
10687
10688        LDFLAGS="${LDFLAGS} -L/usr/local/lib -luuid"
10689        extra_incl="-I/usr/local/include"
10690        CPPFLAGS="${CPPFLAGS} -I/usr/local/include"
10691        platform="openbsd"
10692    ;;
10693    *-linux*)
10694
10695$as_echo "#define C_LINUX 1" >>confdefs.h
10696
10697        CDEFINE="-D_GNU_SOURCE"
10698        CPPFLAGS="${CPPFLAGS} -D_GNU_SOURCE"
10699        platform="linux"
10700    ;;
10701    *-freebsd*)
10702
10703$as_echo "#define C_BSD 1" >>confdefs.h
10704
10705        LDFLAGS="${LDFLAGS} -L/usr/local/lib -luuid"
10706        extra_incl="-I/usr/local/include"
10707        CPPFLAGS="${CPPFLAGS} -I/usr/local/include"
10708        platform="freebsd"
10709    ;;
10710    *-apple*)
10711
10712$as_echo "#define BROKEN_SIOCGIFMTU /**/" >>confdefs.h
10713
10714
10715$as_echo "#define C_BSD 1" >>confdefs.h
10716
10717        e2fs_uuid=yes
10718        if test -d "/sw"; then
10719            LDFLAGS="${LDFLAGS} -L/sw/lib"
10720            extra_incl="-I/sw/include"
10721	    CPPFLAGS="${CPPFLAGS} -I/sw/include"
10722        fi
10723        if test -d "/opt/local"; then
10724            LDFLAGS="${LDFLAGS} -L/opt/local/lib"
10725            extra_incl="-I/opt/local/include"
10726	    CPPFLAGS="${CPPFLAGS} -I/opt/local/include"
10727        fi
10728        LIBTOOL=glibtool
10729        LIBTOOLIZE=glibtoolize
10730        CDEFINE="-Ds6_addr32=__u6_addr.__u6_addr32"
10731        platform="apple"
10732esac
10733
10734 if test x$platform = xlinux; then
10735  PLATFORM_LINUX_TRUE=
10736  PLATFORM_LINUX_FALSE='#'
10737else
10738  PLATFORM_LINUX_TRUE='#'
10739  PLATFORM_LINUX_FALSE=
10740fi
10741
10742 if test x$platform = xfreebsd; then
10743  PLATFORM_FREEBSD_TRUE=
10744  PLATFORM_FREEBSD_FALSE='#'
10745else
10746  PLATFORM_FREEBSD_TRUE='#'
10747  PLATFORM_FREEBSD_FALSE=
10748fi
10749
10750
10751
10752# Pull in the standard options for all components
10753# Check whether --enable-debug was given.
10754if test "${enable_debug+set}" = set; then :
10755  enableval=$enable_debug; enable_debug=$enableval
10756else
10757  enable_debug="no"
10758fi
10759
10760if test "x$enable_debug" = "xyes"; then
10761
10762$as_echo "#define DEBUG 1" >>confdefs.h
10763
10764fi
10765# Check whether --enable-assert was given.
10766if test "${enable_assert+set}" = set; then :
10767  enableval=$enable_assert; enable_assert=$enableval
10768else
10769  enable_assert="no"
10770fi
10771
10772if test "x$enable_assert" = "xyes"; then
10773
10774$as_echo "#define ENABLE_ASSERT 1" >>confdefs.h
10775
10776fi
10777
10778# Check whether --enable-unimplemented was given.
10779if test "${enable_unimplemented+set}" = set; then :
10780  enableval=$enable_unimplemented; enable_unimplemented=$enableval
10781else
10782  enable_unimplemented="no"
10783fi
10784
10785if test "x$enable_unimplemented" = "xyes"; then
10786
10787$as_echo "#define ENABLE_UNIMPLEMENTED_ASSERT 1" >>confdefs.h
10788
10789fi
10790
10791
10792INLINE=''
10793# Check whether --enable-inline was given.
10794if test "${enable_inline+set}" = set; then :
10795  enableval=$enable_inline; enable_inline=$enableval
10796else
10797  enable_inline="yes"
10798fi
10799
10800if test "x$enable_inline" = "xyes"; then
10801    INLINE="inline"
10802fi
10803
10804cat >>confdefs.h <<_ACEOF
10805#define INLINE $INLINE
10806_ACEOF
10807
10808
10809# Check whether --enable-perf was given.
10810if test "${enable_perf+set}" = set; then :
10811  enableval=$enable_perf; enable_perf=$enableval
10812else
10813  enable_perf="yes"
10814fi
10815
10816if test "x$enable_perf" = "xyes"; then
10817
10818$as_echo "#define RZB_PERF 1" >>confdefs.h
10819
10820fi
10821
10822# Check whether --enable-profile was given.
10823if test "${enable_profile+set}" = set; then :
10824  enableval=$enable_profile; enable_profile=$enableval
10825else
10826  enable_profile="no"
10827fi
10828
10829if test "x$enable_profile" = "xyes"; then
10830
10831$as_echo "#define PROFILE 1" >>confdefs.h
10832
10833    PROFILE_LDFLAGS="-XCClinker -pg"
10834fi
10835
10836
10837
10838
10839# Check whether --with-with_api was given.
10840if test "${with_with_api+set}" = set; then :
10841  withval=$with_with_api; with_api=$withval
10842fi
10843
10844
10845# Check whether --enable-master-nugget-check was given.
10846if test "${enable_master_nugget_check+set}" = set; then :
10847  enableval=$enable_master_nugget_check; enable_master_nugget_check=$enableval
10848else
10849  enable_master_nugget_check="yes"
10850fi
10851
10852
10853
10854
10855# Pull in the library requirements for a simple .so loadable nugget.
10856# Setup the sysconfdir for all consumers.
10857
10858
10859
10860
10861## Expand ${prefix} in sysconfdir if its the default value.
10862
10863
10864  EXP_VAR=SYSCONFDIR
10865  FROM_VAR="$sysconfdir/razorback"
10866
10867    prefix_save=$prefix
10868  exec_prefix_save=$exec_prefix
10869
10870    if test "x$prefix" = "xNONE"; then
10871    prefix=$ac_default_prefix
10872  fi
10873    if test "x$exec_prefix" = "xNONE"; then
10874    exec_prefix=$prefix
10875  fi
10876
10877  full_var="$FROM_VAR"
10878    while true; do
10879    new_full_var="`eval echo $full_var`"
10880    if test "x$new_full_var"="x$full_var"; then break; fi
10881    full_var=$new_full_var
10882  done
10883
10884    full_var=$new_full_var
10885  SYSCONFDIR="$full_var"
10886
10887
10888    prefix=$prefix_save
10889  exec_prefix=$exec_prefix_save
10890
10891sysconfdir=$SYSCONFDIR
10892
10893
10894  EXP_VAR=LIBEXECDIR
10895  FROM_VAR="$libexecdir/razorback/$PACKAGE_NAME"
10896
10897    prefix_save=$prefix
10898  exec_prefix_save=$exec_prefix
10899
10900    if test "x$prefix" = "xNONE"; then
10901    prefix=$ac_default_prefix
10902  fi
10903    if test "x$exec_prefix" = "xNONE"; then
10904    exec_prefix=$prefix
10905  fi
10906
10907  full_var="$FROM_VAR"
10908    while true; do
10909    new_full_var="`eval echo $full_var`"
10910    if test "x$new_full_var"="x$full_var"; then break; fi
10911    full_var=$new_full_var
10912  done
10913
10914    full_var=$new_full_var
10915  LIBEXECDIR="$full_var"
10916
10917
10918    prefix=$prefix_save
10919  exec_prefix=$exec_prefix_save
10920
10921libexecdir=$LIBEXECDIR
10922
10923
10924cat >>confdefs.h <<_ACEOF
10925#define ETC_DIR "$SYSCONFDIR"
10926_ACEOF
10927
10928
10929
10930cat >>confdefs.h <<_ACEOF
10931#define DEFAULT_CONFIG_FILE "$SYSCONFDIR/rzb.conf"
10932_ACEOF
10933
10934
10935
10936{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for timer_create in -lrt" >&5
10937$as_echo_n "checking for timer_create in -lrt... " >&6; }
10938if test "${ac_cv_lib_rt_timer_create+set}" = set; then :
10939  $as_echo_n "(cached) " >&6
10940else
10941  ac_check_lib_save_LIBS=$LIBS
10942LIBS="-lrt  $LIBS"
10943cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10944/* end confdefs.h.  */
10945
10946/* Override any GCC internal prototype to avoid an error.
10947   Use char because int might match the return type of a GCC
10948   builtin and then its argument prototype would still apply.  */
10949#ifdef __cplusplus
10950extern "C"
10951#endif
10952char timer_create ();
10953int
10954main ()
10955{
10956return timer_create ();
10957  ;
10958  return 0;
10959}
10960_ACEOF
10961if ac_fn_c_try_link "$LINENO"; then :
10962  ac_cv_lib_rt_timer_create=yes
10963else
10964  ac_cv_lib_rt_timer_create=no
10965fi
10966rm -f core conftest.err conftest.$ac_objext \
10967    conftest$ac_exeext conftest.$ac_ext
10968LIBS=$ac_check_lib_save_LIBS
10969fi
10970{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_timer_create" >&5
10971$as_echo "$ac_cv_lib_rt_timer_create" >&6; }
10972if test "x$ac_cv_lib_rt_timer_create" = x""yes; then :
10973  cat >>confdefs.h <<_ACEOF
10974#define HAVE_LIBRT 1
10975_ACEOF
10976
10977  LIBS="-lrt $LIBS"
10978
10979fi
10980
10981{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor in -lm" >&5
10982$as_echo_n "checking for floor in -lm... " >&6; }
10983if test "${ac_cv_lib_m_floor+set}" = set; then :
10984  $as_echo_n "(cached) " >&6
10985else
10986  ac_check_lib_save_LIBS=$LIBS
10987LIBS="-lm  $LIBS"
10988cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10989/* end confdefs.h.  */
10990
10991/* Override any GCC internal prototype to avoid an error.
10992   Use char because int might match the return type of a GCC
10993   builtin and then its argument prototype would still apply.  */
10994#ifdef __cplusplus
10995extern "C"
10996#endif
10997char floor ();
10998int
10999main ()
11000{
11001return floor ();
11002  ;
11003  return 0;
11004}
11005_ACEOF
11006if ac_fn_c_try_link "$LINENO"; then :
11007  ac_cv_lib_m_floor=yes
11008else
11009  ac_cv_lib_m_floor=no
11010fi
11011rm -f core conftest.err conftest.$ac_objext \
11012    conftest$ac_exeext conftest.$ac_ext
11013LIBS=$ac_check_lib_save_LIBS
11014fi
11015{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floor" >&5
11016$as_echo "$ac_cv_lib_m_floor" >&6; }
11017if test "x$ac_cv_lib_m_floor" = x""yes; then :
11018  cat >>confdefs.h <<_ACEOF
11019#define HAVE_LIBM 1
11020_ACEOF
11021
11022  LIBS="-lm $LIBS"
11023
11024fi
11025
11026{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
11027$as_echo_n "checking for pthread_create in -lpthread... " >&6; }
11028if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then :
11029  $as_echo_n "(cached) " >&6
11030else
11031  ac_check_lib_save_LIBS=$LIBS
11032LIBS="-lpthread  $LIBS"
11033cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11034/* end confdefs.h.  */
11035
11036/* Override any GCC internal prototype to avoid an error.
11037   Use char because int might match the return type of a GCC
11038   builtin and then its argument prototype would still apply.  */
11039#ifdef __cplusplus
11040extern "C"
11041#endif
11042char pthread_create ();
11043int
11044main ()
11045{
11046return pthread_create ();
11047  ;
11048  return 0;
11049}
11050_ACEOF
11051if ac_fn_c_try_link "$LINENO"; then :
11052  ac_cv_lib_pthread_pthread_create=yes
11053else
11054  ac_cv_lib_pthread_pthread_create=no
11055fi
11056rm -f core conftest.err conftest.$ac_objext \
11057    conftest$ac_exeext conftest.$ac_ext
11058LIBS=$ac_check_lib_save_LIBS
11059fi
11060{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
11061$as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
11062if test "x$ac_cv_lib_pthread_pthread_create" = x""yes; then :
11063  cat >>confdefs.h <<_ACEOF
11064#define HAVE_LIBPTHREAD 1
11065_ACEOF
11066
11067  LIBS="-lpthread $LIBS"
11068
11069fi
11070
11071{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_DigestInit in -lcrypto" >&5
11072$as_echo_n "checking for EVP_DigestInit in -lcrypto... " >&6; }
11073if test "${ac_cv_lib_crypto_EVP_DigestInit+set}" = set; then :
11074  $as_echo_n "(cached) " >&6
11075else
11076  ac_check_lib_save_LIBS=$LIBS
11077LIBS="-lcrypto  $LIBS"
11078cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11079/* end confdefs.h.  */
11080
11081/* Override any GCC internal prototype to avoid an error.
11082   Use char because int might match the return type of a GCC
11083   builtin and then its argument prototype would still apply.  */
11084#ifdef __cplusplus
11085extern "C"
11086#endif
11087char EVP_DigestInit ();
11088int
11089main ()
11090{
11091return EVP_DigestInit ();
11092  ;
11093  return 0;
11094}
11095_ACEOF
11096if ac_fn_c_try_link "$LINENO"; then :
11097  ac_cv_lib_crypto_EVP_DigestInit=yes
11098else
11099  ac_cv_lib_crypto_EVP_DigestInit=no
11100fi
11101rm -f core conftest.err conftest.$ac_objext \
11102    conftest$ac_exeext conftest.$ac_ext
11103LIBS=$ac_check_lib_save_LIBS
11104fi
11105{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_DigestInit" >&5
11106$as_echo "$ac_cv_lib_crypto_EVP_DigestInit" >&6; }
11107if test "x$ac_cv_lib_crypto_EVP_DigestInit" = x""yes; then :
11108  cat >>confdefs.h <<_ACEOF
11109#define HAVE_LIBCRYPTO 1
11110_ACEOF
11111
11112  LIBS="-lcrypto $LIBS"
11113
11114fi
11115
11116{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_write in -lssl" >&5
11117$as_echo_n "checking for SSL_write in -lssl... " >&6; }
11118if test "${ac_cv_lib_ssl_SSL_write+set}" = set; then :
11119  $as_echo_n "(cached) " >&6
11120else
11121  ac_check_lib_save_LIBS=$LIBS
11122LIBS="-lssl  $LIBS"
11123cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11124/* end confdefs.h.  */
11125
11126/* Override any GCC internal prototype to avoid an error.
11127   Use char because int might match the return type of a GCC
11128   builtin and then its argument prototype would still apply.  */
11129#ifdef __cplusplus
11130extern "C"
11131#endif
11132char SSL_write ();
11133int
11134main ()
11135{
11136return SSL_write ();
11137  ;
11138  return 0;
11139}
11140_ACEOF
11141if ac_fn_c_try_link "$LINENO"; then :
11142  ac_cv_lib_ssl_SSL_write=yes
11143else
11144  ac_cv_lib_ssl_SSL_write=no
11145fi
11146rm -f core conftest.err conftest.$ac_objext \
11147    conftest$ac_exeext conftest.$ac_ext
11148LIBS=$ac_check_lib_save_LIBS
11149fi
11150{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_write" >&5
11151$as_echo "$ac_cv_lib_ssl_SSL_write" >&6; }
11152if test "x$ac_cv_lib_ssl_SSL_write" = x""yes; then :
11153  cat >>confdefs.h <<_ACEOF
11154#define HAVE_LIBSSL 1
11155_ACEOF
11156
11157  LIBS="-lssl $LIBS"
11158
11159fi
11160
11161{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for magic_open in -lmagic" >&5
11162$as_echo_n "checking for magic_open in -lmagic... " >&6; }
11163if test "${ac_cv_lib_magic_magic_open+set}" = set; then :
11164  $as_echo_n "(cached) " >&6
11165else
11166  ac_check_lib_save_LIBS=$LIBS
11167LIBS="-lmagic  $LIBS"
11168cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11169/* end confdefs.h.  */
11170
11171/* Override any GCC internal prototype to avoid an error.
11172   Use char because int might match the return type of a GCC
11173   builtin and then its argument prototype would still apply.  */
11174#ifdef __cplusplus
11175extern "C"
11176#endif
11177char magic_open ();
11178int
11179main ()
11180{
11181return magic_open ();
11182  ;
11183  return 0;
11184}
11185_ACEOF
11186if ac_fn_c_try_link "$LINENO"; then :
11187  ac_cv_lib_magic_magic_open=yes
11188else
11189  ac_cv_lib_magic_magic_open=no
11190fi
11191rm -f core conftest.err conftest.$ac_objext \
11192    conftest$ac_exeext conftest.$ac_ext
11193LIBS=$ac_check_lib_save_LIBS
11194fi
11195{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_magic_magic_open" >&5
11196$as_echo "$ac_cv_lib_magic_magic_open" >&6; }
11197if test "x$ac_cv_lib_magic_magic_open" = x""yes; then :
11198  cat >>confdefs.h <<_ACEOF
11199#define HAVE_LIBMAGIC 1
11200_ACEOF
11201
11202  LIBS="-lmagic $LIBS"
11203
11204fi
11205
11206{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11207$as_echo_n "checking for dlopen in -ldl... " >&6; }
11208if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11209  $as_echo_n "(cached) " >&6
11210else
11211  ac_check_lib_save_LIBS=$LIBS
11212LIBS="-ldl  $LIBS"
11213cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11214/* end confdefs.h.  */
11215
11216/* Override any GCC internal prototype to avoid an error.
11217   Use char because int might match the return type of a GCC
11218   builtin and then its argument prototype would still apply.  */
11219#ifdef __cplusplus
11220extern "C"
11221#endif
11222char dlopen ();
11223int
11224main ()
11225{
11226return dlopen ();
11227  ;
11228  return 0;
11229}
11230_ACEOF
11231if ac_fn_c_try_link "$LINENO"; then :
11232  ac_cv_lib_dl_dlopen=yes
11233else
11234  ac_cv_lib_dl_dlopen=no
11235fi
11236rm -f core conftest.err conftest.$ac_objext \
11237    conftest$ac_exeext conftest.$ac_ext
11238LIBS=$ac_check_lib_save_LIBS
11239fi
11240{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11241$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11242if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11243  cat >>confdefs.h <<_ACEOF
11244#define HAVE_LIBDL 1
11245_ACEOF
11246
11247  LIBS="-ldl $LIBS"
11248
11249fi
11250
11251{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcre_compile in -lpcre" >&5
11252$as_echo_n "checking for pcre_compile in -lpcre... " >&6; }
11253if test "${ac_cv_lib_pcre_pcre_compile+set}" = set; then :
11254  $as_echo_n "(cached) " >&6
11255else
11256  ac_check_lib_save_LIBS=$LIBS
11257LIBS="-lpcre  $LIBS"
11258cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11259/* end confdefs.h.  */
11260
11261/* Override any GCC internal prototype to avoid an error.
11262   Use char because int might match the return type of a GCC
11263   builtin and then its argument prototype would still apply.  */
11264#ifdef __cplusplus
11265extern "C"
11266#endif
11267char pcre_compile ();
11268int
11269main ()
11270{
11271return pcre_compile ();
11272  ;
11273  return 0;
11274}
11275_ACEOF
11276if ac_fn_c_try_link "$LINENO"; then :
11277  ac_cv_lib_pcre_pcre_compile=yes
11278else
11279  ac_cv_lib_pcre_pcre_compile=no
11280fi
11281rm -f core conftest.err conftest.$ac_objext \
11282    conftest$ac_exeext conftest.$ac_ext
11283LIBS=$ac_check_lib_save_LIBS
11284fi
11285{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcre_pcre_compile" >&5
11286$as_echo "$ac_cv_lib_pcre_pcre_compile" >&6; }
11287if test "x$ac_cv_lib_pcre_pcre_compile" = x""yes; then :
11288  cat >>confdefs.h <<_ACEOF
11289#define HAVE_LIBPCRE 1
11290_ACEOF
11291
11292  LIBS="-lpcre $LIBS"
11293
11294fi
11295
11296
11297{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_copy in -luuid" >&5
11298$as_echo_n "checking for uuid_copy in -luuid... " >&6; }
11299if test "${ac_cv_lib_uuid_uuid_copy+set}" = set; then :
11300  $as_echo_n "(cached) " >&6
11301else
11302  ac_check_lib_save_LIBS=$LIBS
11303LIBS="-luuid  $LIBS"
11304cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11305/* end confdefs.h.  */
11306
11307/* Override any GCC internal prototype to avoid an error.
11308   Use char because int might match the return type of a GCC
11309   builtin and then its argument prototype would still apply.  */
11310#ifdef __cplusplus
11311extern "C"
11312#endif
11313char uuid_copy ();
11314int
11315main ()
11316{
11317return uuid_copy ();
11318  ;
11319  return 0;
11320}
11321_ACEOF
11322if ac_fn_c_try_link "$LINENO"; then :
11323  ac_cv_lib_uuid_uuid_copy=yes
11324else
11325  ac_cv_lib_uuid_uuid_copy=no
11326fi
11327rm -f core conftest.err conftest.$ac_objext \
11328    conftest$ac_exeext conftest.$ac_ext
11329LIBS=$ac_check_lib_save_LIBS
11330fi
11331{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_copy" >&5
11332$as_echo "$ac_cv_lib_uuid_uuid_copy" >&6; }
11333if test "x$ac_cv_lib_uuid_uuid_copy" = x""yes; then :
11334  cat >>confdefs.h <<_ACEOF
11335#define HAVE_LIBUUID 1
11336_ACEOF
11337
11338  LIBS="-luuid $LIBS"
11339
11340else
11341  UUID="no"
11342fi
11343
11344if test "x$UUID" = "xno"; then :
11345  as_fn_error $? "\"uuid library not found\"" "$LINENO" 5
11346
11347fi
11348
11349#AC_CHECK_LIB([curl], [curl_easy_perform], [
11350#    CURL_CFLAGS=`curl-config --cflags`
11351#    CURL_LIBS=`curl-config --libs`
11352#    CFLAGS="$CFLAGS $CURL_CFLAGS"
11353#    LIBS="$CURL_LIBS $LIBS"
11354#], [CURL="no"])
11355#AS_IF([test "x$CURL" = "xno"],
11356#          [AC_MSG_ERROR("curl library not found")]
11357#     )
11358
11359for ac_header in uuid/uuid.h
11360do :
11361  ac_fn_c_check_header_mongrel "$LINENO" "uuid/uuid.h" "ac_cv_header_uuid_uuid_h" "$ac_includes_default"
11362if test "x$ac_cv_header_uuid_uuid_h" = x""yes; then :
11363  cat >>confdefs.h <<_ACEOF
11364#define HAVE_UUID_UUID_H 1
11365_ACEOF
11366
11367else
11368  UUID_HEADER="no"
11369fi
11370
11371done
11372
11373if test "x$UUID_HEADER" = "xno"; then :
11374  as_fn_error $? "\"uuid header file not found\"" "$LINENO" 5
11375
11376fi
11377
11378for ac_header in openssl/evp.h
11379do :
11380  ac_fn_c_check_header_mongrel "$LINENO" "openssl/evp.h" "ac_cv_header_openssl_evp_h" "$ac_includes_default"
11381if test "x$ac_cv_header_openssl_evp_h" = x""yes; then :
11382  cat >>confdefs.h <<_ACEOF
11383#define HAVE_OPENSSL_EVP_H 1
11384_ACEOF
11385
11386else
11387  OPENSSL_HEADER="no"
11388fi
11389
11390done
11391
11392if test "x$OPENSSL_HEADER" = "xno"; then :
11393  as_fn_error $? "\"openssl header file not found\"" "$LINENO" 5
11394
11395fi
11396
11397#AC_CHECK_HEADERS([magic.h], [], [MAGIC_HEADER="no"])
11398#AS_IF([test "x$MAGIC_HEADER" = "xno"],
11399#          [AC_MSG_ERROR("magic header file not found")]
11400#     )
11401
11402#AC_CHECK_HEADERS([pcre.h], [], [PCRE_HEADER="no"])
11403#AS_IF([test "x$PCRE_HEADER" = "xno"],
11404#          [AC_MSG_ERROR("pcre header file not found")]
11405#     )
11406
11407
11408
11409
11410
11411
11412
11413if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11414	if test -n "$ac_tool_prefix"; then
11415  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11416set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11417{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11418$as_echo_n "checking for $ac_word... " >&6; }
11419if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
11420  $as_echo_n "(cached) " >&6
11421else
11422  case $PKG_CONFIG in
11423  [\\/]* | ?:[\\/]*)
11424  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11425  ;;
11426  *)
11427  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11428for as_dir in $PATH
11429do
11430  IFS=$as_save_IFS
11431  test -z "$as_dir" && as_dir=.
11432    for ac_exec_ext in '' $ac_executable_extensions; do
11433  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11434    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11435    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11436    break 2
11437  fi
11438done
11439  done
11440IFS=$as_save_IFS
11441
11442  ;;
11443esac
11444fi
11445PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11446if test -n "$PKG_CONFIG"; then
11447  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11448$as_echo "$PKG_CONFIG" >&6; }
11449else
11450  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11451$as_echo "no" >&6; }
11452fi
11453
11454
11455fi
11456if test -z "$ac_cv_path_PKG_CONFIG"; then
11457  ac_pt_PKG_CONFIG=$PKG_CONFIG
11458  # Extract the first word of "pkg-config", so it can be a program name with args.
11459set dummy pkg-config; ac_word=$2
11460{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11461$as_echo_n "checking for $ac_word... " >&6; }
11462if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
11463  $as_echo_n "(cached) " >&6
11464else
11465  case $ac_pt_PKG_CONFIG in
11466  [\\/]* | ?:[\\/]*)
11467  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11468  ;;
11469  *)
11470  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11471for as_dir in $PATH
11472do
11473  IFS=$as_save_IFS
11474  test -z "$as_dir" && as_dir=.
11475    for ac_exec_ext in '' $ac_executable_extensions; do
11476  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11477    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11478    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11479    break 2
11480  fi
11481done
11482  done
11483IFS=$as_save_IFS
11484
11485  ;;
11486esac
11487fi
11488ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11489if test -n "$ac_pt_PKG_CONFIG"; then
11490  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11491$as_echo "$ac_pt_PKG_CONFIG" >&6; }
11492else
11493  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11494$as_echo "no" >&6; }
11495fi
11496
11497  if test "x$ac_pt_PKG_CONFIG" = x; then
11498    PKG_CONFIG=""
11499  else
11500    case $cross_compiling:$ac_tool_warned in
11501yes:)
11502{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11503$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11504ac_tool_warned=yes ;;
11505esac
11506    PKG_CONFIG=$ac_pt_PKG_CONFIG
11507  fi
11508else
11509  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11510fi
11511
11512fi
11513if test -n "$PKG_CONFIG"; then
11514	_pkg_min_version=0.9.0
11515	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11516$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11517	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11518		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11519$as_echo "yes" >&6; }
11520	else
11521		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11522$as_echo "no" >&6; }
11523		PKG_CONFIG=""
11524	fi
11525fi
11526
11527pkg_failed=no
11528{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBCONFIG" >&5
11529$as_echo_n "checking for LIBCONFIG... " >&6; }
11530
11531if test -n "$LIBCONFIG_CFLAGS"; then
11532    pkg_cv_LIBCONFIG_CFLAGS="$LIBCONFIG_CFLAGS"
11533 elif test -n "$PKG_CONFIG"; then
11534    if test -n "$PKG_CONFIG" && \
11535    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libconfig >= 1.3.2\""; } >&5
11536  ($PKG_CONFIG --exists --print-errors "libconfig >= 1.3.2") 2>&5
11537  ac_status=$?
11538  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11539  test $ac_status = 0; }; then
11540  pkg_cv_LIBCONFIG_CFLAGS=`$PKG_CONFIG --cflags "libconfig >= 1.3.2" 2>/dev/null`
11541else
11542  pkg_failed=yes
11543fi
11544 else
11545    pkg_failed=untried
11546fi
11547if test -n "$LIBCONFIG_LIBS"; then
11548    pkg_cv_LIBCONFIG_LIBS="$LIBCONFIG_LIBS"
11549 elif test -n "$PKG_CONFIG"; then
11550    if test -n "$PKG_CONFIG" && \
11551    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libconfig >= 1.3.2\""; } >&5
11552  ($PKG_CONFIG --exists --print-errors "libconfig >= 1.3.2") 2>&5
11553  ac_status=$?
11554  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11555  test $ac_status = 0; }; then
11556  pkg_cv_LIBCONFIG_LIBS=`$PKG_CONFIG --libs "libconfig >= 1.3.2" 2>/dev/null`
11557else
11558  pkg_failed=yes
11559fi
11560 else
11561    pkg_failed=untried
11562fi
11563
11564
11565
11566if test $pkg_failed = yes; then
11567   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11568$as_echo "no" >&6; }
11569
11570if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11571        _pkg_short_errors_supported=yes
11572else
11573        _pkg_short_errors_supported=no
11574fi
11575        if test $_pkg_short_errors_supported = yes; then
11576	        LIBCONFIG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libconfig >= 1.3.2" 2>&1`
11577        else
11578	        LIBCONFIG_PKG_ERRORS=`$PKG_CONFIG --print-errors "libconfig >= 1.3.2" 2>&1`
11579        fi
11580	# Put the nasty error message in config.log where it belongs
11581	echo "$LIBCONFIG_PKG_ERRORS" >&5
11582
11583	as_fn_error $? "Package requirements (libconfig >= 1.3.2) were not met:
11584
11585$LIBCONFIG_PKG_ERRORS
11586
11587Consider adjusting the PKG_CONFIG_PATH environment variable if you
11588installed software in a non-standard prefix.
11589
11590Alternatively, you may set the environment variables LIBCONFIG_CFLAGS
11591and LIBCONFIG_LIBS to avoid the need to call pkg-config.
11592See the pkg-config man page for more details." "$LINENO" 5
11593elif test $pkg_failed = untried; then
11594     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11595$as_echo "no" >&6; }
11596	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11597$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11598as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
11599is in your PATH or set the PKG_CONFIG environment variable to the full
11600path to pkg-config.
11601
11602Alternatively, you may set the environment variables LIBCONFIG_CFLAGS
11603and LIBCONFIG_LIBS to avoid the need to call pkg-config.
11604See the pkg-config man page for more details.
11605
11606To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11607See \`config.log' for more details" "$LINENO" 5 ; }
11608else
11609	LIBCONFIG_CFLAGS=$pkg_cv_LIBCONFIG_CFLAGS
11610	LIBCONFIG_LIBS=$pkg_cv_LIBCONFIG_LIBS
11611        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11612$as_echo "yes" >&6; }
11613
11614fi
11615CFLAGS="$LIBCONFIG_CFLAGS $CFLAGS"
11616LIBS="$LIBCONFIG_LIBS $LIBS"
11617
11618#AC_CHECK_HEADERS([curl/curl.h], [], [CURL_HEADER="no"])
11619#AS_IF([test "x$CURL_HEADER" = "xno"],
11620#          [AC_MSG_ERROR("curl header file not found")]
11621#     )
11622
11623
11624pkg_failed=no
11625{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for JSON" >&5
11626$as_echo_n "checking for JSON... " >&6; }
11627
11628if test -n "$JSON_CFLAGS"; then
11629    pkg_cv_JSON_CFLAGS="$JSON_CFLAGS"
11630 elif test -n "$PKG_CONFIG"; then
11631    if test -n "$PKG_CONFIG" && \
11632    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json >= 0.9\""; } >&5
11633  ($PKG_CONFIG --exists --print-errors "json >= 0.9") 2>&5
11634  ac_status=$?
11635  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11636  test $ac_status = 0; }; then
11637  pkg_cv_JSON_CFLAGS=`$PKG_CONFIG --cflags "json >= 0.9" 2>/dev/null`
11638else
11639  pkg_failed=yes
11640fi
11641 else
11642    pkg_failed=untried
11643fi
11644if test -n "$JSON_LIBS"; then
11645    pkg_cv_JSON_LIBS="$JSON_LIBS"
11646 elif test -n "$PKG_CONFIG"; then
11647    if test -n "$PKG_CONFIG" && \
11648    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json >= 0.9\""; } >&5
11649  ($PKG_CONFIG --exists --print-errors "json >= 0.9") 2>&5
11650  ac_status=$?
11651  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11652  test $ac_status = 0; }; then
11653  pkg_cv_JSON_LIBS=`$PKG_CONFIG --libs "json >= 0.9" 2>/dev/null`
11654else
11655  pkg_failed=yes
11656fi
11657 else
11658    pkg_failed=untried
11659fi
11660
11661
11662
11663if test $pkg_failed = yes; then
11664   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11665$as_echo "no" >&6; }
11666
11667if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11668        _pkg_short_errors_supported=yes
11669else
11670        _pkg_short_errors_supported=no
11671fi
11672        if test $_pkg_short_errors_supported = yes; then
11673	        JSON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "json >= 0.9" 2>&1`
11674        else
11675	        JSON_PKG_ERRORS=`$PKG_CONFIG --print-errors "json >= 0.9" 2>&1`
11676        fi
11677	# Put the nasty error message in config.log where it belongs
11678	echo "$JSON_PKG_ERRORS" >&5
11679
11680	as_fn_error $? "Package requirements (json >= 0.9) were not met:
11681
11682$JSON_PKG_ERRORS
11683
11684Consider adjusting the PKG_CONFIG_PATH environment variable if you
11685installed software in a non-standard prefix.
11686
11687Alternatively, you may set the environment variables JSON_CFLAGS
11688and JSON_LIBS to avoid the need to call pkg-config.
11689See the pkg-config man page for more details." "$LINENO" 5
11690elif test $pkg_failed = untried; then
11691     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11692$as_echo "no" >&6; }
11693	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11694$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11695as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
11696is in your PATH or set the PKG_CONFIG environment variable to the full
11697path to pkg-config.
11698
11699Alternatively, you may set the environment variables JSON_CFLAGS
11700and JSON_LIBS to avoid the need to call pkg-config.
11701See the pkg-config man page for more details.
11702
11703To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11704See \`config.log' for more details" "$LINENO" 5 ; }
11705else
11706	JSON_CFLAGS=$pkg_cv_JSON_CFLAGS
11707	JSON_LIBS=$pkg_cv_JSON_LIBS
11708        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11709$as_echo "yes" >&6; }
11710
11711fi
11712
11713CFLAGS="$JSON_CFLAGS $CFLAGS"
11714LIBS="$JSON_LIBS $LIBS"
11715
11716
11717
11718NUGGET_VERSION=2:0:0
11719
11720# Support searching the for the API in $prefix and in the argument to --with-api
11721export PKG_CONFIG_PATH=$prefix/lib/pkgconfig:$PKG_CONFIG_PATH
11722if test "x$with_api" != "x"; then
11723    export PKG_CONFIG_PATH=$with_api:$PKG_CONFIG_PATH
11724fi
11725
11726
11727pkg_failed=no
11728{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for RAZORBACK" >&5
11729$as_echo_n "checking for RAZORBACK... " >&6; }
11730
11731if test -n "$RAZORBACK_CFLAGS"; then
11732    pkg_cv_RAZORBACK_CFLAGS="$RAZORBACK_CFLAGS"
11733 elif test -n "$PKG_CONFIG"; then
11734    if test -n "$PKG_CONFIG" && \
11735    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"razorback >= 0.1.3\""; } >&5
11736  ($PKG_CONFIG --exists --print-errors "razorback >= 0.1.3") 2>&5
11737  ac_status=$?
11738  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11739  test $ac_status = 0; }; then
11740  pkg_cv_RAZORBACK_CFLAGS=`$PKG_CONFIG --cflags "razorback >= 0.1.3" 2>/dev/null`
11741else
11742  pkg_failed=yes
11743fi
11744 else
11745    pkg_failed=untried
11746fi
11747if test -n "$RAZORBACK_LIBS"; then
11748    pkg_cv_RAZORBACK_LIBS="$RAZORBACK_LIBS"
11749 elif test -n "$PKG_CONFIG"; then
11750    if test -n "$PKG_CONFIG" && \
11751    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"razorback >= 0.1.3\""; } >&5
11752  ($PKG_CONFIG --exists --print-errors "razorback >= 0.1.3") 2>&5
11753  ac_status=$?
11754  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11755  test $ac_status = 0; }; then
11756  pkg_cv_RAZORBACK_LIBS=`$PKG_CONFIG --libs "razorback >= 0.1.3" 2>/dev/null`
11757else
11758  pkg_failed=yes
11759fi
11760 else
11761    pkg_failed=untried
11762fi
11763
11764
11765
11766if test $pkg_failed = yes; then
11767   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11768$as_echo "no" >&6; }
11769
11770if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11771        _pkg_short_errors_supported=yes
11772else
11773        _pkg_short_errors_supported=no
11774fi
11775        if test $_pkg_short_errors_supported = yes; then
11776	        RAZORBACK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "razorback >= 0.1.3" 2>&1`
11777        else
11778	        RAZORBACK_PKG_ERRORS=`$PKG_CONFIG --print-errors "razorback >= 0.1.3" 2>&1`
11779        fi
11780	# Put the nasty error message in config.log where it belongs
11781	echo "$RAZORBACK_PKG_ERRORS" >&5
11782
11783	as_fn_error $? "Package requirements (razorback >= 0.1.3) were not met:
11784
11785$RAZORBACK_PKG_ERRORS
11786
11787Consider adjusting the PKG_CONFIG_PATH environment variable if you
11788installed software in a non-standard prefix.
11789
11790Alternatively, you may set the environment variables RAZORBACK_CFLAGS
11791and RAZORBACK_LIBS to avoid the need to call pkg-config.
11792See the pkg-config man page for more details." "$LINENO" 5
11793elif test $pkg_failed = untried; then
11794     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11795$as_echo "no" >&6; }
11796	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11797$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11798as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
11799is in your PATH or set the PKG_CONFIG environment variable to the full
11800path to pkg-config.
11801
11802Alternatively, you may set the environment variables RAZORBACK_CFLAGS
11803and RAZORBACK_LIBS to avoid the need to call pkg-config.
11804See the pkg-config man page for more details.
11805
11806To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11807See \`config.log' for more details" "$LINENO" 5 ; }
11808else
11809	RAZORBACK_CFLAGS=$pkg_cv_RAZORBACK_CFLAGS
11810	RAZORBACK_LIBS=$pkg_cv_RAZORBACK_LIBS
11811        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11812$as_echo "yes" >&6; }
11813
11814fi
11815
11816# Munge the compiler flags if we specify where the API is located.
11817if test "x$with_api" != "x"; then
11818    RAZORBACK_CFLAGS="-I$with_api/include -I$with_api/libssh/include"
11819    RAZORBACK_LIBS="-L$with_api/src -lrazorback_api"
11820else
11821    RAZORBACK_CFLAGS="-I${includedir} -I${includedir}/razorback"
11822fi
11823
11824for ac_header in fts.h
11825do :
11826  ac_fn_c_check_header_mongrel "$LINENO" "fts.h" "ac_cv_header_fts_h" "$ac_includes_default"
11827if test "x$ac_cv_header_fts_h" = x""yes; then :
11828  cat >>confdefs.h <<_ACEOF
11829#define HAVE_FTS_H 1
11830_ACEOF
11831
11832fi
11833
11834done
11835
11836
11837# Pull in the standard header and function checks.
11838# Checks for header files.
11839for ac_header in arpa/inet.h fcntl.h limits.h netdb.h netinet/in.h stdint.h stdlib.h string.h sys/socket.h unistd.h stdarg.h
11840do :
11841  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11842ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11843if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11844  cat >>confdefs.h <<_ACEOF
11845#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11846_ACEOF
11847
11848fi
11849
11850done
11851
11852
11853# Checks for typedefs, structures, and compiler characteristics.
11854{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
11855$as_echo_n "checking for inline... " >&6; }
11856if test "${ac_cv_c_inline+set}" = set; then :
11857  $as_echo_n "(cached) " >&6
11858else
11859  ac_cv_c_inline=no
11860for ac_kw in inline __inline__ __inline; do
11861  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11862/* end confdefs.h.  */
11863#ifndef __cplusplus
11864typedef int foo_t;
11865static $ac_kw foo_t static_foo () {return 0; }
11866$ac_kw foo_t foo () {return 0; }
11867#endif
11868
11869_ACEOF
11870if ac_fn_c_try_compile "$LINENO"; then :
11871  ac_cv_c_inline=$ac_kw
11872fi
11873rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11874  test "$ac_cv_c_inline" != no && break
11875done
11876
11877fi
11878{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
11879$as_echo "$ac_cv_c_inline" >&6; }
11880
11881case $ac_cv_c_inline in
11882  inline | yes) ;;
11883  *)
11884    case $ac_cv_c_inline in
11885      no) ac_val=;;
11886      *) ac_val=$ac_cv_c_inline;;
11887    esac
11888    cat >>confdefs.h <<_ACEOF
11889#ifndef __cplusplus
11890#define inline $ac_val
11891#endif
11892_ACEOF
11893    ;;
11894esac
11895
11896ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
11897if test "x$ac_cv_type_size_t" = x""yes; then :
11898
11899else
11900
11901cat >>confdefs.h <<_ACEOF
11902#define size_t unsigned int
11903_ACEOF
11904
11905fi
11906
11907ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
11908if test "x$ac_cv_type_ssize_t" = x""yes; then :
11909
11910else
11911
11912cat >>confdefs.h <<_ACEOF
11913#define ssize_t int
11914_ACEOF
11915
11916fi
11917
11918ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t"
11919case $ac_cv_c_uint16_t in #(
11920  no|yes) ;; #(
11921  *)
11922
11923
11924cat >>confdefs.h <<_ACEOF
11925#define uint16_t $ac_cv_c_uint16_t
11926_ACEOF
11927;;
11928  esac
11929
11930ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
11931case $ac_cv_c_uint32_t in #(
11932  no|yes) ;; #(
11933  *)
11934
11935$as_echo "#define _UINT32_T 1" >>confdefs.h
11936
11937
11938cat >>confdefs.h <<_ACEOF
11939#define uint32_t $ac_cv_c_uint32_t
11940_ACEOF
11941;;
11942  esac
11943
11944ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
11945case $ac_cv_c_uint8_t in #(
11946  no|yes) ;; #(
11947  *)
11948
11949$as_echo "#define _UINT8_T 1" >>confdefs.h
11950
11951
11952cat >>confdefs.h <<_ACEOF
11953#define uint8_t $ac_cv_c_uint8_t
11954_ACEOF
11955;;
11956  esac
11957
11958
11959  ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
11960if test "x$ac_cv_type_uintptr_t" = x""yes; then :
11961
11962$as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h
11963
11964else
11965  for ac_type in 'unsigned int' 'unsigned long int' \
11966	'unsigned long long int'; do
11967       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11968/* end confdefs.h.  */
11969$ac_includes_default
11970int
11971main ()
11972{
11973static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
11974test_array [0] = 0
11975
11976  ;
11977  return 0;
11978}
11979_ACEOF
11980if ac_fn_c_try_compile "$LINENO"; then :
11981
11982cat >>confdefs.h <<_ACEOF
11983#define uintptr_t $ac_type
11984_ACEOF
11985
11986	  ac_type=
11987fi
11988rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11989       test -z "$ac_type" && break
11990     done
11991fi
11992
11993
11994
11995  ac_fn_c_check_type "$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
11996if test "x$ac_cv_type_intptr_t" = x""yes; then :
11997
11998$as_echo "#define HAVE_INTPTR_T 1" >>confdefs.h
11999
12000else
12001  for ac_type in 'int' 'long int' 'long long int'; do
12002       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12003/* end confdefs.h.  */
12004$ac_includes_default
12005int
12006main ()
12007{
12008static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
12009test_array [0] = 0
12010
12011  ;
12012  return 0;
12013}
12014_ACEOF
12015if ac_fn_c_try_compile "$LINENO"; then :
12016
12017cat >>confdefs.h <<_ACEOF
12018#define intptr_t $ac_type
12019_ACEOF
12020
12021	  ac_type=
12022fi
12023rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12024       test -z "$ac_type" && break
12025     done
12026fi
12027
12028
12029
12030  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long int" >&5
12031$as_echo_n "checking for long long int... " >&6; }
12032if test "${ac_cv_type_long_long_int+set}" = set; then :
12033  $as_echo_n "(cached) " >&6
12034else
12035  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12036/* end confdefs.h.  */
12037
12038  /* For now, do not test the preprocessor; as of 2007 there are too many
12039	 implementations with broken preprocessors.  Perhaps this can
12040	 be revisited in 2012.  In the meantime, code should not expect
12041	 #if to work with literals wider than 32 bits.  */
12042      /* Test literals.  */
12043      long long int ll = 9223372036854775807ll;
12044      long long int nll = -9223372036854775807LL;
12045      unsigned long long int ull = 18446744073709551615ULL;
12046      /* Test constant expressions.   */
12047      typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
12048		     ? 1 : -1)];
12049      typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1
12050		     ? 1 : -1)];
12051      int i = 63;
12052int
12053main ()
12054{
12055/* Test availability of runtime routines for shift and division.  */
12056      long long int llmax = 9223372036854775807ll;
12057      unsigned long long int ullmax = 18446744073709551615ull;
12058      return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
12059	      | (llmax / ll) | (llmax % ll)
12060	      | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i)
12061	      | (ullmax / ull) | (ullmax % ull));
12062  ;
12063  return 0;
12064}
12065
12066_ACEOF
12067if ac_fn_c_try_link "$LINENO"; then :
12068  			if test "$cross_compiling" = yes; then :
12069  ac_cv_type_long_long_int=yes
12070else
12071  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12072/* end confdefs.h.  */
12073#include <limits.h>
12074	       #ifndef LLONG_MAX
12075	       # define HALF \
12076			(1LL << (sizeof (long long int) * CHAR_BIT - 2))
12077	       # define LLONG_MAX (HALF - 1 + HALF)
12078	       #endif
12079int
12080main ()
12081{
12082long long int n = 1;
12083	       int i;
12084	       for (i = 0; ; i++)
12085		 {
12086		   long long int m = n << i;
12087		   if (m >> i != n)
12088		     return 1;
12089		   if (LLONG_MAX / 2 < m)
12090		     break;
12091		 }
12092	       return 0;
12093  ;
12094  return 0;
12095}
12096_ACEOF
12097if ac_fn_c_try_run "$LINENO"; then :
12098  ac_cv_type_long_long_int=yes
12099else
12100  ac_cv_type_long_long_int=no
12101fi
12102rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12103  conftest.$ac_objext conftest.beam conftest.$ac_ext
12104fi
12105
12106else
12107  ac_cv_type_long_long_int=no
12108fi
12109rm -f core conftest.err conftest.$ac_objext \
12110    conftest$ac_exeext conftest.$ac_ext
12111fi
12112{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_long_int" >&5
12113$as_echo "$ac_cv_type_long_long_int" >&6; }
12114  if test $ac_cv_type_long_long_int = yes; then
12115
12116$as_echo "#define HAVE_LONG_LONG_INT 1" >>confdefs.h
12117
12118  fi
12119
12120
12121
12122  ac_fn_c_check_type "$LINENO" "intmax_t" "ac_cv_type_intmax_t" "$ac_includes_default"
12123if test "x$ac_cv_type_intmax_t" = x""yes; then :
12124
12125$as_echo "#define HAVE_INTMAX_T 1" >>confdefs.h
12126
12127else
12128  test $ac_cv_type_long_long_int = yes \
12129       && ac_type='long long int' \
12130       || ac_type='long int'
12131
12132cat >>confdefs.h <<_ACEOF
12133#define intmax_t $ac_type
12134_ACEOF
12135
12136fi
12137
12138
12139
12140  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5
12141$as_echo_n "checking for unsigned long long int... " >&6; }
12142if test "${ac_cv_type_unsigned_long_long_int+set}" = set; then :
12143  $as_echo_n "(cached) " >&6
12144else
12145  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12146/* end confdefs.h.  */
12147
12148  /* For now, do not test the preprocessor; as of 2007 there are too many
12149	 implementations with broken preprocessors.  Perhaps this can
12150	 be revisited in 2012.  In the meantime, code should not expect
12151	 #if to work with literals wider than 32 bits.  */
12152      /* Test literals.  */
12153      long long int ll = 9223372036854775807ll;
12154      long long int nll = -9223372036854775807LL;
12155      unsigned long long int ull = 18446744073709551615ULL;
12156      /* Test constant expressions.   */
12157      typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
12158		     ? 1 : -1)];
12159      typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1
12160		     ? 1 : -1)];
12161      int i = 63;
12162int
12163main ()
12164{
12165/* Test availability of runtime routines for shift and division.  */
12166      long long int llmax = 9223372036854775807ll;
12167      unsigned long long int ullmax = 18446744073709551615ull;
12168      return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
12169	      | (llmax / ll) | (llmax % ll)
12170	      | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i)
12171	      | (ullmax / ull) | (ullmax % ull));
12172  ;
12173  return 0;
12174}
12175
12176_ACEOF
12177if ac_fn_c_try_link "$LINENO"; then :
12178  ac_cv_type_unsigned_long_long_int=yes
12179else
12180  ac_cv_type_unsigned_long_long_int=no
12181fi
12182rm -f core conftest.err conftest.$ac_objext \
12183    conftest$ac_exeext conftest.$ac_ext
12184fi
12185{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long_int" >&5
12186$as_echo "$ac_cv_type_unsigned_long_long_int" >&6; }
12187  if test $ac_cv_type_unsigned_long_long_int = yes; then
12188
12189$as_echo "#define HAVE_UNSIGNED_LONG_LONG_INT 1" >>confdefs.h
12190
12191  fi
12192
12193
12194
12195  ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "$ac_includes_default"
12196if test "x$ac_cv_type_uintmax_t" = x""yes; then :
12197
12198$as_echo "#define HAVE_UINTMAX_T 1" >>confdefs.h
12199
12200else
12201  test $ac_cv_type_unsigned_long_long_int = yes \
12202       && ac_type='unsigned long long int' \
12203       || ac_type='unsigned long int'
12204
12205cat >>confdefs.h <<_ACEOF
12206#define uintmax_t $ac_type
12207_ACEOF
12208
12209fi
12210
12211
12212ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
12213if test "x$ac_cv_type_size_t" = x""yes; then :
12214
12215cat >>confdefs.h <<_ACEOF
12216#define HAVE_SIZE_T 1
12217_ACEOF
12218
12219
12220fi
12221
12222ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
12223if test "x$ac_cv_type_ssize_t" = x""yes; then :
12224
12225cat >>confdefs.h <<_ACEOF
12226#define HAVE_SSIZE_T 1
12227_ACEOF
12228
12229
12230fi
12231
12232ac_fn_c_check_type "$LINENO" "uint16_t" "ac_cv_type_uint16_t" "$ac_includes_default"
12233if test "x$ac_cv_type_uint16_t" = x""yes; then :
12234
12235cat >>confdefs.h <<_ACEOF
12236#define HAVE_UINT16_T 1
12237_ACEOF
12238
12239
12240fi
12241
12242ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "$ac_includes_default"
12243if test "x$ac_cv_type_uint32_t" = x""yes; then :
12244
12245cat >>confdefs.h <<_ACEOF
12246#define HAVE_UINT32_T 1
12247_ACEOF
12248
12249
12250fi
12251
12252ac_fn_c_check_type "$LINENO" "uint8_t" "ac_cv_type_uint8_t" "$ac_includes_default"
12253if test "x$ac_cv_type_uint8_t" = x""yes; then :
12254
12255cat >>confdefs.h <<_ACEOF
12256#define HAVE_UINT8_T 1
12257_ACEOF
12258
12259
12260fi
12261
12262ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
12263if test "x$ac_cv_type_uintptr_t" = x""yes; then :
12264
12265cat >>confdefs.h <<_ACEOF
12266#define HAVE_UINTPTR_T 1
12267_ACEOF
12268
12269
12270fi
12271
12272ac_fn_c_check_type "$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
12273if test "x$ac_cv_type_intptr_t" = x""yes; then :
12274
12275cat >>confdefs.h <<_ACEOF
12276#define HAVE_INTPTR_T 1
12277_ACEOF
12278
12279
12280fi
12281
12282ac_fn_c_check_type "$LINENO" "intmax_t" "ac_cv_type_intmax_t" "$ac_includes_default"
12283if test "x$ac_cv_type_intmax_t" = x""yes; then :
12284
12285cat >>confdefs.h <<_ACEOF
12286#define HAVE_INTMAX_T 1
12287_ACEOF
12288
12289
12290fi
12291
12292ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "$ac_includes_default"
12293if test "x$ac_cv_type_uintmax_t" = x""yes; then :
12294
12295cat >>confdefs.h <<_ACEOF
12296#define HAVE_UINTMAX_T 1
12297_ACEOF
12298
12299
12300fi
12301
12302
12303# Checks for library functions.
12304for ac_header in stdlib.h
12305do :
12306  ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
12307if test "x$ac_cv_header_stdlib_h" = x""yes; then :
12308  cat >>confdefs.h <<_ACEOF
12309#define HAVE_STDLIB_H 1
12310_ACEOF
12311
12312fi
12313
12314done
12315
12316{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
12317$as_echo_n "checking for GNU libc compatible malloc... " >&6; }
12318if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then :
12319  $as_echo_n "(cached) " >&6
12320else
12321  if test "$cross_compiling" = yes; then :
12322  ac_cv_func_malloc_0_nonnull=no
12323else
12324  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12325/* end confdefs.h.  */
12326#if defined STDC_HEADERS || defined HAVE_STDLIB_H
12327# include <stdlib.h>
12328#else
12329char *malloc ();
12330#endif
12331
12332int
12333main ()
12334{
12335return ! malloc (0);
12336  ;
12337  return 0;
12338}
12339_ACEOF
12340if ac_fn_c_try_run "$LINENO"; then :
12341  ac_cv_func_malloc_0_nonnull=yes
12342else
12343  ac_cv_func_malloc_0_nonnull=no
12344fi
12345rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12346  conftest.$ac_objext conftest.beam conftest.$ac_ext
12347fi
12348
12349fi
12350{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
12351$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
12352if test $ac_cv_func_malloc_0_nonnull = yes; then :
12353
12354$as_echo "#define HAVE_MALLOC 1" >>confdefs.h
12355
12356else
12357  $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
12358
12359   case " $LIBOBJS " in
12360  *" malloc.$ac_objext "* ) ;;
12361  *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
12362 ;;
12363esac
12364
12365
12366$as_echo "#define malloc rpl_malloc" >>confdefs.h
12367
12368fi
12369
12370
12371
12372
12373
12374  for ac_header in $ac_header_list
12375do :
12376  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12377ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
12378"
12379if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12380  cat >>confdefs.h <<_ACEOF
12381#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12382_ACEOF
12383
12384fi
12385
12386done
12387
12388
12389
12390
12391
12392
12393
12394
12395for ac_func in getpagesize
12396do :
12397  ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
12398if test "x$ac_cv_func_getpagesize" = x""yes; then :
12399  cat >>confdefs.h <<_ACEOF
12400#define HAVE_GETPAGESIZE 1
12401_ACEOF
12402
12403fi
12404done
12405
12406{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
12407$as_echo_n "checking for working mmap... " >&6; }
12408if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then :
12409  $as_echo_n "(cached) " >&6
12410else
12411  if test "$cross_compiling" = yes; then :
12412  ac_cv_func_mmap_fixed_mapped=no
12413else
12414  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12415/* end confdefs.h.  */
12416$ac_includes_default
12417/* malloc might have been renamed as rpl_malloc. */
12418#undef malloc
12419
12420/* Thanks to Mike Haertel and Jim Avera for this test.
12421   Here is a matrix of mmap possibilities:
12422	mmap private not fixed
12423	mmap private fixed at somewhere currently unmapped
12424	mmap private fixed at somewhere already mapped
12425	mmap shared not fixed
12426	mmap shared fixed at somewhere currently unmapped
12427	mmap shared fixed at somewhere already mapped
12428   For private mappings, we should verify that changes cannot be read()
12429   back from the file, nor mmap's back from the file at a different
12430   address.  (There have been systems where private was not correctly
12431   implemented like the infamous i386 svr4.0, and systems where the
12432   VM page cache was not coherent with the file system buffer cache
12433   like early versions of FreeBSD and possibly contemporary NetBSD.)
12434   For shared mappings, we should conversely verify that changes get
12435   propagated back to all the places they're supposed to be.
12436
12437   Grep wants private fixed already mapped.
12438   The main things grep needs to know about mmap are:
12439   * does it exist and is it safe to write into the mmap'd area
12440   * how to use it (BSD variants)  */
12441
12442#include <fcntl.h>
12443#include <sys/mman.h>
12444
12445#if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
12446char *malloc ();
12447#endif
12448
12449/* This mess was copied from the GNU getpagesize.h.  */
12450#ifndef HAVE_GETPAGESIZE
12451# ifdef _SC_PAGESIZE
12452#  define getpagesize() sysconf(_SC_PAGESIZE)
12453# else /* no _SC_PAGESIZE */
12454#  ifdef HAVE_SYS_PARAM_H
12455#   include <sys/param.h>
12456#   ifdef EXEC_PAGESIZE
12457#    define getpagesize() EXEC_PAGESIZE
12458#   else /* no EXEC_PAGESIZE */
12459#    ifdef NBPG
12460#     define getpagesize() NBPG * CLSIZE
12461#     ifndef CLSIZE
12462#      define CLSIZE 1
12463#     endif /* no CLSIZE */
12464#    else /* no NBPG */
12465#     ifdef NBPC
12466#      define getpagesize() NBPC
12467#     else /* no NBPC */
12468#      ifdef PAGESIZE
12469#       define getpagesize() PAGESIZE
12470#      endif /* PAGESIZE */
12471#     endif /* no NBPC */
12472#    endif /* no NBPG */
12473#   endif /* no EXEC_PAGESIZE */
12474#  else /* no HAVE_SYS_PARAM_H */
12475#   define getpagesize() 8192	/* punt totally */
12476#  endif /* no HAVE_SYS_PARAM_H */
12477# endif /* no _SC_PAGESIZE */
12478
12479#endif /* no HAVE_GETPAGESIZE */
12480
12481int
12482main ()
12483{
12484  char *data, *data2, *data3;
12485  const char *cdata2;
12486  int i, pagesize;
12487  int fd, fd2;
12488
12489  pagesize = getpagesize ();
12490
12491  /* First, make a file with some known garbage in it. */
12492  data = (char *) malloc (pagesize);
12493  if (!data)
12494    return 1;
12495  for (i = 0; i < pagesize; ++i)
12496    *(data + i) = rand ();
12497  umask (0);
12498  fd = creat ("conftest.mmap", 0600);
12499  if (fd < 0)
12500    return 2;
12501  if (write (fd, data, pagesize) != pagesize)
12502    return 3;
12503  close (fd);
12504
12505  /* Next, check that the tail of a page is zero-filled.  File must have
12506     non-zero length, otherwise we risk SIGBUS for entire page.  */
12507  fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
12508  if (fd2 < 0)
12509    return 4;
12510  cdata2 = "";
12511  if (write (fd2, cdata2, 1) != 1)
12512    return 5;
12513  data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
12514  if (data2 == MAP_FAILED)
12515    return 6;
12516  for (i = 0; i < pagesize; ++i)
12517    if (*(data2 + i))
12518      return 7;
12519  close (fd2);
12520  if (munmap (data2, pagesize))
12521    return 8;
12522
12523  /* Next, try to mmap the file at a fixed address which already has
12524     something else allocated at it.  If we can, also make sure that
12525     we see the same garbage.  */
12526  fd = open ("conftest.mmap", O_RDWR);
12527  if (fd < 0)
12528    return 9;
12529  if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
12530		     MAP_PRIVATE | MAP_FIXED, fd, 0L))
12531    return 10;
12532  for (i = 0; i < pagesize; ++i)
12533    if (*(data + i) != *(data2 + i))
12534      return 11;
12535
12536  /* Finally, make sure that changes to the mapped area do not
12537     percolate back to the file as seen by read().  (This is a bug on
12538     some variants of i386 svr4.0.)  */
12539  for (i = 0; i < pagesize; ++i)
12540    *(data2 + i) = *(data2 + i) + 1;
12541  data3 = (char *) malloc (pagesize);
12542  if (!data3)
12543    return 12;
12544  if (read (fd, data3, pagesize) != pagesize)
12545    return 13;
12546  for (i = 0; i < pagesize; ++i)
12547    if (*(data + i) != *(data3 + i))
12548      return 14;
12549  close (fd);
12550  return 0;
12551}
12552_ACEOF
12553if ac_fn_c_try_run "$LINENO"; then :
12554  ac_cv_func_mmap_fixed_mapped=yes
12555else
12556  ac_cv_func_mmap_fixed_mapped=no
12557fi
12558rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12559  conftest.$ac_objext conftest.beam conftest.$ac_ext
12560fi
12561
12562fi
12563{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
12564$as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
12565if test $ac_cv_func_mmap_fixed_mapped = yes; then
12566
12567$as_echo "#define HAVE_MMAP 1" >>confdefs.h
12568
12569fi
12570rm -f conftest.mmap conftest.txt
12571
12572for ac_header in stdlib.h
12573do :
12574  ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
12575if test "x$ac_cv_header_stdlib_h" = x""yes; then :
12576  cat >>confdefs.h <<_ACEOF
12577#define HAVE_STDLIB_H 1
12578_ACEOF
12579
12580fi
12581
12582done
12583
12584{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
12585$as_echo_n "checking for GNU libc compatible realloc... " >&6; }
12586if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then :
12587  $as_echo_n "(cached) " >&6
12588else
12589  if test "$cross_compiling" = yes; then :
12590  ac_cv_func_realloc_0_nonnull=no
12591else
12592  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12593/* end confdefs.h.  */
12594#if defined STDC_HEADERS || defined HAVE_STDLIB_H
12595# include <stdlib.h>
12596#else
12597char *realloc ();
12598#endif
12599
12600int
12601main ()
12602{
12603return ! realloc (0, 0);
12604  ;
12605  return 0;
12606}
12607_ACEOF
12608if ac_fn_c_try_run "$LINENO"; then :
12609  ac_cv_func_realloc_0_nonnull=yes
12610else
12611  ac_cv_func_realloc_0_nonnull=no
12612fi
12613rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12614  conftest.$ac_objext conftest.beam conftest.$ac_ext
12615fi
12616
12617fi
12618{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
12619$as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
12620if test $ac_cv_func_realloc_0_nonnull = yes; then :
12621
12622$as_echo "#define HAVE_REALLOC 1" >>confdefs.h
12623
12624else
12625  $as_echo "#define HAVE_REALLOC 0" >>confdefs.h
12626
12627   case " $LIBOBJS " in
12628  *" realloc.$ac_objext "* ) ;;
12629  *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
12630 ;;
12631esac
12632
12633
12634$as_echo "#define realloc rpl_realloc" >>confdefs.h
12635
12636fi
12637
12638
12639for ac_func in inet_ntoa memset munmap socket strdup strerror strncasecmp strstr strtoul
12640do :
12641  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12642ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12643if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12644  cat >>confdefs.h <<_ACEOF
12645#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12646_ACEOF
12647
12648fi
12649done
12650
12651
12652
12653
12654# Pull in the compiler customisation options for different compilers.
12655ICC=no
12656if eval "echo $CC|grep icc >/dev/null" ; then
12657    if eval "$CC -help |grep libcxa >/dev/null" ; then
12658        CFLAGS="$CFLAGS -ip -static-libcxa"
12659        XCCFLAGS="-XCClinker -static-libcxa"
12660    else
12661        CFLAGS="$CFLAGS -ip -static-intel"
12662        XCCFLAGS="-XCClinker -static-intel"
12663    fi
12664    if test "$COPT" = "-O2" ; then
12665        COPT="-O3"
12666    fi
12667    CWARNINGS="-wd869"
12668    ICC=yes
12669    GCC=no
12670fi
12671
12672if test "$GCC" = yes ; then
12673    if test "x$enable_debug" = "xyes"; then
12674        CFLAGS="-ggdb $CFLAGS"
12675    else
12676        CFLAGS="-O2 $CFLAGS"
12677    fi
12678
12679    if test "x$enable_profile" = "xyes"; then
12680        LDFLAGS="$LDFLAGS -XCClinker -pg"
12681    fi
12682
12683    CFLAGS="$CFLAGS -std=c99 -fno-strict-aliasing"
12684    CPPFLAGS="$CPPFLAGS -fno-strict-aliasing"
12685    CWARNINGS="$CWARNINGS -Wall -Werror -Wwrite-strings -Wformat -fdiagnostics-show-option -Wextra -Wformat-security -Wsign-compare -Wcast-align -Wno-unused-parameter"
12686    if test "x$NOT_PEDANTIC" = "x"; then
12687        CWARNINGS="$CWARNINGS -pedantic"
12688    fi
12689    echo $CFLAGS
12690fi
12691
12692
12693
12694# Pull in the standard compiler and linker flags.
12695CFLAGS="$CFLAGS $CWARNINGS $RAZORBACK_CFLAGS"
12696LDFLAGS="$LDFLAGS $PROFILE_LDFLAGS"
12697
12698echo "LDFLAGS set to $LDFLAGS"
12699echo "CFLAGS set to $CFLAGS"
12700
12701
12702
12703
12704# Pulling configuration for standard nugget substituions.
12705NUGGET_INCLUDES='-I$(top_srcdir)/src'
12706NUGGET_LIBRARIES='$(RAZORBACK_LIBS)'
12707
12708
12709
12710
12711
12712
12713
12714  EXP_VAR=PKGLIBDIR
12715  FROM_VAR="${libdir}/razorback"
12716
12717    prefix_save=$prefix
12718  exec_prefix_save=$exec_prefix
12719
12720    if test "x$prefix" = "xNONE"; then
12721    prefix=$ac_default_prefix
12722  fi
12723    if test "x$exec_prefix" = "xNONE"; then
12724    exec_prefix=$prefix
12725  fi
12726
12727  full_var="$FROM_VAR"
12728    while true; do
12729    new_full_var="`eval echo $full_var`"
12730    if test "x$new_full_var"="x$full_var"; then break; fi
12731    full_var=$new_full_var
12732  done
12733
12734    full_var=$new_full_var
12735  PKGLIBDIR="$full_var"
12736
12737
12738    prefix=$prefix_save
12739  exec_prefix=$exec_prefix_save
12740
12741
12742
12743
12744ac_config_files="$ac_config_files Makefile m4/Makefile src/Makefile etc/Makefile"
12745
12746cat >confcache <<\_ACEOF
12747# This file is a shell script that caches the results of configure
12748# tests run on this system so they can be shared between configure
12749# scripts and configure runs, see configure's option --config-cache.
12750# It is not useful on other systems.  If it contains results you don't
12751# want to keep, you may remove or edit it.
12752#
12753# config.status only pays attention to the cache file if you give it
12754# the --recheck option to rerun configure.
12755#
12756# `ac_cv_env_foo' variables (set or unset) will be overridden when
12757# loading this file, other *unset* `ac_cv_foo' will be assigned the
12758# following values.
12759
12760_ACEOF
12761
12762# The following way of writing the cache mishandles newlines in values,
12763# but we know of no workaround that is simple, portable, and efficient.
12764# So, we kill variables containing newlines.
12765# Ultrix sh set writes to stderr and can't be redirected directly,
12766# and sets the high bit in the cache file unless we assign to the vars.
12767(
12768  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12769    eval ac_val=\$$ac_var
12770    case $ac_val in #(
12771    *${as_nl}*)
12772      case $ac_var in #(
12773      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12774$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12775      esac
12776      case $ac_var in #(
12777      _ | IFS | as_nl) ;; #(
12778      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12779      *) { eval $ac_var=; unset $ac_var;} ;;
12780      esac ;;
12781    esac
12782  done
12783
12784  (set) 2>&1 |
12785    case $as_nl`(ac_space=' '; set) 2>&1` in #(
12786    *${as_nl}ac_space=\ *)
12787      # `set' does not quote correctly, so add quotes: double-quote
12788      # substitution turns \\\\ into \\, and sed turns \\ into \.
12789      sed -n \
12790	"s/'/'\\\\''/g;
12791	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12792      ;; #(
12793    *)
12794      # `set' quotes correctly as required by POSIX, so do not add quotes.
12795      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12796      ;;
12797    esac |
12798    sort
12799) |
12800  sed '
12801     /^ac_cv_env_/b end
12802     t clear
12803     :clear
12804     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12805     t end
12806     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12807     :end' >>confcache
12808if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12809  if test -w "$cache_file"; then
12810    test "x$cache_file" != "x/dev/null" &&
12811      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12812$as_echo "$as_me: updating cache $cache_file" >&6;}
12813    cat confcache >$cache_file
12814  else
12815    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12816$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12817  fi
12818fi
12819rm -f confcache
12820
12821test "x$prefix" = xNONE && prefix=$ac_default_prefix
12822# Let make expand exec_prefix.
12823test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12824
12825DEFS=-DHAVE_CONFIG_H
12826
12827ac_libobjs=
12828ac_ltlibobjs=
12829U=
12830for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12831  # 1. Remove the extension, and $U if already installed.
12832  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12833  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12834  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
12835  #    will be set to the directory where LIBOBJS objects are built.
12836  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12837  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
12838done
12839LIBOBJS=$ac_libobjs
12840
12841LTLIBOBJS=$ac_ltlibobjs
12842
12843
12844 if test -n "$EXEEXT"; then
12845  am__EXEEXT_TRUE=
12846  am__EXEEXT_FALSE='#'
12847else
12848  am__EXEEXT_TRUE='#'
12849  am__EXEEXT_FALSE=
12850fi
12851
12852if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12853  as_fn_error $? "conditional \"AMDEP\" was never defined.
12854Usually this means the macro was only invoked conditionally." "$LINENO" 5
12855fi
12856if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12857  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
12858Usually this means the macro was only invoked conditionally." "$LINENO" 5
12859fi
12860if test -z "${PLATFORM_LINUX_TRUE}" && test -z "${PLATFORM_LINUX_FALSE}"; then
12861  as_fn_error $? "conditional \"PLATFORM_LINUX\" was never defined.
12862Usually this means the macro was only invoked conditionally." "$LINENO" 5
12863fi
12864if test -z "${PLATFORM_FREEBSD_TRUE}" && test -z "${PLATFORM_FREEBSD_FALSE}"; then
12865  as_fn_error $? "conditional \"PLATFORM_FREEBSD\" was never defined.
12866Usually this means the macro was only invoked conditionally." "$LINENO" 5
12867fi
12868
12869: ${CONFIG_STATUS=./config.status}
12870ac_write_fail=0
12871ac_clean_files_save=$ac_clean_files
12872ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12873{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12874$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12875as_write_fail=0
12876cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12877#! $SHELL
12878# Generated by $as_me.
12879# Run this file to recreate the current configuration.
12880# Compiler output produced by configure, useful for debugging
12881# configure, is in config.log if it exists.
12882
12883debug=false
12884ac_cs_recheck=false
12885ac_cs_silent=false
12886
12887SHELL=\${CONFIG_SHELL-$SHELL}
12888export SHELL
12889_ASEOF
12890cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
12891## -------------------- ##
12892## M4sh Initialization. ##
12893## -------------------- ##
12894
12895# Be more Bourne compatible
12896DUALCASE=1; export DUALCASE # for MKS sh
12897if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
12898  emulate sh
12899  NULLCMD=:
12900  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12901  # is contrary to our usage.  Disable this feature.
12902  alias -g '${1+"$@"}'='"$@"'
12903  setopt NO_GLOB_SUBST
12904else
12905  case `(set -o) 2>/dev/null` in #(
12906  *posix*) :
12907    set -o posix ;; #(
12908  *) :
12909     ;;
12910esac
12911fi
12912
12913
12914as_nl='
12915'
12916export as_nl
12917# Printing a long string crashes Solaris 7 /usr/bin/printf.
12918as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12919as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12920as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12921# Prefer a ksh shell builtin over an external printf program on Solaris,
12922# but without wasting forks for bash or zsh.
12923if test -z "$BASH_VERSION$ZSH_VERSION" \
12924    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12925  as_echo='print -r --'
12926  as_echo_n='print -rn --'
12927elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12928  as_echo='printf %s\n'
12929  as_echo_n='printf %s'
12930else
12931  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12932    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
12933    as_echo_n='/usr/ucb/echo -n'
12934  else
12935    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12936    as_echo_n_body='eval
12937      arg=$1;
12938      case $arg in #(
12939      *"$as_nl"*)
12940	expr "X$arg" : "X\\(.*\\)$as_nl";
12941	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12942      esac;
12943      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
12944    '
12945    export as_echo_n_body
12946    as_echo_n='sh -c $as_echo_n_body as_echo'
12947  fi
12948  export as_echo_body
12949  as_echo='sh -c $as_echo_body as_echo'
12950fi
12951
12952# The user is always right.
12953if test "${PATH_SEPARATOR+set}" != set; then
12954  PATH_SEPARATOR=:
12955  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12956    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12957      PATH_SEPARATOR=';'
12958  }
12959fi
12960
12961
12962# IFS
12963# We need space, tab and new line, in precisely that order.  Quoting is
12964# there to prevent editors from complaining about space-tab.
12965# (If _AS_PATH_WALK were called with IFS unset, it would disable word
12966# splitting by setting IFS to empty value.)
12967IFS=" ""	$as_nl"
12968
12969# Find who we are.  Look in the path if we contain no directory separator.
12970case $0 in #((
12971  *[\\/]* ) as_myself=$0 ;;
12972  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12973for as_dir in $PATH
12974do
12975  IFS=$as_save_IFS
12976  test -z "$as_dir" && as_dir=.
12977    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12978  done
12979IFS=$as_save_IFS
12980
12981     ;;
12982esac
12983# We did not find ourselves, most probably we were run as `sh COMMAND'
12984# in which case we are not to be found in the path.
12985if test "x$as_myself" = x; then
12986  as_myself=$0
12987fi
12988if test ! -f "$as_myself"; then
12989  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12990  exit 1
12991fi
12992
12993# Unset variables that we do not need and which cause bugs (e.g. in
12994# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
12995# suppresses any "Segmentation fault" message there.  '((' could
12996# trigger a bug in pdksh 5.2.14.
12997for as_var in BASH_ENV ENV MAIL MAILPATH
12998do eval test x\${$as_var+set} = xset \
12999  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13000done
13001PS1='$ '
13002PS2='> '
13003PS4='+ '
13004
13005# NLS nuisances.
13006LC_ALL=C
13007export LC_ALL
13008LANGUAGE=C
13009export LANGUAGE
13010
13011# CDPATH.
13012(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13013
13014
13015# as_fn_error STATUS ERROR [LINENO LOG_FD]
13016# ----------------------------------------
13017# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13018# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13019# script with STATUS, using 1 if that was 0.
13020as_fn_error ()
13021{
13022  as_status=$1; test $as_status -eq 0 && as_status=1
13023  if test "$4"; then
13024    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13025    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13026  fi
13027  $as_echo "$as_me: error: $2" >&2
13028  as_fn_exit $as_status
13029} # as_fn_error
13030
13031
13032# as_fn_set_status STATUS
13033# -----------------------
13034# Set $? to STATUS, without forking.
13035as_fn_set_status ()
13036{
13037  return $1
13038} # as_fn_set_status
13039
13040# as_fn_exit STATUS
13041# -----------------
13042# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13043as_fn_exit ()
13044{
13045  set +e
13046  as_fn_set_status $1
13047  exit $1
13048} # as_fn_exit
13049
13050# as_fn_unset VAR
13051# ---------------
13052# Portably unset VAR.
13053as_fn_unset ()
13054{
13055  { eval $1=; unset $1;}
13056}
13057as_unset=as_fn_unset
13058# as_fn_append VAR VALUE
13059# ----------------------
13060# Append the text in VALUE to the end of the definition contained in VAR. Take
13061# advantage of any shell optimizations that allow amortized linear growth over
13062# repeated appends, instead of the typical quadratic growth present in naive
13063# implementations.
13064if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13065  eval 'as_fn_append ()
13066  {
13067    eval $1+=\$2
13068  }'
13069else
13070  as_fn_append ()
13071  {
13072    eval $1=\$$1\$2
13073  }
13074fi # as_fn_append
13075
13076# as_fn_arith ARG...
13077# ------------------
13078# Perform arithmetic evaluation on the ARGs, and store the result in the
13079# global $as_val. Take advantage of shells that can avoid forks. The arguments
13080# must be portable across $(()) and expr.
13081if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13082  eval 'as_fn_arith ()
13083  {
13084    as_val=$(( $* ))
13085  }'
13086else
13087  as_fn_arith ()
13088  {
13089    as_val=`expr "$@" || test $? -eq 1`
13090  }
13091fi # as_fn_arith
13092
13093
13094if expr a : '\(a\)' >/dev/null 2>&1 &&
13095   test "X`expr 00001 : '.*\(...\)'`" = X001; then
13096  as_expr=expr
13097else
13098  as_expr=false
13099fi
13100
13101if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13102  as_basename=basename
13103else
13104  as_basename=false
13105fi
13106
13107if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13108  as_dirname=dirname
13109else
13110  as_dirname=false
13111fi
13112
13113as_me=`$as_basename -- "$0" ||
13114$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13115	 X"$0" : 'X\(//\)$' \| \
13116	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13117$as_echo X/"$0" |
13118    sed '/^.*\/\([^/][^/]*\)\/*$/{
13119	    s//\1/
13120	    q
13121	  }
13122	  /^X\/\(\/\/\)$/{
13123	    s//\1/
13124	    q
13125	  }
13126	  /^X\/\(\/\).*/{
13127	    s//\1/
13128	    q
13129	  }
13130	  s/.*/./; q'`
13131
13132# Avoid depending upon Character Ranges.
13133as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13134as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13135as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13136as_cr_digits='0123456789'
13137as_cr_alnum=$as_cr_Letters$as_cr_digits
13138
13139ECHO_C= ECHO_N= ECHO_T=
13140case `echo -n x` in #(((((
13141-n*)
13142  case `echo 'xy\c'` in
13143  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
13144  xy)  ECHO_C='\c';;
13145  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
13146       ECHO_T='	';;
13147  esac;;
13148*)
13149  ECHO_N='-n';;
13150esac
13151
13152rm -f conf$$ conf$$.exe conf$$.file
13153if test -d conf$$.dir; then
13154  rm -f conf$$.dir/conf$$.file
13155else
13156  rm -f conf$$.dir
13157  mkdir conf$$.dir 2>/dev/null
13158fi
13159if (echo >conf$$.file) 2>/dev/null; then
13160  if ln -s conf$$.file conf$$ 2>/dev/null; then
13161    as_ln_s='ln -s'
13162    # ... but there are two gotchas:
13163    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13164    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13165    # In both cases, we have to default to `cp -p'.
13166    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13167      as_ln_s='cp -p'
13168  elif ln conf$$.file conf$$ 2>/dev/null; then
13169    as_ln_s=ln
13170  else
13171    as_ln_s='cp -p'
13172  fi
13173else
13174  as_ln_s='cp -p'
13175fi
13176rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13177rmdir conf$$.dir 2>/dev/null
13178
13179
13180# as_fn_mkdir_p
13181# -------------
13182# Create "$as_dir" as a directory, including parents if necessary.
13183as_fn_mkdir_p ()
13184{
13185
13186  case $as_dir in #(
13187  -*) as_dir=./$as_dir;;
13188  esac
13189  test -d "$as_dir" || eval $as_mkdir_p || {
13190    as_dirs=
13191    while :; do
13192      case $as_dir in #(
13193      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13194      *) as_qdir=$as_dir;;
13195      esac
13196      as_dirs="'$as_qdir' $as_dirs"
13197      as_dir=`$as_dirname -- "$as_dir" ||
13198$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13199	 X"$as_dir" : 'X\(//\)[^/]' \| \
13200	 X"$as_dir" : 'X\(//\)$' \| \
13201	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13202$as_echo X"$as_dir" |
13203    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13204	    s//\1/
13205	    q
13206	  }
13207	  /^X\(\/\/\)[^/].*/{
13208	    s//\1/
13209	    q
13210	  }
13211	  /^X\(\/\/\)$/{
13212	    s//\1/
13213	    q
13214	  }
13215	  /^X\(\/\).*/{
13216	    s//\1/
13217	    q
13218	  }
13219	  s/.*/./; q'`
13220      test -d "$as_dir" && break
13221    done
13222    test -z "$as_dirs" || eval "mkdir $as_dirs"
13223  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13224
13225
13226} # as_fn_mkdir_p
13227if mkdir -p . 2>/dev/null; then
13228  as_mkdir_p='mkdir -p "$as_dir"'
13229else
13230  test -d ./-p && rmdir ./-p
13231  as_mkdir_p=false
13232fi
13233
13234if test -x / >/dev/null 2>&1; then
13235  as_test_x='test -x'
13236else
13237  if ls -dL / >/dev/null 2>&1; then
13238    as_ls_L_option=L
13239  else
13240    as_ls_L_option=
13241  fi
13242  as_test_x='
13243    eval sh -c '\''
13244      if test -d "$1"; then
13245	test -d "$1/.";
13246      else
13247	case $1 in #(
13248	-*)set "./$1";;
13249	esac;
13250	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
13251	???[sx]*):;;*)false;;esac;fi
13252    '\'' sh
13253  '
13254fi
13255as_executable_p=$as_test_x
13256
13257# Sed expression to map a string onto a valid CPP name.
13258as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13259
13260# Sed expression to map a string onto a valid variable name.
13261as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13262
13263
13264exec 6>&1
13265## ----------------------------------- ##
13266## Main body of $CONFIG_STATUS script. ##
13267## ----------------------------------- ##
13268_ASEOF
13269test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13270
13271cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13272# Save the log message, to keep $0 and so on meaningful, and to
13273# report actual input values of CONFIG_FILES etc. instead of their
13274# values after options handling.
13275ac_log="
13276This file was extended by fsWalk $as_me 0.5.0, which was
13277generated by GNU Autoconf 2.67.  Invocation command line was
13278
13279  CONFIG_FILES    = $CONFIG_FILES
13280  CONFIG_HEADERS  = $CONFIG_HEADERS
13281  CONFIG_LINKS    = $CONFIG_LINKS
13282  CONFIG_COMMANDS = $CONFIG_COMMANDS
13283  $ $0 $@
13284
13285on `(hostname || uname -n) 2>/dev/null | sed 1q`
13286"
13287
13288_ACEOF
13289
13290case $ac_config_files in *"
13291"*) set x $ac_config_files; shift; ac_config_files=$*;;
13292esac
13293
13294case $ac_config_headers in *"
13295"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13296esac
13297
13298
13299cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13300# Files that config.status was made for.
13301config_files="$ac_config_files"
13302config_headers="$ac_config_headers"
13303config_commands="$ac_config_commands"
13304
13305_ACEOF
13306
13307cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13308ac_cs_usage="\
13309\`$as_me' instantiates files and other configuration actions
13310from templates according to the current configuration.  Unless the files
13311and actions are specified as TAGs, all are instantiated by default.
13312
13313Usage: $0 [OPTION]... [TAG]...
13314
13315  -h, --help       print this help, then exit
13316  -V, --version    print version number and configuration settings, then exit
13317      --config     print configuration, then exit
13318  -q, --quiet, --silent
13319                   do not print progress messages
13320  -d, --debug      don't remove temporary files
13321      --recheck    update $as_me by reconfiguring in the same conditions
13322      --file=FILE[:TEMPLATE]
13323                   instantiate the configuration file FILE
13324      --header=FILE[:TEMPLATE]
13325                   instantiate the configuration header FILE
13326
13327Configuration files:
13328$config_files
13329
13330Configuration headers:
13331$config_headers
13332
13333Configuration commands:
13334$config_commands
13335
13336Report bugs to <https://sourceforge.net/apps/trac/razorbacktm/>."
13337
13338_ACEOF
13339cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13340ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13341ac_cs_version="\\
13342fsWalk config.status 0.5.0
13343configured by $0, generated by GNU Autoconf 2.67,
13344  with options \\"\$ac_cs_config\\"
13345
13346Copyright (C) 2010 Free Software Foundation, Inc.
13347This config.status script is free software; the Free Software Foundation
13348gives unlimited permission to copy, distribute and modify it."
13349
13350ac_pwd='$ac_pwd'
13351srcdir='$srcdir'
13352INSTALL='$INSTALL'
13353MKDIR_P='$MKDIR_P'
13354AWK='$AWK'
13355test -n "\$AWK" || AWK=awk
13356_ACEOF
13357
13358cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13359# The default lists apply if the user does not specify any file.
13360ac_need_defaults=:
13361while test $# != 0
13362do
13363  case $1 in
13364  --*=?*)
13365    ac_option=`expr "X$1" : 'X\([^=]*\)='`
13366    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13367    ac_shift=:
13368    ;;
13369  --*=)
13370    ac_option=`expr "X$1" : 'X\([^=]*\)='`
13371    ac_optarg=
13372    ac_shift=:
13373    ;;
13374  *)
13375    ac_option=$1
13376    ac_optarg=$2
13377    ac_shift=shift
13378    ;;
13379  esac
13380
13381  case $ac_option in
13382  # Handling of the options.
13383  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13384    ac_cs_recheck=: ;;
13385  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13386    $as_echo "$ac_cs_version"; exit ;;
13387  --config | --confi | --conf | --con | --co | --c )
13388    $as_echo "$ac_cs_config"; exit ;;
13389  --debug | --debu | --deb | --de | --d | -d )
13390    debug=: ;;
13391  --file | --fil | --fi | --f )
13392    $ac_shift
13393    case $ac_optarg in
13394    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13395    '') as_fn_error $? "missing file argument" ;;
13396    esac
13397    as_fn_append CONFIG_FILES " '$ac_optarg'"
13398    ac_need_defaults=false;;
13399  --header | --heade | --head | --hea )
13400    $ac_shift
13401    case $ac_optarg in
13402    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13403    esac
13404    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13405    ac_need_defaults=false;;
13406  --he | --h)
13407    # Conflict between --help and --header
13408    as_fn_error $? "ambiguous option: \`$1'
13409Try \`$0 --help' for more information.";;
13410  --help | --hel | -h )
13411    $as_echo "$ac_cs_usage"; exit ;;
13412  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13413  | -silent | --silent | --silen | --sile | --sil | --si | --s)
13414    ac_cs_silent=: ;;
13415
13416  # This is an error.
13417  -*) as_fn_error $? "unrecognized option: \`$1'
13418Try \`$0 --help' for more information." ;;
13419
13420  *) as_fn_append ac_config_targets " $1"
13421     ac_need_defaults=false ;;
13422
13423  esac
13424  shift
13425done
13426
13427ac_configure_extra_args=
13428
13429if $ac_cs_silent; then
13430  exec 6>/dev/null
13431  ac_configure_extra_args="$ac_configure_extra_args --silent"
13432fi
13433
13434_ACEOF
13435cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13436if \$ac_cs_recheck; then
13437  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13438  shift
13439  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13440  CONFIG_SHELL='$SHELL'
13441  export CONFIG_SHELL
13442  exec "\$@"
13443fi
13444
13445_ACEOF
13446cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13447exec 5>>config.log
13448{
13449  echo
13450  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13451## Running $as_me. ##
13452_ASBOX
13453  $as_echo "$ac_log"
13454} >&5
13455
13456_ACEOF
13457cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13458#
13459# INIT-COMMANDS
13460#
13461AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13462
13463
13464# The HP-UX ksh and POSIX shell print the target directory to stdout
13465# if CDPATH is set.
13466(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13467
13468sed_quote_subst='$sed_quote_subst'
13469double_quote_subst='$double_quote_subst'
13470delay_variable_subst='$delay_variable_subst'
13471macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
13472macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
13473enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
13474enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
13475pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
13476enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
13477host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
13478host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
13479host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
13480build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
13481build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
13482build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
13483SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
13484Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
13485GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
13486EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
13487FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
13488LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
13489NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
13490LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
13491max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
13492ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
13493exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
13494lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
13495lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
13496lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
13497reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
13498reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13499OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
13500deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
13501file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
13502AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
13503AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13504STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
13505RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
13506old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13507old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13508old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13509CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
13510CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13511compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
13512GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
13513lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
13514lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
13515lt_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"`'
13516lt_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"`'
13517objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
13518SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
13519ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
13520MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
13521lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
13522lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
13523lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
13524lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
13525lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
13526need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
13527DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
13528NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
13529LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
13530OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
13531OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
13532libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
13533shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13534extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13535archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
13536enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
13537export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13538whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13539compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
13540old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13541old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13542archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13543archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13544module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13545module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13546with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
13547allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13548no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13549hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13550hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
13551hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
13552hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
13553hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
13554hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
13555hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13556hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
13557inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
13558link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
13559fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
13560always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
13561export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13562exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13563include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13564prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13565file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
13566variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
13567need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
13568need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
13569version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
13570runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13571shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13572shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
13573libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13574library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
13575soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13576postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13577postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13578finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13579finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
13580hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
13581sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13582sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13583hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
13584enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
13585enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
13586enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
13587old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
13588striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
13589
13590LTCC='$LTCC'
13591LTCFLAGS='$LTCFLAGS'
13592compiler='$compiler_DEFAULT'
13593
13594# Quote evaled strings.
13595for var in SED \
13596GREP \
13597EGREP \
13598FGREP \
13599LD \
13600NM \
13601LN_S \
13602lt_SP2NL \
13603lt_NL2SP \
13604reload_flag \
13605OBJDUMP \
13606deplibs_check_method \
13607file_magic_cmd \
13608AR \
13609AR_FLAGS \
13610STRIP \
13611RANLIB \
13612CC \
13613CFLAGS \
13614compiler \
13615lt_cv_sys_global_symbol_pipe \
13616lt_cv_sys_global_symbol_to_cdecl \
13617lt_cv_sys_global_symbol_to_c_name_address \
13618lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13619SHELL \
13620ECHO \
13621lt_prog_compiler_no_builtin_flag \
13622lt_prog_compiler_wl \
13623lt_prog_compiler_pic \
13624lt_prog_compiler_static \
13625lt_cv_prog_compiler_c_o \
13626need_locks \
13627DSYMUTIL \
13628NMEDIT \
13629LIPO \
13630OTOOL \
13631OTOOL64 \
13632shrext_cmds \
13633export_dynamic_flag_spec \
13634whole_archive_flag_spec \
13635compiler_needs_object \
13636with_gnu_ld \
13637allow_undefined_flag \
13638no_undefined_flag \
13639hardcode_libdir_flag_spec \
13640hardcode_libdir_flag_spec_ld \
13641hardcode_libdir_separator \
13642fix_srcfile_path \
13643exclude_expsyms \
13644include_expsyms \
13645file_list_spec \
13646variables_saved_for_relink \
13647libname_spec \
13648library_names_spec \
13649soname_spec \
13650finish_eval \
13651old_striplib \
13652striplib; do
13653    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13654    *[\\\\\\\`\\"\\\$]*)
13655      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13656      ;;
13657    *)
13658      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13659      ;;
13660    esac
13661done
13662
13663# Double-quote double-evaled strings.
13664for var in reload_cmds \
13665old_postinstall_cmds \
13666old_postuninstall_cmds \
13667old_archive_cmds \
13668extract_expsyms_cmds \
13669old_archive_from_new_cmds \
13670old_archive_from_expsyms_cmds \
13671archive_cmds \
13672archive_expsym_cmds \
13673module_cmds \
13674module_expsym_cmds \
13675export_symbols_cmds \
13676prelink_cmds \
13677postinstall_cmds \
13678postuninstall_cmds \
13679finish_cmds \
13680sys_lib_search_path_spec \
13681sys_lib_dlsearch_path_spec; do
13682    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13683    *[\\\\\\\`\\"\\\$]*)
13684      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13685      ;;
13686    *)
13687      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13688      ;;
13689    esac
13690done
13691
13692# Fix-up fallback echo if it was mangled by the above quoting rules.
13693case \$lt_ECHO in
13694*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
13695  ;;
13696esac
13697
13698ac_aux_dir='$ac_aux_dir'
13699xsi_shell='$xsi_shell'
13700lt_shell_append='$lt_shell_append'
13701
13702# See if we are running on zsh, and set the options which allow our
13703# commands through without removal of \ escapes INIT.
13704if test -n "\${ZSH_VERSION+set}" ; then
13705   setopt NO_GLOB_SUBST
13706fi
13707
13708
13709    PACKAGE='$PACKAGE'
13710    VERSION='$VERSION'
13711    TIMESTAMP='$TIMESTAMP'
13712    RM='$RM'
13713    ofile='$ofile'
13714
13715
13716
13717
13718_ACEOF
13719
13720cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13721
13722# Handling of arguments.
13723for ac_config_target in $ac_config_targets
13724do
13725  case $ac_config_target in
13726    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
13727    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13728    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13729    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13730    "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
13731    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
13732    "etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
13733
13734  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
13735  esac
13736done
13737
13738
13739# If the user did not use the arguments to specify the items to instantiate,
13740# then the envvar interface is used.  Set only those that are not.
13741# We use the long form for the default assignment because of an extremely
13742# bizarre bug on SunOS 4.1.3.
13743if $ac_need_defaults; then
13744  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13745  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13746  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13747fi
13748
13749# Have a temporary directory for convenience.  Make it in the build tree
13750# simply because there is no reason against having it here, and in addition,
13751# creating and moving files from /tmp can sometimes cause problems.
13752# Hook for its removal unless debugging.
13753# Note that there is a small window in which the directory will not be cleaned:
13754# after its creation but before its name has been assigned to `$tmp'.
13755$debug ||
13756{
13757  tmp=
13758  trap 'exit_status=$?
13759  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13760' 0
13761  trap 'as_fn_exit 1' 1 2 13 15
13762}
13763# Create a (secure) tmp directory for tmp files.
13764
13765{
13766  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13767  test -n "$tmp" && test -d "$tmp"
13768}  ||
13769{
13770  tmp=./conf$$-$RANDOM
13771  (umask 077 && mkdir "$tmp")
13772} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
13773
13774# Set up the scripts for CONFIG_FILES section.
13775# No need to generate them if there are no CONFIG_FILES.
13776# This happens for instance with `./config.status config.h'.
13777if test -n "$CONFIG_FILES"; then
13778
13779
13780ac_cr=`echo X | tr X '\015'`
13781# On cygwin, bash can eat \r inside `` if the user requested igncr.
13782# But we know of no other shell where ac_cr would be empty at this
13783# point, so we can use a bashism as a fallback.
13784if test "x$ac_cr" = x; then
13785  eval ac_cr=\$\'\\r\'
13786fi
13787ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13788if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13789  ac_cs_awk_cr='\\r'
13790else
13791  ac_cs_awk_cr=$ac_cr
13792fi
13793
13794echo 'BEGIN {' >"$tmp/subs1.awk" &&
13795_ACEOF
13796
13797
13798{
13799  echo "cat >conf$$subs.awk <<_ACEOF" &&
13800  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13801  echo "_ACEOF"
13802} >conf$$subs.sh ||
13803  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13804ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13805ac_delim='%!_!# '
13806for ac_last_try in false false false false false :; do
13807  . ./conf$$subs.sh ||
13808    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13809
13810  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13811  if test $ac_delim_n = $ac_delim_num; then
13812    break
13813  elif $ac_last_try; then
13814    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13815  else
13816    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13817  fi
13818done
13819rm -f conf$$subs.sh
13820
13821cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13822cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
13823_ACEOF
13824sed -n '
13825h
13826s/^/S["/; s/!.*/"]=/
13827p
13828g
13829s/^[^!]*!//
13830:repl
13831t repl
13832s/'"$ac_delim"'$//
13833t delim
13834:nl
13835h
13836s/\(.\{148\}\)..*/\1/
13837t more1
13838s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13839p
13840n
13841b repl
13842:more1
13843s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13844p
13845g
13846s/.\{148\}//
13847t nl
13848:delim
13849h
13850s/\(.\{148\}\)..*/\1/
13851t more2
13852s/["\\]/\\&/g; s/^/"/; s/$/"/
13853p
13854b
13855:more2
13856s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13857p
13858g
13859s/.\{148\}//
13860t delim
13861' <conf$$subs.awk | sed '
13862/^[^""]/{
13863  N
13864  s/\n//
13865}
13866' >>$CONFIG_STATUS || ac_write_fail=1
13867rm -f conf$$subs.awk
13868cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13869_ACAWK
13870cat >>"\$tmp/subs1.awk" <<_ACAWK &&
13871  for (key in S) S_is_set[key] = 1
13872  FS = ""
13873
13874}
13875{
13876  line = $ 0
13877  nfields = split(line, field, "@")
13878  substed = 0
13879  len = length(field[1])
13880  for (i = 2; i < nfields; i++) {
13881    key = field[i]
13882    keylen = length(key)
13883    if (S_is_set[key]) {
13884      value = S[key]
13885      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13886      len += length(value) + length(field[++i])
13887      substed = 1
13888    } else
13889      len += 1 + keylen
13890  }
13891
13892  print line
13893}
13894
13895_ACAWK
13896_ACEOF
13897cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13898if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13899  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
13900else
13901  cat
13902fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
13903  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
13904_ACEOF
13905
13906# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13907# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
13908# trailing colons and then remove the whole line if VPATH becomes empty
13909# (actually we leave an empty line to preserve line numbers).
13910if test "x$srcdir" = x.; then
13911  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
13912h
13913s///
13914s/^/:/
13915s/[	 ]*$/:/
13916s/:\$(srcdir):/:/g
13917s/:\${srcdir}:/:/g
13918s/:@srcdir@:/:/g
13919s/^:*//
13920s/:*$//
13921x
13922s/\(=[	 ]*\).*/\1/
13923G
13924s/\n//
13925s/^[^=]*=[	 ]*$//
13926}'
13927fi
13928
13929cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13930fi # test -n "$CONFIG_FILES"
13931
13932# Set up the scripts for CONFIG_HEADERS section.
13933# No need to generate them if there are no CONFIG_HEADERS.
13934# This happens for instance with `./config.status Makefile'.
13935if test -n "$CONFIG_HEADERS"; then
13936cat >"$tmp/defines.awk" <<\_ACAWK ||
13937BEGIN {
13938_ACEOF
13939
13940# Transform confdefs.h into an awk script `defines.awk', embedded as
13941# here-document in config.status, that substitutes the proper values into
13942# config.h.in to produce config.h.
13943
13944# Create a delimiter string that does not exist in confdefs.h, to ease
13945# handling of long lines.
13946ac_delim='%!_!# '
13947for ac_last_try in false false :; do
13948  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
13949  if test -z "$ac_t"; then
13950    break
13951  elif $ac_last_try; then
13952    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
13953  else
13954    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13955  fi
13956done
13957
13958# For the awk script, D is an array of macro values keyed by name,
13959# likewise P contains macro parameters if any.  Preserve backslash
13960# newline sequences.
13961
13962ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13963sed -n '
13964s/.\{148\}/&'"$ac_delim"'/g
13965t rset
13966:rset
13967s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
13968t def
13969d
13970:def
13971s/\\$//
13972t bsnl
13973s/["\\]/\\&/g
13974s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
13975D["\1"]=" \3"/p
13976s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
13977d
13978:bsnl
13979s/["\\]/\\&/g
13980s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
13981D["\1"]=" \3\\\\\\n"\\/p
13982t cont
13983s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
13984t cont
13985d
13986:cont
13987n
13988s/.\{148\}/&'"$ac_delim"'/g
13989t clear
13990:clear
13991s/\\$//
13992t bsnlc
13993s/["\\]/\\&/g; s/^/"/; s/$/"/p
13994d
13995:bsnlc
13996s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
13997b cont
13998' <confdefs.h | sed '
13999s/'"$ac_delim"'/"\\\
14000"/g' >>$CONFIG_STATUS || ac_write_fail=1
14001
14002cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14003  for (key in D) D_is_set[key] = 1
14004  FS = ""
14005}
14006/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14007  line = \$ 0
14008  split(line, arg, " ")
14009  if (arg[1] == "#") {
14010    defundef = arg[2]
14011    mac1 = arg[3]
14012  } else {
14013    defundef = substr(arg[1], 2)
14014    mac1 = arg[2]
14015  }
14016  split(mac1, mac2, "(") #)
14017  macro = mac2[1]
14018  prefix = substr(line, 1, index(line, defundef) - 1)
14019  if (D_is_set[macro]) {
14020    # Preserve the white space surrounding the "#".
14021    print prefix "define", macro P[macro] D[macro]
14022    next
14023  } else {
14024    # Replace #undef with comments.  This is necessary, for example,
14025    # in the case of _POSIX_SOURCE, which is predefined and required
14026    # on some systems where configure will not decide to define it.
14027    if (defundef == "undef") {
14028      print "/*", prefix defundef, macro, "*/"
14029      next
14030    }
14031  }
14032}
14033{ print }
14034_ACAWK
14035_ACEOF
14036cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14037  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
14038fi # test -n "$CONFIG_HEADERS"
14039
14040
14041eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
14042shift
14043for ac_tag
14044do
14045  case $ac_tag in
14046  :[FHLC]) ac_mode=$ac_tag; continue;;
14047  esac
14048  case $ac_mode$ac_tag in
14049  :[FHL]*:*);;
14050  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
14051  :[FH]-) ac_tag=-:-;;
14052  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14053  esac
14054  ac_save_IFS=$IFS
14055  IFS=:
14056  set x $ac_tag
14057  IFS=$ac_save_IFS
14058  shift
14059  ac_file=$1
14060  shift
14061
14062  case $ac_mode in
14063  :L) ac_source=$1;;
14064  :[FH])
14065    ac_file_inputs=
14066    for ac_f
14067    do
14068      case $ac_f in
14069      -) ac_f="$tmp/stdin";;
14070      *) # Look for the file first in the build tree, then in the source tree
14071	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
14072	 # because $ac_f cannot contain `:'.
14073	 test -f "$ac_f" ||
14074	   case $ac_f in
14075	   [\\/$]*) false;;
14076	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14077	   esac ||
14078	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
14079      esac
14080      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14081      as_fn_append ac_file_inputs " '$ac_f'"
14082    done
14083
14084    # Let's still pretend it is `configure' which instantiates (i.e., don't
14085    # use $as_me), people would be surprised to read:
14086    #    /* config.h.  Generated by config.status.  */
14087    configure_input='Generated from '`
14088	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14089	`' by configure.'
14090    if test x"$ac_file" != x-; then
14091      configure_input="$ac_file.  $configure_input"
14092      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14093$as_echo "$as_me: creating $ac_file" >&6;}
14094    fi
14095    # Neutralize special characters interpreted by sed in replacement strings.
14096    case $configure_input in #(
14097    *\&* | *\|* | *\\* )
14098       ac_sed_conf_input=`$as_echo "$configure_input" |
14099       sed 's/[\\\\&|]/\\\\&/g'`;; #(
14100    *) ac_sed_conf_input=$configure_input;;
14101    esac
14102
14103    case $ac_tag in
14104    *:-:* | *:-) cat >"$tmp/stdin" \
14105      || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
14106    esac
14107    ;;
14108  esac
14109
14110  ac_dir=`$as_dirname -- "$ac_file" ||
14111$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14112	 X"$ac_file" : 'X\(//\)[^/]' \| \
14113	 X"$ac_file" : 'X\(//\)$' \| \
14114	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14115$as_echo X"$ac_file" |
14116    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14117	    s//\1/
14118	    q
14119	  }
14120	  /^X\(\/\/\)[^/].*/{
14121	    s//\1/
14122	    q
14123	  }
14124	  /^X\(\/\/\)$/{
14125	    s//\1/
14126	    q
14127	  }
14128	  /^X\(\/\).*/{
14129	    s//\1/
14130	    q
14131	  }
14132	  s/.*/./; q'`
14133  as_dir="$ac_dir"; as_fn_mkdir_p
14134  ac_builddir=.
14135
14136case "$ac_dir" in
14137.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14138*)
14139  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14140  # A ".." for each directory in $ac_dir_suffix.
14141  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14142  case $ac_top_builddir_sub in
14143  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14144  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14145  esac ;;
14146esac
14147ac_abs_top_builddir=$ac_pwd
14148ac_abs_builddir=$ac_pwd$ac_dir_suffix
14149# for backward compatibility:
14150ac_top_builddir=$ac_top_build_prefix
14151
14152case $srcdir in
14153  .)  # We are building in place.
14154    ac_srcdir=.
14155    ac_top_srcdir=$ac_top_builddir_sub
14156    ac_abs_top_srcdir=$ac_pwd ;;
14157  [\\/]* | ?:[\\/]* )  # Absolute name.
14158    ac_srcdir=$srcdir$ac_dir_suffix;
14159    ac_top_srcdir=$srcdir
14160    ac_abs_top_srcdir=$srcdir ;;
14161  *) # Relative name.
14162    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14163    ac_top_srcdir=$ac_top_build_prefix$srcdir
14164    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14165esac
14166ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14167
14168
14169  case $ac_mode in
14170  :F)
14171  #
14172  # CONFIG_FILE
14173  #
14174
14175  case $INSTALL in
14176  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14177  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14178  esac
14179  ac_MKDIR_P=$MKDIR_P
14180  case $MKDIR_P in
14181  [\\/$]* | ?:[\\/]* ) ;;
14182  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14183  esac
14184_ACEOF
14185
14186cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14187# If the template does not know about datarootdir, expand it.
14188# FIXME: This hack should be removed a few years after 2.60.
14189ac_datarootdir_hack=; ac_datarootdir_seen=
14190ac_sed_dataroot='
14191/datarootdir/ {
14192  p
14193  q
14194}
14195/@datadir@/p
14196/@docdir@/p
14197/@infodir@/p
14198/@localedir@/p
14199/@mandir@/p'
14200case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14201*datarootdir*) ac_datarootdir_seen=yes;;
14202*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14203  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14204$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14205_ACEOF
14206cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14207  ac_datarootdir_hack='
14208  s&@datadir@&$datadir&g
14209  s&@docdir@&$docdir&g
14210  s&@infodir@&$infodir&g
14211  s&@localedir@&$localedir&g
14212  s&@mandir@&$mandir&g
14213  s&\\\${datarootdir}&$datarootdir&g' ;;
14214esac
14215_ACEOF
14216
14217# Neutralize VPATH when `$srcdir' = `.'.
14218# Shell code in configure.ac might set extrasub.
14219# FIXME: do we really want to maintain this feature?
14220cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14221ac_sed_extra="$ac_vpsub
14222$extrasub
14223_ACEOF
14224cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14225:t
14226/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14227s|@configure_input@|$ac_sed_conf_input|;t t
14228s&@top_builddir@&$ac_top_builddir_sub&;t t
14229s&@top_build_prefix@&$ac_top_build_prefix&;t t
14230s&@srcdir@&$ac_srcdir&;t t
14231s&@abs_srcdir@&$ac_abs_srcdir&;t t
14232s&@top_srcdir@&$ac_top_srcdir&;t t
14233s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14234s&@builddir@&$ac_builddir&;t t
14235s&@abs_builddir@&$ac_abs_builddir&;t t
14236s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14237s&@INSTALL@&$ac_INSTALL&;t t
14238s&@MKDIR_P@&$ac_MKDIR_P&;t t
14239$ac_datarootdir_hack
14240"
14241eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
14242  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14243
14244test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14245  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
14246  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
14247  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14248which seems to be undefined.  Please make sure it is defined" >&5
14249$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14250which seems to be undefined.  Please make sure it is defined" >&2;}
14251
14252  rm -f "$tmp/stdin"
14253  case $ac_file in
14254  -) cat "$tmp/out" && rm -f "$tmp/out";;
14255  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
14256  esac \
14257  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14258 ;;
14259  :H)
14260  #
14261  # CONFIG_HEADER
14262  #
14263  if test x"$ac_file" != x-; then
14264    {
14265      $as_echo "/* $configure_input  */" \
14266      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
14267    } >"$tmp/config.h" \
14268      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14269    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
14270      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14271$as_echo "$as_me: $ac_file is unchanged" >&6;}
14272    else
14273      rm -f "$ac_file"
14274      mv "$tmp/config.h" "$ac_file" \
14275	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
14276    fi
14277  else
14278    $as_echo "/* $configure_input  */" \
14279      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
14280      || as_fn_error $? "could not create -" "$LINENO" 5
14281  fi
14282# Compute "$ac_file"'s index in $config_headers.
14283_am_arg="$ac_file"
14284_am_stamp_count=1
14285for _am_header in $config_headers :; do
14286  case $_am_header in
14287    $_am_arg | $_am_arg:* )
14288      break ;;
14289    * )
14290      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14291  esac
14292done
14293echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14294$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14295	 X"$_am_arg" : 'X\(//\)[^/]' \| \
14296	 X"$_am_arg" : 'X\(//\)$' \| \
14297	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14298$as_echo X"$_am_arg" |
14299    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14300	    s//\1/
14301	    q
14302	  }
14303	  /^X\(\/\/\)[^/].*/{
14304	    s//\1/
14305	    q
14306	  }
14307	  /^X\(\/\/\)$/{
14308	    s//\1/
14309	    q
14310	  }
14311	  /^X\(\/\).*/{
14312	    s//\1/
14313	    q
14314	  }
14315	  s/.*/./; q'`/stamp-h$_am_stamp_count
14316 ;;
14317
14318  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14319$as_echo "$as_me: executing $ac_file commands" >&6;}
14320 ;;
14321  esac
14322
14323
14324  case $ac_file$ac_mode in
14325    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14326  # Autoconf 2.62 quotes --file arguments for eval, but not when files
14327  # are listed without --file.  Let's play safe and only enable the eval
14328  # if we detect the quoting.
14329  case $CONFIG_FILES in
14330  *\'*) eval set x "$CONFIG_FILES" ;;
14331  *)   set x $CONFIG_FILES ;;
14332  esac
14333  shift
14334  for mf
14335  do
14336    # Strip MF so we end up with the name of the file.
14337    mf=`echo "$mf" | sed -e 's/:.*$//'`
14338    # Check whether this is an Automake generated Makefile or not.
14339    # We used to match only the files named `Makefile.in', but
14340    # some people rename them; so instead we look at the file content.
14341    # Grep'ing the first line is not enough: some people post-process
14342    # each Makefile.in and add a new line on top of each file to say so.
14343    # Grep'ing the whole file is not good either: AIX grep has a line
14344    # limit of 2048, but all sed's we know have understand at least 4000.
14345    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14346      dirpart=`$as_dirname -- "$mf" ||
14347$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14348	 X"$mf" : 'X\(//\)[^/]' \| \
14349	 X"$mf" : 'X\(//\)$' \| \
14350	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14351$as_echo X"$mf" |
14352    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14353	    s//\1/
14354	    q
14355	  }
14356	  /^X\(\/\/\)[^/].*/{
14357	    s//\1/
14358	    q
14359	  }
14360	  /^X\(\/\/\)$/{
14361	    s//\1/
14362	    q
14363	  }
14364	  /^X\(\/\).*/{
14365	    s//\1/
14366	    q
14367	  }
14368	  s/.*/./; q'`
14369    else
14370      continue
14371    fi
14372    # Extract the definition of DEPDIR, am__include, and am__quote
14373    # from the Makefile without running `make'.
14374    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14375    test -z "$DEPDIR" && continue
14376    am__include=`sed -n 's/^am__include = //p' < "$mf"`
14377    test -z "am__include" && continue
14378    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14379    # When using ansi2knr, U may be empty or an underscore; expand it
14380    U=`sed -n 's/^U = //p' < "$mf"`
14381    # Find all dependency output files, they are included files with
14382    # $(DEPDIR) in their names.  We invoke sed twice because it is the
14383    # simplest approach to changing $(DEPDIR) to its actual value in the
14384    # expansion.
14385    for file in `sed -n "
14386      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14387	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14388      # Make sure the directory exists.
14389      test -f "$dirpart/$file" && continue
14390      fdir=`$as_dirname -- "$file" ||
14391$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14392	 X"$file" : 'X\(//\)[^/]' \| \
14393	 X"$file" : 'X\(//\)$' \| \
14394	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14395$as_echo X"$file" |
14396    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14397	    s//\1/
14398	    q
14399	  }
14400	  /^X\(\/\/\)[^/].*/{
14401	    s//\1/
14402	    q
14403	  }
14404	  /^X\(\/\/\)$/{
14405	    s//\1/
14406	    q
14407	  }
14408	  /^X\(\/\).*/{
14409	    s//\1/
14410	    q
14411	  }
14412	  s/.*/./; q'`
14413      as_dir=$dirpart/$fdir; as_fn_mkdir_p
14414      # echo "creating $dirpart/$file"
14415      echo '# dummy' > "$dirpart/$file"
14416    done
14417  done
14418}
14419 ;;
14420    "libtool":C)
14421
14422    # See if we are running on zsh, and set the options which allow our
14423    # commands through without removal of \ escapes.
14424    if test -n "${ZSH_VERSION+set}" ; then
14425      setopt NO_GLOB_SUBST
14426    fi
14427
14428    cfgfile="${ofile}T"
14429    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14430    $RM "$cfgfile"
14431
14432    cat <<_LT_EOF >> "$cfgfile"
14433#! $SHELL
14434
14435# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14436# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14437# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14438# NOTE: Changes made to this file will be lost: look at ltmain.sh.
14439#
14440#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14441#                 2006, 2007, 2008 Free Software Foundation, Inc.
14442#   Written by Gordon Matzigkeit, 1996
14443#
14444#   This file is part of GNU Libtool.
14445#
14446# GNU Libtool is free software; you can redistribute it and/or
14447# modify it under the terms of the GNU General Public License as
14448# published by the Free Software Foundation; either version 2 of
14449# the License, or (at your option) any later version.
14450#
14451# As a special exception to the GNU General Public License,
14452# if you distribute this file as part of a program or library that
14453# is built using GNU Libtool, you may include this file under the
14454# same distribution terms that you use for the rest of that program.
14455#
14456# GNU Libtool is distributed in the hope that it will be useful,
14457# but WITHOUT ANY WARRANTY; without even the implied warranty of
14458# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14459# GNU General Public License for more details.
14460#
14461# You should have received a copy of the GNU General Public License
14462# along with GNU Libtool; see the file COPYING.  If not, a copy
14463# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14464# obtained by writing to the Free Software Foundation, Inc.,
14465# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14466
14467
14468# The names of the tagged configurations supported by this script.
14469available_tags=""
14470
14471# ### BEGIN LIBTOOL CONFIG
14472
14473# Which release of libtool.m4 was used?
14474macro_version=$macro_version
14475macro_revision=$macro_revision
14476
14477# Whether or not to build shared libraries.
14478build_libtool_libs=$enable_shared
14479
14480# Whether or not to build static libraries.
14481build_old_libs=$enable_static
14482
14483# What type of objects to build.
14484pic_mode=$pic_mode
14485
14486# Whether or not to optimize for fast installation.
14487fast_install=$enable_fast_install
14488
14489# The host system.
14490host_alias=$host_alias
14491host=$host
14492host_os=$host_os
14493
14494# The build system.
14495build_alias=$build_alias
14496build=$build
14497build_os=$build_os
14498
14499# A sed program that does not truncate output.
14500SED=$lt_SED
14501
14502# Sed that helps us avoid accidentally triggering echo(1) options like -n.
14503Xsed="\$SED -e 1s/^X//"
14504
14505# A grep program that handles long lines.
14506GREP=$lt_GREP
14507
14508# An ERE matcher.
14509EGREP=$lt_EGREP
14510
14511# A literal string matcher.
14512FGREP=$lt_FGREP
14513
14514# A BSD- or MS-compatible name lister.
14515NM=$lt_NM
14516
14517# Whether we need soft or hard links.
14518LN_S=$lt_LN_S
14519
14520# What is the maximum length of a command?
14521max_cmd_len=$max_cmd_len
14522
14523# Object file suffix (normally "o").
14524objext=$ac_objext
14525
14526# Executable file suffix (normally "").
14527exeext=$exeext
14528
14529# whether the shell understands "unset".
14530lt_unset=$lt_unset
14531
14532# turn spaces into newlines.
14533SP2NL=$lt_lt_SP2NL
14534
14535# turn newlines into spaces.
14536NL2SP=$lt_lt_NL2SP
14537
14538# How to create reloadable object files.
14539reload_flag=$lt_reload_flag
14540reload_cmds=$lt_reload_cmds
14541
14542# An object symbol dumper.
14543OBJDUMP=$lt_OBJDUMP
14544
14545# Method to check whether dependent libraries are shared objects.
14546deplibs_check_method=$lt_deplibs_check_method
14547
14548# Command to use when deplibs_check_method == "file_magic".
14549file_magic_cmd=$lt_file_magic_cmd
14550
14551# The archiver.
14552AR=$lt_AR
14553AR_FLAGS=$lt_AR_FLAGS
14554
14555# A symbol stripping program.
14556STRIP=$lt_STRIP
14557
14558# Commands used to install an old-style archive.
14559RANLIB=$lt_RANLIB
14560old_postinstall_cmds=$lt_old_postinstall_cmds
14561old_postuninstall_cmds=$lt_old_postuninstall_cmds
14562
14563# A C compiler.
14564LTCC=$lt_CC
14565
14566# LTCC compiler flags.
14567LTCFLAGS=$lt_CFLAGS
14568
14569# Take the output of nm and produce a listing of raw symbols and C names.
14570global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14571
14572# Transform the output of nm in a proper C declaration.
14573global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14574
14575# Transform the output of nm in a C name address pair.
14576global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14577
14578# Transform the output of nm in a C name address pair when lib prefix is needed.
14579global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14580
14581# The name of the directory that contains temporary libtool files.
14582objdir=$objdir
14583
14584# Shell to use when invoking shell scripts.
14585SHELL=$lt_SHELL
14586
14587# An echo program that does not interpret backslashes.
14588ECHO=$lt_ECHO
14589
14590# Used to examine libraries when file_magic_cmd begins with "file".
14591MAGIC_CMD=$MAGIC_CMD
14592
14593# Must we lock files when doing compilation?
14594need_locks=$lt_need_locks
14595
14596# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14597DSYMUTIL=$lt_DSYMUTIL
14598
14599# Tool to change global to local symbols on Mac OS X.
14600NMEDIT=$lt_NMEDIT
14601
14602# Tool to manipulate fat objects and archives on Mac OS X.
14603LIPO=$lt_LIPO
14604
14605# ldd/readelf like tool for Mach-O binaries on Mac OS X.
14606OTOOL=$lt_OTOOL
14607
14608# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14609OTOOL64=$lt_OTOOL64
14610
14611# Old archive suffix (normally "a").
14612libext=$libext
14613
14614# Shared library suffix (normally ".so").
14615shrext_cmds=$lt_shrext_cmds
14616
14617# The commands to extract the exported symbol list from a shared archive.
14618extract_expsyms_cmds=$lt_extract_expsyms_cmds
14619
14620# Variables whose values should be saved in libtool wrapper scripts and
14621# restored at link time.
14622variables_saved_for_relink=$lt_variables_saved_for_relink
14623
14624# Do we need the "lib" prefix for modules?
14625need_lib_prefix=$need_lib_prefix
14626
14627# Do we need a version for libraries?
14628need_version=$need_version
14629
14630# Library versioning type.
14631version_type=$version_type
14632
14633# Shared library runtime path variable.
14634runpath_var=$runpath_var
14635
14636# Shared library path variable.
14637shlibpath_var=$shlibpath_var
14638
14639# Is shlibpath searched before the hard-coded library search path?
14640shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14641
14642# Format of library name prefix.
14643libname_spec=$lt_libname_spec
14644
14645# List of archive names.  First name is the real one, the rest are links.
14646# The last name is the one that the linker finds with -lNAME
14647library_names_spec=$lt_library_names_spec
14648
14649# The coded name of the library, if different from the real name.
14650soname_spec=$lt_soname_spec
14651
14652# Command to use after installation of a shared archive.
14653postinstall_cmds=$lt_postinstall_cmds
14654
14655# Command to use after uninstallation of a shared archive.
14656postuninstall_cmds=$lt_postuninstall_cmds
14657
14658# Commands used to finish a libtool library installation in a directory.
14659finish_cmds=$lt_finish_cmds
14660
14661# As "finish_cmds", except a single script fragment to be evaled but
14662# not shown.
14663finish_eval=$lt_finish_eval
14664
14665# Whether we should hardcode library paths into libraries.
14666hardcode_into_libs=$hardcode_into_libs
14667
14668# Compile-time system search path for libraries.
14669sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14670
14671# Run-time system search path for libraries.
14672sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14673
14674# Whether dlopen is supported.
14675dlopen_support=$enable_dlopen
14676
14677# Whether dlopen of programs is supported.
14678dlopen_self=$enable_dlopen_self
14679
14680# Whether dlopen of statically linked programs is supported.
14681dlopen_self_static=$enable_dlopen_self_static
14682
14683# Commands to strip libraries.
14684old_striplib=$lt_old_striplib
14685striplib=$lt_striplib
14686
14687
14688# The linker used to build libraries.
14689LD=$lt_LD
14690
14691# Commands used to build an old-style archive.
14692old_archive_cmds=$lt_old_archive_cmds
14693
14694# A language specific compiler.
14695CC=$lt_compiler
14696
14697# Is the compiler the GNU compiler?
14698with_gcc=$GCC
14699
14700# Compiler flag to turn off builtin functions.
14701no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14702
14703# How to pass a linker flag through the compiler.
14704wl=$lt_lt_prog_compiler_wl
14705
14706# Additional compiler flags for building library objects.
14707pic_flag=$lt_lt_prog_compiler_pic
14708
14709# Compiler flag to prevent dynamic linking.
14710link_static_flag=$lt_lt_prog_compiler_static
14711
14712# Does compiler simultaneously support -c and -o options?
14713compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14714
14715# Whether or not to add -lc for building shared libraries.
14716build_libtool_need_lc=$archive_cmds_need_lc
14717
14718# Whether or not to disallow shared libs when runtime libs are static.
14719allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14720
14721# Compiler flag to allow reflexive dlopens.
14722export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14723
14724# Compiler flag to generate shared objects directly from archives.
14725whole_archive_flag_spec=$lt_whole_archive_flag_spec
14726
14727# Whether the compiler copes with passing no objects directly.
14728compiler_needs_object=$lt_compiler_needs_object
14729
14730# Create an old-style archive from a shared archive.
14731old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14732
14733# Create a temporary old-style archive to link instead of a shared archive.
14734old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14735
14736# Commands used to build a shared archive.
14737archive_cmds=$lt_archive_cmds
14738archive_expsym_cmds=$lt_archive_expsym_cmds
14739
14740# Commands used to build a loadable module if different from building
14741# a shared archive.
14742module_cmds=$lt_module_cmds
14743module_expsym_cmds=$lt_module_expsym_cmds
14744
14745# Whether we are building with GNU ld or not.
14746with_gnu_ld=$lt_with_gnu_ld
14747
14748# Flag that allows shared libraries with undefined symbols to be built.
14749allow_undefined_flag=$lt_allow_undefined_flag
14750
14751# Flag that enforces no undefined symbols.
14752no_undefined_flag=$lt_no_undefined_flag
14753
14754# Flag to hardcode \$libdir into a binary during linking.
14755# This must work even if \$libdir does not exist
14756hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14757
14758# If ld is used when linking, flag to hardcode \$libdir into a binary
14759# during linking.  This must work even if \$libdir does not exist.
14760hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
14761
14762# Whether we need a single "-rpath" flag with a separated argument.
14763hardcode_libdir_separator=$lt_hardcode_libdir_separator
14764
14765# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14766# DIR into the resulting binary.
14767hardcode_direct=$hardcode_direct
14768
14769# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14770# DIR into the resulting binary and the resulting library dependency is
14771# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14772# library is relocated.
14773hardcode_direct_absolute=$hardcode_direct_absolute
14774
14775# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14776# into the resulting binary.
14777hardcode_minus_L=$hardcode_minus_L
14778
14779# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14780# into the resulting binary.
14781hardcode_shlibpath_var=$hardcode_shlibpath_var
14782
14783# Set to "yes" if building a shared library automatically hardcodes DIR
14784# into the library and all subsequent libraries and executables linked
14785# against it.
14786hardcode_automatic=$hardcode_automatic
14787
14788# Set to yes if linker adds runtime paths of dependent libraries
14789# to runtime path list.
14790inherit_rpath=$inherit_rpath
14791
14792# Whether libtool must link a program against all its dependency libraries.
14793link_all_deplibs=$link_all_deplibs
14794
14795# Fix the shell variable \$srcfile for the compiler.
14796fix_srcfile_path=$lt_fix_srcfile_path
14797
14798# Set to "yes" if exported symbols are required.
14799always_export_symbols=$always_export_symbols
14800
14801# The commands to list exported symbols.
14802export_symbols_cmds=$lt_export_symbols_cmds
14803
14804# Symbols that should not be listed in the preloaded symbols.
14805exclude_expsyms=$lt_exclude_expsyms
14806
14807# Symbols that must always be exported.
14808include_expsyms=$lt_include_expsyms
14809
14810# Commands necessary for linking programs (against libraries) with templates.
14811prelink_cmds=$lt_prelink_cmds
14812
14813# Specify filename containing input files.
14814file_list_spec=$lt_file_list_spec
14815
14816# How to hardcode a shared library path into an executable.
14817hardcode_action=$hardcode_action
14818
14819# ### END LIBTOOL CONFIG
14820
14821_LT_EOF
14822
14823  case $host_os in
14824  aix3*)
14825    cat <<\_LT_EOF >> "$cfgfile"
14826# AIX sometimes has problems with the GCC collect2 program.  For some
14827# reason, if we set the COLLECT_NAMES environment variable, the problems
14828# vanish in a puff of smoke.
14829if test "X${COLLECT_NAMES+set}" != Xset; then
14830  COLLECT_NAMES=
14831  export COLLECT_NAMES
14832fi
14833_LT_EOF
14834    ;;
14835  esac
14836
14837
14838ltmain="$ac_aux_dir/ltmain.sh"
14839
14840
14841  # We use sed instead of cat because bash on DJGPP gets confused if
14842  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
14843  # text mode, it properly converts lines to CR/LF.  This bash problem
14844  # is reportedly fixed, but why not run on old versions too?
14845  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
14846    || (rm -f "$cfgfile"; exit 1)
14847
14848  case $xsi_shell in
14849  yes)
14850    cat << \_LT_EOF >> "$cfgfile"
14851
14852# func_dirname file append nondir_replacement
14853# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
14854# otherwise set result to NONDIR_REPLACEMENT.
14855func_dirname ()
14856{
14857  case ${1} in
14858    */*) func_dirname_result="${1%/*}${2}" ;;
14859    *  ) func_dirname_result="${3}" ;;
14860  esac
14861}
14862
14863# func_basename file
14864func_basename ()
14865{
14866  func_basename_result="${1##*/}"
14867}
14868
14869# func_dirname_and_basename file append nondir_replacement
14870# perform func_basename and func_dirname in a single function
14871# call:
14872#   dirname:  Compute the dirname of FILE.  If nonempty,
14873#             add APPEND to the result, otherwise set result
14874#             to NONDIR_REPLACEMENT.
14875#             value returned in "$func_dirname_result"
14876#   basename: Compute filename of FILE.
14877#             value retuned in "$func_basename_result"
14878# Implementation must be kept synchronized with func_dirname
14879# and func_basename. For efficiency, we do not delegate to
14880# those functions but instead duplicate the functionality here.
14881func_dirname_and_basename ()
14882{
14883  case ${1} in
14884    */*) func_dirname_result="${1%/*}${2}" ;;
14885    *  ) func_dirname_result="${3}" ;;
14886  esac
14887  func_basename_result="${1##*/}"
14888}
14889
14890# func_stripname prefix suffix name
14891# strip PREFIX and SUFFIX off of NAME.
14892# PREFIX and SUFFIX must not contain globbing or regex special
14893# characters, hashes, percent signs, but SUFFIX may contain a leading
14894# dot (in which case that matches only a dot).
14895func_stripname ()
14896{
14897  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
14898  # positional parameters, so assign one to ordinary parameter first.
14899  func_stripname_result=${3}
14900  func_stripname_result=${func_stripname_result#"${1}"}
14901  func_stripname_result=${func_stripname_result%"${2}"}
14902}
14903
14904# func_opt_split
14905func_opt_split ()
14906{
14907  func_opt_split_opt=${1%%=*}
14908  func_opt_split_arg=${1#*=}
14909}
14910
14911# func_lo2o object
14912func_lo2o ()
14913{
14914  case ${1} in
14915    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
14916    *)    func_lo2o_result=${1} ;;
14917  esac
14918}
14919
14920# func_xform libobj-or-source
14921func_xform ()
14922{
14923  func_xform_result=${1%.*}.lo
14924}
14925
14926# func_arith arithmetic-term...
14927func_arith ()
14928{
14929  func_arith_result=$(( $* ))
14930}
14931
14932# func_len string
14933# STRING may not start with a hyphen.
14934func_len ()
14935{
14936  func_len_result=${#1}
14937}
14938
14939_LT_EOF
14940    ;;
14941  *) # Bourne compatible functions.
14942    cat << \_LT_EOF >> "$cfgfile"
14943
14944# func_dirname file append nondir_replacement
14945# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
14946# otherwise set result to NONDIR_REPLACEMENT.
14947func_dirname ()
14948{
14949  # Extract subdirectory from the argument.
14950  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
14951  if test "X$func_dirname_result" = "X${1}"; then
14952    func_dirname_result="${3}"
14953  else
14954    func_dirname_result="$func_dirname_result${2}"
14955  fi
14956}
14957
14958# func_basename file
14959func_basename ()
14960{
14961  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
14962}
14963
14964
14965# func_stripname prefix suffix name
14966# strip PREFIX and SUFFIX off of NAME.
14967# PREFIX and SUFFIX must not contain globbing or regex special
14968# characters, hashes, percent signs, but SUFFIX may contain a leading
14969# dot (in which case that matches only a dot).
14970# func_strip_suffix prefix name
14971func_stripname ()
14972{
14973  case ${2} in
14974    .*) func_stripname_result=`$ECHO "X${3}" \
14975           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
14976    *)  func_stripname_result=`$ECHO "X${3}" \
14977           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
14978  esac
14979}
14980
14981# sed scripts:
14982my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
14983my_sed_long_arg='1s/^-[^=]*=//'
14984
14985# func_opt_split
14986func_opt_split ()
14987{
14988  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
14989  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
14990}
14991
14992# func_lo2o object
14993func_lo2o ()
14994{
14995  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
14996}
14997
14998# func_xform libobj-or-source
14999func_xform ()
15000{
15001  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
15002}
15003
15004# func_arith arithmetic-term...
15005func_arith ()
15006{
15007  func_arith_result=`expr "$@"`
15008}
15009
15010# func_len string
15011# STRING may not start with a hyphen.
15012func_len ()
15013{
15014  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
15015}
15016
15017_LT_EOF
15018esac
15019
15020case $lt_shell_append in
15021  yes)
15022    cat << \_LT_EOF >> "$cfgfile"
15023
15024# func_append var value
15025# Append VALUE to the end of shell variable VAR.
15026func_append ()
15027{
15028  eval "$1+=\$2"
15029}
15030_LT_EOF
15031    ;;
15032  *)
15033    cat << \_LT_EOF >> "$cfgfile"
15034
15035# func_append var value
15036# Append VALUE to the end of shell variable VAR.
15037func_append ()
15038{
15039  eval "$1=\$$1\$2"
15040}
15041
15042_LT_EOF
15043    ;;
15044  esac
15045
15046
15047  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
15048    || (rm -f "$cfgfile"; exit 1)
15049
15050  mv -f "$cfgfile" "$ofile" ||
15051    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15052  chmod +x "$ofile"
15053
15054 ;;
15055
15056  esac
15057done # for ac_tag
15058
15059
15060as_fn_exit 0
15061_ACEOF
15062ac_clean_files=$ac_clean_files_save
15063
15064test $ac_write_fail = 0 ||
15065  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15066
15067
15068# configure is writing to config.log, and then calls config.status.
15069# config.status does its own redirection, appending to config.log.
15070# Unfortunately, on DOS this fails, as config.log is still kept open
15071# by configure, so config.status won't be able to write to it; its
15072# output is simply discarded.  So we exec the FD to /dev/null,
15073# effectively closing config.log, so it can be properly (re)opened and
15074# appended to by config.status.  When coming back to configure, we
15075# need to make the FD available again.
15076if test "$no_create" != yes; then
15077  ac_cs_success=:
15078  ac_config_status_args=
15079  test "$silent" = yes &&
15080    ac_config_status_args="$ac_config_status_args --quiet"
15081  exec 5>/dev/null
15082  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15083  exec 5>>config.log
15084  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15085  # would make configure fail if this is the last instruction.
15086  $ac_cs_success || as_fn_exit 1
15087fi
15088if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15089  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15090$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15091fi
15092
15093