1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.67 for swfScanner 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='swfScanner'
703PACKAGE_TARNAME='swfScanner'
704PACKAGE_VERSION='0.5.0'
705PACKAGE_STRING='swfScanner 0.5.0'
706PACKAGE_BUGREPORT='https://sourceforge.net/apps/trac/razorbacktm/'
707PACKAGE_URL=''
708
709ac_unique_file="src/swf_scanner.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
757MASTER_NUGGET
758RAZORBACK_LIBS
759RAZORBACK_CFLAGS
760JSON_LIBS
761JSON_CFLAGS
762LIBCONFIG_LIBS
763LIBCONFIG_CFLAGS
764PKG_CONFIG_LIBDIR
765PKG_CONFIG_PATH
766PKG_CONFIG
767LIBEXECDIR
768SYSCONFDIR
769PLATFORM_FREEBSD_FALSE
770PLATFORM_FREEBSD_TRUE
771PLATFORM_LINUX_FALSE
772PLATFORM_LINUX_TRUE
773CPP
774OTOOL64
775OTOOL
776LIPO
777NMEDIT
778DSYMUTIL
779lt_ECHO
780RANLIB
781AR
782OBJDUMP
783LN_S
784NM
785ac_ct_DUMPBIN
786DUMPBIN
787LD
788FGREP
789EGREP
790GREP
791SED
792LIBTOOL
793am__fastdepCC_FALSE
794am__fastdepCC_TRUE
795CCDEPMODE
796AMDEPBACKSLASH
797AMDEP_FALSE
798AMDEP_TRUE
799am__quote
800am__include
801DEPDIR
802OBJEXT
803EXEEXT
804ac_ct_CC
805CPPFLAGS
806LDFLAGS
807CFLAGS
808CC
809host_os
810host_vendor
811host_cpu
812host
813build_os
814build_vendor
815build_cpu
816build
817am__untar
818am__tar
819AMTAR
820am__leading_dot
821SET_MAKE
822AWK
823mkdir_p
824MKDIR_P
825INSTALL_STRIP_PROGRAM
826STRIP
827install_sh
828MAKEINFO
829AUTOHEADER
830AUTOMAKE
831AUTOCONF
832ACLOCAL
833VERSION
834PACKAGE
835CYGPATH_W
836am__isrc
837INSTALL_DATA
838INSTALL_SCRIPT
839INSTALL_PROGRAM
840target_alias
841host_alias
842build_alias
843LIBS
844ECHO_T
845ECHO_N
846ECHO_C
847DEFS
848mandir
849localedir
850libdir
851psdir
852pdfdir
853dvidir
854htmldir
855infodir
856docdir
857oldincludedir
858includedir
859localstatedir
860sharedstatedir
861sysconfdir
862datadir
863datarootdir
864libexecdir
865sbindir
866bindir
867program_transform_name
868prefix
869exec_prefix
870PACKAGE_URL
871PACKAGE_BUGREPORT
872PACKAGE_STRING
873PACKAGE_VERSION
874PACKAGE_TARNAME
875PACKAGE_NAME
876PATH_SEPARATOR
877SHELL'
878ac_subst_files=''
879ac_user_opts='
880enable_option_checking
881enable_dependency_tracking
882enable_shared
883enable_static
884with_pic
885enable_fast_install
886with_gnu_ld
887enable_libtool_lock
888enable_debug
889enable_assert
890enable_unimplemented
891enable_inline
892enable_perf
893enable_profile
894with_with_api
895enable_master_nugget_check
896'
897      ac_precious_vars='build_alias
898host_alias
899target_alias
900CC
901CFLAGS
902LDFLAGS
903LIBS
904CPPFLAGS
905CPP
906PKG_CONFIG
907PKG_CONFIG_PATH
908PKG_CONFIG_LIBDIR
909LIBCONFIG_CFLAGS
910LIBCONFIG_LIBS
911JSON_CFLAGS
912JSON_LIBS
913RAZORBACK_CFLAGS
914RAZORBACK_LIBS'
915
916
917# Initialize some variables set by options.
918ac_init_help=
919ac_init_version=false
920ac_unrecognized_opts=
921ac_unrecognized_sep=
922# The variables have the same names as the options, with
923# dashes changed to underlines.
924cache_file=/dev/null
925exec_prefix=NONE
926no_create=
927no_recursion=
928prefix=NONE
929program_prefix=NONE
930program_suffix=NONE
931program_transform_name=s,x,x,
932silent=
933site=
934srcdir=
935verbose=
936x_includes=NONE
937x_libraries=NONE
938
939# Installation directory options.
940# These are left unexpanded so users can "make install exec_prefix=/foo"
941# and all the variables that are supposed to be based on exec_prefix
942# by default will actually change.
943# Use braces instead of parens because sh, perl, etc. also accept them.
944# (The list follows the same order as the GNU Coding Standards.)
945bindir='${exec_prefix}/bin'
946sbindir='${exec_prefix}/sbin'
947libexecdir='${exec_prefix}/libexec'
948datarootdir='${prefix}/share'
949datadir='${datarootdir}'
950sysconfdir='${prefix}/etc'
951sharedstatedir='${prefix}/com'
952localstatedir='${prefix}/var'
953includedir='${prefix}/include'
954oldincludedir='/usr/include'
955docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
956infodir='${datarootdir}/info'
957htmldir='${docdir}'
958dvidir='${docdir}'
959pdfdir='${docdir}'
960psdir='${docdir}'
961libdir='${exec_prefix}/lib'
962localedir='${datarootdir}/locale'
963mandir='${datarootdir}/man'
964
965ac_prev=
966ac_dashdash=
967for ac_option
968do
969  # If the previous option needs an argument, assign it.
970  if test -n "$ac_prev"; then
971    eval $ac_prev=\$ac_option
972    ac_prev=
973    continue
974  fi
975
976  case $ac_option in
977  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
978  *=)   ac_optarg= ;;
979  *)    ac_optarg=yes ;;
980  esac
981
982  # Accept the important Cygnus configure options, so we can diagnose typos.
983
984  case $ac_dashdash$ac_option in
985  --)
986    ac_dashdash=yes ;;
987
988  -bindir | --bindir | --bindi | --bind | --bin | --bi)
989    ac_prev=bindir ;;
990  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
991    bindir=$ac_optarg ;;
992
993  -build | --build | --buil | --bui | --bu)
994    ac_prev=build_alias ;;
995  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
996    build_alias=$ac_optarg ;;
997
998  -cache-file | --cache-file | --cache-fil | --cache-fi \
999  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1000    ac_prev=cache_file ;;
1001  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1002  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1003    cache_file=$ac_optarg ;;
1004
1005  --config-cache | -C)
1006    cache_file=config.cache ;;
1007
1008  -datadir | --datadir | --datadi | --datad)
1009    ac_prev=datadir ;;
1010  -datadir=* | --datadir=* | --datadi=* | --datad=*)
1011    datadir=$ac_optarg ;;
1012
1013  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1014  | --dataroo | --dataro | --datar)
1015    ac_prev=datarootdir ;;
1016  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1017  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1018    datarootdir=$ac_optarg ;;
1019
1020  -disable-* | --disable-*)
1021    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1022    # Reject names that are not valid shell variable names.
1023    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1024      as_fn_error $? "invalid feature name: $ac_useropt"
1025    ac_useropt_orig=$ac_useropt
1026    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1027    case $ac_user_opts in
1028      *"
1029"enable_$ac_useropt"
1030"*) ;;
1031      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1032	 ac_unrecognized_sep=', ';;
1033    esac
1034    eval enable_$ac_useropt=no ;;
1035
1036  -docdir | --docdir | --docdi | --doc | --do)
1037    ac_prev=docdir ;;
1038  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1039    docdir=$ac_optarg ;;
1040
1041  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1042    ac_prev=dvidir ;;
1043  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1044    dvidir=$ac_optarg ;;
1045
1046  -enable-* | --enable-*)
1047    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1048    # Reject names that are not valid shell variable names.
1049    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1050      as_fn_error $? "invalid feature name: $ac_useropt"
1051    ac_useropt_orig=$ac_useropt
1052    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1053    case $ac_user_opts in
1054      *"
1055"enable_$ac_useropt"
1056"*) ;;
1057      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1058	 ac_unrecognized_sep=', ';;
1059    esac
1060    eval enable_$ac_useropt=\$ac_optarg ;;
1061
1062  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1063  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1064  | --exec | --exe | --ex)
1065    ac_prev=exec_prefix ;;
1066  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1067  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1068  | --exec=* | --exe=* | --ex=*)
1069    exec_prefix=$ac_optarg ;;
1070
1071  -gas | --gas | --ga | --g)
1072    # Obsolete; use --with-gas.
1073    with_gas=yes ;;
1074
1075  -help | --help | --hel | --he | -h)
1076    ac_init_help=long ;;
1077  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1078    ac_init_help=recursive ;;
1079  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1080    ac_init_help=short ;;
1081
1082  -host | --host | --hos | --ho)
1083    ac_prev=host_alias ;;
1084  -host=* | --host=* | --hos=* | --ho=*)
1085    host_alias=$ac_optarg ;;
1086
1087  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1088    ac_prev=htmldir ;;
1089  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1090  | --ht=*)
1091    htmldir=$ac_optarg ;;
1092
1093  -includedir | --includedir | --includedi | --included | --include \
1094  | --includ | --inclu | --incl | --inc)
1095    ac_prev=includedir ;;
1096  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1097  | --includ=* | --inclu=* | --incl=* | --inc=*)
1098    includedir=$ac_optarg ;;
1099
1100  -infodir | --infodir | --infodi | --infod | --info | --inf)
1101    ac_prev=infodir ;;
1102  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1103    infodir=$ac_optarg ;;
1104
1105  -libdir | --libdir | --libdi | --libd)
1106    ac_prev=libdir ;;
1107  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1108    libdir=$ac_optarg ;;
1109
1110  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1111  | --libexe | --libex | --libe)
1112    ac_prev=libexecdir ;;
1113  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1114  | --libexe=* | --libex=* | --libe=*)
1115    libexecdir=$ac_optarg ;;
1116
1117  -localedir | --localedir | --localedi | --localed | --locale)
1118    ac_prev=localedir ;;
1119  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1120    localedir=$ac_optarg ;;
1121
1122  -localstatedir | --localstatedir | --localstatedi | --localstated \
1123  | --localstate | --localstat | --localsta | --localst | --locals)
1124    ac_prev=localstatedir ;;
1125  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1126  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1127    localstatedir=$ac_optarg ;;
1128
1129  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1130    ac_prev=mandir ;;
1131  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1132    mandir=$ac_optarg ;;
1133
1134  -nfp | --nfp | --nf)
1135    # Obsolete; use --without-fp.
1136    with_fp=no ;;
1137
1138  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1139  | --no-cr | --no-c | -n)
1140    no_create=yes ;;
1141
1142  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1143  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1144    no_recursion=yes ;;
1145
1146  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1147  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1148  | --oldin | --oldi | --old | --ol | --o)
1149    ac_prev=oldincludedir ;;
1150  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1151  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1152  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1153    oldincludedir=$ac_optarg ;;
1154
1155  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1156    ac_prev=prefix ;;
1157  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1158    prefix=$ac_optarg ;;
1159
1160  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1161  | --program-pre | --program-pr | --program-p)
1162    ac_prev=program_prefix ;;
1163  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1164  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1165    program_prefix=$ac_optarg ;;
1166
1167  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1168  | --program-suf | --program-su | --program-s)
1169    ac_prev=program_suffix ;;
1170  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1171  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1172    program_suffix=$ac_optarg ;;
1173
1174  -program-transform-name | --program-transform-name \
1175  | --program-transform-nam | --program-transform-na \
1176  | --program-transform-n | --program-transform- \
1177  | --program-transform | --program-transfor \
1178  | --program-transfo | --program-transf \
1179  | --program-trans | --program-tran \
1180  | --progr-tra | --program-tr | --program-t)
1181    ac_prev=program_transform_name ;;
1182  -program-transform-name=* | --program-transform-name=* \
1183  | --program-transform-nam=* | --program-transform-na=* \
1184  | --program-transform-n=* | --program-transform-=* \
1185  | --program-transform=* | --program-transfor=* \
1186  | --program-transfo=* | --program-transf=* \
1187  | --program-trans=* | --program-tran=* \
1188  | --progr-tra=* | --program-tr=* | --program-t=*)
1189    program_transform_name=$ac_optarg ;;
1190
1191  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1192    ac_prev=pdfdir ;;
1193  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1194    pdfdir=$ac_optarg ;;
1195
1196  -psdir | --psdir | --psdi | --psd | --ps)
1197    ac_prev=psdir ;;
1198  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1199    psdir=$ac_optarg ;;
1200
1201  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1202  | -silent | --silent | --silen | --sile | --sil)
1203    silent=yes ;;
1204
1205  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1206    ac_prev=sbindir ;;
1207  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1208  | --sbi=* | --sb=*)
1209    sbindir=$ac_optarg ;;
1210
1211  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1212  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1213  | --sharedst | --shareds | --shared | --share | --shar \
1214  | --sha | --sh)
1215    ac_prev=sharedstatedir ;;
1216  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1217  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1218  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1219  | --sha=* | --sh=*)
1220    sharedstatedir=$ac_optarg ;;
1221
1222  -site | --site | --sit)
1223    ac_prev=site ;;
1224  -site=* | --site=* | --sit=*)
1225    site=$ac_optarg ;;
1226
1227  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1228    ac_prev=srcdir ;;
1229  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1230    srcdir=$ac_optarg ;;
1231
1232  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1233  | --syscon | --sysco | --sysc | --sys | --sy)
1234    ac_prev=sysconfdir ;;
1235  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1236  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1237    sysconfdir=$ac_optarg ;;
1238
1239  -target | --target | --targe | --targ | --tar | --ta | --t)
1240    ac_prev=target_alias ;;
1241  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1242    target_alias=$ac_optarg ;;
1243
1244  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1245    verbose=yes ;;
1246
1247  -version | --version | --versio | --versi | --vers | -V)
1248    ac_init_version=: ;;
1249
1250  -with-* | --with-*)
1251    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1252    # Reject names that are not valid shell variable names.
1253    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1254      as_fn_error $? "invalid package name: $ac_useropt"
1255    ac_useropt_orig=$ac_useropt
1256    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1257    case $ac_user_opts in
1258      *"
1259"with_$ac_useropt"
1260"*) ;;
1261      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1262	 ac_unrecognized_sep=', ';;
1263    esac
1264    eval with_$ac_useropt=\$ac_optarg ;;
1265
1266  -without-* | --without-*)
1267    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1268    # Reject names that are not valid shell variable names.
1269    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1270      as_fn_error $? "invalid package name: $ac_useropt"
1271    ac_useropt_orig=$ac_useropt
1272    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1273    case $ac_user_opts in
1274      *"
1275"with_$ac_useropt"
1276"*) ;;
1277      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1278	 ac_unrecognized_sep=', ';;
1279    esac
1280    eval with_$ac_useropt=no ;;
1281
1282  --x)
1283    # Obsolete; use --with-x.
1284    with_x=yes ;;
1285
1286  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1287  | --x-incl | --x-inc | --x-in | --x-i)
1288    ac_prev=x_includes ;;
1289  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1290  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1291    x_includes=$ac_optarg ;;
1292
1293  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1294  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1295    ac_prev=x_libraries ;;
1296  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1297  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1298    x_libraries=$ac_optarg ;;
1299
1300  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1301Try \`$0 --help' for more information"
1302    ;;
1303
1304  *=*)
1305    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1306    # Reject names that are not valid shell variable names.
1307    case $ac_envvar in #(
1308      '' | [0-9]* | *[!_$as_cr_alnum]* )
1309      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1310    esac
1311    eval $ac_envvar=\$ac_optarg
1312    export $ac_envvar ;;
1313
1314  *)
1315    # FIXME: should be removed in autoconf 3.0.
1316    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1317    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1318      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1319    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1320    ;;
1321
1322  esac
1323done
1324
1325if test -n "$ac_prev"; then
1326  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1327  as_fn_error $? "missing argument to $ac_option"
1328fi
1329
1330if test -n "$ac_unrecognized_opts"; then
1331  case $enable_option_checking in
1332    no) ;;
1333    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1334    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1335  esac
1336fi
1337
1338# Check all directory arguments for consistency.
1339for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1340		datadir sysconfdir sharedstatedir localstatedir includedir \
1341		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1342		libdir localedir mandir
1343do
1344  eval ac_val=\$$ac_var
1345  # Remove trailing slashes.
1346  case $ac_val in
1347    */ )
1348      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1349      eval $ac_var=\$ac_val;;
1350  esac
1351  # Be sure to have absolute directory names.
1352  case $ac_val in
1353    [\\/$]* | ?:[\\/]* )  continue;;
1354    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1355  esac
1356  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1357done
1358
1359# There might be people who depend on the old broken behavior: `$host'
1360# used to hold the argument of --host etc.
1361# FIXME: To remove some day.
1362build=$build_alias
1363host=$host_alias
1364target=$target_alias
1365
1366# FIXME: To remove some day.
1367if test "x$host_alias" != x; then
1368  if test "x$build_alias" = x; then
1369    cross_compiling=maybe
1370    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1371    If a cross compiler is detected then cross compile mode will be used" >&2
1372  elif test "x$build_alias" != "x$host_alias"; then
1373    cross_compiling=yes
1374  fi
1375fi
1376
1377ac_tool_prefix=
1378test -n "$host_alias" && ac_tool_prefix=$host_alias-
1379
1380test "$silent" = yes && exec 6>/dev/null
1381
1382
1383ac_pwd=`pwd` && test -n "$ac_pwd" &&
1384ac_ls_di=`ls -di .` &&
1385ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1386  as_fn_error $? "working directory cannot be determined"
1387test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1388  as_fn_error $? "pwd does not report name of working directory"
1389
1390
1391# Find the source files, if location was not specified.
1392if test -z "$srcdir"; then
1393  ac_srcdir_defaulted=yes
1394  # Try the directory containing this script, then the parent directory.
1395  ac_confdir=`$as_dirname -- "$as_myself" ||
1396$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1397	 X"$as_myself" : 'X\(//\)[^/]' \| \
1398	 X"$as_myself" : 'X\(//\)$' \| \
1399	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1400$as_echo X"$as_myself" |
1401    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1402	    s//\1/
1403	    q
1404	  }
1405	  /^X\(\/\/\)[^/].*/{
1406	    s//\1/
1407	    q
1408	  }
1409	  /^X\(\/\/\)$/{
1410	    s//\1/
1411	    q
1412	  }
1413	  /^X\(\/\).*/{
1414	    s//\1/
1415	    q
1416	  }
1417	  s/.*/./; q'`
1418  srcdir=$ac_confdir
1419  if test ! -r "$srcdir/$ac_unique_file"; then
1420    srcdir=..
1421  fi
1422else
1423  ac_srcdir_defaulted=no
1424fi
1425if test ! -r "$srcdir/$ac_unique_file"; then
1426  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1427  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1428fi
1429ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1430ac_abs_confdir=`(
1431	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1432	pwd)`
1433# When building in place, set srcdir=.
1434if test "$ac_abs_confdir" = "$ac_pwd"; then
1435  srcdir=.
1436fi
1437# Remove unnecessary trailing slashes from srcdir.
1438# Double slashes in file names in object file debugging info
1439# mess up M-x gdb in Emacs.
1440case $srcdir in
1441*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1442esac
1443for ac_var in $ac_precious_vars; do
1444  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1445  eval ac_env_${ac_var}_value=\$${ac_var}
1446  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1447  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1448done
1449
1450#
1451# Report the --help message.
1452#
1453if test "$ac_init_help" = "long"; then
1454  # Omit some internal or obsolete options to make the list less imposing.
1455  # This message is too long to be a string in the A/UX 3.1 sh.
1456  cat <<_ACEOF
1457\`configure' configures swfScanner 0.5.0 to adapt to many kinds of systems.
1458
1459Usage: $0 [OPTION]... [VAR=VALUE]...
1460
1461To assign environment variables (e.g., CC, CFLAGS...), specify them as
1462VAR=VALUE.  See below for descriptions of some of the useful variables.
1463
1464Defaults for the options are specified in brackets.
1465
1466Configuration:
1467  -h, --help              display this help and exit
1468      --help=short        display options specific to this package
1469      --help=recursive    display the short help of all the included packages
1470  -V, --version           display version information and exit
1471  -q, --quiet, --silent   do not print \`checking ...' messages
1472      --cache-file=FILE   cache test results in FILE [disabled]
1473  -C, --config-cache      alias for \`--cache-file=config.cache'
1474  -n, --no-create         do not create output files
1475      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1476
1477Installation directories:
1478  --prefix=PREFIX         install architecture-independent files in PREFIX
1479                          [$ac_default_prefix]
1480  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1481                          [PREFIX]
1482
1483By default, \`make install' will install all the files in
1484\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1485an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1486for instance \`--prefix=\$HOME'.
1487
1488For better control, use the options below.
1489
1490Fine tuning of the installation directories:
1491  --bindir=DIR            user executables [EPREFIX/bin]
1492  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1493  --libexecdir=DIR        program executables [EPREFIX/libexec]
1494  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1495  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1496  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1497  --libdir=DIR            object code libraries [EPREFIX/lib]
1498  --includedir=DIR        C header files [PREFIX/include]
1499  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1500  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1501  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1502  --infodir=DIR           info documentation [DATAROOTDIR/info]
1503  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1504  --mandir=DIR            man documentation [DATAROOTDIR/man]
1505  --docdir=DIR            documentation root [DATAROOTDIR/doc/swfScanner]
1506  --htmldir=DIR           html documentation [DOCDIR]
1507  --dvidir=DIR            dvi documentation [DOCDIR]
1508  --pdfdir=DIR            pdf documentation [DOCDIR]
1509  --psdir=DIR             ps documentation [DOCDIR]
1510_ACEOF
1511
1512  cat <<\_ACEOF
1513
1514Program names:
1515  --program-prefix=PREFIX            prepend PREFIX to installed program names
1516  --program-suffix=SUFFIX            append SUFFIX to installed program names
1517  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1518
1519System types:
1520  --build=BUILD     configure for building on BUILD [guessed]
1521  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1522_ACEOF
1523fi
1524
1525if test -n "$ac_init_help"; then
1526  case $ac_init_help in
1527     short | recursive ) echo "Configuration of swfScanner 0.5.0:";;
1528   esac
1529  cat <<\_ACEOF
1530
1531Optional Features:
1532  --disable-option-checking  ignore unrecognized --enable/--with options
1533  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1534  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1535  --disable-dependency-tracking  speeds up one-time build
1536  --enable-dependency-tracking   do not reject slow dependency extractors
1537  --enable-shared[=PKGS]  build shared libraries [default=yes]
1538  --enable-static[=PKGS]  build static libraries [default=yes]
1539  --enable-fast-install[=PKGS]
1540                          optimize for fast installation [default=yes]
1541  --disable-libtool-lock  avoid locking (might break parallel builds)
1542  --enable-debug          Enable debug build options
1543  --enable-assert         Enable assert build options
1544  --enable-unimplemented  Enable unimplemented asserts options
1545  --disable-inline        Do not use inline functions
1546  --disable-perf          Disable performance statistics
1547  --enable-profile        Enable profile build options
1548  --disable-master-nugget-check
1549                          Do not check for the presence of master_nugget even
1550                          if its required.
1551
1552Optional Packages:
1553  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1554  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1555  --with-pic              try to use only PIC/non-PIC objects [default=use
1556                          both]
1557  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1558  --with-api              Location of the API
1559
1560Some influential environment variables:
1561  CC          C compiler command
1562  CFLAGS      C compiler flags
1563  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1564              nonstandard directory <lib dir>
1565  LIBS        libraries to pass to the linker, e.g. -l<library>
1566  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1567              you have headers in a nonstandard directory <include dir>
1568  CPP         C preprocessor
1569  PKG_CONFIG  path to pkg-config utility
1570  PKG_CONFIG_PATH
1571              directories to add to pkg-config's search path
1572  PKG_CONFIG_LIBDIR
1573              path overriding pkg-config's built-in search path
1574  LIBCONFIG_CFLAGS
1575              C compiler flags for LIBCONFIG, overriding pkg-config
1576  LIBCONFIG_LIBS
1577              linker flags for LIBCONFIG, overriding pkg-config
1578  JSON_CFLAGS C compiler flags for JSON, overriding pkg-config
1579  JSON_LIBS   linker flags for JSON, overriding pkg-config
1580  RAZORBACK_CFLAGS
1581              C compiler flags for RAZORBACK, overriding pkg-config
1582  RAZORBACK_LIBS
1583              linker flags for RAZORBACK, overriding pkg-config
1584
1585Use these variables to override the choices made by `configure' or to help
1586it to find libraries and programs with nonstandard names/locations.
1587
1588Report bugs to <https://sourceforge.net/apps/trac/razorbacktm/>.
1589_ACEOF
1590ac_status=$?
1591fi
1592
1593if test "$ac_init_help" = "recursive"; then
1594  # If there are subdirs, report their specific --help.
1595  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1596    test -d "$ac_dir" ||
1597      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1598      continue
1599    ac_builddir=.
1600
1601case "$ac_dir" in
1602.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1603*)
1604  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1605  # A ".." for each directory in $ac_dir_suffix.
1606  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1607  case $ac_top_builddir_sub in
1608  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1609  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1610  esac ;;
1611esac
1612ac_abs_top_builddir=$ac_pwd
1613ac_abs_builddir=$ac_pwd$ac_dir_suffix
1614# for backward compatibility:
1615ac_top_builddir=$ac_top_build_prefix
1616
1617case $srcdir in
1618  .)  # We are building in place.
1619    ac_srcdir=.
1620    ac_top_srcdir=$ac_top_builddir_sub
1621    ac_abs_top_srcdir=$ac_pwd ;;
1622  [\\/]* | ?:[\\/]* )  # Absolute name.
1623    ac_srcdir=$srcdir$ac_dir_suffix;
1624    ac_top_srcdir=$srcdir
1625    ac_abs_top_srcdir=$srcdir ;;
1626  *) # Relative name.
1627    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1628    ac_top_srcdir=$ac_top_build_prefix$srcdir
1629    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1630esac
1631ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1632
1633    cd "$ac_dir" || { ac_status=$?; continue; }
1634    # Check for guested configure.
1635    if test -f "$ac_srcdir/configure.gnu"; then
1636      echo &&
1637      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1638    elif test -f "$ac_srcdir/configure"; then
1639      echo &&
1640      $SHELL "$ac_srcdir/configure" --help=recursive
1641    else
1642      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1643    fi || ac_status=$?
1644    cd "$ac_pwd" || { ac_status=$?; break; }
1645  done
1646fi
1647
1648test -n "$ac_init_help" && exit $ac_status
1649if $ac_init_version; then
1650  cat <<\_ACEOF
1651swfScanner configure 0.5.0
1652generated by GNU Autoconf 2.67
1653
1654Copyright (C) 2010 Free Software Foundation, Inc.
1655This configure script is free software; the Free Software Foundation
1656gives unlimited permission to copy, distribute and modify it.
1657_ACEOF
1658  exit
1659fi
1660
1661## ------------------------ ##
1662## Autoconf initialization. ##
1663## ------------------------ ##
1664
1665# ac_fn_c_try_compile LINENO
1666# --------------------------
1667# Try to compile conftest.$ac_ext, and return whether this succeeded.
1668ac_fn_c_try_compile ()
1669{
1670  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1671  rm -f conftest.$ac_objext
1672  if { { ac_try="$ac_compile"
1673case "(($ac_try" in
1674  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1675  *) ac_try_echo=$ac_try;;
1676esac
1677eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1678$as_echo "$ac_try_echo"; } >&5
1679  (eval "$ac_compile") 2>conftest.err
1680  ac_status=$?
1681  if test -s conftest.err; then
1682    grep -v '^ *+' conftest.err >conftest.er1
1683    cat conftest.er1 >&5
1684    mv -f conftest.er1 conftest.err
1685  fi
1686  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1687  test $ac_status = 0; } && {
1688	 test -z "$ac_c_werror_flag" ||
1689	 test ! -s conftest.err
1690       } && test -s conftest.$ac_objext; then :
1691  ac_retval=0
1692else
1693  $as_echo "$as_me: failed program was:" >&5
1694sed 's/^/| /' conftest.$ac_ext >&5
1695
1696	ac_retval=1
1697fi
1698  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1699  as_fn_set_status $ac_retval
1700
1701} # ac_fn_c_try_compile
1702
1703# ac_fn_c_try_link LINENO
1704# -----------------------
1705# Try to link conftest.$ac_ext, and return whether this succeeded.
1706ac_fn_c_try_link ()
1707{
1708  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1709  rm -f conftest.$ac_objext conftest$ac_exeext
1710  if { { ac_try="$ac_link"
1711case "(($ac_try" in
1712  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1713  *) ac_try_echo=$ac_try;;
1714esac
1715eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1716$as_echo "$ac_try_echo"; } >&5
1717  (eval "$ac_link") 2>conftest.err
1718  ac_status=$?
1719  if test -s conftest.err; then
1720    grep -v '^ *+' conftest.err >conftest.er1
1721    cat conftest.er1 >&5
1722    mv -f conftest.er1 conftest.err
1723  fi
1724  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1725  test $ac_status = 0; } && {
1726	 test -z "$ac_c_werror_flag" ||
1727	 test ! -s conftest.err
1728       } && test -s conftest$ac_exeext && {
1729	 test "$cross_compiling" = yes ||
1730	 $as_test_x conftest$ac_exeext
1731       }; then :
1732  ac_retval=0
1733else
1734  $as_echo "$as_me: failed program was:" >&5
1735sed 's/^/| /' conftest.$ac_ext >&5
1736
1737	ac_retval=1
1738fi
1739  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1740  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1741  # interfere with the next link command; also delete a directory that is
1742  # left behind by Apple's compiler.  We do this before executing the actions.
1743  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1744  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1745  as_fn_set_status $ac_retval
1746
1747} # ac_fn_c_try_link
1748
1749# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1750# -------------------------------------------------------
1751# Tests whether HEADER exists and can be compiled using the include files in
1752# INCLUDES, setting the cache variable VAR accordingly.
1753ac_fn_c_check_header_compile ()
1754{
1755  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1756  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1757$as_echo_n "checking for $2... " >&6; }
1758if eval "test \"\${$3+set}\"" = set; then :
1759  $as_echo_n "(cached) " >&6
1760else
1761  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1762/* end confdefs.h.  */
1763$4
1764#include <$2>
1765_ACEOF
1766if ac_fn_c_try_compile "$LINENO"; then :
1767  eval "$3=yes"
1768else
1769  eval "$3=no"
1770fi
1771rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1772fi
1773eval ac_res=\$$3
1774	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1775$as_echo "$ac_res" >&6; }
1776  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1777
1778} # ac_fn_c_check_header_compile
1779
1780# ac_fn_c_try_cpp LINENO
1781# ----------------------
1782# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1783ac_fn_c_try_cpp ()
1784{
1785  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1786  if { { ac_try="$ac_cpp conftest.$ac_ext"
1787case "(($ac_try" in
1788  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1789  *) ac_try_echo=$ac_try;;
1790esac
1791eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1792$as_echo "$ac_try_echo"; } >&5
1793  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1794  ac_status=$?
1795  if test -s conftest.err; then
1796    grep -v '^ *+' conftest.err >conftest.er1
1797    cat conftest.er1 >&5
1798    mv -f conftest.er1 conftest.err
1799  fi
1800  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1801  test $ac_status = 0; } > conftest.i && {
1802	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1803	 test ! -s conftest.err
1804       }; then :
1805  ac_retval=0
1806else
1807  $as_echo "$as_me: failed program was:" >&5
1808sed 's/^/| /' conftest.$ac_ext >&5
1809
1810    ac_retval=1
1811fi
1812  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1813  as_fn_set_status $ac_retval
1814
1815} # ac_fn_c_try_cpp
1816
1817# ac_fn_c_try_run LINENO
1818# ----------------------
1819# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1820# that executables *can* be run.
1821ac_fn_c_try_run ()
1822{
1823  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1824  if { { ac_try="$ac_link"
1825case "(($ac_try" in
1826  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1827  *) ac_try_echo=$ac_try;;
1828esac
1829eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1830$as_echo "$ac_try_echo"; } >&5
1831  (eval "$ac_link") 2>&5
1832  ac_status=$?
1833  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1834  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1835  { { case "(($ac_try" in
1836  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1837  *) ac_try_echo=$ac_try;;
1838esac
1839eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1840$as_echo "$ac_try_echo"; } >&5
1841  (eval "$ac_try") 2>&5
1842  ac_status=$?
1843  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1844  test $ac_status = 0; }; }; then :
1845  ac_retval=0
1846else
1847  $as_echo "$as_me: program exited with status $ac_status" >&5
1848       $as_echo "$as_me: failed program was:" >&5
1849sed 's/^/| /' conftest.$ac_ext >&5
1850
1851       ac_retval=$ac_status
1852fi
1853  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1854  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1855  as_fn_set_status $ac_retval
1856
1857} # ac_fn_c_try_run
1858
1859# ac_fn_c_check_func LINENO FUNC VAR
1860# ----------------------------------
1861# Tests whether FUNC exists, setting the cache variable VAR accordingly
1862ac_fn_c_check_func ()
1863{
1864  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1865  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1866$as_echo_n "checking for $2... " >&6; }
1867if eval "test \"\${$3+set}\"" = set; then :
1868  $as_echo_n "(cached) " >&6
1869else
1870  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1871/* end confdefs.h.  */
1872/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1873   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1874#define $2 innocuous_$2
1875
1876/* System header to define __stub macros and hopefully few prototypes,
1877    which can conflict with char $2 (); below.
1878    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1879    <limits.h> exists even on freestanding compilers.  */
1880
1881#ifdef __STDC__
1882# include <limits.h>
1883#else
1884# include <assert.h>
1885#endif
1886
1887#undef $2
1888
1889/* Override any GCC internal prototype to avoid an error.
1890   Use char because int might match the return type of a GCC
1891   builtin and then its argument prototype would still apply.  */
1892#ifdef __cplusplus
1893extern "C"
1894#endif
1895char $2 ();
1896/* The GNU C library defines this for functions which it implements
1897    to always fail with ENOSYS.  Some functions are actually named
1898    something starting with __ and the normal name is an alias.  */
1899#if defined __stub_$2 || defined __stub___$2
1900choke me
1901#endif
1902
1903int
1904main ()
1905{
1906return $2 ();
1907  ;
1908  return 0;
1909}
1910_ACEOF
1911if ac_fn_c_try_link "$LINENO"; then :
1912  eval "$3=yes"
1913else
1914  eval "$3=no"
1915fi
1916rm -f core conftest.err conftest.$ac_objext \
1917    conftest$ac_exeext conftest.$ac_ext
1918fi
1919eval ac_res=\$$3
1920	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1921$as_echo "$ac_res" >&6; }
1922  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1923
1924} # ac_fn_c_check_func
1925
1926# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1927# -------------------------------------------------------
1928# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1929# the include files in INCLUDES and setting the cache variable VAR
1930# accordingly.
1931ac_fn_c_check_header_mongrel ()
1932{
1933  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1934  if eval "test \"\${$3+set}\"" = set; then :
1935  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1936$as_echo_n "checking for $2... " >&6; }
1937if eval "test \"\${$3+set}\"" = set; then :
1938  $as_echo_n "(cached) " >&6
1939fi
1940eval ac_res=\$$3
1941	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1942$as_echo "$ac_res" >&6; }
1943else
1944  # Is the header compilable?
1945{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1946$as_echo_n "checking $2 usability... " >&6; }
1947cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1948/* end confdefs.h.  */
1949$4
1950#include <$2>
1951_ACEOF
1952if ac_fn_c_try_compile "$LINENO"; then :
1953  ac_header_compiler=yes
1954else
1955  ac_header_compiler=no
1956fi
1957rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1958{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1959$as_echo "$ac_header_compiler" >&6; }
1960
1961# Is the header present?
1962{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1963$as_echo_n "checking $2 presence... " >&6; }
1964cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1965/* end confdefs.h.  */
1966#include <$2>
1967_ACEOF
1968if ac_fn_c_try_cpp "$LINENO"; then :
1969  ac_header_preproc=yes
1970else
1971  ac_header_preproc=no
1972fi
1973rm -f conftest.err conftest.i conftest.$ac_ext
1974{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1975$as_echo "$ac_header_preproc" >&6; }
1976
1977# So?  What about this header?
1978case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1979  yes:no: )
1980    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1981$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1982    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1983$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1984    ;;
1985  no:yes:* )
1986    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1987$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1988    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1989$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1990    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1991$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1992    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1993$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1994    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1995$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1996( $as_echo "## ------------------------------------------------------------- ##
1997## Report this to https://sourceforge.net/apps/trac/razorbacktm/ ##
1998## ------------------------------------------------------------- ##"
1999     ) | sed "s/^/$as_me: WARNING:     /" >&2
2000    ;;
2001esac
2002  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2003$as_echo_n "checking for $2... " >&6; }
2004if eval "test \"\${$3+set}\"" = set; then :
2005  $as_echo_n "(cached) " >&6
2006else
2007  eval "$3=\$ac_header_compiler"
2008fi
2009eval ac_res=\$$3
2010	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2011$as_echo "$ac_res" >&6; }
2012fi
2013  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2014
2015} # ac_fn_c_check_header_mongrel
2016
2017# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2018# -------------------------------------------
2019# Tests whether TYPE exists after having included INCLUDES, setting cache
2020# variable VAR accordingly.
2021ac_fn_c_check_type ()
2022{
2023  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2024  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2025$as_echo_n "checking for $2... " >&6; }
2026if eval "test \"\${$3+set}\"" = set; then :
2027  $as_echo_n "(cached) " >&6
2028else
2029  eval "$3=no"
2030  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2031/* end confdefs.h.  */
2032$4
2033int
2034main ()
2035{
2036if (sizeof ($2))
2037	 return 0;
2038  ;
2039  return 0;
2040}
2041_ACEOF
2042if ac_fn_c_try_compile "$LINENO"; then :
2043  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2044/* end confdefs.h.  */
2045$4
2046int
2047main ()
2048{
2049if (sizeof (($2)))
2050	    return 0;
2051  ;
2052  return 0;
2053}
2054_ACEOF
2055if ac_fn_c_try_compile "$LINENO"; then :
2056
2057else
2058  eval "$3=yes"
2059fi
2060rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2061fi
2062rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2063fi
2064eval ac_res=\$$3
2065	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2066$as_echo "$ac_res" >&6; }
2067  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2068
2069} # ac_fn_c_check_type
2070
2071# ac_fn_c_find_uintX_t LINENO BITS VAR
2072# ------------------------------------
2073# Finds an unsigned integer type with width BITS, setting cache variable VAR
2074# accordingly.
2075ac_fn_c_find_uintX_t ()
2076{
2077  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2078  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
2079$as_echo_n "checking for uint$2_t... " >&6; }
2080if eval "test \"\${$3+set}\"" = set; then :
2081  $as_echo_n "(cached) " >&6
2082else
2083  eval "$3=no"
2084     # Order is important - never check a type that is potentially smaller
2085     # than half of the expected target width.
2086     for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
2087	 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
2088       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2089/* end confdefs.h.  */
2090$ac_includes_default
2091int
2092main ()
2093{
2094static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
2095test_array [0] = 0
2096
2097  ;
2098  return 0;
2099}
2100_ACEOF
2101if ac_fn_c_try_compile "$LINENO"; then :
2102  case $ac_type in #(
2103  uint$2_t) :
2104    eval "$3=yes" ;; #(
2105  *) :
2106    eval "$3=\$ac_type" ;;
2107esac
2108fi
2109rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2110       if eval test \"x\$"$3"\" = x"no"; then :
2111
2112else
2113  break
2114fi
2115     done
2116fi
2117eval ac_res=\$$3
2118	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2119$as_echo "$ac_res" >&6; }
2120  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2121
2122} # ac_fn_c_find_uintX_t
2123cat >config.log <<_ACEOF
2124This file contains any messages produced by compilers while
2125running configure, to aid debugging if configure makes a mistake.
2126
2127It was created by swfScanner $as_me 0.5.0, which was
2128generated by GNU Autoconf 2.67.  Invocation command line was
2129
2130  $ $0 $@
2131
2132_ACEOF
2133exec 5>>config.log
2134{
2135cat <<_ASUNAME
2136## --------- ##
2137## Platform. ##
2138## --------- ##
2139
2140hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2141uname -m = `(uname -m) 2>/dev/null || echo unknown`
2142uname -r = `(uname -r) 2>/dev/null || echo unknown`
2143uname -s = `(uname -s) 2>/dev/null || echo unknown`
2144uname -v = `(uname -v) 2>/dev/null || echo unknown`
2145
2146/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2147/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2148
2149/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2150/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2151/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2152/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2153/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2154/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2155/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2156
2157_ASUNAME
2158
2159as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2160for as_dir in $PATH
2161do
2162  IFS=$as_save_IFS
2163  test -z "$as_dir" && as_dir=.
2164    $as_echo "PATH: $as_dir"
2165  done
2166IFS=$as_save_IFS
2167
2168} >&5
2169
2170cat >&5 <<_ACEOF
2171
2172
2173## ----------- ##
2174## Core tests. ##
2175## ----------- ##
2176
2177_ACEOF
2178
2179
2180# Keep a trace of the command line.
2181# Strip out --no-create and --no-recursion so they do not pile up.
2182# Strip out --silent because we don't want to record it for future runs.
2183# Also quote any args containing shell meta-characters.
2184# Make two passes to allow for proper duplicate-argument suppression.
2185ac_configure_args=
2186ac_configure_args0=
2187ac_configure_args1=
2188ac_must_keep_next=false
2189for ac_pass in 1 2
2190do
2191  for ac_arg
2192  do
2193    case $ac_arg in
2194    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2195    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2196    | -silent | --silent | --silen | --sile | --sil)
2197      continue ;;
2198    *\'*)
2199      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2200    esac
2201    case $ac_pass in
2202    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2203    2)
2204      as_fn_append ac_configure_args1 " '$ac_arg'"
2205      if test $ac_must_keep_next = true; then
2206	ac_must_keep_next=false # Got value, back to normal.
2207      else
2208	case $ac_arg in
2209	  *=* | --config-cache | -C | -disable-* | --disable-* \
2210	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2211	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2212	  | -with-* | --with-* | -without-* | --without-* | --x)
2213	    case "$ac_configure_args0 " in
2214	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2215	    esac
2216	    ;;
2217	  -* ) ac_must_keep_next=true ;;
2218	esac
2219      fi
2220      as_fn_append ac_configure_args " '$ac_arg'"
2221      ;;
2222    esac
2223  done
2224done
2225{ ac_configure_args0=; unset ac_configure_args0;}
2226{ ac_configure_args1=; unset ac_configure_args1;}
2227
2228# When interrupted or exit'd, cleanup temporary files, and complete
2229# config.log.  We remove comments because anyway the quotes in there
2230# would cause problems or look ugly.
2231# WARNING: Use '\'' to represent an apostrophe within the trap.
2232# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2233trap 'exit_status=$?
2234  # Save into config.log some information that might help in debugging.
2235  {
2236    echo
2237
2238    $as_echo "## ---------------- ##
2239## Cache variables. ##
2240## ---------------- ##"
2241    echo
2242    # The following way of writing the cache mishandles newlines in values,
2243(
2244  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2245    eval ac_val=\$$ac_var
2246    case $ac_val in #(
2247    *${as_nl}*)
2248      case $ac_var in #(
2249      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2250$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2251      esac
2252      case $ac_var in #(
2253      _ | IFS | as_nl) ;; #(
2254      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2255      *) { eval $ac_var=; unset $ac_var;} ;;
2256      esac ;;
2257    esac
2258  done
2259  (set) 2>&1 |
2260    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2261    *${as_nl}ac_space=\ *)
2262      sed -n \
2263	"s/'\''/'\''\\\\'\'''\''/g;
2264	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2265      ;; #(
2266    *)
2267      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2268      ;;
2269    esac |
2270    sort
2271)
2272    echo
2273
2274    $as_echo "## ----------------- ##
2275## Output variables. ##
2276## ----------------- ##"
2277    echo
2278    for ac_var in $ac_subst_vars
2279    do
2280      eval ac_val=\$$ac_var
2281      case $ac_val in
2282      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2283      esac
2284      $as_echo "$ac_var='\''$ac_val'\''"
2285    done | sort
2286    echo
2287
2288    if test -n "$ac_subst_files"; then
2289      $as_echo "## ------------------- ##
2290## File substitutions. ##
2291## ------------------- ##"
2292      echo
2293      for ac_var in $ac_subst_files
2294      do
2295	eval ac_val=\$$ac_var
2296	case $ac_val in
2297	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2298	esac
2299	$as_echo "$ac_var='\''$ac_val'\''"
2300      done | sort
2301      echo
2302    fi
2303
2304    if test -s confdefs.h; then
2305      $as_echo "## ----------- ##
2306## confdefs.h. ##
2307## ----------- ##"
2308      echo
2309      cat confdefs.h
2310      echo
2311    fi
2312    test "$ac_signal" != 0 &&
2313      $as_echo "$as_me: caught signal $ac_signal"
2314    $as_echo "$as_me: exit $exit_status"
2315  } >&5
2316  rm -f core *.core core.conftest.* &&
2317    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2318    exit $exit_status
2319' 0
2320for ac_signal in 1 2 13 15; do
2321  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2322done
2323ac_signal=0
2324
2325# confdefs.h avoids OS command line length limits that DEFS can exceed.
2326rm -f -r conftest* confdefs.h
2327
2328$as_echo "/* confdefs.h */" > confdefs.h
2329
2330# Predefined preprocessor variables.
2331
2332cat >>confdefs.h <<_ACEOF
2333#define PACKAGE_NAME "$PACKAGE_NAME"
2334_ACEOF
2335
2336cat >>confdefs.h <<_ACEOF
2337#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2338_ACEOF
2339
2340cat >>confdefs.h <<_ACEOF
2341#define PACKAGE_VERSION "$PACKAGE_VERSION"
2342_ACEOF
2343
2344cat >>confdefs.h <<_ACEOF
2345#define PACKAGE_STRING "$PACKAGE_STRING"
2346_ACEOF
2347
2348cat >>confdefs.h <<_ACEOF
2349#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2350_ACEOF
2351
2352cat >>confdefs.h <<_ACEOF
2353#define PACKAGE_URL "$PACKAGE_URL"
2354_ACEOF
2355
2356
2357# Let the site file select an alternate cache file if it wants to.
2358# Prefer an explicitly selected file to automatically selected ones.
2359ac_site_file1=NONE
2360ac_site_file2=NONE
2361if test -n "$CONFIG_SITE"; then
2362  # We do not want a PATH search for config.site.
2363  case $CONFIG_SITE in #((
2364    -*)  ac_site_file1=./$CONFIG_SITE;;
2365    */*) ac_site_file1=$CONFIG_SITE;;
2366    *)   ac_site_file1=./$CONFIG_SITE;;
2367  esac
2368elif test "x$prefix" != xNONE; then
2369  ac_site_file1=$prefix/share/config.site
2370  ac_site_file2=$prefix/etc/config.site
2371else
2372  ac_site_file1=$ac_default_prefix/share/config.site
2373  ac_site_file2=$ac_default_prefix/etc/config.site
2374fi
2375for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2376do
2377  test "x$ac_site_file" = xNONE && continue
2378  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2379    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2380$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2381    sed 's/^/| /' "$ac_site_file" >&5
2382    . "$ac_site_file" \
2383      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2384$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2385as_fn_error $? "failed to load site script $ac_site_file
2386See \`config.log' for more details" "$LINENO" 5 ; }
2387  fi
2388done
2389
2390if test -r "$cache_file"; then
2391  # Some versions of bash will fail to source /dev/null (special files
2392  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2393  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2394    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2395$as_echo "$as_me: loading cache $cache_file" >&6;}
2396    case $cache_file in
2397      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2398      *)                      . "./$cache_file";;
2399    esac
2400  fi
2401else
2402  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2403$as_echo "$as_me: creating cache $cache_file" >&6;}
2404  >$cache_file
2405fi
2406
2407as_fn_append ac_header_list " stdlib.h"
2408as_fn_append ac_header_list " unistd.h"
2409as_fn_append ac_header_list " sys/param.h"
2410# Check that the precious variables saved in the cache have kept the same
2411# value.
2412ac_cache_corrupted=false
2413for ac_var in $ac_precious_vars; do
2414  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2415  eval ac_new_set=\$ac_env_${ac_var}_set
2416  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2417  eval ac_new_val=\$ac_env_${ac_var}_value
2418  case $ac_old_set,$ac_new_set in
2419    set,)
2420      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2421$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2422      ac_cache_corrupted=: ;;
2423    ,set)
2424      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2425$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2426      ac_cache_corrupted=: ;;
2427    ,);;
2428    *)
2429      if test "x$ac_old_val" != "x$ac_new_val"; then
2430	# differences in whitespace do not lead to failure.
2431	ac_old_val_w=`echo x $ac_old_val`
2432	ac_new_val_w=`echo x $ac_new_val`
2433	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2434	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2435$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2436	  ac_cache_corrupted=:
2437	else
2438	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2439$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2440	  eval $ac_var=\$ac_old_val
2441	fi
2442	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2443$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2444	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2445$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2446      fi;;
2447  esac
2448  # Pass precious variables to config.status.
2449  if test "$ac_new_set" = set; then
2450    case $ac_new_val in
2451    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2452    *) ac_arg=$ac_var=$ac_new_val ;;
2453    esac
2454    case " $ac_configure_args " in
2455      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2456      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2457    esac
2458  fi
2459done
2460if $ac_cache_corrupted; then
2461  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2462$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2463  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2464$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2465  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2466fi
2467## -------------------- ##
2468## Main body of script. ##
2469## -------------------- ##
2470
2471ac_ext=c
2472ac_cpp='$CPP $CPPFLAGS'
2473ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2474ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2475ac_compiler_gnu=$ac_cv_c_compiler_gnu
2476
2477
2478ac_aux_dir=
2479for ac_dir in . "$srcdir"/.; do
2480  if test -f "$ac_dir/install-sh"; then
2481    ac_aux_dir=$ac_dir
2482    ac_install_sh="$ac_aux_dir/install-sh -c"
2483    break
2484  elif test -f "$ac_dir/install.sh"; then
2485    ac_aux_dir=$ac_dir
2486    ac_install_sh="$ac_aux_dir/install.sh -c"
2487    break
2488  elif test -f "$ac_dir/shtool"; then
2489    ac_aux_dir=$ac_dir
2490    ac_install_sh="$ac_aux_dir/shtool install -c"
2491    break
2492  fi
2493done
2494if test -z "$ac_aux_dir"; then
2495  as_fn_error $? "cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
2496fi
2497
2498# These three variables are undocumented and unsupported,
2499# and are intended to be withdrawn in a future Autoconf release.
2500# They can cause serious problems if a builder's source tree is in a directory
2501# whose full name contains unusual characters.
2502ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2503ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2504ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2505
2506
2507
2508
2509ac_config_headers="$ac_config_headers config.h"
2510
2511am__api_version='1.11'
2512
2513# Find a good install program.  We prefer a C program (faster),
2514# so one script is as good as another.  But avoid the broken or
2515# incompatible versions:
2516# SysV /etc/install, /usr/sbin/install
2517# SunOS /usr/etc/install
2518# IRIX /sbin/install
2519# AIX /bin/install
2520# AmigaOS /C/install, which installs bootblocks on floppy discs
2521# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2522# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2523# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2524# OS/2's system install, which has a completely different semantic
2525# ./install, which can be erroneously created by make from ./install.sh.
2526# Reject install programs that cannot install multiple files.
2527{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2528$as_echo_n "checking for a BSD-compatible install... " >&6; }
2529if test -z "$INSTALL"; then
2530if test "${ac_cv_path_install+set}" = set; then :
2531  $as_echo_n "(cached) " >&6
2532else
2533  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2534for as_dir in $PATH
2535do
2536  IFS=$as_save_IFS
2537  test -z "$as_dir" && as_dir=.
2538    # Account for people who put trailing slashes in PATH elements.
2539case $as_dir/ in #((
2540  ./ | .// | /[cC]/* | \
2541  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2542  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2543  /usr/ucb/* ) ;;
2544  *)
2545    # OSF1 and SCO ODT 3.0 have their own names for install.
2546    # Don't use installbsd from OSF since it installs stuff as root
2547    # by default.
2548    for ac_prog in ginstall scoinst install; do
2549      for ac_exec_ext in '' $ac_executable_extensions; do
2550	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2551	  if test $ac_prog = install &&
2552	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2553	    # AIX install.  It has an incompatible calling convention.
2554	    :
2555	  elif test $ac_prog = install &&
2556	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2557	    # program-specific install script used by HP pwplus--don't use.
2558	    :
2559	  else
2560	    rm -rf conftest.one conftest.two conftest.dir
2561	    echo one > conftest.one
2562	    echo two > conftest.two
2563	    mkdir conftest.dir
2564	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2565	      test -s conftest.one && test -s conftest.two &&
2566	      test -s conftest.dir/conftest.one &&
2567	      test -s conftest.dir/conftest.two
2568	    then
2569	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2570	      break 3
2571	    fi
2572	  fi
2573	fi
2574      done
2575    done
2576    ;;
2577esac
2578
2579  done
2580IFS=$as_save_IFS
2581
2582rm -rf conftest.one conftest.two conftest.dir
2583
2584fi
2585  if test "${ac_cv_path_install+set}" = set; then
2586    INSTALL=$ac_cv_path_install
2587  else
2588    # As a last resort, use the slow shell script.  Don't cache a
2589    # value for INSTALL within a source directory, because that will
2590    # break other packages using the cache if that directory is
2591    # removed, or if the value is a relative name.
2592    INSTALL=$ac_install_sh
2593  fi
2594fi
2595{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2596$as_echo "$INSTALL" >&6; }
2597
2598# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2599# It thinks the first close brace ends the variable substitution.
2600test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2601
2602test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2603
2604test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2605
2606{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2607$as_echo_n "checking whether build environment is sane... " >&6; }
2608# Just in case
2609sleep 1
2610echo timestamp > conftest.file
2611# Reject unsafe characters in $srcdir or the absolute working directory
2612# name.  Accept space and tab only in the latter.
2613am_lf='
2614'
2615case `pwd` in
2616  *[\\\"\#\$\&\'\`$am_lf]*)
2617    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
2618esac
2619case $srcdir in
2620  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2621    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
2622esac
2623
2624# Do `set' in a subshell so we don't clobber the current shell's
2625# arguments.  Must try -L first in case configure is actually a
2626# symlink; some systems play weird games with the mod time of symlinks
2627# (eg FreeBSD returns the mod time of the symlink's containing
2628# directory).
2629if (
2630   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2631   if test "$*" = "X"; then
2632      # -L didn't work.
2633      set X `ls -t "$srcdir/configure" conftest.file`
2634   fi
2635   rm -f conftest.file
2636   if test "$*" != "X $srcdir/configure conftest.file" \
2637      && test "$*" != "X conftest.file $srcdir/configure"; then
2638
2639      # If neither matched, then we have a broken ls.  This can happen
2640      # if, for instance, CONFIG_SHELL is bash and it inherits a
2641      # broken ls alias from the environment.  This has actually
2642      # happened.  Such a system could not be considered "sane".
2643      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2644alias in your environment" "$LINENO" 5
2645   fi
2646
2647   test "$2" = conftest.file
2648   )
2649then
2650   # Ok.
2651   :
2652else
2653   as_fn_error $? "newly created file is older than distributed files!
2654Check your system clock" "$LINENO" 5
2655fi
2656{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2657$as_echo "yes" >&6; }
2658test "$program_prefix" != NONE &&
2659  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2660# Use a double $ so make ignores it.
2661test "$program_suffix" != NONE &&
2662  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2663# Double any \ or $.
2664# By default was `s,x,x', remove it if useless.
2665ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2666program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2667
2668# expand $ac_aux_dir to an absolute path
2669am_aux_dir=`cd $ac_aux_dir && pwd`
2670
2671if test x"${MISSING+set}" != xset; then
2672  case $am_aux_dir in
2673  *\ * | *\	*)
2674    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2675  *)
2676    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2677  esac
2678fi
2679# Use eval to expand $SHELL
2680if eval "$MISSING --run true"; then
2681  am_missing_run="$MISSING --run "
2682else
2683  am_missing_run=
2684  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2685$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2686fi
2687
2688if test x"${install_sh}" != xset; then
2689  case $am_aux_dir in
2690  *\ * | *\	*)
2691    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2692  *)
2693    install_sh="\${SHELL} $am_aux_dir/install-sh"
2694  esac
2695fi
2696
2697# Installed binaries are usually stripped using `strip' when the user
2698# run `make install-strip'.  However `strip' might not be the right
2699# tool to use in cross-compilation environments, therefore Automake
2700# will honor the `STRIP' environment variable to overrule this program.
2701if test "$cross_compiling" != no; then
2702  if test -n "$ac_tool_prefix"; then
2703  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2704set dummy ${ac_tool_prefix}strip; ac_word=$2
2705{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2706$as_echo_n "checking for $ac_word... " >&6; }
2707if test "${ac_cv_prog_STRIP+set}" = set; then :
2708  $as_echo_n "(cached) " >&6
2709else
2710  if test -n "$STRIP"; then
2711  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2712else
2713as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2714for as_dir in $PATH
2715do
2716  IFS=$as_save_IFS
2717  test -z "$as_dir" && as_dir=.
2718    for ac_exec_ext in '' $ac_executable_extensions; do
2719  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2720    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2721    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2722    break 2
2723  fi
2724done
2725  done
2726IFS=$as_save_IFS
2727
2728fi
2729fi
2730STRIP=$ac_cv_prog_STRIP
2731if test -n "$STRIP"; then
2732  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2733$as_echo "$STRIP" >&6; }
2734else
2735  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2736$as_echo "no" >&6; }
2737fi
2738
2739
2740fi
2741if test -z "$ac_cv_prog_STRIP"; then
2742  ac_ct_STRIP=$STRIP
2743  # Extract the first word of "strip", so it can be a program name with args.
2744set dummy strip; ac_word=$2
2745{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2746$as_echo_n "checking for $ac_word... " >&6; }
2747if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2748  $as_echo_n "(cached) " >&6
2749else
2750  if test -n "$ac_ct_STRIP"; then
2751  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2752else
2753as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2754for as_dir in $PATH
2755do
2756  IFS=$as_save_IFS
2757  test -z "$as_dir" && as_dir=.
2758    for ac_exec_ext in '' $ac_executable_extensions; do
2759  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2760    ac_cv_prog_ac_ct_STRIP="strip"
2761    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2762    break 2
2763  fi
2764done
2765  done
2766IFS=$as_save_IFS
2767
2768fi
2769fi
2770ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2771if test -n "$ac_ct_STRIP"; then
2772  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2773$as_echo "$ac_ct_STRIP" >&6; }
2774else
2775  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2776$as_echo "no" >&6; }
2777fi
2778
2779  if test "x$ac_ct_STRIP" = x; then
2780    STRIP=":"
2781  else
2782    case $cross_compiling:$ac_tool_warned in
2783yes:)
2784{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2785$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2786ac_tool_warned=yes ;;
2787esac
2788    STRIP=$ac_ct_STRIP
2789  fi
2790else
2791  STRIP="$ac_cv_prog_STRIP"
2792fi
2793
2794fi
2795INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2796
2797{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2798$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2799if test -z "$MKDIR_P"; then
2800  if test "${ac_cv_path_mkdir+set}" = set; then :
2801  $as_echo_n "(cached) " >&6
2802else
2803  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2804for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2805do
2806  IFS=$as_save_IFS
2807  test -z "$as_dir" && as_dir=.
2808    for ac_prog in mkdir gmkdir; do
2809	 for ac_exec_ext in '' $ac_executable_extensions; do
2810	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2811	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2812	     'mkdir (GNU coreutils) '* | \
2813	     'mkdir (coreutils) '* | \
2814	     'mkdir (fileutils) '4.1*)
2815	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2816	       break 3;;
2817	   esac
2818	 done
2819       done
2820  done
2821IFS=$as_save_IFS
2822
2823fi
2824
2825  test -d ./--version && rmdir ./--version
2826  if test "${ac_cv_path_mkdir+set}" = set; then
2827    MKDIR_P="$ac_cv_path_mkdir -p"
2828  else
2829    # As a last resort, use the slow shell script.  Don't cache a
2830    # value for MKDIR_P within a source directory, because that will
2831    # break other packages using the cache if that directory is
2832    # removed, or if the value is a relative name.
2833    MKDIR_P="$ac_install_sh -d"
2834  fi
2835fi
2836{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2837$as_echo "$MKDIR_P" >&6; }
2838
2839mkdir_p="$MKDIR_P"
2840case $mkdir_p in
2841  [\\/$]* | ?:[\\/]*) ;;
2842  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2843esac
2844
2845for ac_prog in gawk mawk nawk awk
2846do
2847  # Extract the first word of "$ac_prog", so it can be a program name with args.
2848set dummy $ac_prog; ac_word=$2
2849{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2850$as_echo_n "checking for $ac_word... " >&6; }
2851if test "${ac_cv_prog_AWK+set}" = set; then :
2852  $as_echo_n "(cached) " >&6
2853else
2854  if test -n "$AWK"; then
2855  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2856else
2857as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2858for as_dir in $PATH
2859do
2860  IFS=$as_save_IFS
2861  test -z "$as_dir" && as_dir=.
2862    for ac_exec_ext in '' $ac_executable_extensions; do
2863  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2864    ac_cv_prog_AWK="$ac_prog"
2865    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2866    break 2
2867  fi
2868done
2869  done
2870IFS=$as_save_IFS
2871
2872fi
2873fi
2874AWK=$ac_cv_prog_AWK
2875if test -n "$AWK"; then
2876  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2877$as_echo "$AWK" >&6; }
2878else
2879  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2880$as_echo "no" >&6; }
2881fi
2882
2883
2884  test -n "$AWK" && break
2885done
2886
2887{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2888$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2889set x ${MAKE-make}
2890ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2891if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2892  $as_echo_n "(cached) " >&6
2893else
2894  cat >conftest.make <<\_ACEOF
2895SHELL = /bin/sh
2896all:
2897	@echo '@@@%%%=$(MAKE)=@@@%%%'
2898_ACEOF
2899# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2900case `${MAKE-make} -f conftest.make 2>/dev/null` in
2901  *@@@%%%=?*=@@@%%%*)
2902    eval ac_cv_prog_make_${ac_make}_set=yes;;
2903  *)
2904    eval ac_cv_prog_make_${ac_make}_set=no;;
2905esac
2906rm -f conftest.make
2907fi
2908if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2909  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2910$as_echo "yes" >&6; }
2911  SET_MAKE=
2912else
2913  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2914$as_echo "no" >&6; }
2915  SET_MAKE="MAKE=${MAKE-make}"
2916fi
2917
2918rm -rf .tst 2>/dev/null
2919mkdir .tst 2>/dev/null
2920if test -d .tst; then
2921  am__leading_dot=.
2922else
2923  am__leading_dot=_
2924fi
2925rmdir .tst 2>/dev/null
2926
2927if test "`cd $srcdir && pwd`" != "`pwd`"; then
2928  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2929  # is not polluted with repeated "-I."
2930  am__isrc=' -I$(srcdir)'
2931  # test to see if srcdir already configured
2932  if test -f $srcdir/config.status; then
2933    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2934  fi
2935fi
2936
2937# test whether we have cygpath
2938if test -z "$CYGPATH_W"; then
2939  if (cygpath --version) >/dev/null 2>/dev/null; then
2940    CYGPATH_W='cygpath -w'
2941  else
2942    CYGPATH_W=echo
2943  fi
2944fi
2945
2946
2947# Define the identity of the package.
2948 PACKAGE='swfScanner'
2949 VERSION='0.5.0'
2950
2951
2952# Some tools Automake needs.
2953
2954ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2955
2956
2957AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2958
2959
2960AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2961
2962
2963AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2964
2965
2966MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2967
2968# We need awk for the "check" target.  The system "awk" is bad on
2969# some platforms.
2970# Always define AMTAR for backward compatibility.
2971
2972AMTAR=${AMTAR-"${am_missing_run}tar"}
2973
2974
2975{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
2976$as_echo_n "checking how to create a ustar tar archive... " >&6; }
2977# Loop over all known methods to create a tar archive until one works.
2978_am_tools='gnutar plaintar pax cpio none'
2979_am_tools=${am_cv_prog_tar_ustar-$_am_tools}
2980# Do not fold the above two line into one, because Tru64 sh and
2981# Solaris sh will not grok spaces in the rhs of `-'.
2982for _am_tool in $_am_tools
2983do
2984  case $_am_tool in
2985  gnutar)
2986    for _am_tar in tar gnutar gtar;
2987    do
2988      { echo "$as_me:$LINENO: $_am_tar --version" >&5
2989   ($_am_tar --version) >&5 2>&5
2990   ac_status=$?
2991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2992   (exit $ac_status); } && break
2993    done
2994    am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
2995    am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
2996    am__untar="$_am_tar -xf -"
2997    ;;
2998  plaintar)
2999    # Must skip GNU tar: if it does not support --format= it doesn't create
3000    # ustar tarball either.
3001    (tar --version) >/dev/null 2>&1 && continue
3002    am__tar='tar chf - "$$tardir"'
3003    am__tar_='tar chf - "$tardir"'
3004    am__untar='tar xf -'
3005    ;;
3006  pax)
3007    am__tar='pax -L -x ustar -w "$$tardir"'
3008    am__tar_='pax -L -x ustar -w "$tardir"'
3009    am__untar='pax -r'
3010    ;;
3011  cpio)
3012    am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
3013    am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
3014    am__untar='cpio -i -H ustar -d'
3015    ;;
3016  none)
3017    am__tar=false
3018    am__tar_=false
3019    am__untar=false
3020    ;;
3021  esac
3022
3023  # If the value was cached, stop now.  We just wanted to have am__tar
3024  # and am__untar set.
3025  test -n "${am_cv_prog_tar_ustar}" && break
3026
3027  # tar/untar a dummy directory, and stop if the command works
3028  rm -rf conftest.dir
3029  mkdir conftest.dir
3030  echo GrepMe > conftest.dir/file
3031  { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
3032   (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
3033   ac_status=$?
3034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3035   (exit $ac_status); }
3036  rm -rf conftest.dir
3037  if test -s conftest.tar; then
3038    { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
3039   ($am__untar <conftest.tar) >&5 2>&5
3040   ac_status=$?
3041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3042   (exit $ac_status); }
3043    grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
3044  fi
3045done
3046rm -rf conftest.dir
3047
3048if test "${am_cv_prog_tar_ustar+set}" = set; then :
3049  $as_echo_n "(cached) " >&6
3050else
3051  am_cv_prog_tar_ustar=$_am_tool
3052fi
3053
3054{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
3055$as_echo "$am_cv_prog_tar_ustar" >&6; }
3056
3057
3058
3059
3060
3061
3062# Pull in the checks for the build tools.
3063
3064# Make sure we can run config.sub.
3065$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3066  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3067
3068{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3069$as_echo_n "checking build system type... " >&6; }
3070if test "${ac_cv_build+set}" = set; then :
3071  $as_echo_n "(cached) " >&6
3072else
3073  ac_build_alias=$build_alias
3074test "x$ac_build_alias" = x &&
3075  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3076test "x$ac_build_alias" = x &&
3077  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3078ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3079  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3080
3081fi
3082{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3083$as_echo "$ac_cv_build" >&6; }
3084case $ac_cv_build in
3085*-*-*) ;;
3086*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
3087esac
3088build=$ac_cv_build
3089ac_save_IFS=$IFS; IFS='-'
3090set x $ac_cv_build
3091shift
3092build_cpu=$1
3093build_vendor=$2
3094shift; shift
3095# Remember, the first character of IFS is used to create $*,
3096# except with old shells:
3097build_os=$*
3098IFS=$ac_save_IFS
3099case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3100
3101
3102{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3103$as_echo_n "checking host system type... " >&6; }
3104if test "${ac_cv_host+set}" = set; then :
3105  $as_echo_n "(cached) " >&6
3106else
3107  if test "x$host_alias" = x; then
3108  ac_cv_host=$ac_cv_build
3109else
3110  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3111    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3112fi
3113
3114fi
3115{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3116$as_echo "$ac_cv_host" >&6; }
3117case $ac_cv_host in
3118*-*-*) ;;
3119*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
3120esac
3121host=$ac_cv_host
3122ac_save_IFS=$IFS; IFS='-'
3123set x $ac_cv_host
3124shift
3125host_cpu=$1
3126host_vendor=$2
3127shift; shift
3128# Remember, the first character of IFS is used to create $*,
3129# except with old shells:
3130host_os=$*
3131IFS=$ac_save_IFS
3132case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3133
3134
3135
3136ac_ext=c
3137ac_cpp='$CPP $CPPFLAGS'
3138ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3139ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3140ac_compiler_gnu=$ac_cv_c_compiler_gnu
3141if test -n "$ac_tool_prefix"; then
3142  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3143set dummy ${ac_tool_prefix}gcc; ac_word=$2
3144{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3145$as_echo_n "checking for $ac_word... " >&6; }
3146if test "${ac_cv_prog_CC+set}" = set; then :
3147  $as_echo_n "(cached) " >&6
3148else
3149  if test -n "$CC"; then
3150  ac_cv_prog_CC="$CC" # Let the user override the test.
3151else
3152as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3153for as_dir in $PATH
3154do
3155  IFS=$as_save_IFS
3156  test -z "$as_dir" && as_dir=.
3157    for ac_exec_ext in '' $ac_executable_extensions; do
3158  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3159    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3160    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3161    break 2
3162  fi
3163done
3164  done
3165IFS=$as_save_IFS
3166
3167fi
3168fi
3169CC=$ac_cv_prog_CC
3170if test -n "$CC"; then
3171  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3172$as_echo "$CC" >&6; }
3173else
3174  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3175$as_echo "no" >&6; }
3176fi
3177
3178
3179fi
3180if test -z "$ac_cv_prog_CC"; then
3181  ac_ct_CC=$CC
3182  # Extract the first word of "gcc", so it can be a program name with args.
3183set dummy gcc; ac_word=$2
3184{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3185$as_echo_n "checking for $ac_word... " >&6; }
3186if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3187  $as_echo_n "(cached) " >&6
3188else
3189  if test -n "$ac_ct_CC"; then
3190  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3191else
3192as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3193for as_dir in $PATH
3194do
3195  IFS=$as_save_IFS
3196  test -z "$as_dir" && as_dir=.
3197    for ac_exec_ext in '' $ac_executable_extensions; do
3198  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3199    ac_cv_prog_ac_ct_CC="gcc"
3200    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3201    break 2
3202  fi
3203done
3204  done
3205IFS=$as_save_IFS
3206
3207fi
3208fi
3209ac_ct_CC=$ac_cv_prog_ac_ct_CC
3210if test -n "$ac_ct_CC"; then
3211  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3212$as_echo "$ac_ct_CC" >&6; }
3213else
3214  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3215$as_echo "no" >&6; }
3216fi
3217
3218  if test "x$ac_ct_CC" = x; then
3219    CC=""
3220  else
3221    case $cross_compiling:$ac_tool_warned in
3222yes:)
3223{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3224$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3225ac_tool_warned=yes ;;
3226esac
3227    CC=$ac_ct_CC
3228  fi
3229else
3230  CC="$ac_cv_prog_CC"
3231fi
3232
3233if test -z "$CC"; then
3234          if test -n "$ac_tool_prefix"; then
3235    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3236set dummy ${ac_tool_prefix}cc; ac_word=$2
3237{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3238$as_echo_n "checking for $ac_word... " >&6; }
3239if test "${ac_cv_prog_CC+set}" = set; then :
3240  $as_echo_n "(cached) " >&6
3241else
3242  if test -n "$CC"; then
3243  ac_cv_prog_CC="$CC" # Let the user override the test.
3244else
3245as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3246for as_dir in $PATH
3247do
3248  IFS=$as_save_IFS
3249  test -z "$as_dir" && as_dir=.
3250    for ac_exec_ext in '' $ac_executable_extensions; do
3251  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3252    ac_cv_prog_CC="${ac_tool_prefix}cc"
3253    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3254    break 2
3255  fi
3256done
3257  done
3258IFS=$as_save_IFS
3259
3260fi
3261fi
3262CC=$ac_cv_prog_CC
3263if test -n "$CC"; then
3264  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3265$as_echo "$CC" >&6; }
3266else
3267  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3268$as_echo "no" >&6; }
3269fi
3270
3271
3272  fi
3273fi
3274if test -z "$CC"; then
3275  # Extract the first word of "cc", so it can be a program name with args.
3276set dummy cc; ac_word=$2
3277{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3278$as_echo_n "checking for $ac_word... " >&6; }
3279if test "${ac_cv_prog_CC+set}" = set; then :
3280  $as_echo_n "(cached) " >&6
3281else
3282  if test -n "$CC"; then
3283  ac_cv_prog_CC="$CC" # Let the user override the test.
3284else
3285  ac_prog_rejected=no
3286as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3287for as_dir in $PATH
3288do
3289  IFS=$as_save_IFS
3290  test -z "$as_dir" && as_dir=.
3291    for ac_exec_ext in '' $ac_executable_extensions; do
3292  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3293    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3294       ac_prog_rejected=yes
3295       continue
3296     fi
3297    ac_cv_prog_CC="cc"
3298    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3299    break 2
3300  fi
3301done
3302  done
3303IFS=$as_save_IFS
3304
3305if test $ac_prog_rejected = yes; then
3306  # We found a bogon in the path, so make sure we never use it.
3307  set dummy $ac_cv_prog_CC
3308  shift
3309  if test $# != 0; then
3310    # We chose a different compiler from the bogus one.
3311    # However, it has the same basename, so the bogon will be chosen
3312    # first if we set CC to just the basename; use the full file name.
3313    shift
3314    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3315  fi
3316fi
3317fi
3318fi
3319CC=$ac_cv_prog_CC
3320if test -n "$CC"; then
3321  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3322$as_echo "$CC" >&6; }
3323else
3324  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3325$as_echo "no" >&6; }
3326fi
3327
3328
3329fi
3330if test -z "$CC"; then
3331  if test -n "$ac_tool_prefix"; then
3332  for ac_prog in cl.exe
3333  do
3334    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3335set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3336{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3337$as_echo_n "checking for $ac_word... " >&6; }
3338if test "${ac_cv_prog_CC+set}" = set; then :
3339  $as_echo_n "(cached) " >&6
3340else
3341  if test -n "$CC"; then
3342  ac_cv_prog_CC="$CC" # Let the user override the test.
3343else
3344as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3345for as_dir in $PATH
3346do
3347  IFS=$as_save_IFS
3348  test -z "$as_dir" && as_dir=.
3349    for ac_exec_ext in '' $ac_executable_extensions; do
3350  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3351    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3352    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3353    break 2
3354  fi
3355done
3356  done
3357IFS=$as_save_IFS
3358
3359fi
3360fi
3361CC=$ac_cv_prog_CC
3362if test -n "$CC"; then
3363  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3364$as_echo "$CC" >&6; }
3365else
3366  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3367$as_echo "no" >&6; }
3368fi
3369
3370
3371    test -n "$CC" && break
3372  done
3373fi
3374if test -z "$CC"; then
3375  ac_ct_CC=$CC
3376  for ac_prog in cl.exe
3377do
3378  # Extract the first word of "$ac_prog", so it can be a program name with args.
3379set dummy $ac_prog; ac_word=$2
3380{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3381$as_echo_n "checking for $ac_word... " >&6; }
3382if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3383  $as_echo_n "(cached) " >&6
3384else
3385  if test -n "$ac_ct_CC"; then
3386  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3387else
3388as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3389for as_dir in $PATH
3390do
3391  IFS=$as_save_IFS
3392  test -z "$as_dir" && as_dir=.
3393    for ac_exec_ext in '' $ac_executable_extensions; do
3394  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3395    ac_cv_prog_ac_ct_CC="$ac_prog"
3396    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3397    break 2
3398  fi
3399done
3400  done
3401IFS=$as_save_IFS
3402
3403fi
3404fi
3405ac_ct_CC=$ac_cv_prog_ac_ct_CC
3406if test -n "$ac_ct_CC"; then
3407  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3408$as_echo "$ac_ct_CC" >&6; }
3409else
3410  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3411$as_echo "no" >&6; }
3412fi
3413
3414
3415  test -n "$ac_ct_CC" && break
3416done
3417
3418  if test "x$ac_ct_CC" = x; then
3419    CC=""
3420  else
3421    case $cross_compiling:$ac_tool_warned in
3422yes:)
3423{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3424$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3425ac_tool_warned=yes ;;
3426esac
3427    CC=$ac_ct_CC
3428  fi
3429fi
3430
3431fi
3432
3433
3434test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3435$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3436as_fn_error $? "no acceptable C compiler found in \$PATH
3437See \`config.log' for more details" "$LINENO" 5 ; }
3438
3439# Provide some information about the compiler.
3440$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3441set X $ac_compile
3442ac_compiler=$2
3443for ac_option in --version -v -V -qversion; do
3444  { { ac_try="$ac_compiler $ac_option >&5"
3445case "(($ac_try" in
3446  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3447  *) ac_try_echo=$ac_try;;
3448esac
3449eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3450$as_echo "$ac_try_echo"; } >&5
3451  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3452  ac_status=$?
3453  if test -s conftest.err; then
3454    sed '10a\
3455... rest of stderr output deleted ...
3456         10q' conftest.err >conftest.er1
3457    cat conftest.er1 >&5
3458  fi
3459  rm -f conftest.er1 conftest.err
3460  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3461  test $ac_status = 0; }
3462done
3463
3464cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3465/* end confdefs.h.  */
3466
3467int
3468main ()
3469{
3470
3471  ;
3472  return 0;
3473}
3474_ACEOF
3475ac_clean_files_save=$ac_clean_files
3476ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3477# Try to create an executable without -o first, disregard a.out.
3478# It will help us diagnose broken compilers, and finding out an intuition
3479# of exeext.
3480{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3481$as_echo_n "checking whether the C compiler works... " >&6; }
3482ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3483
3484# The possible output files:
3485ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3486
3487ac_rmfiles=
3488for ac_file in $ac_files
3489do
3490  case $ac_file in
3491    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3492    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3493  esac
3494done
3495rm -f $ac_rmfiles
3496
3497if { { ac_try="$ac_link_default"
3498case "(($ac_try" in
3499  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3500  *) ac_try_echo=$ac_try;;
3501esac
3502eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3503$as_echo "$ac_try_echo"; } >&5
3504  (eval "$ac_link_default") 2>&5
3505  ac_status=$?
3506  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3507  test $ac_status = 0; }; then :
3508  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3509# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3510# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3511# so that the user can short-circuit this test for compilers unknown to
3512# Autoconf.
3513for ac_file in $ac_files ''
3514do
3515  test -f "$ac_file" || continue
3516  case $ac_file in
3517    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3518	;;
3519    [ab].out )
3520	# We found the default executable, but exeext='' is most
3521	# certainly right.
3522	break;;
3523    *.* )
3524	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3525	then :; else
3526	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3527	fi
3528	# We set ac_cv_exeext here because the later test for it is not
3529	# safe: cross compilers may not add the suffix if given an `-o'
3530	# argument, so we may need to know it at that point already.
3531	# Even if this section looks crufty: it has the advantage of
3532	# actually working.
3533	break;;
3534    * )
3535	break;;
3536  esac
3537done
3538test "$ac_cv_exeext" = no && ac_cv_exeext=
3539
3540else
3541  ac_file=''
3542fi
3543if test -z "$ac_file"; then :
3544  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3545$as_echo "no" >&6; }
3546$as_echo "$as_me: failed program was:" >&5
3547sed 's/^/| /' conftest.$ac_ext >&5
3548
3549{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3550$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3551as_fn_error 77 "C compiler cannot create executables
3552See \`config.log' for more details" "$LINENO" 5 ; }
3553else
3554  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3555$as_echo "yes" >&6; }
3556fi
3557{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3558$as_echo_n "checking for C compiler default output file name... " >&6; }
3559{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3560$as_echo "$ac_file" >&6; }
3561ac_exeext=$ac_cv_exeext
3562
3563rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3564ac_clean_files=$ac_clean_files_save
3565{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3566$as_echo_n "checking for suffix of executables... " >&6; }
3567if { { ac_try="$ac_link"
3568case "(($ac_try" in
3569  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3570  *) ac_try_echo=$ac_try;;
3571esac
3572eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3573$as_echo "$ac_try_echo"; } >&5
3574  (eval "$ac_link") 2>&5
3575  ac_status=$?
3576  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3577  test $ac_status = 0; }; then :
3578  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3579# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3580# work properly (i.e., refer to `conftest.exe'), while it won't with
3581# `rm'.
3582for ac_file in conftest.exe conftest conftest.*; do
3583  test -f "$ac_file" || continue
3584  case $ac_file in
3585    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3586    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3587	  break;;
3588    * ) break;;
3589  esac
3590done
3591else
3592  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3593$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3594as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3595See \`config.log' for more details" "$LINENO" 5 ; }
3596fi
3597rm -f conftest conftest$ac_cv_exeext
3598{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3599$as_echo "$ac_cv_exeext" >&6; }
3600
3601rm -f conftest.$ac_ext
3602EXEEXT=$ac_cv_exeext
3603ac_exeext=$EXEEXT
3604cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3605/* end confdefs.h.  */
3606#include <stdio.h>
3607int
3608main ()
3609{
3610FILE *f = fopen ("conftest.out", "w");
3611 return ferror (f) || fclose (f) != 0;
3612
3613  ;
3614  return 0;
3615}
3616_ACEOF
3617ac_clean_files="$ac_clean_files conftest.out"
3618# Check that the compiler produces executables we can run.  If not, either
3619# the compiler is broken, or we cross compile.
3620{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3621$as_echo_n "checking whether we are cross compiling... " >&6; }
3622if test "$cross_compiling" != yes; then
3623  { { ac_try="$ac_link"
3624case "(($ac_try" in
3625  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3626  *) ac_try_echo=$ac_try;;
3627esac
3628eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3629$as_echo "$ac_try_echo"; } >&5
3630  (eval "$ac_link") 2>&5
3631  ac_status=$?
3632  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3633  test $ac_status = 0; }
3634  if { ac_try='./conftest$ac_cv_exeext'
3635  { { case "(($ac_try" in
3636  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3637  *) ac_try_echo=$ac_try;;
3638esac
3639eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3640$as_echo "$ac_try_echo"; } >&5
3641  (eval "$ac_try") 2>&5
3642  ac_status=$?
3643  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3644  test $ac_status = 0; }; }; then
3645    cross_compiling=no
3646  else
3647    if test "$cross_compiling" = maybe; then
3648	cross_compiling=yes
3649    else
3650	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3651$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3652as_fn_error $? "cannot run C compiled programs.
3653If you meant to cross compile, use \`--host'.
3654See \`config.log' for more details" "$LINENO" 5 ; }
3655    fi
3656  fi
3657fi
3658{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3659$as_echo "$cross_compiling" >&6; }
3660
3661rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3662ac_clean_files=$ac_clean_files_save
3663{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3664$as_echo_n "checking for suffix of object files... " >&6; }
3665if test "${ac_cv_objext+set}" = set; then :
3666  $as_echo_n "(cached) " >&6
3667else
3668  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3669/* end confdefs.h.  */
3670
3671int
3672main ()
3673{
3674
3675  ;
3676  return 0;
3677}
3678_ACEOF
3679rm -f conftest.o conftest.obj
3680if { { ac_try="$ac_compile"
3681case "(($ac_try" in
3682  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3683  *) ac_try_echo=$ac_try;;
3684esac
3685eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3686$as_echo "$ac_try_echo"; } >&5
3687  (eval "$ac_compile") 2>&5
3688  ac_status=$?
3689  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3690  test $ac_status = 0; }; then :
3691  for ac_file in conftest.o conftest.obj conftest.*; do
3692  test -f "$ac_file" || continue;
3693  case $ac_file in
3694    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3695    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3696       break;;
3697  esac
3698done
3699else
3700  $as_echo "$as_me: failed program was:" >&5
3701sed 's/^/| /' conftest.$ac_ext >&5
3702
3703{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3704$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3705as_fn_error $? "cannot compute suffix of object files: cannot compile
3706See \`config.log' for more details" "$LINENO" 5 ; }
3707fi
3708rm -f conftest.$ac_cv_objext conftest.$ac_ext
3709fi
3710{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3711$as_echo "$ac_cv_objext" >&6; }
3712OBJEXT=$ac_cv_objext
3713ac_objext=$OBJEXT
3714{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3715$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3716if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3717  $as_echo_n "(cached) " >&6
3718else
3719  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3720/* end confdefs.h.  */
3721
3722int
3723main ()
3724{
3725#ifndef __GNUC__
3726       choke me
3727#endif
3728
3729  ;
3730  return 0;
3731}
3732_ACEOF
3733if ac_fn_c_try_compile "$LINENO"; then :
3734  ac_compiler_gnu=yes
3735else
3736  ac_compiler_gnu=no
3737fi
3738rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3739ac_cv_c_compiler_gnu=$ac_compiler_gnu
3740
3741fi
3742{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3743$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3744if test $ac_compiler_gnu = yes; then
3745  GCC=yes
3746else
3747  GCC=
3748fi
3749ac_test_CFLAGS=${CFLAGS+set}
3750ac_save_CFLAGS=$CFLAGS
3751{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3752$as_echo_n "checking whether $CC accepts -g... " >&6; }
3753if test "${ac_cv_prog_cc_g+set}" = set; then :
3754  $as_echo_n "(cached) " >&6
3755else
3756  ac_save_c_werror_flag=$ac_c_werror_flag
3757   ac_c_werror_flag=yes
3758   ac_cv_prog_cc_g=no
3759   CFLAGS="-g"
3760   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3761/* end confdefs.h.  */
3762
3763int
3764main ()
3765{
3766
3767  ;
3768  return 0;
3769}
3770_ACEOF
3771if ac_fn_c_try_compile "$LINENO"; then :
3772  ac_cv_prog_cc_g=yes
3773else
3774  CFLAGS=""
3775      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3776/* end confdefs.h.  */
3777
3778int
3779main ()
3780{
3781
3782  ;
3783  return 0;
3784}
3785_ACEOF
3786if ac_fn_c_try_compile "$LINENO"; then :
3787
3788else
3789  ac_c_werror_flag=$ac_save_c_werror_flag
3790	 CFLAGS="-g"
3791	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3792/* end confdefs.h.  */
3793
3794int
3795main ()
3796{
3797
3798  ;
3799  return 0;
3800}
3801_ACEOF
3802if ac_fn_c_try_compile "$LINENO"; then :
3803  ac_cv_prog_cc_g=yes
3804fi
3805rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3806fi
3807rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3808fi
3809rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3810   ac_c_werror_flag=$ac_save_c_werror_flag
3811fi
3812{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3813$as_echo "$ac_cv_prog_cc_g" >&6; }
3814if test "$ac_test_CFLAGS" = set; then
3815  CFLAGS=$ac_save_CFLAGS
3816elif test $ac_cv_prog_cc_g = yes; then
3817  if test "$GCC" = yes; then
3818    CFLAGS="-g -O2"
3819  else
3820    CFLAGS="-g"
3821  fi
3822else
3823  if test "$GCC" = yes; then
3824    CFLAGS="-O2"
3825  else
3826    CFLAGS=
3827  fi
3828fi
3829{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3830$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3831if test "${ac_cv_prog_cc_c89+set}" = set; then :
3832  $as_echo_n "(cached) " >&6
3833else
3834  ac_cv_prog_cc_c89=no
3835ac_save_CC=$CC
3836cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3837/* end confdefs.h.  */
3838#include <stdarg.h>
3839#include <stdio.h>
3840#include <sys/types.h>
3841#include <sys/stat.h>
3842/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3843struct buf { int x; };
3844FILE * (*rcsopen) (struct buf *, struct stat *, int);
3845static char *e (p, i)
3846     char **p;
3847     int i;
3848{
3849  return p[i];
3850}
3851static char *f (char * (*g) (char **, int), char **p, ...)
3852{
3853  char *s;
3854  va_list v;
3855  va_start (v,p);
3856  s = g (p, va_arg (v,int));
3857  va_end (v);
3858  return s;
3859}
3860
3861/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3862   function prototypes and stuff, but not '\xHH' hex character constants.
3863   These don't provoke an error unfortunately, instead are silently treated
3864   as 'x'.  The following induces an error, until -std is added to get
3865   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3866   array size at least.  It's necessary to write '\x00'==0 to get something
3867   that's true only with -std.  */
3868int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3869
3870/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3871   inside strings and character constants.  */
3872#define FOO(x) 'x'
3873int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3874
3875int test (int i, double x);
3876struct s1 {int (*f) (int a);};
3877struct s2 {int (*f) (double a);};
3878int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3879int argc;
3880char **argv;
3881int
3882main ()
3883{
3884return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3885  ;
3886  return 0;
3887}
3888_ACEOF
3889for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3890	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3891do
3892  CC="$ac_save_CC $ac_arg"
3893  if ac_fn_c_try_compile "$LINENO"; then :
3894  ac_cv_prog_cc_c89=$ac_arg
3895fi
3896rm -f core conftest.err conftest.$ac_objext
3897  test "x$ac_cv_prog_cc_c89" != "xno" && break
3898done
3899rm -f conftest.$ac_ext
3900CC=$ac_save_CC
3901
3902fi
3903# AC_CACHE_VAL
3904case "x$ac_cv_prog_cc_c89" in
3905  x)
3906    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3907$as_echo "none needed" >&6; } ;;
3908  xno)
3909    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3910$as_echo "unsupported" >&6; } ;;
3911  *)
3912    CC="$CC $ac_cv_prog_cc_c89"
3913    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3914$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3915esac
3916if test "x$ac_cv_prog_cc_c89" != xno; then :
3917
3918fi
3919
3920ac_ext=c
3921ac_cpp='$CPP $CPPFLAGS'
3922ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3923ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3924ac_compiler_gnu=$ac_cv_c_compiler_gnu
3925DEPDIR="${am__leading_dot}deps"
3926
3927ac_config_commands="$ac_config_commands depfiles"
3928
3929
3930am_make=${MAKE-make}
3931cat > confinc << 'END'
3932am__doit:
3933	@echo this is the am__doit target
3934.PHONY: am__doit
3935END
3936# If we don't find an include directive, just comment out the code.
3937{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3938$as_echo_n "checking for style of include used by $am_make... " >&6; }
3939am__include="#"
3940am__quote=
3941_am_result=none
3942# First try GNU make style include.
3943echo "include confinc" > confmf
3944# Ignore all kinds of additional output from `make'.
3945case `$am_make -s -f confmf 2> /dev/null` in #(
3946*the\ am__doit\ target*)
3947  am__include=include
3948  am__quote=
3949  _am_result=GNU
3950  ;;
3951esac
3952# Now try BSD make style include.
3953if test "$am__include" = "#"; then
3954   echo '.include "confinc"' > confmf
3955   case `$am_make -s -f confmf 2> /dev/null` in #(
3956   *the\ am__doit\ target*)
3957     am__include=.include
3958     am__quote="\""
3959     _am_result=BSD
3960     ;;
3961   esac
3962fi
3963
3964
3965{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3966$as_echo "$_am_result" >&6; }
3967rm -f confinc confmf
3968
3969# Check whether --enable-dependency-tracking was given.
3970if test "${enable_dependency_tracking+set}" = set; then :
3971  enableval=$enable_dependency_tracking;
3972fi
3973
3974if test "x$enable_dependency_tracking" != xno; then
3975  am_depcomp="$ac_aux_dir/depcomp"
3976  AMDEPBACKSLASH='\'
3977fi
3978 if test "x$enable_dependency_tracking" != xno; then
3979  AMDEP_TRUE=
3980  AMDEP_FALSE='#'
3981else
3982  AMDEP_TRUE='#'
3983  AMDEP_FALSE=
3984fi
3985
3986
3987
3988depcc="$CC"   am_compiler_list=
3989
3990{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3991$as_echo_n "checking dependency style of $depcc... " >&6; }
3992if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3993  $as_echo_n "(cached) " >&6
3994else
3995  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3996  # We make a subdir and do the tests there.  Otherwise we can end up
3997  # making bogus files that we don't know about and never remove.  For
3998  # instance it was reported that on HP-UX the gcc test will end up
3999  # making a dummy file named `D' -- because `-MD' means `put the output
4000  # in D'.
4001  mkdir conftest.dir
4002  # Copy depcomp to subdir because otherwise we won't find it if we're
4003  # using a relative directory.
4004  cp "$am_depcomp" conftest.dir
4005  cd conftest.dir
4006  # We will build objects and dependencies in a subdirectory because
4007  # it helps to detect inapplicable dependency modes.  For instance
4008  # both Tru64's cc and ICC support -MD to output dependencies as a
4009  # side effect of compilation, but ICC will put the dependencies in
4010  # the current directory while Tru64 will put them in the object
4011  # directory.
4012  mkdir sub
4013
4014  am_cv_CC_dependencies_compiler_type=none
4015  if test "$am_compiler_list" = ""; then
4016     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4017  fi
4018  am__universal=false
4019  case " $depcc " in #(
4020     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4021     esac
4022
4023  for depmode in $am_compiler_list; do
4024    # Setup a source with many dependencies, because some compilers
4025    # like to wrap large dependency lists on column 80 (with \), and
4026    # we should not choose a depcomp mode which is confused by this.
4027    #
4028    # We need to recreate these files for each test, as the compiler may
4029    # overwrite some of them when testing with obscure command lines.
4030    # This happens at least with the AIX C compiler.
4031    : > sub/conftest.c
4032    for i in 1 2 3 4 5 6; do
4033      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4034      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4035      # Solaris 8's {/usr,}/bin/sh.
4036      touch sub/conftst$i.h
4037    done
4038    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4039
4040    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4041    # mode.  It turns out that the SunPro C++ compiler does not properly
4042    # handle `-M -o', and we need to detect this.  Also, some Intel
4043    # versions had trouble with output in subdirs
4044    am__obj=sub/conftest.${OBJEXT-o}
4045    am__minus_obj="-o $am__obj"
4046    case $depmode in
4047    gcc)
4048      # This depmode causes a compiler race in universal mode.
4049      test "$am__universal" = false || continue
4050      ;;
4051    nosideeffect)
4052      # after this tag, mechanisms are not by side-effect, so they'll
4053      # only be used when explicitly requested
4054      if test "x$enable_dependency_tracking" = xyes; then
4055	continue
4056      else
4057	break
4058      fi
4059      ;;
4060    msvisualcpp | msvcmsys)
4061      # This compiler won't grok `-c -o', but also, the minuso test has
4062      # not run yet.  These depmodes are late enough in the game, and
4063      # so weak that their functioning should not be impacted.
4064      am__obj=conftest.${OBJEXT-o}
4065      am__minus_obj=
4066      ;;
4067    none) break ;;
4068    esac
4069    if depmode=$depmode \
4070       source=sub/conftest.c object=$am__obj \
4071       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4072       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4073         >/dev/null 2>conftest.err &&
4074       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4075       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4076       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4077       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4078      # icc doesn't choke on unknown options, it will just issue warnings
4079      # or remarks (even with -Werror).  So we grep stderr for any message
4080      # that says an option was ignored or not supported.
4081      # When given -MP, icc 7.0 and 7.1 complain thusly:
4082      #   icc: Command line warning: ignoring option '-M'; no argument required
4083      # The diagnosis changed in icc 8.0:
4084      #   icc: Command line remark: option '-MP' not supported
4085      if (grep 'ignoring option' conftest.err ||
4086          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4087        am_cv_CC_dependencies_compiler_type=$depmode
4088        break
4089      fi
4090    fi
4091  done
4092
4093  cd ..
4094  rm -rf conftest.dir
4095else
4096  am_cv_CC_dependencies_compiler_type=none
4097fi
4098
4099fi
4100{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4101$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4102CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4103
4104 if
4105  test "x$enable_dependency_tracking" != xno \
4106  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4107  am__fastdepCC_TRUE=
4108  am__fastdepCC_FALSE='#'
4109else
4110  am__fastdepCC_TRUE='#'
4111  am__fastdepCC_FALSE=
4112fi
4113
4114
4115
4116case `pwd` in
4117  *\ * | *\	*)
4118    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4119$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4120esac
4121
4122
4123
4124macro_version='2.2.6b'
4125macro_revision='1.3017'
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139ltmain="$ac_aux_dir/ltmain.sh"
4140
4141{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4142$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4143if test "${ac_cv_path_SED+set}" = set; then :
4144  $as_echo_n "(cached) " >&6
4145else
4146            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4147     for ac_i in 1 2 3 4 5 6 7; do
4148       ac_script="$ac_script$as_nl$ac_script"
4149     done
4150     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4151     { ac_script=; unset ac_script;}
4152     if test -z "$SED"; then
4153  ac_path_SED_found=false
4154  # Loop through the user's path and test for each of PROGNAME-LIST
4155  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4156for as_dir in $PATH
4157do
4158  IFS=$as_save_IFS
4159  test -z "$as_dir" && as_dir=.
4160    for ac_prog in sed gsed; do
4161    for ac_exec_ext in '' $ac_executable_extensions; do
4162      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4163      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4164# Check for GNU ac_path_SED and select it if it is found.
4165  # Check for GNU $ac_path_SED
4166case `"$ac_path_SED" --version 2>&1` in
4167*GNU*)
4168  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4169*)
4170  ac_count=0
4171  $as_echo_n 0123456789 >"conftest.in"
4172  while :
4173  do
4174    cat "conftest.in" "conftest.in" >"conftest.tmp"
4175    mv "conftest.tmp" "conftest.in"
4176    cp "conftest.in" "conftest.nl"
4177    $as_echo '' >> "conftest.nl"
4178    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4179    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4180    as_fn_arith $ac_count + 1 && ac_count=$as_val
4181    if test $ac_count -gt ${ac_path_SED_max-0}; then
4182      # Best one so far, save it but keep looking for a better one
4183      ac_cv_path_SED="$ac_path_SED"
4184      ac_path_SED_max=$ac_count
4185    fi
4186    # 10*(2^10) chars as input seems more than enough
4187    test $ac_count -gt 10 && break
4188  done
4189  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4190esac
4191
4192      $ac_path_SED_found && break 3
4193    done
4194  done
4195  done
4196IFS=$as_save_IFS
4197  if test -z "$ac_cv_path_SED"; then
4198    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4199  fi
4200else
4201  ac_cv_path_SED=$SED
4202fi
4203
4204fi
4205{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4206$as_echo "$ac_cv_path_SED" >&6; }
4207 SED="$ac_cv_path_SED"
4208  rm -f conftest.sed
4209
4210test -z "$SED" && SED=sed
4211Xsed="$SED -e 1s/^X//"
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4224$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4225if test "${ac_cv_path_GREP+set}" = set; then :
4226  $as_echo_n "(cached) " >&6
4227else
4228  if test -z "$GREP"; then
4229  ac_path_GREP_found=false
4230  # Loop through the user's path and test for each of PROGNAME-LIST
4231  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4232for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4233do
4234  IFS=$as_save_IFS
4235  test -z "$as_dir" && as_dir=.
4236    for ac_prog in grep ggrep; do
4237    for ac_exec_ext in '' $ac_executable_extensions; do
4238      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4239      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4240# Check for GNU ac_path_GREP and select it if it is found.
4241  # Check for GNU $ac_path_GREP
4242case `"$ac_path_GREP" --version 2>&1` in
4243*GNU*)
4244  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4245*)
4246  ac_count=0
4247  $as_echo_n 0123456789 >"conftest.in"
4248  while :
4249  do
4250    cat "conftest.in" "conftest.in" >"conftest.tmp"
4251    mv "conftest.tmp" "conftest.in"
4252    cp "conftest.in" "conftest.nl"
4253    $as_echo 'GREP' >> "conftest.nl"
4254    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4255    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4256    as_fn_arith $ac_count + 1 && ac_count=$as_val
4257    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4258      # Best one so far, save it but keep looking for a better one
4259      ac_cv_path_GREP="$ac_path_GREP"
4260      ac_path_GREP_max=$ac_count
4261    fi
4262    # 10*(2^10) chars as input seems more than enough
4263    test $ac_count -gt 10 && break
4264  done
4265  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4266esac
4267
4268      $ac_path_GREP_found && break 3
4269    done
4270  done
4271  done
4272IFS=$as_save_IFS
4273  if test -z "$ac_cv_path_GREP"; then
4274    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4275  fi
4276else
4277  ac_cv_path_GREP=$GREP
4278fi
4279
4280fi
4281{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4282$as_echo "$ac_cv_path_GREP" >&6; }
4283 GREP="$ac_cv_path_GREP"
4284
4285
4286{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4287$as_echo_n "checking for egrep... " >&6; }
4288if test "${ac_cv_path_EGREP+set}" = set; then :
4289  $as_echo_n "(cached) " >&6
4290else
4291  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4292   then ac_cv_path_EGREP="$GREP -E"
4293   else
4294     if test -z "$EGREP"; then
4295  ac_path_EGREP_found=false
4296  # Loop through the user's path and test for each of PROGNAME-LIST
4297  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4298for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4299do
4300  IFS=$as_save_IFS
4301  test -z "$as_dir" && as_dir=.
4302    for ac_prog in egrep; do
4303    for ac_exec_ext in '' $ac_executable_extensions; do
4304      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4305      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4306# Check for GNU ac_path_EGREP and select it if it is found.
4307  # Check for GNU $ac_path_EGREP
4308case `"$ac_path_EGREP" --version 2>&1` in
4309*GNU*)
4310  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4311*)
4312  ac_count=0
4313  $as_echo_n 0123456789 >"conftest.in"
4314  while :
4315  do
4316    cat "conftest.in" "conftest.in" >"conftest.tmp"
4317    mv "conftest.tmp" "conftest.in"
4318    cp "conftest.in" "conftest.nl"
4319    $as_echo 'EGREP' >> "conftest.nl"
4320    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4321    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4322    as_fn_arith $ac_count + 1 && ac_count=$as_val
4323    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4324      # Best one so far, save it but keep looking for a better one
4325      ac_cv_path_EGREP="$ac_path_EGREP"
4326      ac_path_EGREP_max=$ac_count
4327    fi
4328    # 10*(2^10) chars as input seems more than enough
4329    test $ac_count -gt 10 && break
4330  done
4331  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4332esac
4333
4334      $ac_path_EGREP_found && break 3
4335    done
4336  done
4337  done
4338IFS=$as_save_IFS
4339  if test -z "$ac_cv_path_EGREP"; then
4340    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4341  fi
4342else
4343  ac_cv_path_EGREP=$EGREP
4344fi
4345
4346   fi
4347fi
4348{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4349$as_echo "$ac_cv_path_EGREP" >&6; }
4350 EGREP="$ac_cv_path_EGREP"
4351
4352
4353{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4354$as_echo_n "checking for fgrep... " >&6; }
4355if test "${ac_cv_path_FGREP+set}" = set; then :
4356  $as_echo_n "(cached) " >&6
4357else
4358  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4359   then ac_cv_path_FGREP="$GREP -F"
4360   else
4361     if test -z "$FGREP"; then
4362  ac_path_FGREP_found=false
4363  # Loop through the user's path and test for each of PROGNAME-LIST
4364  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4365for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4366do
4367  IFS=$as_save_IFS
4368  test -z "$as_dir" && as_dir=.
4369    for ac_prog in fgrep; do
4370    for ac_exec_ext in '' $ac_executable_extensions; do
4371      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4372      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4373# Check for GNU ac_path_FGREP and select it if it is found.
4374  # Check for GNU $ac_path_FGREP
4375case `"$ac_path_FGREP" --version 2>&1` in
4376*GNU*)
4377  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4378*)
4379  ac_count=0
4380  $as_echo_n 0123456789 >"conftest.in"
4381  while :
4382  do
4383    cat "conftest.in" "conftest.in" >"conftest.tmp"
4384    mv "conftest.tmp" "conftest.in"
4385    cp "conftest.in" "conftest.nl"
4386    $as_echo 'FGREP' >> "conftest.nl"
4387    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4388    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4389    as_fn_arith $ac_count + 1 && ac_count=$as_val
4390    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4391      # Best one so far, save it but keep looking for a better one
4392      ac_cv_path_FGREP="$ac_path_FGREP"
4393      ac_path_FGREP_max=$ac_count
4394    fi
4395    # 10*(2^10) chars as input seems more than enough
4396    test $ac_count -gt 10 && break
4397  done
4398  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4399esac
4400
4401      $ac_path_FGREP_found && break 3
4402    done
4403  done
4404  done
4405IFS=$as_save_IFS
4406  if test -z "$ac_cv_path_FGREP"; then
4407    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4408  fi
4409else
4410  ac_cv_path_FGREP=$FGREP
4411fi
4412
4413   fi
4414fi
4415{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4416$as_echo "$ac_cv_path_FGREP" >&6; }
4417 FGREP="$ac_cv_path_FGREP"
4418
4419
4420test -z "$GREP" && GREP=grep
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440# Check whether --with-gnu-ld was given.
4441if test "${with_gnu_ld+set}" = set; then :
4442  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4443else
4444  with_gnu_ld=no
4445fi
4446
4447ac_prog=ld
4448if test "$GCC" = yes; then
4449  # Check if gcc -print-prog-name=ld gives a path.
4450  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4451$as_echo_n "checking for ld used by $CC... " >&6; }
4452  case $host in
4453  *-*-mingw*)
4454    # gcc leaves a trailing carriage return which upsets mingw
4455    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4456  *)
4457    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4458  esac
4459  case $ac_prog in
4460    # Accept absolute paths.
4461    [\\/]* | ?:[\\/]*)
4462      re_direlt='/[^/][^/]*/\.\./'
4463      # Canonicalize the pathname of ld
4464      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4465      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4466	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4467      done
4468      test -z "$LD" && LD="$ac_prog"
4469      ;;
4470  "")
4471    # If it fails, then pretend we aren't using GCC.
4472    ac_prog=ld
4473    ;;
4474  *)
4475    # If it is relative, then search for the first ld in PATH.
4476    with_gnu_ld=unknown
4477    ;;
4478  esac
4479elif test "$with_gnu_ld" = yes; then
4480  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4481$as_echo_n "checking for GNU ld... " >&6; }
4482else
4483  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4484$as_echo_n "checking for non-GNU ld... " >&6; }
4485fi
4486if test "${lt_cv_path_LD+set}" = set; then :
4487  $as_echo_n "(cached) " >&6
4488else
4489  if test -z "$LD"; then
4490  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4491  for ac_dir in $PATH; do
4492    IFS="$lt_save_ifs"
4493    test -z "$ac_dir" && ac_dir=.
4494    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4495      lt_cv_path_LD="$ac_dir/$ac_prog"
4496      # Check to see if the program is GNU ld.  I'd rather use --version,
4497      # but apparently some variants of GNU ld only accept -v.
4498      # Break only if it was the GNU/non-GNU ld that we prefer.
4499      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4500      *GNU* | *'with BFD'*)
4501	test "$with_gnu_ld" != no && break
4502	;;
4503      *)
4504	test "$with_gnu_ld" != yes && break
4505	;;
4506      esac
4507    fi
4508  done
4509  IFS="$lt_save_ifs"
4510else
4511  lt_cv_path_LD="$LD" # Let the user override the test with a path.
4512fi
4513fi
4514
4515LD="$lt_cv_path_LD"
4516if test -n "$LD"; then
4517  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4518$as_echo "$LD" >&6; }
4519else
4520  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4521$as_echo "no" >&6; }
4522fi
4523test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4524{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4525$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4526if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4527  $as_echo_n "(cached) " >&6
4528else
4529  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4530case `$LD -v 2>&1 </dev/null` in
4531*GNU* | *'with BFD'*)
4532  lt_cv_prog_gnu_ld=yes
4533  ;;
4534*)
4535  lt_cv_prog_gnu_ld=no
4536  ;;
4537esac
4538fi
4539{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4540$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4541with_gnu_ld=$lt_cv_prog_gnu_ld
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4552$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4553if test "${lt_cv_path_NM+set}" = set; then :
4554  $as_echo_n "(cached) " >&6
4555else
4556  if test -n "$NM"; then
4557  # Let the user override the test.
4558  lt_cv_path_NM="$NM"
4559else
4560  lt_nm_to_check="${ac_tool_prefix}nm"
4561  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4562    lt_nm_to_check="$lt_nm_to_check nm"
4563  fi
4564  for lt_tmp_nm in $lt_nm_to_check; do
4565    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4566    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4567      IFS="$lt_save_ifs"
4568      test -z "$ac_dir" && ac_dir=.
4569      tmp_nm="$ac_dir/$lt_tmp_nm"
4570      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4571	# Check to see if the nm accepts a BSD-compat flag.
4572	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
4573	#   nm: unknown option "B" ignored
4574	# Tru64's nm complains that /dev/null is an invalid object file
4575	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4576	*/dev/null* | *'Invalid file or object type'*)
4577	  lt_cv_path_NM="$tmp_nm -B"
4578	  break
4579	  ;;
4580	*)
4581	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4582	  */dev/null*)
4583	    lt_cv_path_NM="$tmp_nm -p"
4584	    break
4585	    ;;
4586	  *)
4587	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4588	    continue # so that we can try to find one that supports BSD flags
4589	    ;;
4590	  esac
4591	  ;;
4592	esac
4593      fi
4594    done
4595    IFS="$lt_save_ifs"
4596  done
4597  : ${lt_cv_path_NM=no}
4598fi
4599fi
4600{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4601$as_echo "$lt_cv_path_NM" >&6; }
4602if test "$lt_cv_path_NM" != "no"; then
4603  NM="$lt_cv_path_NM"
4604else
4605  # Didn't find any BSD compatible name lister, look for dumpbin.
4606  if test -n "$ac_tool_prefix"; then
4607  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4608  do
4609    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4610set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4611{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4612$as_echo_n "checking for $ac_word... " >&6; }
4613if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
4614  $as_echo_n "(cached) " >&6
4615else
4616  if test -n "$DUMPBIN"; then
4617  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4618else
4619as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4620for as_dir in $PATH
4621do
4622  IFS=$as_save_IFS
4623  test -z "$as_dir" && as_dir=.
4624    for ac_exec_ext in '' $ac_executable_extensions; do
4625  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4626    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4627    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4628    break 2
4629  fi
4630done
4631  done
4632IFS=$as_save_IFS
4633
4634fi
4635fi
4636DUMPBIN=$ac_cv_prog_DUMPBIN
4637if test -n "$DUMPBIN"; then
4638  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4639$as_echo "$DUMPBIN" >&6; }
4640else
4641  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4642$as_echo "no" >&6; }
4643fi
4644
4645
4646    test -n "$DUMPBIN" && break
4647  done
4648fi
4649if test -z "$DUMPBIN"; then
4650  ac_ct_DUMPBIN=$DUMPBIN
4651  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4652do
4653  # Extract the first word of "$ac_prog", so it can be a program name with args.
4654set dummy $ac_prog; ac_word=$2
4655{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4656$as_echo_n "checking for $ac_word... " >&6; }
4657if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
4658  $as_echo_n "(cached) " >&6
4659else
4660  if test -n "$ac_ct_DUMPBIN"; then
4661  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4662else
4663as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4664for as_dir in $PATH
4665do
4666  IFS=$as_save_IFS
4667  test -z "$as_dir" && as_dir=.
4668    for ac_exec_ext in '' $ac_executable_extensions; do
4669  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4670    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4671    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4672    break 2
4673  fi
4674done
4675  done
4676IFS=$as_save_IFS
4677
4678fi
4679fi
4680ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4681if test -n "$ac_ct_DUMPBIN"; then
4682  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4683$as_echo "$ac_ct_DUMPBIN" >&6; }
4684else
4685  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4686$as_echo "no" >&6; }
4687fi
4688
4689
4690  test -n "$ac_ct_DUMPBIN" && break
4691done
4692
4693  if test "x$ac_ct_DUMPBIN" = x; then
4694    DUMPBIN=":"
4695  else
4696    case $cross_compiling:$ac_tool_warned in
4697yes:)
4698{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4699$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4700ac_tool_warned=yes ;;
4701esac
4702    DUMPBIN=$ac_ct_DUMPBIN
4703  fi
4704fi
4705
4706
4707  if test "$DUMPBIN" != ":"; then
4708    NM="$DUMPBIN"
4709  fi
4710fi
4711test -z "$NM" && NM=nm
4712
4713
4714
4715
4716
4717
4718{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4719$as_echo_n "checking the name lister ($NM) interface... " >&6; }
4720if test "${lt_cv_nm_interface+set}" = set; then :
4721  $as_echo_n "(cached) " >&6
4722else
4723  lt_cv_nm_interface="BSD nm"
4724  echo "int some_variable = 0;" > conftest.$ac_ext
4725  (eval echo "\"\$as_me:4725: $ac_compile\"" >&5)
4726  (eval "$ac_compile" 2>conftest.err)
4727  cat conftest.err >&5
4728  (eval echo "\"\$as_me:4728: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4729  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4730  cat conftest.err >&5
4731  (eval echo "\"\$as_me:4731: output\"" >&5)
4732  cat conftest.out >&5
4733  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4734    lt_cv_nm_interface="MS dumpbin"
4735  fi
4736  rm -f conftest*
4737fi
4738{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4739$as_echo "$lt_cv_nm_interface" >&6; }
4740
4741{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4742$as_echo_n "checking whether ln -s works... " >&6; }
4743LN_S=$as_ln_s
4744if test "$LN_S" = "ln -s"; then
4745  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4746$as_echo "yes" >&6; }
4747else
4748  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4749$as_echo "no, using $LN_S" >&6; }
4750fi
4751
4752# find the maximum length of command line arguments
4753{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4754$as_echo_n "checking the maximum length of command line arguments... " >&6; }
4755if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
4756  $as_echo_n "(cached) " >&6
4757else
4758    i=0
4759  teststring="ABCD"
4760
4761  case $build_os in
4762  msdosdjgpp*)
4763    # On DJGPP, this test can blow up pretty badly due to problems in libc
4764    # (any single argument exceeding 2000 bytes causes a buffer overrun
4765    # during glob expansion).  Even if it were fixed, the result of this
4766    # check would be larger than it should be.
4767    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4768    ;;
4769
4770  gnu*)
4771    # Under GNU Hurd, this test is not required because there is
4772    # no limit to the length of command line arguments.
4773    # Libtool will interpret -1 as no limit whatsoever
4774    lt_cv_sys_max_cmd_len=-1;
4775    ;;
4776
4777  cygwin* | mingw* | cegcc*)
4778    # On Win9x/ME, this test blows up -- it succeeds, but takes
4779    # about 5 minutes as the teststring grows exponentially.
4780    # Worse, since 9x/ME are not pre-emptively multitasking,
4781    # you end up with a "frozen" computer, even though with patience
4782    # the test eventually succeeds (with a max line length of 256k).
4783    # Instead, let's just punt: use the minimum linelength reported by
4784    # all of the supported platforms: 8192 (on NT/2K/XP).
4785    lt_cv_sys_max_cmd_len=8192;
4786    ;;
4787
4788  amigaos*)
4789    # On AmigaOS with pdksh, this test takes hours, literally.
4790    # So we just punt and use a minimum line length of 8192.
4791    lt_cv_sys_max_cmd_len=8192;
4792    ;;
4793
4794  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4795    # This has been around since 386BSD, at least.  Likely further.
4796    if test -x /sbin/sysctl; then
4797      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4798    elif test -x /usr/sbin/sysctl; then
4799      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4800    else
4801      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
4802    fi
4803    # And add a safety zone
4804    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4805    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4806    ;;
4807
4808  interix*)
4809    # We know the value 262144 and hardcode it with a safety zone (like BSD)
4810    lt_cv_sys_max_cmd_len=196608
4811    ;;
4812
4813  osf*)
4814    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4815    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4816    # nice to cause kernel panics so lets avoid the loop below.
4817    # First set a reasonable default.
4818    lt_cv_sys_max_cmd_len=16384
4819    #
4820    if test -x /sbin/sysconfig; then
4821      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4822        *1*) lt_cv_sys_max_cmd_len=-1 ;;
4823      esac
4824    fi
4825    ;;
4826  sco3.2v5*)
4827    lt_cv_sys_max_cmd_len=102400
4828    ;;
4829  sysv5* | sco5v6* | sysv4.2uw2*)
4830    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4831    if test -n "$kargmax"; then
4832      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
4833    else
4834      lt_cv_sys_max_cmd_len=32768
4835    fi
4836    ;;
4837  *)
4838    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4839    if test -n "$lt_cv_sys_max_cmd_len"; then
4840      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4841      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4842    else
4843      # Make teststring a little bigger before we do anything with it.
4844      # a 1K string should be a reasonable start.
4845      for i in 1 2 3 4 5 6 7 8 ; do
4846        teststring=$teststring$teststring
4847      done
4848      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4849      # If test is not a shell built-in, we'll probably end up computing a
4850      # maximum length that is only half of the actual maximum length, but
4851      # we can't tell.
4852      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4853	         = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4854	      test $i != 17 # 1/2 MB should be enough
4855      do
4856        i=`expr $i + 1`
4857        teststring=$teststring$teststring
4858      done
4859      # Only check the string length outside the loop.
4860      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4861      teststring=
4862      # Add a significant safety factor because C++ compilers can tack on
4863      # massive amounts of additional arguments before passing them to the
4864      # linker.  It appears as though 1/2 is a usable value.
4865      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4866    fi
4867    ;;
4868  esac
4869
4870fi
4871
4872if test -n $lt_cv_sys_max_cmd_len ; then
4873  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4874$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4875else
4876  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4877$as_echo "none" >&6; }
4878fi
4879max_cmd_len=$lt_cv_sys_max_cmd_len
4880
4881
4882
4883
4884
4885
4886: ${CP="cp -f"}
4887: ${MV="mv -f"}
4888: ${RM="rm -f"}
4889
4890{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4891$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4892# Try some XSI features
4893xsi_shell=no
4894( _lt_dummy="a/b/c"
4895  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4896      = c,a/b,, \
4897    && eval 'test $(( 1 + 1 )) -eq 2 \
4898    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4899  && xsi_shell=yes
4900{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4901$as_echo "$xsi_shell" >&6; }
4902
4903
4904{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4905$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4906lt_shell_append=no
4907( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4908    >/dev/null 2>&1 \
4909  && lt_shell_append=yes
4910{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4911$as_echo "$lt_shell_append" >&6; }
4912
4913
4914if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4915  lt_unset=unset
4916else
4917  lt_unset=false
4918fi
4919
4920
4921
4922
4923
4924# test EBCDIC or ASCII
4925case `echo X|tr X '\101'` in
4926 A) # ASCII based system
4927    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4928  lt_SP2NL='tr \040 \012'
4929  lt_NL2SP='tr \015\012 \040\040'
4930  ;;
4931 *) # EBCDIC based system
4932  lt_SP2NL='tr \100 \n'
4933  lt_NL2SP='tr \r\n \100\100'
4934  ;;
4935esac
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4946$as_echo_n "checking for $LD option to reload object files... " >&6; }
4947if test "${lt_cv_ld_reload_flag+set}" = set; then :
4948  $as_echo_n "(cached) " >&6
4949else
4950  lt_cv_ld_reload_flag='-r'
4951fi
4952{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4953$as_echo "$lt_cv_ld_reload_flag" >&6; }
4954reload_flag=$lt_cv_ld_reload_flag
4955case $reload_flag in
4956"" | " "*) ;;
4957*) reload_flag=" $reload_flag" ;;
4958esac
4959reload_cmds='$LD$reload_flag -o $output$reload_objs'
4960case $host_os in
4961  darwin*)
4962    if test "$GCC" = yes; then
4963      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4964    else
4965      reload_cmds='$LD$reload_flag -o $output$reload_objs'
4966    fi
4967    ;;
4968esac
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978if test -n "$ac_tool_prefix"; then
4979  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4980set dummy ${ac_tool_prefix}objdump; ac_word=$2
4981{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4982$as_echo_n "checking for $ac_word... " >&6; }
4983if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
4984  $as_echo_n "(cached) " >&6
4985else
4986  if test -n "$OBJDUMP"; then
4987  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4988else
4989as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4990for as_dir in $PATH
4991do
4992  IFS=$as_save_IFS
4993  test -z "$as_dir" && as_dir=.
4994    for ac_exec_ext in '' $ac_executable_extensions; do
4995  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4996    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4997    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4998    break 2
4999  fi
5000done
5001  done
5002IFS=$as_save_IFS
5003
5004fi
5005fi
5006OBJDUMP=$ac_cv_prog_OBJDUMP
5007if test -n "$OBJDUMP"; then
5008  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5009$as_echo "$OBJDUMP" >&6; }
5010else
5011  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5012$as_echo "no" >&6; }
5013fi
5014
5015
5016fi
5017if test -z "$ac_cv_prog_OBJDUMP"; then
5018  ac_ct_OBJDUMP=$OBJDUMP
5019  # Extract the first word of "objdump", so it can be a program name with args.
5020set dummy objdump; ac_word=$2
5021{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5022$as_echo_n "checking for $ac_word... " >&6; }
5023if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5024  $as_echo_n "(cached) " >&6
5025else
5026  if test -n "$ac_ct_OBJDUMP"; then
5027  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5028else
5029as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5030for as_dir in $PATH
5031do
5032  IFS=$as_save_IFS
5033  test -z "$as_dir" && as_dir=.
5034    for ac_exec_ext in '' $ac_executable_extensions; do
5035  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5036    ac_cv_prog_ac_ct_OBJDUMP="objdump"
5037    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5038    break 2
5039  fi
5040done
5041  done
5042IFS=$as_save_IFS
5043
5044fi
5045fi
5046ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5047if test -n "$ac_ct_OBJDUMP"; then
5048  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5049$as_echo "$ac_ct_OBJDUMP" >&6; }
5050else
5051  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5052$as_echo "no" >&6; }
5053fi
5054
5055  if test "x$ac_ct_OBJDUMP" = x; then
5056    OBJDUMP="false"
5057  else
5058    case $cross_compiling:$ac_tool_warned in
5059yes:)
5060{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5061$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5062ac_tool_warned=yes ;;
5063esac
5064    OBJDUMP=$ac_ct_OBJDUMP
5065  fi
5066else
5067  OBJDUMP="$ac_cv_prog_OBJDUMP"
5068fi
5069
5070test -z "$OBJDUMP" && OBJDUMP=objdump
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5081$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5082if test "${lt_cv_deplibs_check_method+set}" = set; then :
5083  $as_echo_n "(cached) " >&6
5084else
5085  lt_cv_file_magic_cmd='$MAGIC_CMD'
5086lt_cv_file_magic_test_file=
5087lt_cv_deplibs_check_method='unknown'
5088# Need to set the preceding variable on all platforms that support
5089# interlibrary dependencies.
5090# 'none' -- dependencies not supported.
5091# `unknown' -- same as none, but documents that we really don't know.
5092# 'pass_all' -- all dependencies passed with no checks.
5093# 'test_compile' -- check by making test program.
5094# 'file_magic [[regex]]' -- check by looking for files in library path
5095# which responds to the $file_magic_cmd with a given extended regex.
5096# If you have `file' or equivalent on your system and you're not sure
5097# whether `pass_all' will *always* work, you probably want this one.
5098
5099case $host_os in
5100aix[4-9]*)
5101  lt_cv_deplibs_check_method=pass_all
5102  ;;
5103
5104beos*)
5105  lt_cv_deplibs_check_method=pass_all
5106  ;;
5107
5108bsdi[45]*)
5109  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5110  lt_cv_file_magic_cmd='/usr/bin/file -L'
5111  lt_cv_file_magic_test_file=/shlib/libc.so
5112  ;;
5113
5114cygwin*)
5115  # func_win32_libid is a shell function defined in ltmain.sh
5116  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5117  lt_cv_file_magic_cmd='func_win32_libid'
5118  ;;
5119
5120mingw* | pw32*)
5121  # Base MSYS/MinGW do not provide the 'file' command needed by
5122  # func_win32_libid shell function, so use a weaker test based on 'objdump',
5123  # unless we find 'file', for example because we are cross-compiling.
5124  if ( file / ) >/dev/null 2>&1; then
5125    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5126    lt_cv_file_magic_cmd='func_win32_libid'
5127  else
5128    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5129    lt_cv_file_magic_cmd='$OBJDUMP -f'
5130  fi
5131  ;;
5132
5133cegcc)
5134  # use the weaker test based on 'objdump'. See mingw*.
5135  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5136  lt_cv_file_magic_cmd='$OBJDUMP -f'
5137  ;;
5138
5139darwin* | rhapsody*)
5140  lt_cv_deplibs_check_method=pass_all
5141  ;;
5142
5143freebsd* | dragonfly*)
5144  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5145    case $host_cpu in
5146    i*86 )
5147      # Not sure whether the presence of OpenBSD here was a mistake.
5148      # Let's accept both of them until this is cleared up.
5149      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5150      lt_cv_file_magic_cmd=/usr/bin/file
5151      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5152      ;;
5153    esac
5154  else
5155    lt_cv_deplibs_check_method=pass_all
5156  fi
5157  ;;
5158
5159gnu*)
5160  lt_cv_deplibs_check_method=pass_all
5161  ;;
5162
5163hpux10.20* | hpux11*)
5164  lt_cv_file_magic_cmd=/usr/bin/file
5165  case $host_cpu in
5166  ia64*)
5167    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5168    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5169    ;;
5170  hppa*64*)
5171    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]'
5172    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5173    ;;
5174  *)
5175    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5176    lt_cv_file_magic_test_file=/usr/lib/libc.sl
5177    ;;
5178  esac
5179  ;;
5180
5181interix[3-9]*)
5182  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5183  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5184  ;;
5185
5186irix5* | irix6* | nonstopux*)
5187  case $LD in
5188  *-32|*"-32 ") libmagic=32-bit;;
5189  *-n32|*"-n32 ") libmagic=N32;;
5190  *-64|*"-64 ") libmagic=64-bit;;
5191  *) libmagic=never-match;;
5192  esac
5193  lt_cv_deplibs_check_method=pass_all
5194  ;;
5195
5196# This must be Linux ELF.
5197linux* | k*bsd*-gnu | kopensolaris*-gnu)
5198  lt_cv_deplibs_check_method=pass_all
5199  ;;
5200
5201netbsd* | netbsdelf*-gnu)
5202  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5203    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5204  else
5205    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5206  fi
5207  ;;
5208
5209newos6*)
5210  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5211  lt_cv_file_magic_cmd=/usr/bin/file
5212  lt_cv_file_magic_test_file=/usr/lib/libnls.so
5213  ;;
5214
5215*nto* | *qnx*)
5216  lt_cv_deplibs_check_method=pass_all
5217  ;;
5218
5219openbsd*)
5220  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5221    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5222  else
5223    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5224  fi
5225  ;;
5226
5227osf3* | osf4* | osf5*)
5228  lt_cv_deplibs_check_method=pass_all
5229  ;;
5230
5231rdos*)
5232  lt_cv_deplibs_check_method=pass_all
5233  ;;
5234
5235solaris*)
5236  lt_cv_deplibs_check_method=pass_all
5237  ;;
5238
5239sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5240  lt_cv_deplibs_check_method=pass_all
5241  ;;
5242
5243sysv4 | sysv4.3*)
5244  case $host_vendor in
5245  motorola)
5246    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]'
5247    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5248    ;;
5249  ncr)
5250    lt_cv_deplibs_check_method=pass_all
5251    ;;
5252  sequent)
5253    lt_cv_file_magic_cmd='/bin/file'
5254    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5255    ;;
5256  sni)
5257    lt_cv_file_magic_cmd='/bin/file'
5258    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5259    lt_cv_file_magic_test_file=/lib/libc.so
5260    ;;
5261  siemens)
5262    lt_cv_deplibs_check_method=pass_all
5263    ;;
5264  pc)
5265    lt_cv_deplibs_check_method=pass_all
5266    ;;
5267  esac
5268  ;;
5269
5270tpf*)
5271  lt_cv_deplibs_check_method=pass_all
5272  ;;
5273esac
5274
5275fi
5276{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5277$as_echo "$lt_cv_deplibs_check_method" >&6; }
5278file_magic_cmd=$lt_cv_file_magic_cmd
5279deplibs_check_method=$lt_cv_deplibs_check_method
5280test -z "$deplibs_check_method" && deplibs_check_method=unknown
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293if test -n "$ac_tool_prefix"; then
5294  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5295set dummy ${ac_tool_prefix}ar; ac_word=$2
5296{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5297$as_echo_n "checking for $ac_word... " >&6; }
5298if test "${ac_cv_prog_AR+set}" = set; then :
5299  $as_echo_n "(cached) " >&6
5300else
5301  if test -n "$AR"; then
5302  ac_cv_prog_AR="$AR" # Let the user override the test.
5303else
5304as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5305for as_dir in $PATH
5306do
5307  IFS=$as_save_IFS
5308  test -z "$as_dir" && as_dir=.
5309    for ac_exec_ext in '' $ac_executable_extensions; do
5310  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5311    ac_cv_prog_AR="${ac_tool_prefix}ar"
5312    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5313    break 2
5314  fi
5315done
5316  done
5317IFS=$as_save_IFS
5318
5319fi
5320fi
5321AR=$ac_cv_prog_AR
5322if test -n "$AR"; then
5323  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5324$as_echo "$AR" >&6; }
5325else
5326  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5327$as_echo "no" >&6; }
5328fi
5329
5330
5331fi
5332if test -z "$ac_cv_prog_AR"; then
5333  ac_ct_AR=$AR
5334  # Extract the first word of "ar", so it can be a program name with args.
5335set dummy ar; ac_word=$2
5336{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5337$as_echo_n "checking for $ac_word... " >&6; }
5338if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5339  $as_echo_n "(cached) " >&6
5340else
5341  if test -n "$ac_ct_AR"; then
5342  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5343else
5344as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5345for as_dir in $PATH
5346do
5347  IFS=$as_save_IFS
5348  test -z "$as_dir" && as_dir=.
5349    for ac_exec_ext in '' $ac_executable_extensions; do
5350  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5351    ac_cv_prog_ac_ct_AR="ar"
5352    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5353    break 2
5354  fi
5355done
5356  done
5357IFS=$as_save_IFS
5358
5359fi
5360fi
5361ac_ct_AR=$ac_cv_prog_ac_ct_AR
5362if test -n "$ac_ct_AR"; then
5363  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5364$as_echo "$ac_ct_AR" >&6; }
5365else
5366  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5367$as_echo "no" >&6; }
5368fi
5369
5370  if test "x$ac_ct_AR" = x; then
5371    AR="false"
5372  else
5373    case $cross_compiling:$ac_tool_warned in
5374yes:)
5375{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5376$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5377ac_tool_warned=yes ;;
5378esac
5379    AR=$ac_ct_AR
5380  fi
5381else
5382  AR="$ac_cv_prog_AR"
5383fi
5384
5385test -z "$AR" && AR=ar
5386test -z "$AR_FLAGS" && AR_FLAGS=cru
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398if test -n "$ac_tool_prefix"; then
5399  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5400set dummy ${ac_tool_prefix}strip; ac_word=$2
5401{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5402$as_echo_n "checking for $ac_word... " >&6; }
5403if test "${ac_cv_prog_STRIP+set}" = set; then :
5404  $as_echo_n "(cached) " >&6
5405else
5406  if test -n "$STRIP"; then
5407  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5408else
5409as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5410for as_dir in $PATH
5411do
5412  IFS=$as_save_IFS
5413  test -z "$as_dir" && as_dir=.
5414    for ac_exec_ext in '' $ac_executable_extensions; do
5415  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5416    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5417    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5418    break 2
5419  fi
5420done
5421  done
5422IFS=$as_save_IFS
5423
5424fi
5425fi
5426STRIP=$ac_cv_prog_STRIP
5427if test -n "$STRIP"; then
5428  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5429$as_echo "$STRIP" >&6; }
5430else
5431  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5432$as_echo "no" >&6; }
5433fi
5434
5435
5436fi
5437if test -z "$ac_cv_prog_STRIP"; then
5438  ac_ct_STRIP=$STRIP
5439  # Extract the first word of "strip", so it can be a program name with args.
5440set dummy strip; ac_word=$2
5441{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5442$as_echo_n "checking for $ac_word... " >&6; }
5443if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5444  $as_echo_n "(cached) " >&6
5445else
5446  if test -n "$ac_ct_STRIP"; then
5447  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5448else
5449as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5450for as_dir in $PATH
5451do
5452  IFS=$as_save_IFS
5453  test -z "$as_dir" && as_dir=.
5454    for ac_exec_ext in '' $ac_executable_extensions; do
5455  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5456    ac_cv_prog_ac_ct_STRIP="strip"
5457    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5458    break 2
5459  fi
5460done
5461  done
5462IFS=$as_save_IFS
5463
5464fi
5465fi
5466ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5467if test -n "$ac_ct_STRIP"; then
5468  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5469$as_echo "$ac_ct_STRIP" >&6; }
5470else
5471  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5472$as_echo "no" >&6; }
5473fi
5474
5475  if test "x$ac_ct_STRIP" = x; then
5476    STRIP=":"
5477  else
5478    case $cross_compiling:$ac_tool_warned in
5479yes:)
5480{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5481$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5482ac_tool_warned=yes ;;
5483esac
5484    STRIP=$ac_ct_STRIP
5485  fi
5486else
5487  STRIP="$ac_cv_prog_STRIP"
5488fi
5489
5490test -z "$STRIP" && STRIP=:
5491
5492
5493
5494
5495
5496
5497if test -n "$ac_tool_prefix"; then
5498  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5499set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5500{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5501$as_echo_n "checking for $ac_word... " >&6; }
5502if test "${ac_cv_prog_RANLIB+set}" = set; then :
5503  $as_echo_n "(cached) " >&6
5504else
5505  if test -n "$RANLIB"; then
5506  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5507else
5508as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5509for as_dir in $PATH
5510do
5511  IFS=$as_save_IFS
5512  test -z "$as_dir" && as_dir=.
5513    for ac_exec_ext in '' $ac_executable_extensions; do
5514  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5515    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5516    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5517    break 2
5518  fi
5519done
5520  done
5521IFS=$as_save_IFS
5522
5523fi
5524fi
5525RANLIB=$ac_cv_prog_RANLIB
5526if test -n "$RANLIB"; then
5527  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5528$as_echo "$RANLIB" >&6; }
5529else
5530  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5531$as_echo "no" >&6; }
5532fi
5533
5534
5535fi
5536if test -z "$ac_cv_prog_RANLIB"; then
5537  ac_ct_RANLIB=$RANLIB
5538  # Extract the first word of "ranlib", so it can be a program name with args.
5539set dummy ranlib; ac_word=$2
5540{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5541$as_echo_n "checking for $ac_word... " >&6; }
5542if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5543  $as_echo_n "(cached) " >&6
5544else
5545  if test -n "$ac_ct_RANLIB"; then
5546  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5547else
5548as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5549for as_dir in $PATH
5550do
5551  IFS=$as_save_IFS
5552  test -z "$as_dir" && as_dir=.
5553    for ac_exec_ext in '' $ac_executable_extensions; do
5554  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5555    ac_cv_prog_ac_ct_RANLIB="ranlib"
5556    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5557    break 2
5558  fi
5559done
5560  done
5561IFS=$as_save_IFS
5562
5563fi
5564fi
5565ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5566if test -n "$ac_ct_RANLIB"; then
5567  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5568$as_echo "$ac_ct_RANLIB" >&6; }
5569else
5570  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5571$as_echo "no" >&6; }
5572fi
5573
5574  if test "x$ac_ct_RANLIB" = x; then
5575    RANLIB=":"
5576  else
5577    case $cross_compiling:$ac_tool_warned in
5578yes:)
5579{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5580$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5581ac_tool_warned=yes ;;
5582esac
5583    RANLIB=$ac_ct_RANLIB
5584  fi
5585else
5586  RANLIB="$ac_cv_prog_RANLIB"
5587fi
5588
5589test -z "$RANLIB" && RANLIB=:
5590
5591
5592
5593
5594
5595
5596# Determine commands to create old-style static archives.
5597old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5598old_postinstall_cmds='chmod 644 $oldlib'
5599old_postuninstall_cmds=
5600
5601if test -n "$RANLIB"; then
5602  case $host_os in
5603  openbsd*)
5604    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5605    ;;
5606  *)
5607    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5608    ;;
5609  esac
5610  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5611fi
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
5646# If no C compiler was specified, use CC.
5647LTCC=${LTCC-"$CC"}
5648
5649# If no C compiler flags were specified, use CFLAGS.
5650LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5651
5652# Allow CC to be a program name with arguments.
5653compiler=$CC
5654
5655
5656# Check for command to grab the raw symbol name followed by C symbol from nm.
5657{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5658$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5659if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
5660  $as_echo_n "(cached) " >&6
5661else
5662
5663# These are sane defaults that work on at least a few old systems.
5664# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
5665
5666# Character class describing NM global symbol codes.
5667symcode='[BCDEGRST]'
5668
5669# Regexp to match symbols that can be accessed directly from C.
5670sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5671
5672# Define system-specific variables.
5673case $host_os in
5674aix*)
5675  symcode='[BCDT]'
5676  ;;
5677cygwin* | mingw* | pw32* | cegcc*)
5678  symcode='[ABCDGISTW]'
5679  ;;
5680hpux*)
5681  if test "$host_cpu" = ia64; then
5682    symcode='[ABCDEGRST]'
5683  fi
5684  ;;
5685irix* | nonstopux*)
5686  symcode='[BCDEGRST]'
5687  ;;
5688osf*)
5689  symcode='[BCDEGQRST]'
5690  ;;
5691solaris*)
5692  symcode='[BDRT]'
5693  ;;
5694sco3.2v5*)
5695  symcode='[DT]'
5696  ;;
5697sysv4.2uw2*)
5698  symcode='[DT]'
5699  ;;
5700sysv5* | sco5v6* | unixware* | OpenUNIX*)
5701  symcode='[ABDT]'
5702  ;;
5703sysv4)
5704  symcode='[DFNSTU]'
5705  ;;
5706esac
5707
5708# If we're using GNU nm, then use its standard symbol codes.
5709case `$NM -V 2>&1` in
5710*GNU* | *'with BFD'*)
5711  symcode='[ABCDGIRSTW]' ;;
5712esac
5713
5714# Transform an extracted symbol line into a proper C declaration.
5715# Some systems (esp. on ia64) link data and code symbols differently,
5716# so use this general approach.
5717lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5718
5719# Transform an extracted symbol line into symbol name and symbol address
5720lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
5721lt_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'"
5722
5723# Handle CRLF in mingw tool chain
5724opt_cr=
5725case $build_os in
5726mingw*)
5727  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5728  ;;
5729esac
5730
5731# Try without a prefix underscore, then with it.
5732for ac_symprfx in "" "_"; do
5733
5734  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5735  symxfrm="\\1 $ac_symprfx\\2 \\2"
5736
5737  # Write the raw and C identifiers.
5738  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5739    # Fake it for dumpbin and say T for any non-static function
5740    # and D for any global variable.
5741    # Also find C++ and __fastcall symbols from MSVC++,
5742    # which start with @ or ?.
5743    lt_cv_sys_global_symbol_pipe="$AWK '"\
5744"     {last_section=section; section=\$ 3};"\
5745"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5746"     \$ 0!~/External *\|/{next};"\
5747"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5748"     {if(hide[section]) next};"\
5749"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5750"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5751"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
5752"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5753"     ' prfx=^$ac_symprfx"
5754  else
5755    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5756  fi
5757
5758  # Check to see that the pipe works correctly.
5759  pipe_works=no
5760
5761  rm -f conftest*
5762  cat > conftest.$ac_ext <<_LT_EOF
5763#ifdef __cplusplus
5764extern "C" {
5765#endif
5766char nm_test_var;
5767void nm_test_func(void);
5768void nm_test_func(void){}
5769#ifdef __cplusplus
5770}
5771#endif
5772int main(){nm_test_var='a';nm_test_func();return(0);}
5773_LT_EOF
5774
5775  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5776  (eval $ac_compile) 2>&5
5777  ac_status=$?
5778  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5779  test $ac_status = 0; }; then
5780    # Now try to grab the symbols.
5781    nlist=conftest.nm
5782    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
5783  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5784  ac_status=$?
5785  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5786  test $ac_status = 0; } && test -s "$nlist"; then
5787      # Try sorting and uniquifying the output.
5788      if sort "$nlist" | uniq > "$nlist"T; then
5789	mv -f "$nlist"T "$nlist"
5790      else
5791	rm -f "$nlist"T
5792      fi
5793
5794      # Make sure that we snagged all the symbols we need.
5795      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5796	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5797	  cat <<_LT_EOF > conftest.$ac_ext
5798#ifdef __cplusplus
5799extern "C" {
5800#endif
5801
5802_LT_EOF
5803	  # Now generate the symbol file.
5804	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5805
5806	  cat <<_LT_EOF >> conftest.$ac_ext
5807
5808/* The mapping between symbol names and symbols.  */
5809const struct {
5810  const char *name;
5811  void       *address;
5812}
5813lt__PROGRAM__LTX_preloaded_symbols[] =
5814{
5815  { "@PROGRAM@", (void *) 0 },
5816_LT_EOF
5817	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5818	  cat <<\_LT_EOF >> conftest.$ac_ext
5819  {0, (void *) 0}
5820};
5821
5822/* This works around a problem in FreeBSD linker */
5823#ifdef FREEBSD_WORKAROUND
5824static const void *lt_preloaded_setup() {
5825  return lt__PROGRAM__LTX_preloaded_symbols;
5826}
5827#endif
5828
5829#ifdef __cplusplus
5830}
5831#endif
5832_LT_EOF
5833	  # Now try linking the two files.
5834	  mv conftest.$ac_objext conftstm.$ac_objext
5835	  lt_save_LIBS="$LIBS"
5836	  lt_save_CFLAGS="$CFLAGS"
5837	  LIBS="conftstm.$ac_objext"
5838	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5839	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5840  (eval $ac_link) 2>&5
5841  ac_status=$?
5842  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5843  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
5844	    pipe_works=yes
5845	  fi
5846	  LIBS="$lt_save_LIBS"
5847	  CFLAGS="$lt_save_CFLAGS"
5848	else
5849	  echo "cannot find nm_test_func in $nlist" >&5
5850	fi
5851      else
5852	echo "cannot find nm_test_var in $nlist" >&5
5853      fi
5854    else
5855      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5856    fi
5857  else
5858    echo "$progname: failed program was:" >&5
5859    cat conftest.$ac_ext >&5
5860  fi
5861  rm -rf conftest* conftst*
5862
5863  # Do not use the global_symbol_pipe unless it works.
5864  if test "$pipe_works" = yes; then
5865    break
5866  else
5867    lt_cv_sys_global_symbol_pipe=
5868  fi
5869done
5870
5871fi
5872
5873if test -z "$lt_cv_sys_global_symbol_pipe"; then
5874  lt_cv_sys_global_symbol_to_cdecl=
5875fi
5876if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5877  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
5878$as_echo "failed" >&6; }
5879else
5880  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5881$as_echo "ok" >&6; }
5882fi
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906# Check whether --enable-libtool-lock was given.
5907if test "${enable_libtool_lock+set}" = set; then :
5908  enableval=$enable_libtool_lock;
5909fi
5910
5911test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5912
5913# Some flags need to be propagated to the compiler or linker for good
5914# libtool support.
5915case $host in
5916ia64-*-hpux*)
5917  # Find out which ABI we are using.
5918  echo 'int i;' > conftest.$ac_ext
5919  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5920  (eval $ac_compile) 2>&5
5921  ac_status=$?
5922  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5923  test $ac_status = 0; }; then
5924    case `/usr/bin/file conftest.$ac_objext` in
5925      *ELF-32*)
5926	HPUX_IA64_MODE="32"
5927	;;
5928      *ELF-64*)
5929	HPUX_IA64_MODE="64"
5930	;;
5931    esac
5932  fi
5933  rm -rf conftest*
5934  ;;
5935*-*-irix6*)
5936  # Find out which ABI we are using.
5937  echo '#line 5937 "configure"' > conftest.$ac_ext
5938  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5939  (eval $ac_compile) 2>&5
5940  ac_status=$?
5941  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5942  test $ac_status = 0; }; then
5943    if test "$lt_cv_prog_gnu_ld" = yes; then
5944      case `/usr/bin/file conftest.$ac_objext` in
5945	*32-bit*)
5946	  LD="${LD-ld} -melf32bsmip"
5947	  ;;
5948	*N32*)
5949	  LD="${LD-ld} -melf32bmipn32"
5950	  ;;
5951	*64-bit*)
5952	  LD="${LD-ld} -melf64bmip"
5953	;;
5954      esac
5955    else
5956      case `/usr/bin/file conftest.$ac_objext` in
5957	*32-bit*)
5958	  LD="${LD-ld} -32"
5959	  ;;
5960	*N32*)
5961	  LD="${LD-ld} -n32"
5962	  ;;
5963	*64-bit*)
5964	  LD="${LD-ld} -64"
5965	  ;;
5966      esac
5967    fi
5968  fi
5969  rm -rf conftest*
5970  ;;
5971
5972x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5973s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5974  # Find out which ABI we are using.
5975  echo 'int i;' > conftest.$ac_ext
5976  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5977  (eval $ac_compile) 2>&5
5978  ac_status=$?
5979  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5980  test $ac_status = 0; }; then
5981    case `/usr/bin/file conftest.o` in
5982      *32-bit*)
5983	case $host in
5984	  x86_64-*kfreebsd*-gnu)
5985	    LD="${LD-ld} -m elf_i386_fbsd"
5986	    ;;
5987	  x86_64-*linux*)
5988	    LD="${LD-ld} -m elf_i386"
5989	    ;;
5990	  ppc64-*linux*|powerpc64-*linux*)
5991	    LD="${LD-ld} -m elf32ppclinux"
5992	    ;;
5993	  s390x-*linux*)
5994	    LD="${LD-ld} -m elf_s390"
5995	    ;;
5996	  sparc64-*linux*)
5997	    LD="${LD-ld} -m elf32_sparc"
5998	    ;;
5999	esac
6000	;;
6001      *64-bit*)
6002	case $host in
6003	  x86_64-*kfreebsd*-gnu)
6004	    LD="${LD-ld} -m elf_x86_64_fbsd"
6005	    ;;
6006	  x86_64-*linux*)
6007	    LD="${LD-ld} -m elf_x86_64"
6008	    ;;
6009	  ppc*-*linux*|powerpc*-*linux*)
6010	    LD="${LD-ld} -m elf64ppc"
6011	    ;;
6012	  s390*-*linux*|s390*-*tpf*)
6013	    LD="${LD-ld} -m elf64_s390"
6014	    ;;
6015	  sparc*-*linux*)
6016	    LD="${LD-ld} -m elf64_sparc"
6017	    ;;
6018	esac
6019	;;
6020    esac
6021  fi
6022  rm -rf conftest*
6023  ;;
6024
6025*-*-sco3.2v5*)
6026  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6027  SAVE_CFLAGS="$CFLAGS"
6028  CFLAGS="$CFLAGS -belf"
6029  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6030$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6031if test "${lt_cv_cc_needs_belf+set}" = set; then :
6032  $as_echo_n "(cached) " >&6
6033else
6034  ac_ext=c
6035ac_cpp='$CPP $CPPFLAGS'
6036ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6037ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6038ac_compiler_gnu=$ac_cv_c_compiler_gnu
6039
6040     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6041/* end confdefs.h.  */
6042
6043int
6044main ()
6045{
6046
6047  ;
6048  return 0;
6049}
6050_ACEOF
6051if ac_fn_c_try_link "$LINENO"; then :
6052  lt_cv_cc_needs_belf=yes
6053else
6054  lt_cv_cc_needs_belf=no
6055fi
6056rm -f core conftest.err conftest.$ac_objext \
6057    conftest$ac_exeext conftest.$ac_ext
6058     ac_ext=c
6059ac_cpp='$CPP $CPPFLAGS'
6060ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6061ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6062ac_compiler_gnu=$ac_cv_c_compiler_gnu
6063
6064fi
6065{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6066$as_echo "$lt_cv_cc_needs_belf" >&6; }
6067  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6068    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6069    CFLAGS="$SAVE_CFLAGS"
6070  fi
6071  ;;
6072sparc*-*solaris*)
6073  # Find out which ABI we are using.
6074  echo 'int i;' > conftest.$ac_ext
6075  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6076  (eval $ac_compile) 2>&5
6077  ac_status=$?
6078  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6079  test $ac_status = 0; }; then
6080    case `/usr/bin/file conftest.o` in
6081    *64-bit*)
6082      case $lt_cv_prog_gnu_ld in
6083      yes*) LD="${LD-ld} -m elf64_sparc" ;;
6084      *)
6085	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6086	  LD="${LD-ld} -64"
6087	fi
6088	;;
6089      esac
6090      ;;
6091    esac
6092  fi
6093  rm -rf conftest*
6094  ;;
6095esac
6096
6097need_locks="$enable_libtool_lock"
6098
6099
6100  case $host_os in
6101    rhapsody* | darwin*)
6102    if test -n "$ac_tool_prefix"; then
6103  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6104set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6105{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6106$as_echo_n "checking for $ac_word... " >&6; }
6107if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6108  $as_echo_n "(cached) " >&6
6109else
6110  if test -n "$DSYMUTIL"; then
6111  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6112else
6113as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6114for as_dir in $PATH
6115do
6116  IFS=$as_save_IFS
6117  test -z "$as_dir" && as_dir=.
6118    for ac_exec_ext in '' $ac_executable_extensions; do
6119  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6120    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6121    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6122    break 2
6123  fi
6124done
6125  done
6126IFS=$as_save_IFS
6127
6128fi
6129fi
6130DSYMUTIL=$ac_cv_prog_DSYMUTIL
6131if test -n "$DSYMUTIL"; then
6132  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6133$as_echo "$DSYMUTIL" >&6; }
6134else
6135  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6136$as_echo "no" >&6; }
6137fi
6138
6139
6140fi
6141if test -z "$ac_cv_prog_DSYMUTIL"; then
6142  ac_ct_DSYMUTIL=$DSYMUTIL
6143  # Extract the first word of "dsymutil", so it can be a program name with args.
6144set dummy dsymutil; ac_word=$2
6145{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6146$as_echo_n "checking for $ac_word... " >&6; }
6147if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6148  $as_echo_n "(cached) " >&6
6149else
6150  if test -n "$ac_ct_DSYMUTIL"; then
6151  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6152else
6153as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6154for as_dir in $PATH
6155do
6156  IFS=$as_save_IFS
6157  test -z "$as_dir" && as_dir=.
6158    for ac_exec_ext in '' $ac_executable_extensions; do
6159  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6160    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6161    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6162    break 2
6163  fi
6164done
6165  done
6166IFS=$as_save_IFS
6167
6168fi
6169fi
6170ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6171if test -n "$ac_ct_DSYMUTIL"; then
6172  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6173$as_echo "$ac_ct_DSYMUTIL" >&6; }
6174else
6175  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6176$as_echo "no" >&6; }
6177fi
6178
6179  if test "x$ac_ct_DSYMUTIL" = x; then
6180    DSYMUTIL=":"
6181  else
6182    case $cross_compiling:$ac_tool_warned in
6183yes:)
6184{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6185$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6186ac_tool_warned=yes ;;
6187esac
6188    DSYMUTIL=$ac_ct_DSYMUTIL
6189  fi
6190else
6191  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6192fi
6193
6194    if test -n "$ac_tool_prefix"; then
6195  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6196set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6197{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6198$as_echo_n "checking for $ac_word... " >&6; }
6199if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6200  $as_echo_n "(cached) " >&6
6201else
6202  if test -n "$NMEDIT"; then
6203  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6204else
6205as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6206for as_dir in $PATH
6207do
6208  IFS=$as_save_IFS
6209  test -z "$as_dir" && as_dir=.
6210    for ac_exec_ext in '' $ac_executable_extensions; do
6211  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6212    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6213    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6214    break 2
6215  fi
6216done
6217  done
6218IFS=$as_save_IFS
6219
6220fi
6221fi
6222NMEDIT=$ac_cv_prog_NMEDIT
6223if test -n "$NMEDIT"; then
6224  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6225$as_echo "$NMEDIT" >&6; }
6226else
6227  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6228$as_echo "no" >&6; }
6229fi
6230
6231
6232fi
6233if test -z "$ac_cv_prog_NMEDIT"; then
6234  ac_ct_NMEDIT=$NMEDIT
6235  # Extract the first word of "nmedit", so it can be a program name with args.
6236set dummy nmedit; ac_word=$2
6237{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6238$as_echo_n "checking for $ac_word... " >&6; }
6239if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6240  $as_echo_n "(cached) " >&6
6241else
6242  if test -n "$ac_ct_NMEDIT"; then
6243  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6244else
6245as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6246for as_dir in $PATH
6247do
6248  IFS=$as_save_IFS
6249  test -z "$as_dir" && as_dir=.
6250    for ac_exec_ext in '' $ac_executable_extensions; do
6251  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6252    ac_cv_prog_ac_ct_NMEDIT="nmedit"
6253    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6254    break 2
6255  fi
6256done
6257  done
6258IFS=$as_save_IFS
6259
6260fi
6261fi
6262ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6263if test -n "$ac_ct_NMEDIT"; then
6264  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6265$as_echo "$ac_ct_NMEDIT" >&6; }
6266else
6267  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6268$as_echo "no" >&6; }
6269fi
6270
6271  if test "x$ac_ct_NMEDIT" = x; then
6272    NMEDIT=":"
6273  else
6274    case $cross_compiling:$ac_tool_warned in
6275yes:)
6276{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6277$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6278ac_tool_warned=yes ;;
6279esac
6280    NMEDIT=$ac_ct_NMEDIT
6281  fi
6282else
6283  NMEDIT="$ac_cv_prog_NMEDIT"
6284fi
6285
6286    if test -n "$ac_tool_prefix"; then
6287  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6288set dummy ${ac_tool_prefix}lipo; ac_word=$2
6289{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6290$as_echo_n "checking for $ac_word... " >&6; }
6291if test "${ac_cv_prog_LIPO+set}" = set; then :
6292  $as_echo_n "(cached) " >&6
6293else
6294  if test -n "$LIPO"; then
6295  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6296else
6297as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6298for as_dir in $PATH
6299do
6300  IFS=$as_save_IFS
6301  test -z "$as_dir" && as_dir=.
6302    for ac_exec_ext in '' $ac_executable_extensions; do
6303  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6304    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6305    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6306    break 2
6307  fi
6308done
6309  done
6310IFS=$as_save_IFS
6311
6312fi
6313fi
6314LIPO=$ac_cv_prog_LIPO
6315if test -n "$LIPO"; then
6316  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6317$as_echo "$LIPO" >&6; }
6318else
6319  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6320$as_echo "no" >&6; }
6321fi
6322
6323
6324fi
6325if test -z "$ac_cv_prog_LIPO"; then
6326  ac_ct_LIPO=$LIPO
6327  # Extract the first word of "lipo", so it can be a program name with args.
6328set dummy lipo; ac_word=$2
6329{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6330$as_echo_n "checking for $ac_word... " >&6; }
6331if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6332  $as_echo_n "(cached) " >&6
6333else
6334  if test -n "$ac_ct_LIPO"; then
6335  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6336else
6337as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6338for as_dir in $PATH
6339do
6340  IFS=$as_save_IFS
6341  test -z "$as_dir" && as_dir=.
6342    for ac_exec_ext in '' $ac_executable_extensions; do
6343  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6344    ac_cv_prog_ac_ct_LIPO="lipo"
6345    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6346    break 2
6347  fi
6348done
6349  done
6350IFS=$as_save_IFS
6351
6352fi
6353fi
6354ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6355if test -n "$ac_ct_LIPO"; then
6356  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6357$as_echo "$ac_ct_LIPO" >&6; }
6358else
6359  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6360$as_echo "no" >&6; }
6361fi
6362
6363  if test "x$ac_ct_LIPO" = x; then
6364    LIPO=":"
6365  else
6366    case $cross_compiling:$ac_tool_warned in
6367yes:)
6368{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6369$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6370ac_tool_warned=yes ;;
6371esac
6372    LIPO=$ac_ct_LIPO
6373  fi
6374else
6375  LIPO="$ac_cv_prog_LIPO"
6376fi
6377
6378    if test -n "$ac_tool_prefix"; then
6379  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6380set dummy ${ac_tool_prefix}otool; ac_word=$2
6381{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6382$as_echo_n "checking for $ac_word... " >&6; }
6383if test "${ac_cv_prog_OTOOL+set}" = set; then :
6384  $as_echo_n "(cached) " >&6
6385else
6386  if test -n "$OTOOL"; then
6387  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6388else
6389as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6390for as_dir in $PATH
6391do
6392  IFS=$as_save_IFS
6393  test -z "$as_dir" && as_dir=.
6394    for ac_exec_ext in '' $ac_executable_extensions; do
6395  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6396    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6397    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6398    break 2
6399  fi
6400done
6401  done
6402IFS=$as_save_IFS
6403
6404fi
6405fi
6406OTOOL=$ac_cv_prog_OTOOL
6407if test -n "$OTOOL"; then
6408  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6409$as_echo "$OTOOL" >&6; }
6410else
6411  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6412$as_echo "no" >&6; }
6413fi
6414
6415
6416fi
6417if test -z "$ac_cv_prog_OTOOL"; then
6418  ac_ct_OTOOL=$OTOOL
6419  # Extract the first word of "otool", so it can be a program name with args.
6420set dummy otool; ac_word=$2
6421{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6422$as_echo_n "checking for $ac_word... " >&6; }
6423if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6424  $as_echo_n "(cached) " >&6
6425else
6426  if test -n "$ac_ct_OTOOL"; then
6427  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6428else
6429as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6430for as_dir in $PATH
6431do
6432  IFS=$as_save_IFS
6433  test -z "$as_dir" && as_dir=.
6434    for ac_exec_ext in '' $ac_executable_extensions; do
6435  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6436    ac_cv_prog_ac_ct_OTOOL="otool"
6437    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6438    break 2
6439  fi
6440done
6441  done
6442IFS=$as_save_IFS
6443
6444fi
6445fi
6446ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6447if test -n "$ac_ct_OTOOL"; then
6448  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6449$as_echo "$ac_ct_OTOOL" >&6; }
6450else
6451  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6452$as_echo "no" >&6; }
6453fi
6454
6455  if test "x$ac_ct_OTOOL" = x; then
6456    OTOOL=":"
6457  else
6458    case $cross_compiling:$ac_tool_warned in
6459yes:)
6460{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6461$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6462ac_tool_warned=yes ;;
6463esac
6464    OTOOL=$ac_ct_OTOOL
6465  fi
6466else
6467  OTOOL="$ac_cv_prog_OTOOL"
6468fi
6469
6470    if test -n "$ac_tool_prefix"; then
6471  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6472set dummy ${ac_tool_prefix}otool64; ac_word=$2
6473{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6474$as_echo_n "checking for $ac_word... " >&6; }
6475if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6476  $as_echo_n "(cached) " >&6
6477else
6478  if test -n "$OTOOL64"; then
6479  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6480else
6481as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6482for as_dir in $PATH
6483do
6484  IFS=$as_save_IFS
6485  test -z "$as_dir" && as_dir=.
6486    for ac_exec_ext in '' $ac_executable_extensions; do
6487  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6488    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6489    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6490    break 2
6491  fi
6492done
6493  done
6494IFS=$as_save_IFS
6495
6496fi
6497fi
6498OTOOL64=$ac_cv_prog_OTOOL64
6499if test -n "$OTOOL64"; then
6500  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6501$as_echo "$OTOOL64" >&6; }
6502else
6503  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6504$as_echo "no" >&6; }
6505fi
6506
6507
6508fi
6509if test -z "$ac_cv_prog_OTOOL64"; then
6510  ac_ct_OTOOL64=$OTOOL64
6511  # Extract the first word of "otool64", so it can be a program name with args.
6512set dummy otool64; ac_word=$2
6513{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6514$as_echo_n "checking for $ac_word... " >&6; }
6515if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6516  $as_echo_n "(cached) " >&6
6517else
6518  if test -n "$ac_ct_OTOOL64"; then
6519  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6520else
6521as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6522for as_dir in $PATH
6523do
6524  IFS=$as_save_IFS
6525  test -z "$as_dir" && as_dir=.
6526    for ac_exec_ext in '' $ac_executable_extensions; do
6527  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6528    ac_cv_prog_ac_ct_OTOOL64="otool64"
6529    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6530    break 2
6531  fi
6532done
6533  done
6534IFS=$as_save_IFS
6535
6536fi
6537fi
6538ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6539if test -n "$ac_ct_OTOOL64"; then
6540  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6541$as_echo "$ac_ct_OTOOL64" >&6; }
6542else
6543  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6544$as_echo "no" >&6; }
6545fi
6546
6547  if test "x$ac_ct_OTOOL64" = x; then
6548    OTOOL64=":"
6549  else
6550    case $cross_compiling:$ac_tool_warned in
6551yes:)
6552{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6553$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6554ac_tool_warned=yes ;;
6555esac
6556    OTOOL64=$ac_ct_OTOOL64
6557  fi
6558else
6559  OTOOL64="$ac_cv_prog_OTOOL64"
6560fi
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
6588    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6589$as_echo_n "checking for -single_module linker flag... " >&6; }
6590if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
6591  $as_echo_n "(cached) " >&6
6592else
6593  lt_cv_apple_cc_single_mod=no
6594      if test -z "${LT_MULTI_MODULE}"; then
6595	# By default we will add the -single_module flag. You can override
6596	# by either setting the environment variable LT_MULTI_MODULE
6597	# non-empty at configure time, or by adding -multi_module to the
6598	# link flags.
6599	rm -rf libconftest.dylib*
6600	echo "int foo(void){return 1;}" > conftest.c
6601	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6602-dynamiclib -Wl,-single_module conftest.c" >&5
6603	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6604	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6605        _lt_result=$?
6606	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6607	  lt_cv_apple_cc_single_mod=yes
6608	else
6609	  cat conftest.err >&5
6610	fi
6611	rm -rf libconftest.dylib*
6612	rm -f conftest.*
6613      fi
6614fi
6615{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6616$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6617    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6618$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6619if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
6620  $as_echo_n "(cached) " >&6
6621else
6622  lt_cv_ld_exported_symbols_list=no
6623      save_LDFLAGS=$LDFLAGS
6624      echo "_main" > conftest.sym
6625      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6626      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6627/* end confdefs.h.  */
6628
6629int
6630main ()
6631{
6632
6633  ;
6634  return 0;
6635}
6636_ACEOF
6637if ac_fn_c_try_link "$LINENO"; then :
6638  lt_cv_ld_exported_symbols_list=yes
6639else
6640  lt_cv_ld_exported_symbols_list=no
6641fi
6642rm -f core conftest.err conftest.$ac_objext \
6643    conftest$ac_exeext conftest.$ac_ext
6644	LDFLAGS="$save_LDFLAGS"
6645
6646fi
6647{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6648$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6649    case $host_os in
6650    rhapsody* | darwin1.[012])
6651      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6652    darwin1.*)
6653      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6654    darwin*) # darwin 5.x on
6655      # if running on 10.5 or later, the deployment target defaults
6656      # to the OS version, if on x86, and 10.4, the deployment
6657      # target defaults to 10.4. Don't you love it?
6658      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6659	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6660	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6661	10.[012]*)
6662	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6663	10.*)
6664	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6665      esac
6666    ;;
6667  esac
6668    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6669      _lt_dar_single_mod='$single_module'
6670    fi
6671    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6672      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6673    else
6674      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6675    fi
6676    if test "$DSYMUTIL" != ":"; then
6677      _lt_dsymutil='~$DSYMUTIL $lib || :'
6678    else
6679      _lt_dsymutil=
6680    fi
6681    ;;
6682  esac
6683
6684ac_ext=c
6685ac_cpp='$CPP $CPPFLAGS'
6686ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6687ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6688ac_compiler_gnu=$ac_cv_c_compiler_gnu
6689{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6690$as_echo_n "checking how to run the C preprocessor... " >&6; }
6691# On Suns, sometimes $CPP names a directory.
6692if test -n "$CPP" && test -d "$CPP"; then
6693  CPP=
6694fi
6695if test -z "$CPP"; then
6696  if test "${ac_cv_prog_CPP+set}" = set; then :
6697  $as_echo_n "(cached) " >&6
6698else
6699      # Double quotes because CPP needs to be expanded
6700    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6701    do
6702      ac_preproc_ok=false
6703for ac_c_preproc_warn_flag in '' yes
6704do
6705  # Use a header file that comes with gcc, so configuring glibc
6706  # with a fresh cross-compiler works.
6707  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6708  # <limits.h> exists even on freestanding compilers.
6709  # On the NeXT, cc -E runs the code through the compiler's parser,
6710  # not just through cpp. "Syntax error" is here to catch this case.
6711  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6712/* end confdefs.h.  */
6713#ifdef __STDC__
6714# include <limits.h>
6715#else
6716# include <assert.h>
6717#endif
6718		     Syntax error
6719_ACEOF
6720if ac_fn_c_try_cpp "$LINENO"; then :
6721
6722else
6723  # Broken: fails on valid input.
6724continue
6725fi
6726rm -f conftest.err conftest.i conftest.$ac_ext
6727
6728  # OK, works on sane cases.  Now check whether nonexistent headers
6729  # can be detected and how.
6730  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6731/* end confdefs.h.  */
6732#include <ac_nonexistent.h>
6733_ACEOF
6734if ac_fn_c_try_cpp "$LINENO"; then :
6735  # Broken: success on invalid input.
6736continue
6737else
6738  # Passes both tests.
6739ac_preproc_ok=:
6740break
6741fi
6742rm -f conftest.err conftest.i conftest.$ac_ext
6743
6744done
6745# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6746rm -f conftest.i conftest.err conftest.$ac_ext
6747if $ac_preproc_ok; then :
6748  break
6749fi
6750
6751    done
6752    ac_cv_prog_CPP=$CPP
6753
6754fi
6755  CPP=$ac_cv_prog_CPP
6756else
6757  ac_cv_prog_CPP=$CPP
6758fi
6759{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6760$as_echo "$CPP" >&6; }
6761ac_preproc_ok=false
6762for ac_c_preproc_warn_flag in '' yes
6763do
6764  # Use a header file that comes with gcc, so configuring glibc
6765  # with a fresh cross-compiler works.
6766  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6767  # <limits.h> exists even on freestanding compilers.
6768  # On the NeXT, cc -E runs the code through the compiler's parser,
6769  # not just through cpp. "Syntax error" is here to catch this case.
6770  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6771/* end confdefs.h.  */
6772#ifdef __STDC__
6773# include <limits.h>
6774#else
6775# include <assert.h>
6776#endif
6777		     Syntax error
6778_ACEOF
6779if ac_fn_c_try_cpp "$LINENO"; then :
6780
6781else
6782  # Broken: fails on valid input.
6783continue
6784fi
6785rm -f conftest.err conftest.i conftest.$ac_ext
6786
6787  # OK, works on sane cases.  Now check whether nonexistent headers
6788  # can be detected and how.
6789  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6790/* end confdefs.h.  */
6791#include <ac_nonexistent.h>
6792_ACEOF
6793if ac_fn_c_try_cpp "$LINENO"; then :
6794  # Broken: success on invalid input.
6795continue
6796else
6797  # Passes both tests.
6798ac_preproc_ok=:
6799break
6800fi
6801rm -f conftest.err conftest.i conftest.$ac_ext
6802
6803done
6804# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6805rm -f conftest.i conftest.err conftest.$ac_ext
6806if $ac_preproc_ok; then :
6807
6808else
6809  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6810$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6811as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6812See \`config.log' for more details" "$LINENO" 5 ; }
6813fi
6814
6815ac_ext=c
6816ac_cpp='$CPP $CPPFLAGS'
6817ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6818ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6819ac_compiler_gnu=$ac_cv_c_compiler_gnu
6820
6821
6822{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6823$as_echo_n "checking for ANSI C header files... " >&6; }
6824if test "${ac_cv_header_stdc+set}" = set; then :
6825  $as_echo_n "(cached) " >&6
6826else
6827  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6828/* end confdefs.h.  */
6829#include <stdlib.h>
6830#include <stdarg.h>
6831#include <string.h>
6832#include <float.h>
6833
6834int
6835main ()
6836{
6837
6838  ;
6839  return 0;
6840}
6841_ACEOF
6842if ac_fn_c_try_compile "$LINENO"; then :
6843  ac_cv_header_stdc=yes
6844else
6845  ac_cv_header_stdc=no
6846fi
6847rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6848
6849if test $ac_cv_header_stdc = yes; then
6850  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6851  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6852/* end confdefs.h.  */
6853#include <string.h>
6854
6855_ACEOF
6856if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6857  $EGREP "memchr" >/dev/null 2>&1; then :
6858
6859else
6860  ac_cv_header_stdc=no
6861fi
6862rm -f conftest*
6863
6864fi
6865
6866if test $ac_cv_header_stdc = yes; then
6867  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6868  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6869/* end confdefs.h.  */
6870#include <stdlib.h>
6871
6872_ACEOF
6873if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6874  $EGREP "free" >/dev/null 2>&1; then :
6875
6876else
6877  ac_cv_header_stdc=no
6878fi
6879rm -f conftest*
6880
6881fi
6882
6883if test $ac_cv_header_stdc = yes; then
6884  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6885  if test "$cross_compiling" = yes; then :
6886  :
6887else
6888  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6889/* end confdefs.h.  */
6890#include <ctype.h>
6891#include <stdlib.h>
6892#if ((' ' & 0x0FF) == 0x020)
6893# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6894# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6895#else
6896# define ISLOWER(c) \
6897		   (('a' <= (c) && (c) <= 'i') \
6898		     || ('j' <= (c) && (c) <= 'r') \
6899		     || ('s' <= (c) && (c) <= 'z'))
6900# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6901#endif
6902
6903#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6904int
6905main ()
6906{
6907  int i;
6908  for (i = 0; i < 256; i++)
6909    if (XOR (islower (i), ISLOWER (i))
6910	|| toupper (i) != TOUPPER (i))
6911      return 2;
6912  return 0;
6913}
6914_ACEOF
6915if ac_fn_c_try_run "$LINENO"; then :
6916
6917else
6918  ac_cv_header_stdc=no
6919fi
6920rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6921  conftest.$ac_objext conftest.beam conftest.$ac_ext
6922fi
6923
6924fi
6925fi
6926{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6927$as_echo "$ac_cv_header_stdc" >&6; }
6928if test $ac_cv_header_stdc = yes; then
6929
6930$as_echo "#define STDC_HEADERS 1" >>confdefs.h
6931
6932fi
6933
6934# On IRIX 5.3, sys/types and inttypes.h are conflicting.
6935for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6936		  inttypes.h stdint.h unistd.h
6937do :
6938  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6939ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6940"
6941if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6942  cat >>confdefs.h <<_ACEOF
6943#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6944_ACEOF
6945
6946fi
6947
6948done
6949
6950
6951for ac_header in dlfcn.h
6952do :
6953  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
6954"
6955if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
6956  cat >>confdefs.h <<_ACEOF
6957#define HAVE_DLFCN_H 1
6958_ACEOF
6959
6960fi
6961
6962done
6963
6964
6965
6966# Set options
6967
6968
6969
6970        enable_dlopen=no
6971
6972
6973  enable_win32_dll=no
6974
6975
6976            # Check whether --enable-shared was given.
6977if test "${enable_shared+set}" = set; then :
6978  enableval=$enable_shared; p=${PACKAGE-default}
6979    case $enableval in
6980    yes) enable_shared=yes ;;
6981    no) enable_shared=no ;;
6982    *)
6983      enable_shared=no
6984      # Look at the argument we got.  We use all the common list separators.
6985      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6986      for pkg in $enableval; do
6987	IFS="$lt_save_ifs"
6988	if test "X$pkg" = "X$p"; then
6989	  enable_shared=yes
6990	fi
6991      done
6992      IFS="$lt_save_ifs"
6993      ;;
6994    esac
6995else
6996  enable_shared=yes
6997fi
6998
6999
7000
7001
7002
7003
7004
7005
7006
7007  # Check whether --enable-static was given.
7008if test "${enable_static+set}" = set; then :
7009  enableval=$enable_static; p=${PACKAGE-default}
7010    case $enableval in
7011    yes) enable_static=yes ;;
7012    no) enable_static=no ;;
7013    *)
7014     enable_static=no
7015      # Look at the argument we got.  We use all the common list separators.
7016      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7017      for pkg in $enableval; do
7018	IFS="$lt_save_ifs"
7019	if test "X$pkg" = "X$p"; then
7020	  enable_static=yes
7021	fi
7022      done
7023      IFS="$lt_save_ifs"
7024      ;;
7025    esac
7026else
7027  enable_static=yes
7028fi
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039# Check whether --with-pic was given.
7040if test "${with_pic+set}" = set; then :
7041  withval=$with_pic; pic_mode="$withval"
7042else
7043  pic_mode=default
7044fi
7045
7046
7047test -z "$pic_mode" && pic_mode=default
7048
7049
7050
7051
7052
7053
7054
7055  # Check whether --enable-fast-install was given.
7056if test "${enable_fast_install+set}" = set; then :
7057  enableval=$enable_fast_install; p=${PACKAGE-default}
7058    case $enableval in
7059    yes) enable_fast_install=yes ;;
7060    no) enable_fast_install=no ;;
7061    *)
7062      enable_fast_install=no
7063      # Look at the argument we got.  We use all the common list separators.
7064      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7065      for pkg in $enableval; do
7066	IFS="$lt_save_ifs"
7067	if test "X$pkg" = "X$p"; then
7068	  enable_fast_install=yes
7069	fi
7070      done
7071      IFS="$lt_save_ifs"
7072      ;;
7073    esac
7074else
7075  enable_fast_install=yes
7076fi
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088# This can be used to rebuild libtool when needed
7089LIBTOOL_DEPS="$ltmain"
7090
7091# Always use our own libtool.
7092LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118test -z "$LN_S" && LN_S="ln -s"
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133if test -n "${ZSH_VERSION+set}" ; then
7134   setopt NO_GLOB_SUBST
7135fi
7136
7137{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7138$as_echo_n "checking for objdir... " >&6; }
7139if test "${lt_cv_objdir+set}" = set; then :
7140  $as_echo_n "(cached) " >&6
7141else
7142  rm -f .libs 2>/dev/null
7143mkdir .libs 2>/dev/null
7144if test -d .libs; then
7145  lt_cv_objdir=.libs
7146else
7147  # MS-DOS does not allow filenames that begin with a dot.
7148  lt_cv_objdir=_libs
7149fi
7150rmdir .libs 2>/dev/null
7151fi
7152{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7153$as_echo "$lt_cv_objdir" >&6; }
7154objdir=$lt_cv_objdir
7155
7156
7157
7158
7159
7160cat >>confdefs.h <<_ACEOF
7161#define LT_OBJDIR "$lt_cv_objdir/"
7162_ACEOF
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180case $host_os in
7181aix3*)
7182  # AIX sometimes has problems with the GCC collect2 program.  For some
7183  # reason, if we set the COLLECT_NAMES environment variable, the problems
7184  # vanish in a puff of smoke.
7185  if test "X${COLLECT_NAMES+set}" != Xset; then
7186    COLLECT_NAMES=
7187    export COLLECT_NAMES
7188  fi
7189  ;;
7190esac
7191
7192# Sed substitution that helps us do robust quoting.  It backslashifies
7193# metacharacters that are still active within double-quoted strings.
7194sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7195
7196# Same as above, but do not quote variable references.
7197double_quote_subst='s/\(["`\\]\)/\\\1/g'
7198
7199# Sed substitution to delay expansion of an escaped shell variable in a
7200# double_quote_subst'ed string.
7201delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7202
7203# Sed substitution to delay expansion of an escaped single quote.
7204delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7205
7206# Sed substitution to avoid accidental globbing in evaled expressions
7207no_glob_subst='s/\*/\\\*/g'
7208
7209# Global variables:
7210ofile=libtool
7211can_build_shared=yes
7212
7213# All known linkers require a `.a' archive for static linking (except MSVC,
7214# which needs '.lib').
7215libext=a
7216
7217with_gnu_ld="$lt_cv_prog_gnu_ld"
7218
7219old_CC="$CC"
7220old_CFLAGS="$CFLAGS"
7221
7222# Set sane defaults for various variables
7223test -z "$CC" && CC=cc
7224test -z "$LTCC" && LTCC=$CC
7225test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7226test -z "$LD" && LD=ld
7227test -z "$ac_objext" && ac_objext=o
7228
7229for cc_temp in $compiler""; do
7230  case $cc_temp in
7231    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7232    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7233    \-*) ;;
7234    *) break;;
7235  esac
7236done
7237cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7238
7239
7240# Only perform the check for file, if the check method requires it
7241test -z "$MAGIC_CMD" && MAGIC_CMD=file
7242case $deplibs_check_method in
7243file_magic*)
7244  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7245    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7246$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7247if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7248  $as_echo_n "(cached) " >&6
7249else
7250  case $MAGIC_CMD in
7251[\\/*] |  ?:[\\/]*)
7252  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7253  ;;
7254*)
7255  lt_save_MAGIC_CMD="$MAGIC_CMD"
7256  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7257  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7258  for ac_dir in $ac_dummy; do
7259    IFS="$lt_save_ifs"
7260    test -z "$ac_dir" && ac_dir=.
7261    if test -f $ac_dir/${ac_tool_prefix}file; then
7262      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7263      if test -n "$file_magic_test_file"; then
7264	case $deplibs_check_method in
7265	"file_magic "*)
7266	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7267	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7268	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7269	    $EGREP "$file_magic_regex" > /dev/null; then
7270	    :
7271	  else
7272	    cat <<_LT_EOF 1>&2
7273
7274*** Warning: the command libtool uses to detect shared libraries,
7275*** $file_magic_cmd, produces output that libtool cannot recognize.
7276*** The result is that libtool may fail to recognize shared libraries
7277*** as such.  This will affect the creation of libtool libraries that
7278*** depend on shared libraries, but programs linked with such libtool
7279*** libraries will work regardless of this problem.  Nevertheless, you
7280*** may want to report the problem to your system manager and/or to
7281*** bug-libtool@gnu.org
7282
7283_LT_EOF
7284	  fi ;;
7285	esac
7286      fi
7287      break
7288    fi
7289  done
7290  IFS="$lt_save_ifs"
7291  MAGIC_CMD="$lt_save_MAGIC_CMD"
7292  ;;
7293esac
7294fi
7295
7296MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7297if test -n "$MAGIC_CMD"; then
7298  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7299$as_echo "$MAGIC_CMD" >&6; }
7300else
7301  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7302$as_echo "no" >&6; }
7303fi
7304
7305
7306
7307
7308
7309if test -z "$lt_cv_path_MAGIC_CMD"; then
7310  if test -n "$ac_tool_prefix"; then
7311    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7312$as_echo_n "checking for file... " >&6; }
7313if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7314  $as_echo_n "(cached) " >&6
7315else
7316  case $MAGIC_CMD in
7317[\\/*] |  ?:[\\/]*)
7318  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7319  ;;
7320*)
7321  lt_save_MAGIC_CMD="$MAGIC_CMD"
7322  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7323  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7324  for ac_dir in $ac_dummy; do
7325    IFS="$lt_save_ifs"
7326    test -z "$ac_dir" && ac_dir=.
7327    if test -f $ac_dir/file; then
7328      lt_cv_path_MAGIC_CMD="$ac_dir/file"
7329      if test -n "$file_magic_test_file"; then
7330	case $deplibs_check_method in
7331	"file_magic "*)
7332	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7333	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7334	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7335	    $EGREP "$file_magic_regex" > /dev/null; then
7336	    :
7337	  else
7338	    cat <<_LT_EOF 1>&2
7339
7340*** Warning: the command libtool uses to detect shared libraries,
7341*** $file_magic_cmd, produces output that libtool cannot recognize.
7342*** The result is that libtool may fail to recognize shared libraries
7343*** as such.  This will affect the creation of libtool libraries that
7344*** depend on shared libraries, but programs linked with such libtool
7345*** libraries will work regardless of this problem.  Nevertheless, you
7346*** may want to report the problem to your system manager and/or to
7347*** bug-libtool@gnu.org
7348
7349_LT_EOF
7350	  fi ;;
7351	esac
7352      fi
7353      break
7354    fi
7355  done
7356  IFS="$lt_save_ifs"
7357  MAGIC_CMD="$lt_save_MAGIC_CMD"
7358  ;;
7359esac
7360fi
7361
7362MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7363if test -n "$MAGIC_CMD"; then
7364  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7365$as_echo "$MAGIC_CMD" >&6; }
7366else
7367  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7368$as_echo "no" >&6; }
7369fi
7370
7371
7372  else
7373    MAGIC_CMD=:
7374  fi
7375fi
7376
7377  fi
7378  ;;
7379esac
7380
7381# Use C for the default configuration in the libtool script
7382
7383lt_save_CC="$CC"
7384ac_ext=c
7385ac_cpp='$CPP $CPPFLAGS'
7386ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7387ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7388ac_compiler_gnu=$ac_cv_c_compiler_gnu
7389
7390
7391# Source file extension for C test sources.
7392ac_ext=c
7393
7394# Object file extension for compiled C test sources.
7395objext=o
7396objext=$objext
7397
7398# Code to be used in simple compile tests
7399lt_simple_compile_test_code="int some_variable = 0;"
7400
7401# Code to be used in simple link tests
7402lt_simple_link_test_code='int main(){return(0);}'
7403
7404
7405
7406
7407
7408
7409
7410# If no C compiler was specified, use CC.
7411LTCC=${LTCC-"$CC"}
7412
7413# If no C compiler flags were specified, use CFLAGS.
7414LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7415
7416# Allow CC to be a program name with arguments.
7417compiler=$CC
7418
7419# Save the default compiler, since it gets overwritten when the other
7420# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7421compiler_DEFAULT=$CC
7422
7423# save warnings/boilerplate of simple test code
7424ac_outfile=conftest.$ac_objext
7425echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7426eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7427_lt_compiler_boilerplate=`cat conftest.err`
7428$RM conftest*
7429
7430ac_outfile=conftest.$ac_objext
7431echo "$lt_simple_link_test_code" >conftest.$ac_ext
7432eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7433_lt_linker_boilerplate=`cat conftest.err`
7434$RM -r conftest*
7435
7436
7437## CAVEAT EMPTOR:
7438## There is no encapsulation within the following macros, do not change
7439## the running order or otherwise move them around unless you know exactly
7440## what you are doing...
7441if test -n "$compiler"; then
7442
7443lt_prog_compiler_no_builtin_flag=
7444
7445if test "$GCC" = yes; then
7446  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7447
7448  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7449$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7450if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7451  $as_echo_n "(cached) " >&6
7452else
7453  lt_cv_prog_compiler_rtti_exceptions=no
7454   ac_outfile=conftest.$ac_objext
7455   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7456   lt_compiler_flag="-fno-rtti -fno-exceptions"
7457   # Insert the option either (1) after the last *FLAGS variable, or
7458   # (2) before a word containing "conftest.", or (3) at the end.
7459   # Note that $ac_compile itself does not contain backslashes and begins
7460   # with a dollar sign (not a hyphen), so the echo should work correctly.
7461   # The option is referenced via a variable to avoid confusing sed.
7462   lt_compile=`echo "$ac_compile" | $SED \
7463   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7464   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7465   -e 's:$: $lt_compiler_flag:'`
7466   (eval echo "\"\$as_me:7466: $lt_compile\"" >&5)
7467   (eval "$lt_compile" 2>conftest.err)
7468   ac_status=$?
7469   cat conftest.err >&5
7470   echo "$as_me:7470: \$? = $ac_status" >&5
7471   if (exit $ac_status) && test -s "$ac_outfile"; then
7472     # The compiler can only warn and ignore the option if not recognized
7473     # So say no if there are warnings other than the usual output.
7474     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7475     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7476     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7477       lt_cv_prog_compiler_rtti_exceptions=yes
7478     fi
7479   fi
7480   $RM conftest*
7481
7482fi
7483{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7484$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7485
7486if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7487    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7488else
7489    :
7490fi
7491
7492fi
7493
7494
7495
7496
7497
7498
7499  lt_prog_compiler_wl=
7500lt_prog_compiler_pic=
7501lt_prog_compiler_static=
7502
7503{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7504$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7505
7506  if test "$GCC" = yes; then
7507    lt_prog_compiler_wl='-Wl,'
7508    lt_prog_compiler_static='-static'
7509
7510    case $host_os in
7511      aix*)
7512      # All AIX code is PIC.
7513      if test "$host_cpu" = ia64; then
7514	# AIX 5 now supports IA64 processor
7515	lt_prog_compiler_static='-Bstatic'
7516      fi
7517      ;;
7518
7519    amigaos*)
7520      case $host_cpu in
7521      powerpc)
7522            # see comment about AmigaOS4 .so support
7523            lt_prog_compiler_pic='-fPIC'
7524        ;;
7525      m68k)
7526            # FIXME: we need at least 68020 code to build shared libraries, but
7527            # adding the `-m68020' flag to GCC prevents building anything better,
7528            # like `-m68040'.
7529            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7530        ;;
7531      esac
7532      ;;
7533
7534    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7535      # PIC is the default for these OSes.
7536      ;;
7537
7538    mingw* | cygwin* | pw32* | os2* | cegcc*)
7539      # This hack is so that the source file can tell whether it is being
7540      # built for inclusion in a dll (and should export symbols for example).
7541      # Although the cygwin gcc ignores -fPIC, still need this for old-style
7542      # (--disable-auto-import) libraries
7543      lt_prog_compiler_pic='-DDLL_EXPORT'
7544      ;;
7545
7546    darwin* | rhapsody*)
7547      # PIC is the default on this platform
7548      # Common symbols not allowed in MH_DYLIB files
7549      lt_prog_compiler_pic='-fno-common'
7550      ;;
7551
7552    hpux*)
7553      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7554      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
7555      # sets the default TLS model and affects inlining.
7556      case $host_cpu in
7557      hppa*64*)
7558	# +Z the default
7559	;;
7560      *)
7561	lt_prog_compiler_pic='-fPIC'
7562	;;
7563      esac
7564      ;;
7565
7566    interix[3-9]*)
7567      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7568      # Instead, we relocate shared libraries at runtime.
7569      ;;
7570
7571    msdosdjgpp*)
7572      # Just because we use GCC doesn't mean we suddenly get shared libraries
7573      # on systems that don't support them.
7574      lt_prog_compiler_can_build_shared=no
7575      enable_shared=no
7576      ;;
7577
7578    *nto* | *qnx*)
7579      # QNX uses GNU C++, but need to define -shared option too, otherwise
7580      # it will coredump.
7581      lt_prog_compiler_pic='-fPIC -shared'
7582      ;;
7583
7584    sysv4*MP*)
7585      if test -d /usr/nec; then
7586	lt_prog_compiler_pic=-Kconform_pic
7587      fi
7588      ;;
7589
7590    *)
7591      lt_prog_compiler_pic='-fPIC'
7592      ;;
7593    esac
7594  else
7595    # PORTME Check for flag to pass linker flags through the system compiler.
7596    case $host_os in
7597    aix*)
7598      lt_prog_compiler_wl='-Wl,'
7599      if test "$host_cpu" = ia64; then
7600	# AIX 5 now supports IA64 processor
7601	lt_prog_compiler_static='-Bstatic'
7602      else
7603	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7604      fi
7605      ;;
7606
7607    mingw* | cygwin* | pw32* | os2* | cegcc*)
7608      # This hack is so that the source file can tell whether it is being
7609      # built for inclusion in a dll (and should export symbols for example).
7610      lt_prog_compiler_pic='-DDLL_EXPORT'
7611      ;;
7612
7613    hpux9* | hpux10* | hpux11*)
7614      lt_prog_compiler_wl='-Wl,'
7615      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7616      # not for PA HP-UX.
7617      case $host_cpu in
7618      hppa*64*|ia64*)
7619	# +Z the default
7620	;;
7621      *)
7622	lt_prog_compiler_pic='+Z'
7623	;;
7624      esac
7625      # Is there a better lt_prog_compiler_static that works with the bundled CC?
7626      lt_prog_compiler_static='${wl}-a ${wl}archive'
7627      ;;
7628
7629    irix5* | irix6* | nonstopux*)
7630      lt_prog_compiler_wl='-Wl,'
7631      # PIC (with -KPIC) is the default.
7632      lt_prog_compiler_static='-non_shared'
7633      ;;
7634
7635    linux* | k*bsd*-gnu | kopensolaris*-gnu)
7636      case $cc_basename in
7637      # old Intel for x86_64 which still supported -KPIC.
7638      ecc*)
7639	lt_prog_compiler_wl='-Wl,'
7640	lt_prog_compiler_pic='-KPIC'
7641	lt_prog_compiler_static='-static'
7642        ;;
7643      # icc used to be incompatible with GCC.
7644      # ICC 10 doesn't accept -KPIC any more.
7645      icc* | ifort*)
7646	lt_prog_compiler_wl='-Wl,'
7647	lt_prog_compiler_pic='-fPIC'
7648	lt_prog_compiler_static='-static'
7649        ;;
7650      # Lahey Fortran 8.1.
7651      lf95*)
7652	lt_prog_compiler_wl='-Wl,'
7653	lt_prog_compiler_pic='--shared'
7654	lt_prog_compiler_static='--static'
7655	;;
7656      pgcc* | pgf77* | pgf90* | pgf95*)
7657        # Portland Group compilers (*not* the Pentium gcc compiler,
7658	# which looks to be a dead project)
7659	lt_prog_compiler_wl='-Wl,'
7660	lt_prog_compiler_pic='-fpic'
7661	lt_prog_compiler_static='-Bstatic'
7662        ;;
7663      ccc*)
7664        lt_prog_compiler_wl='-Wl,'
7665        # All Alpha code is PIC.
7666        lt_prog_compiler_static='-non_shared'
7667        ;;
7668      xl*)
7669	# IBM XL C 8.0/Fortran 10.1 on PPC
7670	lt_prog_compiler_wl='-Wl,'
7671	lt_prog_compiler_pic='-qpic'
7672	lt_prog_compiler_static='-qstaticlink'
7673	;;
7674      *)
7675	case `$CC -V 2>&1 | sed 5q` in
7676	*Sun\ C*)
7677	  # Sun C 5.9
7678	  lt_prog_compiler_pic='-KPIC'
7679	  lt_prog_compiler_static='-Bstatic'
7680	  lt_prog_compiler_wl='-Wl,'
7681	  ;;
7682	*Sun\ F*)
7683	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
7684	  lt_prog_compiler_pic='-KPIC'
7685	  lt_prog_compiler_static='-Bstatic'
7686	  lt_prog_compiler_wl=''
7687	  ;;
7688	esac
7689	;;
7690      esac
7691      ;;
7692
7693    newsos6)
7694      lt_prog_compiler_pic='-KPIC'
7695      lt_prog_compiler_static='-Bstatic'
7696      ;;
7697
7698    *nto* | *qnx*)
7699      # QNX uses GNU C++, but need to define -shared option too, otherwise
7700      # it will coredump.
7701      lt_prog_compiler_pic='-fPIC -shared'
7702      ;;
7703
7704    osf3* | osf4* | osf5*)
7705      lt_prog_compiler_wl='-Wl,'
7706      # All OSF/1 code is PIC.
7707      lt_prog_compiler_static='-non_shared'
7708      ;;
7709
7710    rdos*)
7711      lt_prog_compiler_static='-non_shared'
7712      ;;
7713
7714    solaris*)
7715      lt_prog_compiler_pic='-KPIC'
7716      lt_prog_compiler_static='-Bstatic'
7717      case $cc_basename in
7718      f77* | f90* | f95*)
7719	lt_prog_compiler_wl='-Qoption ld ';;
7720      *)
7721	lt_prog_compiler_wl='-Wl,';;
7722      esac
7723      ;;
7724
7725    sunos4*)
7726      lt_prog_compiler_wl='-Qoption ld '
7727      lt_prog_compiler_pic='-PIC'
7728      lt_prog_compiler_static='-Bstatic'
7729      ;;
7730
7731    sysv4 | sysv4.2uw2* | sysv4.3*)
7732      lt_prog_compiler_wl='-Wl,'
7733      lt_prog_compiler_pic='-KPIC'
7734      lt_prog_compiler_static='-Bstatic'
7735      ;;
7736
7737    sysv4*MP*)
7738      if test -d /usr/nec ;then
7739	lt_prog_compiler_pic='-Kconform_pic'
7740	lt_prog_compiler_static='-Bstatic'
7741      fi
7742      ;;
7743
7744    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7745      lt_prog_compiler_wl='-Wl,'
7746      lt_prog_compiler_pic='-KPIC'
7747      lt_prog_compiler_static='-Bstatic'
7748      ;;
7749
7750    unicos*)
7751      lt_prog_compiler_wl='-Wl,'
7752      lt_prog_compiler_can_build_shared=no
7753      ;;
7754
7755    uts4*)
7756      lt_prog_compiler_pic='-pic'
7757      lt_prog_compiler_static='-Bstatic'
7758      ;;
7759
7760    *)
7761      lt_prog_compiler_can_build_shared=no
7762      ;;
7763    esac
7764  fi
7765
7766case $host_os in
7767  # For platforms which do not support PIC, -DPIC is meaningless:
7768  *djgpp*)
7769    lt_prog_compiler_pic=
7770    ;;
7771  *)
7772    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7773    ;;
7774esac
7775{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
7776$as_echo "$lt_prog_compiler_pic" >&6; }
7777
7778
7779
7780
7781
7782
7783#
7784# Check to make sure the PIC flag actually works.
7785#
7786if test -n "$lt_prog_compiler_pic"; then
7787  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7788$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7789if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
7790  $as_echo_n "(cached) " >&6
7791else
7792  lt_cv_prog_compiler_pic_works=no
7793   ac_outfile=conftest.$ac_objext
7794   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7795   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7796   # Insert the option either (1) after the last *FLAGS variable, or
7797   # (2) before a word containing "conftest.", or (3) at the end.
7798   # Note that $ac_compile itself does not contain backslashes and begins
7799   # with a dollar sign (not a hyphen), so the echo should work correctly.
7800   # The option is referenced via a variable to avoid confusing sed.
7801   lt_compile=`echo "$ac_compile" | $SED \
7802   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7803   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7804   -e 's:$: $lt_compiler_flag:'`
7805   (eval echo "\"\$as_me:7805: $lt_compile\"" >&5)
7806   (eval "$lt_compile" 2>conftest.err)
7807   ac_status=$?
7808   cat conftest.err >&5
7809   echo "$as_me:7809: \$? = $ac_status" >&5
7810   if (exit $ac_status) && test -s "$ac_outfile"; then
7811     # The compiler can only warn and ignore the option if not recognized
7812     # So say no if there are warnings other than the usual output.
7813     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7814     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7815     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7816       lt_cv_prog_compiler_pic_works=yes
7817     fi
7818   fi
7819   $RM conftest*
7820
7821fi
7822{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
7823$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7824
7825if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7826    case $lt_prog_compiler_pic in
7827     "" | " "*) ;;
7828     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7829     esac
7830else
7831    lt_prog_compiler_pic=
7832     lt_prog_compiler_can_build_shared=no
7833fi
7834
7835fi
7836
7837
7838
7839
7840
7841
7842#
7843# Check to make sure the static flag actually works.
7844#
7845wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7846{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7847$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7848if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
7849  $as_echo_n "(cached) " >&6
7850else
7851  lt_cv_prog_compiler_static_works=no
7852   save_LDFLAGS="$LDFLAGS"
7853   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7854   echo "$lt_simple_link_test_code" > conftest.$ac_ext
7855   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7856     # The linker can only warn and ignore the option if not recognized
7857     # So say no if there are warnings
7858     if test -s conftest.err; then
7859       # Append any errors to the config.log.
7860       cat conftest.err 1>&5
7861       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7862       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7863       if diff conftest.exp conftest.er2 >/dev/null; then
7864         lt_cv_prog_compiler_static_works=yes
7865       fi
7866     else
7867       lt_cv_prog_compiler_static_works=yes
7868     fi
7869   fi
7870   $RM -r conftest*
7871   LDFLAGS="$save_LDFLAGS"
7872
7873fi
7874{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
7875$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7876
7877if test x"$lt_cv_prog_compiler_static_works" = xyes; then
7878    :
7879else
7880    lt_prog_compiler_static=
7881fi
7882
7883
7884
7885
7886
7887
7888
7889  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7890$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7891if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7892  $as_echo_n "(cached) " >&6
7893else
7894  lt_cv_prog_compiler_c_o=no
7895   $RM -r conftest 2>/dev/null
7896   mkdir conftest
7897   cd conftest
7898   mkdir out
7899   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7900
7901   lt_compiler_flag="-o out/conftest2.$ac_objext"
7902   # Insert the option either (1) after the last *FLAGS variable, or
7903   # (2) before a word containing "conftest.", or (3) at the end.
7904   # Note that $ac_compile itself does not contain backslashes and begins
7905   # with a dollar sign (not a hyphen), so the echo should work correctly.
7906   lt_compile=`echo "$ac_compile" | $SED \
7907   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7908   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7909   -e 's:$: $lt_compiler_flag:'`
7910   (eval echo "\"\$as_me:7910: $lt_compile\"" >&5)
7911   (eval "$lt_compile" 2>out/conftest.err)
7912   ac_status=$?
7913   cat out/conftest.err >&5
7914   echo "$as_me:7914: \$? = $ac_status" >&5
7915   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7916   then
7917     # The compiler can only warn and ignore the option if not recognized
7918     # So say no if there are warnings
7919     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7920     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7921     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7922       lt_cv_prog_compiler_c_o=yes
7923     fi
7924   fi
7925   chmod u+w . 2>&5
7926   $RM conftest*
7927   # SGI C++ compiler will create directory out/ii_files/ for
7928   # template instantiation
7929   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7930   $RM out/* && rmdir out
7931   cd ..
7932   $RM -r conftest
7933   $RM conftest*
7934
7935fi
7936{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7937$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7938
7939
7940
7941
7942
7943
7944  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7945$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7946if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7947  $as_echo_n "(cached) " >&6
7948else
7949  lt_cv_prog_compiler_c_o=no
7950   $RM -r conftest 2>/dev/null
7951   mkdir conftest
7952   cd conftest
7953   mkdir out
7954   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7955
7956   lt_compiler_flag="-o out/conftest2.$ac_objext"
7957   # Insert the option either (1) after the last *FLAGS variable, or
7958   # (2) before a word containing "conftest.", or (3) at the end.
7959   # Note that $ac_compile itself does not contain backslashes and begins
7960   # with a dollar sign (not a hyphen), so the echo should work correctly.
7961   lt_compile=`echo "$ac_compile" | $SED \
7962   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7963   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7964   -e 's:$: $lt_compiler_flag:'`
7965   (eval echo "\"\$as_me:7965: $lt_compile\"" >&5)
7966   (eval "$lt_compile" 2>out/conftest.err)
7967   ac_status=$?
7968   cat out/conftest.err >&5
7969   echo "$as_me:7969: \$? = $ac_status" >&5
7970   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7971   then
7972     # The compiler can only warn and ignore the option if not recognized
7973     # So say no if there are warnings
7974     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7975     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7976     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7977       lt_cv_prog_compiler_c_o=yes
7978     fi
7979   fi
7980   chmod u+w . 2>&5
7981   $RM conftest*
7982   # SGI C++ compiler will create directory out/ii_files/ for
7983   # template instantiation
7984   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7985   $RM out/* && rmdir out
7986   cd ..
7987   $RM -r conftest
7988   $RM conftest*
7989
7990fi
7991{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7992$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7993
7994
7995
7996
7997hard_links="nottested"
7998if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7999  # do not overwrite the value of need_locks provided by the user
8000  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8001$as_echo_n "checking if we can lock with hard links... " >&6; }
8002  hard_links=yes
8003  $RM conftest*
8004  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8005  touch conftest.a
8006  ln conftest.a conftest.b 2>&5 || hard_links=no
8007  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8008  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8009$as_echo "$hard_links" >&6; }
8010  if test "$hard_links" = no; then
8011    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8012$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8013    need_locks=warn
8014  fi
8015else
8016  need_locks=no
8017fi
8018
8019
8020
8021
8022
8023
8024  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8025$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8026
8027  runpath_var=
8028  allow_undefined_flag=
8029  always_export_symbols=no
8030  archive_cmds=
8031  archive_expsym_cmds=
8032  compiler_needs_object=no
8033  enable_shared_with_static_runtimes=no
8034  export_dynamic_flag_spec=
8035  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8036  hardcode_automatic=no
8037  hardcode_direct=no
8038  hardcode_direct_absolute=no
8039  hardcode_libdir_flag_spec=
8040  hardcode_libdir_flag_spec_ld=
8041  hardcode_libdir_separator=
8042  hardcode_minus_L=no
8043  hardcode_shlibpath_var=unsupported
8044  inherit_rpath=no
8045  link_all_deplibs=unknown
8046  module_cmds=
8047  module_expsym_cmds=
8048  old_archive_from_new_cmds=
8049  old_archive_from_expsyms_cmds=
8050  thread_safe_flag_spec=
8051  whole_archive_flag_spec=
8052  # include_expsyms should be a list of space-separated symbols to be *always*
8053  # included in the symbol list
8054  include_expsyms=
8055  # exclude_expsyms can be an extended regexp of symbols to exclude
8056  # it will be wrapped by ` (' and `)$', so one must not match beginning or
8057  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8058  # as well as any symbol that contains `d'.
8059  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8060  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8061  # platforms (ab)use it in PIC code, but their linkers get confused if
8062  # the symbol is explicitly referenced.  Since portable code cannot
8063  # rely on this symbol name, it's probably fine to never include it in
8064  # preloaded symbol tables.
8065  # Exclude shared library initialization/finalization symbols.
8066  extract_expsyms_cmds=
8067
8068  case $host_os in
8069  cygwin* | mingw* | pw32* | cegcc*)
8070    # FIXME: the MSVC++ port hasn't been tested in a loooong time
8071    # When not using gcc, we currently assume that we are using
8072    # Microsoft Visual C++.
8073    if test "$GCC" != yes; then
8074      with_gnu_ld=no
8075    fi
8076    ;;
8077  interix*)
8078    # we just hope/assume this is gcc and not c89 (= MSVC++)
8079    with_gnu_ld=yes
8080    ;;
8081  openbsd*)
8082    with_gnu_ld=no
8083    ;;
8084  linux* | k*bsd*-gnu)
8085    link_all_deplibs=no
8086    ;;
8087  esac
8088
8089  ld_shlibs=yes
8090  if test "$with_gnu_ld" = yes; then
8091    # If archive_cmds runs LD, not CC, wlarc should be empty
8092    wlarc='${wl}'
8093
8094    # Set some defaults for GNU ld with shared library support. These
8095    # are reset later if shared libraries are not supported. Putting them
8096    # here allows them to be overridden if necessary.
8097    runpath_var=LD_RUN_PATH
8098    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8099    export_dynamic_flag_spec='${wl}--export-dynamic'
8100    # ancient GNU ld didn't support --whole-archive et. al.
8101    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8102      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8103    else
8104      whole_archive_flag_spec=
8105    fi
8106    supports_anon_versioning=no
8107    case `$LD -v 2>&1` in
8108      *GNU\ gold*) supports_anon_versioning=yes ;;
8109      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8110      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8111      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8112      *\ 2.11.*) ;; # other 2.11 versions
8113      *) supports_anon_versioning=yes ;;
8114    esac
8115
8116    # See if GNU ld supports shared libraries.
8117    case $host_os in
8118    aix[3-9]*)
8119      # On AIX/PPC, the GNU linker is very broken
8120      if test "$host_cpu" != ia64; then
8121	ld_shlibs=no
8122	cat <<_LT_EOF 1>&2
8123
8124*** Warning: the GNU linker, at least up to release 2.9.1, is reported
8125*** to be unable to reliably create shared libraries on AIX.
8126*** Therefore, libtool is disabling shared libraries support.  If you
8127*** really care for shared libraries, you may want to modify your PATH
8128*** so that a non-GNU linker is found, and then restart.
8129
8130_LT_EOF
8131      fi
8132      ;;
8133
8134    amigaos*)
8135      case $host_cpu in
8136      powerpc)
8137            # see comment about AmigaOS4 .so support
8138            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8139            archive_expsym_cmds=''
8140        ;;
8141      m68k)
8142            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)'
8143            hardcode_libdir_flag_spec='-L$libdir'
8144            hardcode_minus_L=yes
8145        ;;
8146      esac
8147      ;;
8148
8149    beos*)
8150      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8151	allow_undefined_flag=unsupported
8152	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8153	# support --undefined.  This deserves some investigation.  FIXME
8154	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8155      else
8156	ld_shlibs=no
8157      fi
8158      ;;
8159
8160    cygwin* | mingw* | pw32* | cegcc*)
8161      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8162      # as there is no search path for DLLs.
8163      hardcode_libdir_flag_spec='-L$libdir'
8164      allow_undefined_flag=unsupported
8165      always_export_symbols=no
8166      enable_shared_with_static_runtimes=yes
8167      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8168
8169      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8170        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8171	# If the export-symbols file already is a .def file (1st line
8172	# is EXPORTS), use it as is; otherwise, prepend...
8173	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8174	  cp $export_symbols $output_objdir/$soname.def;
8175	else
8176	  echo EXPORTS > $output_objdir/$soname.def;
8177	  cat $export_symbols >> $output_objdir/$soname.def;
8178	fi~
8179	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8180      else
8181	ld_shlibs=no
8182      fi
8183      ;;
8184
8185    interix[3-9]*)
8186      hardcode_direct=no
8187      hardcode_shlibpath_var=no
8188      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8189      export_dynamic_flag_spec='${wl}-E'
8190      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8191      # Instead, shared libraries are loaded at an image base (0x10000000 by
8192      # default) and relocated if they conflict, which is a slow very memory
8193      # consuming and fragmenting process.  To avoid this, we pick a random,
8194      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8195      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
8196      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8197      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'
8198      ;;
8199
8200    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8201      tmp_diet=no
8202      if test "$host_os" = linux-dietlibc; then
8203	case $cc_basename in
8204	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
8205	esac
8206      fi
8207      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8208	 && test "$tmp_diet" = no
8209      then
8210	tmp_addflag=
8211	tmp_sharedflag='-shared'
8212	case $cc_basename,$host_cpu in
8213        pgcc*)				# Portland Group C compiler
8214	  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'
8215	  tmp_addflag=' $pic_flag'
8216	  ;;
8217	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
8218	  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'
8219	  tmp_addflag=' $pic_flag -Mnomain' ;;
8220	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
8221	  tmp_addflag=' -i_dynamic' ;;
8222	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
8223	  tmp_addflag=' -i_dynamic -nofor_main' ;;
8224	ifc* | ifort*)			# Intel Fortran compiler
8225	  tmp_addflag=' -nofor_main' ;;
8226	lf95*)				# Lahey Fortran 8.1
8227	  whole_archive_flag_spec=
8228	  tmp_sharedflag='--shared' ;;
8229	xl[cC]*)			# IBM XL C 8.0 on PPC (deal with xlf below)
8230	  tmp_sharedflag='-qmkshrobj'
8231	  tmp_addflag= ;;
8232	esac
8233	case `$CC -V 2>&1 | sed 5q` in
8234	*Sun\ C*)			# Sun C 5.9
8235	  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'
8236	  compiler_needs_object=yes
8237	  tmp_sharedflag='-G' ;;
8238	*Sun\ F*)			# Sun Fortran 8.3
8239	  tmp_sharedflag='-G' ;;
8240	esac
8241	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8242
8243        if test "x$supports_anon_versioning" = xyes; then
8244          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8245	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8246	    echo "local: *; };" >> $output_objdir/$libname.ver~
8247	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8248        fi
8249
8250	case $cc_basename in
8251	xlf*)
8252	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8253	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8254	  hardcode_libdir_flag_spec=
8255	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
8256	  archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8257	  if test "x$supports_anon_versioning" = xyes; then
8258	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8259	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8260	      echo "local: *; };" >> $output_objdir/$libname.ver~
8261	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8262	  fi
8263	  ;;
8264	esac
8265      else
8266        ld_shlibs=no
8267      fi
8268      ;;
8269
8270    netbsd* | netbsdelf*-gnu)
8271      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8272	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8273	wlarc=
8274      else
8275	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8276	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8277      fi
8278      ;;
8279
8280    solaris*)
8281      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8282	ld_shlibs=no
8283	cat <<_LT_EOF 1>&2
8284
8285*** Warning: The releases 2.8.* of the GNU linker cannot reliably
8286*** create shared libraries on Solaris systems.  Therefore, libtool
8287*** is disabling shared libraries support.  We urge you to upgrade GNU
8288*** binutils to release 2.9.1 or newer.  Another option is to modify
8289*** your PATH or compiler configuration so that the native linker is
8290*** used, and then restart.
8291
8292_LT_EOF
8293      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8294	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8295	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8296      else
8297	ld_shlibs=no
8298      fi
8299      ;;
8300
8301    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8302      case `$LD -v 2>&1` in
8303        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8304	ld_shlibs=no
8305	cat <<_LT_EOF 1>&2
8306
8307*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8308*** reliably create shared libraries on SCO systems.  Therefore, libtool
8309*** is disabling shared libraries support.  We urge you to upgrade GNU
8310*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
8311*** your PATH or compiler configuration so that the native linker is
8312*** used, and then restart.
8313
8314_LT_EOF
8315	;;
8316	*)
8317	  # For security reasons, it is highly recommended that you always
8318	  # use absolute paths for naming shared libraries, and exclude the
8319	  # DT_RUNPATH tag from executables and libraries.  But doing so
8320	  # requires that you compile everything twice, which is a pain.
8321	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8322	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8323	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8324	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8325	  else
8326	    ld_shlibs=no
8327	  fi
8328	;;
8329      esac
8330      ;;
8331
8332    sunos4*)
8333      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8334      wlarc=
8335      hardcode_direct=yes
8336      hardcode_shlibpath_var=no
8337      ;;
8338
8339    *)
8340      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8341	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8342	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8343      else
8344	ld_shlibs=no
8345      fi
8346      ;;
8347    esac
8348
8349    if test "$ld_shlibs" = no; then
8350      runpath_var=
8351      hardcode_libdir_flag_spec=
8352      export_dynamic_flag_spec=
8353      whole_archive_flag_spec=
8354    fi
8355  else
8356    # PORTME fill in a description of your system's linker (not GNU ld)
8357    case $host_os in
8358    aix3*)
8359      allow_undefined_flag=unsupported
8360      always_export_symbols=yes
8361      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'
8362      # Note: this linker hardcodes the directories in LIBPATH if there
8363      # are no directories specified by -L.
8364      hardcode_minus_L=yes
8365      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8366	# Neither direct hardcoding nor static linking is supported with a
8367	# broken collect2.
8368	hardcode_direct=unsupported
8369      fi
8370      ;;
8371
8372    aix[4-9]*)
8373      if test "$host_cpu" = ia64; then
8374	# On IA64, the linker does run time linking by default, so we don't
8375	# have to do anything special.
8376	aix_use_runtimelinking=no
8377	exp_sym_flag='-Bexport'
8378	no_entry_flag=""
8379      else
8380	# If we're using GNU nm, then we don't want the "-C" option.
8381	# -C means demangle to AIX nm, but means don't demangle with GNU nm
8382	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8383	  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'
8384	else
8385	  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'
8386	fi
8387	aix_use_runtimelinking=no
8388
8389	# Test if we are trying to use run time linking or normal
8390	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
8391	# need to do runtime linking.
8392	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8393	  for ld_flag in $LDFLAGS; do
8394	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8395	    aix_use_runtimelinking=yes
8396	    break
8397	  fi
8398	  done
8399	  ;;
8400	esac
8401
8402	exp_sym_flag='-bexport'
8403	no_entry_flag='-bnoentry'
8404      fi
8405
8406      # When large executables or shared objects are built, AIX ld can
8407      # have problems creating the table of contents.  If linking a library
8408      # or program results in "error TOC overflow" add -mminimal-toc to
8409      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
8410      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8411
8412      archive_cmds=''
8413      hardcode_direct=yes
8414      hardcode_direct_absolute=yes
8415      hardcode_libdir_separator=':'
8416      link_all_deplibs=yes
8417      file_list_spec='${wl}-f,'
8418
8419      if test "$GCC" = yes; then
8420	case $host_os in aix4.[012]|aix4.[012].*)
8421	# We only want to do this on AIX 4.2 and lower, the check
8422	# below for broken collect2 doesn't work under 4.3+
8423	  collect2name=`${CC} -print-prog-name=collect2`
8424	  if test -f "$collect2name" &&
8425	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8426	  then
8427	  # We have reworked collect2
8428	  :
8429	  else
8430	  # We have old collect2
8431	  hardcode_direct=unsupported
8432	  # It fails to find uninstalled libraries when the uninstalled
8433	  # path is not listed in the libpath.  Setting hardcode_minus_L
8434	  # to unsupported forces relinking
8435	  hardcode_minus_L=yes
8436	  hardcode_libdir_flag_spec='-L$libdir'
8437	  hardcode_libdir_separator=
8438	  fi
8439	  ;;
8440	esac
8441	shared_flag='-shared'
8442	if test "$aix_use_runtimelinking" = yes; then
8443	  shared_flag="$shared_flag "'${wl}-G'
8444	fi
8445	link_all_deplibs=no
8446      else
8447	# not using gcc
8448	if test "$host_cpu" = ia64; then
8449	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8450	# chokes on -Wl,-G. The following line is correct:
8451	  shared_flag='-G'
8452	else
8453	  if test "$aix_use_runtimelinking" = yes; then
8454	    shared_flag='${wl}-G'
8455	  else
8456	    shared_flag='${wl}-bM:SRE'
8457	  fi
8458	fi
8459      fi
8460
8461      export_dynamic_flag_spec='${wl}-bexpall'
8462      # It seems that -bexpall does not export symbols beginning with
8463      # underscore (_), so it is better to generate a list of symbols to export.
8464      always_export_symbols=yes
8465      if test "$aix_use_runtimelinking" = yes; then
8466	# Warning - without using the other runtime loading flags (-brtl),
8467	# -berok will link without error, but may produce a broken library.
8468	allow_undefined_flag='-berok'
8469        # Determine the default libpath from the value encoded in an
8470        # empty executable.
8471        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8472/* end confdefs.h.  */
8473
8474int
8475main ()
8476{
8477
8478  ;
8479  return 0;
8480}
8481_ACEOF
8482if ac_fn_c_try_link "$LINENO"; then :
8483
8484lt_aix_libpath_sed='
8485    /Import File Strings/,/^$/ {
8486	/^0/ {
8487	    s/^0  *\(.*\)$/\1/
8488	    p
8489	}
8490    }'
8491aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8492# Check for a 64-bit object if we didn't find anything.
8493if test -z "$aix_libpath"; then
8494  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8495fi
8496fi
8497rm -f core conftest.err conftest.$ac_objext \
8498    conftest$ac_exeext conftest.$ac_ext
8499if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8500
8501        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8502        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"
8503      else
8504	if test "$host_cpu" = ia64; then
8505	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8506	  allow_undefined_flag="-z nodefs"
8507	  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"
8508	else
8509	 # Determine the default libpath from the value encoded in an
8510	 # empty executable.
8511	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8512/* end confdefs.h.  */
8513
8514int
8515main ()
8516{
8517
8518  ;
8519  return 0;
8520}
8521_ACEOF
8522if ac_fn_c_try_link "$LINENO"; then :
8523
8524lt_aix_libpath_sed='
8525    /Import File Strings/,/^$/ {
8526	/^0/ {
8527	    s/^0  *\(.*\)$/\1/
8528	    p
8529	}
8530    }'
8531aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8532# Check for a 64-bit object if we didn't find anything.
8533if test -z "$aix_libpath"; then
8534  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8535fi
8536fi
8537rm -f core conftest.err conftest.$ac_objext \
8538    conftest$ac_exeext conftest.$ac_ext
8539if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8540
8541	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8542	  # Warning - without using the other run time loading flags,
8543	  # -berok will link without error, but may produce a broken library.
8544	  no_undefined_flag=' ${wl}-bernotok'
8545	  allow_undefined_flag=' ${wl}-berok'
8546	  # Exported symbols can be pulled into shared objects from archives
8547	  whole_archive_flag_spec='$convenience'
8548	  archive_cmds_need_lc=yes
8549	  # This is similar to how AIX traditionally builds its shared libraries.
8550	  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'
8551	fi
8552      fi
8553      ;;
8554
8555    amigaos*)
8556      case $host_cpu in
8557      powerpc)
8558            # see comment about AmigaOS4 .so support
8559            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8560            archive_expsym_cmds=''
8561        ;;
8562      m68k)
8563            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)'
8564            hardcode_libdir_flag_spec='-L$libdir'
8565            hardcode_minus_L=yes
8566        ;;
8567      esac
8568      ;;
8569
8570    bsdi[45]*)
8571      export_dynamic_flag_spec=-rdynamic
8572      ;;
8573
8574    cygwin* | mingw* | pw32* | cegcc*)
8575      # When not using gcc, we currently assume that we are using
8576      # Microsoft Visual C++.
8577      # hardcode_libdir_flag_spec is actually meaningless, as there is
8578      # no search path for DLLs.
8579      hardcode_libdir_flag_spec=' '
8580      allow_undefined_flag=unsupported
8581      # Tell ltmain to make .lib files, not .a files.
8582      libext=lib
8583      # Tell ltmain to make .dll files, not .so files.
8584      shrext_cmds=".dll"
8585      # FIXME: Setting linknames here is a bad hack.
8586      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8587      # The linker will automatically build a .lib file if we build a DLL.
8588      old_archive_from_new_cmds='true'
8589      # FIXME: Should let the user specify the lib program.
8590      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8591      fix_srcfile_path='`cygpath -w "$srcfile"`'
8592      enable_shared_with_static_runtimes=yes
8593      ;;
8594
8595    darwin* | rhapsody*)
8596
8597
8598  archive_cmds_need_lc=no
8599  hardcode_direct=no
8600  hardcode_automatic=yes
8601  hardcode_shlibpath_var=unsupported
8602  whole_archive_flag_spec=''
8603  link_all_deplibs=yes
8604  allow_undefined_flag="$_lt_dar_allow_undefined"
8605  case $cc_basename in
8606     ifort*) _lt_dar_can_shared=yes ;;
8607     *) _lt_dar_can_shared=$GCC ;;
8608  esac
8609  if test "$_lt_dar_can_shared" = "yes"; then
8610    output_verbose_link_cmd=echo
8611    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8612    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8613    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}"
8614    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}"
8615
8616  else
8617  ld_shlibs=no
8618  fi
8619
8620      ;;
8621
8622    dgux*)
8623      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8624      hardcode_libdir_flag_spec='-L$libdir'
8625      hardcode_shlibpath_var=no
8626      ;;
8627
8628    freebsd1*)
8629      ld_shlibs=no
8630      ;;
8631
8632    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8633    # support.  Future versions do this automatically, but an explicit c++rt0.o
8634    # does not break anything, and helps significantly (at the cost of a little
8635    # extra space).
8636    freebsd2.2*)
8637      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8638      hardcode_libdir_flag_spec='-R$libdir'
8639      hardcode_direct=yes
8640      hardcode_shlibpath_var=no
8641      ;;
8642
8643    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8644    freebsd2*)
8645      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8646      hardcode_direct=yes
8647      hardcode_minus_L=yes
8648      hardcode_shlibpath_var=no
8649      ;;
8650
8651    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8652    freebsd* | dragonfly*)
8653      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8654      hardcode_libdir_flag_spec='-R$libdir'
8655      hardcode_direct=yes
8656      hardcode_shlibpath_var=no
8657      ;;
8658
8659    hpux9*)
8660      if test "$GCC" = yes; then
8661	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'
8662      else
8663	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'
8664      fi
8665      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8666      hardcode_libdir_separator=:
8667      hardcode_direct=yes
8668
8669      # hardcode_minus_L: Not really in the search PATH,
8670      # but as the default location of the library.
8671      hardcode_minus_L=yes
8672      export_dynamic_flag_spec='${wl}-E'
8673      ;;
8674
8675    hpux10*)
8676      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8677	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8678      else
8679	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8680      fi
8681      if test "$with_gnu_ld" = no; then
8682	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8683	hardcode_libdir_flag_spec_ld='+b $libdir'
8684	hardcode_libdir_separator=:
8685	hardcode_direct=yes
8686	hardcode_direct_absolute=yes
8687	export_dynamic_flag_spec='${wl}-E'
8688	# hardcode_minus_L: Not really in the search PATH,
8689	# but as the default location of the library.
8690	hardcode_minus_L=yes
8691      fi
8692      ;;
8693
8694    hpux11*)
8695      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8696	case $host_cpu in
8697	hppa*64*)
8698	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8699	  ;;
8700	ia64*)
8701	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8702	  ;;
8703	*)
8704	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8705	  ;;
8706	esac
8707      else
8708	case $host_cpu in
8709	hppa*64*)
8710	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8711	  ;;
8712	ia64*)
8713	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8714	  ;;
8715	*)
8716	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8717	  ;;
8718	esac
8719      fi
8720      if test "$with_gnu_ld" = no; then
8721	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8722	hardcode_libdir_separator=:
8723
8724	case $host_cpu in
8725	hppa*64*|ia64*)
8726	  hardcode_direct=no
8727	  hardcode_shlibpath_var=no
8728	  ;;
8729	*)
8730	  hardcode_direct=yes
8731	  hardcode_direct_absolute=yes
8732	  export_dynamic_flag_spec='${wl}-E'
8733
8734	  # hardcode_minus_L: Not really in the search PATH,
8735	  # but as the default location of the library.
8736	  hardcode_minus_L=yes
8737	  ;;
8738	esac
8739      fi
8740      ;;
8741
8742    irix5* | irix6* | nonstopux*)
8743      if test "$GCC" = yes; then
8744	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'
8745	# Try to use the -exported_symbol ld option, if it does not
8746	# work, assume that -exports_file does not work either and
8747	# implicitly export all symbols.
8748        save_LDFLAGS="$LDFLAGS"
8749        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8750        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8751/* end confdefs.h.  */
8752int foo(void) {}
8753_ACEOF
8754if ac_fn_c_try_link "$LINENO"; then :
8755  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'
8756
8757fi
8758rm -f core conftest.err conftest.$ac_objext \
8759    conftest$ac_exeext conftest.$ac_ext
8760        LDFLAGS="$save_LDFLAGS"
8761      else
8762	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'
8763	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'
8764      fi
8765      archive_cmds_need_lc='no'
8766      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8767      hardcode_libdir_separator=:
8768      inherit_rpath=yes
8769      link_all_deplibs=yes
8770      ;;
8771
8772    netbsd* | netbsdelf*-gnu)
8773      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8774	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
8775      else
8776	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
8777      fi
8778      hardcode_libdir_flag_spec='-R$libdir'
8779      hardcode_direct=yes
8780      hardcode_shlibpath_var=no
8781      ;;
8782
8783    newsos6)
8784      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8785      hardcode_direct=yes
8786      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8787      hardcode_libdir_separator=:
8788      hardcode_shlibpath_var=no
8789      ;;
8790
8791    *nto* | *qnx*)
8792      ;;
8793
8794    openbsd*)
8795      if test -f /usr/libexec/ld.so; then
8796	hardcode_direct=yes
8797	hardcode_shlibpath_var=no
8798	hardcode_direct_absolute=yes
8799	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8800	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8801	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8802	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8803	  export_dynamic_flag_spec='${wl}-E'
8804	else
8805	  case $host_os in
8806	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8807	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8808	     hardcode_libdir_flag_spec='-R$libdir'
8809	     ;;
8810	   *)
8811	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8812	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8813	     ;;
8814	  esac
8815	fi
8816      else
8817	ld_shlibs=no
8818      fi
8819      ;;
8820
8821    os2*)
8822      hardcode_libdir_flag_spec='-L$libdir'
8823      hardcode_minus_L=yes
8824      allow_undefined_flag=unsupported
8825      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'
8826      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8827      ;;
8828
8829    osf3*)
8830      if test "$GCC" = yes; then
8831	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8832	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'
8833      else
8834	allow_undefined_flag=' -expect_unresolved \*'
8835	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'
8836      fi
8837      archive_cmds_need_lc='no'
8838      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8839      hardcode_libdir_separator=:
8840      ;;
8841
8842    osf4* | osf5*)	# as osf3* with the addition of -msym flag
8843      if test "$GCC" = yes; then
8844	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8845	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'
8846	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8847      else
8848	allow_undefined_flag=' -expect_unresolved \*'
8849	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'
8850	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~
8851	$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'
8852
8853	# Both c and cxx compiler support -rpath directly
8854	hardcode_libdir_flag_spec='-rpath $libdir'
8855      fi
8856      archive_cmds_need_lc='no'
8857      hardcode_libdir_separator=:
8858      ;;
8859
8860    solaris*)
8861      no_undefined_flag=' -z defs'
8862      if test "$GCC" = yes; then
8863	wlarc='${wl}'
8864	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8865	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8866	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8867      else
8868	case `$CC -V 2>&1` in
8869	*"Compilers 5.0"*)
8870	  wlarc=''
8871	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8872	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8873	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8874	  ;;
8875	*)
8876	  wlarc='${wl}'
8877	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8878	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8879	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8880	  ;;
8881	esac
8882      fi
8883      hardcode_libdir_flag_spec='-R$libdir'
8884      hardcode_shlibpath_var=no
8885      case $host_os in
8886      solaris2.[0-5] | solaris2.[0-5].*) ;;
8887      *)
8888	# The compiler driver will combine and reorder linker options,
8889	# but understands `-z linker_flag'.  GCC discards it without `$wl',
8890	# but is careful enough not to reorder.
8891	# Supported since Solaris 2.6 (maybe 2.5.1?)
8892	if test "$GCC" = yes; then
8893	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8894	else
8895	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8896	fi
8897	;;
8898      esac
8899      link_all_deplibs=yes
8900      ;;
8901
8902    sunos4*)
8903      if test "x$host_vendor" = xsequent; then
8904	# Use $CC to link under sequent, because it throws in some extra .o
8905	# files that make .init and .fini sections work.
8906	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8907      else
8908	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8909      fi
8910      hardcode_libdir_flag_spec='-L$libdir'
8911      hardcode_direct=yes
8912      hardcode_minus_L=yes
8913      hardcode_shlibpath_var=no
8914      ;;
8915
8916    sysv4)
8917      case $host_vendor in
8918	sni)
8919	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8920	  hardcode_direct=yes # is this really true???
8921	;;
8922	siemens)
8923	  ## LD is ld it makes a PLAMLIB
8924	  ## CC just makes a GrossModule.
8925	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8926	  reload_cmds='$CC -r -o $output$reload_objs'
8927	  hardcode_direct=no
8928        ;;
8929	motorola)
8930	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8931	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8932	;;
8933      esac
8934      runpath_var='LD_RUN_PATH'
8935      hardcode_shlibpath_var=no
8936      ;;
8937
8938    sysv4.3*)
8939      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8940      hardcode_shlibpath_var=no
8941      export_dynamic_flag_spec='-Bexport'
8942      ;;
8943
8944    sysv4*MP*)
8945      if test -d /usr/nec; then
8946	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8947	hardcode_shlibpath_var=no
8948	runpath_var=LD_RUN_PATH
8949	hardcode_runpath_var=yes
8950	ld_shlibs=yes
8951      fi
8952      ;;
8953
8954    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8955      no_undefined_flag='${wl}-z,text'
8956      archive_cmds_need_lc=no
8957      hardcode_shlibpath_var=no
8958      runpath_var='LD_RUN_PATH'
8959
8960      if test "$GCC" = yes; then
8961	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8962	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8963      else
8964	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8965	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8966      fi
8967      ;;
8968
8969    sysv5* | sco3.2v5* | sco5v6*)
8970      # Note: We can NOT use -z defs as we might desire, because we do not
8971      # link with -lc, and that would cause any symbols used from libc to
8972      # always be unresolved, which means just about no library would
8973      # ever link correctly.  If we're not using GNU ld we use -z text
8974      # though, which does catch some bad symbols but isn't as heavy-handed
8975      # as -z defs.
8976      no_undefined_flag='${wl}-z,text'
8977      allow_undefined_flag='${wl}-z,nodefs'
8978      archive_cmds_need_lc=no
8979      hardcode_shlibpath_var=no
8980      hardcode_libdir_flag_spec='${wl}-R,$libdir'
8981      hardcode_libdir_separator=':'
8982      link_all_deplibs=yes
8983      export_dynamic_flag_spec='${wl}-Bexport'
8984      runpath_var='LD_RUN_PATH'
8985
8986      if test "$GCC" = yes; then
8987	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8988	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8989      else
8990	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8991	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8992      fi
8993      ;;
8994
8995    uts4*)
8996      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8997      hardcode_libdir_flag_spec='-L$libdir'
8998      hardcode_shlibpath_var=no
8999      ;;
9000
9001    *)
9002      ld_shlibs=no
9003      ;;
9004    esac
9005
9006    if test x$host_vendor = xsni; then
9007      case $host in
9008      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9009	export_dynamic_flag_spec='${wl}-Blargedynsym'
9010	;;
9011      esac
9012    fi
9013  fi
9014
9015{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9016$as_echo "$ld_shlibs" >&6; }
9017test "$ld_shlibs" = no && can_build_shared=no
9018
9019with_gnu_ld=$with_gnu_ld
9020
9021
9022
9023
9024
9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035#
9036# Do we need to explicitly link libc?
9037#
9038case "x$archive_cmds_need_lc" in
9039x|xyes)
9040  # Assume -lc should be added
9041  archive_cmds_need_lc=yes
9042
9043  if test "$enable_shared" = yes && test "$GCC" = yes; then
9044    case $archive_cmds in
9045    *'~'*)
9046      # FIXME: we may have to deal with multi-command sequences.
9047      ;;
9048    '$CC '*)
9049      # Test whether the compiler implicitly links with -lc since on some
9050      # systems, -lgcc has to come before -lc. If gcc already passes -lc
9051      # to ld, don't add -lc before -lgcc.
9052      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9053$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9054      $RM conftest*
9055      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9056
9057      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9058  (eval $ac_compile) 2>&5
9059  ac_status=$?
9060  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9061  test $ac_status = 0; } 2>conftest.err; then
9062        soname=conftest
9063        lib=conftest
9064        libobjs=conftest.$ac_objext
9065        deplibs=
9066        wl=$lt_prog_compiler_wl
9067	pic_flag=$lt_prog_compiler_pic
9068        compiler_flags=-v
9069        linker_flags=-v
9070        verstring=
9071        output_objdir=.
9072        libname=conftest
9073        lt_save_allow_undefined_flag=$allow_undefined_flag
9074        allow_undefined_flag=
9075        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9076  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9077  ac_status=$?
9078  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9079  test $ac_status = 0; }
9080        then
9081	  archive_cmds_need_lc=no
9082        else
9083	  archive_cmds_need_lc=yes
9084        fi
9085        allow_undefined_flag=$lt_save_allow_undefined_flag
9086      else
9087        cat conftest.err 1>&5
9088      fi
9089      $RM conftest*
9090      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9091$as_echo "$archive_cmds_need_lc" >&6; }
9092      ;;
9093    esac
9094  fi
9095  ;;
9096esac
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
9254  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9255$as_echo_n "checking dynamic linker characteristics... " >&6; }
9256
9257if test "$GCC" = yes; then
9258  case $host_os in
9259    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9260    *) lt_awk_arg="/^libraries:/" ;;
9261  esac
9262  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9263  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9264    # if the path contains ";" then we assume it to be the separator
9265    # otherwise default to the standard path separator (i.e. ":") - it is
9266    # assumed that no part of a normal pathname contains ";" but that should
9267    # okay in the real world where ";" in dirpaths is itself problematic.
9268    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9269  else
9270    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9271  fi
9272  # Ok, now we have the path, separated by spaces, we can step through it
9273  # and add multilib dir if necessary.
9274  lt_tmp_lt_search_path_spec=
9275  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9276  for lt_sys_path in $lt_search_path_spec; do
9277    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9278      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9279    else
9280      test -d "$lt_sys_path" && \
9281	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9282    fi
9283  done
9284  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9285BEGIN {RS=" "; FS="/|\n";} {
9286  lt_foo="";
9287  lt_count=0;
9288  for (lt_i = NF; lt_i > 0; lt_i--) {
9289    if ($lt_i != "" && $lt_i != ".") {
9290      if ($lt_i == "..") {
9291        lt_count++;
9292      } else {
9293        if (lt_count == 0) {
9294          lt_foo="/" $lt_i lt_foo;
9295        } else {
9296          lt_count--;
9297        }
9298      }
9299    }
9300  }
9301  if (lt_foo != "") { lt_freq[lt_foo]++; }
9302  if (lt_freq[lt_foo] == 1) { print lt_foo; }
9303}'`
9304  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9305else
9306  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9307fi
9308library_names_spec=
9309libname_spec='lib$name'
9310soname_spec=
9311shrext_cmds=".so"
9312postinstall_cmds=
9313postuninstall_cmds=
9314finish_cmds=
9315finish_eval=
9316shlibpath_var=
9317shlibpath_overrides_runpath=unknown
9318version_type=none
9319dynamic_linker="$host_os ld.so"
9320sys_lib_dlsearch_path_spec="/lib /usr/lib"
9321need_lib_prefix=unknown
9322hardcode_into_libs=no
9323
9324# when you set need_version to no, make sure it does not cause -set_version
9325# flags to be left without arguments
9326need_version=unknown
9327
9328case $host_os in
9329aix3*)
9330  version_type=linux
9331  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9332  shlibpath_var=LIBPATH
9333
9334  # AIX 3 has no versioning support, so we append a major version to the name.
9335  soname_spec='${libname}${release}${shared_ext}$major'
9336  ;;
9337
9338aix[4-9]*)
9339  version_type=linux
9340  need_lib_prefix=no
9341  need_version=no
9342  hardcode_into_libs=yes
9343  if test "$host_cpu" = ia64; then
9344    # AIX 5 supports IA64
9345    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9346    shlibpath_var=LD_LIBRARY_PATH
9347  else
9348    # With GCC up to 2.95.x, collect2 would create an import file
9349    # for dependence libraries.  The import file would start with
9350    # the line `#! .'.  This would cause the generated library to
9351    # depend on `.', always an invalid library.  This was fixed in
9352    # development snapshots of GCC prior to 3.0.
9353    case $host_os in
9354      aix4 | aix4.[01] | aix4.[01].*)
9355      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9356	   echo ' yes '
9357	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9358	:
9359      else
9360	can_build_shared=no
9361      fi
9362      ;;
9363    esac
9364    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9365    # soname into executable. Probably we can add versioning support to
9366    # collect2, so additional links can be useful in future.
9367    if test "$aix_use_runtimelinking" = yes; then
9368      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9369      # instead of lib<name>.a to let people know that these are not
9370      # typical AIX shared libraries.
9371      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9372    else
9373      # We preserve .a as extension for shared libraries through AIX4.2
9374      # and later when we are not doing run time linking.
9375      library_names_spec='${libname}${release}.a $libname.a'
9376      soname_spec='${libname}${release}${shared_ext}$major'
9377    fi
9378    shlibpath_var=LIBPATH
9379  fi
9380  ;;
9381
9382amigaos*)
9383  case $host_cpu in
9384  powerpc)
9385    # Since July 2007 AmigaOS4 officially supports .so libraries.
9386    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9387    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9388    ;;
9389  m68k)
9390    library_names_spec='$libname.ixlibrary $libname.a'
9391    # Create ${libname}_ixlibrary.a entries in /sys/libs.
9392    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'
9393    ;;
9394  esac
9395  ;;
9396
9397beos*)
9398  library_names_spec='${libname}${shared_ext}'
9399  dynamic_linker="$host_os ld.so"
9400  shlibpath_var=LIBRARY_PATH
9401  ;;
9402
9403bsdi[45]*)
9404  version_type=linux
9405  need_version=no
9406  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9407  soname_spec='${libname}${release}${shared_ext}$major'
9408  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9409  shlibpath_var=LD_LIBRARY_PATH
9410  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9411  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9412  # the default ld.so.conf also contains /usr/contrib/lib and
9413  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9414  # libtool to hard-code these into programs
9415  ;;
9416
9417cygwin* | mingw* | pw32* | cegcc*)
9418  version_type=windows
9419  shrext_cmds=".dll"
9420  need_version=no
9421  need_lib_prefix=no
9422
9423  case $GCC,$host_os in
9424  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9425    library_names_spec='$libname.dll.a'
9426    # DLL is installed to $(libdir)/../bin by postinstall_cmds
9427    postinstall_cmds='base_file=`basename \${file}`~
9428      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9429      dldir=$destdir/`dirname \$dlpath`~
9430      test -d \$dldir || mkdir -p \$dldir~
9431      $install_prog $dir/$dlname \$dldir/$dlname~
9432      chmod a+x \$dldir/$dlname~
9433      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9434        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9435      fi'
9436    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9437      dlpath=$dir/\$dldll~
9438       $RM \$dlpath'
9439    shlibpath_overrides_runpath=yes
9440
9441    case $host_os in
9442    cygwin*)
9443      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9444      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9445      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9446      ;;
9447    mingw* | cegcc*)
9448      # MinGW DLLs use traditional 'lib' prefix
9449      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9450      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9451      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9452        # It is most probably a Windows format PATH printed by
9453        # mingw gcc, but we are running on Cygwin. Gcc prints its search
9454        # path with ; separators, and with drive letters. We can handle the
9455        # drive letters (cygwin fileutils understands them), so leave them,
9456        # especially as we might pass files found there to a mingw objdump,
9457        # which wouldn't understand a cygwinified path. Ahh.
9458        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9459      else
9460        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9461      fi
9462      ;;
9463    pw32*)
9464      # pw32 DLLs use 'pw' prefix rather than 'lib'
9465      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9466      ;;
9467    esac
9468    ;;
9469
9470  *)
9471    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9472    ;;
9473  esac
9474  dynamic_linker='Win32 ld.exe'
9475  # FIXME: first we should search . and the directory the executable is in
9476  shlibpath_var=PATH
9477  ;;
9478
9479darwin* | rhapsody*)
9480  dynamic_linker="$host_os dyld"
9481  version_type=darwin
9482  need_lib_prefix=no
9483  need_version=no
9484  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9485  soname_spec='${libname}${release}${major}$shared_ext'
9486  shlibpath_overrides_runpath=yes
9487  shlibpath_var=DYLD_LIBRARY_PATH
9488  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9489
9490  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9491  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9492  ;;
9493
9494dgux*)
9495  version_type=linux
9496  need_lib_prefix=no
9497  need_version=no
9498  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9499  soname_spec='${libname}${release}${shared_ext}$major'
9500  shlibpath_var=LD_LIBRARY_PATH
9501  ;;
9502
9503freebsd1*)
9504  dynamic_linker=no
9505  ;;
9506
9507freebsd* | dragonfly*)
9508  # DragonFly does not have aout.  When/if they implement a new
9509  # versioning mechanism, adjust this.
9510  if test -x /usr/bin/objformat; then
9511    objformat=`/usr/bin/objformat`
9512  else
9513    case $host_os in
9514    freebsd[123]*) objformat=aout ;;
9515    *) objformat=elf ;;
9516    esac
9517  fi
9518  version_type=freebsd-$objformat
9519  case $version_type in
9520    freebsd-elf*)
9521      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9522      need_version=no
9523      need_lib_prefix=no
9524      ;;
9525    freebsd-*)
9526      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9527      need_version=yes
9528      ;;
9529  esac
9530  shlibpath_var=LD_LIBRARY_PATH
9531  case $host_os in
9532  freebsd2*)
9533    shlibpath_overrides_runpath=yes
9534    ;;
9535  freebsd3.[01]* | freebsdelf3.[01]*)
9536    shlibpath_overrides_runpath=yes
9537    hardcode_into_libs=yes
9538    ;;
9539  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9540  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9541    shlibpath_overrides_runpath=no
9542    hardcode_into_libs=yes
9543    ;;
9544  *) # from 4.6 on, and DragonFly
9545    shlibpath_overrides_runpath=yes
9546    hardcode_into_libs=yes
9547    ;;
9548  esac
9549  ;;
9550
9551gnu*)
9552  version_type=linux
9553  need_lib_prefix=no
9554  need_version=no
9555  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9556  soname_spec='${libname}${release}${shared_ext}$major'
9557  shlibpath_var=LD_LIBRARY_PATH
9558  hardcode_into_libs=yes
9559  ;;
9560
9561hpux9* | hpux10* | hpux11*)
9562  # Give a soname corresponding to the major version so that dld.sl refuses to
9563  # link against other versions.
9564  version_type=sunos
9565  need_lib_prefix=no
9566  need_version=no
9567  case $host_cpu in
9568  ia64*)
9569    shrext_cmds='.so'
9570    hardcode_into_libs=yes
9571    dynamic_linker="$host_os dld.so"
9572    shlibpath_var=LD_LIBRARY_PATH
9573    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9574    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9575    soname_spec='${libname}${release}${shared_ext}$major'
9576    if test "X$HPUX_IA64_MODE" = X32; then
9577      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9578    else
9579      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9580    fi
9581    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9582    ;;
9583  hppa*64*)
9584    shrext_cmds='.sl'
9585    hardcode_into_libs=yes
9586    dynamic_linker="$host_os dld.sl"
9587    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9588    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9589    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9590    soname_spec='${libname}${release}${shared_ext}$major'
9591    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9592    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9593    ;;
9594  *)
9595    shrext_cmds='.sl'
9596    dynamic_linker="$host_os dld.sl"
9597    shlibpath_var=SHLIB_PATH
9598    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9599    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9600    soname_spec='${libname}${release}${shared_ext}$major'
9601    ;;
9602  esac
9603  # HP-UX runs *really* slowly unless shared libraries are mode 555.
9604  postinstall_cmds='chmod 555 $lib'
9605  ;;
9606
9607interix[3-9]*)
9608  version_type=linux
9609  need_lib_prefix=no
9610  need_version=no
9611  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9612  soname_spec='${libname}${release}${shared_ext}$major'
9613  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9614  shlibpath_var=LD_LIBRARY_PATH
9615  shlibpath_overrides_runpath=no
9616  hardcode_into_libs=yes
9617  ;;
9618
9619irix5* | irix6* | nonstopux*)
9620  case $host_os in
9621    nonstopux*) version_type=nonstopux ;;
9622    *)
9623	if test "$lt_cv_prog_gnu_ld" = yes; then
9624		version_type=linux
9625	else
9626		version_type=irix
9627	fi ;;
9628  esac
9629  need_lib_prefix=no
9630  need_version=no
9631  soname_spec='${libname}${release}${shared_ext}$major'
9632  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9633  case $host_os in
9634  irix5* | nonstopux*)
9635    libsuff= shlibsuff=
9636    ;;
9637  *)
9638    case $LD in # libtool.m4 will add one of these switches to LD
9639    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9640      libsuff= shlibsuff= libmagic=32-bit;;
9641    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9642      libsuff=32 shlibsuff=N32 libmagic=N32;;
9643    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9644      libsuff=64 shlibsuff=64 libmagic=64-bit;;
9645    *) libsuff= shlibsuff= libmagic=never-match;;
9646    esac
9647    ;;
9648  esac
9649  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9650  shlibpath_overrides_runpath=no
9651  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9652  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9653  hardcode_into_libs=yes
9654  ;;
9655
9656# No shared lib support for Linux oldld, aout, or coff.
9657linux*oldld* | linux*aout* | linux*coff*)
9658  dynamic_linker=no
9659  ;;
9660
9661# This must be Linux ELF.
9662linux* | k*bsd*-gnu | kopensolaris*-gnu)
9663  version_type=linux
9664  need_lib_prefix=no
9665  need_version=no
9666  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9667  soname_spec='${libname}${release}${shared_ext}$major'
9668  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9669  shlibpath_var=LD_LIBRARY_PATH
9670  shlibpath_overrides_runpath=no
9671  # Some binutils ld are patched to set DT_RUNPATH
9672  save_LDFLAGS=$LDFLAGS
9673  save_libdir=$libdir
9674  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9675       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9676  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9677/* end confdefs.h.  */
9678
9679int
9680main ()
9681{
9682
9683  ;
9684  return 0;
9685}
9686_ACEOF
9687if ac_fn_c_try_link "$LINENO"; then :
9688  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
9689  shlibpath_overrides_runpath=yes
9690fi
9691fi
9692rm -f core conftest.err conftest.$ac_objext \
9693    conftest$ac_exeext conftest.$ac_ext
9694  LDFLAGS=$save_LDFLAGS
9695  libdir=$save_libdir
9696
9697  # This implies no fast_install, which is unacceptable.
9698  # Some rework will be needed to allow for fast_install
9699  # before this can be enabled.
9700  hardcode_into_libs=yes
9701
9702  # Append ld.so.conf contents to the search path
9703  if test -f /etc/ld.so.conf; then
9704    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' ' '`
9705    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9706  fi
9707
9708  # We used to test for /lib/ld.so.1 and disable shared libraries on
9709  # powerpc, because MkLinux only supported shared libraries with the
9710  # GNU dynamic linker.  Since this was broken with cross compilers,
9711  # most powerpc-linux boxes support dynamic linking these days and
9712  # people can always --disable-shared, the test was removed, and we
9713  # assume the GNU/Linux dynamic linker is in use.
9714  dynamic_linker='GNU/Linux ld.so'
9715  ;;
9716
9717netbsdelf*-gnu)
9718  version_type=linux
9719  need_lib_prefix=no
9720  need_version=no
9721  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9722  soname_spec='${libname}${release}${shared_ext}$major'
9723  shlibpath_var=LD_LIBRARY_PATH
9724  shlibpath_overrides_runpath=no
9725  hardcode_into_libs=yes
9726  dynamic_linker='NetBSD ld.elf_so'
9727  ;;
9728
9729netbsd*)
9730  version_type=sunos
9731  need_lib_prefix=no
9732  need_version=no
9733  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9734    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9735    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9736    dynamic_linker='NetBSD (a.out) ld.so'
9737  else
9738    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9739    soname_spec='${libname}${release}${shared_ext}$major'
9740    dynamic_linker='NetBSD ld.elf_so'
9741  fi
9742  shlibpath_var=LD_LIBRARY_PATH
9743  shlibpath_overrides_runpath=yes
9744  hardcode_into_libs=yes
9745  ;;
9746
9747newsos6)
9748  version_type=linux
9749  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9750  shlibpath_var=LD_LIBRARY_PATH
9751  shlibpath_overrides_runpath=yes
9752  ;;
9753
9754*nto* | *qnx*)
9755  version_type=qnx
9756  need_lib_prefix=no
9757  need_version=no
9758  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9759  soname_spec='${libname}${release}${shared_ext}$major'
9760  shlibpath_var=LD_LIBRARY_PATH
9761  shlibpath_overrides_runpath=no
9762  hardcode_into_libs=yes
9763  dynamic_linker='ldqnx.so'
9764  ;;
9765
9766openbsd*)
9767  version_type=sunos
9768  sys_lib_dlsearch_path_spec="/usr/lib"
9769  need_lib_prefix=no
9770  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9771  case $host_os in
9772    openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
9773    *)				need_version=no  ;;
9774  esac
9775  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9776  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9777  shlibpath_var=LD_LIBRARY_PATH
9778  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9779    case $host_os in
9780      openbsd2.[89] | openbsd2.[89].*)
9781	shlibpath_overrides_runpath=no
9782	;;
9783      *)
9784	shlibpath_overrides_runpath=yes
9785	;;
9786      esac
9787  else
9788    shlibpath_overrides_runpath=yes
9789  fi
9790  ;;
9791
9792os2*)
9793  libname_spec='$name'
9794  shrext_cmds=".dll"
9795  need_lib_prefix=no
9796  library_names_spec='$libname${shared_ext} $libname.a'
9797  dynamic_linker='OS/2 ld.exe'
9798  shlibpath_var=LIBPATH
9799  ;;
9800
9801osf3* | osf4* | osf5*)
9802  version_type=osf
9803  need_lib_prefix=no
9804  need_version=no
9805  soname_spec='${libname}${release}${shared_ext}$major'
9806  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9807  shlibpath_var=LD_LIBRARY_PATH
9808  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9809  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9810  ;;
9811
9812rdos*)
9813  dynamic_linker=no
9814  ;;
9815
9816solaris*)
9817  version_type=linux
9818  need_lib_prefix=no
9819  need_version=no
9820  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9821  soname_spec='${libname}${release}${shared_ext}$major'
9822  shlibpath_var=LD_LIBRARY_PATH
9823  shlibpath_overrides_runpath=yes
9824  hardcode_into_libs=yes
9825  # ldd complains unless libraries are executable
9826  postinstall_cmds='chmod +x $lib'
9827  ;;
9828
9829sunos4*)
9830  version_type=sunos
9831  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9832  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9833  shlibpath_var=LD_LIBRARY_PATH
9834  shlibpath_overrides_runpath=yes
9835  if test "$with_gnu_ld" = yes; then
9836    need_lib_prefix=no
9837  fi
9838  need_version=yes
9839  ;;
9840
9841sysv4 | sysv4.3*)
9842  version_type=linux
9843  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9844  soname_spec='${libname}${release}${shared_ext}$major'
9845  shlibpath_var=LD_LIBRARY_PATH
9846  case $host_vendor in
9847    sni)
9848      shlibpath_overrides_runpath=no
9849      need_lib_prefix=no
9850      runpath_var=LD_RUN_PATH
9851      ;;
9852    siemens)
9853      need_lib_prefix=no
9854      ;;
9855    motorola)
9856      need_lib_prefix=no
9857      need_version=no
9858      shlibpath_overrides_runpath=no
9859      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9860      ;;
9861  esac
9862  ;;
9863
9864sysv4*MP*)
9865  if test -d /usr/nec ;then
9866    version_type=linux
9867    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9868    soname_spec='$libname${shared_ext}.$major'
9869    shlibpath_var=LD_LIBRARY_PATH
9870  fi
9871  ;;
9872
9873sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9874  version_type=freebsd-elf
9875  need_lib_prefix=no
9876  need_version=no
9877  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9878  soname_spec='${libname}${release}${shared_ext}$major'
9879  shlibpath_var=LD_LIBRARY_PATH
9880  shlibpath_overrides_runpath=yes
9881  hardcode_into_libs=yes
9882  if test "$with_gnu_ld" = yes; then
9883    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9884  else
9885    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9886    case $host_os in
9887      sco3.2v5*)
9888        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9889	;;
9890    esac
9891  fi
9892  sys_lib_dlsearch_path_spec='/usr/lib'
9893  ;;
9894
9895tpf*)
9896  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
9897  version_type=linux
9898  need_lib_prefix=no
9899  need_version=no
9900  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9901  shlibpath_var=LD_LIBRARY_PATH
9902  shlibpath_overrides_runpath=no
9903  hardcode_into_libs=yes
9904  ;;
9905
9906uts4*)
9907  version_type=linux
9908  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9909  soname_spec='${libname}${release}${shared_ext}$major'
9910  shlibpath_var=LD_LIBRARY_PATH
9911  ;;
9912
9913*)
9914  dynamic_linker=no
9915  ;;
9916esac
9917{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
9918$as_echo "$dynamic_linker" >&6; }
9919test "$dynamic_linker" = no && can_build_shared=no
9920
9921variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9922if test "$GCC" = yes; then
9923  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9924fi
9925
9926if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9927  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
9928fi
9929if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9930  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
9931fi
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
10019  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10020$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10021hardcode_action=
10022if test -n "$hardcode_libdir_flag_spec" ||
10023   test -n "$runpath_var" ||
10024   test "X$hardcode_automatic" = "Xyes" ; then
10025
10026  # We can hardcode non-existent directories.
10027  if test "$hardcode_direct" != no &&
10028     # If the only mechanism to avoid hardcoding is shlibpath_var, we
10029     # have to relink, otherwise we might link with an installed library
10030     # when we should be linking with a yet-to-be-installed one
10031     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10032     test "$hardcode_minus_L" != no; then
10033    # Linking always hardcodes the temporary library directory.
10034    hardcode_action=relink
10035  else
10036    # We can link without hardcoding, and we can hardcode nonexisting dirs.
10037    hardcode_action=immediate
10038  fi
10039else
10040  # We cannot hardcode anything, or else we can only hardcode existing
10041  # directories.
10042  hardcode_action=unsupported
10043fi
10044{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10045$as_echo "$hardcode_action" >&6; }
10046
10047if test "$hardcode_action" = relink ||
10048   test "$inherit_rpath" = yes; then
10049  # Fast installation is not supported
10050  enable_fast_install=no
10051elif test "$shlibpath_overrides_runpath" = yes ||
10052     test "$enable_shared" = no; then
10053  # Fast installation is not necessary
10054  enable_fast_install=needless
10055fi
10056
10057
10058
10059
10060
10061
10062  if test "x$enable_dlopen" != xyes; then
10063  enable_dlopen=unknown
10064  enable_dlopen_self=unknown
10065  enable_dlopen_self_static=unknown
10066else
10067  lt_cv_dlopen=no
10068  lt_cv_dlopen_libs=
10069
10070  case $host_os in
10071  beos*)
10072    lt_cv_dlopen="load_add_on"
10073    lt_cv_dlopen_libs=
10074    lt_cv_dlopen_self=yes
10075    ;;
10076
10077  mingw* | pw32* | cegcc*)
10078    lt_cv_dlopen="LoadLibrary"
10079    lt_cv_dlopen_libs=
10080    ;;
10081
10082  cygwin*)
10083    lt_cv_dlopen="dlopen"
10084    lt_cv_dlopen_libs=
10085    ;;
10086
10087  darwin*)
10088  # if libdl is installed we need to link against it
10089    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10090$as_echo_n "checking for dlopen in -ldl... " >&6; }
10091if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10092  $as_echo_n "(cached) " >&6
10093else
10094  ac_check_lib_save_LIBS=$LIBS
10095LIBS="-ldl  $LIBS"
10096cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10097/* end confdefs.h.  */
10098
10099/* Override any GCC internal prototype to avoid an error.
10100   Use char because int might match the return type of a GCC
10101   builtin and then its argument prototype would still apply.  */
10102#ifdef __cplusplus
10103extern "C"
10104#endif
10105char dlopen ();
10106int
10107main ()
10108{
10109return dlopen ();
10110  ;
10111  return 0;
10112}
10113_ACEOF
10114if ac_fn_c_try_link "$LINENO"; then :
10115  ac_cv_lib_dl_dlopen=yes
10116else
10117  ac_cv_lib_dl_dlopen=no
10118fi
10119rm -f core conftest.err conftest.$ac_objext \
10120    conftest$ac_exeext conftest.$ac_ext
10121LIBS=$ac_check_lib_save_LIBS
10122fi
10123{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10124$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10125if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10126  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10127else
10128
10129    lt_cv_dlopen="dyld"
10130    lt_cv_dlopen_libs=
10131    lt_cv_dlopen_self=yes
10132
10133fi
10134
10135    ;;
10136
10137  *)
10138    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10139if test "x$ac_cv_func_shl_load" = x""yes; then :
10140  lt_cv_dlopen="shl_load"
10141else
10142  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10143$as_echo_n "checking for shl_load in -ldld... " >&6; }
10144if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10145  $as_echo_n "(cached) " >&6
10146else
10147  ac_check_lib_save_LIBS=$LIBS
10148LIBS="-ldld  $LIBS"
10149cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10150/* end confdefs.h.  */
10151
10152/* Override any GCC internal prototype to avoid an error.
10153   Use char because int might match the return type of a GCC
10154   builtin and then its argument prototype would still apply.  */
10155#ifdef __cplusplus
10156extern "C"
10157#endif
10158char shl_load ();
10159int
10160main ()
10161{
10162return shl_load ();
10163  ;
10164  return 0;
10165}
10166_ACEOF
10167if ac_fn_c_try_link "$LINENO"; then :
10168  ac_cv_lib_dld_shl_load=yes
10169else
10170  ac_cv_lib_dld_shl_load=no
10171fi
10172rm -f core conftest.err conftest.$ac_objext \
10173    conftest$ac_exeext conftest.$ac_ext
10174LIBS=$ac_check_lib_save_LIBS
10175fi
10176{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10177$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10178if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
10179  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10180else
10181  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10182if test "x$ac_cv_func_dlopen" = x""yes; then :
10183  lt_cv_dlopen="dlopen"
10184else
10185  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10186$as_echo_n "checking for dlopen in -ldl... " >&6; }
10187if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10188  $as_echo_n "(cached) " >&6
10189else
10190  ac_check_lib_save_LIBS=$LIBS
10191LIBS="-ldl  $LIBS"
10192cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10193/* end confdefs.h.  */
10194
10195/* Override any GCC internal prototype to avoid an error.
10196   Use char because int might match the return type of a GCC
10197   builtin and then its argument prototype would still apply.  */
10198#ifdef __cplusplus
10199extern "C"
10200#endif
10201char dlopen ();
10202int
10203main ()
10204{
10205return dlopen ();
10206  ;
10207  return 0;
10208}
10209_ACEOF
10210if ac_fn_c_try_link "$LINENO"; then :
10211  ac_cv_lib_dl_dlopen=yes
10212else
10213  ac_cv_lib_dl_dlopen=no
10214fi
10215rm -f core conftest.err conftest.$ac_objext \
10216    conftest$ac_exeext conftest.$ac_ext
10217LIBS=$ac_check_lib_save_LIBS
10218fi
10219{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10220$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10221if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10222  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10223else
10224  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10225$as_echo_n "checking for dlopen in -lsvld... " >&6; }
10226if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10227  $as_echo_n "(cached) " >&6
10228else
10229  ac_check_lib_save_LIBS=$LIBS
10230LIBS="-lsvld  $LIBS"
10231cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10232/* end confdefs.h.  */
10233
10234/* Override any GCC internal prototype to avoid an error.
10235   Use char because int might match the return type of a GCC
10236   builtin and then its argument prototype would still apply.  */
10237#ifdef __cplusplus
10238extern "C"
10239#endif
10240char dlopen ();
10241int
10242main ()
10243{
10244return dlopen ();
10245  ;
10246  return 0;
10247}
10248_ACEOF
10249if ac_fn_c_try_link "$LINENO"; then :
10250  ac_cv_lib_svld_dlopen=yes
10251else
10252  ac_cv_lib_svld_dlopen=no
10253fi
10254rm -f core conftest.err conftest.$ac_objext \
10255    conftest$ac_exeext conftest.$ac_ext
10256LIBS=$ac_check_lib_save_LIBS
10257fi
10258{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10259$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10260if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
10261  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10262else
10263  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10264$as_echo_n "checking for dld_link in -ldld... " >&6; }
10265if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10266  $as_echo_n "(cached) " >&6
10267else
10268  ac_check_lib_save_LIBS=$LIBS
10269LIBS="-ldld  $LIBS"
10270cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10271/* end confdefs.h.  */
10272
10273/* Override any GCC internal prototype to avoid an error.
10274   Use char because int might match the return type of a GCC
10275   builtin and then its argument prototype would still apply.  */
10276#ifdef __cplusplus
10277extern "C"
10278#endif
10279char dld_link ();
10280int
10281main ()
10282{
10283return dld_link ();
10284  ;
10285  return 0;
10286}
10287_ACEOF
10288if ac_fn_c_try_link "$LINENO"; then :
10289  ac_cv_lib_dld_dld_link=yes
10290else
10291  ac_cv_lib_dld_dld_link=no
10292fi
10293rm -f core conftest.err conftest.$ac_objext \
10294    conftest$ac_exeext conftest.$ac_ext
10295LIBS=$ac_check_lib_save_LIBS
10296fi
10297{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10298$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10299if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
10300  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10301fi
10302
10303
10304fi
10305
10306
10307fi
10308
10309
10310fi
10311
10312
10313fi
10314
10315
10316fi
10317
10318    ;;
10319  esac
10320
10321  if test "x$lt_cv_dlopen" != xno; then
10322    enable_dlopen=yes
10323  else
10324    enable_dlopen=no
10325  fi
10326
10327  case $lt_cv_dlopen in
10328  dlopen)
10329    save_CPPFLAGS="$CPPFLAGS"
10330    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10331
10332    save_LDFLAGS="$LDFLAGS"
10333    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10334
10335    save_LIBS="$LIBS"
10336    LIBS="$lt_cv_dlopen_libs $LIBS"
10337
10338    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10339$as_echo_n "checking whether a program can dlopen itself... " >&6; }
10340if test "${lt_cv_dlopen_self+set}" = set; then :
10341  $as_echo_n "(cached) " >&6
10342else
10343  	  if test "$cross_compiling" = yes; then :
10344  lt_cv_dlopen_self=cross
10345else
10346  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10347  lt_status=$lt_dlunknown
10348  cat > conftest.$ac_ext <<_LT_EOF
10349#line 10349 "configure"
10350#include "confdefs.h"
10351
10352#if HAVE_DLFCN_H
10353#include <dlfcn.h>
10354#endif
10355
10356#include <stdio.h>
10357
10358#ifdef RTLD_GLOBAL
10359#  define LT_DLGLOBAL		RTLD_GLOBAL
10360#else
10361#  ifdef DL_GLOBAL
10362#    define LT_DLGLOBAL		DL_GLOBAL
10363#  else
10364#    define LT_DLGLOBAL		0
10365#  endif
10366#endif
10367
10368/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10369   find out it does not work in some platform. */
10370#ifndef LT_DLLAZY_OR_NOW
10371#  ifdef RTLD_LAZY
10372#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
10373#  else
10374#    ifdef DL_LAZY
10375#      define LT_DLLAZY_OR_NOW		DL_LAZY
10376#    else
10377#      ifdef RTLD_NOW
10378#        define LT_DLLAZY_OR_NOW	RTLD_NOW
10379#      else
10380#        ifdef DL_NOW
10381#          define LT_DLLAZY_OR_NOW	DL_NOW
10382#        else
10383#          define LT_DLLAZY_OR_NOW	0
10384#        endif
10385#      endif
10386#    endif
10387#  endif
10388#endif
10389
10390void fnord() { int i=42;}
10391int main ()
10392{
10393  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10394  int status = $lt_dlunknown;
10395
10396  if (self)
10397    {
10398      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10399      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10400      /* dlclose (self); */
10401    }
10402  else
10403    puts (dlerror ());
10404
10405  return status;
10406}
10407_LT_EOF
10408  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10409  (eval $ac_link) 2>&5
10410  ac_status=$?
10411  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10412  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10413    (./conftest; exit; ) >&5 2>/dev/null
10414    lt_status=$?
10415    case x$lt_status in
10416      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10417      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10418      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10419    esac
10420  else :
10421    # compilation failed
10422    lt_cv_dlopen_self=no
10423  fi
10424fi
10425rm -fr conftest*
10426
10427
10428fi
10429{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10430$as_echo "$lt_cv_dlopen_self" >&6; }
10431
10432    if test "x$lt_cv_dlopen_self" = xyes; then
10433      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10434      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10435$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10436if test "${lt_cv_dlopen_self_static+set}" = set; then :
10437  $as_echo_n "(cached) " >&6
10438else
10439  	  if test "$cross_compiling" = yes; then :
10440  lt_cv_dlopen_self_static=cross
10441else
10442  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10443  lt_status=$lt_dlunknown
10444  cat > conftest.$ac_ext <<_LT_EOF
10445#line 10445 "configure"
10446#include "confdefs.h"
10447
10448#if HAVE_DLFCN_H
10449#include <dlfcn.h>
10450#endif
10451
10452#include <stdio.h>
10453
10454#ifdef RTLD_GLOBAL
10455#  define LT_DLGLOBAL		RTLD_GLOBAL
10456#else
10457#  ifdef DL_GLOBAL
10458#    define LT_DLGLOBAL		DL_GLOBAL
10459#  else
10460#    define LT_DLGLOBAL		0
10461#  endif
10462#endif
10463
10464/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10465   find out it does not work in some platform. */
10466#ifndef LT_DLLAZY_OR_NOW
10467#  ifdef RTLD_LAZY
10468#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
10469#  else
10470#    ifdef DL_LAZY
10471#      define LT_DLLAZY_OR_NOW		DL_LAZY
10472#    else
10473#      ifdef RTLD_NOW
10474#        define LT_DLLAZY_OR_NOW	RTLD_NOW
10475#      else
10476#        ifdef DL_NOW
10477#          define LT_DLLAZY_OR_NOW	DL_NOW
10478#        else
10479#          define LT_DLLAZY_OR_NOW	0
10480#        endif
10481#      endif
10482#    endif
10483#  endif
10484#endif
10485
10486void fnord() { int i=42;}
10487int main ()
10488{
10489  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10490  int status = $lt_dlunknown;
10491
10492  if (self)
10493    {
10494      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10495      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10496      /* dlclose (self); */
10497    }
10498  else
10499    puts (dlerror ());
10500
10501  return status;
10502}
10503_LT_EOF
10504  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10505  (eval $ac_link) 2>&5
10506  ac_status=$?
10507  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10508  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10509    (./conftest; exit; ) >&5 2>/dev/null
10510    lt_status=$?
10511    case x$lt_status in
10512      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10513      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10514      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10515    esac
10516  else :
10517    # compilation failed
10518    lt_cv_dlopen_self_static=no
10519  fi
10520fi
10521rm -fr conftest*
10522
10523
10524fi
10525{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10526$as_echo "$lt_cv_dlopen_self_static" >&6; }
10527    fi
10528
10529    CPPFLAGS="$save_CPPFLAGS"
10530    LDFLAGS="$save_LDFLAGS"
10531    LIBS="$save_LIBS"
10532    ;;
10533  esac
10534
10535  case $lt_cv_dlopen_self in
10536  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10537  *) enable_dlopen_self=unknown ;;
10538  esac
10539
10540  case $lt_cv_dlopen_self_static in
10541  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10542  *) enable_dlopen_self_static=unknown ;;
10543  esac
10544fi
10545
10546
10547
10548
10549
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562striplib=
10563old_striplib=
10564{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10565$as_echo_n "checking whether stripping libraries is possible... " >&6; }
10566if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10567  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10568  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10569  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10570$as_echo "yes" >&6; }
10571else
10572# FIXME - insert some real tests, host_os isn't really good enough
10573  case $host_os in
10574  darwin*)
10575    if test -n "$STRIP" ; then
10576      striplib="$STRIP -x"
10577      old_striplib="$STRIP -S"
10578      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10579$as_echo "yes" >&6; }
10580    else
10581      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10582$as_echo "no" >&6; }
10583    fi
10584    ;;
10585  *)
10586    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10587$as_echo "no" >&6; }
10588    ;;
10589  esac
10590fi
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603  # Report which library types will actually be built
10604  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
10605$as_echo_n "checking if libtool supports shared libraries... " >&6; }
10606  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
10607$as_echo "$can_build_shared" >&6; }
10608
10609  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
10610$as_echo_n "checking whether to build shared libraries... " >&6; }
10611  test "$can_build_shared" = "no" && enable_shared=no
10612
10613  # On AIX, shared libraries and static libraries use the same namespace, and
10614  # are all built from PIC.
10615  case $host_os in
10616  aix3*)
10617    test "$enable_shared" = yes && enable_static=no
10618    if test -n "$RANLIB"; then
10619      archive_cmds="$archive_cmds~\$RANLIB \$lib"
10620      postinstall_cmds='$RANLIB $lib'
10621    fi
10622    ;;
10623
10624  aix[4-9]*)
10625    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10626      test "$enable_shared" = yes && enable_static=no
10627    fi
10628    ;;
10629  esac
10630  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
10631$as_echo "$enable_shared" >&6; }
10632
10633  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
10634$as_echo_n "checking whether to build static libraries... " >&6; }
10635  # Make sure either enable_shared or enable_static is yes.
10636  test "$enable_shared" = yes || enable_static=yes
10637  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
10638$as_echo "$enable_static" >&6; }
10639
10640
10641
10642
10643fi
10644ac_ext=c
10645ac_cpp='$CPP $CPPFLAGS'
10646ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10647ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10648ac_compiler_gnu=$ac_cv_c_compiler_gnu
10649
10650CC="$lt_save_CC"
10651
10652
10653
10654
10655
10656
10657
10658
10659
10660
10661
10662
10663
10664        ac_config_commands="$ac_config_commands libtool"
10665
10666
10667
10668
10669# Only expand once:
10670
10671
10672enable_dlopen=yes
10673
10674
10675
10676
10677
10678# CFLAGS Can go away with its annoying default -g -O2
10679CFLAGS=''
10680
10681
10682# Pull in the platform specific build/configure environment options.
10683extra_incl=
10684case "$host" in
10685    *-openbsd*)
10686
10687$as_echo "#define C_BSD 1" >>confdefs.h
10688
10689        LDFLAGS="${LDFLAGS} -L/usr/local/lib -luuid"
10690        extra_incl="-I/usr/local/include"
10691        CPPFLAGS="${CPPFLAGS} -I/usr/local/include"
10692        platform="openbsd"
10693    ;;
10694    *-linux*)
10695
10696$as_echo "#define C_LINUX 1" >>confdefs.h
10697
10698        CDEFINE="-D_GNU_SOURCE"
10699        CPPFLAGS="${CPPFLAGS} -D_GNU_SOURCE"
10700        platform="linux"
10701    ;;
10702    *-freebsd*)
10703
10704$as_echo "#define C_BSD 1" >>confdefs.h
10705
10706        LDFLAGS="${LDFLAGS} -L/usr/local/lib -luuid"
10707        extra_incl="-I/usr/local/include"
10708        CPPFLAGS="${CPPFLAGS} -I/usr/local/include"
10709        platform="freebsd"
10710    ;;
10711    *-apple*)
10712
10713$as_echo "#define BROKEN_SIOCGIFMTU /**/" >>confdefs.h
10714
10715
10716$as_echo "#define C_BSD 1" >>confdefs.h
10717
10718        e2fs_uuid=yes
10719        if test -d "/sw"; then
10720            LDFLAGS="${LDFLAGS} -L/sw/lib"
10721            extra_incl="-I/sw/include"
10722	    CPPFLAGS="${CPPFLAGS} -I/sw/include"
10723        fi
10724        if test -d "/opt/local"; then
10725            LDFLAGS="${LDFLAGS} -L/opt/local/lib"
10726            extra_incl="-I/opt/local/include"
10727	    CPPFLAGS="${CPPFLAGS} -I/opt/local/include"
10728        fi
10729        LIBTOOL=glibtool
10730        LIBTOOLIZE=glibtoolize
10731        CDEFINE="-Ds6_addr32=__u6_addr.__u6_addr32"
10732        platform="apple"
10733esac
10734
10735 if test x$platform = xlinux; then
10736  PLATFORM_LINUX_TRUE=
10737  PLATFORM_LINUX_FALSE='#'
10738else
10739  PLATFORM_LINUX_TRUE='#'
10740  PLATFORM_LINUX_FALSE=
10741fi
10742
10743 if test x$platform = xfreebsd; then
10744  PLATFORM_FREEBSD_TRUE=
10745  PLATFORM_FREEBSD_FALSE='#'
10746else
10747  PLATFORM_FREEBSD_TRUE='#'
10748  PLATFORM_FREEBSD_FALSE=
10749fi
10750
10751
10752
10753# Pull in the standard options for all components
10754# Check whether --enable-debug was given.
10755if test "${enable_debug+set}" = set; then :
10756  enableval=$enable_debug; enable_debug=$enableval
10757else
10758  enable_debug="no"
10759fi
10760
10761if test "x$enable_debug" = "xyes"; then
10762
10763$as_echo "#define DEBUG 1" >>confdefs.h
10764
10765fi
10766# Check whether --enable-assert was given.
10767if test "${enable_assert+set}" = set; then :
10768  enableval=$enable_assert; enable_assert=$enableval
10769else
10770  enable_assert="no"
10771fi
10772
10773if test "x$enable_assert" = "xyes"; then
10774
10775$as_echo "#define ENABLE_ASSERT 1" >>confdefs.h
10776
10777fi
10778
10779# Check whether --enable-unimplemented was given.
10780if test "${enable_unimplemented+set}" = set; then :
10781  enableval=$enable_unimplemented; enable_unimplemented=$enableval
10782else
10783  enable_unimplemented="no"
10784fi
10785
10786if test "x$enable_unimplemented" = "xyes"; then
10787
10788$as_echo "#define ENABLE_UNIMPLEMENTED_ASSERT 1" >>confdefs.h
10789
10790fi
10791
10792
10793INLINE=''
10794# Check whether --enable-inline was given.
10795if test "${enable_inline+set}" = set; then :
10796  enableval=$enable_inline; enable_inline=$enableval
10797else
10798  enable_inline="yes"
10799fi
10800
10801if test "x$enable_inline" = "xyes"; then
10802    INLINE="inline"
10803fi
10804
10805cat >>confdefs.h <<_ACEOF
10806#define INLINE $INLINE
10807_ACEOF
10808
10809
10810# Check whether --enable-perf was given.
10811if test "${enable_perf+set}" = set; then :
10812  enableval=$enable_perf; enable_perf=$enableval
10813else
10814  enable_perf="yes"
10815fi
10816
10817if test "x$enable_perf" = "xyes"; then
10818
10819$as_echo "#define RZB_PERF 1" >>confdefs.h
10820
10821fi
10822
10823# Check whether --enable-profile was given.
10824if test "${enable_profile+set}" = set; then :
10825  enableval=$enable_profile; enable_profile=$enableval
10826else
10827  enable_profile="no"
10828fi
10829
10830if test "x$enable_profile" = "xyes"; then
10831
10832$as_echo "#define PROFILE 1" >>confdefs.h
10833
10834    PROFILE_LDFLAGS="-XCClinker -pg"
10835fi
10836
10837
10838
10839
10840# Check whether --with-with_api was given.
10841if test "${with_with_api+set}" = set; then :
10842  withval=$with_with_api; with_api=$withval
10843fi
10844
10845
10846# Check whether --enable-master-nugget-check was given.
10847if test "${enable_master_nugget_check+set}" = set; then :
10848  enableval=$enable_master_nugget_check; enable_master_nugget_check=$enableval
10849else
10850  enable_master_nugget_check="yes"
10851fi
10852
10853
10854
10855
10856# Pull in the library requirements for a simple .so loadable nugget.
10857# This filw provides the basic autoconf macros for creating a simple .so loadable nugget for use behind master_nugget.
10858
10859# Setup the sysconfdir for all consumers.
10860
10861
10862
10863
10864## Expand ${prefix} in sysconfdir if its the default value.
10865
10866
10867  EXP_VAR=SYSCONFDIR
10868  FROM_VAR="$sysconfdir/razorback"
10869
10870    prefix_save=$prefix
10871  exec_prefix_save=$exec_prefix
10872
10873    if test "x$prefix" = "xNONE"; then
10874    prefix=$ac_default_prefix
10875  fi
10876    if test "x$exec_prefix" = "xNONE"; then
10877    exec_prefix=$prefix
10878  fi
10879
10880  full_var="$FROM_VAR"
10881    while true; do
10882    new_full_var="`eval echo $full_var`"
10883    if test "x$new_full_var"="x$full_var"; then break; fi
10884    full_var=$new_full_var
10885  done
10886
10887    full_var=$new_full_var
10888  SYSCONFDIR="$full_var"
10889
10890
10891    prefix=$prefix_save
10892  exec_prefix=$exec_prefix_save
10893
10894sysconfdir=$SYSCONFDIR
10895
10896
10897  EXP_VAR=LIBEXECDIR
10898  FROM_VAR="$libexecdir/razorback/$PACKAGE_NAME"
10899
10900    prefix_save=$prefix
10901  exec_prefix_save=$exec_prefix
10902
10903    if test "x$prefix" = "xNONE"; then
10904    prefix=$ac_default_prefix
10905  fi
10906    if test "x$exec_prefix" = "xNONE"; then
10907    exec_prefix=$prefix
10908  fi
10909
10910  full_var="$FROM_VAR"
10911    while true; do
10912    new_full_var="`eval echo $full_var`"
10913    if test "x$new_full_var"="x$full_var"; then break; fi
10914    full_var=$new_full_var
10915  done
10916
10917    full_var=$new_full_var
10918  LIBEXECDIR="$full_var"
10919
10920
10921    prefix=$prefix_save
10922  exec_prefix=$exec_prefix_save
10923
10924libexecdir=$LIBEXECDIR
10925
10926
10927cat >>confdefs.h <<_ACEOF
10928#define ETC_DIR "$SYSCONFDIR"
10929_ACEOF
10930
10931
10932
10933cat >>confdefs.h <<_ACEOF
10934#define DEFAULT_CONFIG_FILE "$SYSCONFDIR/rzb.conf"
10935_ACEOF
10936
10937
10938
10939{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for timer_create in -lrt" >&5
10940$as_echo_n "checking for timer_create in -lrt... " >&6; }
10941if test "${ac_cv_lib_rt_timer_create+set}" = set; then :
10942  $as_echo_n "(cached) " >&6
10943else
10944  ac_check_lib_save_LIBS=$LIBS
10945LIBS="-lrt  $LIBS"
10946cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10947/* end confdefs.h.  */
10948
10949/* Override any GCC internal prototype to avoid an error.
10950   Use char because int might match the return type of a GCC
10951   builtin and then its argument prototype would still apply.  */
10952#ifdef __cplusplus
10953extern "C"
10954#endif
10955char timer_create ();
10956int
10957main ()
10958{
10959return timer_create ();
10960  ;
10961  return 0;
10962}
10963_ACEOF
10964if ac_fn_c_try_link "$LINENO"; then :
10965  ac_cv_lib_rt_timer_create=yes
10966else
10967  ac_cv_lib_rt_timer_create=no
10968fi
10969rm -f core conftest.err conftest.$ac_objext \
10970    conftest$ac_exeext conftest.$ac_ext
10971LIBS=$ac_check_lib_save_LIBS
10972fi
10973{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_timer_create" >&5
10974$as_echo "$ac_cv_lib_rt_timer_create" >&6; }
10975if test "x$ac_cv_lib_rt_timer_create" = x""yes; then :
10976  cat >>confdefs.h <<_ACEOF
10977#define HAVE_LIBRT 1
10978_ACEOF
10979
10980  LIBS="-lrt $LIBS"
10981
10982fi
10983
10984{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor in -lm" >&5
10985$as_echo_n "checking for floor in -lm... " >&6; }
10986if test "${ac_cv_lib_m_floor+set}" = set; then :
10987  $as_echo_n "(cached) " >&6
10988else
10989  ac_check_lib_save_LIBS=$LIBS
10990LIBS="-lm  $LIBS"
10991cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10992/* end confdefs.h.  */
10993
10994/* Override any GCC internal prototype to avoid an error.
10995   Use char because int might match the return type of a GCC
10996   builtin and then its argument prototype would still apply.  */
10997#ifdef __cplusplus
10998extern "C"
10999#endif
11000char floor ();
11001int
11002main ()
11003{
11004return floor ();
11005  ;
11006  return 0;
11007}
11008_ACEOF
11009if ac_fn_c_try_link "$LINENO"; then :
11010  ac_cv_lib_m_floor=yes
11011else
11012  ac_cv_lib_m_floor=no
11013fi
11014rm -f core conftest.err conftest.$ac_objext \
11015    conftest$ac_exeext conftest.$ac_ext
11016LIBS=$ac_check_lib_save_LIBS
11017fi
11018{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floor" >&5
11019$as_echo "$ac_cv_lib_m_floor" >&6; }
11020if test "x$ac_cv_lib_m_floor" = x""yes; then :
11021  cat >>confdefs.h <<_ACEOF
11022#define HAVE_LIBM 1
11023_ACEOF
11024
11025  LIBS="-lm $LIBS"
11026
11027fi
11028
11029{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
11030$as_echo_n "checking for pthread_create in -lpthread... " >&6; }
11031if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then :
11032  $as_echo_n "(cached) " >&6
11033else
11034  ac_check_lib_save_LIBS=$LIBS
11035LIBS="-lpthread  $LIBS"
11036cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11037/* end confdefs.h.  */
11038
11039/* Override any GCC internal prototype to avoid an error.
11040   Use char because int might match the return type of a GCC
11041   builtin and then its argument prototype would still apply.  */
11042#ifdef __cplusplus
11043extern "C"
11044#endif
11045char pthread_create ();
11046int
11047main ()
11048{
11049return pthread_create ();
11050  ;
11051  return 0;
11052}
11053_ACEOF
11054if ac_fn_c_try_link "$LINENO"; then :
11055  ac_cv_lib_pthread_pthread_create=yes
11056else
11057  ac_cv_lib_pthread_pthread_create=no
11058fi
11059rm -f core conftest.err conftest.$ac_objext \
11060    conftest$ac_exeext conftest.$ac_ext
11061LIBS=$ac_check_lib_save_LIBS
11062fi
11063{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
11064$as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
11065if test "x$ac_cv_lib_pthread_pthread_create" = x""yes; then :
11066  cat >>confdefs.h <<_ACEOF
11067#define HAVE_LIBPTHREAD 1
11068_ACEOF
11069
11070  LIBS="-lpthread $LIBS"
11071
11072fi
11073
11074{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_DigestInit in -lcrypto" >&5
11075$as_echo_n "checking for EVP_DigestInit in -lcrypto... " >&6; }
11076if test "${ac_cv_lib_crypto_EVP_DigestInit+set}" = set; then :
11077  $as_echo_n "(cached) " >&6
11078else
11079  ac_check_lib_save_LIBS=$LIBS
11080LIBS="-lcrypto  $LIBS"
11081cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11082/* end confdefs.h.  */
11083
11084/* Override any GCC internal prototype to avoid an error.
11085   Use char because int might match the return type of a GCC
11086   builtin and then its argument prototype would still apply.  */
11087#ifdef __cplusplus
11088extern "C"
11089#endif
11090char EVP_DigestInit ();
11091int
11092main ()
11093{
11094return EVP_DigestInit ();
11095  ;
11096  return 0;
11097}
11098_ACEOF
11099if ac_fn_c_try_link "$LINENO"; then :
11100  ac_cv_lib_crypto_EVP_DigestInit=yes
11101else
11102  ac_cv_lib_crypto_EVP_DigestInit=no
11103fi
11104rm -f core conftest.err conftest.$ac_objext \
11105    conftest$ac_exeext conftest.$ac_ext
11106LIBS=$ac_check_lib_save_LIBS
11107fi
11108{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_DigestInit" >&5
11109$as_echo "$ac_cv_lib_crypto_EVP_DigestInit" >&6; }
11110if test "x$ac_cv_lib_crypto_EVP_DigestInit" = x""yes; then :
11111  cat >>confdefs.h <<_ACEOF
11112#define HAVE_LIBCRYPTO 1
11113_ACEOF
11114
11115  LIBS="-lcrypto $LIBS"
11116
11117fi
11118
11119{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_write in -lssl" >&5
11120$as_echo_n "checking for SSL_write in -lssl... " >&6; }
11121if test "${ac_cv_lib_ssl_SSL_write+set}" = set; then :
11122  $as_echo_n "(cached) " >&6
11123else
11124  ac_check_lib_save_LIBS=$LIBS
11125LIBS="-lssl  $LIBS"
11126cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11127/* end confdefs.h.  */
11128
11129/* Override any GCC internal prototype to avoid an error.
11130   Use char because int might match the return type of a GCC
11131   builtin and then its argument prototype would still apply.  */
11132#ifdef __cplusplus
11133extern "C"
11134#endif
11135char SSL_write ();
11136int
11137main ()
11138{
11139return SSL_write ();
11140  ;
11141  return 0;
11142}
11143_ACEOF
11144if ac_fn_c_try_link "$LINENO"; then :
11145  ac_cv_lib_ssl_SSL_write=yes
11146else
11147  ac_cv_lib_ssl_SSL_write=no
11148fi
11149rm -f core conftest.err conftest.$ac_objext \
11150    conftest$ac_exeext conftest.$ac_ext
11151LIBS=$ac_check_lib_save_LIBS
11152fi
11153{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_write" >&5
11154$as_echo "$ac_cv_lib_ssl_SSL_write" >&6; }
11155if test "x$ac_cv_lib_ssl_SSL_write" = x""yes; then :
11156  cat >>confdefs.h <<_ACEOF
11157#define HAVE_LIBSSL 1
11158_ACEOF
11159
11160  LIBS="-lssl $LIBS"
11161
11162fi
11163
11164{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for magic_open in -lmagic" >&5
11165$as_echo_n "checking for magic_open in -lmagic... " >&6; }
11166if test "${ac_cv_lib_magic_magic_open+set}" = set; then :
11167  $as_echo_n "(cached) " >&6
11168else
11169  ac_check_lib_save_LIBS=$LIBS
11170LIBS="-lmagic  $LIBS"
11171cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11172/* end confdefs.h.  */
11173
11174/* Override any GCC internal prototype to avoid an error.
11175   Use char because int might match the return type of a GCC
11176   builtin and then its argument prototype would still apply.  */
11177#ifdef __cplusplus
11178extern "C"
11179#endif
11180char magic_open ();
11181int
11182main ()
11183{
11184return magic_open ();
11185  ;
11186  return 0;
11187}
11188_ACEOF
11189if ac_fn_c_try_link "$LINENO"; then :
11190  ac_cv_lib_magic_magic_open=yes
11191else
11192  ac_cv_lib_magic_magic_open=no
11193fi
11194rm -f core conftest.err conftest.$ac_objext \
11195    conftest$ac_exeext conftest.$ac_ext
11196LIBS=$ac_check_lib_save_LIBS
11197fi
11198{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_magic_magic_open" >&5
11199$as_echo "$ac_cv_lib_magic_magic_open" >&6; }
11200if test "x$ac_cv_lib_magic_magic_open" = x""yes; then :
11201  cat >>confdefs.h <<_ACEOF
11202#define HAVE_LIBMAGIC 1
11203_ACEOF
11204
11205  LIBS="-lmagic $LIBS"
11206
11207fi
11208
11209{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11210$as_echo_n "checking for dlopen in -ldl... " >&6; }
11211if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11212  $as_echo_n "(cached) " >&6
11213else
11214  ac_check_lib_save_LIBS=$LIBS
11215LIBS="-ldl  $LIBS"
11216cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11217/* end confdefs.h.  */
11218
11219/* Override any GCC internal prototype to avoid an error.
11220   Use char because int might match the return type of a GCC
11221   builtin and then its argument prototype would still apply.  */
11222#ifdef __cplusplus
11223extern "C"
11224#endif
11225char dlopen ();
11226int
11227main ()
11228{
11229return dlopen ();
11230  ;
11231  return 0;
11232}
11233_ACEOF
11234if ac_fn_c_try_link "$LINENO"; then :
11235  ac_cv_lib_dl_dlopen=yes
11236else
11237  ac_cv_lib_dl_dlopen=no
11238fi
11239rm -f core conftest.err conftest.$ac_objext \
11240    conftest$ac_exeext conftest.$ac_ext
11241LIBS=$ac_check_lib_save_LIBS
11242fi
11243{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11244$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11245if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11246  cat >>confdefs.h <<_ACEOF
11247#define HAVE_LIBDL 1
11248_ACEOF
11249
11250  LIBS="-ldl $LIBS"
11251
11252fi
11253
11254{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcre_compile in -lpcre" >&5
11255$as_echo_n "checking for pcre_compile in -lpcre... " >&6; }
11256if test "${ac_cv_lib_pcre_pcre_compile+set}" = set; then :
11257  $as_echo_n "(cached) " >&6
11258else
11259  ac_check_lib_save_LIBS=$LIBS
11260LIBS="-lpcre  $LIBS"
11261cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11262/* end confdefs.h.  */
11263
11264/* Override any GCC internal prototype to avoid an error.
11265   Use char because int might match the return type of a GCC
11266   builtin and then its argument prototype would still apply.  */
11267#ifdef __cplusplus
11268extern "C"
11269#endif
11270char pcre_compile ();
11271int
11272main ()
11273{
11274return pcre_compile ();
11275  ;
11276  return 0;
11277}
11278_ACEOF
11279if ac_fn_c_try_link "$LINENO"; then :
11280  ac_cv_lib_pcre_pcre_compile=yes
11281else
11282  ac_cv_lib_pcre_pcre_compile=no
11283fi
11284rm -f core conftest.err conftest.$ac_objext \
11285    conftest$ac_exeext conftest.$ac_ext
11286LIBS=$ac_check_lib_save_LIBS
11287fi
11288{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcre_pcre_compile" >&5
11289$as_echo "$ac_cv_lib_pcre_pcre_compile" >&6; }
11290if test "x$ac_cv_lib_pcre_pcre_compile" = x""yes; then :
11291  cat >>confdefs.h <<_ACEOF
11292#define HAVE_LIBPCRE 1
11293_ACEOF
11294
11295  LIBS="-lpcre $LIBS"
11296
11297fi
11298
11299
11300{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_copy in -luuid" >&5
11301$as_echo_n "checking for uuid_copy in -luuid... " >&6; }
11302if test "${ac_cv_lib_uuid_uuid_copy+set}" = set; then :
11303  $as_echo_n "(cached) " >&6
11304else
11305  ac_check_lib_save_LIBS=$LIBS
11306LIBS="-luuid  $LIBS"
11307cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11308/* end confdefs.h.  */
11309
11310/* Override any GCC internal prototype to avoid an error.
11311   Use char because int might match the return type of a GCC
11312   builtin and then its argument prototype would still apply.  */
11313#ifdef __cplusplus
11314extern "C"
11315#endif
11316char uuid_copy ();
11317int
11318main ()
11319{
11320return uuid_copy ();
11321  ;
11322  return 0;
11323}
11324_ACEOF
11325if ac_fn_c_try_link "$LINENO"; then :
11326  ac_cv_lib_uuid_uuid_copy=yes
11327else
11328  ac_cv_lib_uuid_uuid_copy=no
11329fi
11330rm -f core conftest.err conftest.$ac_objext \
11331    conftest$ac_exeext conftest.$ac_ext
11332LIBS=$ac_check_lib_save_LIBS
11333fi
11334{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_copy" >&5
11335$as_echo "$ac_cv_lib_uuid_uuid_copy" >&6; }
11336if test "x$ac_cv_lib_uuid_uuid_copy" = x""yes; then :
11337  cat >>confdefs.h <<_ACEOF
11338#define HAVE_LIBUUID 1
11339_ACEOF
11340
11341  LIBS="-luuid $LIBS"
11342
11343else
11344  UUID="no"
11345fi
11346
11347if test "x$UUID" = "xno"; then :
11348  as_fn_error $? "\"uuid library not found\"" "$LINENO" 5
11349
11350fi
11351
11352#AC_CHECK_LIB([curl], [curl_easy_perform], [
11353#    CURL_CFLAGS=`curl-config --cflags`
11354#    CURL_LIBS=`curl-config --libs`
11355#    CFLAGS="$CFLAGS $CURL_CFLAGS"
11356#    LIBS="$CURL_LIBS $LIBS"
11357#], [CURL="no"])
11358#AS_IF([test "x$CURL" = "xno"],
11359#          [AC_MSG_ERROR("curl library not found")]
11360#     )
11361
11362for ac_header in uuid/uuid.h
11363do :
11364  ac_fn_c_check_header_mongrel "$LINENO" "uuid/uuid.h" "ac_cv_header_uuid_uuid_h" "$ac_includes_default"
11365if test "x$ac_cv_header_uuid_uuid_h" = x""yes; then :
11366  cat >>confdefs.h <<_ACEOF
11367#define HAVE_UUID_UUID_H 1
11368_ACEOF
11369
11370else
11371  UUID_HEADER="no"
11372fi
11373
11374done
11375
11376if test "x$UUID_HEADER" = "xno"; then :
11377  as_fn_error $? "\"uuid header file not found\"" "$LINENO" 5
11378
11379fi
11380
11381for ac_header in openssl/evp.h
11382do :
11383  ac_fn_c_check_header_mongrel "$LINENO" "openssl/evp.h" "ac_cv_header_openssl_evp_h" "$ac_includes_default"
11384if test "x$ac_cv_header_openssl_evp_h" = x""yes; then :
11385  cat >>confdefs.h <<_ACEOF
11386#define HAVE_OPENSSL_EVP_H 1
11387_ACEOF
11388
11389else
11390  OPENSSL_HEADER="no"
11391fi
11392
11393done
11394
11395if test "x$OPENSSL_HEADER" = "xno"; then :
11396  as_fn_error $? "\"openssl header file not found\"" "$LINENO" 5
11397
11398fi
11399
11400#AC_CHECK_HEADERS([magic.h], [], [MAGIC_HEADER="no"])
11401#AS_IF([test "x$MAGIC_HEADER" = "xno"],
11402#          [AC_MSG_ERROR("magic header file not found")]
11403#     )
11404
11405#AC_CHECK_HEADERS([pcre.h], [], [PCRE_HEADER="no"])
11406#AS_IF([test "x$PCRE_HEADER" = "xno"],
11407#          [AC_MSG_ERROR("pcre header file not found")]
11408#     )
11409
11410
11411
11412
11413
11414
11415
11416if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11417	if test -n "$ac_tool_prefix"; then
11418  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11419set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11420{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11421$as_echo_n "checking for $ac_word... " >&6; }
11422if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
11423  $as_echo_n "(cached) " >&6
11424else
11425  case $PKG_CONFIG in
11426  [\\/]* | ?:[\\/]*)
11427  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11428  ;;
11429  *)
11430  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11431for as_dir in $PATH
11432do
11433  IFS=$as_save_IFS
11434  test -z "$as_dir" && as_dir=.
11435    for ac_exec_ext in '' $ac_executable_extensions; do
11436  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11437    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11438    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11439    break 2
11440  fi
11441done
11442  done
11443IFS=$as_save_IFS
11444
11445  ;;
11446esac
11447fi
11448PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11449if test -n "$PKG_CONFIG"; then
11450  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11451$as_echo "$PKG_CONFIG" >&6; }
11452else
11453  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11454$as_echo "no" >&6; }
11455fi
11456
11457
11458fi
11459if test -z "$ac_cv_path_PKG_CONFIG"; then
11460  ac_pt_PKG_CONFIG=$PKG_CONFIG
11461  # Extract the first word of "pkg-config", so it can be a program name with args.
11462set dummy pkg-config; ac_word=$2
11463{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11464$as_echo_n "checking for $ac_word... " >&6; }
11465if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
11466  $as_echo_n "(cached) " >&6
11467else
11468  case $ac_pt_PKG_CONFIG in
11469  [\\/]* | ?:[\\/]*)
11470  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11471  ;;
11472  *)
11473  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11474for as_dir in $PATH
11475do
11476  IFS=$as_save_IFS
11477  test -z "$as_dir" && as_dir=.
11478    for ac_exec_ext in '' $ac_executable_extensions; do
11479  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11480    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11481    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11482    break 2
11483  fi
11484done
11485  done
11486IFS=$as_save_IFS
11487
11488  ;;
11489esac
11490fi
11491ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11492if test -n "$ac_pt_PKG_CONFIG"; then
11493  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11494$as_echo "$ac_pt_PKG_CONFIG" >&6; }
11495else
11496  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11497$as_echo "no" >&6; }
11498fi
11499
11500  if test "x$ac_pt_PKG_CONFIG" = x; then
11501    PKG_CONFIG=""
11502  else
11503    case $cross_compiling:$ac_tool_warned in
11504yes:)
11505{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11506$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11507ac_tool_warned=yes ;;
11508esac
11509    PKG_CONFIG=$ac_pt_PKG_CONFIG
11510  fi
11511else
11512  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11513fi
11514
11515fi
11516if test -n "$PKG_CONFIG"; then
11517	_pkg_min_version=0.9.0
11518	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11519$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11520	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11521		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11522$as_echo "yes" >&6; }
11523	else
11524		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11525$as_echo "no" >&6; }
11526		PKG_CONFIG=""
11527	fi
11528fi
11529
11530pkg_failed=no
11531{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBCONFIG" >&5
11532$as_echo_n "checking for LIBCONFIG... " >&6; }
11533
11534if test -n "$LIBCONFIG_CFLAGS"; then
11535    pkg_cv_LIBCONFIG_CFLAGS="$LIBCONFIG_CFLAGS"
11536 elif test -n "$PKG_CONFIG"; then
11537    if test -n "$PKG_CONFIG" && \
11538    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libconfig >= 1.3.2\""; } >&5
11539  ($PKG_CONFIG --exists --print-errors "libconfig >= 1.3.2") 2>&5
11540  ac_status=$?
11541  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11542  test $ac_status = 0; }; then
11543  pkg_cv_LIBCONFIG_CFLAGS=`$PKG_CONFIG --cflags "libconfig >= 1.3.2" 2>/dev/null`
11544else
11545  pkg_failed=yes
11546fi
11547 else
11548    pkg_failed=untried
11549fi
11550if test -n "$LIBCONFIG_LIBS"; then
11551    pkg_cv_LIBCONFIG_LIBS="$LIBCONFIG_LIBS"
11552 elif test -n "$PKG_CONFIG"; then
11553    if test -n "$PKG_CONFIG" && \
11554    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libconfig >= 1.3.2\""; } >&5
11555  ($PKG_CONFIG --exists --print-errors "libconfig >= 1.3.2") 2>&5
11556  ac_status=$?
11557  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11558  test $ac_status = 0; }; then
11559  pkg_cv_LIBCONFIG_LIBS=`$PKG_CONFIG --libs "libconfig >= 1.3.2" 2>/dev/null`
11560else
11561  pkg_failed=yes
11562fi
11563 else
11564    pkg_failed=untried
11565fi
11566
11567
11568
11569if test $pkg_failed = yes; then
11570   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11571$as_echo "no" >&6; }
11572
11573if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11574        _pkg_short_errors_supported=yes
11575else
11576        _pkg_short_errors_supported=no
11577fi
11578        if test $_pkg_short_errors_supported = yes; then
11579	        LIBCONFIG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libconfig >= 1.3.2" 2>&1`
11580        else
11581	        LIBCONFIG_PKG_ERRORS=`$PKG_CONFIG --print-errors "libconfig >= 1.3.2" 2>&1`
11582        fi
11583	# Put the nasty error message in config.log where it belongs
11584	echo "$LIBCONFIG_PKG_ERRORS" >&5
11585
11586	as_fn_error $? "Package requirements (libconfig >= 1.3.2) were not met:
11587
11588$LIBCONFIG_PKG_ERRORS
11589
11590Consider adjusting the PKG_CONFIG_PATH environment variable if you
11591installed software in a non-standard prefix.
11592
11593Alternatively, you may set the environment variables LIBCONFIG_CFLAGS
11594and LIBCONFIG_LIBS to avoid the need to call pkg-config.
11595See the pkg-config man page for more details." "$LINENO" 5
11596elif test $pkg_failed = untried; then
11597     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11598$as_echo "no" >&6; }
11599	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11600$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11601as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
11602is in your PATH or set the PKG_CONFIG environment variable to the full
11603path to pkg-config.
11604
11605Alternatively, you may set the environment variables LIBCONFIG_CFLAGS
11606and LIBCONFIG_LIBS to avoid the need to call pkg-config.
11607See the pkg-config man page for more details.
11608
11609To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11610See \`config.log' for more details" "$LINENO" 5 ; }
11611else
11612	LIBCONFIG_CFLAGS=$pkg_cv_LIBCONFIG_CFLAGS
11613	LIBCONFIG_LIBS=$pkg_cv_LIBCONFIG_LIBS
11614        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11615$as_echo "yes" >&6; }
11616
11617fi
11618CFLAGS="$LIBCONFIG_CFLAGS $CFLAGS"
11619LIBS="$LIBCONFIG_LIBS $LIBS"
11620
11621#AC_CHECK_HEADERS([curl/curl.h], [], [CURL_HEADER="no"])
11622#AS_IF([test "x$CURL_HEADER" = "xno"],
11623#          [AC_MSG_ERROR("curl header file not found")]
11624#     )
11625
11626
11627pkg_failed=no
11628{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for JSON" >&5
11629$as_echo_n "checking for JSON... " >&6; }
11630
11631if test -n "$JSON_CFLAGS"; then
11632    pkg_cv_JSON_CFLAGS="$JSON_CFLAGS"
11633 elif test -n "$PKG_CONFIG"; then
11634    if test -n "$PKG_CONFIG" && \
11635    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json >= 0.9\""; } >&5
11636  ($PKG_CONFIG --exists --print-errors "json >= 0.9") 2>&5
11637  ac_status=$?
11638  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11639  test $ac_status = 0; }; then
11640  pkg_cv_JSON_CFLAGS=`$PKG_CONFIG --cflags "json >= 0.9" 2>/dev/null`
11641else
11642  pkg_failed=yes
11643fi
11644 else
11645    pkg_failed=untried
11646fi
11647if test -n "$JSON_LIBS"; then
11648    pkg_cv_JSON_LIBS="$JSON_LIBS"
11649 elif test -n "$PKG_CONFIG"; then
11650    if test -n "$PKG_CONFIG" && \
11651    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json >= 0.9\""; } >&5
11652  ($PKG_CONFIG --exists --print-errors "json >= 0.9") 2>&5
11653  ac_status=$?
11654  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11655  test $ac_status = 0; }; then
11656  pkg_cv_JSON_LIBS=`$PKG_CONFIG --libs "json >= 0.9" 2>/dev/null`
11657else
11658  pkg_failed=yes
11659fi
11660 else
11661    pkg_failed=untried
11662fi
11663
11664
11665
11666if test $pkg_failed = yes; then
11667   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11668$as_echo "no" >&6; }
11669
11670if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11671        _pkg_short_errors_supported=yes
11672else
11673        _pkg_short_errors_supported=no
11674fi
11675        if test $_pkg_short_errors_supported = yes; then
11676	        JSON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "json >= 0.9" 2>&1`
11677        else
11678	        JSON_PKG_ERRORS=`$PKG_CONFIG --print-errors "json >= 0.9" 2>&1`
11679        fi
11680	# Put the nasty error message in config.log where it belongs
11681	echo "$JSON_PKG_ERRORS" >&5
11682
11683	as_fn_error $? "Package requirements (json >= 0.9) were not met:
11684
11685$JSON_PKG_ERRORS
11686
11687Consider adjusting the PKG_CONFIG_PATH environment variable if you
11688installed software in a non-standard prefix.
11689
11690Alternatively, you may set the environment variables JSON_CFLAGS
11691and JSON_LIBS to avoid the need to call pkg-config.
11692See the pkg-config man page for more details." "$LINENO" 5
11693elif test $pkg_failed = untried; then
11694     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11695$as_echo "no" >&6; }
11696	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11697$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11698as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
11699is in your PATH or set the PKG_CONFIG environment variable to the full
11700path to pkg-config.
11701
11702Alternatively, you may set the environment variables JSON_CFLAGS
11703and JSON_LIBS to avoid the need to call pkg-config.
11704See the pkg-config man page for more details.
11705
11706To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11707See \`config.log' for more details" "$LINENO" 5 ; }
11708else
11709	JSON_CFLAGS=$pkg_cv_JSON_CFLAGS
11710	JSON_LIBS=$pkg_cv_JSON_LIBS
11711        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11712$as_echo "yes" >&6; }
11713
11714fi
11715
11716CFLAGS="$JSON_CFLAGS $CFLAGS"
11717LIBS="$JSON_LIBS $LIBS"
11718
11719
11720
11721NUGGET_VERSION=2:0:0
11722
11723# Support searching the for the API in $prefix and in the argument to --with-api
11724export PKG_CONFIG_PATH=$prefix/lib/pkgconfig:$PKG_CONFIG_PATH
11725if test "x$with_api" != "x"; then
11726    export PKG_CONFIG_PATH=$with_api:$PKG_CONFIG_PATH
11727fi
11728
11729
11730pkg_failed=no
11731{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for RAZORBACK" >&5
11732$as_echo_n "checking for RAZORBACK... " >&6; }
11733
11734if test -n "$RAZORBACK_CFLAGS"; then
11735    pkg_cv_RAZORBACK_CFLAGS="$RAZORBACK_CFLAGS"
11736 elif test -n "$PKG_CONFIG"; then
11737    if test -n "$PKG_CONFIG" && \
11738    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"razorback >= 0.1.3\""; } >&5
11739  ($PKG_CONFIG --exists --print-errors "razorback >= 0.1.3") 2>&5
11740  ac_status=$?
11741  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11742  test $ac_status = 0; }; then
11743  pkg_cv_RAZORBACK_CFLAGS=`$PKG_CONFIG --cflags "razorback >= 0.1.3" 2>/dev/null`
11744else
11745  pkg_failed=yes
11746fi
11747 else
11748    pkg_failed=untried
11749fi
11750if test -n "$RAZORBACK_LIBS"; then
11751    pkg_cv_RAZORBACK_LIBS="$RAZORBACK_LIBS"
11752 elif test -n "$PKG_CONFIG"; then
11753    if test -n "$PKG_CONFIG" && \
11754    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"razorback >= 0.1.3\""; } >&5
11755  ($PKG_CONFIG --exists --print-errors "razorback >= 0.1.3") 2>&5
11756  ac_status=$?
11757  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11758  test $ac_status = 0; }; then
11759  pkg_cv_RAZORBACK_LIBS=`$PKG_CONFIG --libs "razorback >= 0.1.3" 2>/dev/null`
11760else
11761  pkg_failed=yes
11762fi
11763 else
11764    pkg_failed=untried
11765fi
11766
11767
11768
11769if test $pkg_failed = yes; then
11770   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11771$as_echo "no" >&6; }
11772
11773if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11774        _pkg_short_errors_supported=yes
11775else
11776        _pkg_short_errors_supported=no
11777fi
11778        if test $_pkg_short_errors_supported = yes; then
11779	        RAZORBACK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "razorback >= 0.1.3" 2>&1`
11780        else
11781	        RAZORBACK_PKG_ERRORS=`$PKG_CONFIG --print-errors "razorback >= 0.1.3" 2>&1`
11782        fi
11783	# Put the nasty error message in config.log where it belongs
11784	echo "$RAZORBACK_PKG_ERRORS" >&5
11785
11786	as_fn_error $? "Package requirements (razorback >= 0.1.3) were not met:
11787
11788$RAZORBACK_PKG_ERRORS
11789
11790Consider adjusting the PKG_CONFIG_PATH environment variable if you
11791installed software in a non-standard prefix.
11792
11793Alternatively, you may set the environment variables RAZORBACK_CFLAGS
11794and RAZORBACK_LIBS to avoid the need to call pkg-config.
11795See the pkg-config man page for more details." "$LINENO" 5
11796elif test $pkg_failed = untried; then
11797     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11798$as_echo "no" >&6; }
11799	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11800$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11801as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
11802is in your PATH or set the PKG_CONFIG environment variable to the full
11803path to pkg-config.
11804
11805Alternatively, you may set the environment variables RAZORBACK_CFLAGS
11806and RAZORBACK_LIBS to avoid the need to call pkg-config.
11807See the pkg-config man page for more details.
11808
11809To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11810See \`config.log' for more details" "$LINENO" 5 ; }
11811else
11812	RAZORBACK_CFLAGS=$pkg_cv_RAZORBACK_CFLAGS
11813	RAZORBACK_LIBS=$pkg_cv_RAZORBACK_LIBS
11814        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11815$as_echo "yes" >&6; }
11816
11817fi
11818
11819# Munge the compiler flags if we specify where the API is located.
11820if test "x$with_api" != "x"; then
11821    RAZORBACK_CFLAGS="-I$with_api/include -I$with_api/libssh/include"
11822    RAZORBACK_LIBS="-L$with_api/src -lrazorback_api"
11823else
11824    RAZORBACK_CFLAGS="-I${includedir} -I${includedir}/razorback"
11825fi
11826
11827
11828if test "x$enable_master_nugget_check" = "xyes"; then
11829    export PATH=$prefix/bin:$PATH
11830    # Extract the first word of "masterNugget", so it can be a program name with args.
11831set dummy masterNugget; ac_word=$2
11832{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11833$as_echo_n "checking for $ac_word... " >&6; }
11834if test "${ac_cv_prog_MASTER_NUGGET+set}" = set; then :
11835  $as_echo_n "(cached) " >&6
11836else
11837  if test -n "$MASTER_NUGGET"; then
11838  ac_cv_prog_MASTER_NUGGET="$MASTER_NUGGET" # Let the user override the test.
11839else
11840as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11841for as_dir in $PATH
11842do
11843  IFS=$as_save_IFS
11844  test -z "$as_dir" && as_dir=.
11845    for ac_exec_ext in '' $ac_executable_extensions; do
11846  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11847    ac_cv_prog_MASTER_NUGGET="masterNugget"
11848    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11849    break 2
11850  fi
11851done
11852  done
11853IFS=$as_save_IFS
11854
11855  test -z "$ac_cv_prog_MASTER_NUGGET" && ac_cv_prog_MASTER_NUGGET=""no""
11856fi
11857fi
11858MASTER_NUGGET=$ac_cv_prog_MASTER_NUGGET
11859if test -n "$MASTER_NUGGET"; then
11860  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MASTER_NUGGET" >&5
11861$as_echo "$MASTER_NUGGET" >&6; }
11862else
11863  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11864$as_echo "no" >&6; }
11865fi
11866
11867
11868    if test "x$MASTER_NUGGET" = "xno"; then :
11869  as_fn_error $? "\"master_nugget not found\"" "$LINENO" 5
11870
11871fi
11872fi
11873# This file provides the macros to work with rzb_visibility.h provided by the razorback_utils library.
11874
11875# modified from gnulib/m4/visibility.m4
11876
11877
11878
11879    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for visibility support" >&5
11880$as_echo_n "checking for visibility support... " >&6; }
11881    if test "${gl_cv_cc_visibility+set}" = set; then :
11882  $as_echo_n "(cached) " >&6
11883else
11884
11885        gl_save_CFLAGS="$CFLAGS"
11886        # Add -Werror flag since some compilers, e.g. icc 7.1, don't support it,
11887        # but only warn about it instead of compilation failing, This is done in
11888        # compiler_options.m4
11889        CFLAGS="$CFLAGS -fvisibility=hidden"
11890        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11891/* end confdefs.h.  */
11892
11893            extern __attribute__((__visibility__("hidden"))) int hiddenvar;
11894            extern __attribute__((__visibility__("default"))) int exportedvar;
11895            extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
11896            extern __attribute__((__visibility__("default"))) int exportedfunc (void);
11897int
11898main ()
11899{
11900
11901  ;
11902  return 0;
11903}
11904_ACEOF
11905if ac_fn_c_try_compile "$LINENO"; then :
11906  gl_cv_cc_visibility="yes"
11907else
11908  gl_cv_cc_visibility="no"
11909fi
11910rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11911
11912fi
11913
11914    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_visibility" >&5
11915$as_echo "$gl_cv_cc_visibility" >&6; }
11916    if test "x$gl_cv_cc_visibility" = "xyes"; then
11917        CFLAGS="$gl_save_CFLAGS -fvisibility=hidden"
11918
11919$as_echo "#define HAVE_VISIBILITY 1" >>confdefs.h
11920
11921    else
11922        CFLAGS="$gl_save_CFLAGS"
11923    fi
11924
11925
11926
11927
11928
11929# Pull in the standard header and function checks.
11930# Checks for header files.
11931for 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
11932do :
11933  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11934ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11935if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11936  cat >>confdefs.h <<_ACEOF
11937#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11938_ACEOF
11939
11940fi
11941
11942done
11943
11944
11945# Checks for typedefs, structures, and compiler characteristics.
11946{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
11947$as_echo_n "checking for inline... " >&6; }
11948if test "${ac_cv_c_inline+set}" = set; then :
11949  $as_echo_n "(cached) " >&6
11950else
11951  ac_cv_c_inline=no
11952for ac_kw in inline __inline__ __inline; do
11953  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11954/* end confdefs.h.  */
11955#ifndef __cplusplus
11956typedef int foo_t;
11957static $ac_kw foo_t static_foo () {return 0; }
11958$ac_kw foo_t foo () {return 0; }
11959#endif
11960
11961_ACEOF
11962if ac_fn_c_try_compile "$LINENO"; then :
11963  ac_cv_c_inline=$ac_kw
11964fi
11965rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11966  test "$ac_cv_c_inline" != no && break
11967done
11968
11969fi
11970{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
11971$as_echo "$ac_cv_c_inline" >&6; }
11972
11973case $ac_cv_c_inline in
11974  inline | yes) ;;
11975  *)
11976    case $ac_cv_c_inline in
11977      no) ac_val=;;
11978      *) ac_val=$ac_cv_c_inline;;
11979    esac
11980    cat >>confdefs.h <<_ACEOF
11981#ifndef __cplusplus
11982#define inline $ac_val
11983#endif
11984_ACEOF
11985    ;;
11986esac
11987
11988ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
11989if test "x$ac_cv_type_size_t" = x""yes; then :
11990
11991else
11992
11993cat >>confdefs.h <<_ACEOF
11994#define size_t unsigned int
11995_ACEOF
11996
11997fi
11998
11999ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
12000if test "x$ac_cv_type_ssize_t" = x""yes; then :
12001
12002else
12003
12004cat >>confdefs.h <<_ACEOF
12005#define ssize_t int
12006_ACEOF
12007
12008fi
12009
12010ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t"
12011case $ac_cv_c_uint16_t in #(
12012  no|yes) ;; #(
12013  *)
12014
12015
12016cat >>confdefs.h <<_ACEOF
12017#define uint16_t $ac_cv_c_uint16_t
12018_ACEOF
12019;;
12020  esac
12021
12022ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
12023case $ac_cv_c_uint32_t in #(
12024  no|yes) ;; #(
12025  *)
12026
12027$as_echo "#define _UINT32_T 1" >>confdefs.h
12028
12029
12030cat >>confdefs.h <<_ACEOF
12031#define uint32_t $ac_cv_c_uint32_t
12032_ACEOF
12033;;
12034  esac
12035
12036ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
12037case $ac_cv_c_uint8_t in #(
12038  no|yes) ;; #(
12039  *)
12040
12041$as_echo "#define _UINT8_T 1" >>confdefs.h
12042
12043
12044cat >>confdefs.h <<_ACEOF
12045#define uint8_t $ac_cv_c_uint8_t
12046_ACEOF
12047;;
12048  esac
12049
12050
12051  ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
12052if test "x$ac_cv_type_uintptr_t" = x""yes; then :
12053
12054$as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h
12055
12056else
12057  for ac_type in 'unsigned int' 'unsigned long int' \
12058	'unsigned long long int'; do
12059       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12060/* end confdefs.h.  */
12061$ac_includes_default
12062int
12063main ()
12064{
12065static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
12066test_array [0] = 0
12067
12068  ;
12069  return 0;
12070}
12071_ACEOF
12072if ac_fn_c_try_compile "$LINENO"; then :
12073
12074cat >>confdefs.h <<_ACEOF
12075#define uintptr_t $ac_type
12076_ACEOF
12077
12078	  ac_type=
12079fi
12080rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12081       test -z "$ac_type" && break
12082     done
12083fi
12084
12085
12086
12087  ac_fn_c_check_type "$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
12088if test "x$ac_cv_type_intptr_t" = x""yes; then :
12089
12090$as_echo "#define HAVE_INTPTR_T 1" >>confdefs.h
12091
12092else
12093  for ac_type in 'int' 'long int' 'long long int'; do
12094       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12095/* end confdefs.h.  */
12096$ac_includes_default
12097int
12098main ()
12099{
12100static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
12101test_array [0] = 0
12102
12103  ;
12104  return 0;
12105}
12106_ACEOF
12107if ac_fn_c_try_compile "$LINENO"; then :
12108
12109cat >>confdefs.h <<_ACEOF
12110#define intptr_t $ac_type
12111_ACEOF
12112
12113	  ac_type=
12114fi
12115rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12116       test -z "$ac_type" && break
12117     done
12118fi
12119
12120
12121
12122  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long int" >&5
12123$as_echo_n "checking for long long int... " >&6; }
12124if test "${ac_cv_type_long_long_int+set}" = set; then :
12125  $as_echo_n "(cached) " >&6
12126else
12127  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12128/* end confdefs.h.  */
12129
12130  /* For now, do not test the preprocessor; as of 2007 there are too many
12131	 implementations with broken preprocessors.  Perhaps this can
12132	 be revisited in 2012.  In the meantime, code should not expect
12133	 #if to work with literals wider than 32 bits.  */
12134      /* Test literals.  */
12135      long long int ll = 9223372036854775807ll;
12136      long long int nll = -9223372036854775807LL;
12137      unsigned long long int ull = 18446744073709551615ULL;
12138      /* Test constant expressions.   */
12139      typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
12140		     ? 1 : -1)];
12141      typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1
12142		     ? 1 : -1)];
12143      int i = 63;
12144int
12145main ()
12146{
12147/* Test availability of runtime routines for shift and division.  */
12148      long long int llmax = 9223372036854775807ll;
12149      unsigned long long int ullmax = 18446744073709551615ull;
12150      return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
12151	      | (llmax / ll) | (llmax % ll)
12152	      | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i)
12153	      | (ullmax / ull) | (ullmax % ull));
12154  ;
12155  return 0;
12156}
12157
12158_ACEOF
12159if ac_fn_c_try_link "$LINENO"; then :
12160  			if test "$cross_compiling" = yes; then :
12161  ac_cv_type_long_long_int=yes
12162else
12163  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12164/* end confdefs.h.  */
12165#include <limits.h>
12166	       #ifndef LLONG_MAX
12167	       # define HALF \
12168			(1LL << (sizeof (long long int) * CHAR_BIT - 2))
12169	       # define LLONG_MAX (HALF - 1 + HALF)
12170	       #endif
12171int
12172main ()
12173{
12174long long int n = 1;
12175	       int i;
12176	       for (i = 0; ; i++)
12177		 {
12178		   long long int m = n << i;
12179		   if (m >> i != n)
12180		     return 1;
12181		   if (LLONG_MAX / 2 < m)
12182		     break;
12183		 }
12184	       return 0;
12185  ;
12186  return 0;
12187}
12188_ACEOF
12189if ac_fn_c_try_run "$LINENO"; then :
12190  ac_cv_type_long_long_int=yes
12191else
12192  ac_cv_type_long_long_int=no
12193fi
12194rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12195  conftest.$ac_objext conftest.beam conftest.$ac_ext
12196fi
12197
12198else
12199  ac_cv_type_long_long_int=no
12200fi
12201rm -f core conftest.err conftest.$ac_objext \
12202    conftest$ac_exeext conftest.$ac_ext
12203fi
12204{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_long_int" >&5
12205$as_echo "$ac_cv_type_long_long_int" >&6; }
12206  if test $ac_cv_type_long_long_int = yes; then
12207
12208$as_echo "#define HAVE_LONG_LONG_INT 1" >>confdefs.h
12209
12210  fi
12211
12212
12213
12214  ac_fn_c_check_type "$LINENO" "intmax_t" "ac_cv_type_intmax_t" "$ac_includes_default"
12215if test "x$ac_cv_type_intmax_t" = x""yes; then :
12216
12217$as_echo "#define HAVE_INTMAX_T 1" >>confdefs.h
12218
12219else
12220  test $ac_cv_type_long_long_int = yes \
12221       && ac_type='long long int' \
12222       || ac_type='long int'
12223
12224cat >>confdefs.h <<_ACEOF
12225#define intmax_t $ac_type
12226_ACEOF
12227
12228fi
12229
12230
12231
12232  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5
12233$as_echo_n "checking for unsigned long long int... " >&6; }
12234if test "${ac_cv_type_unsigned_long_long_int+set}" = set; then :
12235  $as_echo_n "(cached) " >&6
12236else
12237  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12238/* end confdefs.h.  */
12239
12240  /* For now, do not test the preprocessor; as of 2007 there are too many
12241	 implementations with broken preprocessors.  Perhaps this can
12242	 be revisited in 2012.  In the meantime, code should not expect
12243	 #if to work with literals wider than 32 bits.  */
12244      /* Test literals.  */
12245      long long int ll = 9223372036854775807ll;
12246      long long int nll = -9223372036854775807LL;
12247      unsigned long long int ull = 18446744073709551615ULL;
12248      /* Test constant expressions.   */
12249      typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
12250		     ? 1 : -1)];
12251      typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1
12252		     ? 1 : -1)];
12253      int i = 63;
12254int
12255main ()
12256{
12257/* Test availability of runtime routines for shift and division.  */
12258      long long int llmax = 9223372036854775807ll;
12259      unsigned long long int ullmax = 18446744073709551615ull;
12260      return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
12261	      | (llmax / ll) | (llmax % ll)
12262	      | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i)
12263	      | (ullmax / ull) | (ullmax % ull));
12264  ;
12265  return 0;
12266}
12267
12268_ACEOF
12269if ac_fn_c_try_link "$LINENO"; then :
12270  ac_cv_type_unsigned_long_long_int=yes
12271else
12272  ac_cv_type_unsigned_long_long_int=no
12273fi
12274rm -f core conftest.err conftest.$ac_objext \
12275    conftest$ac_exeext conftest.$ac_ext
12276fi
12277{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long_int" >&5
12278$as_echo "$ac_cv_type_unsigned_long_long_int" >&6; }
12279  if test $ac_cv_type_unsigned_long_long_int = yes; then
12280
12281$as_echo "#define HAVE_UNSIGNED_LONG_LONG_INT 1" >>confdefs.h
12282
12283  fi
12284
12285
12286
12287  ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "$ac_includes_default"
12288if test "x$ac_cv_type_uintmax_t" = x""yes; then :
12289
12290$as_echo "#define HAVE_UINTMAX_T 1" >>confdefs.h
12291
12292else
12293  test $ac_cv_type_unsigned_long_long_int = yes \
12294       && ac_type='unsigned long long int' \
12295       || ac_type='unsigned long int'
12296
12297cat >>confdefs.h <<_ACEOF
12298#define uintmax_t $ac_type
12299_ACEOF
12300
12301fi
12302
12303
12304ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
12305if test "x$ac_cv_type_size_t" = x""yes; then :
12306
12307cat >>confdefs.h <<_ACEOF
12308#define HAVE_SIZE_T 1
12309_ACEOF
12310
12311
12312fi
12313
12314ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
12315if test "x$ac_cv_type_ssize_t" = x""yes; then :
12316
12317cat >>confdefs.h <<_ACEOF
12318#define HAVE_SSIZE_T 1
12319_ACEOF
12320
12321
12322fi
12323
12324ac_fn_c_check_type "$LINENO" "uint16_t" "ac_cv_type_uint16_t" "$ac_includes_default"
12325if test "x$ac_cv_type_uint16_t" = x""yes; then :
12326
12327cat >>confdefs.h <<_ACEOF
12328#define HAVE_UINT16_T 1
12329_ACEOF
12330
12331
12332fi
12333
12334ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "$ac_includes_default"
12335if test "x$ac_cv_type_uint32_t" = x""yes; then :
12336
12337cat >>confdefs.h <<_ACEOF
12338#define HAVE_UINT32_T 1
12339_ACEOF
12340
12341
12342fi
12343
12344ac_fn_c_check_type "$LINENO" "uint8_t" "ac_cv_type_uint8_t" "$ac_includes_default"
12345if test "x$ac_cv_type_uint8_t" = x""yes; then :
12346
12347cat >>confdefs.h <<_ACEOF
12348#define HAVE_UINT8_T 1
12349_ACEOF
12350
12351
12352fi
12353
12354ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
12355if test "x$ac_cv_type_uintptr_t" = x""yes; then :
12356
12357cat >>confdefs.h <<_ACEOF
12358#define HAVE_UINTPTR_T 1
12359_ACEOF
12360
12361
12362fi
12363
12364ac_fn_c_check_type "$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
12365if test "x$ac_cv_type_intptr_t" = x""yes; then :
12366
12367cat >>confdefs.h <<_ACEOF
12368#define HAVE_INTPTR_T 1
12369_ACEOF
12370
12371
12372fi
12373
12374ac_fn_c_check_type "$LINENO" "intmax_t" "ac_cv_type_intmax_t" "$ac_includes_default"
12375if test "x$ac_cv_type_intmax_t" = x""yes; then :
12376
12377cat >>confdefs.h <<_ACEOF
12378#define HAVE_INTMAX_T 1
12379_ACEOF
12380
12381
12382fi
12383
12384ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "$ac_includes_default"
12385if test "x$ac_cv_type_uintmax_t" = x""yes; then :
12386
12387cat >>confdefs.h <<_ACEOF
12388#define HAVE_UINTMAX_T 1
12389_ACEOF
12390
12391
12392fi
12393
12394
12395# Checks for library functions.
12396for ac_header in stdlib.h
12397do :
12398  ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
12399if test "x$ac_cv_header_stdlib_h" = x""yes; then :
12400  cat >>confdefs.h <<_ACEOF
12401#define HAVE_STDLIB_H 1
12402_ACEOF
12403
12404fi
12405
12406done
12407
12408{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
12409$as_echo_n "checking for GNU libc compatible malloc... " >&6; }
12410if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then :
12411  $as_echo_n "(cached) " >&6
12412else
12413  if test "$cross_compiling" = yes; then :
12414  ac_cv_func_malloc_0_nonnull=no
12415else
12416  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12417/* end confdefs.h.  */
12418#if defined STDC_HEADERS || defined HAVE_STDLIB_H
12419# include <stdlib.h>
12420#else
12421char *malloc ();
12422#endif
12423
12424int
12425main ()
12426{
12427return ! malloc (0);
12428  ;
12429  return 0;
12430}
12431_ACEOF
12432if ac_fn_c_try_run "$LINENO"; then :
12433  ac_cv_func_malloc_0_nonnull=yes
12434else
12435  ac_cv_func_malloc_0_nonnull=no
12436fi
12437rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12438  conftest.$ac_objext conftest.beam conftest.$ac_ext
12439fi
12440
12441fi
12442{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
12443$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
12444if test $ac_cv_func_malloc_0_nonnull = yes; then :
12445
12446$as_echo "#define HAVE_MALLOC 1" >>confdefs.h
12447
12448else
12449  $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
12450
12451   case " $LIBOBJS " in
12452  *" malloc.$ac_objext "* ) ;;
12453  *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
12454 ;;
12455esac
12456
12457
12458$as_echo "#define malloc rpl_malloc" >>confdefs.h
12459
12460fi
12461
12462
12463
12464
12465
12466  for ac_header in $ac_header_list
12467do :
12468  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12469ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
12470"
12471if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12472  cat >>confdefs.h <<_ACEOF
12473#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12474_ACEOF
12475
12476fi
12477
12478done
12479
12480
12481
12482
12483
12484
12485
12486
12487for ac_func in getpagesize
12488do :
12489  ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
12490if test "x$ac_cv_func_getpagesize" = x""yes; then :
12491  cat >>confdefs.h <<_ACEOF
12492#define HAVE_GETPAGESIZE 1
12493_ACEOF
12494
12495fi
12496done
12497
12498{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
12499$as_echo_n "checking for working mmap... " >&6; }
12500if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then :
12501  $as_echo_n "(cached) " >&6
12502else
12503  if test "$cross_compiling" = yes; then :
12504  ac_cv_func_mmap_fixed_mapped=no
12505else
12506  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12507/* end confdefs.h.  */
12508$ac_includes_default
12509/* malloc might have been renamed as rpl_malloc. */
12510#undef malloc
12511
12512/* Thanks to Mike Haertel and Jim Avera for this test.
12513   Here is a matrix of mmap possibilities:
12514	mmap private not fixed
12515	mmap private fixed at somewhere currently unmapped
12516	mmap private fixed at somewhere already mapped
12517	mmap shared not fixed
12518	mmap shared fixed at somewhere currently unmapped
12519	mmap shared fixed at somewhere already mapped
12520   For private mappings, we should verify that changes cannot be read()
12521   back from the file, nor mmap's back from the file at a different
12522   address.  (There have been systems where private was not correctly
12523   implemented like the infamous i386 svr4.0, and systems where the
12524   VM page cache was not coherent with the file system buffer cache
12525   like early versions of FreeBSD and possibly contemporary NetBSD.)
12526   For shared mappings, we should conversely verify that changes get
12527   propagated back to all the places they're supposed to be.
12528
12529   Grep wants private fixed already mapped.
12530   The main things grep needs to know about mmap are:
12531   * does it exist and is it safe to write into the mmap'd area
12532   * how to use it (BSD variants)  */
12533
12534#include <fcntl.h>
12535#include <sys/mman.h>
12536
12537#if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
12538char *malloc ();
12539#endif
12540
12541/* This mess was copied from the GNU getpagesize.h.  */
12542#ifndef HAVE_GETPAGESIZE
12543# ifdef _SC_PAGESIZE
12544#  define getpagesize() sysconf(_SC_PAGESIZE)
12545# else /* no _SC_PAGESIZE */
12546#  ifdef HAVE_SYS_PARAM_H
12547#   include <sys/param.h>
12548#   ifdef EXEC_PAGESIZE
12549#    define getpagesize() EXEC_PAGESIZE
12550#   else /* no EXEC_PAGESIZE */
12551#    ifdef NBPG
12552#     define getpagesize() NBPG * CLSIZE
12553#     ifndef CLSIZE
12554#      define CLSIZE 1
12555#     endif /* no CLSIZE */
12556#    else /* no NBPG */
12557#     ifdef NBPC
12558#      define getpagesize() NBPC
12559#     else /* no NBPC */
12560#      ifdef PAGESIZE
12561#       define getpagesize() PAGESIZE
12562#      endif /* PAGESIZE */
12563#     endif /* no NBPC */
12564#    endif /* no NBPG */
12565#   endif /* no EXEC_PAGESIZE */
12566#  else /* no HAVE_SYS_PARAM_H */
12567#   define getpagesize() 8192	/* punt totally */
12568#  endif /* no HAVE_SYS_PARAM_H */
12569# endif /* no _SC_PAGESIZE */
12570
12571#endif /* no HAVE_GETPAGESIZE */
12572
12573int
12574main ()
12575{
12576  char *data, *data2, *data3;
12577  const char *cdata2;
12578  int i, pagesize;
12579  int fd, fd2;
12580
12581  pagesize = getpagesize ();
12582
12583  /* First, make a file with some known garbage in it. */
12584  data = (char *) malloc (pagesize);
12585  if (!data)
12586    return 1;
12587  for (i = 0; i < pagesize; ++i)
12588    *(data + i) = rand ();
12589  umask (0);
12590  fd = creat ("conftest.mmap", 0600);
12591  if (fd < 0)
12592    return 2;
12593  if (write (fd, data, pagesize) != pagesize)
12594    return 3;
12595  close (fd);
12596
12597  /* Next, check that the tail of a page is zero-filled.  File must have
12598     non-zero length, otherwise we risk SIGBUS for entire page.  */
12599  fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
12600  if (fd2 < 0)
12601    return 4;
12602  cdata2 = "";
12603  if (write (fd2, cdata2, 1) != 1)
12604    return 5;
12605  data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
12606  if (data2 == MAP_FAILED)
12607    return 6;
12608  for (i = 0; i < pagesize; ++i)
12609    if (*(data2 + i))
12610      return 7;
12611  close (fd2);
12612  if (munmap (data2, pagesize))
12613    return 8;
12614
12615  /* Next, try to mmap the file at a fixed address which already has
12616     something else allocated at it.  If we can, also make sure that
12617     we see the same garbage.  */
12618  fd = open ("conftest.mmap", O_RDWR);
12619  if (fd < 0)
12620    return 9;
12621  if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
12622		     MAP_PRIVATE | MAP_FIXED, fd, 0L))
12623    return 10;
12624  for (i = 0; i < pagesize; ++i)
12625    if (*(data + i) != *(data2 + i))
12626      return 11;
12627
12628  /* Finally, make sure that changes to the mapped area do not
12629     percolate back to the file as seen by read().  (This is a bug on
12630     some variants of i386 svr4.0.)  */
12631  for (i = 0; i < pagesize; ++i)
12632    *(data2 + i) = *(data2 + i) + 1;
12633  data3 = (char *) malloc (pagesize);
12634  if (!data3)
12635    return 12;
12636  if (read (fd, data3, pagesize) != pagesize)
12637    return 13;
12638  for (i = 0; i < pagesize; ++i)
12639    if (*(data + i) != *(data3 + i))
12640      return 14;
12641  close (fd);
12642  return 0;
12643}
12644_ACEOF
12645if ac_fn_c_try_run "$LINENO"; then :
12646  ac_cv_func_mmap_fixed_mapped=yes
12647else
12648  ac_cv_func_mmap_fixed_mapped=no
12649fi
12650rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12651  conftest.$ac_objext conftest.beam conftest.$ac_ext
12652fi
12653
12654fi
12655{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
12656$as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
12657if test $ac_cv_func_mmap_fixed_mapped = yes; then
12658
12659$as_echo "#define HAVE_MMAP 1" >>confdefs.h
12660
12661fi
12662rm -f conftest.mmap conftest.txt
12663
12664for ac_header in stdlib.h
12665do :
12666  ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
12667if test "x$ac_cv_header_stdlib_h" = x""yes; then :
12668  cat >>confdefs.h <<_ACEOF
12669#define HAVE_STDLIB_H 1
12670_ACEOF
12671
12672fi
12673
12674done
12675
12676{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
12677$as_echo_n "checking for GNU libc compatible realloc... " >&6; }
12678if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then :
12679  $as_echo_n "(cached) " >&6
12680else
12681  if test "$cross_compiling" = yes; then :
12682  ac_cv_func_realloc_0_nonnull=no
12683else
12684  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12685/* end confdefs.h.  */
12686#if defined STDC_HEADERS || defined HAVE_STDLIB_H
12687# include <stdlib.h>
12688#else
12689char *realloc ();
12690#endif
12691
12692int
12693main ()
12694{
12695return ! realloc (0, 0);
12696  ;
12697  return 0;
12698}
12699_ACEOF
12700if ac_fn_c_try_run "$LINENO"; then :
12701  ac_cv_func_realloc_0_nonnull=yes
12702else
12703  ac_cv_func_realloc_0_nonnull=no
12704fi
12705rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12706  conftest.$ac_objext conftest.beam conftest.$ac_ext
12707fi
12708
12709fi
12710{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
12711$as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
12712if test $ac_cv_func_realloc_0_nonnull = yes; then :
12713
12714$as_echo "#define HAVE_REALLOC 1" >>confdefs.h
12715
12716else
12717  $as_echo "#define HAVE_REALLOC 0" >>confdefs.h
12718
12719   case " $LIBOBJS " in
12720  *" realloc.$ac_objext "* ) ;;
12721  *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
12722 ;;
12723esac
12724
12725
12726$as_echo "#define realloc rpl_realloc" >>confdefs.h
12727
12728fi
12729
12730
12731for ac_func in inet_ntoa memset munmap socket strdup strerror strncasecmp strstr strtoul
12732do :
12733  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12734ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12735if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12736  cat >>confdefs.h <<_ACEOF
12737#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12738_ACEOF
12739
12740fi
12741done
12742
12743
12744
12745
12746# Pull in the compiler customisation options for different compilers.
12747ICC=no
12748if eval "echo $CC|grep icc >/dev/null" ; then
12749    if eval "$CC -help |grep libcxa >/dev/null" ; then
12750        CFLAGS="$CFLAGS -ip -static-libcxa"
12751        XCCFLAGS="-XCClinker -static-libcxa"
12752    else
12753        CFLAGS="$CFLAGS -ip -static-intel"
12754        XCCFLAGS="-XCClinker -static-intel"
12755    fi
12756    if test "$COPT" = "-O2" ; then
12757        COPT="-O3"
12758    fi
12759    CWARNINGS="-wd869"
12760    ICC=yes
12761    GCC=no
12762fi
12763
12764if test "$GCC" = yes ; then
12765    if test "x$enable_debug" = "xyes"; then
12766        CFLAGS="-ggdb $CFLAGS"
12767    else
12768        CFLAGS="-O2 $CFLAGS"
12769    fi
12770
12771    if test "x$enable_profile" = "xyes"; then
12772        LDFLAGS="$LDFLAGS -XCClinker -pg"
12773    fi
12774
12775    CFLAGS="$CFLAGS -std=c99 -fno-strict-aliasing"
12776    CPPFLAGS="$CPPFLAGS -fno-strict-aliasing"
12777    CWARNINGS="$CWARNINGS -Wall -Werror -Wwrite-strings -Wformat -fdiagnostics-show-option -Wextra -Wformat-security -Wsign-compare -Wcast-align -Wno-unused-parameter"
12778    if test "x$NOT_PEDANTIC" = "x"; then
12779        CWARNINGS="$CWARNINGS -pedantic"
12780    fi
12781    echo $CFLAGS
12782fi
12783
12784
12785
12786# Pull in the standard compiler and linker flags.
12787CFLAGS="$CFLAGS $CWARNINGS $RAZORBACK_CFLAGS"
12788LDFLAGS="$LDFLAGS $PROFILE_LDFLAGS"
12789
12790echo "LDFLAGS set to $LDFLAGS"
12791echo "CFLAGS set to $CFLAGS"
12792
12793
12794
12795
12796# Pulling configuration for standard nugget substituions.
12797NUGGET_INCLUDES='-I$(top_srcdir)/src'
12798NUGGET_LIBRARIES='$(RAZORBACK_LIBS)'
12799
12800
12801
12802
12803
12804
12805
12806  EXP_VAR=PKGLIBDIR
12807  FROM_VAR="${libdir}/razorback"
12808
12809    prefix_save=$prefix
12810  exec_prefix_save=$exec_prefix
12811
12812    if test "x$prefix" = "xNONE"; then
12813    prefix=$ac_default_prefix
12814  fi
12815    if test "x$exec_prefix" = "xNONE"; then
12816    exec_prefix=$prefix
12817  fi
12818
12819  full_var="$FROM_VAR"
12820    while true; do
12821    new_full_var="`eval echo $full_var`"
12822    if test "x$new_full_var"="x$full_var"; then break; fi
12823    full_var=$new_full_var
12824  done
12825
12826    full_var=$new_full_var
12827  PKGLIBDIR="$full_var"
12828
12829
12830    prefix=$prefix_save
12831  exec_prefix=$exec_prefix_save
12832
12833
12834
12835
12836
12837ac_config_files="$ac_config_files Makefile etc/Makefile m4/Makefile src/Makefile"
12838
12839cat >confcache <<\_ACEOF
12840# This file is a shell script that caches the results of configure
12841# tests run on this system so they can be shared between configure
12842# scripts and configure runs, see configure's option --config-cache.
12843# It is not useful on other systems.  If it contains results you don't
12844# want to keep, you may remove or edit it.
12845#
12846# config.status only pays attention to the cache file if you give it
12847# the --recheck option to rerun configure.
12848#
12849# `ac_cv_env_foo' variables (set or unset) will be overridden when
12850# loading this file, other *unset* `ac_cv_foo' will be assigned the
12851# following values.
12852
12853_ACEOF
12854
12855# The following way of writing the cache mishandles newlines in values,
12856# but we know of no workaround that is simple, portable, and efficient.
12857# So, we kill variables containing newlines.
12858# Ultrix sh set writes to stderr and can't be redirected directly,
12859# and sets the high bit in the cache file unless we assign to the vars.
12860(
12861  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12862    eval ac_val=\$$ac_var
12863    case $ac_val in #(
12864    *${as_nl}*)
12865      case $ac_var in #(
12866      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12867$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12868      esac
12869      case $ac_var in #(
12870      _ | IFS | as_nl) ;; #(
12871      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12872      *) { eval $ac_var=; unset $ac_var;} ;;
12873      esac ;;
12874    esac
12875  done
12876
12877  (set) 2>&1 |
12878    case $as_nl`(ac_space=' '; set) 2>&1` in #(
12879    *${as_nl}ac_space=\ *)
12880      # `set' does not quote correctly, so add quotes: double-quote
12881      # substitution turns \\\\ into \\, and sed turns \\ into \.
12882      sed -n \
12883	"s/'/'\\\\''/g;
12884	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12885      ;; #(
12886    *)
12887      # `set' quotes correctly as required by POSIX, so do not add quotes.
12888      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12889      ;;
12890    esac |
12891    sort
12892) |
12893  sed '
12894     /^ac_cv_env_/b end
12895     t clear
12896     :clear
12897     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12898     t end
12899     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12900     :end' >>confcache
12901if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12902  if test -w "$cache_file"; then
12903    test "x$cache_file" != "x/dev/null" &&
12904      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12905$as_echo "$as_me: updating cache $cache_file" >&6;}
12906    cat confcache >$cache_file
12907  else
12908    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12909$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12910  fi
12911fi
12912rm -f confcache
12913
12914test "x$prefix" = xNONE && prefix=$ac_default_prefix
12915# Let make expand exec_prefix.
12916test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12917
12918DEFS=-DHAVE_CONFIG_H
12919
12920ac_libobjs=
12921ac_ltlibobjs=
12922U=
12923for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12924  # 1. Remove the extension, and $U if already installed.
12925  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12926  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12927  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
12928  #    will be set to the directory where LIBOBJS objects are built.
12929  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12930  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
12931done
12932LIBOBJS=$ac_libobjs
12933
12934LTLIBOBJS=$ac_ltlibobjs
12935
12936
12937 if test -n "$EXEEXT"; then
12938  am__EXEEXT_TRUE=
12939  am__EXEEXT_FALSE='#'
12940else
12941  am__EXEEXT_TRUE='#'
12942  am__EXEEXT_FALSE=
12943fi
12944
12945if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12946  as_fn_error $? "conditional \"AMDEP\" was never defined.
12947Usually this means the macro was only invoked conditionally." "$LINENO" 5
12948fi
12949if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12950  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
12951Usually this means the macro was only invoked conditionally." "$LINENO" 5
12952fi
12953if test -z "${PLATFORM_LINUX_TRUE}" && test -z "${PLATFORM_LINUX_FALSE}"; then
12954  as_fn_error $? "conditional \"PLATFORM_LINUX\" was never defined.
12955Usually this means the macro was only invoked conditionally." "$LINENO" 5
12956fi
12957if test -z "${PLATFORM_FREEBSD_TRUE}" && test -z "${PLATFORM_FREEBSD_FALSE}"; then
12958  as_fn_error $? "conditional \"PLATFORM_FREEBSD\" was never defined.
12959Usually this means the macro was only invoked conditionally." "$LINENO" 5
12960fi
12961
12962: ${CONFIG_STATUS=./config.status}
12963ac_write_fail=0
12964ac_clean_files_save=$ac_clean_files
12965ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12966{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12967$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12968as_write_fail=0
12969cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12970#! $SHELL
12971# Generated by $as_me.
12972# Run this file to recreate the current configuration.
12973# Compiler output produced by configure, useful for debugging
12974# configure, is in config.log if it exists.
12975
12976debug=false
12977ac_cs_recheck=false
12978ac_cs_silent=false
12979
12980SHELL=\${CONFIG_SHELL-$SHELL}
12981export SHELL
12982_ASEOF
12983cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
12984## -------------------- ##
12985## M4sh Initialization. ##
12986## -------------------- ##
12987
12988# Be more Bourne compatible
12989DUALCASE=1; export DUALCASE # for MKS sh
12990if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
12991  emulate sh
12992  NULLCMD=:
12993  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12994  # is contrary to our usage.  Disable this feature.
12995  alias -g '${1+"$@"}'='"$@"'
12996  setopt NO_GLOB_SUBST
12997else
12998  case `(set -o) 2>/dev/null` in #(
12999  *posix*) :
13000    set -o posix ;; #(
13001  *) :
13002     ;;
13003esac
13004fi
13005
13006
13007as_nl='
13008'
13009export as_nl
13010# Printing a long string crashes Solaris 7 /usr/bin/printf.
13011as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13012as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13013as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13014# Prefer a ksh shell builtin over an external printf program on Solaris,
13015# but without wasting forks for bash or zsh.
13016if test -z "$BASH_VERSION$ZSH_VERSION" \
13017    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13018  as_echo='print -r --'
13019  as_echo_n='print -rn --'
13020elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13021  as_echo='printf %s\n'
13022  as_echo_n='printf %s'
13023else
13024  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13025    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13026    as_echo_n='/usr/ucb/echo -n'
13027  else
13028    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13029    as_echo_n_body='eval
13030      arg=$1;
13031      case $arg in #(
13032      *"$as_nl"*)
13033	expr "X$arg" : "X\\(.*\\)$as_nl";
13034	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13035      esac;
13036      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13037    '
13038    export as_echo_n_body
13039    as_echo_n='sh -c $as_echo_n_body as_echo'
13040  fi
13041  export as_echo_body
13042  as_echo='sh -c $as_echo_body as_echo'
13043fi
13044
13045# The user is always right.
13046if test "${PATH_SEPARATOR+set}" != set; then
13047  PATH_SEPARATOR=:
13048  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13049    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13050      PATH_SEPARATOR=';'
13051  }
13052fi
13053
13054
13055# IFS
13056# We need space, tab and new line, in precisely that order.  Quoting is
13057# there to prevent editors from complaining about space-tab.
13058# (If _AS_PATH_WALK were called with IFS unset, it would disable word
13059# splitting by setting IFS to empty value.)
13060IFS=" ""	$as_nl"
13061
13062# Find who we are.  Look in the path if we contain no directory separator.
13063case $0 in #((
13064  *[\\/]* ) as_myself=$0 ;;
13065  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13066for as_dir in $PATH
13067do
13068  IFS=$as_save_IFS
13069  test -z "$as_dir" && as_dir=.
13070    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13071  done
13072IFS=$as_save_IFS
13073
13074     ;;
13075esac
13076# We did not find ourselves, most probably we were run as `sh COMMAND'
13077# in which case we are not to be found in the path.
13078if test "x$as_myself" = x; then
13079  as_myself=$0
13080fi
13081if test ! -f "$as_myself"; then
13082  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13083  exit 1
13084fi
13085
13086# Unset variables that we do not need and which cause bugs (e.g. in
13087# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
13088# suppresses any "Segmentation fault" message there.  '((' could
13089# trigger a bug in pdksh 5.2.14.
13090for as_var in BASH_ENV ENV MAIL MAILPATH
13091do eval test x\${$as_var+set} = xset \
13092  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13093done
13094PS1='$ '
13095PS2='> '
13096PS4='+ '
13097
13098# NLS nuisances.
13099LC_ALL=C
13100export LC_ALL
13101LANGUAGE=C
13102export LANGUAGE
13103
13104# CDPATH.
13105(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13106
13107
13108# as_fn_error STATUS ERROR [LINENO LOG_FD]
13109# ----------------------------------------
13110# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13111# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13112# script with STATUS, using 1 if that was 0.
13113as_fn_error ()
13114{
13115  as_status=$1; test $as_status -eq 0 && as_status=1
13116  if test "$4"; then
13117    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13118    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13119  fi
13120  $as_echo "$as_me: error: $2" >&2
13121  as_fn_exit $as_status
13122} # as_fn_error
13123
13124
13125# as_fn_set_status STATUS
13126# -----------------------
13127# Set $? to STATUS, without forking.
13128as_fn_set_status ()
13129{
13130  return $1
13131} # as_fn_set_status
13132
13133# as_fn_exit STATUS
13134# -----------------
13135# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13136as_fn_exit ()
13137{
13138  set +e
13139  as_fn_set_status $1
13140  exit $1
13141} # as_fn_exit
13142
13143# as_fn_unset VAR
13144# ---------------
13145# Portably unset VAR.
13146as_fn_unset ()
13147{
13148  { eval $1=; unset $1;}
13149}
13150as_unset=as_fn_unset
13151# as_fn_append VAR VALUE
13152# ----------------------
13153# Append the text in VALUE to the end of the definition contained in VAR. Take
13154# advantage of any shell optimizations that allow amortized linear growth over
13155# repeated appends, instead of the typical quadratic growth present in naive
13156# implementations.
13157if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13158  eval 'as_fn_append ()
13159  {
13160    eval $1+=\$2
13161  }'
13162else
13163  as_fn_append ()
13164  {
13165    eval $1=\$$1\$2
13166  }
13167fi # as_fn_append
13168
13169# as_fn_arith ARG...
13170# ------------------
13171# Perform arithmetic evaluation on the ARGs, and store the result in the
13172# global $as_val. Take advantage of shells that can avoid forks. The arguments
13173# must be portable across $(()) and expr.
13174if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13175  eval 'as_fn_arith ()
13176  {
13177    as_val=$(( $* ))
13178  }'
13179else
13180  as_fn_arith ()
13181  {
13182    as_val=`expr "$@" || test $? -eq 1`
13183  }
13184fi # as_fn_arith
13185
13186
13187if expr a : '\(a\)' >/dev/null 2>&1 &&
13188   test "X`expr 00001 : '.*\(...\)'`" = X001; then
13189  as_expr=expr
13190else
13191  as_expr=false
13192fi
13193
13194if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13195  as_basename=basename
13196else
13197  as_basename=false
13198fi
13199
13200if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13201  as_dirname=dirname
13202else
13203  as_dirname=false
13204fi
13205
13206as_me=`$as_basename -- "$0" ||
13207$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13208	 X"$0" : 'X\(//\)$' \| \
13209	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13210$as_echo X/"$0" |
13211    sed '/^.*\/\([^/][^/]*\)\/*$/{
13212	    s//\1/
13213	    q
13214	  }
13215	  /^X\/\(\/\/\)$/{
13216	    s//\1/
13217	    q
13218	  }
13219	  /^X\/\(\/\).*/{
13220	    s//\1/
13221	    q
13222	  }
13223	  s/.*/./; q'`
13224
13225# Avoid depending upon Character Ranges.
13226as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13227as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13228as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13229as_cr_digits='0123456789'
13230as_cr_alnum=$as_cr_Letters$as_cr_digits
13231
13232ECHO_C= ECHO_N= ECHO_T=
13233case `echo -n x` in #(((((
13234-n*)
13235  case `echo 'xy\c'` in
13236  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
13237  xy)  ECHO_C='\c';;
13238  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
13239       ECHO_T='	';;
13240  esac;;
13241*)
13242  ECHO_N='-n';;
13243esac
13244
13245rm -f conf$$ conf$$.exe conf$$.file
13246if test -d conf$$.dir; then
13247  rm -f conf$$.dir/conf$$.file
13248else
13249  rm -f conf$$.dir
13250  mkdir conf$$.dir 2>/dev/null
13251fi
13252if (echo >conf$$.file) 2>/dev/null; then
13253  if ln -s conf$$.file conf$$ 2>/dev/null; then
13254    as_ln_s='ln -s'
13255    # ... but there are two gotchas:
13256    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13257    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13258    # In both cases, we have to default to `cp -p'.
13259    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13260      as_ln_s='cp -p'
13261  elif ln conf$$.file conf$$ 2>/dev/null; then
13262    as_ln_s=ln
13263  else
13264    as_ln_s='cp -p'
13265  fi
13266else
13267  as_ln_s='cp -p'
13268fi
13269rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13270rmdir conf$$.dir 2>/dev/null
13271
13272
13273# as_fn_mkdir_p
13274# -------------
13275# Create "$as_dir" as a directory, including parents if necessary.
13276as_fn_mkdir_p ()
13277{
13278
13279  case $as_dir in #(
13280  -*) as_dir=./$as_dir;;
13281  esac
13282  test -d "$as_dir" || eval $as_mkdir_p || {
13283    as_dirs=
13284    while :; do
13285      case $as_dir in #(
13286      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13287      *) as_qdir=$as_dir;;
13288      esac
13289      as_dirs="'$as_qdir' $as_dirs"
13290      as_dir=`$as_dirname -- "$as_dir" ||
13291$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13292	 X"$as_dir" : 'X\(//\)[^/]' \| \
13293	 X"$as_dir" : 'X\(//\)$' \| \
13294	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13295$as_echo X"$as_dir" |
13296    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13297	    s//\1/
13298	    q
13299	  }
13300	  /^X\(\/\/\)[^/].*/{
13301	    s//\1/
13302	    q
13303	  }
13304	  /^X\(\/\/\)$/{
13305	    s//\1/
13306	    q
13307	  }
13308	  /^X\(\/\).*/{
13309	    s//\1/
13310	    q
13311	  }
13312	  s/.*/./; q'`
13313      test -d "$as_dir" && break
13314    done
13315    test -z "$as_dirs" || eval "mkdir $as_dirs"
13316  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13317
13318
13319} # as_fn_mkdir_p
13320if mkdir -p . 2>/dev/null; then
13321  as_mkdir_p='mkdir -p "$as_dir"'
13322else
13323  test -d ./-p && rmdir ./-p
13324  as_mkdir_p=false
13325fi
13326
13327if test -x / >/dev/null 2>&1; then
13328  as_test_x='test -x'
13329else
13330  if ls -dL / >/dev/null 2>&1; then
13331    as_ls_L_option=L
13332  else
13333    as_ls_L_option=
13334  fi
13335  as_test_x='
13336    eval sh -c '\''
13337      if test -d "$1"; then
13338	test -d "$1/.";
13339      else
13340	case $1 in #(
13341	-*)set "./$1";;
13342	esac;
13343	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
13344	???[sx]*):;;*)false;;esac;fi
13345    '\'' sh
13346  '
13347fi
13348as_executable_p=$as_test_x
13349
13350# Sed expression to map a string onto a valid CPP name.
13351as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13352
13353# Sed expression to map a string onto a valid variable name.
13354as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13355
13356
13357exec 6>&1
13358## ----------------------------------- ##
13359## Main body of $CONFIG_STATUS script. ##
13360## ----------------------------------- ##
13361_ASEOF
13362test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13363
13364cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13365# Save the log message, to keep $0 and so on meaningful, and to
13366# report actual input values of CONFIG_FILES etc. instead of their
13367# values after options handling.
13368ac_log="
13369This file was extended by swfScanner $as_me 0.5.0, which was
13370generated by GNU Autoconf 2.67.  Invocation command line was
13371
13372  CONFIG_FILES    = $CONFIG_FILES
13373  CONFIG_HEADERS  = $CONFIG_HEADERS
13374  CONFIG_LINKS    = $CONFIG_LINKS
13375  CONFIG_COMMANDS = $CONFIG_COMMANDS
13376  $ $0 $@
13377
13378on `(hostname || uname -n) 2>/dev/null | sed 1q`
13379"
13380
13381_ACEOF
13382
13383case $ac_config_files in *"
13384"*) set x $ac_config_files; shift; ac_config_files=$*;;
13385esac
13386
13387case $ac_config_headers in *"
13388"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13389esac
13390
13391
13392cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13393# Files that config.status was made for.
13394config_files="$ac_config_files"
13395config_headers="$ac_config_headers"
13396config_commands="$ac_config_commands"
13397
13398_ACEOF
13399
13400cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13401ac_cs_usage="\
13402\`$as_me' instantiates files and other configuration actions
13403from templates according to the current configuration.  Unless the files
13404and actions are specified as TAGs, all are instantiated by default.
13405
13406Usage: $0 [OPTION]... [TAG]...
13407
13408  -h, --help       print this help, then exit
13409  -V, --version    print version number and configuration settings, then exit
13410      --config     print configuration, then exit
13411  -q, --quiet, --silent
13412                   do not print progress messages
13413  -d, --debug      don't remove temporary files
13414      --recheck    update $as_me by reconfiguring in the same conditions
13415      --file=FILE[:TEMPLATE]
13416                   instantiate the configuration file FILE
13417      --header=FILE[:TEMPLATE]
13418                   instantiate the configuration header FILE
13419
13420Configuration files:
13421$config_files
13422
13423Configuration headers:
13424$config_headers
13425
13426Configuration commands:
13427$config_commands
13428
13429Report bugs to <https://sourceforge.net/apps/trac/razorbacktm/>."
13430
13431_ACEOF
13432cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13433ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13434ac_cs_version="\\
13435swfScanner config.status 0.5.0
13436configured by $0, generated by GNU Autoconf 2.67,
13437  with options \\"\$ac_cs_config\\"
13438
13439Copyright (C) 2010 Free Software Foundation, Inc.
13440This config.status script is free software; the Free Software Foundation
13441gives unlimited permission to copy, distribute and modify it."
13442
13443ac_pwd='$ac_pwd'
13444srcdir='$srcdir'
13445INSTALL='$INSTALL'
13446MKDIR_P='$MKDIR_P'
13447AWK='$AWK'
13448test -n "\$AWK" || AWK=awk
13449_ACEOF
13450
13451cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13452# The default lists apply if the user does not specify any file.
13453ac_need_defaults=:
13454while test $# != 0
13455do
13456  case $1 in
13457  --*=?*)
13458    ac_option=`expr "X$1" : 'X\([^=]*\)='`
13459    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13460    ac_shift=:
13461    ;;
13462  --*=)
13463    ac_option=`expr "X$1" : 'X\([^=]*\)='`
13464    ac_optarg=
13465    ac_shift=:
13466    ;;
13467  *)
13468    ac_option=$1
13469    ac_optarg=$2
13470    ac_shift=shift
13471    ;;
13472  esac
13473
13474  case $ac_option in
13475  # Handling of the options.
13476  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13477    ac_cs_recheck=: ;;
13478  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13479    $as_echo "$ac_cs_version"; exit ;;
13480  --config | --confi | --conf | --con | --co | --c )
13481    $as_echo "$ac_cs_config"; exit ;;
13482  --debug | --debu | --deb | --de | --d | -d )
13483    debug=: ;;
13484  --file | --fil | --fi | --f )
13485    $ac_shift
13486    case $ac_optarg in
13487    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13488    '') as_fn_error $? "missing file argument" ;;
13489    esac
13490    as_fn_append CONFIG_FILES " '$ac_optarg'"
13491    ac_need_defaults=false;;
13492  --header | --heade | --head | --hea )
13493    $ac_shift
13494    case $ac_optarg in
13495    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13496    esac
13497    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13498    ac_need_defaults=false;;
13499  --he | --h)
13500    # Conflict between --help and --header
13501    as_fn_error $? "ambiguous option: \`$1'
13502Try \`$0 --help' for more information.";;
13503  --help | --hel | -h )
13504    $as_echo "$ac_cs_usage"; exit ;;
13505  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13506  | -silent | --silent | --silen | --sile | --sil | --si | --s)
13507    ac_cs_silent=: ;;
13508
13509  # This is an error.
13510  -*) as_fn_error $? "unrecognized option: \`$1'
13511Try \`$0 --help' for more information." ;;
13512
13513  *) as_fn_append ac_config_targets " $1"
13514     ac_need_defaults=false ;;
13515
13516  esac
13517  shift
13518done
13519
13520ac_configure_extra_args=
13521
13522if $ac_cs_silent; then
13523  exec 6>/dev/null
13524  ac_configure_extra_args="$ac_configure_extra_args --silent"
13525fi
13526
13527_ACEOF
13528cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13529if \$ac_cs_recheck; then
13530  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13531  shift
13532  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13533  CONFIG_SHELL='$SHELL'
13534  export CONFIG_SHELL
13535  exec "\$@"
13536fi
13537
13538_ACEOF
13539cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13540exec 5>>config.log
13541{
13542  echo
13543  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13544## Running $as_me. ##
13545_ASBOX
13546  $as_echo "$ac_log"
13547} >&5
13548
13549_ACEOF
13550cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13551#
13552# INIT-COMMANDS
13553#
13554AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13555
13556
13557# The HP-UX ksh and POSIX shell print the target directory to stdout
13558# if CDPATH is set.
13559(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13560
13561sed_quote_subst='$sed_quote_subst'
13562double_quote_subst='$double_quote_subst'
13563delay_variable_subst='$delay_variable_subst'
13564macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
13565macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
13566enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
13567enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
13568pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
13569enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
13570host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
13571host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
13572host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
13573build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
13574build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
13575build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
13576SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
13577Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
13578GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
13579EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
13580FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
13581LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
13582NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
13583LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
13584max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
13585ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
13586exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
13587lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
13588lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
13589lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
13590reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
13591reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13592OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
13593deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
13594file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
13595AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
13596AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13597STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
13598RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
13599old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13600old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13601old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13602CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
13603CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13604compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
13605GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
13606lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
13607lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
13608lt_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"`'
13609lt_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"`'
13610objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
13611SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
13612ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
13613MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
13614lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
13615lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
13616lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
13617lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
13618lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
13619need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
13620DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
13621NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
13622LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
13623OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
13624OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
13625libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
13626shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13627extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13628archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
13629enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
13630export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13631whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13632compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
13633old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13634old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13635archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13636archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13637module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13638module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13639with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
13640allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13641no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13642hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13643hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
13644hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
13645hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
13646hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
13647hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
13648hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13649hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
13650inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
13651link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
13652fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
13653always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
13654export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13655exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13656include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13657prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13658file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
13659variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
13660need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
13661need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
13662version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
13663runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13664shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13665shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
13666libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13667library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
13668soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13669postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13670postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13671finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13672finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
13673hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
13674sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13675sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13676hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
13677enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
13678enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
13679enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
13680old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
13681striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
13682
13683LTCC='$LTCC'
13684LTCFLAGS='$LTCFLAGS'
13685compiler='$compiler_DEFAULT'
13686
13687# Quote evaled strings.
13688for var in SED \
13689GREP \
13690EGREP \
13691FGREP \
13692LD \
13693NM \
13694LN_S \
13695lt_SP2NL \
13696lt_NL2SP \
13697reload_flag \
13698OBJDUMP \
13699deplibs_check_method \
13700file_magic_cmd \
13701AR \
13702AR_FLAGS \
13703STRIP \
13704RANLIB \
13705CC \
13706CFLAGS \
13707compiler \
13708lt_cv_sys_global_symbol_pipe \
13709lt_cv_sys_global_symbol_to_cdecl \
13710lt_cv_sys_global_symbol_to_c_name_address \
13711lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13712SHELL \
13713ECHO \
13714lt_prog_compiler_no_builtin_flag \
13715lt_prog_compiler_wl \
13716lt_prog_compiler_pic \
13717lt_prog_compiler_static \
13718lt_cv_prog_compiler_c_o \
13719need_locks \
13720DSYMUTIL \
13721NMEDIT \
13722LIPO \
13723OTOOL \
13724OTOOL64 \
13725shrext_cmds \
13726export_dynamic_flag_spec \
13727whole_archive_flag_spec \
13728compiler_needs_object \
13729with_gnu_ld \
13730allow_undefined_flag \
13731no_undefined_flag \
13732hardcode_libdir_flag_spec \
13733hardcode_libdir_flag_spec_ld \
13734hardcode_libdir_separator \
13735fix_srcfile_path \
13736exclude_expsyms \
13737include_expsyms \
13738file_list_spec \
13739variables_saved_for_relink \
13740libname_spec \
13741library_names_spec \
13742soname_spec \
13743finish_eval \
13744old_striplib \
13745striplib; do
13746    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13747    *[\\\\\\\`\\"\\\$]*)
13748      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13749      ;;
13750    *)
13751      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13752      ;;
13753    esac
13754done
13755
13756# Double-quote double-evaled strings.
13757for var in reload_cmds \
13758old_postinstall_cmds \
13759old_postuninstall_cmds \
13760old_archive_cmds \
13761extract_expsyms_cmds \
13762old_archive_from_new_cmds \
13763old_archive_from_expsyms_cmds \
13764archive_cmds \
13765archive_expsym_cmds \
13766module_cmds \
13767module_expsym_cmds \
13768export_symbols_cmds \
13769prelink_cmds \
13770postinstall_cmds \
13771postuninstall_cmds \
13772finish_cmds \
13773sys_lib_search_path_spec \
13774sys_lib_dlsearch_path_spec; do
13775    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13776    *[\\\\\\\`\\"\\\$]*)
13777      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13778      ;;
13779    *)
13780      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13781      ;;
13782    esac
13783done
13784
13785# Fix-up fallback echo if it was mangled by the above quoting rules.
13786case \$lt_ECHO in
13787*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
13788  ;;
13789esac
13790
13791ac_aux_dir='$ac_aux_dir'
13792xsi_shell='$xsi_shell'
13793lt_shell_append='$lt_shell_append'
13794
13795# See if we are running on zsh, and set the options which allow our
13796# commands through without removal of \ escapes INIT.
13797if test -n "\${ZSH_VERSION+set}" ; then
13798   setopt NO_GLOB_SUBST
13799fi
13800
13801
13802    PACKAGE='$PACKAGE'
13803    VERSION='$VERSION'
13804    TIMESTAMP='$TIMESTAMP'
13805    RM='$RM'
13806    ofile='$ofile'
13807
13808
13809
13810
13811_ACEOF
13812
13813cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13814
13815# Handling of arguments.
13816for ac_config_target in $ac_config_targets
13817do
13818  case $ac_config_target in
13819    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
13820    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13821    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13822    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13823    "etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
13824    "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
13825    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
13826
13827  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
13828  esac
13829done
13830
13831
13832# If the user did not use the arguments to specify the items to instantiate,
13833# then the envvar interface is used.  Set only those that are not.
13834# We use the long form for the default assignment because of an extremely
13835# bizarre bug on SunOS 4.1.3.
13836if $ac_need_defaults; then
13837  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13838  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13839  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13840fi
13841
13842# Have a temporary directory for convenience.  Make it in the build tree
13843# simply because there is no reason against having it here, and in addition,
13844# creating and moving files from /tmp can sometimes cause problems.
13845# Hook for its removal unless debugging.
13846# Note that there is a small window in which the directory will not be cleaned:
13847# after its creation but before its name has been assigned to `$tmp'.
13848$debug ||
13849{
13850  tmp=
13851  trap 'exit_status=$?
13852  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13853' 0
13854  trap 'as_fn_exit 1' 1 2 13 15
13855}
13856# Create a (secure) tmp directory for tmp files.
13857
13858{
13859  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13860  test -n "$tmp" && test -d "$tmp"
13861}  ||
13862{
13863  tmp=./conf$$-$RANDOM
13864  (umask 077 && mkdir "$tmp")
13865} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
13866
13867# Set up the scripts for CONFIG_FILES section.
13868# No need to generate them if there are no CONFIG_FILES.
13869# This happens for instance with `./config.status config.h'.
13870if test -n "$CONFIG_FILES"; then
13871
13872
13873ac_cr=`echo X | tr X '\015'`
13874# On cygwin, bash can eat \r inside `` if the user requested igncr.
13875# But we know of no other shell where ac_cr would be empty at this
13876# point, so we can use a bashism as a fallback.
13877if test "x$ac_cr" = x; then
13878  eval ac_cr=\$\'\\r\'
13879fi
13880ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13881if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13882  ac_cs_awk_cr='\\r'
13883else
13884  ac_cs_awk_cr=$ac_cr
13885fi
13886
13887echo 'BEGIN {' >"$tmp/subs1.awk" &&
13888_ACEOF
13889
13890
13891{
13892  echo "cat >conf$$subs.awk <<_ACEOF" &&
13893  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13894  echo "_ACEOF"
13895} >conf$$subs.sh ||
13896  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13897ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13898ac_delim='%!_!# '
13899for ac_last_try in false false false false false :; do
13900  . ./conf$$subs.sh ||
13901    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13902
13903  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13904  if test $ac_delim_n = $ac_delim_num; then
13905    break
13906  elif $ac_last_try; then
13907    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13908  else
13909    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13910  fi
13911done
13912rm -f conf$$subs.sh
13913
13914cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13915cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
13916_ACEOF
13917sed -n '
13918h
13919s/^/S["/; s/!.*/"]=/
13920p
13921g
13922s/^[^!]*!//
13923:repl
13924t repl
13925s/'"$ac_delim"'$//
13926t delim
13927:nl
13928h
13929s/\(.\{148\}\)..*/\1/
13930t more1
13931s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13932p
13933n
13934b repl
13935:more1
13936s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13937p
13938g
13939s/.\{148\}//
13940t nl
13941:delim
13942h
13943s/\(.\{148\}\)..*/\1/
13944t more2
13945s/["\\]/\\&/g; s/^/"/; s/$/"/
13946p
13947b
13948:more2
13949s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13950p
13951g
13952s/.\{148\}//
13953t delim
13954' <conf$$subs.awk | sed '
13955/^[^""]/{
13956  N
13957  s/\n//
13958}
13959' >>$CONFIG_STATUS || ac_write_fail=1
13960rm -f conf$$subs.awk
13961cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13962_ACAWK
13963cat >>"\$tmp/subs1.awk" <<_ACAWK &&
13964  for (key in S) S_is_set[key] = 1
13965  FS = ""
13966
13967}
13968{
13969  line = $ 0
13970  nfields = split(line, field, "@")
13971  substed = 0
13972  len = length(field[1])
13973  for (i = 2; i < nfields; i++) {
13974    key = field[i]
13975    keylen = length(key)
13976    if (S_is_set[key]) {
13977      value = S[key]
13978      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13979      len += length(value) + length(field[++i])
13980      substed = 1
13981    } else
13982      len += 1 + keylen
13983  }
13984
13985  print line
13986}
13987
13988_ACAWK
13989_ACEOF
13990cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13991if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13992  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
13993else
13994  cat
13995fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
13996  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
13997_ACEOF
13998
13999# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14000# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14001# trailing colons and then remove the whole line if VPATH becomes empty
14002# (actually we leave an empty line to preserve line numbers).
14003if test "x$srcdir" = x.; then
14004  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
14005h
14006s///
14007s/^/:/
14008s/[	 ]*$/:/
14009s/:\$(srcdir):/:/g
14010s/:\${srcdir}:/:/g
14011s/:@srcdir@:/:/g
14012s/^:*//
14013s/:*$//
14014x
14015s/\(=[	 ]*\).*/\1/
14016G
14017s/\n//
14018s/^[^=]*=[	 ]*$//
14019}'
14020fi
14021
14022cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14023fi # test -n "$CONFIG_FILES"
14024
14025# Set up the scripts for CONFIG_HEADERS section.
14026# No need to generate them if there are no CONFIG_HEADERS.
14027# This happens for instance with `./config.status Makefile'.
14028if test -n "$CONFIG_HEADERS"; then
14029cat >"$tmp/defines.awk" <<\_ACAWK ||
14030BEGIN {
14031_ACEOF
14032
14033# Transform confdefs.h into an awk script `defines.awk', embedded as
14034# here-document in config.status, that substitutes the proper values into
14035# config.h.in to produce config.h.
14036
14037# Create a delimiter string that does not exist in confdefs.h, to ease
14038# handling of long lines.
14039ac_delim='%!_!# '
14040for ac_last_try in false false :; do
14041  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
14042  if test -z "$ac_t"; then
14043    break
14044  elif $ac_last_try; then
14045    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14046  else
14047    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14048  fi
14049done
14050
14051# For the awk script, D is an array of macro values keyed by name,
14052# likewise P contains macro parameters if any.  Preserve backslash
14053# newline sequences.
14054
14055ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14056sed -n '
14057s/.\{148\}/&'"$ac_delim"'/g
14058t rset
14059:rset
14060s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
14061t def
14062d
14063:def
14064s/\\$//
14065t bsnl
14066s/["\\]/\\&/g
14067s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
14068D["\1"]=" \3"/p
14069s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
14070d
14071:bsnl
14072s/["\\]/\\&/g
14073s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
14074D["\1"]=" \3\\\\\\n"\\/p
14075t cont
14076s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14077t cont
14078d
14079:cont
14080n
14081s/.\{148\}/&'"$ac_delim"'/g
14082t clear
14083:clear
14084s/\\$//
14085t bsnlc
14086s/["\\]/\\&/g; s/^/"/; s/$/"/p
14087d
14088:bsnlc
14089s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14090b cont
14091' <confdefs.h | sed '
14092s/'"$ac_delim"'/"\\\
14093"/g' >>$CONFIG_STATUS || ac_write_fail=1
14094
14095cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14096  for (key in D) D_is_set[key] = 1
14097  FS = ""
14098}
14099/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14100  line = \$ 0
14101  split(line, arg, " ")
14102  if (arg[1] == "#") {
14103    defundef = arg[2]
14104    mac1 = arg[3]
14105  } else {
14106    defundef = substr(arg[1], 2)
14107    mac1 = arg[2]
14108  }
14109  split(mac1, mac2, "(") #)
14110  macro = mac2[1]
14111  prefix = substr(line, 1, index(line, defundef) - 1)
14112  if (D_is_set[macro]) {
14113    # Preserve the white space surrounding the "#".
14114    print prefix "define", macro P[macro] D[macro]
14115    next
14116  } else {
14117    # Replace #undef with comments.  This is necessary, for example,
14118    # in the case of _POSIX_SOURCE, which is predefined and required
14119    # on some systems where configure will not decide to define it.
14120    if (defundef == "undef") {
14121      print "/*", prefix defundef, macro, "*/"
14122      next
14123    }
14124  }
14125}
14126{ print }
14127_ACAWK
14128_ACEOF
14129cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14130  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
14131fi # test -n "$CONFIG_HEADERS"
14132
14133
14134eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
14135shift
14136for ac_tag
14137do
14138  case $ac_tag in
14139  :[FHLC]) ac_mode=$ac_tag; continue;;
14140  esac
14141  case $ac_mode$ac_tag in
14142  :[FHL]*:*);;
14143  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
14144  :[FH]-) ac_tag=-:-;;
14145  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14146  esac
14147  ac_save_IFS=$IFS
14148  IFS=:
14149  set x $ac_tag
14150  IFS=$ac_save_IFS
14151  shift
14152  ac_file=$1
14153  shift
14154
14155  case $ac_mode in
14156  :L) ac_source=$1;;
14157  :[FH])
14158    ac_file_inputs=
14159    for ac_f
14160    do
14161      case $ac_f in
14162      -) ac_f="$tmp/stdin";;
14163      *) # Look for the file first in the build tree, then in the source tree
14164	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
14165	 # because $ac_f cannot contain `:'.
14166	 test -f "$ac_f" ||
14167	   case $ac_f in
14168	   [\\/$]*) false;;
14169	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14170	   esac ||
14171	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
14172      esac
14173      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14174      as_fn_append ac_file_inputs " '$ac_f'"
14175    done
14176
14177    # Let's still pretend it is `configure' which instantiates (i.e., don't
14178    # use $as_me), people would be surprised to read:
14179    #    /* config.h.  Generated by config.status.  */
14180    configure_input='Generated from '`
14181	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14182	`' by configure.'
14183    if test x"$ac_file" != x-; then
14184      configure_input="$ac_file.  $configure_input"
14185      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14186$as_echo "$as_me: creating $ac_file" >&6;}
14187    fi
14188    # Neutralize special characters interpreted by sed in replacement strings.
14189    case $configure_input in #(
14190    *\&* | *\|* | *\\* )
14191       ac_sed_conf_input=`$as_echo "$configure_input" |
14192       sed 's/[\\\\&|]/\\\\&/g'`;; #(
14193    *) ac_sed_conf_input=$configure_input;;
14194    esac
14195
14196    case $ac_tag in
14197    *:-:* | *:-) cat >"$tmp/stdin" \
14198      || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
14199    esac
14200    ;;
14201  esac
14202
14203  ac_dir=`$as_dirname -- "$ac_file" ||
14204$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14205	 X"$ac_file" : 'X\(//\)[^/]' \| \
14206	 X"$ac_file" : 'X\(//\)$' \| \
14207	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14208$as_echo X"$ac_file" |
14209    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14210	    s//\1/
14211	    q
14212	  }
14213	  /^X\(\/\/\)[^/].*/{
14214	    s//\1/
14215	    q
14216	  }
14217	  /^X\(\/\/\)$/{
14218	    s//\1/
14219	    q
14220	  }
14221	  /^X\(\/\).*/{
14222	    s//\1/
14223	    q
14224	  }
14225	  s/.*/./; q'`
14226  as_dir="$ac_dir"; as_fn_mkdir_p
14227  ac_builddir=.
14228
14229case "$ac_dir" in
14230.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14231*)
14232  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14233  # A ".." for each directory in $ac_dir_suffix.
14234  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14235  case $ac_top_builddir_sub in
14236  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14237  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14238  esac ;;
14239esac
14240ac_abs_top_builddir=$ac_pwd
14241ac_abs_builddir=$ac_pwd$ac_dir_suffix
14242# for backward compatibility:
14243ac_top_builddir=$ac_top_build_prefix
14244
14245case $srcdir in
14246  .)  # We are building in place.
14247    ac_srcdir=.
14248    ac_top_srcdir=$ac_top_builddir_sub
14249    ac_abs_top_srcdir=$ac_pwd ;;
14250  [\\/]* | ?:[\\/]* )  # Absolute name.
14251    ac_srcdir=$srcdir$ac_dir_suffix;
14252    ac_top_srcdir=$srcdir
14253    ac_abs_top_srcdir=$srcdir ;;
14254  *) # Relative name.
14255    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14256    ac_top_srcdir=$ac_top_build_prefix$srcdir
14257    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14258esac
14259ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14260
14261
14262  case $ac_mode in
14263  :F)
14264  #
14265  # CONFIG_FILE
14266  #
14267
14268  case $INSTALL in
14269  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14270  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14271  esac
14272  ac_MKDIR_P=$MKDIR_P
14273  case $MKDIR_P in
14274  [\\/$]* | ?:[\\/]* ) ;;
14275  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14276  esac
14277_ACEOF
14278
14279cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14280# If the template does not know about datarootdir, expand it.
14281# FIXME: This hack should be removed a few years after 2.60.
14282ac_datarootdir_hack=; ac_datarootdir_seen=
14283ac_sed_dataroot='
14284/datarootdir/ {
14285  p
14286  q
14287}
14288/@datadir@/p
14289/@docdir@/p
14290/@infodir@/p
14291/@localedir@/p
14292/@mandir@/p'
14293case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14294*datarootdir*) ac_datarootdir_seen=yes;;
14295*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14296  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14297$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14298_ACEOF
14299cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14300  ac_datarootdir_hack='
14301  s&@datadir@&$datadir&g
14302  s&@docdir@&$docdir&g
14303  s&@infodir@&$infodir&g
14304  s&@localedir@&$localedir&g
14305  s&@mandir@&$mandir&g
14306  s&\\\${datarootdir}&$datarootdir&g' ;;
14307esac
14308_ACEOF
14309
14310# Neutralize VPATH when `$srcdir' = `.'.
14311# Shell code in configure.ac might set extrasub.
14312# FIXME: do we really want to maintain this feature?
14313cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14314ac_sed_extra="$ac_vpsub
14315$extrasub
14316_ACEOF
14317cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14318:t
14319/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14320s|@configure_input@|$ac_sed_conf_input|;t t
14321s&@top_builddir@&$ac_top_builddir_sub&;t t
14322s&@top_build_prefix@&$ac_top_build_prefix&;t t
14323s&@srcdir@&$ac_srcdir&;t t
14324s&@abs_srcdir@&$ac_abs_srcdir&;t t
14325s&@top_srcdir@&$ac_top_srcdir&;t t
14326s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14327s&@builddir@&$ac_builddir&;t t
14328s&@abs_builddir@&$ac_abs_builddir&;t t
14329s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14330s&@INSTALL@&$ac_INSTALL&;t t
14331s&@MKDIR_P@&$ac_MKDIR_P&;t t
14332$ac_datarootdir_hack
14333"
14334eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
14335  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14336
14337test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14338  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
14339  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
14340  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14341which seems to be undefined.  Please make sure it is defined" >&5
14342$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14343which seems to be undefined.  Please make sure it is defined" >&2;}
14344
14345  rm -f "$tmp/stdin"
14346  case $ac_file in
14347  -) cat "$tmp/out" && rm -f "$tmp/out";;
14348  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
14349  esac \
14350  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14351 ;;
14352  :H)
14353  #
14354  # CONFIG_HEADER
14355  #
14356  if test x"$ac_file" != x-; then
14357    {
14358      $as_echo "/* $configure_input  */" \
14359      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
14360    } >"$tmp/config.h" \
14361      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14362    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
14363      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14364$as_echo "$as_me: $ac_file is unchanged" >&6;}
14365    else
14366      rm -f "$ac_file"
14367      mv "$tmp/config.h" "$ac_file" \
14368	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
14369    fi
14370  else
14371    $as_echo "/* $configure_input  */" \
14372      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
14373      || as_fn_error $? "could not create -" "$LINENO" 5
14374  fi
14375# Compute "$ac_file"'s index in $config_headers.
14376_am_arg="$ac_file"
14377_am_stamp_count=1
14378for _am_header in $config_headers :; do
14379  case $_am_header in
14380    $_am_arg | $_am_arg:* )
14381      break ;;
14382    * )
14383      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14384  esac
14385done
14386echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14387$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14388	 X"$_am_arg" : 'X\(//\)[^/]' \| \
14389	 X"$_am_arg" : 'X\(//\)$' \| \
14390	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14391$as_echo X"$_am_arg" |
14392    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14393	    s//\1/
14394	    q
14395	  }
14396	  /^X\(\/\/\)[^/].*/{
14397	    s//\1/
14398	    q
14399	  }
14400	  /^X\(\/\/\)$/{
14401	    s//\1/
14402	    q
14403	  }
14404	  /^X\(\/\).*/{
14405	    s//\1/
14406	    q
14407	  }
14408	  s/.*/./; q'`/stamp-h$_am_stamp_count
14409 ;;
14410
14411  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14412$as_echo "$as_me: executing $ac_file commands" >&6;}
14413 ;;
14414  esac
14415
14416
14417  case $ac_file$ac_mode in
14418    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14419  # Autoconf 2.62 quotes --file arguments for eval, but not when files
14420  # are listed without --file.  Let's play safe and only enable the eval
14421  # if we detect the quoting.
14422  case $CONFIG_FILES in
14423  *\'*) eval set x "$CONFIG_FILES" ;;
14424  *)   set x $CONFIG_FILES ;;
14425  esac
14426  shift
14427  for mf
14428  do
14429    # Strip MF so we end up with the name of the file.
14430    mf=`echo "$mf" | sed -e 's/:.*$//'`
14431    # Check whether this is an Automake generated Makefile or not.
14432    # We used to match only the files named `Makefile.in', but
14433    # some people rename them; so instead we look at the file content.
14434    # Grep'ing the first line is not enough: some people post-process
14435    # each Makefile.in and add a new line on top of each file to say so.
14436    # Grep'ing the whole file is not good either: AIX grep has a line
14437    # limit of 2048, but all sed's we know have understand at least 4000.
14438    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14439      dirpart=`$as_dirname -- "$mf" ||
14440$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14441	 X"$mf" : 'X\(//\)[^/]' \| \
14442	 X"$mf" : 'X\(//\)$' \| \
14443	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14444$as_echo X"$mf" |
14445    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14446	    s//\1/
14447	    q
14448	  }
14449	  /^X\(\/\/\)[^/].*/{
14450	    s//\1/
14451	    q
14452	  }
14453	  /^X\(\/\/\)$/{
14454	    s//\1/
14455	    q
14456	  }
14457	  /^X\(\/\).*/{
14458	    s//\1/
14459	    q
14460	  }
14461	  s/.*/./; q'`
14462    else
14463      continue
14464    fi
14465    # Extract the definition of DEPDIR, am__include, and am__quote
14466    # from the Makefile without running `make'.
14467    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14468    test -z "$DEPDIR" && continue
14469    am__include=`sed -n 's/^am__include = //p' < "$mf"`
14470    test -z "am__include" && continue
14471    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14472    # When using ansi2knr, U may be empty or an underscore; expand it
14473    U=`sed -n 's/^U = //p' < "$mf"`
14474    # Find all dependency output files, they are included files with
14475    # $(DEPDIR) in their names.  We invoke sed twice because it is the
14476    # simplest approach to changing $(DEPDIR) to its actual value in the
14477    # expansion.
14478    for file in `sed -n "
14479      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14480	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14481      # Make sure the directory exists.
14482      test -f "$dirpart/$file" && continue
14483      fdir=`$as_dirname -- "$file" ||
14484$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14485	 X"$file" : 'X\(//\)[^/]' \| \
14486	 X"$file" : 'X\(//\)$' \| \
14487	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14488$as_echo X"$file" |
14489    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14490	    s//\1/
14491	    q
14492	  }
14493	  /^X\(\/\/\)[^/].*/{
14494	    s//\1/
14495	    q
14496	  }
14497	  /^X\(\/\/\)$/{
14498	    s//\1/
14499	    q
14500	  }
14501	  /^X\(\/\).*/{
14502	    s//\1/
14503	    q
14504	  }
14505	  s/.*/./; q'`
14506      as_dir=$dirpart/$fdir; as_fn_mkdir_p
14507      # echo "creating $dirpart/$file"
14508      echo '# dummy' > "$dirpart/$file"
14509    done
14510  done
14511}
14512 ;;
14513    "libtool":C)
14514
14515    # See if we are running on zsh, and set the options which allow our
14516    # commands through without removal of \ escapes.
14517    if test -n "${ZSH_VERSION+set}" ; then
14518      setopt NO_GLOB_SUBST
14519    fi
14520
14521    cfgfile="${ofile}T"
14522    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14523    $RM "$cfgfile"
14524
14525    cat <<_LT_EOF >> "$cfgfile"
14526#! $SHELL
14527
14528# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14529# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14530# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14531# NOTE: Changes made to this file will be lost: look at ltmain.sh.
14532#
14533#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14534#                 2006, 2007, 2008 Free Software Foundation, Inc.
14535#   Written by Gordon Matzigkeit, 1996
14536#
14537#   This file is part of GNU Libtool.
14538#
14539# GNU Libtool is free software; you can redistribute it and/or
14540# modify it under the terms of the GNU General Public License as
14541# published by the Free Software Foundation; either version 2 of
14542# the License, or (at your option) any later version.
14543#
14544# As a special exception to the GNU General Public License,
14545# if you distribute this file as part of a program or library that
14546# is built using GNU Libtool, you may include this file under the
14547# same distribution terms that you use for the rest of that program.
14548#
14549# GNU Libtool is distributed in the hope that it will be useful,
14550# but WITHOUT ANY WARRANTY; without even the implied warranty of
14551# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14552# GNU General Public License for more details.
14553#
14554# You should have received a copy of the GNU General Public License
14555# along with GNU Libtool; see the file COPYING.  If not, a copy
14556# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14557# obtained by writing to the Free Software Foundation, Inc.,
14558# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14559
14560
14561# The names of the tagged configurations supported by this script.
14562available_tags=""
14563
14564# ### BEGIN LIBTOOL CONFIG
14565
14566# Which release of libtool.m4 was used?
14567macro_version=$macro_version
14568macro_revision=$macro_revision
14569
14570# Whether or not to build shared libraries.
14571build_libtool_libs=$enable_shared
14572
14573# Whether or not to build static libraries.
14574build_old_libs=$enable_static
14575
14576# What type of objects to build.
14577pic_mode=$pic_mode
14578
14579# Whether or not to optimize for fast installation.
14580fast_install=$enable_fast_install
14581
14582# The host system.
14583host_alias=$host_alias
14584host=$host
14585host_os=$host_os
14586
14587# The build system.
14588build_alias=$build_alias
14589build=$build
14590build_os=$build_os
14591
14592# A sed program that does not truncate output.
14593SED=$lt_SED
14594
14595# Sed that helps us avoid accidentally triggering echo(1) options like -n.
14596Xsed="\$SED -e 1s/^X//"
14597
14598# A grep program that handles long lines.
14599GREP=$lt_GREP
14600
14601# An ERE matcher.
14602EGREP=$lt_EGREP
14603
14604# A literal string matcher.
14605FGREP=$lt_FGREP
14606
14607# A BSD- or MS-compatible name lister.
14608NM=$lt_NM
14609
14610# Whether we need soft or hard links.
14611LN_S=$lt_LN_S
14612
14613# What is the maximum length of a command?
14614max_cmd_len=$max_cmd_len
14615
14616# Object file suffix (normally "o").
14617objext=$ac_objext
14618
14619# Executable file suffix (normally "").
14620exeext=$exeext
14621
14622# whether the shell understands "unset".
14623lt_unset=$lt_unset
14624
14625# turn spaces into newlines.
14626SP2NL=$lt_lt_SP2NL
14627
14628# turn newlines into spaces.
14629NL2SP=$lt_lt_NL2SP
14630
14631# How to create reloadable object files.
14632reload_flag=$lt_reload_flag
14633reload_cmds=$lt_reload_cmds
14634
14635# An object symbol dumper.
14636OBJDUMP=$lt_OBJDUMP
14637
14638# Method to check whether dependent libraries are shared objects.
14639deplibs_check_method=$lt_deplibs_check_method
14640
14641# Command to use when deplibs_check_method == "file_magic".
14642file_magic_cmd=$lt_file_magic_cmd
14643
14644# The archiver.
14645AR=$lt_AR
14646AR_FLAGS=$lt_AR_FLAGS
14647
14648# A symbol stripping program.
14649STRIP=$lt_STRIP
14650
14651# Commands used to install an old-style archive.
14652RANLIB=$lt_RANLIB
14653old_postinstall_cmds=$lt_old_postinstall_cmds
14654old_postuninstall_cmds=$lt_old_postuninstall_cmds
14655
14656# A C compiler.
14657LTCC=$lt_CC
14658
14659# LTCC compiler flags.
14660LTCFLAGS=$lt_CFLAGS
14661
14662# Take the output of nm and produce a listing of raw symbols and C names.
14663global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14664
14665# Transform the output of nm in a proper C declaration.
14666global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14667
14668# Transform the output of nm in a C name address pair.
14669global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14670
14671# Transform the output of nm in a C name address pair when lib prefix is needed.
14672global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14673
14674# The name of the directory that contains temporary libtool files.
14675objdir=$objdir
14676
14677# Shell to use when invoking shell scripts.
14678SHELL=$lt_SHELL
14679
14680# An echo program that does not interpret backslashes.
14681ECHO=$lt_ECHO
14682
14683# Used to examine libraries when file_magic_cmd begins with "file".
14684MAGIC_CMD=$MAGIC_CMD
14685
14686# Must we lock files when doing compilation?
14687need_locks=$lt_need_locks
14688
14689# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14690DSYMUTIL=$lt_DSYMUTIL
14691
14692# Tool to change global to local symbols on Mac OS X.
14693NMEDIT=$lt_NMEDIT
14694
14695# Tool to manipulate fat objects and archives on Mac OS X.
14696LIPO=$lt_LIPO
14697
14698# ldd/readelf like tool for Mach-O binaries on Mac OS X.
14699OTOOL=$lt_OTOOL
14700
14701# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14702OTOOL64=$lt_OTOOL64
14703
14704# Old archive suffix (normally "a").
14705libext=$libext
14706
14707# Shared library suffix (normally ".so").
14708shrext_cmds=$lt_shrext_cmds
14709
14710# The commands to extract the exported symbol list from a shared archive.
14711extract_expsyms_cmds=$lt_extract_expsyms_cmds
14712
14713# Variables whose values should be saved in libtool wrapper scripts and
14714# restored at link time.
14715variables_saved_for_relink=$lt_variables_saved_for_relink
14716
14717# Do we need the "lib" prefix for modules?
14718need_lib_prefix=$need_lib_prefix
14719
14720# Do we need a version for libraries?
14721need_version=$need_version
14722
14723# Library versioning type.
14724version_type=$version_type
14725
14726# Shared library runtime path variable.
14727runpath_var=$runpath_var
14728
14729# Shared library path variable.
14730shlibpath_var=$shlibpath_var
14731
14732# Is shlibpath searched before the hard-coded library search path?
14733shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14734
14735# Format of library name prefix.
14736libname_spec=$lt_libname_spec
14737
14738# List of archive names.  First name is the real one, the rest are links.
14739# The last name is the one that the linker finds with -lNAME
14740library_names_spec=$lt_library_names_spec
14741
14742# The coded name of the library, if different from the real name.
14743soname_spec=$lt_soname_spec
14744
14745# Command to use after installation of a shared archive.
14746postinstall_cmds=$lt_postinstall_cmds
14747
14748# Command to use after uninstallation of a shared archive.
14749postuninstall_cmds=$lt_postuninstall_cmds
14750
14751# Commands used to finish a libtool library installation in a directory.
14752finish_cmds=$lt_finish_cmds
14753
14754# As "finish_cmds", except a single script fragment to be evaled but
14755# not shown.
14756finish_eval=$lt_finish_eval
14757
14758# Whether we should hardcode library paths into libraries.
14759hardcode_into_libs=$hardcode_into_libs
14760
14761# Compile-time system search path for libraries.
14762sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14763
14764# Run-time system search path for libraries.
14765sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14766
14767# Whether dlopen is supported.
14768dlopen_support=$enable_dlopen
14769
14770# Whether dlopen of programs is supported.
14771dlopen_self=$enable_dlopen_self
14772
14773# Whether dlopen of statically linked programs is supported.
14774dlopen_self_static=$enable_dlopen_self_static
14775
14776# Commands to strip libraries.
14777old_striplib=$lt_old_striplib
14778striplib=$lt_striplib
14779
14780
14781# The linker used to build libraries.
14782LD=$lt_LD
14783
14784# Commands used to build an old-style archive.
14785old_archive_cmds=$lt_old_archive_cmds
14786
14787# A language specific compiler.
14788CC=$lt_compiler
14789
14790# Is the compiler the GNU compiler?
14791with_gcc=$GCC
14792
14793# Compiler flag to turn off builtin functions.
14794no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14795
14796# How to pass a linker flag through the compiler.
14797wl=$lt_lt_prog_compiler_wl
14798
14799# Additional compiler flags for building library objects.
14800pic_flag=$lt_lt_prog_compiler_pic
14801
14802# Compiler flag to prevent dynamic linking.
14803link_static_flag=$lt_lt_prog_compiler_static
14804
14805# Does compiler simultaneously support -c and -o options?
14806compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14807
14808# Whether or not to add -lc for building shared libraries.
14809build_libtool_need_lc=$archive_cmds_need_lc
14810
14811# Whether or not to disallow shared libs when runtime libs are static.
14812allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14813
14814# Compiler flag to allow reflexive dlopens.
14815export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14816
14817# Compiler flag to generate shared objects directly from archives.
14818whole_archive_flag_spec=$lt_whole_archive_flag_spec
14819
14820# Whether the compiler copes with passing no objects directly.
14821compiler_needs_object=$lt_compiler_needs_object
14822
14823# Create an old-style archive from a shared archive.
14824old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14825
14826# Create a temporary old-style archive to link instead of a shared archive.
14827old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14828
14829# Commands used to build a shared archive.
14830archive_cmds=$lt_archive_cmds
14831archive_expsym_cmds=$lt_archive_expsym_cmds
14832
14833# Commands used to build a loadable module if different from building
14834# a shared archive.
14835module_cmds=$lt_module_cmds
14836module_expsym_cmds=$lt_module_expsym_cmds
14837
14838# Whether we are building with GNU ld or not.
14839with_gnu_ld=$lt_with_gnu_ld
14840
14841# Flag that allows shared libraries with undefined symbols to be built.
14842allow_undefined_flag=$lt_allow_undefined_flag
14843
14844# Flag that enforces no undefined symbols.
14845no_undefined_flag=$lt_no_undefined_flag
14846
14847# Flag to hardcode \$libdir into a binary during linking.
14848# This must work even if \$libdir does not exist
14849hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14850
14851# If ld is used when linking, flag to hardcode \$libdir into a binary
14852# during linking.  This must work even if \$libdir does not exist.
14853hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
14854
14855# Whether we need a single "-rpath" flag with a separated argument.
14856hardcode_libdir_separator=$lt_hardcode_libdir_separator
14857
14858# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14859# DIR into the resulting binary.
14860hardcode_direct=$hardcode_direct
14861
14862# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14863# DIR into the resulting binary and the resulting library dependency is
14864# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14865# library is relocated.
14866hardcode_direct_absolute=$hardcode_direct_absolute
14867
14868# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14869# into the resulting binary.
14870hardcode_minus_L=$hardcode_minus_L
14871
14872# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14873# into the resulting binary.
14874hardcode_shlibpath_var=$hardcode_shlibpath_var
14875
14876# Set to "yes" if building a shared library automatically hardcodes DIR
14877# into the library and all subsequent libraries and executables linked
14878# against it.
14879hardcode_automatic=$hardcode_automatic
14880
14881# Set to yes if linker adds runtime paths of dependent libraries
14882# to runtime path list.
14883inherit_rpath=$inherit_rpath
14884
14885# Whether libtool must link a program against all its dependency libraries.
14886link_all_deplibs=$link_all_deplibs
14887
14888# Fix the shell variable \$srcfile for the compiler.
14889fix_srcfile_path=$lt_fix_srcfile_path
14890
14891# Set to "yes" if exported symbols are required.
14892always_export_symbols=$always_export_symbols
14893
14894# The commands to list exported symbols.
14895export_symbols_cmds=$lt_export_symbols_cmds
14896
14897# Symbols that should not be listed in the preloaded symbols.
14898exclude_expsyms=$lt_exclude_expsyms
14899
14900# Symbols that must always be exported.
14901include_expsyms=$lt_include_expsyms
14902
14903# Commands necessary for linking programs (against libraries) with templates.
14904prelink_cmds=$lt_prelink_cmds
14905
14906# Specify filename containing input files.
14907file_list_spec=$lt_file_list_spec
14908
14909# How to hardcode a shared library path into an executable.
14910hardcode_action=$hardcode_action
14911
14912# ### END LIBTOOL CONFIG
14913
14914_LT_EOF
14915
14916  case $host_os in
14917  aix3*)
14918    cat <<\_LT_EOF >> "$cfgfile"
14919# AIX sometimes has problems with the GCC collect2 program.  For some
14920# reason, if we set the COLLECT_NAMES environment variable, the problems
14921# vanish in a puff of smoke.
14922if test "X${COLLECT_NAMES+set}" != Xset; then
14923  COLLECT_NAMES=
14924  export COLLECT_NAMES
14925fi
14926_LT_EOF
14927    ;;
14928  esac
14929
14930
14931ltmain="$ac_aux_dir/ltmain.sh"
14932
14933
14934  # We use sed instead of cat because bash on DJGPP gets confused if
14935  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
14936  # text mode, it properly converts lines to CR/LF.  This bash problem
14937  # is reportedly fixed, but why not run on old versions too?
14938  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
14939    || (rm -f "$cfgfile"; exit 1)
14940
14941  case $xsi_shell in
14942  yes)
14943    cat << \_LT_EOF >> "$cfgfile"
14944
14945# func_dirname file append nondir_replacement
14946# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
14947# otherwise set result to NONDIR_REPLACEMENT.
14948func_dirname ()
14949{
14950  case ${1} in
14951    */*) func_dirname_result="${1%/*}${2}" ;;
14952    *  ) func_dirname_result="${3}" ;;
14953  esac
14954}
14955
14956# func_basename file
14957func_basename ()
14958{
14959  func_basename_result="${1##*/}"
14960}
14961
14962# func_dirname_and_basename file append nondir_replacement
14963# perform func_basename and func_dirname in a single function
14964# call:
14965#   dirname:  Compute the dirname of FILE.  If nonempty,
14966#             add APPEND to the result, otherwise set result
14967#             to NONDIR_REPLACEMENT.
14968#             value returned in "$func_dirname_result"
14969#   basename: Compute filename of FILE.
14970#             value retuned in "$func_basename_result"
14971# Implementation must be kept synchronized with func_dirname
14972# and func_basename. For efficiency, we do not delegate to
14973# those functions but instead duplicate the functionality here.
14974func_dirname_and_basename ()
14975{
14976  case ${1} in
14977    */*) func_dirname_result="${1%/*}${2}" ;;
14978    *  ) func_dirname_result="${3}" ;;
14979  esac
14980  func_basename_result="${1##*/}"
14981}
14982
14983# func_stripname prefix suffix name
14984# strip PREFIX and SUFFIX off of NAME.
14985# PREFIX and SUFFIX must not contain globbing or regex special
14986# characters, hashes, percent signs, but SUFFIX may contain a leading
14987# dot (in which case that matches only a dot).
14988func_stripname ()
14989{
14990  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
14991  # positional parameters, so assign one to ordinary parameter first.
14992  func_stripname_result=${3}
14993  func_stripname_result=${func_stripname_result#"${1}"}
14994  func_stripname_result=${func_stripname_result%"${2}"}
14995}
14996
14997# func_opt_split
14998func_opt_split ()
14999{
15000  func_opt_split_opt=${1%%=*}
15001  func_opt_split_arg=${1#*=}
15002}
15003
15004# func_lo2o object
15005func_lo2o ()
15006{
15007  case ${1} in
15008    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
15009    *)    func_lo2o_result=${1} ;;
15010  esac
15011}
15012
15013# func_xform libobj-or-source
15014func_xform ()
15015{
15016  func_xform_result=${1%.*}.lo
15017}
15018
15019# func_arith arithmetic-term...
15020func_arith ()
15021{
15022  func_arith_result=$(( $* ))
15023}
15024
15025# func_len string
15026# STRING may not start with a hyphen.
15027func_len ()
15028{
15029  func_len_result=${#1}
15030}
15031
15032_LT_EOF
15033    ;;
15034  *) # Bourne compatible functions.
15035    cat << \_LT_EOF >> "$cfgfile"
15036
15037# func_dirname file append nondir_replacement
15038# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
15039# otherwise set result to NONDIR_REPLACEMENT.
15040func_dirname ()
15041{
15042  # Extract subdirectory from the argument.
15043  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
15044  if test "X$func_dirname_result" = "X${1}"; then
15045    func_dirname_result="${3}"
15046  else
15047    func_dirname_result="$func_dirname_result${2}"
15048  fi
15049}
15050
15051# func_basename file
15052func_basename ()
15053{
15054  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
15055}
15056
15057
15058# func_stripname prefix suffix name
15059# strip PREFIX and SUFFIX off of NAME.
15060# PREFIX and SUFFIX must not contain globbing or regex special
15061# characters, hashes, percent signs, but SUFFIX may contain a leading
15062# dot (in which case that matches only a dot).
15063# func_strip_suffix prefix name
15064func_stripname ()
15065{
15066  case ${2} in
15067    .*) func_stripname_result=`$ECHO "X${3}" \
15068           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
15069    *)  func_stripname_result=`$ECHO "X${3}" \
15070           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
15071  esac
15072}
15073
15074# sed scripts:
15075my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
15076my_sed_long_arg='1s/^-[^=]*=//'
15077
15078# func_opt_split
15079func_opt_split ()
15080{
15081  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
15082  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
15083}
15084
15085# func_lo2o object
15086func_lo2o ()
15087{
15088  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
15089}
15090
15091# func_xform libobj-or-source
15092func_xform ()
15093{
15094  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
15095}
15096
15097# func_arith arithmetic-term...
15098func_arith ()
15099{
15100  func_arith_result=`expr "$@"`
15101}
15102
15103# func_len string
15104# STRING may not start with a hyphen.
15105func_len ()
15106{
15107  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
15108}
15109
15110_LT_EOF
15111esac
15112
15113case $lt_shell_append in
15114  yes)
15115    cat << \_LT_EOF >> "$cfgfile"
15116
15117# func_append var value
15118# Append VALUE to the end of shell variable VAR.
15119func_append ()
15120{
15121  eval "$1+=\$2"
15122}
15123_LT_EOF
15124    ;;
15125  *)
15126    cat << \_LT_EOF >> "$cfgfile"
15127
15128# func_append var value
15129# Append VALUE to the end of shell variable VAR.
15130func_append ()
15131{
15132  eval "$1=\$$1\$2"
15133}
15134
15135_LT_EOF
15136    ;;
15137  esac
15138
15139
15140  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
15141    || (rm -f "$cfgfile"; exit 1)
15142
15143  mv -f "$cfgfile" "$ofile" ||
15144    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15145  chmod +x "$ofile"
15146
15147 ;;
15148
15149  esac
15150done # for ac_tag
15151
15152
15153as_fn_exit 0
15154_ACEOF
15155ac_clean_files=$ac_clean_files_save
15156
15157test $ac_write_fail = 0 ||
15158  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15159
15160
15161# configure is writing to config.log, and then calls config.status.
15162# config.status does its own redirection, appending to config.log.
15163# Unfortunately, on DOS this fails, as config.log is still kept open
15164# by configure, so config.status won't be able to write to it; its
15165# output is simply discarded.  So we exec the FD to /dev/null,
15166# effectively closing config.log, so it can be properly (re)opened and
15167# appended to by config.status.  When coming back to configure, we
15168# need to make the FD available again.
15169if test "$no_create" != yes; then
15170  ac_cs_success=:
15171  ac_config_status_args=
15172  test "$silent" = yes &&
15173    ac_config_status_args="$ac_config_status_args --quiet"
15174  exec 5>/dev/null
15175  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15176  exec 5>>config.log
15177  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15178  # would make configure fail if this is the last instruction.
15179  $ac_cs_success || as_fn_exit 1
15180fi
15181if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15182  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15183$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15184fi
15185
15186