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