configure
author Sam Lantinga <slouken@libsdl.org>
Wed, 17 Apr 2013 01:27:39 -0700
changeset 611 595186c9c0ec
parent 610 05d12cea0253
child 618 2906d3207f34
permissions -rwxr-xr-x
Build music support into the framework
     1 #! /bin/sh
     2 # Guess values for system-dependent variables and create Makefiles.
     3 # Generated by GNU Autoconf 2.68.
     4 #
     5 #
     6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
     7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
     8 # Foundation, Inc.
     9 #
    10 #
    11 # This configure script is free software; the Free Software Foundation
    12 # gives unlimited permission to copy, distribute and modify it.
    13 ## -------------------- ##
    14 ## M4sh Initialization. ##
    15 ## -------------------- ##
    16 
    17 # Be more Bourne compatible
    18 DUALCASE=1; export DUALCASE # for MKS sh
    19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
    20   emulate sh
    21   NULLCMD=:
    22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    23   # is contrary to our usage.  Disable this feature.
    24   alias -g '${1+"$@"}'='"$@"'
    25   setopt NO_GLOB_SUBST
    26 else
    27   case `(set -o) 2>/dev/null` in #(
    28   *posix*) :
    29     set -o posix ;; #(
    30   *) :
    31      ;;
    32 esac
    33 fi
    34 
    35 
    36 as_nl='
    37 '
    38 export as_nl
    39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
    40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
    42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
    43 # Prefer a ksh shell builtin over an external printf program on Solaris,
    44 # but without wasting forks for bash or zsh.
    45 if test -z "$BASH_VERSION$ZSH_VERSION" \
    46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
    47   as_echo='print -r --'
    48   as_echo_n='print -rn --'
    49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
    50   as_echo='printf %s\n'
    51   as_echo_n='printf %s'
    52 else
    53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
    54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
    55     as_echo_n='/usr/ucb/echo -n'
    56   else
    57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
    58     as_echo_n_body='eval
    59       arg=$1;
    60       case $arg in #(
    61       *"$as_nl"*)
    62 	expr "X$arg" : "X\\(.*\\)$as_nl";
    63 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
    64       esac;
    65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
    66     '
    67     export as_echo_n_body
    68     as_echo_n='sh -c $as_echo_n_body as_echo'
    69   fi
    70   export as_echo_body
    71   as_echo='sh -c $as_echo_body as_echo'
    72 fi
    73 
    74 # The user is always right.
    75 if test "${PATH_SEPARATOR+set}" != set; then
    76   PATH_SEPARATOR=:
    77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
    78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
    79       PATH_SEPARATOR=';'
    80   }
    81 fi
    82 
    83 
    84 # IFS
    85 # We need space, tab and new line, in precisely that order.  Quoting is
    86 # there to prevent editors from complaining about space-tab.
    87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
    88 # splitting by setting IFS to empty value.)
    89 IFS=" ""	$as_nl"
    90 
    91 # Find who we are.  Look in the path if we contain no directory separator.
    92 as_myself=
    93 case $0 in #((
    94   *[\\/]* ) as_myself=$0 ;;
    95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    96 for as_dir in $PATH
    97 do
    98   IFS=$as_save_IFS
    99   test -z "$as_dir" && as_dir=.
   100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   101   done
   102 IFS=$as_save_IFS
   103 
   104      ;;
   105 esac
   106 # We did not find ourselves, most probably we were run as `sh COMMAND'
   107 # in which case we are not to be found in the path.
   108 if test "x$as_myself" = x; then
   109   as_myself=$0
   110 fi
   111 if test ! -f "$as_myself"; then
   112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   113   exit 1
   114 fi
   115 
   116 # Unset variables that we do not need and which cause bugs (e.g. in
   117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   118 # suppresses any "Segmentation fault" message there.  '((' could
   119 # trigger a bug in pdksh 5.2.14.
   120 for as_var in BASH_ENV ENV MAIL MAILPATH
   121 do eval test x\${$as_var+set} = xset \
   122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   123 done
   124 PS1='$ '
   125 PS2='> '
   126 PS4='+ '
   127 
   128 # NLS nuisances.
   129 LC_ALL=C
   130 export LC_ALL
   131 LANGUAGE=C
   132 export LANGUAGE
   133 
   134 # CDPATH.
   135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   136 
   137 if test "x$CONFIG_SHELL" = x; then
   138   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
   139   emulate sh
   140   NULLCMD=:
   141   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
   142   # is contrary to our usage.  Disable this feature.
   143   alias -g '\${1+\"\$@\"}'='\"\$@\"'
   144   setopt NO_GLOB_SUBST
   145 else
   146   case \`(set -o) 2>/dev/null\` in #(
   147   *posix*) :
   148     set -o posix ;; #(
   149   *) :
   150      ;;
   151 esac
   152 fi
   153 "
   154   as_required="as_fn_return () { (exit \$1); }
   155 as_fn_success () { as_fn_return 0; }
   156 as_fn_failure () { as_fn_return 1; }
   157 as_fn_ret_success () { return 0; }
   158 as_fn_ret_failure () { return 1; }
   159 
   160 exitcode=0
   161 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
   162 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
   163 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
   164 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
   165 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
   166 
   167 else
   168   exitcode=1; echo positional parameters were not saved.
   169 fi
   170 test x\$exitcode = x0 || exit 1"
   171   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
   172   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
   173   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
   174   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
   175 test \$(( 1 + 1 )) = 2 || exit 1"
   176   if (eval "$as_required") 2>/dev/null; then :
   177   as_have_required=yes
   178 else
   179   as_have_required=no
   180 fi
   181   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
   182 
   183 else
   184   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   185 as_found=false
   186 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
   187 do
   188   IFS=$as_save_IFS
   189   test -z "$as_dir" && as_dir=.
   190   as_found=:
   191   case $as_dir in #(
   192 	 /*)
   193 	   for as_base in sh bash ksh sh5; do
   194 	     # Try only shells that exist, to save several forks.
   195 	     as_shell=$as_dir/$as_base
   196 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
   197 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
   198   CONFIG_SHELL=$as_shell as_have_required=yes
   199 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
   200   break 2
   201 fi
   202 fi
   203 	   done;;
   204        esac
   205   as_found=false
   206 done
   207 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
   208 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
   209   CONFIG_SHELL=$SHELL as_have_required=yes
   210 fi; }
   211 IFS=$as_save_IFS
   212 
   213 
   214       if test "x$CONFIG_SHELL" != x; then :
   215   # We cannot yet assume a decent shell, so we have to provide a
   216 	# neutralization value for shells without unset; and this also
   217 	# works around shells that cannot unset nonexistent variables.
   218 	# Preserve -v and -x to the replacement shell.
   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 	case $- in # ((((
   224 	  *v*x* | *x*v* ) as_opts=-vx ;;
   225 	  *v* ) as_opts=-v ;;
   226 	  *x* ) as_opts=-x ;;
   227 	  * ) as_opts= ;;
   228 	esac
   229 	exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
   230 fi
   231 
   232     if test x$as_have_required = xno; then :
   233   $as_echo "$0: This script requires a shell more modern than all"
   234   $as_echo "$0: the shells that I found on your system."
   235   if test x${ZSH_VERSION+set} = xset ; then
   236     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
   237     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
   238   else
   239     $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
   240 $0: including any error possibly output before this
   241 $0: message. Then install a modern shell, or manually run
   242 $0: the script under such a shell if you do have one."
   243   fi
   244   exit 1
   245 fi
   246 fi
   247 fi
   248 SHELL=${CONFIG_SHELL-/bin/sh}
   249 export SHELL
   250 # Unset more variables known to interfere with behavior of common tools.
   251 CLICOLOR_FORCE= GREP_OPTIONS=
   252 unset CLICOLOR_FORCE GREP_OPTIONS
   253 
   254 ## --------------------- ##
   255 ## M4sh Shell Functions. ##
   256 ## --------------------- ##
   257 # as_fn_unset VAR
   258 # ---------------
   259 # Portably unset VAR.
   260 as_fn_unset ()
   261 {
   262   { eval $1=; unset $1;}
   263 }
   264 as_unset=as_fn_unset
   265 
   266 # as_fn_set_status STATUS
   267 # -----------------------
   268 # Set $? to STATUS, without forking.
   269 as_fn_set_status ()
   270 {
   271   return $1
   272 } # as_fn_set_status
   273 
   274 # as_fn_exit STATUS
   275 # -----------------
   276 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   277 as_fn_exit ()
   278 {
   279   set +e
   280   as_fn_set_status $1
   281   exit $1
   282 } # as_fn_exit
   283 
   284 # as_fn_mkdir_p
   285 # -------------
   286 # Create "$as_dir" as a directory, including parents if necessary.
   287 as_fn_mkdir_p ()
   288 {
   289 
   290   case $as_dir in #(
   291   -*) as_dir=./$as_dir;;
   292   esac
   293   test -d "$as_dir" || eval $as_mkdir_p || {
   294     as_dirs=
   295     while :; do
   296       case $as_dir in #(
   297       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   298       *) as_qdir=$as_dir;;
   299       esac
   300       as_dirs="'$as_qdir' $as_dirs"
   301       as_dir=`$as_dirname -- "$as_dir" ||
   302 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   303 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   304 	 X"$as_dir" : 'X\(//\)$' \| \
   305 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   306 $as_echo X"$as_dir" |
   307     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   308 	    s//\1/
   309 	    q
   310 	  }
   311 	  /^X\(\/\/\)[^/].*/{
   312 	    s//\1/
   313 	    q
   314 	  }
   315 	  /^X\(\/\/\)$/{
   316 	    s//\1/
   317 	    q
   318 	  }
   319 	  /^X\(\/\).*/{
   320 	    s//\1/
   321 	    q
   322 	  }
   323 	  s/.*/./; q'`
   324       test -d "$as_dir" && break
   325     done
   326     test -z "$as_dirs" || eval "mkdir $as_dirs"
   327   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   328 
   329 
   330 } # as_fn_mkdir_p
   331 # as_fn_append VAR VALUE
   332 # ----------------------
   333 # Append the text in VALUE to the end of the definition contained in VAR. Take
   334 # advantage of any shell optimizations that allow amortized linear growth over
   335 # repeated appends, instead of the typical quadratic growth present in naive
   336 # implementations.
   337 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   338   eval 'as_fn_append ()
   339   {
   340     eval $1+=\$2
   341   }'
   342 else
   343   as_fn_append ()
   344   {
   345     eval $1=\$$1\$2
   346   }
   347 fi # as_fn_append
   348 
   349 # as_fn_arith ARG...
   350 # ------------------
   351 # Perform arithmetic evaluation on the ARGs, and store the result in the
   352 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   353 # must be portable across $(()) and expr.
   354 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   355   eval 'as_fn_arith ()
   356   {
   357     as_val=$(( $* ))
   358   }'
   359 else
   360   as_fn_arith ()
   361   {
   362     as_val=`expr "$@" || test $? -eq 1`
   363   }
   364 fi # as_fn_arith
   365 
   366 
   367 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   368 # ----------------------------------------
   369 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   370 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   371 # script with STATUS, using 1 if that was 0.
   372 as_fn_error ()
   373 {
   374   as_status=$1; test $as_status -eq 0 && as_status=1
   375   if test "$4"; then
   376     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   377     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   378   fi
   379   $as_echo "$as_me: error: $2" >&2
   380   as_fn_exit $as_status
   381 } # as_fn_error
   382 
   383 if expr a : '\(a\)' >/dev/null 2>&1 &&
   384    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   385   as_expr=expr
   386 else
   387   as_expr=false
   388 fi
   389 
   390 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   391   as_basename=basename
   392 else
   393   as_basename=false
   394 fi
   395 
   396 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   397   as_dirname=dirname
   398 else
   399   as_dirname=false
   400 fi
   401 
   402 as_me=`$as_basename -- "$0" ||
   403 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   404 	 X"$0" : 'X\(//\)$' \| \
   405 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   406 $as_echo X/"$0" |
   407     sed '/^.*\/\([^/][^/]*\)\/*$/{
   408 	    s//\1/
   409 	    q
   410 	  }
   411 	  /^X\/\(\/\/\)$/{
   412 	    s//\1/
   413 	    q
   414 	  }
   415 	  /^X\/\(\/\).*/{
   416 	    s//\1/
   417 	    q
   418 	  }
   419 	  s/.*/./; q'`
   420 
   421 # Avoid depending upon Character Ranges.
   422 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   423 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   424 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   425 as_cr_digits='0123456789'
   426 as_cr_alnum=$as_cr_Letters$as_cr_digits
   427 
   428 
   429   as_lineno_1=$LINENO as_lineno_1a=$LINENO
   430   as_lineno_2=$LINENO as_lineno_2a=$LINENO
   431   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
   432   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
   433   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
   434   sed -n '
   435     p
   436     /[$]LINENO/=
   437   ' <$as_myself |
   438     sed '
   439       s/[$]LINENO.*/&-/
   440       t lineno
   441       b
   442       :lineno
   443       N
   444       :loop
   445       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   446       t loop
   447       s/-\n.*//
   448     ' >$as_me.lineno &&
   449   chmod +x "$as_me.lineno" ||
   450     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
   451 
   452   # Don't try to exec as it changes $[0], causing all sort of problems
   453   # (the dirname of $[0] is not the place where we might find the
   454   # original and so on.  Autoconf is especially sensitive to this).
   455   . "./$as_me.lineno"
   456   # Exit status is that of the last command.
   457   exit
   458 }
   459 
   460 ECHO_C= ECHO_N= ECHO_T=
   461 case `echo -n x` in #(((((
   462 -n*)
   463   case `echo 'xy\c'` in
   464   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   465   xy)  ECHO_C='\c';;
   466   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   467        ECHO_T='	';;
   468   esac;;
   469 *)
   470   ECHO_N='-n';;
   471 esac
   472 
   473 rm -f conf$$ conf$$.exe conf$$.file
   474 if test -d conf$$.dir; then
   475   rm -f conf$$.dir/conf$$.file
   476 else
   477   rm -f conf$$.dir
   478   mkdir conf$$.dir 2>/dev/null
   479 fi
   480 if (echo >conf$$.file) 2>/dev/null; then
   481   if ln -s conf$$.file conf$$ 2>/dev/null; then
   482     as_ln_s='ln -s'
   483     # ... but there are two gotchas:
   484     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   485     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   486     # In both cases, we have to default to `cp -p'.
   487     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   488       as_ln_s='cp -p'
   489   elif ln conf$$.file conf$$ 2>/dev/null; then
   490     as_ln_s=ln
   491   else
   492     as_ln_s='cp -p'
   493   fi
   494 else
   495   as_ln_s='cp -p'
   496 fi
   497 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   498 rmdir conf$$.dir 2>/dev/null
   499 
   500 if mkdir -p . 2>/dev/null; then
   501   as_mkdir_p='mkdir -p "$as_dir"'
   502 else
   503   test -d ./-p && rmdir ./-p
   504   as_mkdir_p=false
   505 fi
   506 
   507 if test -x / >/dev/null 2>&1; then
   508   as_test_x='test -x'
   509 else
   510   if ls -dL / >/dev/null 2>&1; then
   511     as_ls_L_option=L
   512   else
   513     as_ls_L_option=
   514   fi
   515   as_test_x='
   516     eval sh -c '\''
   517       if test -d "$1"; then
   518 	test -d "$1/.";
   519       else
   520 	case $1 in #(
   521 	-*)set "./$1";;
   522 	esac;
   523 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   524 	???[sx]*):;;*)false;;esac;fi
   525     '\'' sh
   526   '
   527 fi
   528 as_executable_p=$as_test_x
   529 
   530 # Sed expression to map a string onto a valid CPP name.
   531 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   532 
   533 # Sed expression to map a string onto a valid variable name.
   534 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   535 
   536 
   537 
   538 # Check that we are running under the correct shell.
   539 SHELL=${CONFIG_SHELL-/bin/sh}
   540 
   541 case X$lt_ECHO in
   542 X*--fallback-echo)
   543   # Remove one level of quotation (which was required for Make).
   544   ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
   545   ;;
   546 esac
   547 
   548 ECHO=${lt_ECHO-echo}
   549 if test "X$1" = X--no-reexec; then
   550   # Discard the --no-reexec flag, and continue.
   551   shift
   552 elif test "X$1" = X--fallback-echo; then
   553   # Avoid inline document here, it may be left over
   554   :
   555 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
   556   # Yippee, $ECHO works!
   557   :
   558 else
   559   # Restart under the correct shell.
   560   exec $SHELL "$0" --no-reexec ${1+"$@"}
   561 fi
   562 
   563 if test "X$1" = X--fallback-echo; then
   564   # used as fallback echo
   565   shift
   566   cat <<_LT_EOF
   567 $*
   568 _LT_EOF
   569   exit 0
   570 fi
   571 
   572 # The HP-UX ksh and POSIX shell print the target directory to stdout
   573 # if CDPATH is set.
   574 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   575 
   576 if test -z "$lt_ECHO"; then
   577   if test "X${echo_test_string+set}" != Xset; then
   578     # find a string as large as possible, as long as the shell can cope with it
   579     for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
   580       # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
   581       if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
   582 	 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
   583       then
   584         break
   585       fi
   586     done
   587   fi
   588 
   589   if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
   590      echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
   591      test "X$echo_testing_string" = "X$echo_test_string"; then
   592     :
   593   else
   594     # The Solaris, AIX, and Digital Unix default echo programs unquote
   595     # backslashes.  This makes it impossible to quote backslashes using
   596     #   echo "$something" | sed 's/\\/\\\\/g'
   597     #
   598     # So, first we look for a working echo in the user's PATH.
   599 
   600     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   601     for dir in $PATH /usr/ucb; do
   602       IFS="$lt_save_ifs"
   603       if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
   604          test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
   605          echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
   606          test "X$echo_testing_string" = "X$echo_test_string"; then
   607         ECHO="$dir/echo"
   608         break
   609       fi
   610     done
   611     IFS="$lt_save_ifs"
   612 
   613     if test "X$ECHO" = Xecho; then
   614       # We didn't find a better echo, so look for alternatives.
   615       if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
   616          echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
   617          test "X$echo_testing_string" = "X$echo_test_string"; then
   618         # This shell has a builtin print -r that does the trick.
   619         ECHO='print -r'
   620       elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
   621 	   test "X$CONFIG_SHELL" != X/bin/ksh; then
   622         # If we have ksh, try running configure again with it.
   623         ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
   624         export ORIGINAL_CONFIG_SHELL
   625         CONFIG_SHELL=/bin/ksh
   626         export CONFIG_SHELL
   627         exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
   628       else
   629         # Try using printf.
   630         ECHO='printf %s\n'
   631         if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
   632 	   echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
   633 	   test "X$echo_testing_string" = "X$echo_test_string"; then
   634 	  # Cool, printf works
   635 	  :
   636         elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
   637 	     test "X$echo_testing_string" = 'X\t' &&
   638 	     echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
   639 	     test "X$echo_testing_string" = "X$echo_test_string"; then
   640 	  CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
   641 	  export CONFIG_SHELL
   642 	  SHELL="$CONFIG_SHELL"
   643 	  export SHELL
   644 	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
   645         elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
   646 	     test "X$echo_testing_string" = 'X\t' &&
   647 	     echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
   648 	     test "X$echo_testing_string" = "X$echo_test_string"; then
   649 	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
   650         else
   651 	  # maybe with a smaller string...
   652 	  prev=:
   653 
   654 	  for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
   655 	    if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
   656 	    then
   657 	      break
   658 	    fi
   659 	    prev="$cmd"
   660 	  done
   661 
   662 	  if test "$prev" != 'sed 50q "$0"'; then
   663 	    echo_test_string=`eval $prev`
   664 	    export echo_test_string
   665 	    exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
   666 	  else
   667 	    # Oops.  We lost completely, so just stick with echo.
   668 	    ECHO=echo
   669 	  fi
   670         fi
   671       fi
   672     fi
   673   fi
   674 fi
   675 
   676 # Copy echo and quote the copy suitably for passing to libtool from
   677 # the Makefile, instead of quoting the original, which is used later.
   678 lt_ECHO=$ECHO
   679 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
   680    lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
   681 fi
   682 
   683 
   684 
   685 
   686 test -n "$DJDIR" || exec 7<&0 </dev/null
   687 exec 6>&1
   688 
   689 # Name of the host.
   690 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
   691 # so uname gets run too.
   692 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
   693 
   694 #
   695 # Initializations.
   696 #
   697 ac_default_prefix=/usr/local
   698 ac_clean_files=
   699 ac_config_libobj_dir=.
   700 LIBOBJS=
   701 cross_compiling=no
   702 subdirs=
   703 MFLAGS=
   704 MAKEFLAGS=
   705 
   706 # Identity of this package.
   707 PACKAGE_NAME=
   708 PACKAGE_TARNAME=
   709 PACKAGE_VERSION=
   710 PACKAGE_STRING=
   711 PACKAGE_BUGREPORT=
   712 PACKAGE_URL=
   713 
   714 ac_unique_file="README"
   715 # Factoring default headers for most tests.
   716 ac_includes_default="\
   717 #include <stdio.h>
   718 #ifdef HAVE_SYS_TYPES_H
   719 # include <sys/types.h>
   720 #endif
   721 #ifdef HAVE_SYS_STAT_H
   722 # include <sys/stat.h>
   723 #endif
   724 #ifdef STDC_HEADERS
   725 # include <stdlib.h>
   726 # include <stddef.h>
   727 #else
   728 # ifdef HAVE_STDLIB_H
   729 #  include <stdlib.h>
   730 # endif
   731 #endif
   732 #ifdef HAVE_STRING_H
   733 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
   734 #  include <memory.h>
   735 # endif
   736 # include <string.h>
   737 #endif
   738 #ifdef HAVE_STRINGS_H
   739 # include <strings.h>
   740 #endif
   741 #ifdef HAVE_INTTYPES_H
   742 # include <inttypes.h>
   743 #endif
   744 #ifdef HAVE_STDINT_H
   745 # include <stdint.h>
   746 #endif
   747 #ifdef HAVE_UNISTD_H
   748 # include <unistd.h>
   749 #endif"
   750 
   751 ac_subst_vars='LTLIBOBJS
   752 LIBOBJS
   753 SDL_VERSION
   754 EXE
   755 EXTRA_LDFLAGS
   756 BUILD_LDFLAGS
   757 EXTRA_CFLAGS
   758 BUILD_CFLAGS
   759 PLAYMUS_OBJECTS
   760 PLAYWAVE_OBJECTS
   761 VERSION_OBJECTS
   762 OBJECTS
   763 ac_aux_dir
   764 SMPEG_LIBS
   765 SMPEG_CFLAGS
   766 SMPEG_CONFIG
   767 MODPLUG_LIBS
   768 MODPLUG_CFLAGS
   769 LIBMIKMOD_CONFIG
   770 SDL_CONFIG
   771 SDL_LIBS
   772 SDL_CFLAGS
   773 PKG_CONFIG
   774 WINDRES
   775 SET_MAKE
   776 INSTALL_DATA
   777 INSTALL_SCRIPT
   778 INSTALL_PROGRAM
   779 LT_AGE
   780 LT_REVISION
   781 LT_CURRENT
   782 LT_RELEASE
   783 CPP
   784 OTOOL64
   785 OTOOL
   786 LIPO
   787 NMEDIT
   788 DSYMUTIL
   789 lt_ECHO
   790 RANLIB
   791 STRIP
   792 AR
   793 LN_S
   794 NM
   795 ac_ct_DUMPBIN
   796 DUMPBIN
   797 LD
   798 FGREP
   799 EGREP
   800 GREP
   801 SED
   802 OBJEXT
   803 EXEEXT
   804 ac_ct_CC
   805 CPPFLAGS
   806 LDFLAGS
   807 CFLAGS
   808 CC
   809 host_os
   810 host_vendor
   811 host_cpu
   812 host
   813 build_os
   814 build_vendor
   815 build_cpu
   816 build
   817 LIBTOOL
   818 OBJDUMP
   819 DLLTOOL
   820 AS
   821 VERSION
   822 BINARY_AGE
   823 INTERFACE_AGE
   824 MICRO_VERSION
   825 MINOR_VERSION
   826 MAJOR_VERSION
   827 target_alias
   828 host_alias
   829 build_alias
   830 LIBS
   831 ECHO_T
   832 ECHO_N
   833 ECHO_C
   834 DEFS
   835 mandir
   836 localedir
   837 libdir
   838 psdir
   839 pdfdir
   840 dvidir
   841 htmldir
   842 infodir
   843 docdir
   844 oldincludedir
   845 includedir
   846 localstatedir
   847 sharedstatedir
   848 sysconfdir
   849 datadir
   850 datarootdir
   851 libexecdir
   852 sbindir
   853 bindir
   854 program_transform_name
   855 prefix
   856 exec_prefix
   857 PACKAGE_URL
   858 PACKAGE_BUGREPORT
   859 PACKAGE_STRING
   860 PACKAGE_VERSION
   861 PACKAGE_TARNAME
   862 PACKAGE_NAME
   863 PATH_SEPARATOR
   864 SHELL'
   865 ac_subst_files=''
   866 ac_user_opts='
   867 enable_option_checking
   868 enable_shared
   869 enable_static
   870 with_pic
   871 enable_fast_install
   872 with_gnu_ld
   873 enable_libtool_lock
   874 enable_dependency_tracking
   875 with_sdl_prefix
   876 with_sdl_exec_prefix
   877 enable_sdltest
   878 enable_music_cmd
   879 enable_music_wave
   880 enable_music_mod
   881 enable_music_mod_shared
   882 enable_music_mod_modplug
   883 enable_music_midi
   884 enable_music_timidity_midi
   885 enable_music_native_midi
   886 enable_music_fluidsynth_midi
   887 enable_music_fluidsynth_shared
   888 enable_music_ogg
   889 enable_music_ogg_tremor
   890 enable_music_ogg_shared
   891 enable_music_flac
   892 enable_music_flac_shared
   893 enable_music_mp3
   894 enable_music_mp3_shared
   895 with_smpeg_prefix
   896 with_smpeg_exec_prefix
   897 enable_smpegtest
   898 enable_music_mp3_mad_gpl
   899 '
   900       ac_precious_vars='build_alias
   901 host_alias
   902 target_alias
   903 CC
   904 CFLAGS
   905 LDFLAGS
   906 LIBS
   907 CPPFLAGS
   908 CPP
   909 PKG_CONFIG
   910 SDL_CFLAGS
   911 SDL_LIBS
   912 MODPLUG_CFLAGS
   913 MODPLUG_LIBS'
   914 
   915 
   916 # Initialize some variables set by options.
   917 ac_init_help=
   918 ac_init_version=false
   919 ac_unrecognized_opts=
   920 ac_unrecognized_sep=
   921 # The variables have the same names as the options, with
   922 # dashes changed to underlines.
   923 cache_file=/dev/null
   924 exec_prefix=NONE
   925 no_create=
   926 no_recursion=
   927 prefix=NONE
   928 program_prefix=NONE
   929 program_suffix=NONE
   930 program_transform_name=s,x,x,
   931 silent=
   932 site=
   933 srcdir=
   934 verbose=
   935 x_includes=NONE
   936 x_libraries=NONE
   937 
   938 # Installation directory options.
   939 # These are left unexpanded so users can "make install exec_prefix=/foo"
   940 # and all the variables that are supposed to be based on exec_prefix
   941 # by default will actually change.
   942 # Use braces instead of parens because sh, perl, etc. also accept them.
   943 # (The list follows the same order as the GNU Coding Standards.)
   944 bindir='${exec_prefix}/bin'
   945 sbindir='${exec_prefix}/sbin'
   946 libexecdir='${exec_prefix}/libexec'
   947 datarootdir='${prefix}/share'
   948 datadir='${datarootdir}'
   949 sysconfdir='${prefix}/etc'
   950 sharedstatedir='${prefix}/com'
   951 localstatedir='${prefix}/var'
   952 includedir='${prefix}/include'
   953 oldincludedir='/usr/include'
   954 docdir='${datarootdir}/doc/${PACKAGE}'
   955 infodir='${datarootdir}/info'
   956 htmldir='${docdir}'
   957 dvidir='${docdir}'
   958 pdfdir='${docdir}'
   959 psdir='${docdir}'
   960 libdir='${exec_prefix}/lib'
   961 localedir='${datarootdir}/locale'
   962 mandir='${datarootdir}/man'
   963 
   964 ac_prev=
   965 ac_dashdash=
   966 for ac_option
   967 do
   968   # If the previous option needs an argument, assign it.
   969   if test -n "$ac_prev"; then
   970     eval $ac_prev=\$ac_option
   971     ac_prev=
   972     continue
   973   fi
   974 
   975   case $ac_option in
   976   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   977   *=)   ac_optarg= ;;
   978   *)    ac_optarg=yes ;;
   979   esac
   980 
   981   # Accept the important Cygnus configure options, so we can diagnose typos.
   982 
   983   case $ac_dashdash$ac_option in
   984   --)
   985     ac_dashdash=yes ;;
   986 
   987   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   988     ac_prev=bindir ;;
   989   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   990     bindir=$ac_optarg ;;
   991 
   992   -build | --build | --buil | --bui | --bu)
   993     ac_prev=build_alias ;;
   994   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   995     build_alias=$ac_optarg ;;
   996 
   997   -cache-file | --cache-file | --cache-fil | --cache-fi \
   998   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   999     ac_prev=cache_file ;;
  1000   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  1001   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  1002     cache_file=$ac_optarg ;;
  1003 
  1004   --config-cache | -C)
  1005     cache_file=config.cache ;;
  1006 
  1007   -datadir | --datadir | --datadi | --datad)
  1008     ac_prev=datadir ;;
  1009   -datadir=* | --datadir=* | --datadi=* | --datad=*)
  1010     datadir=$ac_optarg ;;
  1011 
  1012   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  1013   | --dataroo | --dataro | --datar)
  1014     ac_prev=datarootdir ;;
  1015   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  1016   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  1017     datarootdir=$ac_optarg ;;
  1018 
  1019   -disable-* | --disable-*)
  1020     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  1021     # Reject names that are not valid shell variable names.
  1022     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1023       as_fn_error $? "invalid feature name: $ac_useropt"
  1024     ac_useropt_orig=$ac_useropt
  1025     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1026     case $ac_user_opts in
  1027       *"
  1028 "enable_$ac_useropt"
  1029 "*) ;;
  1030       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  1031 	 ac_unrecognized_sep=', ';;
  1032     esac
  1033     eval enable_$ac_useropt=no ;;
  1034 
  1035   -docdir | --docdir | --docdi | --doc | --do)
  1036     ac_prev=docdir ;;
  1037   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  1038     docdir=$ac_optarg ;;
  1039 
  1040   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  1041     ac_prev=dvidir ;;
  1042   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  1043     dvidir=$ac_optarg ;;
  1044 
  1045   -enable-* | --enable-*)
  1046     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  1047     # Reject names that are not valid shell variable names.
  1048     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1049       as_fn_error $? "invalid feature name: $ac_useropt"
  1050     ac_useropt_orig=$ac_useropt
  1051     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1052     case $ac_user_opts in
  1053       *"
  1054 "enable_$ac_useropt"
  1055 "*) ;;
  1056       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  1057 	 ac_unrecognized_sep=', ';;
  1058     esac
  1059     eval enable_$ac_useropt=\$ac_optarg ;;
  1060 
  1061   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  1062   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  1063   | --exec | --exe | --ex)
  1064     ac_prev=exec_prefix ;;
  1065   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  1066   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  1067   | --exec=* | --exe=* | --ex=*)
  1068     exec_prefix=$ac_optarg ;;
  1069 
  1070   -gas | --gas | --ga | --g)
  1071     # Obsolete; use --with-gas.
  1072     with_gas=yes ;;
  1073 
  1074   -help | --help | --hel | --he | -h)
  1075     ac_init_help=long ;;
  1076   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  1077     ac_init_help=recursive ;;
  1078   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  1079     ac_init_help=short ;;
  1080 
  1081   -host | --host | --hos | --ho)
  1082     ac_prev=host_alias ;;
  1083   -host=* | --host=* | --hos=* | --ho=*)
  1084     host_alias=$ac_optarg ;;
  1085 
  1086   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  1087     ac_prev=htmldir ;;
  1088   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  1089   | --ht=*)
  1090     htmldir=$ac_optarg ;;
  1091 
  1092   -includedir | --includedir | --includedi | --included | --include \
  1093   | --includ | --inclu | --incl | --inc)
  1094     ac_prev=includedir ;;
  1095   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  1096   | --includ=* | --inclu=* | --incl=* | --inc=*)
  1097     includedir=$ac_optarg ;;
  1098 
  1099   -infodir | --infodir | --infodi | --infod | --info | --inf)
  1100     ac_prev=infodir ;;
  1101   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  1102     infodir=$ac_optarg ;;
  1103 
  1104   -libdir | --libdir | --libdi | --libd)
  1105     ac_prev=libdir ;;
  1106   -libdir=* | --libdir=* | --libdi=* | --libd=*)
  1107     libdir=$ac_optarg ;;
  1108 
  1109   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  1110   | --libexe | --libex | --libe)
  1111     ac_prev=libexecdir ;;
  1112   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  1113   | --libexe=* | --libex=* | --libe=*)
  1114     libexecdir=$ac_optarg ;;
  1115 
  1116   -localedir | --localedir | --localedi | --localed | --locale)
  1117     ac_prev=localedir ;;
  1118   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  1119     localedir=$ac_optarg ;;
  1120 
  1121   -localstatedir | --localstatedir | --localstatedi | --localstated \
  1122   | --localstate | --localstat | --localsta | --localst | --locals)
  1123     ac_prev=localstatedir ;;
  1124   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  1125   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  1126     localstatedir=$ac_optarg ;;
  1127 
  1128   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  1129     ac_prev=mandir ;;
  1130   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  1131     mandir=$ac_optarg ;;
  1132 
  1133   -nfp | --nfp | --nf)
  1134     # Obsolete; use --without-fp.
  1135     with_fp=no ;;
  1136 
  1137   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  1138   | --no-cr | --no-c | -n)
  1139     no_create=yes ;;
  1140 
  1141   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  1142   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  1143     no_recursion=yes ;;
  1144 
  1145   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  1146   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  1147   | --oldin | --oldi | --old | --ol | --o)
  1148     ac_prev=oldincludedir ;;
  1149   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  1150   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  1151   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  1152     oldincludedir=$ac_optarg ;;
  1153 
  1154   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  1155     ac_prev=prefix ;;
  1156   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  1157     prefix=$ac_optarg ;;
  1158 
  1159   -program-prefix | --program-prefix | --program-prefi | --program-pref \
  1160   | --program-pre | --program-pr | --program-p)
  1161     ac_prev=program_prefix ;;
  1162   -program-prefix=* | --program-prefix=* | --program-prefi=* \
  1163   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  1164     program_prefix=$ac_optarg ;;
  1165 
  1166   -program-suffix | --program-suffix | --program-suffi | --program-suff \
  1167   | --program-suf | --program-su | --program-s)
  1168     ac_prev=program_suffix ;;
  1169   -program-suffix=* | --program-suffix=* | --program-suffi=* \
  1170   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  1171     program_suffix=$ac_optarg ;;
  1172 
  1173   -program-transform-name | --program-transform-name \
  1174   | --program-transform-nam | --program-transform-na \
  1175   | --program-transform-n | --program-transform- \
  1176   | --program-transform | --program-transfor \
  1177   | --program-transfo | --program-transf \
  1178   | --program-trans | --program-tran \
  1179   | --progr-tra | --program-tr | --program-t)
  1180     ac_prev=program_transform_name ;;
  1181   -program-transform-name=* | --program-transform-name=* \
  1182   | --program-transform-nam=* | --program-transform-na=* \
  1183   | --program-transform-n=* | --program-transform-=* \
  1184   | --program-transform=* | --program-transfor=* \
  1185   | --program-transfo=* | --program-transf=* \
  1186   | --program-trans=* | --program-tran=* \
  1187   | --progr-tra=* | --program-tr=* | --program-t=*)
  1188     program_transform_name=$ac_optarg ;;
  1189 
  1190   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  1191     ac_prev=pdfdir ;;
  1192   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  1193     pdfdir=$ac_optarg ;;
  1194 
  1195   -psdir | --psdir | --psdi | --psd | --ps)
  1196     ac_prev=psdir ;;
  1197   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  1198     psdir=$ac_optarg ;;
  1199 
  1200   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1201   | -silent | --silent | --silen | --sile | --sil)
  1202     silent=yes ;;
  1203 
  1204   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  1205     ac_prev=sbindir ;;
  1206   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  1207   | --sbi=* | --sb=*)
  1208     sbindir=$ac_optarg ;;
  1209 
  1210   -sharedstatedir | --sharedstatedir | --sharedstatedi \
  1211   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  1212   | --sharedst | --shareds | --shared | --share | --shar \
  1213   | --sha | --sh)
  1214     ac_prev=sharedstatedir ;;
  1215   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  1216   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  1217   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  1218   | --sha=* | --sh=*)
  1219     sharedstatedir=$ac_optarg ;;
  1220 
  1221   -site | --site | --sit)
  1222     ac_prev=site ;;
  1223   -site=* | --site=* | --sit=*)
  1224     site=$ac_optarg ;;
  1225 
  1226   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  1227     ac_prev=srcdir ;;
  1228   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  1229     srcdir=$ac_optarg ;;
  1230 
  1231   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  1232   | --syscon | --sysco | --sysc | --sys | --sy)
  1233     ac_prev=sysconfdir ;;
  1234   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  1235   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  1236     sysconfdir=$ac_optarg ;;
  1237 
  1238   -target | --target | --targe | --targ | --tar | --ta | --t)
  1239     ac_prev=target_alias ;;
  1240   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  1241     target_alias=$ac_optarg ;;
  1242 
  1243   -v | -verbose | --verbose | --verbos | --verbo | --verb)
  1244     verbose=yes ;;
  1245 
  1246   -version | --version | --versio | --versi | --vers | -V)
  1247     ac_init_version=: ;;
  1248 
  1249   -with-* | --with-*)
  1250     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  1251     # Reject names that are not valid shell variable names.
  1252     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1253       as_fn_error $? "invalid package name: $ac_useropt"
  1254     ac_useropt_orig=$ac_useropt
  1255     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1256     case $ac_user_opts in
  1257       *"
  1258 "with_$ac_useropt"
  1259 "*) ;;
  1260       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  1261 	 ac_unrecognized_sep=', ';;
  1262     esac
  1263     eval with_$ac_useropt=\$ac_optarg ;;
  1264 
  1265   -without-* | --without-*)
  1266     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  1267     # Reject names that are not valid shell variable names.
  1268     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1269       as_fn_error $? "invalid package name: $ac_useropt"
  1270     ac_useropt_orig=$ac_useropt
  1271     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1272     case $ac_user_opts in
  1273       *"
  1274 "with_$ac_useropt"
  1275 "*) ;;
  1276       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  1277 	 ac_unrecognized_sep=', ';;
  1278     esac
  1279     eval with_$ac_useropt=no ;;
  1280 
  1281   --x)
  1282     # Obsolete; use --with-x.
  1283     with_x=yes ;;
  1284 
  1285   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  1286   | --x-incl | --x-inc | --x-in | --x-i)
  1287     ac_prev=x_includes ;;
  1288   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  1289   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  1290     x_includes=$ac_optarg ;;
  1291 
  1292   -x-libraries | --x-libraries | --x-librarie | --x-librari \
  1293   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  1294     ac_prev=x_libraries ;;
  1295   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  1296   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  1297     x_libraries=$ac_optarg ;;
  1298 
  1299   -*) as_fn_error $? "unrecognized option: \`$ac_option'
  1300 Try \`$0 --help' for more information"
  1301     ;;
  1302 
  1303   *=*)
  1304     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  1305     # Reject names that are not valid shell variable names.
  1306     case $ac_envvar in #(
  1307       '' | [0-9]* | *[!_$as_cr_alnum]* )
  1308       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
  1309     esac
  1310     eval $ac_envvar=\$ac_optarg
  1311     export $ac_envvar ;;
  1312 
  1313   *)
  1314     # FIXME: should be removed in autoconf 3.0.
  1315     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  1316     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1317       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  1318     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
  1319     ;;
  1320 
  1321   esac
  1322 done
  1323 
  1324 if test -n "$ac_prev"; then
  1325   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  1326   as_fn_error $? "missing argument to $ac_option"
  1327 fi
  1328 
  1329 if test -n "$ac_unrecognized_opts"; then
  1330   case $enable_option_checking in
  1331     no) ;;
  1332     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
  1333     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
  1334   esac
  1335 fi
  1336 
  1337 # Check all directory arguments for consistency.
  1338 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
  1339 		datadir sysconfdir sharedstatedir localstatedir includedir \
  1340 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  1341 		libdir localedir mandir
  1342 do
  1343   eval ac_val=\$$ac_var
  1344   # Remove trailing slashes.
  1345   case $ac_val in
  1346     */ )
  1347       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  1348       eval $ac_var=\$ac_val;;
  1349   esac
  1350   # Be sure to have absolute directory names.
  1351   case $ac_val in
  1352     [\\/$]* | ?:[\\/]* )  continue;;
  1353     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  1354   esac
  1355   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
  1356 done
  1357 
  1358 # There might be people who depend on the old broken behavior: `$host'
  1359 # used to hold the argument of --host etc.
  1360 # FIXME: To remove some day.
  1361 build=$build_alias
  1362 host=$host_alias
  1363 target=$target_alias
  1364 
  1365 # FIXME: To remove some day.
  1366 if test "x$host_alias" != x; then
  1367   if test "x$build_alias" = x; then
  1368     cross_compiling=maybe
  1369     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
  1370     If a cross compiler is detected then cross compile mode will be used" >&2
  1371   elif test "x$build_alias" != "x$host_alias"; then
  1372     cross_compiling=yes
  1373   fi
  1374 fi
  1375 
  1376 ac_tool_prefix=
  1377 test -n "$host_alias" && ac_tool_prefix=$host_alias-
  1378 
  1379 test "$silent" = yes && exec 6>/dev/null
  1380 
  1381 
  1382 ac_pwd=`pwd` && test -n "$ac_pwd" &&
  1383 ac_ls_di=`ls -di .` &&
  1384 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  1385   as_fn_error $? "working directory cannot be determined"
  1386 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  1387   as_fn_error $? "pwd does not report name of working directory"
  1388 
  1389 
  1390 # Find the source files, if location was not specified.
  1391 if test -z "$srcdir"; then
  1392   ac_srcdir_defaulted=yes
  1393   # Try the directory containing this script, then the parent directory.
  1394   ac_confdir=`$as_dirname -- "$as_myself" ||
  1395 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1396 	 X"$as_myself" : 'X\(//\)[^/]' \| \
  1397 	 X"$as_myself" : 'X\(//\)$' \| \
  1398 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  1399 $as_echo X"$as_myself" |
  1400     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1401 	    s//\1/
  1402 	    q
  1403 	  }
  1404 	  /^X\(\/\/\)[^/].*/{
  1405 	    s//\1/
  1406 	    q
  1407 	  }
  1408 	  /^X\(\/\/\)$/{
  1409 	    s//\1/
  1410 	    q
  1411 	  }
  1412 	  /^X\(\/\).*/{
  1413 	    s//\1/
  1414 	    q
  1415 	  }
  1416 	  s/.*/./; q'`
  1417   srcdir=$ac_confdir
  1418   if test ! -r "$srcdir/$ac_unique_file"; then
  1419     srcdir=..
  1420   fi
  1421 else
  1422   ac_srcdir_defaulted=no
  1423 fi
  1424 if test ! -r "$srcdir/$ac_unique_file"; then
  1425   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  1426   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
  1427 fi
  1428 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  1429 ac_abs_confdir=`(
  1430 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
  1431 	pwd)`
  1432 # When building in place, set srcdir=.
  1433 if test "$ac_abs_confdir" = "$ac_pwd"; then
  1434   srcdir=.
  1435 fi
  1436 # Remove unnecessary trailing slashes from srcdir.
  1437 # Double slashes in file names in object file debugging info
  1438 # mess up M-x gdb in Emacs.
  1439 case $srcdir in
  1440 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  1441 esac
  1442 for ac_var in $ac_precious_vars; do
  1443   eval ac_env_${ac_var}_set=\${${ac_var}+set}
  1444   eval ac_env_${ac_var}_value=\$${ac_var}
  1445   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  1446   eval ac_cv_env_${ac_var}_value=\$${ac_var}
  1447 done
  1448 
  1449 #
  1450 # Report the --help message.
  1451 #
  1452 if test "$ac_init_help" = "long"; then
  1453   # Omit some internal or obsolete options to make the list less imposing.
  1454   # This message is too long to be a string in the A/UX 3.1 sh.
  1455   cat <<_ACEOF
  1456 \`configure' configures this package to adapt to many kinds of systems.
  1457 
  1458 Usage: $0 [OPTION]... [VAR=VALUE]...
  1459 
  1460 To assign environment variables (e.g., CC, CFLAGS...), specify them as
  1461 VAR=VALUE.  See below for descriptions of some of the useful variables.
  1462 
  1463 Defaults for the options are specified in brackets.
  1464 
  1465 Configuration:
  1466   -h, --help              display this help and exit
  1467       --help=short        display options specific to this package
  1468       --help=recursive    display the short help of all the included packages
  1469   -V, --version           display version information and exit
  1470   -q, --quiet, --silent   do not print \`checking ...' messages
  1471       --cache-file=FILE   cache test results in FILE [disabled]
  1472   -C, --config-cache      alias for \`--cache-file=config.cache'
  1473   -n, --no-create         do not create output files
  1474       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
  1475 
  1476 Installation directories:
  1477   --prefix=PREFIX         install architecture-independent files in PREFIX
  1478                           [$ac_default_prefix]
  1479   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
  1480                           [PREFIX]
  1481 
  1482 By default, \`make install' will install all the files in
  1483 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
  1484 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  1485 for instance \`--prefix=\$HOME'.
  1486 
  1487 For better control, use the options below.
  1488 
  1489 Fine tuning of the installation directories:
  1490   --bindir=DIR            user executables [EPREFIX/bin]
  1491   --sbindir=DIR           system admin executables [EPREFIX/sbin]
  1492   --libexecdir=DIR        program executables [EPREFIX/libexec]
  1493   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
  1494   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
  1495   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
  1496   --libdir=DIR            object code libraries [EPREFIX/lib]
  1497   --includedir=DIR        C header files [PREFIX/include]
  1498   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
  1499   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
  1500   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
  1501   --infodir=DIR           info documentation [DATAROOTDIR/info]
  1502   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
  1503   --mandir=DIR            man documentation [DATAROOTDIR/man]
  1504   --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
  1505   --htmldir=DIR           html documentation [DOCDIR]
  1506   --dvidir=DIR            dvi documentation [DOCDIR]
  1507   --pdfdir=DIR            pdf documentation [DOCDIR]
  1508   --psdir=DIR             ps documentation [DOCDIR]
  1509 _ACEOF
  1510 
  1511   cat <<\_ACEOF
  1512 
  1513 System types:
  1514   --build=BUILD     configure for building on BUILD [guessed]
  1515   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
  1516 _ACEOF
  1517 fi
  1518 
  1519 if test -n "$ac_init_help"; then
  1520 
  1521   cat <<\_ACEOF
  1522 
  1523 Optional Features:
  1524   --disable-option-checking  ignore unrecognized --enable/--with options
  1525   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  1526   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  1527   --enable-shared[=PKGS]  build shared libraries [default=yes]
  1528   --enable-static[=PKGS]  build static libraries [default=yes]
  1529   --enable-fast-install[=PKGS]
  1530                           optimize for fast installation [default=yes]
  1531   --disable-libtool-lock  avoid locking (might break parallel builds)
  1532   --enable-dependency-tracking
  1533                           Use gcc -MMD -MT dependency tracking [[default=yes]]
  1534   --disable-sdltest       Do not try to compile and run a test SDL program
  1535   --enable-music-cmd      support an external music player [[default=yes]]
  1536   --enable-music-wave     enable streaming WAVE music [[default=yes]]
  1537   --enable-music-mod      enable MOD music via mikmod [[default=yes]]
  1538   --enable-music-mod-shared
  1539                           dynamically load MOD support [[default=yes]]
  1540   --enable-music-mod-modplug
  1541                           enable MOD music via modplug [[default=no]]
  1542   --enable-music-midi     enable MIDI music via timidity [[default=yes]]
  1543   --enable-music-timidity-midi
  1544                           enable timidity MIDI output [[default=yes]]
  1545   --enable-music-native-midi
  1546                           enable native MIDI music output [[default=yes]]
  1547   --enable-music-fluidsynth-midi
  1548                           enable FluidSynth MIDI output [[default=yes]]
  1549   --enable-music-fluidsynth-shared
  1550                           dynamically load FluidSynth support [[default=yes]]
  1551   --enable-music-ogg      enable Ogg Vorbis music [[default=yes]]
  1552   --enable-music-ogg-tremor
  1553                           enable OGG Vorbis music via libtremor [[default=no]]
  1554   --enable-music-ogg-shared
  1555                           dynamically load Ogg Vorbis support [[default=yes]]
  1556   --enable-music-flac     enable FLAC music [[default=yes]]
  1557   --enable-music-flac-shared
  1558                           dynamically load FLAC support [[default=yes]]
  1559   --enable-music-mp3      enable MP3 music via smpeg [[default=no]]
  1560   --enable-music-mp3-shared
  1561                           dynamically load MP3 support [[default=yes]]
  1562   --disable-smpegtest       Do not try to compile and run a test SMPEG program
  1563   --enable-music-mp3-mad-gpl
  1564                           enable MP3 music via libmad GPL code [[default=no]]
  1565 
  1566 Optional Packages:
  1567   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  1568   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  1569   --with-pic              try to use only PIC/non-PIC objects [default=use
  1570                           both]
  1571   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
  1572   --with-sdl-prefix=PFX   Prefix where SDL is installed (optional)
  1573   --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
  1574   --with-smpeg-prefix=PFX   Prefix where SMPEG is installed (optional)
  1575   --with-smpeg-exec-prefix=PFX Exec prefix where SMPEG is installed (optional)
  1576 
  1577 Some influential environment variables:
  1578   CC          C compiler command
  1579   CFLAGS      C compiler flags
  1580   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
  1581               nonstandard directory <lib dir>
  1582   LIBS        libraries to pass to the linker, e.g. -l<library>
  1583   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
  1584               you have headers in a nonstandard directory <include dir>
  1585   CPP         C preprocessor
  1586   PKG_CONFIG  path to pkg-config utility
  1587   SDL_CFLAGS  C compiler flags for SDL, overriding pkg-config
  1588   SDL_LIBS    linker flags for SDL, overriding pkg-config
  1589   MODPLUG_CFLAGS
  1590               C compiler flags for MODPLUG, overriding pkg-config
  1591   MODPLUG_LIBS
  1592               linker flags for MODPLUG, overriding pkg-config
  1593 
  1594 Use these variables to override the choices made by `configure' or to help
  1595 it to find libraries and programs with nonstandard names/locations.
  1596 
  1597 Report bugs to the package provider.
  1598 _ACEOF
  1599 ac_status=$?
  1600 fi
  1601 
  1602 if test "$ac_init_help" = "recursive"; then
  1603   # If there are subdirs, report their specific --help.
  1604   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1605     test -d "$ac_dir" ||
  1606       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  1607       continue
  1608     ac_builddir=.
  1609 
  1610 case "$ac_dir" in
  1611 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1612 *)
  1613   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  1614   # A ".." for each directory in $ac_dir_suffix.
  1615   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  1616   case $ac_top_builddir_sub in
  1617   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1618   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1619   esac ;;
  1620 esac
  1621 ac_abs_top_builddir=$ac_pwd
  1622 ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1623 # for backward compatibility:
  1624 ac_top_builddir=$ac_top_build_prefix
  1625 
  1626 case $srcdir in
  1627   .)  # We are building in place.
  1628     ac_srcdir=.
  1629     ac_top_srcdir=$ac_top_builddir_sub
  1630     ac_abs_top_srcdir=$ac_pwd ;;
  1631   [\\/]* | ?:[\\/]* )  # Absolute name.
  1632     ac_srcdir=$srcdir$ac_dir_suffix;
  1633     ac_top_srcdir=$srcdir
  1634     ac_abs_top_srcdir=$srcdir ;;
  1635   *) # Relative name.
  1636     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1637     ac_top_srcdir=$ac_top_build_prefix$srcdir
  1638     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1639 esac
  1640 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1641 
  1642     cd "$ac_dir" || { ac_status=$?; continue; }
  1643     # Check for guested configure.
  1644     if test -f "$ac_srcdir/configure.gnu"; then
  1645       echo &&
  1646       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  1647     elif test -f "$ac_srcdir/configure"; then
  1648       echo &&
  1649       $SHELL "$ac_srcdir/configure" --help=recursive
  1650     else
  1651       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1652     fi || ac_status=$?
  1653     cd "$ac_pwd" || { ac_status=$?; break; }
  1654   done
  1655 fi
  1656 
  1657 test -n "$ac_init_help" && exit $ac_status
  1658 if $ac_init_version; then
  1659   cat <<\_ACEOF
  1660 configure
  1661 generated by GNU Autoconf 2.68
  1662 
  1663 Copyright (C) 2010 Free Software Foundation, Inc.
  1664 This configure script is free software; the Free Software Foundation
  1665 gives unlimited permission to copy, distribute and modify it.
  1666 _ACEOF
  1667   exit
  1668 fi
  1669 
  1670 ## ------------------------ ##
  1671 ## Autoconf initialization. ##
  1672 ## ------------------------ ##
  1673 
  1674 # ac_fn_c_try_compile LINENO
  1675 # --------------------------
  1676 # Try to compile conftest.$ac_ext, and return whether this succeeded.
  1677 ac_fn_c_try_compile ()
  1678 {
  1679   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1680   rm -f conftest.$ac_objext
  1681   if { { ac_try="$ac_compile"
  1682 case "(($ac_try" in
  1683   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1684   *) ac_try_echo=$ac_try;;
  1685 esac
  1686 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1687 $as_echo "$ac_try_echo"; } >&5
  1688   (eval "$ac_compile") 2>conftest.err
  1689   ac_status=$?
  1690   if test -s conftest.err; then
  1691     grep -v '^ *+' conftest.err >conftest.er1
  1692     cat conftest.er1 >&5
  1693     mv -f conftest.er1 conftest.err
  1694   fi
  1695   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1696   test $ac_status = 0; } && {
  1697 	 test -z "$ac_c_werror_flag" ||
  1698 	 test ! -s conftest.err
  1699        } && test -s conftest.$ac_objext; then :
  1700   ac_retval=0
  1701 else
  1702   $as_echo "$as_me: failed program was:" >&5
  1703 sed 's/^/| /' conftest.$ac_ext >&5
  1704 
  1705 	ac_retval=1
  1706 fi
  1707   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1708   as_fn_set_status $ac_retval
  1709 
  1710 } # ac_fn_c_try_compile
  1711 
  1712 # ac_fn_c_try_link LINENO
  1713 # -----------------------
  1714 # Try to link conftest.$ac_ext, and return whether this succeeded.
  1715 ac_fn_c_try_link ()
  1716 {
  1717   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1718   rm -f conftest.$ac_objext conftest$ac_exeext
  1719   if { { ac_try="$ac_link"
  1720 case "(($ac_try" in
  1721   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1722   *) ac_try_echo=$ac_try;;
  1723 esac
  1724 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1725 $as_echo "$ac_try_echo"; } >&5
  1726   (eval "$ac_link") 2>conftest.err
  1727   ac_status=$?
  1728   if test -s conftest.err; then
  1729     grep -v '^ *+' conftest.err >conftest.er1
  1730     cat conftest.er1 >&5
  1731     mv -f conftest.er1 conftest.err
  1732   fi
  1733   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1734   test $ac_status = 0; } && {
  1735 	 test -z "$ac_c_werror_flag" ||
  1736 	 test ! -s conftest.err
  1737        } && test -s conftest$ac_exeext && {
  1738 	 test "$cross_compiling" = yes ||
  1739 	 $as_test_x conftest$ac_exeext
  1740        }; then :
  1741   ac_retval=0
  1742 else
  1743   $as_echo "$as_me: failed program was:" >&5
  1744 sed 's/^/| /' conftest.$ac_ext >&5
  1745 
  1746 	ac_retval=1
  1747 fi
  1748   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  1749   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  1750   # interfere with the next link command; also delete a directory that is
  1751   # left behind by Apple's compiler.  We do this before executing the actions.
  1752   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1753   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1754   as_fn_set_status $ac_retval
  1755 
  1756 } # ac_fn_c_try_link
  1757 
  1758 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
  1759 # -------------------------------------------------------
  1760 # Tests whether HEADER exists and can be compiled using the include files in
  1761 # INCLUDES, setting the cache variable VAR accordingly.
  1762 ac_fn_c_check_header_compile ()
  1763 {
  1764   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1765   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1766 $as_echo_n "checking for $2... " >&6; }
  1767 if eval \${$3+:} false; then :
  1768   $as_echo_n "(cached) " >&6
  1769 else
  1770   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1771 /* end confdefs.h.  */
  1772 $4
  1773 #include <$2>
  1774 _ACEOF
  1775 if ac_fn_c_try_compile "$LINENO"; then :
  1776   eval "$3=yes"
  1777 else
  1778   eval "$3=no"
  1779 fi
  1780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1781 fi
  1782 eval ac_res=\$$3
  1783 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1784 $as_echo "$ac_res" >&6; }
  1785   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1786 
  1787 } # ac_fn_c_check_header_compile
  1788 
  1789 # ac_fn_c_try_cpp LINENO
  1790 # ----------------------
  1791 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
  1792 ac_fn_c_try_cpp ()
  1793 {
  1794   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1795   if { { ac_try="$ac_cpp conftest.$ac_ext"
  1796 case "(($ac_try" in
  1797   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1798   *) ac_try_echo=$ac_try;;
  1799 esac
  1800 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1801 $as_echo "$ac_try_echo"; } >&5
  1802   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  1803   ac_status=$?
  1804   if test -s conftest.err; then
  1805     grep -v '^ *+' conftest.err >conftest.er1
  1806     cat conftest.er1 >&5
  1807     mv -f conftest.er1 conftest.err
  1808   fi
  1809   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1810   test $ac_status = 0; } > conftest.i && {
  1811 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  1812 	 test ! -s conftest.err
  1813        }; then :
  1814   ac_retval=0
  1815 else
  1816   $as_echo "$as_me: failed program was:" >&5
  1817 sed 's/^/| /' conftest.$ac_ext >&5
  1818 
  1819     ac_retval=1
  1820 fi
  1821   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1822   as_fn_set_status $ac_retval
  1823 
  1824 } # ac_fn_c_try_cpp
  1825 
  1826 # ac_fn_c_try_run LINENO
  1827 # ----------------------
  1828 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
  1829 # that executables *can* be run.
  1830 ac_fn_c_try_run ()
  1831 {
  1832   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1833   if { { ac_try="$ac_link"
  1834 case "(($ac_try" in
  1835   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1836   *) ac_try_echo=$ac_try;;
  1837 esac
  1838 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1839 $as_echo "$ac_try_echo"; } >&5
  1840   (eval "$ac_link") 2>&5
  1841   ac_status=$?
  1842   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1843   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
  1844   { { case "(($ac_try" in
  1845   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1846   *) ac_try_echo=$ac_try;;
  1847 esac
  1848 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1849 $as_echo "$ac_try_echo"; } >&5
  1850   (eval "$ac_try") 2>&5
  1851   ac_status=$?
  1852   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1853   test $ac_status = 0; }; }; then :
  1854   ac_retval=0
  1855 else
  1856   $as_echo "$as_me: program exited with status $ac_status" >&5
  1857        $as_echo "$as_me: failed program was:" >&5
  1858 sed 's/^/| /' conftest.$ac_ext >&5
  1859 
  1860        ac_retval=$ac_status
  1861 fi
  1862   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1863   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1864   as_fn_set_status $ac_retval
  1865 
  1866 } # ac_fn_c_try_run
  1867 
  1868 # ac_fn_c_check_func LINENO FUNC VAR
  1869 # ----------------------------------
  1870 # Tests whether FUNC exists, setting the cache variable VAR accordingly
  1871 ac_fn_c_check_func ()
  1872 {
  1873   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1874   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1875 $as_echo_n "checking for $2... " >&6; }
  1876 if eval \${$3+:} false; then :
  1877   $as_echo_n "(cached) " >&6
  1878 else
  1879   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1880 /* end confdefs.h.  */
  1881 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
  1882    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  1883 #define $2 innocuous_$2
  1884 
  1885 /* System header to define __stub macros and hopefully few prototypes,
  1886     which can conflict with char $2 (); below.
  1887     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  1888     <limits.h> exists even on freestanding compilers.  */
  1889 
  1890 #ifdef __STDC__
  1891 # include <limits.h>
  1892 #else
  1893 # include <assert.h>
  1894 #endif
  1895 
  1896 #undef $2
  1897 
  1898 /* Override any GCC internal prototype to avoid an error.
  1899    Use char because int might match the return type of a GCC
  1900    builtin and then its argument prototype would still apply.  */
  1901 #ifdef __cplusplus
  1902 extern "C"
  1903 #endif
  1904 char $2 ();
  1905 /* The GNU C library defines this for functions which it implements
  1906     to always fail with ENOSYS.  Some functions are actually named
  1907     something starting with __ and the normal name is an alias.  */
  1908 #if defined __stub_$2 || defined __stub___$2
  1909 choke me
  1910 #endif
  1911 
  1912 int
  1913 main ()
  1914 {
  1915 return $2 ();
  1916   ;
  1917   return 0;
  1918 }
  1919 _ACEOF
  1920 if ac_fn_c_try_link "$LINENO"; then :
  1921   eval "$3=yes"
  1922 else
  1923   eval "$3=no"
  1924 fi
  1925 rm -f core conftest.err conftest.$ac_objext \
  1926     conftest$ac_exeext conftest.$ac_ext
  1927 fi
  1928 eval ac_res=\$$3
  1929 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1930 $as_echo "$ac_res" >&6; }
  1931   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1932 
  1933 } # ac_fn_c_check_func
  1934 
  1935 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
  1936 # -------------------------------------------------------
  1937 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
  1938 # the include files in INCLUDES and setting the cache variable VAR
  1939 # accordingly.
  1940 ac_fn_c_check_header_mongrel ()
  1941 {
  1942   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1943   if eval \${$3+:} false; then :
  1944   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1945 $as_echo_n "checking for $2... " >&6; }
  1946 if eval \${$3+:} false; then :
  1947   $as_echo_n "(cached) " >&6
  1948 fi
  1949 eval ac_res=\$$3
  1950 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1951 $as_echo "$ac_res" >&6; }
  1952 else
  1953   # Is the header compilable?
  1954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
  1955 $as_echo_n "checking $2 usability... " >&6; }
  1956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1957 /* end confdefs.h.  */
  1958 $4
  1959 #include <$2>
  1960 _ACEOF
  1961 if ac_fn_c_try_compile "$LINENO"; then :
  1962   ac_header_compiler=yes
  1963 else
  1964   ac_header_compiler=no
  1965 fi
  1966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
  1968 $as_echo "$ac_header_compiler" >&6; }
  1969 
  1970 # Is the header present?
  1971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
  1972 $as_echo_n "checking $2 presence... " >&6; }
  1973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1974 /* end confdefs.h.  */
  1975 #include <$2>
  1976 _ACEOF
  1977 if ac_fn_c_try_cpp "$LINENO"; then :
  1978   ac_header_preproc=yes
  1979 else
  1980   ac_header_preproc=no
  1981 fi
  1982 rm -f conftest.err conftest.i conftest.$ac_ext
  1983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
  1984 $as_echo "$ac_header_preproc" >&6; }
  1985 
  1986 # So?  What about this header?
  1987 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
  1988   yes:no: )
  1989     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
  1990 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
  1991     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  1992 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  1993     ;;
  1994   no:yes:* )
  1995     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
  1996 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
  1997     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
  1998 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
  1999     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
  2000 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
  2001     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
  2002 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
  2003     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  2004 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  2005     ;;
  2006 esac
  2007   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  2008 $as_echo_n "checking for $2... " >&6; }
  2009 if eval \${$3+:} false; then :
  2010   $as_echo_n "(cached) " >&6
  2011 else
  2012   eval "$3=\$ac_header_compiler"
  2013 fi
  2014 eval ac_res=\$$3
  2015 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  2016 $as_echo "$ac_res" >&6; }
  2017 fi
  2018   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2019 
  2020 } # ac_fn_c_check_header_mongrel
  2021 cat >config.log <<_ACEOF
  2022 This file contains any messages produced by compilers while
  2023 running configure, to aid debugging if configure makes a mistake.
  2024 
  2025 It was created by $as_me, which was
  2026 generated by GNU Autoconf 2.68.  Invocation command line was
  2027 
  2028   $ $0 $@
  2029 
  2030 _ACEOF
  2031 exec 5>>config.log
  2032 {
  2033 cat <<_ASUNAME
  2034 ## --------- ##
  2035 ## Platform. ##
  2036 ## --------- ##
  2037 
  2038 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  2039 uname -m = `(uname -m) 2>/dev/null || echo unknown`
  2040 uname -r = `(uname -r) 2>/dev/null || echo unknown`
  2041 uname -s = `(uname -s) 2>/dev/null || echo unknown`
  2042 uname -v = `(uname -v) 2>/dev/null || echo unknown`
  2043 
  2044 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  2045 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
  2046 
  2047 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
  2048 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
  2049 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  2050 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
  2051 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
  2052 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
  2053 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
  2054 
  2055 _ASUNAME
  2056 
  2057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2058 for as_dir in $PATH
  2059 do
  2060   IFS=$as_save_IFS
  2061   test -z "$as_dir" && as_dir=.
  2062     $as_echo "PATH: $as_dir"
  2063   done
  2064 IFS=$as_save_IFS
  2065 
  2066 } >&5
  2067 
  2068 cat >&5 <<_ACEOF
  2069 
  2070 
  2071 ## ----------- ##
  2072 ## Core tests. ##
  2073 ## ----------- ##
  2074 
  2075 _ACEOF
  2076 
  2077 
  2078 # Keep a trace of the command line.
  2079 # Strip out --no-create and --no-recursion so they do not pile up.
  2080 # Strip out --silent because we don't want to record it for future runs.
  2081 # Also quote any args containing shell meta-characters.
  2082 # Make two passes to allow for proper duplicate-argument suppression.
  2083 ac_configure_args=
  2084 ac_configure_args0=
  2085 ac_configure_args1=
  2086 ac_must_keep_next=false
  2087 for ac_pass in 1 2
  2088 do
  2089   for ac_arg
  2090   do
  2091     case $ac_arg in
  2092     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  2093     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  2094     | -silent | --silent | --silen | --sile | --sil)
  2095       continue ;;
  2096     *\'*)
  2097       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  2098     esac
  2099     case $ac_pass in
  2100     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
  2101     2)
  2102       as_fn_append ac_configure_args1 " '$ac_arg'"
  2103       if test $ac_must_keep_next = true; then
  2104 	ac_must_keep_next=false # Got value, back to normal.
  2105       else
  2106 	case $ac_arg in
  2107 	  *=* | --config-cache | -C | -disable-* | --disable-* \
  2108 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  2109 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  2110 	  | -with-* | --with-* | -without-* | --without-* | --x)
  2111 	    case "$ac_configure_args0 " in
  2112 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  2113 	    esac
  2114 	    ;;
  2115 	  -* ) ac_must_keep_next=true ;;
  2116 	esac
  2117       fi
  2118       as_fn_append ac_configure_args " '$ac_arg'"
  2119       ;;
  2120     esac
  2121   done
  2122 done
  2123 { ac_configure_args0=; unset ac_configure_args0;}
  2124 { ac_configure_args1=; unset ac_configure_args1;}
  2125 
  2126 # When interrupted or exit'd, cleanup temporary files, and complete
  2127 # config.log.  We remove comments because anyway the quotes in there
  2128 # would cause problems or look ugly.
  2129 # WARNING: Use '\'' to represent an apostrophe within the trap.
  2130 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  2131 trap 'exit_status=$?
  2132   # Save into config.log some information that might help in debugging.
  2133   {
  2134     echo
  2135 
  2136     $as_echo "## ---------------- ##
  2137 ## Cache variables. ##
  2138 ## ---------------- ##"
  2139     echo
  2140     # The following way of writing the cache mishandles newlines in values,
  2141 (
  2142   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  2143     eval ac_val=\$$ac_var
  2144     case $ac_val in #(
  2145     *${as_nl}*)
  2146       case $ac_var in #(
  2147       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  2148 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  2149       esac
  2150       case $ac_var in #(
  2151       _ | IFS | as_nl) ;; #(
  2152       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  2153       *) { eval $ac_var=; unset $ac_var;} ;;
  2154       esac ;;
  2155     esac
  2156   done
  2157   (set) 2>&1 |
  2158     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  2159     *${as_nl}ac_space=\ *)
  2160       sed -n \
  2161 	"s/'\''/'\''\\\\'\'''\''/g;
  2162 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  2163       ;; #(
  2164     *)
  2165       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  2166       ;;
  2167     esac |
  2168     sort
  2169 )
  2170     echo
  2171 
  2172     $as_echo "## ----------------- ##
  2173 ## Output variables. ##
  2174 ## ----------------- ##"
  2175     echo
  2176     for ac_var in $ac_subst_vars
  2177     do
  2178       eval ac_val=\$$ac_var
  2179       case $ac_val in
  2180       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  2181       esac
  2182       $as_echo "$ac_var='\''$ac_val'\''"
  2183     done | sort
  2184     echo
  2185 
  2186     if test -n "$ac_subst_files"; then
  2187       $as_echo "## ------------------- ##
  2188 ## File substitutions. ##
  2189 ## ------------------- ##"
  2190       echo
  2191       for ac_var in $ac_subst_files
  2192       do
  2193 	eval ac_val=\$$ac_var
  2194 	case $ac_val in
  2195 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  2196 	esac
  2197 	$as_echo "$ac_var='\''$ac_val'\''"
  2198       done | sort
  2199       echo
  2200     fi
  2201 
  2202     if test -s confdefs.h; then
  2203       $as_echo "## ----------- ##
  2204 ## confdefs.h. ##
  2205 ## ----------- ##"
  2206       echo
  2207       cat confdefs.h
  2208       echo
  2209     fi
  2210     test "$ac_signal" != 0 &&
  2211       $as_echo "$as_me: caught signal $ac_signal"
  2212     $as_echo "$as_me: exit $exit_status"
  2213   } >&5
  2214   rm -f core *.core core.conftest.* &&
  2215     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  2216     exit $exit_status
  2217 ' 0
  2218 for ac_signal in 1 2 13 15; do
  2219   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
  2220 done
  2221 ac_signal=0
  2222 
  2223 # confdefs.h avoids OS command line length limits that DEFS can exceed.
  2224 rm -f -r conftest* confdefs.h
  2225 
  2226 $as_echo "/* confdefs.h */" > confdefs.h
  2227 
  2228 # Predefined preprocessor variables.
  2229 
  2230 cat >>confdefs.h <<_ACEOF
  2231 #define PACKAGE_NAME "$PACKAGE_NAME"
  2232 _ACEOF
  2233 
  2234 cat >>confdefs.h <<_ACEOF
  2235 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  2236 _ACEOF
  2237 
  2238 cat >>confdefs.h <<_ACEOF
  2239 #define PACKAGE_VERSION "$PACKAGE_VERSION"
  2240 _ACEOF
  2241 
  2242 cat >>confdefs.h <<_ACEOF
  2243 #define PACKAGE_STRING "$PACKAGE_STRING"
  2244 _ACEOF
  2245 
  2246 cat >>confdefs.h <<_ACEOF
  2247 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  2248 _ACEOF
  2249 
  2250 cat >>confdefs.h <<_ACEOF
  2251 #define PACKAGE_URL "$PACKAGE_URL"
  2252 _ACEOF
  2253 
  2254 
  2255 # Let the site file select an alternate cache file if it wants to.
  2256 # Prefer an explicitly selected file to automatically selected ones.
  2257 ac_site_file1=NONE
  2258 ac_site_file2=NONE
  2259 if test -n "$CONFIG_SITE"; then
  2260   # We do not want a PATH search for config.site.
  2261   case $CONFIG_SITE in #((
  2262     -*)  ac_site_file1=./$CONFIG_SITE;;
  2263     */*) ac_site_file1=$CONFIG_SITE;;
  2264     *)   ac_site_file1=./$CONFIG_SITE;;
  2265   esac
  2266 elif test "x$prefix" != xNONE; then
  2267   ac_site_file1=$prefix/share/config.site
  2268   ac_site_file2=$prefix/etc/config.site
  2269 else
  2270   ac_site_file1=$ac_default_prefix/share/config.site
  2271   ac_site_file2=$ac_default_prefix/etc/config.site
  2272 fi
  2273 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  2274 do
  2275   test "x$ac_site_file" = xNONE && continue
  2276   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
  2277     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
  2278 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
  2279     sed 's/^/| /' "$ac_site_file" >&5
  2280     . "$ac_site_file" \
  2281       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2282 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2283 as_fn_error $? "failed to load site script $ac_site_file
  2284 See \`config.log' for more details" "$LINENO" 5; }
  2285   fi
  2286 done
  2287 
  2288 if test -r "$cache_file"; then
  2289   # Some versions of bash will fail to source /dev/null (special files
  2290   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
  2291   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
  2292     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
  2293 $as_echo "$as_me: loading cache $cache_file" >&6;}
  2294     case $cache_file in
  2295       [\\/]* | ?:[\\/]* ) . "$cache_file";;
  2296       *)                      . "./$cache_file";;
  2297     esac
  2298   fi
  2299 else
  2300   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
  2301 $as_echo "$as_me: creating cache $cache_file" >&6;}
  2302   >$cache_file
  2303 fi
  2304 
  2305 # Check that the precious variables saved in the cache have kept the same
  2306 # value.
  2307 ac_cache_corrupted=false
  2308 for ac_var in $ac_precious_vars; do
  2309   eval ac_old_set=\$ac_cv_env_${ac_var}_set
  2310   eval ac_new_set=\$ac_env_${ac_var}_set
  2311   eval ac_old_val=\$ac_cv_env_${ac_var}_value
  2312   eval ac_new_val=\$ac_env_${ac_var}_value
  2313   case $ac_old_set,$ac_new_set in
  2314     set,)
  2315       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  2316 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  2317       ac_cache_corrupted=: ;;
  2318     ,set)
  2319       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
  2320 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  2321       ac_cache_corrupted=: ;;
  2322     ,);;
  2323     *)
  2324       if test "x$ac_old_val" != "x$ac_new_val"; then
  2325 	# differences in whitespace do not lead to failure.
  2326 	ac_old_val_w=`echo x $ac_old_val`
  2327 	ac_new_val_w=`echo x $ac_new_val`
  2328 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
  2329 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
  2330 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  2331 	  ac_cache_corrupted=:
  2332 	else
  2333 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  2334 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  2335 	  eval $ac_var=\$ac_old_val
  2336 	fi
  2337 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
  2338 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
  2339 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
  2340 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
  2341       fi;;
  2342   esac
  2343   # Pass precious variables to config.status.
  2344   if test "$ac_new_set" = set; then
  2345     case $ac_new_val in
  2346     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  2347     *) ac_arg=$ac_var=$ac_new_val ;;
  2348     esac
  2349     case " $ac_configure_args " in
  2350       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
  2351       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
  2352     esac
  2353   fi
  2354 done
  2355 if $ac_cache_corrupted; then
  2356   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2357 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2358   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
  2359 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  2360   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
  2361 fi
  2362 ## -------------------- ##
  2363 ## Main body of script. ##
  2364 ## -------------------- ##
  2365 
  2366 ac_ext=c
  2367 ac_cpp='$CPP $CPPFLAGS'
  2368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2371 
  2372 
  2373 ac_aux_dir=
  2374 for ac_dir in build-scripts "$srcdir"/build-scripts; do
  2375   if test -f "$ac_dir/install-sh"; then
  2376     ac_aux_dir=$ac_dir
  2377     ac_install_sh="$ac_aux_dir/install-sh -c"
  2378     break
  2379   elif test -f "$ac_dir/install.sh"; then
  2380     ac_aux_dir=$ac_dir
  2381     ac_install_sh="$ac_aux_dir/install.sh -c"
  2382     break
  2383   elif test -f "$ac_dir/shtool"; then
  2384     ac_aux_dir=$ac_dir
  2385     ac_install_sh="$ac_aux_dir/shtool install -c"
  2386     break
  2387   fi
  2388 done
  2389 if test -z "$ac_aux_dir"; then
  2390   as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-scripts \"$srcdir\"/build-scripts" "$LINENO" 5
  2391 fi
  2392 
  2393 # These three variables are undocumented and unsupported,
  2394 # and are intended to be withdrawn in a future Autoconf release.
  2395 # They can cause serious problems if a builder's source tree is in a directory
  2396 # whose full name contains unusual characters.
  2397 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
  2398 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
  2399 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
  2400 
  2401 
  2402 
  2403 
  2404 # Making releases:
  2405 #   MICRO_VERSION += 1;
  2406 #   INTERFACE_AGE += 1;
  2407 #   BINARY_AGE += 1;
  2408 # if any functions have been added, set INTERFACE_AGE to 0.
  2409 # if backwards compatibility has been broken,
  2410 # set BINARY_AGE and INTERFACE_AGE to 0.
  2411 #
  2412 MAJOR_VERSION=2
  2413 MINOR_VERSION=0
  2414 MICRO_VERSION=0
  2415 INTERFACE_AGE=0
  2416 BINARY_AGE=0
  2417 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION
  2418 
  2419 
  2420 
  2421 
  2422 
  2423 
  2424 
  2425 
  2426 # libtool versioning
  2427 case `pwd` in
  2428   *\ * | *\	*)
  2429     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
  2430 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
  2431 esac
  2432 
  2433 
  2434 
  2435 macro_version='2.2.6'
  2436 macro_revision='1.3012'
  2437 
  2438 
  2439 
  2440 
  2441 
  2442 
  2443 
  2444 
  2445 
  2446 
  2447 
  2448 
  2449 
  2450 ltmain="$ac_aux_dir/ltmain.sh"
  2451 
  2452 # Make sure we can run config.sub.
  2453 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  2454   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
  2455 
  2456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
  2457 $as_echo_n "checking build system type... " >&6; }
  2458 if ${ac_cv_build+:} false; then :
  2459   $as_echo_n "(cached) " >&6
  2460 else
  2461   ac_build_alias=$build_alias
  2462 test "x$ac_build_alias" = x &&
  2463   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  2464 test "x$ac_build_alias" = x &&
  2465   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
  2466 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  2467   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
  2468 
  2469 fi
  2470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
  2471 $as_echo "$ac_cv_build" >&6; }
  2472 case $ac_cv_build in
  2473 *-*-*) ;;
  2474 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
  2475 esac
  2476 build=$ac_cv_build
  2477 ac_save_IFS=$IFS; IFS='-'
  2478 set x $ac_cv_build
  2479 shift
  2480 build_cpu=$1
  2481 build_vendor=$2
  2482 shift; shift
  2483 # Remember, the first character of IFS is used to create $*,
  2484 # except with old shells:
  2485 build_os=$*
  2486 IFS=$ac_save_IFS
  2487 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  2488 
  2489 
  2490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
  2491 $as_echo_n "checking host system type... " >&6; }
  2492 if ${ac_cv_host+:} false; then :
  2493   $as_echo_n "(cached) " >&6
  2494 else
  2495   if test "x$host_alias" = x; then
  2496   ac_cv_host=$ac_cv_build
  2497 else
  2498   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  2499     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
  2500 fi
  2501 
  2502 fi
  2503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
  2504 $as_echo "$ac_cv_host" >&6; }
  2505 case $ac_cv_host in
  2506 *-*-*) ;;
  2507 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
  2508 esac
  2509 host=$ac_cv_host
  2510 ac_save_IFS=$IFS; IFS='-'
  2511 set x $ac_cv_host
  2512 shift
  2513 host_cpu=$1
  2514 host_vendor=$2
  2515 shift; shift
  2516 # Remember, the first character of IFS is used to create $*,
  2517 # except with old shells:
  2518 host_os=$*
  2519 IFS=$ac_save_IFS
  2520 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  2521 
  2522 
  2523 ac_ext=c
  2524 ac_cpp='$CPP $CPPFLAGS'
  2525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2528 if test -n "$ac_tool_prefix"; then
  2529   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  2530 set dummy ${ac_tool_prefix}gcc; ac_word=$2
  2531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2532 $as_echo_n "checking for $ac_word... " >&6; }
  2533 if ${ac_cv_prog_CC+:} false; then :
  2534   $as_echo_n "(cached) " >&6
  2535 else
  2536   if test -n "$CC"; then
  2537   ac_cv_prog_CC="$CC" # Let the user override the test.
  2538 else
  2539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2540 for as_dir in $PATH
  2541 do
  2542   IFS=$as_save_IFS
  2543   test -z "$as_dir" && as_dir=.
  2544     for ac_exec_ext in '' $ac_executable_extensions; do
  2545   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2546     ac_cv_prog_CC="${ac_tool_prefix}gcc"
  2547     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2548     break 2
  2549   fi
  2550 done
  2551   done
  2552 IFS=$as_save_IFS
  2553 
  2554 fi
  2555 fi
  2556 CC=$ac_cv_prog_CC
  2557 if test -n "$CC"; then
  2558   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  2559 $as_echo "$CC" >&6; }
  2560 else
  2561   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2562 $as_echo "no" >&6; }
  2563 fi
  2564 
  2565 
  2566 fi
  2567 if test -z "$ac_cv_prog_CC"; then
  2568   ac_ct_CC=$CC
  2569   # Extract the first word of "gcc", so it can be a program name with args.
  2570 set dummy gcc; ac_word=$2
  2571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2572 $as_echo_n "checking for $ac_word... " >&6; }
  2573 if ${ac_cv_prog_ac_ct_CC+:} false; then :
  2574   $as_echo_n "(cached) " >&6
  2575 else
  2576   if test -n "$ac_ct_CC"; then
  2577   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2578 else
  2579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2580 for as_dir in $PATH
  2581 do
  2582   IFS=$as_save_IFS
  2583   test -z "$as_dir" && as_dir=.
  2584     for ac_exec_ext in '' $ac_executable_extensions; do
  2585   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2586     ac_cv_prog_ac_ct_CC="gcc"
  2587     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2588     break 2
  2589   fi
  2590 done
  2591   done
  2592 IFS=$as_save_IFS
  2593 
  2594 fi
  2595 fi
  2596 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2597 if test -n "$ac_ct_CC"; then
  2598   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  2599 $as_echo "$ac_ct_CC" >&6; }
  2600 else
  2601   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2602 $as_echo "no" >&6; }
  2603 fi
  2604 
  2605   if test "x$ac_ct_CC" = x; then
  2606     CC=""
  2607   else
  2608     case $cross_compiling:$ac_tool_warned in
  2609 yes:)
  2610 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  2611 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  2612 ac_tool_warned=yes ;;
  2613 esac
  2614     CC=$ac_ct_CC
  2615   fi
  2616 else
  2617   CC="$ac_cv_prog_CC"
  2618 fi
  2619 
  2620 if test -z "$CC"; then
  2621           if test -n "$ac_tool_prefix"; then
  2622     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  2623 set dummy ${ac_tool_prefix}cc; ac_word=$2
  2624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2625 $as_echo_n "checking for $ac_word... " >&6; }
  2626 if ${ac_cv_prog_CC+:} false; then :
  2627   $as_echo_n "(cached) " >&6
  2628 else
  2629   if test -n "$CC"; then
  2630   ac_cv_prog_CC="$CC" # Let the user override the test.
  2631 else
  2632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2633 for as_dir in $PATH
  2634 do
  2635   IFS=$as_save_IFS
  2636   test -z "$as_dir" && as_dir=.
  2637     for ac_exec_ext in '' $ac_executable_extensions; do
  2638   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2639     ac_cv_prog_CC="${ac_tool_prefix}cc"
  2640     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2641     break 2
  2642   fi
  2643 done
  2644   done
  2645 IFS=$as_save_IFS
  2646 
  2647 fi
  2648 fi
  2649 CC=$ac_cv_prog_CC
  2650 if test -n "$CC"; then
  2651   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  2652 $as_echo "$CC" >&6; }
  2653 else
  2654   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2655 $as_echo "no" >&6; }
  2656 fi
  2657 
  2658 
  2659   fi
  2660 fi
  2661 if test -z "$CC"; then
  2662   # Extract the first word of "cc", so it can be a program name with args.
  2663 set dummy cc; ac_word=$2
  2664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2665 $as_echo_n "checking for $ac_word... " >&6; }
  2666 if ${ac_cv_prog_CC+:} false; then :
  2667   $as_echo_n "(cached) " >&6
  2668 else
  2669   if test -n "$CC"; then
  2670   ac_cv_prog_CC="$CC" # Let the user override the test.
  2671 else
  2672   ac_prog_rejected=no
  2673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2674 for as_dir in $PATH
  2675 do
  2676   IFS=$as_save_IFS
  2677   test -z "$as_dir" && as_dir=.
  2678     for ac_exec_ext in '' $ac_executable_extensions; do
  2679   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2680     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  2681        ac_prog_rejected=yes
  2682        continue
  2683      fi
  2684     ac_cv_prog_CC="cc"
  2685     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2686     break 2
  2687   fi
  2688 done
  2689   done
  2690 IFS=$as_save_IFS
  2691 
  2692 if test $ac_prog_rejected = yes; then
  2693   # We found a bogon in the path, so make sure we never use it.
  2694   set dummy $ac_cv_prog_CC
  2695   shift
  2696   if test $# != 0; then
  2697     # We chose a different compiler from the bogus one.
  2698     # However, it has the same basename, so the bogon will be chosen
  2699     # first if we set CC to just the basename; use the full file name.
  2700     shift
  2701     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  2702   fi
  2703 fi
  2704 fi
  2705 fi
  2706 CC=$ac_cv_prog_CC
  2707 if test -n "$CC"; then
  2708   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  2709 $as_echo "$CC" >&6; }
  2710 else
  2711   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2712 $as_echo "no" >&6; }
  2713 fi
  2714 
  2715 
  2716 fi
  2717 if test -z "$CC"; then
  2718   if test -n "$ac_tool_prefix"; then
  2719   for ac_prog in cl.exe
  2720   do
  2721     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  2722 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  2723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2724 $as_echo_n "checking for $ac_word... " >&6; }
  2725 if ${ac_cv_prog_CC+:} false; then :
  2726   $as_echo_n "(cached) " >&6
  2727 else
  2728   if test -n "$CC"; then
  2729   ac_cv_prog_CC="$CC" # Let the user override the test.
  2730 else
  2731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2732 for as_dir in $PATH
  2733 do
  2734   IFS=$as_save_IFS
  2735   test -z "$as_dir" && as_dir=.
  2736     for ac_exec_ext in '' $ac_executable_extensions; do
  2737   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2738     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  2739     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2740     break 2
  2741   fi
  2742 done
  2743   done
  2744 IFS=$as_save_IFS
  2745 
  2746 fi
  2747 fi
  2748 CC=$ac_cv_prog_CC
  2749 if test -n "$CC"; then
  2750   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  2751 $as_echo "$CC" >&6; }
  2752 else
  2753   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2754 $as_echo "no" >&6; }
  2755 fi
  2756 
  2757 
  2758     test -n "$CC" && break
  2759   done
  2760 fi
  2761 if test -z "$CC"; then
  2762   ac_ct_CC=$CC
  2763   for ac_prog in cl.exe
  2764 do
  2765   # Extract the first word of "$ac_prog", so it can be a program name with args.
  2766 set dummy $ac_prog; ac_word=$2
  2767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2768 $as_echo_n "checking for $ac_word... " >&6; }
  2769 if ${ac_cv_prog_ac_ct_CC+:} false; then :
  2770   $as_echo_n "(cached) " >&6
  2771 else
  2772   if test -n "$ac_ct_CC"; then
  2773   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2774 else
  2775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2776 for as_dir in $PATH
  2777 do
  2778   IFS=$as_save_IFS
  2779   test -z "$as_dir" && as_dir=.
  2780     for ac_exec_ext in '' $ac_executable_extensions; do
  2781   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2782     ac_cv_prog_ac_ct_CC="$ac_prog"
  2783     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2784     break 2
  2785   fi
  2786 done
  2787   done
  2788 IFS=$as_save_IFS
  2789 
  2790 fi
  2791 fi
  2792 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2793 if test -n "$ac_ct_CC"; then
  2794   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  2795 $as_echo "$ac_ct_CC" >&6; }
  2796 else
  2797   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2798 $as_echo "no" >&6; }
  2799 fi
  2800 
  2801 
  2802   test -n "$ac_ct_CC" && break
  2803 done
  2804 
  2805   if test "x$ac_ct_CC" = x; then
  2806     CC=""
  2807   else
  2808     case $cross_compiling:$ac_tool_warned in
  2809 yes:)
  2810 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  2811 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  2812 ac_tool_warned=yes ;;
  2813 esac
  2814     CC=$ac_ct_CC
  2815   fi
  2816 fi
  2817 
  2818 fi
  2819 
  2820 
  2821 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2822 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2823 as_fn_error $? "no acceptable C compiler found in \$PATH
  2824 See \`config.log' for more details" "$LINENO" 5; }
  2825 
  2826 # Provide some information about the compiler.
  2827 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  2828 set X $ac_compile
  2829 ac_compiler=$2
  2830 for ac_option in --version -v -V -qversion; do
  2831   { { ac_try="$ac_compiler $ac_option >&5"
  2832 case "(($ac_try" in
  2833   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2834   *) ac_try_echo=$ac_try;;
  2835 esac
  2836 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2837 $as_echo "$ac_try_echo"; } >&5
  2838   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  2839   ac_status=$?
  2840   if test -s conftest.err; then
  2841     sed '10a\
  2842 ... rest of stderr output deleted ...
  2843          10q' conftest.err >conftest.er1
  2844     cat conftest.er1 >&5
  2845   fi
  2846   rm -f conftest.er1 conftest.err
  2847   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2848   test $ac_status = 0; }
  2849 done
  2850 
  2851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2852 /* end confdefs.h.  */
  2853 
  2854 int
  2855 main ()
  2856 {
  2857 
  2858   ;
  2859   return 0;
  2860 }
  2861 _ACEOF
  2862 ac_clean_files_save=$ac_clean_files
  2863 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
  2864 # Try to create an executable without -o first, disregard a.out.
  2865 # It will help us diagnose broken compilers, and finding out an intuition
  2866 # of exeext.
  2867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
  2868 $as_echo_n "checking whether the C compiler works... " >&6; }
  2869 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  2870 
  2871 # The possible output files:
  2872 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
  2873 
  2874 ac_rmfiles=
  2875 for ac_file in $ac_files
  2876 do
  2877   case $ac_file in
  2878     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  2879     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  2880   esac
  2881 done
  2882 rm -f $ac_rmfiles
  2883 
  2884 if { { ac_try="$ac_link_default"
  2885 case "(($ac_try" in
  2886   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2887   *) ac_try_echo=$ac_try;;
  2888 esac
  2889 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2890 $as_echo "$ac_try_echo"; } >&5
  2891   (eval "$ac_link_default") 2>&5
  2892   ac_status=$?
  2893   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2894   test $ac_status = 0; }; then :
  2895   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  2896 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  2897 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
  2898 # so that the user can short-circuit this test for compilers unknown to
  2899 # Autoconf.
  2900 for ac_file in $ac_files ''
  2901 do
  2902   test -f "$ac_file" || continue
  2903   case $ac_file in
  2904     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
  2905 	;;
  2906     [ab].out )
  2907 	# We found the default executable, but exeext='' is most
  2908 	# certainly right.
  2909 	break;;
  2910     *.* )
  2911 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  2912 	then :; else
  2913 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2914 	fi
  2915 	# We set ac_cv_exeext here because the later test for it is not
  2916 	# safe: cross compilers may not add the suffix if given an `-o'
  2917 	# argument, so we may need to know it at that point already.
  2918 	# Even if this section looks crufty: it has the advantage of
  2919 	# actually working.
  2920 	break;;
  2921     * )
  2922 	break;;
  2923   esac
  2924 done
  2925 test "$ac_cv_exeext" = no && ac_cv_exeext=
  2926 
  2927 else
  2928   ac_file=''
  2929 fi
  2930 if test -z "$ac_file"; then :
  2931   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2932 $as_echo "no" >&6; }
  2933 $as_echo "$as_me: failed program was:" >&5
  2934 sed 's/^/| /' conftest.$ac_ext >&5
  2935 
  2936 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2937 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2938 as_fn_error 77 "C compiler cannot create executables
  2939 See \`config.log' for more details" "$LINENO" 5; }
  2940 else
  2941   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  2942 $as_echo "yes" >&6; }
  2943 fi
  2944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
  2945 $as_echo_n "checking for C compiler default output file name... " >&6; }
  2946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
  2947 $as_echo "$ac_file" >&6; }
  2948 ac_exeext=$ac_cv_exeext
  2949 
  2950 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
  2951 ac_clean_files=$ac_clean_files_save
  2952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
  2953 $as_echo_n "checking for suffix of executables... " >&6; }
  2954 if { { ac_try="$ac_link"
  2955 case "(($ac_try" in
  2956   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2957   *) ac_try_echo=$ac_try;;
  2958 esac
  2959 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2960 $as_echo "$ac_try_echo"; } >&5
  2961   (eval "$ac_link") 2>&5
  2962   ac_status=$?
  2963   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2964   test $ac_status = 0; }; then :
  2965   # If both `conftest.exe' and `conftest' are `present' (well, observable)
  2966 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
  2967 # work properly (i.e., refer to `conftest.exe'), while it won't with
  2968 # `rm'.
  2969 for ac_file in conftest.exe conftest conftest.*; do
  2970   test -f "$ac_file" || continue
  2971   case $ac_file in
  2972     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  2973     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2974 	  break;;
  2975     * ) break;;
  2976   esac
  2977 done
  2978 else
  2979   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2980 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2981 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
  2982 See \`config.log' for more details" "$LINENO" 5; }
  2983 fi
  2984 rm -f conftest conftest$ac_cv_exeext
  2985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
  2986 $as_echo "$ac_cv_exeext" >&6; }
  2987 
  2988 rm -f conftest.$ac_ext
  2989 EXEEXT=$ac_cv_exeext
  2990 ac_exeext=$EXEEXT
  2991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2992 /* end confdefs.h.  */
  2993 #include <stdio.h>
  2994 int
  2995 main ()
  2996 {
  2997 FILE *f = fopen ("conftest.out", "w");
  2998  return ferror (f) || fclose (f) != 0;
  2999 
  3000   ;
  3001   return 0;
  3002 }
  3003 _ACEOF
  3004 ac_clean_files="$ac_clean_files conftest.out"
  3005 # Check that the compiler produces executables we can run.  If not, either
  3006 # the compiler is broken, or we cross compile.
  3007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
  3008 $as_echo_n "checking whether we are cross compiling... " >&6; }
  3009 if test "$cross_compiling" != yes; then
  3010   { { ac_try="$ac_link"
  3011 case "(($ac_try" in
  3012   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3013   *) ac_try_echo=$ac_try;;
  3014 esac
  3015 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3016 $as_echo "$ac_try_echo"; } >&5
  3017   (eval "$ac_link") 2>&5
  3018   ac_status=$?
  3019   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3020   test $ac_status = 0; }
  3021   if { ac_try='./conftest$ac_cv_exeext'
  3022   { { case "(($ac_try" in
  3023   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3024   *) ac_try_echo=$ac_try;;
  3025 esac
  3026 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3027 $as_echo "$ac_try_echo"; } >&5
  3028   (eval "$ac_try") 2>&5
  3029   ac_status=$?
  3030   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3031   test $ac_status = 0; }; }; then
  3032     cross_compiling=no
  3033   else
  3034     if test "$cross_compiling" = maybe; then
  3035 	cross_compiling=yes
  3036     else
  3037 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3038 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3039 as_fn_error $? "cannot run C compiled programs.
  3040 If you meant to cross compile, use \`--host'.
  3041 See \`config.log' for more details" "$LINENO" 5; }
  3042     fi
  3043   fi
  3044 fi
  3045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
  3046 $as_echo "$cross_compiling" >&6; }
  3047 
  3048 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
  3049 ac_clean_files=$ac_clean_files_save
  3050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
  3051 $as_echo_n "checking for suffix of object files... " >&6; }
  3052 if ${ac_cv_objext+:} false; then :
  3053   $as_echo_n "(cached) " >&6
  3054 else
  3055   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3056 /* end confdefs.h.  */
  3057 
  3058 int
  3059 main ()
  3060 {
  3061 
  3062   ;
  3063   return 0;
  3064 }
  3065 _ACEOF
  3066 rm -f conftest.o conftest.obj
  3067 if { { ac_try="$ac_compile"
  3068 case "(($ac_try" in
  3069   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3070   *) ac_try_echo=$ac_try;;
  3071 esac
  3072 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3073 $as_echo "$ac_try_echo"; } >&5
  3074   (eval "$ac_compile") 2>&5
  3075   ac_status=$?
  3076   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3077   test $ac_status = 0; }; then :
  3078   for ac_file in conftest.o conftest.obj conftest.*; do
  3079   test -f "$ac_file" || continue;
  3080   case $ac_file in
  3081     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
  3082     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  3083        break;;
  3084   esac
  3085 done
  3086 else
  3087   $as_echo "$as_me: failed program was:" >&5
  3088 sed 's/^/| /' conftest.$ac_ext >&5
  3089 
  3090 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3091 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3092 as_fn_error $? "cannot compute suffix of object files: cannot compile
  3093 See \`config.log' for more details" "$LINENO" 5; }
  3094 fi
  3095 rm -f conftest.$ac_cv_objext conftest.$ac_ext
  3096 fi
  3097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
  3098 $as_echo "$ac_cv_objext" >&6; }
  3099 OBJEXT=$ac_cv_objext
  3100 ac_objext=$OBJEXT
  3101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
  3102 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  3103 if ${ac_cv_c_compiler_gnu+:} false; then :
  3104   $as_echo_n "(cached) " >&6
  3105 else
  3106   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3107 /* end confdefs.h.  */
  3108 
  3109 int
  3110 main ()
  3111 {
  3112 #ifndef __GNUC__
  3113        choke me
  3114 #endif
  3115 
  3116   ;
  3117   return 0;
  3118 }
  3119 _ACEOF
  3120 if ac_fn_c_try_compile "$LINENO"; then :
  3121   ac_compiler_gnu=yes
  3122 else
  3123   ac_compiler_gnu=no
  3124 fi
  3125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3126 ac_cv_c_compiler_gnu=$ac_compiler_gnu
  3127 
  3128 fi
  3129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  3130 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
  3131 if test $ac_compiler_gnu = yes; then
  3132   GCC=yes
  3133 else
  3134   GCC=
  3135 fi
  3136 ac_test_CFLAGS=${CFLAGS+set}
  3137 ac_save_CFLAGS=$CFLAGS
  3138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  3139 $as_echo_n "checking whether $CC accepts -g... " >&6; }
  3140 if ${ac_cv_prog_cc_g+:} false; then :
  3141   $as_echo_n "(cached) " >&6
  3142 else
  3143   ac_save_c_werror_flag=$ac_c_werror_flag
  3144    ac_c_werror_flag=yes
  3145    ac_cv_prog_cc_g=no
  3146    CFLAGS="-g"
  3147    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3148 /* end confdefs.h.  */
  3149 
  3150 int
  3151 main ()
  3152 {
  3153 
  3154   ;
  3155   return 0;
  3156 }
  3157 _ACEOF
  3158 if ac_fn_c_try_compile "$LINENO"; then :
  3159   ac_cv_prog_cc_g=yes
  3160 else
  3161   CFLAGS=""
  3162       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3163 /* end confdefs.h.  */
  3164 
  3165 int
  3166 main ()
  3167 {
  3168 
  3169   ;
  3170   return 0;
  3171 }
  3172 _ACEOF
  3173 if ac_fn_c_try_compile "$LINENO"; then :
  3174 
  3175 else
  3176   ac_c_werror_flag=$ac_save_c_werror_flag
  3177 	 CFLAGS="-g"
  3178 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3179 /* end confdefs.h.  */
  3180 
  3181 int
  3182 main ()
  3183 {
  3184 
  3185   ;
  3186   return 0;
  3187 }
  3188 _ACEOF
  3189 if ac_fn_c_try_compile "$LINENO"; then :
  3190   ac_cv_prog_cc_g=yes
  3191 fi
  3192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3193 fi
  3194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3195 fi
  3196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3197    ac_c_werror_flag=$ac_save_c_werror_flag
  3198 fi
  3199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  3200 $as_echo "$ac_cv_prog_cc_g" >&6; }
  3201 if test "$ac_test_CFLAGS" = set; then
  3202   CFLAGS=$ac_save_CFLAGS
  3203 elif test $ac_cv_prog_cc_g = yes; then
  3204   if test "$GCC" = yes; then
  3205     CFLAGS="-g -O2"
  3206   else
  3207     CFLAGS="-g"
  3208   fi
  3209 else
  3210   if test "$GCC" = yes; then
  3211     CFLAGS="-O2"
  3212   else
  3213     CFLAGS=
  3214   fi
  3215 fi
  3216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  3217 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  3218 if ${ac_cv_prog_cc_c89+:} false; then :
  3219   $as_echo_n "(cached) " >&6
  3220 else
  3221   ac_cv_prog_cc_c89=no
  3222 ac_save_CC=$CC
  3223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3224 /* end confdefs.h.  */
  3225 #include <stdarg.h>
  3226 #include <stdio.h>
  3227 #include <sys/types.h>
  3228 #include <sys/stat.h>
  3229 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  3230 struct buf { int x; };
  3231 FILE * (*rcsopen) (struct buf *, struct stat *, int);
  3232 static char *e (p, i)
  3233      char **p;
  3234      int i;
  3235 {
  3236   return p[i];
  3237 }
  3238 static char *f (char * (*g) (char **, int), char **p, ...)
  3239 {
  3240   char *s;
  3241   va_list v;
  3242   va_start (v,p);
  3243   s = g (p, va_arg (v,int));
  3244   va_end (v);
  3245   return s;
  3246 }
  3247 
  3248 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  3249    function prototypes and stuff, but not '\xHH' hex character constants.
  3250    These don't provoke an error unfortunately, instead are silently treated
  3251    as 'x'.  The following induces an error, until -std is added to get
  3252    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  3253    array size at least.  It's necessary to write '\x00'==0 to get something
  3254    that's true only with -std.  */
  3255 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  3256 
  3257 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  3258    inside strings and character constants.  */
  3259 #define FOO(x) 'x'
  3260 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  3261 
  3262 int test (int i, double x);
  3263 struct s1 {int (*f) (int a);};
  3264 struct s2 {int (*f) (double a);};
  3265 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  3266 int argc;
  3267 char **argv;
  3268 int
  3269 main ()
  3270 {
  3271 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  3272   ;
  3273   return 0;
  3274 }
  3275 _ACEOF
  3276 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  3277 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  3278 do
  3279   CC="$ac_save_CC $ac_arg"
  3280   if ac_fn_c_try_compile "$LINENO"; then :
  3281   ac_cv_prog_cc_c89=$ac_arg
  3282 fi
  3283 rm -f core conftest.err conftest.$ac_objext
  3284   test "x$ac_cv_prog_cc_c89" != "xno" && break
  3285 done
  3286 rm -f conftest.$ac_ext
  3287 CC=$ac_save_CC
  3288 
  3289 fi
  3290 # AC_CACHE_VAL
  3291 case "x$ac_cv_prog_cc_c89" in
  3292   x)
  3293     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  3294 $as_echo "none needed" >&6; } ;;
  3295   xno)
  3296     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  3297 $as_echo "unsupported" >&6; } ;;
  3298   *)
  3299     CC="$CC $ac_cv_prog_cc_c89"
  3300     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  3301 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  3302 esac
  3303 if test "x$ac_cv_prog_cc_c89" != xno; then :
  3304 
  3305 fi
  3306 
  3307 ac_ext=c
  3308 ac_cpp='$CPP $CPPFLAGS'
  3309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3312 
  3313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
  3314 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
  3315 if ${ac_cv_path_SED+:} false; then :
  3316   $as_echo_n "(cached) " >&6
  3317 else
  3318             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
  3319      for ac_i in 1 2 3 4 5 6 7; do
  3320        ac_script="$ac_script$as_nl$ac_script"
  3321      done
  3322      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
  3323      { ac_script=; unset ac_script;}
  3324      if test -z "$SED"; then
  3325   ac_path_SED_found=false
  3326   # Loop through the user's path and test for each of PROGNAME-LIST
  3327   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3328 for as_dir in $PATH
  3329 do
  3330   IFS=$as_save_IFS
  3331   test -z "$as_dir" && as_dir=.
  3332     for ac_prog in sed gsed; do
  3333     for ac_exec_ext in '' $ac_executable_extensions; do
  3334       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
  3335       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
  3336 # Check for GNU ac_path_SED and select it if it is found.
  3337   # Check for GNU $ac_path_SED
  3338 case `"$ac_path_SED" --version 2>&1` in
  3339 *GNU*)
  3340   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
  3341 *)
  3342   ac_count=0
  3343   $as_echo_n 0123456789 >"conftest.in"
  3344   while :
  3345   do
  3346     cat "conftest.in" "conftest.in" >"conftest.tmp"
  3347     mv "conftest.tmp" "conftest.in"
  3348     cp "conftest.in" "conftest.nl"
  3349     $as_echo '' >> "conftest.nl"
  3350     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
  3351     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  3352     as_fn_arith $ac_count + 1 && ac_count=$as_val
  3353     if test $ac_count -gt ${ac_path_SED_max-0}; then
  3354       # Best one so far, save it but keep looking for a better one
  3355       ac_cv_path_SED="$ac_path_SED"
  3356       ac_path_SED_max=$ac_count
  3357     fi
  3358     # 10*(2^10) chars as input seems more than enough
  3359     test $ac_count -gt 10 && break
  3360   done
  3361   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  3362 esac
  3363 
  3364       $ac_path_SED_found && break 3
  3365     done
  3366   done
  3367   done
  3368 IFS=$as_save_IFS
  3369   if test -z "$ac_cv_path_SED"; then
  3370     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
  3371   fi
  3372 else
  3373   ac_cv_path_SED=$SED
  3374 fi
  3375 
  3376 fi
  3377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
  3378 $as_echo "$ac_cv_path_SED" >&6; }
  3379  SED="$ac_cv_path_SED"
  3380   rm -f conftest.sed
  3381 
  3382 test -z "$SED" && SED=sed
  3383 Xsed="$SED -e 1s/^X//"
  3384 
  3385 
  3386 
  3387 
  3388 
  3389 
  3390 
  3391 
  3392 
  3393 
  3394 
  3395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
  3396 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
  3397 if ${ac_cv_path_GREP+:} false; then :
  3398   $as_echo_n "(cached) " >&6
  3399 else
  3400   if test -z "$GREP"; then
  3401   ac_path_GREP_found=false
  3402   # Loop through the user's path and test for each of PROGNAME-LIST
  3403   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3404 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  3405 do
  3406   IFS=$as_save_IFS
  3407   test -z "$as_dir" && as_dir=.
  3408     for ac_prog in grep ggrep; do
  3409     for ac_exec_ext in '' $ac_executable_extensions; do
  3410       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  3411       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
  3412 # Check for GNU ac_path_GREP and select it if it is found.
  3413   # Check for GNU $ac_path_GREP
  3414 case `"$ac_path_GREP" --version 2>&1` in
  3415 *GNU*)
  3416   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  3417 *)
  3418   ac_count=0
  3419   $as_echo_n 0123456789 >"conftest.in"
  3420   while :
  3421   do
  3422     cat "conftest.in" "conftest.in" >"conftest.tmp"
  3423     mv "conftest.tmp" "conftest.in"
  3424     cp "conftest.in" "conftest.nl"
  3425     $as_echo 'GREP' >> "conftest.nl"
  3426     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  3427     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  3428     as_fn_arith $ac_count + 1 && ac_count=$as_val
  3429     if test $ac_count -gt ${ac_path_GREP_max-0}; then
  3430       # Best one so far, save it but keep looking for a better one
  3431       ac_cv_path_GREP="$ac_path_GREP"
  3432       ac_path_GREP_max=$ac_count
  3433     fi
  3434     # 10*(2^10) chars as input seems more than enough
  3435     test $ac_count -gt 10 && break
  3436   done
  3437   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  3438 esac
  3439 
  3440       $ac_path_GREP_found && break 3
  3441     done
  3442   done
  3443   done
  3444 IFS=$as_save_IFS
  3445   if test -z "$ac_cv_path_GREP"; then
  3446     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  3447   fi
  3448 else
  3449   ac_cv_path_GREP=$GREP
  3450 fi
  3451 
  3452 fi
  3453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
  3454 $as_echo "$ac_cv_path_GREP" >&6; }
  3455  GREP="$ac_cv_path_GREP"
  3456 
  3457 
  3458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
  3459 $as_echo_n "checking for egrep... " >&6; }
  3460 if ${ac_cv_path_EGREP+:} false; then :
  3461   $as_echo_n "(cached) " >&6
  3462 else
  3463   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  3464    then ac_cv_path_EGREP="$GREP -E"
  3465    else
  3466      if test -z "$EGREP"; then
  3467   ac_path_EGREP_found=false
  3468   # Loop through the user's path and test for each of PROGNAME-LIST
  3469   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3470 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  3471 do
  3472   IFS=$as_save_IFS
  3473   test -z "$as_dir" && as_dir=.
  3474     for ac_prog in egrep; do
  3475     for ac_exec_ext in '' $ac_executable_extensions; do
  3476       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  3477       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
  3478 # Check for GNU ac_path_EGREP and select it if it is found.
  3479   # Check for GNU $ac_path_EGREP
  3480 case `"$ac_path_EGREP" --version 2>&1` in
  3481 *GNU*)
  3482   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  3483 *)
  3484   ac_count=0
  3485   $as_echo_n 0123456789 >"conftest.in"
  3486   while :
  3487   do
  3488     cat "conftest.in" "conftest.in" >"conftest.tmp"
  3489     mv "conftest.tmp" "conftest.in"
  3490     cp "conftest.in" "conftest.nl"
  3491     $as_echo 'EGREP' >> "conftest.nl"
  3492     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  3493     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  3494     as_fn_arith $ac_count + 1 && ac_count=$as_val
  3495     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  3496       # Best one so far, save it but keep looking for a better one
  3497       ac_cv_path_EGREP="$ac_path_EGREP"
  3498       ac_path_EGREP_max=$ac_count
  3499     fi
  3500     # 10*(2^10) chars as input seems more than enough
  3501     test $ac_count -gt 10 && break
  3502   done
  3503   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  3504 esac
  3505 
  3506       $ac_path_EGREP_found && break 3
  3507     done
  3508   done
  3509   done
  3510 IFS=$as_save_IFS
  3511   if test -z "$ac_cv_path_EGREP"; then
  3512     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  3513   fi
  3514 else
  3515   ac_cv_path_EGREP=$EGREP
  3516 fi
  3517 
  3518    fi
  3519 fi
  3520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
  3521 $as_echo "$ac_cv_path_EGREP" >&6; }
  3522  EGREP="$ac_cv_path_EGREP"
  3523 
  3524 
  3525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
  3526 $as_echo_n "checking for fgrep... " >&6; }
  3527 if ${ac_cv_path_FGREP+:} false; then :
  3528   $as_echo_n "(cached) " >&6
  3529 else
  3530   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
  3531    then ac_cv_path_FGREP="$GREP -F"
  3532    else
  3533      if test -z "$FGREP"; then
  3534   ac_path_FGREP_found=false
  3535   # Loop through the user's path and test for each of PROGNAME-LIST
  3536   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3537 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  3538 do
  3539   IFS=$as_save_IFS
  3540   test -z "$as_dir" && as_dir=.
  3541     for ac_prog in fgrep; do
  3542     for ac_exec_ext in '' $ac_executable_extensions; do
  3543       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
  3544       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
  3545 # Check for GNU ac_path_FGREP and select it if it is found.
  3546   # Check for GNU $ac_path_FGREP
  3547 case `"$ac_path_FGREP" --version 2>&1` in
  3548 *GNU*)
  3549   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
  3550 *)
  3551   ac_count=0
  3552   $as_echo_n 0123456789 >"conftest.in"
  3553   while :
  3554   do
  3555     cat "conftest.in" "conftest.in" >"conftest.tmp"
  3556     mv "conftest.tmp" "conftest.in"
  3557     cp "conftest.in" "conftest.nl"
  3558     $as_echo 'FGREP' >> "conftest.nl"
  3559     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
  3560     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  3561     as_fn_arith $ac_count + 1 && ac_count=$as_val
  3562     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
  3563       # Best one so far, save it but keep looking for a better one
  3564       ac_cv_path_FGREP="$ac_path_FGREP"
  3565       ac_path_FGREP_max=$ac_count
  3566     fi
  3567     # 10*(2^10) chars as input seems more than enough
  3568     test $ac_count -gt 10 && break
  3569   done
  3570   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  3571 esac
  3572 
  3573       $ac_path_FGREP_found && break 3
  3574     done
  3575   done
  3576   done
  3577 IFS=$as_save_IFS
  3578   if test -z "$ac_cv_path_FGREP"; then
  3579     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  3580   fi
  3581 else
  3582   ac_cv_path_FGREP=$FGREP
  3583 fi
  3584 
  3585    fi
  3586 fi
  3587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
  3588 $as_echo "$ac_cv_path_FGREP" >&6; }
  3589  FGREP="$ac_cv_path_FGREP"
  3590 
  3591 
  3592 test -z "$GREP" && GREP=grep
  3593 
  3594 
  3595 
  3596 
  3597 
  3598 
  3599 
  3600 
  3601 
  3602 
  3603 
  3604 
  3605 
  3606 
  3607 
  3608 
  3609 
  3610 
  3611 
  3612 # Check whether --with-gnu-ld was given.
  3613 if test "${with_gnu_ld+set}" = set; then :
  3614   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
  3615 else
  3616   with_gnu_ld=no
  3617 fi
  3618 
  3619 ac_prog=ld
  3620 if test "$GCC" = yes; then
  3621   # Check if gcc -print-prog-name=ld gives a path.
  3622   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
  3623 $as_echo_n "checking for ld used by $CC... " >&6; }
  3624   case $host in
  3625   *-*-mingw*)
  3626     # gcc leaves a trailing carriage return which upsets mingw
  3627     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  3628   *)
  3629     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  3630   esac
  3631   case $ac_prog in
  3632     # Accept absolute paths.
  3633     [\\/]* | ?:[\\/]*)
  3634       re_direlt='/[^/][^/]*/\.\./'
  3635       # Canonicalize the pathname of ld
  3636       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
  3637       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
  3638 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
  3639       done
  3640       test -z "$LD" && LD="$ac_prog"
  3641       ;;
  3642   "")
  3643     # If it fails, then pretend we aren't using GCC.
  3644     ac_prog=ld
  3645     ;;
  3646   *)
  3647     # If it is relative, then search for the first ld in PATH.
  3648     with_gnu_ld=unknown
  3649     ;;
  3650   esac
  3651 elif test "$with_gnu_ld" = yes; then
  3652   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
  3653 $as_echo_n "checking for GNU ld... " >&6; }
  3654 else
  3655   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
  3656 $as_echo_n "checking for non-GNU ld... " >&6; }
  3657 fi
  3658 if ${lt_cv_path_LD+:} false; then :
  3659   $as_echo_n "(cached) " >&6
  3660 else
  3661   if test -z "$LD"; then
  3662   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  3663   for ac_dir in $PATH; do
  3664     IFS="$lt_save_ifs"
  3665     test -z "$ac_dir" && ac_dir=.
  3666     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
  3667       lt_cv_path_LD="$ac_dir/$ac_prog"
  3668       # Check to see if the program is GNU ld.  I'd rather use --version,
  3669       # but apparently some variants of GNU ld only accept -v.
  3670       # Break only if it was the GNU/non-GNU ld that we prefer.
  3671       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
  3672       *GNU* | *'with BFD'*)
  3673 	test "$with_gnu_ld" != no && break
  3674 	;;
  3675       *)
  3676 	test "$with_gnu_ld" != yes && break
  3677 	;;
  3678       esac
  3679     fi
  3680   done
  3681   IFS="$lt_save_ifs"
  3682 else
  3683   lt_cv_path_LD="$LD" # Let the user override the test with a path.
  3684 fi
  3685 fi
  3686 
  3687 LD="$lt_cv_path_LD"
  3688 if test -n "$LD"; then
  3689   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
  3690 $as_echo "$LD" >&6; }
  3691 else
  3692   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3693 $as_echo "no" >&6; }
  3694 fi
  3695 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
  3696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
  3697 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
  3698 if ${lt_cv_prog_gnu_ld+:} false; then :
  3699   $as_echo_n "(cached) " >&6
  3700 else
  3701   # I'd rather use --version here, but apparently some GNU lds only accept -v.
  3702 case `$LD -v 2>&1 </dev/null` in
  3703 *GNU* | *'with BFD'*)
  3704   lt_cv_prog_gnu_ld=yes
  3705   ;;
  3706 *)
  3707   lt_cv_prog_gnu_ld=no
  3708   ;;
  3709 esac
  3710 fi
  3711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
  3712 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
  3713 with_gnu_ld=$lt_cv_prog_gnu_ld
  3714 
  3715 
  3716 
  3717 
  3718 
  3719 
  3720 
  3721 
  3722 
  3723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
  3724 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
  3725 if ${lt_cv_path_NM+:} false; then :
  3726   $as_echo_n "(cached) " >&6
  3727 else
  3728   if test -n "$NM"; then
  3729   # Let the user override the test.
  3730   lt_cv_path_NM="$NM"
  3731 else
  3732   lt_nm_to_check="${ac_tool_prefix}nm"
  3733   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
  3734     lt_nm_to_check="$lt_nm_to_check nm"
  3735   fi
  3736   for lt_tmp_nm in $lt_nm_to_check; do
  3737     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  3738     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
  3739       IFS="$lt_save_ifs"
  3740       test -z "$ac_dir" && ac_dir=.
  3741       tmp_nm="$ac_dir/$lt_tmp_nm"
  3742       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
  3743 	# Check to see if the nm accepts a BSD-compat flag.
  3744 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
  3745 	#   nm: unknown option "B" ignored
  3746 	# Tru64's nm complains that /dev/null is an invalid object file
  3747 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
  3748 	*/dev/null* | *'Invalid file or object type'*)
  3749 	  lt_cv_path_NM="$tmp_nm -B"
  3750 	  break
  3751 	  ;;
  3752 	*)
  3753 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
  3754 	  */dev/null*)
  3755 	    lt_cv_path_NM="$tmp_nm -p"
  3756 	    break
  3757 	    ;;
  3758 	  *)
  3759 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
  3760 	    continue # so that we can try to find one that supports BSD flags
  3761 	    ;;
  3762 	  esac
  3763 	  ;;
  3764 	esac
  3765       fi
  3766     done
  3767     IFS="$lt_save_ifs"
  3768   done
  3769   : ${lt_cv_path_NM=no}
  3770 fi
  3771 fi
  3772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
  3773 $as_echo "$lt_cv_path_NM" >&6; }
  3774 if test "$lt_cv_path_NM" != "no"; then
  3775   NM="$lt_cv_path_NM"
  3776 else
  3777   # Didn't find any BSD compatible name lister, look for dumpbin.
  3778   if test -n "$ac_tool_prefix"; then
  3779   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
  3780   do
  3781     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  3782 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  3783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3784 $as_echo_n "checking for $ac_word... " >&6; }
  3785 if ${ac_cv_prog_DUMPBIN+:} false; then :
  3786   $as_echo_n "(cached) " >&6
  3787 else
  3788   if test -n "$DUMPBIN"; then
  3789   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
  3790 else
  3791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3792 for as_dir in $PATH
  3793 do
  3794   IFS=$as_save_IFS
  3795   test -z "$as_dir" && as_dir=.
  3796     for ac_exec_ext in '' $ac_executable_extensions; do
  3797   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3798     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
  3799     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3800     break 2
  3801   fi
  3802 done
  3803   done
  3804 IFS=$as_save_IFS
  3805 
  3806 fi
  3807 fi
  3808 DUMPBIN=$ac_cv_prog_DUMPBIN
  3809 if test -n "$DUMPBIN"; then
  3810   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
  3811 $as_echo "$DUMPBIN" >&6; }
  3812 else
  3813   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3814 $as_echo "no" >&6; }
  3815 fi
  3816 
  3817 
  3818     test -n "$DUMPBIN" && break
  3819   done
  3820 fi
  3821 if test -z "$DUMPBIN"; then
  3822   ac_ct_DUMPBIN=$DUMPBIN
  3823   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
  3824 do
  3825   # Extract the first word of "$ac_prog", so it can be a program name with args.
  3826 set dummy $ac_prog; ac_word=$2
  3827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3828 $as_echo_n "checking for $ac_word... " >&6; }
  3829 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
  3830   $as_echo_n "(cached) " >&6
  3831 else
  3832   if test -n "$ac_ct_DUMPBIN"; then
  3833   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
  3834 else
  3835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3836 for as_dir in $PATH
  3837 do
  3838   IFS=$as_save_IFS
  3839   test -z "$as_dir" && as_dir=.
  3840     for ac_exec_ext in '' $ac_executable_extensions; do
  3841   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3842     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
  3843     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3844     break 2
  3845   fi
  3846 done
  3847   done
  3848 IFS=$as_save_IFS
  3849 
  3850 fi
  3851 fi
  3852 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
  3853 if test -n "$ac_ct_DUMPBIN"; then
  3854   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
  3855 $as_echo "$ac_ct_DUMPBIN" >&6; }
  3856 else
  3857   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3858 $as_echo "no" >&6; }
  3859 fi
  3860 
  3861 
  3862   test -n "$ac_ct_DUMPBIN" && break
  3863 done
  3864 
  3865   if test "x$ac_ct_DUMPBIN" = x; then
  3866     DUMPBIN=":"
  3867   else
  3868     case $cross_compiling:$ac_tool_warned in
  3869 yes:)
  3870 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  3871 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  3872 ac_tool_warned=yes ;;
  3873 esac
  3874     DUMPBIN=$ac_ct_DUMPBIN
  3875   fi
  3876 fi
  3877 
  3878 
  3879   if test "$DUMPBIN" != ":"; then
  3880     NM="$DUMPBIN"
  3881   fi
  3882 fi
  3883 test -z "$NM" && NM=nm
  3884 
  3885 
  3886 
  3887 
  3888 
  3889 
  3890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
  3891 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
  3892 if ${lt_cv_nm_interface+:} false; then :
  3893   $as_echo_n "(cached) " >&6
  3894 else
  3895   lt_cv_nm_interface="BSD nm"
  3896   echo "int some_variable = 0;" > conftest.$ac_ext
  3897   (eval echo "\"\$as_me:3897: $ac_compile\"" >&5)
  3898   (eval "$ac_compile" 2>conftest.err)
  3899   cat conftest.err >&5
  3900   (eval echo "\"\$as_me:3900: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
  3901   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
  3902   cat conftest.err >&5
  3903   (eval echo "\"\$as_me:3903: output\"" >&5)
  3904   cat conftest.out >&5
  3905   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
  3906     lt_cv_nm_interface="MS dumpbin"
  3907   fi
  3908   rm -f conftest*
  3909 fi
  3910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
  3911 $as_echo "$lt_cv_nm_interface" >&6; }
  3912 
  3913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
  3914 $as_echo_n "checking whether ln -s works... " >&6; }
  3915 LN_S=$as_ln_s
  3916 if test "$LN_S" = "ln -s"; then
  3917   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  3918 $as_echo "yes" >&6; }
  3919 else
  3920   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
  3921 $as_echo "no, using $LN_S" >&6; }
  3922 fi
  3923 
  3924 # find the maximum length of command line arguments
  3925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
  3926 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
  3927 if ${lt_cv_sys_max_cmd_len+:} false; then :
  3928   $as_echo_n "(cached) " >&6
  3929 else
  3930     i=0
  3931   teststring="ABCD"
  3932 
  3933   case $build_os in
  3934   msdosdjgpp*)
  3935     # On DJGPP, this test can blow up pretty badly due to problems in libc
  3936     # (any single argument exceeding 2000 bytes causes a buffer overrun
  3937     # during glob expansion).  Even if it were fixed, the result of this
  3938     # check would be larger than it should be.
  3939     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
  3940     ;;
  3941 
  3942   gnu*)
  3943     # Under GNU Hurd, this test is not required because there is
  3944     # no limit to the length of command line arguments.
  3945     # Libtool will interpret -1 as no limit whatsoever
  3946     lt_cv_sys_max_cmd_len=-1;
  3947     ;;
  3948 
  3949   cygwin* | mingw* | cegcc*)
  3950     # On Win9x/ME, this test blows up -- it succeeds, but takes
  3951     # about 5 minutes as the teststring grows exponentially.
  3952     # Worse, since 9x/ME are not pre-emptively multitasking,
  3953     # you end up with a "frozen" computer, even though with patience
  3954     # the test eventually succeeds (with a max line length of 256k).
  3955     # Instead, let's just punt: use the minimum linelength reported by
  3956     # all of the supported platforms: 8192 (on NT/2K/XP).
  3957     lt_cv_sys_max_cmd_len=8192;
  3958     ;;
  3959 
  3960   beos*)
  3961     # On BeOS, this test takes a really really long time.
  3962     # So we just punt and use a minimum line length of 8192.
  3963     lt_cv_sys_max_cmd_len=8192;
  3964     ;;
  3965 
  3966   amigaos*)
  3967     # On AmigaOS with pdksh, this test takes hours, literally.
  3968     # So we just punt and use a minimum line length of 8192.
  3969     lt_cv_sys_max_cmd_len=8192;
  3970     ;;
  3971 
  3972   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
  3973     # This has been around since 386BSD, at least.  Likely further.
  3974     if test -x /sbin/sysctl; then
  3975       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
  3976     elif test -x /usr/sbin/sysctl; then
  3977       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
  3978     else
  3979       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
  3980     fi
  3981     # And add a safety zone
  3982     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  3983     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  3984     ;;
  3985 
  3986   interix*)
  3987     # We know the value 262144 and hardcode it with a safety zone (like BSD)
  3988     lt_cv_sys_max_cmd_len=196608
  3989     ;;
  3990 
  3991   osf*)
  3992     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
  3993     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
  3994     # nice to cause kernel panics so lets avoid the loop below.
  3995     # First set a reasonable default.
  3996     lt_cv_sys_max_cmd_len=16384
  3997     #
  3998     if test -x /sbin/sysconfig; then
  3999       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
  4000         *1*) lt_cv_sys_max_cmd_len=-1 ;;
  4001       esac
  4002     fi
  4003     ;;
  4004   sco3.2v5*)
  4005     lt_cv_sys_max_cmd_len=102400
  4006     ;;
  4007   sysv5* | sco5v6* | sysv4.2uw2*)
  4008     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
  4009     if test -n "$kargmax"; then
  4010       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
  4011     else
  4012       lt_cv_sys_max_cmd_len=32768
  4013     fi
  4014     ;;
  4015   *)
  4016     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
  4017     if test -n "$lt_cv_sys_max_cmd_len"; then
  4018       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  4019       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  4020     else
  4021       # Make teststring a little bigger before we do anything with it.
  4022       # a 1K string should be a reasonable start.
  4023       for i in 1 2 3 4 5 6 7 8 ; do
  4024         teststring=$teststring$teststring
  4025       done
  4026       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
  4027       # If test is not a shell built-in, we'll probably end up computing a
  4028       # maximum length that is only half of the actual maximum length, but
  4029       # we can't tell.
  4030       while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
  4031 	         = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
  4032 	      test $i != 17 # 1/2 MB should be enough
  4033       do
  4034         i=`expr $i + 1`
  4035         teststring=$teststring$teststring
  4036       done
  4037       # Only check the string length outside the loop.
  4038       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
  4039       teststring=
  4040       # Add a significant safety factor because C++ compilers can tack on
  4041       # massive amounts of additional arguments before passing them to the
  4042       # linker.  It appears as though 1/2 is a usable value.
  4043       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
  4044     fi
  4045     ;;
  4046   esac
  4047 
  4048 fi
  4049 
  4050 if test -n $lt_cv_sys_max_cmd_len ; then
  4051   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
  4052 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
  4053 else
  4054   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
  4055 $as_echo "none" >&6; }
  4056 fi
  4057 max_cmd_len=$lt_cv_sys_max_cmd_len
  4058 
  4059 
  4060 
  4061 
  4062 
  4063 
  4064 : ${CP="cp -f"}
  4065 : ${MV="mv -f"}
  4066 : ${RM="rm -f"}
  4067 
  4068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
  4069 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
  4070 # Try some XSI features
  4071 xsi_shell=no
  4072 ( _lt_dummy="a/b/c"
  4073   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
  4074       = c,a/b,, \
  4075     && eval 'test $(( 1 + 1 )) -eq 2 \
  4076     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
  4077   && xsi_shell=yes
  4078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
  4079 $as_echo "$xsi_shell" >&6; }
  4080 
  4081 
  4082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
  4083 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
  4084 lt_shell_append=no
  4085 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
  4086     >/dev/null 2>&1 \
  4087   && lt_shell_append=yes
  4088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
  4089 $as_echo "$lt_shell_append" >&6; }
  4090 
  4091 
  4092 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  4093   lt_unset=unset
  4094 else
  4095   lt_unset=false
  4096 fi
  4097 
  4098 
  4099 
  4100 
  4101 
  4102 # test EBCDIC or ASCII
  4103 case `echo X|tr X '\101'` in
  4104  A) # ASCII based system
  4105     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
  4106   lt_SP2NL='tr \040 \012'
  4107   lt_NL2SP='tr \015\012 \040\040'
  4108   ;;
  4109  *) # EBCDIC based system
  4110   lt_SP2NL='tr \100 \n'
  4111   lt_NL2SP='tr \r\n \100\100'
  4112   ;;
  4113 esac
  4114 
  4115 
  4116 
  4117 
  4118 
  4119 
  4120 
  4121 
  4122 
  4123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
  4124 $as_echo_n "checking for $LD option to reload object files... " >&6; }
  4125 if ${lt_cv_ld_reload_flag+:} false; then :
  4126   $as_echo_n "(cached) " >&6
  4127 else
  4128   lt_cv_ld_reload_flag='-r'
  4129 fi
  4130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
  4131 $as_echo "$lt_cv_ld_reload_flag" >&6; }
  4132 reload_flag=$lt_cv_ld_reload_flag
  4133 case $reload_flag in
  4134 "" | " "*) ;;
  4135 *) reload_flag=" $reload_flag" ;;
  4136 esac
  4137 reload_cmds='$LD$reload_flag -o $output$reload_objs'
  4138 case $host_os in
  4139   darwin*)
  4140     if test "$GCC" = yes; then
  4141       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
  4142     else
  4143       reload_cmds='$LD$reload_flag -o $output$reload_objs'
  4144     fi
  4145     ;;
  4146 esac
  4147 
  4148 
  4149 
  4150 
  4151 
  4152 
  4153 
  4154 
  4155 
  4156 if test -n "$ac_tool_prefix"; then
  4157   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
  4158 set dummy ${ac_tool_prefix}objdump; ac_word=$2
  4159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4160 $as_echo_n "checking for $ac_word... " >&6; }
  4161 if ${ac_cv_prog_OBJDUMP+:} false; then :
  4162   $as_echo_n "(cached) " >&6
  4163 else
  4164   if test -n "$OBJDUMP"; then
  4165   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
  4166 else
  4167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4168 for as_dir in $PATH
  4169 do
  4170   IFS=$as_save_IFS
  4171   test -z "$as_dir" && as_dir=.
  4172     for ac_exec_ext in '' $ac_executable_extensions; do
  4173   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4174     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
  4175     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4176     break 2
  4177   fi
  4178 done
  4179   done
  4180 IFS=$as_save_IFS
  4181 
  4182 fi
  4183 fi
  4184 OBJDUMP=$ac_cv_prog_OBJDUMP
  4185 if test -n "$OBJDUMP"; then
  4186   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
  4187 $as_echo "$OBJDUMP" >&6; }
  4188 else
  4189   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4190 $as_echo "no" >&6; }
  4191 fi
  4192 
  4193 
  4194 fi
  4195 if test -z "$ac_cv_prog_OBJDUMP"; then
  4196   ac_ct_OBJDUMP=$OBJDUMP
  4197   # Extract the first word of "objdump", so it can be a program name with args.
  4198 set dummy objdump; ac_word=$2
  4199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4200 $as_echo_n "checking for $ac_word... " >&6; }
  4201 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
  4202   $as_echo_n "(cached) " >&6
  4203 else
  4204   if test -n "$ac_ct_OBJDUMP"; then
  4205   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
  4206 else
  4207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4208 for as_dir in $PATH
  4209 do
  4210   IFS=$as_save_IFS
  4211   test -z "$as_dir" && as_dir=.
  4212     for ac_exec_ext in '' $ac_executable_extensions; do
  4213   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4214     ac_cv_prog_ac_ct_OBJDUMP="objdump"
  4215     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4216     break 2
  4217   fi
  4218 done
  4219   done
  4220 IFS=$as_save_IFS
  4221 
  4222 fi
  4223 fi
  4224 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
  4225 if test -n "$ac_ct_OBJDUMP"; then
  4226   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
  4227 $as_echo "$ac_ct_OBJDUMP" >&6; }
  4228 else
  4229   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4230 $as_echo "no" >&6; }
  4231 fi
  4232 
  4233   if test "x$ac_ct_OBJDUMP" = x; then
  4234     OBJDUMP="false"
  4235   else
  4236     case $cross_compiling:$ac_tool_warned in
  4237 yes:)
  4238 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  4239 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  4240 ac_tool_warned=yes ;;
  4241 esac
  4242     OBJDUMP=$ac_ct_OBJDUMP
  4243   fi
  4244 else
  4245   OBJDUMP="$ac_cv_prog_OBJDUMP"
  4246 fi
  4247 
  4248 test -z "$OBJDUMP" && OBJDUMP=objdump
  4249 
  4250 
  4251 
  4252 
  4253 
  4254 
  4255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
  4256 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
  4257 if ${lt_cv_deplibs_check_method+:} false; then :
  4258   $as_echo_n "(cached) " >&6
  4259 else
  4260   lt_cv_file_magic_cmd='$MAGIC_CMD'
  4261 lt_cv_file_magic_test_file=
  4262 lt_cv_deplibs_check_method='unknown'
  4263 # Need to set the preceding variable on all platforms that support
  4264 # interlibrary dependencies.
  4265 # 'none' -- dependencies not supported.
  4266 # `unknown' -- same as none, but documents that we really don't know.
  4267 # 'pass_all' -- all dependencies passed with no checks.
  4268 # 'test_compile' -- check by making test program.
  4269 # 'file_magic [[regex]]' -- check by looking for files in library path
  4270 # which responds to the $file_magic_cmd with a given extended regex.
  4271 # If you have `file' or equivalent on your system and you're not sure
  4272 # whether `pass_all' will *always* work, you probably want this one.
  4273 
  4274 case $host_os in
  4275 aix[4-9]*)
  4276   lt_cv_deplibs_check_method=pass_all
  4277   ;;
  4278 
  4279 beos*)
  4280   lt_cv_deplibs_check_method=pass_all
  4281   ;;
  4282 
  4283 bsdi[45]*)
  4284   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
  4285   lt_cv_file_magic_cmd='/usr/bin/file -L'
  4286   lt_cv_file_magic_test_file=/shlib/libc.so
  4287   ;;
  4288 
  4289 cygwin*)
  4290   # func_win32_libid is a shell function defined in ltmain.sh
  4291   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  4292   lt_cv_deplibs_check_method=pass_all
  4293   lt_cv_file_magic_cmd='func_win32_libid'
  4294   ;;
  4295 
  4296 mingw* | pw32*)
  4297   # Base MSYS/MinGW do not provide the 'file' command needed by
  4298   # func_win32_libid shell function, so use a weaker test based on 'objdump',
  4299   # unless we find 'file', for example because we are cross-compiling.
  4300   if ( file / ) >/dev/null 2>&1; then
  4301     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  4302     lt_cv_file_magic_cmd='func_win32_libid'
  4303   else
  4304     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
  4305     lt_cv_file_magic_cmd='$OBJDUMP -f'
  4306   fi
  4307   lt_cv_deplibs_check_method=pass_all
  4308   ;;
  4309 
  4310 cegcc)
  4311   # use the weaker test based on 'objdump'. See mingw*.
  4312   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
  4313   lt_cv_file_magic_cmd='$OBJDUMP -f'
  4314   ;;
  4315 
  4316 darwin* | rhapsody*)
  4317   lt_cv_deplibs_check_method=pass_all
  4318   ;;
  4319 
  4320 freebsd* | dragonfly*)
  4321   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  4322     case $host_cpu in
  4323     i*86 )
  4324       # Not sure whether the presence of OpenBSD here was a mistake.
  4325       # Let's accept both of them until this is cleared up.
  4326       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
  4327       lt_cv_file_magic_cmd=/usr/bin/file
  4328       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
  4329       ;;
  4330     esac
  4331   else
  4332     lt_cv_deplibs_check_method=pass_all
  4333   fi
  4334   ;;
  4335 
  4336 gnu*)
  4337   lt_cv_deplibs_check_method=pass_all
  4338   ;;
  4339 
  4340 hpux10.20* | hpux11*)
  4341   lt_cv_file_magic_cmd=/usr/bin/file
  4342   case $host_cpu in
  4343   ia64*)
  4344     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
  4345     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
  4346     ;;
  4347   hppa*64*)
  4348     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]'
  4349     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
  4350     ;;
  4351   *)
  4352     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
  4353     lt_cv_file_magic_test_file=/usr/lib/libc.sl
  4354     ;;
  4355   esac
  4356   ;;
  4357 
  4358 interix[3-9]*)
  4359   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
  4360   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
  4361   ;;
  4362 
  4363 irix5* | irix6* | nonstopux*)
  4364   case $LD in
  4365   *-32|*"-32 ") libmagic=32-bit;;
  4366   *-n32|*"-n32 ") libmagic=N32;;
  4367   *-64|*"-64 ") libmagic=64-bit;;
  4368   *) libmagic=never-match;;
  4369   esac
  4370   lt_cv_deplibs_check_method=pass_all
  4371   ;;
  4372 
  4373 # This must be Linux ELF.
  4374 linux* | k*bsd*-gnu)
  4375   lt_cv_deplibs_check_method=pass_all
  4376   ;;
  4377 
  4378 netbsd*)
  4379   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  4380     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  4381   else
  4382     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
  4383   fi
  4384   ;;
  4385 
  4386 newos6*)
  4387   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
  4388   lt_cv_file_magic_cmd=/usr/bin/file
  4389   lt_cv_file_magic_test_file=/usr/lib/libnls.so
  4390   ;;
  4391 
  4392 *nto* | *qnx*)
  4393   lt_cv_deplibs_check_method=pass_all
  4394   ;;
  4395 
  4396 openbsd*)
  4397   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  4398     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
  4399   else
  4400     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  4401   fi
  4402   ;;
  4403 
  4404 osf3* | osf4* | osf5*)
  4405   lt_cv_deplibs_check_method=pass_all
  4406   ;;
  4407 
  4408 rdos*)
  4409   lt_cv_deplibs_check_method=pass_all
  4410   ;;
  4411 
  4412 solaris*)
  4413   lt_cv_deplibs_check_method=pass_all
  4414   ;;
  4415 
  4416 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  4417   lt_cv_deplibs_check_method=pass_all
  4418   ;;
  4419 
  4420 sysv4 | sysv4.3*)
  4421   case $host_vendor in
  4422   motorola)
  4423     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]'
  4424     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
  4425     ;;
  4426   ncr)
  4427     lt_cv_deplibs_check_method=pass_all
  4428     ;;
  4429   sequent)
  4430     lt_cv_file_magic_cmd='/bin/file'
  4431     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
  4432     ;;
  4433   sni)
  4434     lt_cv_file_magic_cmd='/bin/file'
  4435     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
  4436     lt_cv_file_magic_test_file=/lib/libc.so
  4437     ;;
  4438   siemens)
  4439     lt_cv_deplibs_check_method=pass_all
  4440     ;;
  4441   pc)
  4442     lt_cv_deplibs_check_method=pass_all
  4443     ;;
  4444   esac
  4445   ;;
  4446 
  4447 tpf*)
  4448   lt_cv_deplibs_check_method=pass_all
  4449   ;;
  4450 esac
  4451 
  4452 fi
  4453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
  4454 $as_echo "$lt_cv_deplibs_check_method" >&6; }
  4455 file_magic_cmd=$lt_cv_file_magic_cmd
  4456 deplibs_check_method=$lt_cv_deplibs_check_method
  4457 test -z "$deplibs_check_method" && deplibs_check_method=unknown
  4458 
  4459 
  4460 
  4461 
  4462 
  4463 
  4464 
  4465 
  4466 
  4467 
  4468 
  4469 
  4470 if test -n "$ac_tool_prefix"; then
  4471   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
  4472 set dummy ${ac_tool_prefix}ar; ac_word=$2
  4473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4474 $as_echo_n "checking for $ac_word... " >&6; }
  4475 if ${ac_cv_prog_AR+:} false; then :
  4476   $as_echo_n "(cached) " >&6
  4477 else
  4478   if test -n "$AR"; then
  4479   ac_cv_prog_AR="$AR" # Let the user override the test.
  4480 else
  4481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4482 for as_dir in $PATH
  4483 do
  4484   IFS=$as_save_IFS
  4485   test -z "$as_dir" && as_dir=.
  4486     for ac_exec_ext in '' $ac_executable_extensions; do
  4487   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4488     ac_cv_prog_AR="${ac_tool_prefix}ar"
  4489     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4490     break 2
  4491   fi
  4492 done
  4493   done
  4494 IFS=$as_save_IFS
  4495 
  4496 fi
  4497 fi
  4498 AR=$ac_cv_prog_AR
  4499 if test -n "$AR"; then
  4500   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
  4501 $as_echo "$AR" >&6; }
  4502 else
  4503   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4504 $as_echo "no" >&6; }
  4505 fi
  4506 
  4507 
  4508 fi
  4509 if test -z "$ac_cv_prog_AR"; then
  4510   ac_ct_AR=$AR
  4511   # Extract the first word of "ar", so it can be a program name with args.
  4512 set dummy ar; ac_word=$2
  4513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4514 $as_echo_n "checking for $ac_word... " >&6; }
  4515 if ${ac_cv_prog_ac_ct_AR+:} false; then :
  4516   $as_echo_n "(cached) " >&6
  4517 else
  4518   if test -n "$ac_ct_AR"; then
  4519   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
  4520 else
  4521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4522 for as_dir in $PATH
  4523 do
  4524   IFS=$as_save_IFS
  4525   test -z "$as_dir" && as_dir=.
  4526     for ac_exec_ext in '' $ac_executable_extensions; do
  4527   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4528     ac_cv_prog_ac_ct_AR="ar"
  4529     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4530     break 2
  4531   fi
  4532 done
  4533   done
  4534 IFS=$as_save_IFS
  4535 
  4536 fi
  4537 fi
  4538 ac_ct_AR=$ac_cv_prog_ac_ct_AR
  4539 if test -n "$ac_ct_AR"; then
  4540   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
  4541 $as_echo "$ac_ct_AR" >&6; }
  4542 else
  4543   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4544 $as_echo "no" >&6; }
  4545 fi
  4546 
  4547   if test "x$ac_ct_AR" = x; then
  4548     AR="false"
  4549   else
  4550     case $cross_compiling:$ac_tool_warned in
  4551 yes:)
  4552 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  4553 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  4554 ac_tool_warned=yes ;;
  4555 esac
  4556     AR=$ac_ct_AR
  4557   fi
  4558 else
  4559   AR="$ac_cv_prog_AR"
  4560 fi
  4561 
  4562 test -z "$AR" && AR=ar
  4563 test -z "$AR_FLAGS" && AR_FLAGS=cru
  4564 
  4565 
  4566 
  4567 
  4568 
  4569 
  4570 
  4571 
  4572 
  4573 
  4574 
  4575 if test -n "$ac_tool_prefix"; then
  4576   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  4577 set dummy ${ac_tool_prefix}strip; ac_word=$2
  4578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4579 $as_echo_n "checking for $ac_word... " >&6; }
  4580 if ${ac_cv_prog_STRIP+:} false; then :
  4581   $as_echo_n "(cached) " >&6
  4582 else
  4583   if test -n "$STRIP"; then
  4584   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  4585 else
  4586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4587 for as_dir in $PATH
  4588 do
  4589   IFS=$as_save_IFS
  4590   test -z "$as_dir" && as_dir=.
  4591     for ac_exec_ext in '' $ac_executable_extensions; do
  4592   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4593     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  4594     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4595     break 2
  4596   fi
  4597 done
  4598   done
  4599 IFS=$as_save_IFS
  4600 
  4601 fi
  4602 fi
  4603 STRIP=$ac_cv_prog_STRIP
  4604 if test -n "$STRIP"; then
  4605   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  4606 $as_echo "$STRIP" >&6; }
  4607 else
  4608   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4609 $as_echo "no" >&6; }
  4610 fi
  4611 
  4612 
  4613 fi
  4614 if test -z "$ac_cv_prog_STRIP"; then
  4615   ac_ct_STRIP=$STRIP
  4616   # Extract the first word of "strip", so it can be a program name with args.
  4617 set dummy strip; ac_word=$2
  4618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4619 $as_echo_n "checking for $ac_word... " >&6; }
  4620 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
  4621   $as_echo_n "(cached) " >&6
  4622 else
  4623   if test -n "$ac_ct_STRIP"; then
  4624   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  4625 else
  4626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4627 for as_dir in $PATH
  4628 do
  4629   IFS=$as_save_IFS
  4630   test -z "$as_dir" && as_dir=.
  4631     for ac_exec_ext in '' $ac_executable_extensions; do
  4632   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4633     ac_cv_prog_ac_ct_STRIP="strip"
  4634     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4635     break 2
  4636   fi
  4637 done
  4638   done
  4639 IFS=$as_save_IFS
  4640 
  4641 fi
  4642 fi
  4643 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  4644 if test -n "$ac_ct_STRIP"; then
  4645   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  4646 $as_echo "$ac_ct_STRIP" >&6; }
  4647 else
  4648   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4649 $as_echo "no" >&6; }
  4650 fi
  4651 
  4652   if test "x$ac_ct_STRIP" = x; then
  4653     STRIP=":"
  4654   else
  4655     case $cross_compiling:$ac_tool_warned in
  4656 yes:)
  4657 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  4658 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  4659 ac_tool_warned=yes ;;
  4660 esac
  4661     STRIP=$ac_ct_STRIP
  4662   fi
  4663 else
  4664   STRIP="$ac_cv_prog_STRIP"
  4665 fi
  4666 
  4667 test -z "$STRIP" && STRIP=:
  4668 
  4669 
  4670 
  4671 
  4672 
  4673 
  4674 if test -n "$ac_tool_prefix"; then
  4675   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  4676 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  4677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4678 $as_echo_n "checking for $ac_word... " >&6; }
  4679 if ${ac_cv_prog_RANLIB+:} false; then :
  4680   $as_echo_n "(cached) " >&6
  4681 else
  4682   if test -n "$RANLIB"; then
  4683   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  4684 else
  4685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4686 for as_dir in $PATH
  4687 do
  4688   IFS=$as_save_IFS
  4689   test -z "$as_dir" && as_dir=.
  4690     for ac_exec_ext in '' $ac_executable_extensions; do
  4691   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4692     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  4693     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4694     break 2
  4695   fi
  4696 done
  4697   done
  4698 IFS=$as_save_IFS
  4699 
  4700 fi
  4701 fi
  4702 RANLIB=$ac_cv_prog_RANLIB
  4703 if test -n "$RANLIB"; then
  4704   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
  4705 $as_echo "$RANLIB" >&6; }
  4706 else
  4707   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4708 $as_echo "no" >&6; }
  4709 fi
  4710 
  4711 
  4712 fi
  4713 if test -z "$ac_cv_prog_RANLIB"; then
  4714   ac_ct_RANLIB=$RANLIB
  4715   # Extract the first word of "ranlib", so it can be a program name with args.
  4716 set dummy ranlib; ac_word=$2
  4717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4718 $as_echo_n "checking for $ac_word... " >&6; }
  4719 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
  4720   $as_echo_n "(cached) " >&6
  4721 else
  4722   if test -n "$ac_ct_RANLIB"; then
  4723   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
  4724 else
  4725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4726 for as_dir in $PATH
  4727 do
  4728   IFS=$as_save_IFS
  4729   test -z "$as_dir" && as_dir=.
  4730     for ac_exec_ext in '' $ac_executable_extensions; do
  4731   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4732     ac_cv_prog_ac_ct_RANLIB="ranlib"
  4733     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4734     break 2
  4735   fi
  4736 done
  4737   done
  4738 IFS=$as_save_IFS
  4739 
  4740 fi
  4741 fi
  4742 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  4743 if test -n "$ac_ct_RANLIB"; then
  4744   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
  4745 $as_echo "$ac_ct_RANLIB" >&6; }
  4746 else
  4747   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4748 $as_echo "no" >&6; }
  4749 fi
  4750 
  4751   if test "x$ac_ct_RANLIB" = x; then
  4752     RANLIB=":"
  4753   else
  4754     case $cross_compiling:$ac_tool_warned in
  4755 yes:)
  4756 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  4757 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  4758 ac_tool_warned=yes ;;
  4759 esac
  4760     RANLIB=$ac_ct_RANLIB
  4761   fi
  4762 else
  4763   RANLIB="$ac_cv_prog_RANLIB"
  4764 fi
  4765 
  4766 test -z "$RANLIB" && RANLIB=:
  4767 
  4768 
  4769 
  4770 
  4771 
  4772 
  4773 # Determine commands to create old-style static archives.
  4774 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
  4775 old_postinstall_cmds='chmod 644 $oldlib'
  4776 old_postuninstall_cmds=
  4777 
  4778 if test -n "$RANLIB"; then
  4779   case $host_os in
  4780   openbsd*)
  4781     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
  4782     ;;
  4783   *)
  4784     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
  4785     ;;
  4786   esac
  4787   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
  4788 fi
  4789 
  4790 
  4791 
  4792 
  4793 
  4794 
  4795 
  4796 
  4797 
  4798 
  4799 
  4800 
  4801 
  4802 
  4803 
  4804 
  4805 
  4806 
  4807 
  4808 
  4809 
  4810 
  4811 
  4812 
  4813 
  4814 
  4815 
  4816 
  4817 
  4818 
  4819 
  4820 
  4821 
  4822 
  4823 # If no C compiler was specified, use CC.
  4824 LTCC=${LTCC-"$CC"}
  4825 
  4826 # If no C compiler flags were specified, use CFLAGS.
  4827 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  4828 
  4829 # Allow CC to be a program name with arguments.
  4830 compiler=$CC
  4831 
  4832 
  4833 # Check for command to grab the raw symbol name followed by C symbol from nm.
  4834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
  4835 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
  4836 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
  4837   $as_echo_n "(cached) " >&6
  4838 else
  4839 
  4840 # These are sane defaults that work on at least a few old systems.
  4841 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
  4842 
  4843 # Character class describing NM global symbol codes.
  4844 symcode='[BCDEGRST]'
  4845 
  4846 # Regexp to match symbols that can be accessed directly from C.
  4847 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
  4848 
  4849 # Define system-specific variables.
  4850 case $host_os in
  4851 aix*)
  4852   symcode='[BCDT]'
  4853   ;;
  4854 cygwin* | mingw* | pw32* | cegcc*)
  4855   symcode='[ABCDGISTW]'
  4856   ;;
  4857 hpux*)
  4858   if test "$host_cpu" = ia64; then
  4859     symcode='[ABCDEGRST]'
  4860   fi
  4861   ;;
  4862 irix* | nonstopux*)
  4863   symcode='[BCDEGRST]'
  4864   ;;
  4865 osf*)
  4866   symcode='[BCDEGQRST]'
  4867   ;;
  4868 solaris*)
  4869   symcode='[BDRT]'
  4870   ;;
  4871 sco3.2v5*)
  4872   symcode='[DT]'
  4873   ;;
  4874 sysv4.2uw2*)
  4875   symcode='[DT]'
  4876   ;;
  4877 sysv5* | sco5v6* | unixware* | OpenUNIX*)
  4878   symcode='[ABDT]'
  4879   ;;
  4880 sysv4)
  4881   symcode='[DFNSTU]'
  4882   ;;
  4883 esac
  4884 
  4885 # If we're using GNU nm, then use its standard symbol codes.
  4886 case `$NM -V 2>&1` in
  4887 *GNU* | *'with BFD'*)
  4888   symcode='[ABCDGIRSTW]' ;;
  4889 esac
  4890 
  4891 # Transform an extracted symbol line into a proper C declaration.
  4892 # Some systems (esp. on ia64) link data and code symbols differently,
  4893 # so use this general approach.
  4894 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  4895 
  4896 # Transform an extracted symbol line into symbol name and symbol address
  4897 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
  4898 lt_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'"
  4899 
  4900 # Handle CRLF in mingw tool chain
  4901 opt_cr=
  4902 case $build_os in
  4903 mingw*)
  4904   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
  4905   ;;
  4906 esac
  4907 
  4908 # Try without a prefix underscore, then with it.
  4909 for ac_symprfx in "" "_"; do
  4910 
  4911   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
  4912   symxfrm="\\1 $ac_symprfx\\2 \\2"
  4913 
  4914   # Write the raw and C identifiers.
  4915   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  4916     # Fake it for dumpbin and say T for any non-static function
  4917     # and D for any global variable.
  4918     # Also find C++ and __fastcall symbols from MSVC++,
  4919     # which start with @ or ?.
  4920     lt_cv_sys_global_symbol_pipe="$AWK '"\
  4921 "     {last_section=section; section=\$ 3};"\
  4922 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
  4923 "     \$ 0!~/External *\|/{next};"\
  4924 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
  4925 "     {if(hide[section]) next};"\
  4926 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
  4927 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
  4928 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
  4929 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
  4930 "     ' prfx=^$ac_symprfx"
  4931   else
  4932     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
  4933   fi
  4934 
  4935   # Check to see that the pipe works correctly.
  4936   pipe_works=no
  4937 
  4938   rm -f conftest*
  4939   cat > conftest.$ac_ext <<_LT_EOF
  4940 #ifdef __cplusplus
  4941 extern "C" {
  4942 #endif
  4943 char nm_test_var;
  4944 void nm_test_func(void);
  4945 void nm_test_func(void){}
  4946 #ifdef __cplusplus
  4947 }
  4948 #endif
  4949 int main(){nm_test_var='a';nm_test_func();return(0);}
  4950 _LT_EOF
  4951 
  4952   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  4953   (eval $ac_compile) 2>&5
  4954   ac_status=$?
  4955   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  4956   test $ac_status = 0; }; then
  4957     # Now try to grab the symbols.
  4958     nlist=conftest.nm
  4959     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
  4960   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
  4961   ac_status=$?
  4962   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  4963   test $ac_status = 0; } && test -s "$nlist"; then
  4964       # Try sorting and uniquifying the output.
  4965       if sort "$nlist" | uniq > "$nlist"T; then
  4966 	mv -f "$nlist"T "$nlist"
  4967       else
  4968 	rm -f "$nlist"T
  4969       fi
  4970 
  4971       # Make sure that we snagged all the symbols we need.
  4972       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
  4973 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
  4974 	  cat <<_LT_EOF > conftest.$ac_ext
  4975 #ifdef __cplusplus
  4976 extern "C" {
  4977 #endif
  4978 
  4979 _LT_EOF
  4980 	  # Now generate the symbol file.
  4981 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
  4982 
  4983 	  cat <<_LT_EOF >> conftest.$ac_ext
  4984 
  4985 /* The mapping between symbol names and symbols.  */
  4986 const struct {
  4987   const char *name;
  4988   void       *address;
  4989 }
  4990 lt__PROGRAM__LTX_preloaded_symbols[] =
  4991 {
  4992   { "@PROGRAM@", (void *) 0 },
  4993 _LT_EOF
  4994 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
  4995 	  cat <<\_LT_EOF >> conftest.$ac_ext
  4996   {0, (void *) 0}
  4997 };
  4998 
  4999 /* This works around a problem in FreeBSD linker */
  5000 #ifdef FREEBSD_WORKAROUND
  5001 static const void *lt_preloaded_setup() {
  5002   return lt__PROGRAM__LTX_preloaded_symbols;
  5003 }
  5004 #endif
  5005 
  5006 #ifdef __cplusplus
  5007 }
  5008 #endif
  5009 _LT_EOF
  5010 	  # Now try linking the two files.
  5011 	  mv conftest.$ac_objext conftstm.$ac_objext
  5012 	  lt_save_LIBS="$LIBS"
  5013 	  lt_save_CFLAGS="$CFLAGS"
  5014 	  LIBS="conftstm.$ac_objext"
  5015 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
  5016 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  5017   (eval $ac_link) 2>&5
  5018   ac_status=$?
  5019   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5020   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
  5021 	    pipe_works=yes
  5022 	  fi
  5023 	  LIBS="$lt_save_LIBS"
  5024 	  CFLAGS="$lt_save_CFLAGS"
  5025 	else
  5026 	  echo "cannot find nm_test_func in $nlist" >&5
  5027 	fi
  5028       else
  5029 	echo "cannot find nm_test_var in $nlist" >&5
  5030       fi
  5031     else
  5032       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
  5033     fi
  5034   else
  5035     echo "$progname: failed program was:" >&5
  5036     cat conftest.$ac_ext >&5
  5037   fi
  5038   rm -rf conftest* conftst*
  5039 
  5040   # Do not use the global_symbol_pipe unless it works.
  5041   if test "$pipe_works" = yes; then
  5042     break
  5043   else
  5044     lt_cv_sys_global_symbol_pipe=
  5045   fi
  5046 done
  5047 
  5048 fi
  5049 
  5050 if test -z "$lt_cv_sys_global_symbol_pipe"; then
  5051   lt_cv_sys_global_symbol_to_cdecl=
  5052 fi
  5053 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
  5054   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
  5055 $as_echo "failed" >&6; }
  5056 else
  5057   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
  5058 $as_echo "ok" >&6; }
  5059 fi
  5060 
  5061 
  5062 
  5063 
  5064 
  5065 
  5066 
  5067 
  5068 
  5069 
  5070 
  5071 
  5072 
  5073 
  5074 
  5075 
  5076 
  5077 
  5078 
  5079 
  5080 
  5081 
  5082 
  5083 # Check whether --enable-libtool-lock was given.
  5084 if test "${enable_libtool_lock+set}" = set; then :
  5085   enableval=$enable_libtool_lock;
  5086 fi
  5087 
  5088 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
  5089 
  5090 # Some flags need to be propagated to the compiler or linker for good
  5091 # libtool support.
  5092 case $host in
  5093 ia64-*-hpux*)
  5094   # Find out which ABI we are using.
  5095   echo 'int i;' > conftest.$ac_ext
  5096   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  5097   (eval $ac_compile) 2>&5
  5098   ac_status=$?
  5099   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5100   test $ac_status = 0; }; then
  5101     case `/usr/bin/file conftest.$ac_objext` in
  5102       *ELF-32*)
  5103 	HPUX_IA64_MODE="32"
  5104 	;;
  5105       *ELF-64*)
  5106 	HPUX_IA64_MODE="64"
  5107 	;;
  5108     esac
  5109   fi
  5110   rm -rf conftest*
  5111   ;;
  5112 *-*-irix6*)
  5113   # Find out which ABI we are using.
  5114   echo '#line 5114 "configure"' > conftest.$ac_ext
  5115   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  5116   (eval $ac_compile) 2>&5
  5117   ac_status=$?
  5118   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5119   test $ac_status = 0; }; then
  5120     if test "$lt_cv_prog_gnu_ld" = yes; then
  5121       case `/usr/bin/file conftest.$ac_objext` in
  5122 	*32-bit*)
  5123 	  LD="${LD-ld} -melf32bsmip"
  5124 	  ;;
  5125 	*N32*)
  5126 	  LD="${LD-ld} -melf32bmipn32"
  5127 	  ;;
  5128 	*64-bit*)
  5129 	  LD="${LD-ld} -melf64bmip"
  5130 	;;
  5131       esac
  5132     else
  5133       case `/usr/bin/file conftest.$ac_objext` in
  5134 	*32-bit*)
  5135 	  LD="${LD-ld} -32"
  5136 	  ;;
  5137 	*N32*)
  5138 	  LD="${LD-ld} -n32"
  5139 	  ;;
  5140 	*64-bit*)
  5141 	  LD="${LD-ld} -64"
  5142 	  ;;
  5143       esac
  5144     fi
  5145   fi
  5146   rm -rf conftest*
  5147   ;;
  5148 
  5149 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
  5150 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
  5151   # Find out which ABI we are using.
  5152   echo 'int i;' > conftest.$ac_ext
  5153   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  5154   (eval $ac_compile) 2>&5
  5155   ac_status=$?
  5156   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5157   test $ac_status = 0; }; then
  5158     case `/usr/bin/file conftest.o` in
  5159       *32-bit*)
  5160 	case $host in
  5161 	  x86_64-*kfreebsd*-gnu)
  5162 	    LD="${LD-ld} -m elf_i386_fbsd"
  5163 	    ;;
  5164 	  x86_64-*linux*)
  5165 	    LD="${LD-ld} -m elf_i386"
  5166 	    ;;
  5167 	  ppc64-*linux*|powerpc64-*linux*)
  5168 	    LD="${LD-ld} -m elf32ppclinux"
  5169 	    ;;
  5170 	  s390x-*linux*)
  5171 	    LD="${LD-ld} -m elf_s390"
  5172 	    ;;
  5173 	  sparc64-*linux*)
  5174 	    LD="${LD-ld} -m elf32_sparc"
  5175 	    ;;
  5176 	esac
  5177 	;;
  5178       *64-bit*)
  5179 	case $host in
  5180 	  x86_64-*kfreebsd*-gnu)
  5181 	    LD="${LD-ld} -m elf_x86_64_fbsd"
  5182 	    ;;
  5183 	  x86_64-*linux*)
  5184 	    LD="${LD-ld} -m elf_x86_64"
  5185 	    ;;
  5186 	  ppc*-*linux*|powerpc*-*linux*)
  5187 	    LD="${LD-ld} -m elf64ppc"
  5188 	    ;;
  5189 	  s390*-*linux*|s390*-*tpf*)
  5190 	    LD="${LD-ld} -m elf64_s390"
  5191 	    ;;
  5192 	  sparc*-*linux*)
  5193 	    LD="${LD-ld} -m elf64_sparc"
  5194 	    ;;
  5195 	esac
  5196 	;;
  5197     esac
  5198   fi
  5199   rm -rf conftest*
  5200   ;;
  5201 
  5202 *-*-sco3.2v5*)
  5203   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
  5204   SAVE_CFLAGS="$CFLAGS"
  5205   CFLAGS="$CFLAGS -belf"
  5206   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
  5207 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
  5208 if ${lt_cv_cc_needs_belf+:} false; then :
  5209   $as_echo_n "(cached) " >&6
  5210 else
  5211   ac_ext=c
  5212 ac_cpp='$CPP $CPPFLAGS'
  5213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5216 
  5217      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5218 /* end confdefs.h.  */
  5219 
  5220 int
  5221 main ()
  5222 {
  5223 
  5224   ;
  5225   return 0;
  5226 }
  5227 _ACEOF
  5228 if ac_fn_c_try_link "$LINENO"; then :
  5229   lt_cv_cc_needs_belf=yes
  5230 else
  5231   lt_cv_cc_needs_belf=no
  5232 fi
  5233 rm -f core conftest.err conftest.$ac_objext \
  5234     conftest$ac_exeext conftest.$ac_ext
  5235      ac_ext=c
  5236 ac_cpp='$CPP $CPPFLAGS'
  5237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5240 
  5241 fi
  5242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
  5243 $as_echo "$lt_cv_cc_needs_belf" >&6; }
  5244   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
  5245     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
  5246     CFLAGS="$SAVE_CFLAGS"
  5247   fi
  5248   ;;
  5249 sparc*-*solaris*)
  5250   # Find out which ABI we are using.
  5251   echo 'int i;' > conftest.$ac_ext
  5252   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  5253   (eval $ac_compile) 2>&5
  5254   ac_status=$?
  5255   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5256   test $ac_status = 0; }; then
  5257     case `/usr/bin/file conftest.o` in
  5258     *64-bit*)
  5259       case $lt_cv_prog_gnu_ld in
  5260       yes*) LD="${LD-ld} -m elf64_sparc" ;;
  5261       *)
  5262 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
  5263 	  LD="${LD-ld} -64"
  5264 	fi
  5265 	;;
  5266       esac
  5267       ;;
  5268     esac
  5269   fi
  5270   rm -rf conftest*
  5271   ;;
  5272 esac
  5273 
  5274 need_locks="$enable_libtool_lock"
  5275 
  5276 
  5277   case $host_os in
  5278     rhapsody* | darwin*)
  5279     if test -n "$ac_tool_prefix"; then
  5280   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
  5281 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
  5282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5283 $as_echo_n "checking for $ac_word... " >&6; }
  5284 if ${ac_cv_prog_DSYMUTIL+:} false; then :
  5285   $as_echo_n "(cached) " >&6
  5286 else
  5287   if test -n "$DSYMUTIL"; then
  5288   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
  5289 else
  5290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5291 for as_dir in $PATH
  5292 do
  5293   IFS=$as_save_IFS
  5294   test -z "$as_dir" && as_dir=.
  5295     for ac_exec_ext in '' $ac_executable_extensions; do
  5296   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5297     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
  5298     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5299     break 2
  5300   fi
  5301 done
  5302   done
  5303 IFS=$as_save_IFS
  5304 
  5305 fi
  5306 fi
  5307 DSYMUTIL=$ac_cv_prog_DSYMUTIL
  5308 if test -n "$DSYMUTIL"; then
  5309   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
  5310 $as_echo "$DSYMUTIL" >&6; }
  5311 else
  5312   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5313 $as_echo "no" >&6; }
  5314 fi
  5315 
  5316 
  5317 fi
  5318 if test -z "$ac_cv_prog_DSYMUTIL"; then
  5319   ac_ct_DSYMUTIL=$DSYMUTIL
  5320   # Extract the first word of "dsymutil", so it can be a program name with args.
  5321 set dummy dsymutil; ac_word=$2
  5322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5323 $as_echo_n "checking for $ac_word... " >&6; }
  5324 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
  5325   $as_echo_n "(cached) " >&6
  5326 else
  5327   if test -n "$ac_ct_DSYMUTIL"; then
  5328   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
  5329 else
  5330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5331 for as_dir in $PATH
  5332 do
  5333   IFS=$as_save_IFS
  5334   test -z "$as_dir" && as_dir=.
  5335     for ac_exec_ext in '' $ac_executable_extensions; do
  5336   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5337     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
  5338     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5339     break 2
  5340   fi
  5341 done
  5342   done
  5343 IFS=$as_save_IFS
  5344 
  5345 fi
  5346 fi
  5347 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
  5348 if test -n "$ac_ct_DSYMUTIL"; then
  5349   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
  5350 $as_echo "$ac_ct_DSYMUTIL" >&6; }
  5351 else
  5352   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5353 $as_echo "no" >&6; }
  5354 fi
  5355 
  5356   if test "x$ac_ct_DSYMUTIL" = x; then
  5357     DSYMUTIL=":"
  5358   else
  5359     case $cross_compiling:$ac_tool_warned in
  5360 yes:)
  5361 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5362 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5363 ac_tool_warned=yes ;;
  5364 esac
  5365     DSYMUTIL=$ac_ct_DSYMUTIL
  5366   fi
  5367 else
  5368   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
  5369 fi
  5370 
  5371     if test -n "$ac_tool_prefix"; then
  5372   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
  5373 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
  5374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5375 $as_echo_n "checking for $ac_word... " >&6; }
  5376 if ${ac_cv_prog_NMEDIT+:} false; then :
  5377   $as_echo_n "(cached) " >&6
  5378 else
  5379   if test -n "$NMEDIT"; then
  5380   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
  5381 else
  5382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5383 for as_dir in $PATH
  5384 do
  5385   IFS=$as_save_IFS
  5386   test -z "$as_dir" && as_dir=.
  5387     for ac_exec_ext in '' $ac_executable_extensions; do
  5388   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5389     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
  5390     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5391     break 2
  5392   fi
  5393 done
  5394   done
  5395 IFS=$as_save_IFS
  5396 
  5397 fi
  5398 fi
  5399 NMEDIT=$ac_cv_prog_NMEDIT
  5400 if test -n "$NMEDIT"; then
  5401   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
  5402 $as_echo "$NMEDIT" >&6; }
  5403 else
  5404   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5405 $as_echo "no" >&6; }
  5406 fi
  5407 
  5408 
  5409 fi
  5410 if test -z "$ac_cv_prog_NMEDIT"; then
  5411   ac_ct_NMEDIT=$NMEDIT
  5412   # Extract the first word of "nmedit", so it can be a program name with args.
  5413 set dummy nmedit; ac_word=$2
  5414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5415 $as_echo_n "checking for $ac_word... " >&6; }
  5416 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
  5417   $as_echo_n "(cached) " >&6
  5418 else
  5419   if test -n "$ac_ct_NMEDIT"; then
  5420   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
  5421 else
  5422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5423 for as_dir in $PATH
  5424 do
  5425   IFS=$as_save_IFS
  5426   test -z "$as_dir" && as_dir=.
  5427     for ac_exec_ext in '' $ac_executable_extensions; do
  5428   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5429     ac_cv_prog_ac_ct_NMEDIT="nmedit"
  5430     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5431     break 2
  5432   fi
  5433 done
  5434   done
  5435 IFS=$as_save_IFS
  5436 
  5437 fi
  5438 fi
  5439 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
  5440 if test -n "$ac_ct_NMEDIT"; then
  5441   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
  5442 $as_echo "$ac_ct_NMEDIT" >&6; }
  5443 else
  5444   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5445 $as_echo "no" >&6; }
  5446 fi
  5447 
  5448   if test "x$ac_ct_NMEDIT" = x; then
  5449     NMEDIT=":"
  5450   else
  5451     case $cross_compiling:$ac_tool_warned in
  5452 yes:)
  5453 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5454 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5455 ac_tool_warned=yes ;;
  5456 esac
  5457     NMEDIT=$ac_ct_NMEDIT
  5458   fi
  5459 else
  5460   NMEDIT="$ac_cv_prog_NMEDIT"
  5461 fi
  5462 
  5463     if test -n "$ac_tool_prefix"; then
  5464   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
  5465 set dummy ${ac_tool_prefix}lipo; ac_word=$2
  5466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5467 $as_echo_n "checking for $ac_word... " >&6; }
  5468 if ${ac_cv_prog_LIPO+:} false; then :
  5469   $as_echo_n "(cached) " >&6
  5470 else
  5471   if test -n "$LIPO"; then
  5472   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
  5473 else
  5474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5475 for as_dir in $PATH
  5476 do
  5477   IFS=$as_save_IFS
  5478   test -z "$as_dir" && as_dir=.
  5479     for ac_exec_ext in '' $ac_executable_extensions; do
  5480   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5481     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
  5482     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5483     break 2
  5484   fi
  5485 done
  5486   done
  5487 IFS=$as_save_IFS
  5488 
  5489 fi
  5490 fi
  5491 LIPO=$ac_cv_prog_LIPO
  5492 if test -n "$LIPO"; then
  5493   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
  5494 $as_echo "$LIPO" >&6; }
  5495 else
  5496   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5497 $as_echo "no" >&6; }
  5498 fi
  5499 
  5500 
  5501 fi
  5502 if test -z "$ac_cv_prog_LIPO"; then
  5503   ac_ct_LIPO=$LIPO
  5504   # Extract the first word of "lipo", so it can be a program name with args.
  5505 set dummy lipo; ac_word=$2
  5506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5507 $as_echo_n "checking for $ac_word... " >&6; }
  5508 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
  5509   $as_echo_n "(cached) " >&6
  5510 else
  5511   if test -n "$ac_ct_LIPO"; then
  5512   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
  5513 else
  5514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5515 for as_dir in $PATH
  5516 do
  5517   IFS=$as_save_IFS
  5518   test -z "$as_dir" && as_dir=.
  5519     for ac_exec_ext in '' $ac_executable_extensions; do
  5520   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5521     ac_cv_prog_ac_ct_LIPO="lipo"
  5522     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5523     break 2
  5524   fi
  5525 done
  5526   done
  5527 IFS=$as_save_IFS
  5528 
  5529 fi
  5530 fi
  5531 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
  5532 if test -n "$ac_ct_LIPO"; then
  5533   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
  5534 $as_echo "$ac_ct_LIPO" >&6; }
  5535 else
  5536   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5537 $as_echo "no" >&6; }
  5538 fi
  5539 
  5540   if test "x$ac_ct_LIPO" = x; then
  5541     LIPO=":"
  5542   else
  5543     case $cross_compiling:$ac_tool_warned in
  5544 yes:)
  5545 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5546 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5547 ac_tool_warned=yes ;;
  5548 esac
  5549     LIPO=$ac_ct_LIPO
  5550   fi
  5551 else
  5552   LIPO="$ac_cv_prog_LIPO"
  5553 fi
  5554 
  5555     if test -n "$ac_tool_prefix"; then
  5556   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
  5557 set dummy ${ac_tool_prefix}otool; ac_word=$2
  5558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5559 $as_echo_n "checking for $ac_word... " >&6; }
  5560 if ${ac_cv_prog_OTOOL+:} false; then :
  5561   $as_echo_n "(cached) " >&6
  5562 else
  5563   if test -n "$OTOOL"; then
  5564   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
  5565 else
  5566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5567 for as_dir in $PATH
  5568 do
  5569   IFS=$as_save_IFS
  5570   test -z "$as_dir" && as_dir=.
  5571     for ac_exec_ext in '' $ac_executable_extensions; do
  5572   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5573     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
  5574     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5575     break 2
  5576   fi
  5577 done
  5578   done
  5579 IFS=$as_save_IFS
  5580 
  5581 fi
  5582 fi
  5583 OTOOL=$ac_cv_prog_OTOOL
  5584 if test -n "$OTOOL"; then
  5585   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
  5586 $as_echo "$OTOOL" >&6; }
  5587 else
  5588   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5589 $as_echo "no" >&6; }
  5590 fi
  5591 
  5592 
  5593 fi
  5594 if test -z "$ac_cv_prog_OTOOL"; then
  5595   ac_ct_OTOOL=$OTOOL
  5596   # Extract the first word of "otool", so it can be a program name with args.
  5597 set dummy otool; ac_word=$2
  5598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5599 $as_echo_n "checking for $ac_word... " >&6; }
  5600 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
  5601   $as_echo_n "(cached) " >&6
  5602 else
  5603   if test -n "$ac_ct_OTOOL"; then
  5604   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
  5605 else
  5606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5607 for as_dir in $PATH
  5608 do
  5609   IFS=$as_save_IFS
  5610   test -z "$as_dir" && as_dir=.
  5611     for ac_exec_ext in '' $ac_executable_extensions; do
  5612   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5613     ac_cv_prog_ac_ct_OTOOL="otool"
  5614     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5615     break 2
  5616   fi
  5617 done
  5618   done
  5619 IFS=$as_save_IFS
  5620 
  5621 fi
  5622 fi
  5623 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
  5624 if test -n "$ac_ct_OTOOL"; then
  5625   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
  5626 $as_echo "$ac_ct_OTOOL" >&6; }
  5627 else
  5628   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5629 $as_echo "no" >&6; }
  5630 fi
  5631 
  5632   if test "x$ac_ct_OTOOL" = x; then
  5633     OTOOL=":"
  5634   else
  5635     case $cross_compiling:$ac_tool_warned in
  5636 yes:)
  5637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5638 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5639 ac_tool_warned=yes ;;
  5640 esac
  5641     OTOOL=$ac_ct_OTOOL
  5642   fi
  5643 else
  5644   OTOOL="$ac_cv_prog_OTOOL"
  5645 fi
  5646 
  5647     if test -n "$ac_tool_prefix"; then
  5648   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
  5649 set dummy ${ac_tool_prefix}otool64; ac_word=$2
  5650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5651 $as_echo_n "checking for $ac_word... " >&6; }
  5652 if ${ac_cv_prog_OTOOL64+:} false; then :
  5653   $as_echo_n "(cached) " >&6
  5654 else
  5655   if test -n "$OTOOL64"; then
  5656   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
  5657 else
  5658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5659 for as_dir in $PATH
  5660 do
  5661   IFS=$as_save_IFS
  5662   test -z "$as_dir" && as_dir=.
  5663     for ac_exec_ext in '' $ac_executable_extensions; do
  5664   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5665     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
  5666     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5667     break 2
  5668   fi
  5669 done
  5670   done
  5671 IFS=$as_save_IFS
  5672 
  5673 fi
  5674 fi
  5675 OTOOL64=$ac_cv_prog_OTOOL64
  5676 if test -n "$OTOOL64"; then
  5677   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
  5678 $as_echo "$OTOOL64" >&6; }
  5679 else
  5680   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5681 $as_echo "no" >&6; }
  5682 fi
  5683 
  5684 
  5685 fi
  5686 if test -z "$ac_cv_prog_OTOOL64"; then
  5687   ac_ct_OTOOL64=$OTOOL64
  5688   # Extract the first word of "otool64", so it can be a program name with args.
  5689 set dummy otool64; ac_word=$2
  5690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5691 $as_echo_n "checking for $ac_word... " >&6; }
  5692 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
  5693   $as_echo_n "(cached) " >&6
  5694 else
  5695   if test -n "$ac_ct_OTOOL64"; then
  5696   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
  5697 else
  5698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5699 for as_dir in $PATH
  5700 do
  5701   IFS=$as_save_IFS
  5702   test -z "$as_dir" && as_dir=.
  5703     for ac_exec_ext in '' $ac_executable_extensions; do
  5704   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5705     ac_cv_prog_ac_ct_OTOOL64="otool64"
  5706     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5707     break 2
  5708   fi
  5709 done
  5710   done
  5711 IFS=$as_save_IFS
  5712 
  5713 fi
  5714 fi
  5715 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
  5716 if test -n "$ac_ct_OTOOL64"; then
  5717   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
  5718 $as_echo "$ac_ct_OTOOL64" >&6; }
  5719 else
  5720   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5721 $as_echo "no" >&6; }
  5722 fi
  5723 
  5724   if test "x$ac_ct_OTOOL64" = x; then
  5725     OTOOL64=":"
  5726   else
  5727     case $cross_compiling:$ac_tool_warned in
  5728 yes:)
  5729 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5730 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5731 ac_tool_warned=yes ;;
  5732 esac
  5733     OTOOL64=$ac_ct_OTOOL64
  5734   fi
  5735 else
  5736   OTOOL64="$ac_cv_prog_OTOOL64"
  5737 fi
  5738 
  5739 
  5740 
  5741 
  5742 
  5743 
  5744 
  5745 
  5746 
  5747 
  5748 
  5749 
  5750 
  5751 
  5752 
  5753 
  5754 
  5755 
  5756 
  5757 
  5758 
  5759 
  5760 
  5761 
  5762 
  5763 
  5764 
  5765     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
  5766 $as_echo_n "checking for -single_module linker flag... " >&6; }
  5767 if ${lt_cv_apple_cc_single_mod+:} false; then :
  5768   $as_echo_n "(cached) " >&6
  5769 else
  5770   lt_cv_apple_cc_single_mod=no
  5771       if test -z "${LT_MULTI_MODULE}"; then
  5772 	# By default we will add the -single_module flag. You can override
  5773 	# by either setting the environment variable LT_MULTI_MODULE
  5774 	# non-empty at configure time, or by adding -multi_module to the
  5775 	# link flags.
  5776 	rm -rf libconftest.dylib*
  5777 	echo "int foo(void){return 1;}" > conftest.c
  5778 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  5779 -dynamiclib -Wl,-single_module conftest.c" >&5
  5780 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  5781 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
  5782         _lt_result=$?
  5783 	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
  5784 	  lt_cv_apple_cc_single_mod=yes
  5785 	else
  5786 	  cat conftest.err >&5
  5787 	fi
  5788 	rm -rf libconftest.dylib*
  5789 	rm -f conftest.*
  5790       fi
  5791 fi
  5792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
  5793 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
  5794     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
  5795 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
  5796 if ${lt_cv_ld_exported_symbols_list+:} false; then :
  5797   $as_echo_n "(cached) " >&6
  5798 else
  5799   lt_cv_ld_exported_symbols_list=no
  5800       save_LDFLAGS=$LDFLAGS
  5801       echo "_main" > conftest.sym
  5802       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
  5803       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5804 /* end confdefs.h.  */
  5805 
  5806 int
  5807 main ()
  5808 {
  5809 
  5810   ;
  5811   return 0;
  5812 }
  5813 _ACEOF
  5814 if ac_fn_c_try_link "$LINENO"; then :
  5815   lt_cv_ld_exported_symbols_list=yes
  5816 else
  5817   lt_cv_ld_exported_symbols_list=no
  5818 fi
  5819 rm -f core conftest.err conftest.$ac_objext \
  5820     conftest$ac_exeext conftest.$ac_ext
  5821 	LDFLAGS="$save_LDFLAGS"
  5822 
  5823 fi
  5824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
  5825 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
  5826     case $host_os in
  5827     rhapsody* | darwin1.[012])
  5828       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
  5829     darwin1.*)
  5830       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  5831     darwin*) # darwin 5.x on
  5832       # if running on 10.5 or later, the deployment target defaults
  5833       # to the OS version, if on x86, and 10.4, the deployment
  5834       # target defaults to 10.4. Don't you love it?
  5835       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
  5836 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
  5837 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  5838 	10.[012]*)
  5839 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  5840 	10.*)
  5841 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  5842       esac
  5843     ;;
  5844   esac
  5845     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
  5846       _lt_dar_single_mod='$single_module'
  5847     fi
  5848     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
  5849       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
  5850     else
  5851       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
  5852     fi
  5853     if test "$DSYMUTIL" != ":"; then
  5854       _lt_dsymutil='~$DSYMUTIL $lib || :'
  5855     else
  5856       _lt_dsymutil=
  5857     fi
  5858     ;;
  5859   esac
  5860 
  5861 ac_ext=c
  5862 ac_cpp='$CPP $CPPFLAGS'
  5863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
  5867 $as_echo_n "checking how to run the C preprocessor... " >&6; }
  5868 # On Suns, sometimes $CPP names a directory.
  5869 if test -n "$CPP" && test -d "$CPP"; then
  5870   CPP=
  5871 fi
  5872 if test -z "$CPP"; then
  5873   if ${ac_cv_prog_CPP+:} false; then :
  5874   $as_echo_n "(cached) " >&6
  5875 else
  5876       # Double quotes because CPP needs to be expanded
  5877     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  5878     do
  5879       ac_preproc_ok=false
  5880 for ac_c_preproc_warn_flag in '' yes
  5881 do
  5882   # Use a header file that comes with gcc, so configuring glibc
  5883   # with a fresh cross-compiler works.
  5884   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  5885   # <limits.h> exists even on freestanding compilers.
  5886   # On the NeXT, cc -E runs the code through the compiler's parser,
  5887   # not just through cpp. "Syntax error" is here to catch this case.
  5888   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5889 /* end confdefs.h.  */
  5890 #ifdef __STDC__
  5891 # include <limits.h>
  5892 #else
  5893 # include <assert.h>
  5894 #endif
  5895 		     Syntax error
  5896 _ACEOF
  5897 if ac_fn_c_try_cpp "$LINENO"; then :
  5898 
  5899 else
  5900   # Broken: fails on valid input.
  5901 continue
  5902 fi
  5903 rm -f conftest.err conftest.i conftest.$ac_ext
  5904 
  5905   # OK, works on sane cases.  Now check whether nonexistent headers
  5906   # can be detected and how.
  5907   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5908 /* end confdefs.h.  */
  5909 #include <ac_nonexistent.h>
  5910 _ACEOF
  5911 if ac_fn_c_try_cpp "$LINENO"; then :
  5912   # Broken: success on invalid input.
  5913 continue
  5914 else
  5915   # Passes both tests.
  5916 ac_preproc_ok=:
  5917 break
  5918 fi
  5919 rm -f conftest.err conftest.i conftest.$ac_ext
  5920 
  5921 done
  5922 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  5923 rm -f conftest.i conftest.err conftest.$ac_ext
  5924 if $ac_preproc_ok; then :
  5925   break
  5926 fi
  5927 
  5928     done
  5929     ac_cv_prog_CPP=$CPP
  5930 
  5931 fi
  5932   CPP=$ac_cv_prog_CPP
  5933 else
  5934   ac_cv_prog_CPP=$CPP
  5935 fi
  5936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
  5937 $as_echo "$CPP" >&6; }
  5938 ac_preproc_ok=false
  5939 for ac_c_preproc_warn_flag in '' yes
  5940 do
  5941   # Use a header file that comes with gcc, so configuring glibc
  5942   # with a fresh cross-compiler works.
  5943   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  5944   # <limits.h> exists even on freestanding compilers.
  5945   # On the NeXT, cc -E runs the code through the compiler's parser,
  5946   # not just through cpp. "Syntax error" is here to catch this case.
  5947   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5948 /* end confdefs.h.  */
  5949 #ifdef __STDC__
  5950 # include <limits.h>
  5951 #else
  5952 # include <assert.h>
  5953 #endif
  5954 		     Syntax error
  5955 _ACEOF
  5956 if ac_fn_c_try_cpp "$LINENO"; then :
  5957 
  5958 else
  5959   # Broken: fails on valid input.
  5960 continue
  5961 fi
  5962 rm -f conftest.err conftest.i conftest.$ac_ext
  5963 
  5964   # OK, works on sane cases.  Now check whether nonexistent headers
  5965   # can be detected and how.
  5966   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5967 /* end confdefs.h.  */
  5968 #include <ac_nonexistent.h>
  5969 _ACEOF
  5970 if ac_fn_c_try_cpp "$LINENO"; then :
  5971   # Broken: success on invalid input.
  5972 continue
  5973 else
  5974   # Passes both tests.
  5975 ac_preproc_ok=:
  5976 break
  5977 fi
  5978 rm -f conftest.err conftest.i conftest.$ac_ext
  5979 
  5980 done
  5981 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  5982 rm -f conftest.i conftest.err conftest.$ac_ext
  5983 if $ac_preproc_ok; then :
  5984 
  5985 else
  5986   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  5987 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  5988 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
  5989 See \`config.log' for more details" "$LINENO" 5; }
  5990 fi
  5991 
  5992 ac_ext=c
  5993 ac_cpp='$CPP $CPPFLAGS'
  5994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5997 
  5998 
  5999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
  6000 $as_echo_n "checking for ANSI C header files... " >&6; }
  6001 if ${ac_cv_header_stdc+:} false; then :
  6002   $as_echo_n "(cached) " >&6
  6003 else
  6004   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6005 /* end confdefs.h.  */
  6006 #include <stdlib.h>
  6007 #include <stdarg.h>
  6008 #include <string.h>
  6009 #include <float.h>
  6010 
  6011 int
  6012 main ()
  6013 {
  6014 
  6015   ;
  6016   return 0;
  6017 }
  6018 _ACEOF
  6019 if ac_fn_c_try_compile "$LINENO"; then :
  6020   ac_cv_header_stdc=yes
  6021 else
  6022   ac_cv_header_stdc=no
  6023 fi
  6024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6025 
  6026 if test $ac_cv_header_stdc = yes; then
  6027   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  6028   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6029 /* end confdefs.h.  */
  6030 #include <string.h>
  6031 
  6032 _ACEOF
  6033 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  6034   $EGREP "memchr" >/dev/null 2>&1; then :
  6035 
  6036 else
  6037   ac_cv_header_stdc=no
  6038 fi
  6039 rm -f conftest*
  6040 
  6041 fi
  6042 
  6043 if test $ac_cv_header_stdc = yes; then
  6044   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  6045   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6046 /* end confdefs.h.  */
  6047 #include <stdlib.h>
  6048 
  6049 _ACEOF
  6050 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  6051   $EGREP "free" >/dev/null 2>&1; then :
  6052 
  6053 else
  6054   ac_cv_header_stdc=no
  6055 fi
  6056 rm -f conftest*
  6057 
  6058 fi
  6059 
  6060 if test $ac_cv_header_stdc = yes; then
  6061   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  6062   if test "$cross_compiling" = yes; then :
  6063   :
  6064 else
  6065   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6066 /* end confdefs.h.  */
  6067 #include <ctype.h>
  6068 #include <stdlib.h>
  6069 #if ((' ' & 0x0FF) == 0x020)
  6070 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  6071 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  6072 #else
  6073 # define ISLOWER(c) \
  6074 		   (('a' <= (c) && (c) <= 'i') \
  6075 		     || ('j' <= (c) && (c) <= 'r') \
  6076 		     || ('s' <= (c) && (c) <= 'z'))
  6077 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  6078 #endif
  6079 
  6080 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  6081 int
  6082 main ()
  6083 {
  6084   int i;
  6085   for (i = 0; i < 256; i++)
  6086     if (XOR (islower (i), ISLOWER (i))
  6087 	|| toupper (i) != TOUPPER (i))
  6088       return 2;
  6089   return 0;
  6090 }
  6091 _ACEOF
  6092 if ac_fn_c_try_run "$LINENO"; then :
  6093 
  6094 else
  6095   ac_cv_header_stdc=no
  6096 fi
  6097 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  6098   conftest.$ac_objext conftest.beam conftest.$ac_ext
  6099 fi
  6100 
  6101 fi
  6102 fi
  6103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
  6104 $as_echo "$ac_cv_header_stdc" >&6; }
  6105 if test $ac_cv_header_stdc = yes; then
  6106 
  6107 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
  6108 
  6109 fi
  6110 
  6111 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
  6112 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  6113 		  inttypes.h stdint.h unistd.h
  6114 do :
  6115   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  6116 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
  6117 "
  6118 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  6119   cat >>confdefs.h <<_ACEOF
  6120 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  6121 _ACEOF
  6122 
  6123 fi
  6124 
  6125 done
  6126 
  6127 
  6128 for ac_header in dlfcn.h
  6129 do :
  6130   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
  6131 "
  6132 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
  6133   cat >>confdefs.h <<_ACEOF
  6134 #define HAVE_DLFCN_H 1
  6135 _ACEOF
  6136 
  6137 fi
  6138 
  6139 done
  6140 
  6141 
  6142 
  6143 # Set options
  6144 enable_win32_dll=yes
  6145 
  6146 case $host in
  6147 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
  6148   if test -n "$ac_tool_prefix"; then
  6149   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
  6150 set dummy ${ac_tool_prefix}as; ac_word=$2
  6151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6152 $as_echo_n "checking for $ac_word... " >&6; }
  6153 if ${ac_cv_prog_AS+:} false; then :
  6154   $as_echo_n "(cached) " >&6
  6155 else
  6156   if test -n "$AS"; then
  6157   ac_cv_prog_AS="$AS" # Let the user override the test.
  6158 else
  6159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6160 for as_dir in $PATH
  6161 do
  6162   IFS=$as_save_IFS
  6163   test -z "$as_dir" && as_dir=.
  6164     for ac_exec_ext in '' $ac_executable_extensions; do
  6165   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6166     ac_cv_prog_AS="${ac_tool_prefix}as"
  6167     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6168     break 2
  6169   fi
  6170 done
  6171   done
  6172 IFS=$as_save_IFS
  6173 
  6174 fi
  6175 fi
  6176 AS=$ac_cv_prog_AS
  6177 if test -n "$AS"; then
  6178   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
  6179 $as_echo "$AS" >&6; }
  6180 else
  6181   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6182 $as_echo "no" >&6; }
  6183 fi
  6184 
  6185 
  6186 fi
  6187 if test -z "$ac_cv_prog_AS"; then
  6188   ac_ct_AS=$AS
  6189   # Extract the first word of "as", so it can be a program name with args.
  6190 set dummy as; ac_word=$2
  6191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6192 $as_echo_n "checking for $ac_word... " >&6; }
  6193 if ${ac_cv_prog_ac_ct_AS+:} false; then :
  6194   $as_echo_n "(cached) " >&6
  6195 else
  6196   if test -n "$ac_ct_AS"; then
  6197   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
  6198 else
  6199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6200 for as_dir in $PATH
  6201 do
  6202   IFS=$as_save_IFS
  6203   test -z "$as_dir" && as_dir=.
  6204     for ac_exec_ext in '' $ac_executable_extensions; do
  6205   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6206     ac_cv_prog_ac_ct_AS="as"
  6207     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6208     break 2
  6209   fi
  6210 done
  6211   done
  6212 IFS=$as_save_IFS
  6213 
  6214 fi
  6215 fi
  6216 ac_ct_AS=$ac_cv_prog_ac_ct_AS
  6217 if test -n "$ac_ct_AS"; then
  6218   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
  6219 $as_echo "$ac_ct_AS" >&6; }
  6220 else
  6221   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6222 $as_echo "no" >&6; }
  6223 fi
  6224 
  6225   if test "x$ac_ct_AS" = x; then
  6226     AS="false"
  6227   else
  6228     case $cross_compiling:$ac_tool_warned in
  6229 yes:)
  6230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6231 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6232 ac_tool_warned=yes ;;
  6233 esac
  6234     AS=$ac_ct_AS
  6235   fi
  6236 else
  6237   AS="$ac_cv_prog_AS"
  6238 fi
  6239 
  6240   if test -n "$ac_tool_prefix"; then
  6241   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
  6242 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
  6243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6244 $as_echo_n "checking for $ac_word... " >&6; }
  6245 if ${ac_cv_prog_DLLTOOL+:} false; then :
  6246   $as_echo_n "(cached) " >&6
  6247 else
  6248   if test -n "$DLLTOOL"; then
  6249   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
  6250 else
  6251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6252 for as_dir in $PATH
  6253 do
  6254   IFS=$as_save_IFS
  6255   test -z "$as_dir" && as_dir=.
  6256     for ac_exec_ext in '' $ac_executable_extensions; do
  6257   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6258     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
  6259     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6260     break 2
  6261   fi
  6262 done
  6263   done
  6264 IFS=$as_save_IFS
  6265 
  6266 fi
  6267 fi
  6268 DLLTOOL=$ac_cv_prog_DLLTOOL
  6269 if test -n "$DLLTOOL"; then
  6270   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
  6271 $as_echo "$DLLTOOL" >&6; }
  6272 else
  6273   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6274 $as_echo "no" >&6; }
  6275 fi
  6276 
  6277 
  6278 fi
  6279 if test -z "$ac_cv_prog_DLLTOOL"; then
  6280   ac_ct_DLLTOOL=$DLLTOOL
  6281   # Extract the first word of "dlltool", so it can be a program name with args.
  6282 set dummy dlltool; ac_word=$2
  6283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6284 $as_echo_n "checking for $ac_word... " >&6; }
  6285 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
  6286   $as_echo_n "(cached) " >&6
  6287 else
  6288   if test -n "$ac_ct_DLLTOOL"; then
  6289   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
  6290 else
  6291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6292 for as_dir in $PATH
  6293 do
  6294   IFS=$as_save_IFS
  6295   test -z "$as_dir" && as_dir=.
  6296     for ac_exec_ext in '' $ac_executable_extensions; do
  6297   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6298     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
  6299     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6300     break 2
  6301   fi
  6302 done
  6303   done
  6304 IFS=$as_save_IFS
  6305 
  6306 fi
  6307 fi
  6308 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
  6309 if test -n "$ac_ct_DLLTOOL"; then
  6310   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
  6311 $as_echo "$ac_ct_DLLTOOL" >&6; }
  6312 else
  6313   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6314 $as_echo "no" >&6; }
  6315 fi
  6316 
  6317   if test "x$ac_ct_DLLTOOL" = x; then
  6318     DLLTOOL="false"
  6319   else
  6320     case $cross_compiling:$ac_tool_warned in
  6321 yes:)
  6322 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6323 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6324 ac_tool_warned=yes ;;
  6325 esac
  6326     DLLTOOL=$ac_ct_DLLTOOL
  6327   fi
  6328 else
  6329   DLLTOOL="$ac_cv_prog_DLLTOOL"
  6330 fi
  6331 
  6332   if test -n "$ac_tool_prefix"; then
  6333   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
  6334 set dummy ${ac_tool_prefix}objdump; ac_word=$2
  6335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6336 $as_echo_n "checking for $ac_word... " >&6; }
  6337 if ${ac_cv_prog_OBJDUMP+:} false; then :
  6338   $as_echo_n "(cached) " >&6
  6339 else
  6340   if test -n "$OBJDUMP"; then
  6341   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
  6342 else
  6343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6344 for as_dir in $PATH
  6345 do
  6346   IFS=$as_save_IFS
  6347   test -z "$as_dir" && as_dir=.
  6348     for ac_exec_ext in '' $ac_executable_extensions; do
  6349   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6350     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
  6351     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6352     break 2
  6353   fi
  6354 done
  6355   done
  6356 IFS=$as_save_IFS
  6357 
  6358 fi
  6359 fi
  6360 OBJDUMP=$ac_cv_prog_OBJDUMP
  6361 if test -n "$OBJDUMP"; then
  6362   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
  6363 $as_echo "$OBJDUMP" >&6; }
  6364 else
  6365   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6366 $as_echo "no" >&6; }
  6367 fi
  6368 
  6369 
  6370 fi
  6371 if test -z "$ac_cv_prog_OBJDUMP"; then
  6372   ac_ct_OBJDUMP=$OBJDUMP
  6373   # Extract the first word of "objdump", so it can be a program name with args.
  6374 set dummy objdump; ac_word=$2
  6375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6376 $as_echo_n "checking for $ac_word... " >&6; }
  6377 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
  6378   $as_echo_n "(cached) " >&6
  6379 else
  6380   if test -n "$ac_ct_OBJDUMP"; then
  6381   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
  6382 else
  6383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6384 for as_dir in $PATH
  6385 do
  6386   IFS=$as_save_IFS
  6387   test -z "$as_dir" && as_dir=.
  6388     for ac_exec_ext in '' $ac_executable_extensions; do
  6389   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6390     ac_cv_prog_ac_ct_OBJDUMP="objdump"
  6391     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6392     break 2
  6393   fi
  6394 done
  6395   done
  6396 IFS=$as_save_IFS
  6397 
  6398 fi
  6399 fi
  6400 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
  6401 if test -n "$ac_ct_OBJDUMP"; then
  6402   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
  6403 $as_echo "$ac_ct_OBJDUMP" >&6; }
  6404 else
  6405   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6406 $as_echo "no" >&6; }
  6407 fi
  6408 
  6409   if test "x$ac_ct_OBJDUMP" = x; then
  6410     OBJDUMP="false"
  6411   else
  6412     case $cross_compiling:$ac_tool_warned in
  6413 yes:)
  6414 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6415 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6416 ac_tool_warned=yes ;;
  6417 esac
  6418     OBJDUMP=$ac_ct_OBJDUMP
  6419   fi
  6420 else
  6421   OBJDUMP="$ac_cv_prog_OBJDUMP"
  6422 fi
  6423 
  6424   ;;
  6425 esac
  6426 
  6427 test -z "$AS" && AS=as
  6428 
  6429 
  6430 
  6431 
  6432 
  6433 test -z "$DLLTOOL" && DLLTOOL=dlltool
  6434 
  6435 
  6436 
  6437 
  6438 
  6439 test -z "$OBJDUMP" && OBJDUMP=objdump
  6440 
  6441 
  6442 
  6443 
  6444 
  6445 
  6446 
  6447         enable_dlopen=no
  6448 
  6449 
  6450 
  6451             # Check whether --enable-shared was given.
  6452 if test "${enable_shared+set}" = set; then :
  6453   enableval=$enable_shared; p=${PACKAGE-default}
  6454     case $enableval in
  6455     yes) enable_shared=yes ;;
  6456     no) enable_shared=no ;;
  6457     *)
  6458       enable_shared=no
  6459       # Look at the argument we got.  We use all the common list separators.
  6460       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  6461       for pkg in $enableval; do
  6462 	IFS="$lt_save_ifs"
  6463 	if test "X$pkg" = "X$p"; then
  6464 	  enable_shared=yes
  6465 	fi
  6466       done
  6467       IFS="$lt_save_ifs"
  6468       ;;
  6469     esac
  6470 else
  6471   enable_shared=yes
  6472 fi
  6473 
  6474 
  6475 
  6476 
  6477 
  6478 
  6479 
  6480 
  6481 
  6482   # Check whether --enable-static was given.
  6483 if test "${enable_static+set}" = set; then :
  6484   enableval=$enable_static; p=${PACKAGE-default}
  6485     case $enableval in
  6486     yes) enable_static=yes ;;
  6487     no) enable_static=no ;;
  6488     *)
  6489      enable_static=no
  6490       # Look at the argument we got.  We use all the common list separators.
  6491       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  6492       for pkg in $enableval; do
  6493 	IFS="$lt_save_ifs"
  6494 	if test "X$pkg" = "X$p"; then
  6495 	  enable_static=yes
  6496 	fi
  6497       done
  6498       IFS="$lt_save_ifs"
  6499       ;;
  6500     esac
  6501 else
  6502   enable_static=yes
  6503 fi
  6504 
  6505 
  6506 
  6507 
  6508 
  6509 
  6510 
  6511 
  6512 
  6513 
  6514 # Check whether --with-pic was given.
  6515 if test "${with_pic+set}" = set; then :
  6516   withval=$with_pic; pic_mode="$withval"
  6517 else
  6518   pic_mode=default
  6519 fi
  6520 
  6521 
  6522 test -z "$pic_mode" && pic_mode=default
  6523 
  6524 
  6525 
  6526 
  6527 
  6528 
  6529 
  6530   # Check whether --enable-fast-install was given.
  6531 if test "${enable_fast_install+set}" = set; then :
  6532   enableval=$enable_fast_install; p=${PACKAGE-default}
  6533     case $enableval in
  6534     yes) enable_fast_install=yes ;;
  6535     no) enable_fast_install=no ;;
  6536     *)
  6537       enable_fast_install=no
  6538       # Look at the argument we got.  We use all the common list separators.
  6539       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  6540       for pkg in $enableval; do
  6541 	IFS="$lt_save_ifs"
  6542 	if test "X$pkg" = "X$p"; then
  6543 	  enable_fast_install=yes
  6544 	fi
  6545       done
  6546       IFS="$lt_save_ifs"
  6547       ;;
  6548     esac
  6549 else
  6550   enable_fast_install=yes
  6551 fi
  6552 
  6553 
  6554 
  6555 
  6556 
  6557 
  6558 
  6559 
  6560 
  6561 
  6562 
  6563 # This can be used to rebuild libtool when needed
  6564 LIBTOOL_DEPS="$ltmain"
  6565 
  6566 # Always use our own libtool.
  6567 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
  6568 
  6569 
  6570 
  6571 
  6572 
  6573 
  6574 
  6575 
  6576 
  6577 
  6578 
  6579 
  6580 
  6581 
  6582 
  6583 
  6584 
  6585 
  6586 
  6587 
  6588 
  6589 
  6590 
  6591 
  6592 
  6593 test -z "$LN_S" && LN_S="ln -s"
  6594 
  6595 
  6596 
  6597 
  6598 
  6599 
  6600 
  6601 
  6602 
  6603 
  6604 
  6605 
  6606 
  6607 
  6608 if test -n "${ZSH_VERSION+set}" ; then
  6609    setopt NO_GLOB_SUBST
  6610 fi
  6611 
  6612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
  6613 $as_echo_n "checking for objdir... " >&6; }
  6614 if ${lt_cv_objdir+:} false; then :
  6615   $as_echo_n "(cached) " >&6
  6616 else
  6617   rm -f .libs 2>/dev/null
  6618 mkdir .libs 2>/dev/null
  6619 if test -d .libs; then
  6620   lt_cv_objdir=.libs
  6621 else
  6622   # MS-DOS does not allow filenames that begin with a dot.
  6623   lt_cv_objdir=_libs
  6624 fi
  6625 rmdir .libs 2>/dev/null
  6626 fi
  6627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
  6628 $as_echo "$lt_cv_objdir" >&6; }
  6629 objdir=$lt_cv_objdir
  6630 
  6631 
  6632 
  6633 
  6634 
  6635 cat >>confdefs.h <<_ACEOF
  6636 #define LT_OBJDIR "$lt_cv_objdir/"
  6637 _ACEOF
  6638 
  6639 
  6640 
  6641 
  6642 
  6643 
  6644 
  6645 
  6646 
  6647 
  6648 
  6649 
  6650