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