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