configure
author Sam Lantinga <slouken@libsdl.org>
Thu, 20 Sep 2012 21:17:49 -0700
changeset 6444 9a2b329dbd0e
parent 6443 21827b6a7cfd
child 6445 e43ddbd3d0e2
permissions -rwxr-xr-x
Changed the comment so it actually talks about the right instruction set.
     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   ;;
  4881 
  4882 mingw* | pw32*)
  4883   # Base MSYS/MinGW do not provide the 'file' command needed by
  4884   # func_win32_libid shell function, so use a weaker test based on 'objdump',
  4885   # unless we find 'file', for example because we are cross-compiling.
  4886   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
  4887   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
  4888     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  4889     lt_cv_file_magic_cmd='func_win32_libid'
  4890   else
  4891     # Keep this pattern in sync with the one in func_win32_libid.
  4892     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
  4893     lt_cv_file_magic_cmd='$OBJDUMP -f'
  4894   fi
  4895   ;;
  4896 
  4897 cegcc*)
  4898   # use the weaker test based on 'objdump'. See mingw*.
  4899   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
  4900   lt_cv_file_magic_cmd='$OBJDUMP -f'
  4901   ;;
  4902 
  4903 darwin* | rhapsody*)
  4904   lt_cv_deplibs_check_method=pass_all
  4905   ;;
  4906 
  4907 freebsd* | dragonfly*)
  4908   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  4909     case $host_cpu in
  4910     i*86 )
  4911       # Not sure whether the presence of OpenBSD here was a mistake.
  4912       # Let's accept both of them until this is cleared up.
  4913       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
  4914       lt_cv_file_magic_cmd=/usr/bin/file
  4915       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
  4916       ;;
  4917     esac
  4918   else
  4919     lt_cv_deplibs_check_method=pass_all
  4920   fi
  4921   ;;
  4922 
  4923 gnu*)
  4924   lt_cv_deplibs_check_method=pass_all
  4925   ;;
  4926 
  4927 haiku*)
  4928   lt_cv_deplibs_check_method=pass_all
  4929   ;;
  4930 
  4931 hpux10.20* | hpux11*)
  4932   lt_cv_file_magic_cmd=/usr/bin/file
  4933   case $host_cpu in
  4934   ia64*)
  4935     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
  4936     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
  4937     ;;
  4938   hppa*64*)
  4939     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]'
  4940     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
  4941     ;;
  4942   *)
  4943     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
  4944     lt_cv_file_magic_test_file=/usr/lib/libc.sl
  4945     ;;
  4946   esac
  4947   ;;
  4948 
  4949 interix[3-9]*)
  4950   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
  4951   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
  4952   ;;
  4953 
  4954 irix5* | irix6* | nonstopux*)
  4955   case $LD in
  4956   *-32|*"-32 ") libmagic=32-bit;;
  4957   *-n32|*"-n32 ") libmagic=N32;;
  4958   *-64|*"-64 ") libmagic=64-bit;;
  4959   *) libmagic=never-match;;
  4960   esac
  4961   lt_cv_deplibs_check_method=pass_all
  4962   ;;
  4963 
  4964 # This must be glibc/ELF.
  4965 linux* | k*bsd*-gnu | kopensolaris*-gnu)
  4966   lt_cv_deplibs_check_method=pass_all
  4967   ;;
  4968 
  4969 netbsd*)
  4970   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  4971     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  4972   else
  4973     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
  4974   fi
  4975   ;;
  4976 
  4977 newos6*)
  4978   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
  4979   lt_cv_file_magic_cmd=/usr/bin/file
  4980   lt_cv_file_magic_test_file=/usr/lib/libnls.so
  4981   ;;
  4982 
  4983 *nto* | *qnx*)
  4984   lt_cv_deplibs_check_method=pass_all
  4985   ;;
  4986 
  4987 openbsd*)
  4988   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  4989     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
  4990   else
  4991     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  4992   fi
  4993   ;;
  4994 
  4995 osf3* | osf4* | osf5*)
  4996   lt_cv_deplibs_check_method=pass_all
  4997   ;;
  4998 
  4999 rdos*)
  5000   lt_cv_deplibs_check_method=pass_all
  5001   ;;
  5002 
  5003 solaris*)
  5004   lt_cv_deplibs_check_method=pass_all
  5005   ;;
  5006 
  5007 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  5008   lt_cv_deplibs_check_method=pass_all
  5009   ;;
  5010 
  5011 sysv4 | sysv4.3*)
  5012   case $host_vendor in
  5013   motorola)
  5014     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]'
  5015     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
  5016     ;;
  5017   ncr)
  5018     lt_cv_deplibs_check_method=pass_all
  5019     ;;
  5020   sequent)
  5021     lt_cv_file_magic_cmd='/bin/file'
  5022     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
  5023     ;;
  5024   sni)
  5025     lt_cv_file_magic_cmd='/bin/file'
  5026     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
  5027     lt_cv_file_magic_test_file=/lib/libc.so
  5028     ;;
  5029   siemens)
  5030     lt_cv_deplibs_check_method=pass_all
  5031     ;;
  5032   pc)
  5033     lt_cv_deplibs_check_method=pass_all
  5034     ;;
  5035   esac
  5036   ;;
  5037 
  5038 tpf*)
  5039   lt_cv_deplibs_check_method=pass_all
  5040   ;;
  5041 esac
  5042 
  5043 fi
  5044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
  5045 $as_echo "$lt_cv_deplibs_check_method" >&6; }
  5046 
  5047 file_magic_glob=
  5048 want_nocaseglob=no
  5049 if test "$build" = "$host"; then
  5050   case $host_os in
  5051   mingw* | pw32*)
  5052     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
  5053       want_nocaseglob=yes
  5054     else
  5055       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
  5056     fi
  5057     ;;
  5058   esac
  5059 fi
  5060 
  5061 file_magic_cmd=$lt_cv_file_magic_cmd
  5062 deplibs_check_method=$lt_cv_deplibs_check_method
  5063 test -z "$deplibs_check_method" && deplibs_check_method=unknown
  5064 
  5065 
  5066 
  5067 
  5068 
  5069 
  5070 
  5071 
  5072 
  5073 
  5074 
  5075 
  5076 
  5077 
  5078 
  5079 
  5080 
  5081 
  5082 
  5083 
  5084 
  5085 
  5086 if test -n "$ac_tool_prefix"; then
  5087   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
  5088 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
  5089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5090 $as_echo_n "checking for $ac_word... " >&6; }
  5091 if ${ac_cv_prog_DLLTOOL+:} false; then :
  5092   $as_echo_n "(cached) " >&6
  5093 else
  5094   if test -n "$DLLTOOL"; then
  5095   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
  5096 else
  5097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5098 for as_dir in $PATH
  5099 do
  5100   IFS=$as_save_IFS
  5101   test -z "$as_dir" && as_dir=.
  5102     for ac_exec_ext in '' $ac_executable_extensions; do
  5103   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5104     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
  5105     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5106     break 2
  5107   fi
  5108 done
  5109   done
  5110 IFS=$as_save_IFS
  5111 
  5112 fi
  5113 fi
  5114 DLLTOOL=$ac_cv_prog_DLLTOOL
  5115 if test -n "$DLLTOOL"; then
  5116   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
  5117 $as_echo "$DLLTOOL" >&6; }
  5118 else
  5119   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5120 $as_echo "no" >&6; }
  5121 fi
  5122 
  5123 
  5124 fi
  5125 if test -z "$ac_cv_prog_DLLTOOL"; then
  5126   ac_ct_DLLTOOL=$DLLTOOL
  5127   # Extract the first word of "dlltool", so it can be a program name with args.
  5128 set dummy dlltool; ac_word=$2
  5129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5130 $as_echo_n "checking for $ac_word... " >&6; }
  5131 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
  5132   $as_echo_n "(cached) " >&6
  5133 else
  5134   if test -n "$ac_ct_DLLTOOL"; then
  5135   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
  5136 else
  5137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5138 for as_dir in $PATH
  5139 do
  5140   IFS=$as_save_IFS
  5141   test -z "$as_dir" && as_dir=.
  5142     for ac_exec_ext in '' $ac_executable_extensions; do
  5143   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5144     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
  5145     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5146     break 2
  5147   fi
  5148 done
  5149   done
  5150 IFS=$as_save_IFS
  5151 
  5152 fi
  5153 fi
  5154 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
  5155 if test -n "$ac_ct_DLLTOOL"; then
  5156   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
  5157 $as_echo "$ac_ct_DLLTOOL" >&6; }
  5158 else
  5159   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5160 $as_echo "no" >&6; }
  5161 fi
  5162 
  5163   if test "x$ac_ct_DLLTOOL" = x; then
  5164     DLLTOOL="false"
  5165   else
  5166     case $cross_compiling:$ac_tool_warned in
  5167 yes:)
  5168 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5169 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5170 ac_tool_warned=yes ;;
  5171 esac
  5172     DLLTOOL=$ac_ct_DLLTOOL
  5173   fi
  5174 else
  5175   DLLTOOL="$ac_cv_prog_DLLTOOL"
  5176 fi
  5177 
  5178 test -z "$DLLTOOL" && DLLTOOL=dlltool
  5179 
  5180 
  5181 
  5182 
  5183 
  5184 
  5185 
  5186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
  5187 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
  5188 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
  5189   $as_echo_n "(cached) " >&6
  5190 else
  5191   lt_cv_sharedlib_from_linklib_cmd='unknown'
  5192 
  5193 case $host_os in
  5194 cygwin* | mingw* | pw32* | cegcc*)
  5195   # two different shell functions defined in ltmain.sh
  5196   # decide which to use based on capabilities of $DLLTOOL
  5197   case `$DLLTOOL --help 2>&1` in
  5198   *--identify-strict*)
  5199     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
  5200     ;;
  5201   *)
  5202     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
  5203     ;;
  5204   esac
  5205   ;;
  5206 *)
  5207   # fallback: assume linklib IS sharedlib
  5208   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
  5209   ;;
  5210 esac
  5211 
  5212 fi
  5213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
  5214 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
  5215 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
  5216 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
  5217 
  5218 
  5219 
  5220 
  5221 
  5222 
  5223 
  5224 
  5225 if test -n "$ac_tool_prefix"; then
  5226   for ac_prog in ar
  5227   do
  5228     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  5229 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  5230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5231 $as_echo_n "checking for $ac_word... " >&6; }
  5232 if ${ac_cv_prog_AR+:} false; then :
  5233   $as_echo_n "(cached) " >&6
  5234 else
  5235   if test -n "$AR"; then
  5236   ac_cv_prog_AR="$AR" # Let the user override the test.
  5237 else
  5238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5239 for as_dir in $PATH
  5240 do
  5241   IFS=$as_save_IFS
  5242   test -z "$as_dir" && as_dir=.
  5243     for ac_exec_ext in '' $ac_executable_extensions; do
  5244   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5245     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
  5246     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5247     break 2
  5248   fi
  5249 done
  5250   done
  5251 IFS=$as_save_IFS
  5252 
  5253 fi
  5254 fi
  5255 AR=$ac_cv_prog_AR
  5256 if test -n "$AR"; then
  5257   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
  5258 $as_echo "$AR" >&6; }
  5259 else
  5260   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5261 $as_echo "no" >&6; }
  5262 fi
  5263 
  5264 
  5265     test -n "$AR" && break
  5266   done
  5267 fi
  5268 if test -z "$AR"; then
  5269   ac_ct_AR=$AR
  5270   for ac_prog in ar
  5271 do
  5272   # Extract the first word of "$ac_prog", so it can be a program name with args.
  5273 set dummy $ac_prog; ac_word=$2
  5274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5275 $as_echo_n "checking for $ac_word... " >&6; }
  5276 if ${ac_cv_prog_ac_ct_AR+:} false; then :
  5277   $as_echo_n "(cached) " >&6
  5278 else
  5279   if test -n "$ac_ct_AR"; then
  5280   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
  5281 else
  5282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5283 for as_dir in $PATH
  5284 do
  5285   IFS=$as_save_IFS
  5286   test -z "$as_dir" && as_dir=.
  5287     for ac_exec_ext in '' $ac_executable_extensions; do
  5288   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5289     ac_cv_prog_ac_ct_AR="$ac_prog"
  5290     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5291     break 2
  5292   fi
  5293 done
  5294   done
  5295 IFS=$as_save_IFS
  5296 
  5297 fi
  5298 fi
  5299 ac_ct_AR=$ac_cv_prog_ac_ct_AR
  5300 if test -n "$ac_ct_AR"; then
  5301   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
  5302 $as_echo "$ac_ct_AR" >&6; }
  5303 else
  5304   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5305 $as_echo "no" >&6; }
  5306 fi
  5307 
  5308 
  5309   test -n "$ac_ct_AR" && break
  5310 done
  5311 
  5312   if test "x$ac_ct_AR" = x; then
  5313     AR="false"
  5314   else
  5315     case $cross_compiling:$ac_tool_warned in
  5316 yes:)
  5317 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5318 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5319 ac_tool_warned=yes ;;
  5320 esac
  5321     AR=$ac_ct_AR
  5322   fi
  5323 fi
  5324 
  5325 : ${AR=ar}
  5326 : ${AR_FLAGS=cru}
  5327 
  5328 
  5329 
  5330 
  5331 
  5332 
  5333 
  5334 
  5335 
  5336 
  5337 
  5338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
  5339 $as_echo_n "checking for archiver @FILE support... " >&6; }
  5340 if ${lt_cv_ar_at_file+:} false; then :
  5341   $as_echo_n "(cached) " >&6
  5342 else
  5343   lt_cv_ar_at_file=no
  5344    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5345 /* end confdefs.h.  */
  5346 
  5347 int
  5348 main ()
  5349 {
  5350 
  5351   ;
  5352   return 0;
  5353 }
  5354 _ACEOF
  5355 if ac_fn_c_try_compile "$LINENO"; then :
  5356   echo conftest.$ac_objext > conftest.lst
  5357       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
  5358       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
  5359   (eval $lt_ar_try) 2>&5
  5360   ac_status=$?
  5361   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5362   test $ac_status = 0; }
  5363       if test "$ac_status" -eq 0; then
  5364 	# Ensure the archiver fails upon bogus file names.
  5365 	rm -f conftest.$ac_objext libconftest.a
  5366 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
  5367   (eval $lt_ar_try) 2>&5
  5368   ac_status=$?
  5369   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5370   test $ac_status = 0; }
  5371 	if test "$ac_status" -ne 0; then
  5372           lt_cv_ar_at_file=@
  5373         fi
  5374       fi
  5375       rm -f conftest.* libconftest.a
  5376 
  5377 fi
  5378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5379 
  5380 fi
  5381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
  5382 $as_echo "$lt_cv_ar_at_file" >&6; }
  5383 
  5384 if test "x$lt_cv_ar_at_file" = xno; then
  5385   archiver_list_spec=
  5386 else
  5387   archiver_list_spec=$lt_cv_ar_at_file
  5388 fi
  5389 
  5390 
  5391 
  5392 
  5393 
  5394 
  5395 
  5396 if test -n "$ac_tool_prefix"; then
  5397   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  5398 set dummy ${ac_tool_prefix}strip; ac_word=$2
  5399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5400 $as_echo_n "checking for $ac_word... " >&6; }
  5401 if ${ac_cv_prog_STRIP+:} false; then :
  5402   $as_echo_n "(cached) " >&6
  5403 else
  5404   if test -n "$STRIP"; then
  5405   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  5406 else
  5407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5408 for as_dir in $PATH
  5409 do
  5410   IFS=$as_save_IFS
  5411   test -z "$as_dir" && as_dir=.
  5412     for ac_exec_ext in '' $ac_executable_extensions; do
  5413   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5414     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  5415     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5416     break 2
  5417   fi
  5418 done
  5419   done
  5420 IFS=$as_save_IFS
  5421 
  5422 fi
  5423 fi
  5424 STRIP=$ac_cv_prog_STRIP
  5425 if test -n "$STRIP"; then
  5426   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  5427 $as_echo "$STRIP" >&6; }
  5428 else
  5429   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5430 $as_echo "no" >&6; }
  5431 fi
  5432 
  5433 
  5434 fi
  5435 if test -z "$ac_cv_prog_STRIP"; then
  5436   ac_ct_STRIP=$STRIP
  5437   # Extract the first word of "strip", so it can be a program name with args.
  5438 set dummy strip; ac_word=$2
  5439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5440 $as_echo_n "checking for $ac_word... " >&6; }
  5441 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
  5442   $as_echo_n "(cached) " >&6
  5443 else
  5444   if test -n "$ac_ct_STRIP"; then
  5445   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  5446 else
  5447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5448 for as_dir in $PATH
  5449 do
  5450   IFS=$as_save_IFS
  5451   test -z "$as_dir" && as_dir=.
  5452     for ac_exec_ext in '' $ac_executable_extensions; do
  5453   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5454     ac_cv_prog_ac_ct_STRIP="strip"
  5455     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5456     break 2
  5457   fi
  5458 done
  5459   done
  5460 IFS=$as_save_IFS
  5461 
  5462 fi
  5463 fi
  5464 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  5465 if test -n "$ac_ct_STRIP"; then
  5466   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  5467 $as_echo "$ac_ct_STRIP" >&6; }
  5468 else
  5469   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5470 $as_echo "no" >&6; }
  5471 fi
  5472 
  5473   if test "x$ac_ct_STRIP" = x; then
  5474     STRIP=":"
  5475   else
  5476     case $cross_compiling:$ac_tool_warned in
  5477 yes:)
  5478 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5479 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5480 ac_tool_warned=yes ;;
  5481 esac
  5482     STRIP=$ac_ct_STRIP
  5483   fi
  5484 else
  5485   STRIP="$ac_cv_prog_STRIP"
  5486 fi
  5487 
  5488 test -z "$STRIP" && STRIP=:
  5489 
  5490 
  5491 
  5492 
  5493 
  5494 
  5495 if test -n "$ac_tool_prefix"; then
  5496   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  5497 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  5498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5499 $as_echo_n "checking for $ac_word... " >&6; }
  5500 if ${ac_cv_prog_RANLIB+:} false; then :
  5501   $as_echo_n "(cached) " >&6
  5502 else
  5503   if test -n "$RANLIB"; then
  5504   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  5505 else
  5506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5507 for as_dir in $PATH
  5508 do
  5509   IFS=$as_save_IFS
  5510   test -z "$as_dir" && as_dir=.
  5511     for ac_exec_ext in '' $ac_executable_extensions; do
  5512   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5513     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  5514     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5515     break 2
  5516   fi
  5517 done
  5518   done
  5519 IFS=$as_save_IFS
  5520 
  5521 fi
  5522 fi
  5523 RANLIB=$ac_cv_prog_RANLIB
  5524 if test -n "$RANLIB"; then
  5525   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
  5526 $as_echo "$RANLIB" >&6; }
  5527 else
  5528   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5529 $as_echo "no" >&6; }
  5530 fi
  5531 
  5532 
  5533 fi
  5534 if test -z "$ac_cv_prog_RANLIB"; then
  5535   ac_ct_RANLIB=$RANLIB
  5536   # Extract the first word of "ranlib", so it can be a program name with args.
  5537 set dummy ranlib; ac_word=$2
  5538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5539 $as_echo_n "checking for $ac_word... " >&6; }
  5540 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
  5541   $as_echo_n "(cached) " >&6
  5542 else
  5543   if test -n "$ac_ct_RANLIB"; then
  5544   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
  5545 else
  5546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5547 for as_dir in $PATH
  5548 do
  5549   IFS=$as_save_IFS
  5550   test -z "$as_dir" && as_dir=.
  5551     for ac_exec_ext in '' $ac_executable_extensions; do
  5552   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5553     ac_cv_prog_ac_ct_RANLIB="ranlib"
  5554     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5555     break 2
  5556   fi
  5557 done
  5558   done
  5559 IFS=$as_save_IFS
  5560 
  5561 fi
  5562 fi
  5563 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  5564 if test -n "$ac_ct_RANLIB"; then
  5565   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
  5566 $as_echo "$ac_ct_RANLIB" >&6; }
  5567 else
  5568   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5569 $as_echo "no" >&6; }
  5570 fi
  5571 
  5572   if test "x$ac_ct_RANLIB" = x; then
  5573     RANLIB=":"
  5574   else
  5575     case $cross_compiling:$ac_tool_warned in
  5576 yes:)
  5577 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5578 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5579 ac_tool_warned=yes ;;
  5580 esac
  5581     RANLIB=$ac_ct_RANLIB
  5582   fi
  5583 else
  5584   RANLIB="$ac_cv_prog_RANLIB"
  5585 fi
  5586 
  5587 test -z "$RANLIB" && RANLIB=:
  5588 
  5589 
  5590 
  5591 
  5592 
  5593 
  5594 # Determine commands to create old-style static archives.
  5595 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
  5596 old_postinstall_cmds='chmod 644 $oldlib'
  5597 old_postuninstall_cmds=
  5598 
  5599 if test -n "$RANLIB"; then
  5600   case $host_os in
  5601   openbsd*)
  5602     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
  5603     ;;
  5604   *)
  5605     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
  5606     ;;
  5607   esac
  5608   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
  5609 fi
  5610 
  5611 case $host_os in
  5612   darwin*)
  5613     lock_old_archive_extraction=yes ;;
  5614   *)
  5615     lock_old_archive_extraction=no ;;
  5616 esac
  5617 
  5618 
  5619 
  5620 
  5621 
  5622 
  5623 
  5624 
  5625 
  5626 
  5627 
  5628 
  5629 
  5630 
  5631 
  5632 
  5633 
  5634 
  5635 
  5636 
  5637 
  5638 for ac_prog in gawk mawk nawk awk
  5639 do
  5640   # Extract the first word of "$ac_prog", so it can be a program name with args.
  5641 set dummy $ac_prog; ac_word=$2
  5642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5643 $as_echo_n "checking for $ac_word... " >&6; }
  5644 if ${ac_cv_prog_AWK+:} false; then :
  5645   $as_echo_n "(cached) " >&6
  5646 else
  5647   if test -n "$AWK"; then
  5648   ac_cv_prog_AWK="$AWK" # Let the user override the test.
  5649 else
  5650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5651 for as_dir in $PATH
  5652 do
  5653   IFS=$as_save_IFS
  5654   test -z "$as_dir" && as_dir=.
  5655     for ac_exec_ext in '' $ac_executable_extensions; do
  5656   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5657     ac_cv_prog_AWK="$ac_prog"
  5658     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5659     break 2
  5660   fi
  5661 done
  5662   done
  5663 IFS=$as_save_IFS
  5664 
  5665 fi
  5666 fi
  5667 AWK=$ac_cv_prog_AWK
  5668 if test -n "$AWK"; then
  5669   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
  5670 $as_echo "$AWK" >&6; }
  5671 else
  5672   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5673 $as_echo "no" >&6; }
  5674 fi
  5675 
  5676 
  5677   test -n "$AWK" && break
  5678 done
  5679 
  5680 
  5681 
  5682 
  5683 
  5684 
  5685 
  5686 
  5687 
  5688 
  5689 
  5690 
  5691 
  5692 
  5693 
  5694 
  5695 
  5696 
  5697 
  5698 # If no C compiler was specified, use CC.
  5699 LTCC=${LTCC-"$CC"}
  5700 
  5701 # If no C compiler flags were specified, use CFLAGS.
  5702 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  5703 
  5704 # Allow CC to be a program name with arguments.
  5705 compiler=$CC
  5706 
  5707 
  5708 # Check for command to grab the raw symbol name followed by C symbol from nm.
  5709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
  5710 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
  5711 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
  5712   $as_echo_n "(cached) " >&6
  5713 else
  5714 
  5715 # These are sane defaults that work on at least a few old systems.
  5716 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
  5717 
  5718 # Character class describing NM global symbol codes.
  5719 symcode='[BCDEGRST]'
  5720 
  5721 # Regexp to match symbols that can be accessed directly from C.
  5722 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
  5723 
  5724 # Define system-specific variables.
  5725 case $host_os in
  5726 aix*)
  5727   symcode='[BCDT]'
  5728   ;;
  5729 cygwin* | mingw* | pw32* | cegcc*)
  5730   symcode='[ABCDGISTW]'
  5731   ;;
  5732 hpux*)
  5733   if test "$host_cpu" = ia64; then
  5734     symcode='[ABCDEGRST]'
  5735   fi
  5736   ;;
  5737 irix* | nonstopux*)
  5738   symcode='[BCDEGRST]'
  5739   ;;
  5740 osf*)
  5741   symcode='[BCDEGQRST]'
  5742   ;;
  5743 solaris*)
  5744   symcode='[BDRT]'
  5745   ;;
  5746 sco3.2v5*)
  5747   symcode='[DT]'
  5748   ;;
  5749 sysv4.2uw2*)
  5750   symcode='[DT]'
  5751   ;;
  5752 sysv5* | sco5v6* | unixware* | OpenUNIX*)
  5753   symcode='[ABDT]'
  5754   ;;
  5755 sysv4)
  5756   symcode='[DFNSTU]'
  5757   ;;
  5758 esac
  5759 
  5760 # If we're using GNU nm, then use its standard symbol codes.
  5761 case `$NM -V 2>&1` in
  5762 *GNU* | *'with BFD'*)
  5763   symcode='[ABCDGIRSTW]' ;;
  5764 esac
  5765 
  5766 # Transform an extracted symbol line into a proper C declaration.
  5767 # Some systems (esp. on ia64) link data and code symbols differently,
  5768 # so use this general approach.
  5769 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  5770 
  5771 # Transform an extracted symbol line into symbol name and symbol address
  5772 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
  5773 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'"
  5774 
  5775 # Handle CRLF in mingw tool chain
  5776 opt_cr=
  5777 case $build_os in
  5778 mingw*)
  5779   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
  5780   ;;
  5781 esac
  5782 
  5783 # Try without a prefix underscore, then with it.
  5784 for ac_symprfx in "" "_"; do
  5785 
  5786   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
  5787   symxfrm="\\1 $ac_symprfx\\2 \\2"
  5788 
  5789   # Write the raw and C identifiers.
  5790   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  5791     # Fake it for dumpbin and say T for any non-static function
  5792     # and D for any global variable.
  5793     # Also find C++ and __fastcall symbols from MSVC++,
  5794     # which start with @ or ?.
  5795     lt_cv_sys_global_symbol_pipe="$AWK '"\
  5796 "     {last_section=section; section=\$ 3};"\
  5797 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
  5798 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
  5799 "     \$ 0!~/External *\|/{next};"\
  5800 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
  5801 "     {if(hide[section]) next};"\
  5802 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
  5803 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
  5804 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
  5805 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
  5806 "     ' prfx=^$ac_symprfx"
  5807   else
  5808     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
  5809   fi
  5810   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
  5811 
  5812   # Check to see that the pipe works correctly.
  5813   pipe_works=no
  5814 
  5815   rm -f conftest*
  5816   cat > conftest.$ac_ext <<_LT_EOF
  5817 #ifdef __cplusplus
  5818 extern "C" {
  5819 #endif
  5820 char nm_test_var;
  5821 void nm_test_func(void);
  5822 void nm_test_func(void){}
  5823 #ifdef __cplusplus
  5824 }
  5825 #endif
  5826 int main(){nm_test_var='a';nm_test_func();return(0);}
  5827 _LT_EOF
  5828 
  5829   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  5830   (eval $ac_compile) 2>&5
  5831   ac_status=$?
  5832   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5833   test $ac_status = 0; }; then
  5834     # Now try to grab the symbols.
  5835     nlist=conftest.nm
  5836     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
  5837   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
  5838   ac_status=$?
  5839   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5840   test $ac_status = 0; } && test -s "$nlist"; then
  5841       # Try sorting and uniquifying the output.
  5842       if sort "$nlist" | uniq > "$nlist"T; then
  5843 	mv -f "$nlist"T "$nlist"
  5844       else
  5845 	rm -f "$nlist"T
  5846       fi
  5847 
  5848       # Make sure that we snagged all the symbols we need.
  5849       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
  5850 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
  5851 	  cat <<_LT_EOF > conftest.$ac_ext
  5852 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
  5853 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
  5854 /* DATA imports from DLLs on WIN32 con't be const, because runtime
  5855    relocations are performed -- see ld's documentation on pseudo-relocs.  */
  5856 # define LT_DLSYM_CONST
  5857 #elif defined(__osf__)
  5858 /* This system does not cope well with relocations in const data.  */
  5859 # define LT_DLSYM_CONST
  5860 #else
  5861 # define LT_DLSYM_CONST const
  5862 #endif
  5863 
  5864 #ifdef __cplusplus
  5865 extern "C" {
  5866 #endif
  5867 
  5868 _LT_EOF
  5869 	  # Now generate the symbol file.
  5870 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
  5871 
  5872 	  cat <<_LT_EOF >> conftest.$ac_ext
  5873 
  5874 /* The mapping between symbol names and symbols.  */
  5875 LT_DLSYM_CONST struct {
  5876   const char *name;
  5877   void       *address;
  5878 }
  5879 lt__PROGRAM__LTX_preloaded_symbols[] =
  5880 {
  5881   { "@PROGRAM@", (void *) 0 },
  5882 _LT_EOF
  5883 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
  5884 	  cat <<\_LT_EOF >> conftest.$ac_ext
  5885   {0, (void *) 0}
  5886 };
  5887 
  5888 /* This works around a problem in FreeBSD linker */
  5889 #ifdef FREEBSD_WORKAROUND
  5890 static const void *lt_preloaded_setup() {
  5891   return lt__PROGRAM__LTX_preloaded_symbols;
  5892 }
  5893 #endif
  5894 
  5895 #ifdef __cplusplus
  5896 }
  5897 #endif
  5898 _LT_EOF
  5899 	  # Now try linking the two files.
  5900 	  mv conftest.$ac_objext conftstm.$ac_objext
  5901 	  lt_globsym_save_LIBS=$LIBS
  5902 	  lt_globsym_save_CFLAGS=$CFLAGS
  5903 	  LIBS="conftstm.$ac_objext"
  5904 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
  5905 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  5906   (eval $ac_link) 2>&5
  5907   ac_status=$?
  5908   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5909   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
  5910 	    pipe_works=yes
  5911 	  fi
  5912 	  LIBS=$lt_globsym_save_LIBS
  5913 	  CFLAGS=$lt_globsym_save_CFLAGS
  5914 	else
  5915 	  echo "cannot find nm_test_func in $nlist" >&5
  5916 	fi
  5917       else
  5918 	echo "cannot find nm_test_var in $nlist" >&5
  5919       fi
  5920     else
  5921       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
  5922     fi
  5923   else
  5924     echo "$progname: failed program was:" >&5
  5925     cat conftest.$ac_ext >&5
  5926   fi
  5927   rm -rf conftest* conftst*
  5928 
  5929   # Do not use the global_symbol_pipe unless it works.
  5930   if test "$pipe_works" = yes; then
  5931     break
  5932   else
  5933     lt_cv_sys_global_symbol_pipe=
  5934   fi
  5935 done
  5936 
  5937 fi
  5938 
  5939 if test -z "$lt_cv_sys_global_symbol_pipe"; then
  5940   lt_cv_sys_global_symbol_to_cdecl=
  5941 fi
  5942 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
  5943   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
  5944 $as_echo "failed" >&6; }
  5945 else
  5946   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
  5947 $as_echo "ok" >&6; }
  5948 fi
  5949 
  5950 # Response file support.
  5951 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  5952   nm_file_list_spec='@'
  5953 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
  5954   nm_file_list_spec='@'
  5955 fi
  5956 
  5957 
  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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
  5984 $as_echo_n "checking for sysroot... " >&6; }
  5985 
  5986 # Check whether --with-sysroot was given.
  5987 if test "${with_sysroot+set}" = set; then :
  5988   withval=$with_sysroot;
  5989 else
  5990   with_sysroot=no
  5991 fi
  5992 
  5993 
  5994 lt_sysroot=
  5995 case ${with_sysroot} in #(
  5996  yes)
  5997    if test "$GCC" = yes; then
  5998      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
  5999    fi
  6000    ;; #(
  6001  /*)
  6002    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
  6003    ;; #(
  6004  no|'')
  6005    ;; #(
  6006  *)
  6007    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
  6008 $as_echo "${with_sysroot}" >&6; }
  6009    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
  6010    ;;
  6011 esac
  6012 
  6013  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
  6014 $as_echo "${lt_sysroot:-no}" >&6; }
  6015 
  6016 
  6017 
  6018 
  6019 
  6020 # Check whether --enable-libtool-lock was given.
  6021 if test "${enable_libtool_lock+set}" = set; then :
  6022   enableval=$enable_libtool_lock;
  6023 fi
  6024 
  6025 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
  6026 
  6027 # Some flags need to be propagated to the compiler or linker for good
  6028 # libtool support.
  6029 case $host in
  6030 ia64-*-hpux*)
  6031   # Find out which ABI we are using.
  6032   echo 'int i;' > conftest.$ac_ext
  6033   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  6034   (eval $ac_compile) 2>&5
  6035   ac_status=$?
  6036   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  6037   test $ac_status = 0; }; then
  6038     case `/usr/bin/file conftest.$ac_objext` in
  6039       *ELF-32*)
  6040 	HPUX_IA64_MODE="32"
  6041 	;;
  6042       *ELF-64*)
  6043 	HPUX_IA64_MODE="64"
  6044 	;;
  6045     esac
  6046   fi
  6047   rm -rf conftest*
  6048   ;;
  6049 *-*-irix6*)
  6050   # Find out which ABI we are using.
  6051   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
  6052   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  6053   (eval $ac_compile) 2>&5
  6054   ac_status=$?
  6055   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  6056   test $ac_status = 0; }; then
  6057     if test "$lt_cv_prog_gnu_ld" = yes; then
  6058       case `/usr/bin/file conftest.$ac_objext` in
  6059 	*32-bit*)
  6060 	  LD="${LD-ld} -melf32bsmip"
  6061 	  ;;
  6062 	*N32*)
  6063 	  LD="${LD-ld} -melf32bmipn32"
  6064 	  ;;
  6065 	*64-bit*)
  6066 	  LD="${LD-ld} -melf64bmip"
  6067 	;;
  6068       esac
  6069     else
  6070       case `/usr/bin/file conftest.$ac_objext` in
  6071 	*32-bit*)
  6072 	  LD="${LD-ld} -32"
  6073 	  ;;
  6074 	*N32*)
  6075 	  LD="${LD-ld} -n32"
  6076 	  ;;
  6077 	*64-bit*)
  6078 	  LD="${LD-ld} -64"
  6079 	  ;;
  6080       esac
  6081     fi
  6082   fi
  6083   rm -rf conftest*
  6084   ;;
  6085 
  6086 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
  6087 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
  6088   # Find out which ABI we are using.
  6089   echo 'int i;' > conftest.$ac_ext
  6090   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  6091   (eval $ac_compile) 2>&5
  6092   ac_status=$?
  6093   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  6094   test $ac_status = 0; }; then
  6095     case `/usr/bin/file conftest.o` in
  6096       *32-bit*)
  6097 	case $host in
  6098 	  x86_64-*kfreebsd*-gnu)
  6099 	    LD="${LD-ld} -m elf_i386_fbsd"
  6100 	    ;;
  6101 	  x86_64-*linux*)
  6102 	    LD="${LD-ld} -m elf_i386"
  6103 	    ;;
  6104 	  ppc64-*linux*|powerpc64-*linux*)
  6105 	    LD="${LD-ld} -m elf32ppclinux"
  6106 	    ;;
  6107 	  s390x-*linux*)
  6108 	    LD="${LD-ld} -m elf_s390"
  6109 	    ;;
  6110 	  sparc64-*linux*)
  6111 	    LD="${LD-ld} -m elf32_sparc"
  6112 	    ;;
  6113 	esac
  6114 	;;
  6115       *64-bit*)
  6116 	case $host in
  6117 	  x86_64-*kfreebsd*-gnu)
  6118 	    LD="${LD-ld} -m elf_x86_64_fbsd"
  6119 	    ;;
  6120 	  x86_64-*linux*)
  6121 	    LD="${LD-ld} -m elf_x86_64"
  6122 	    ;;
  6123 	  ppc*-*linux*|powerpc*-*linux*)
  6124 	    LD="${LD-ld} -m elf64ppc"
  6125 	    ;;
  6126 	  s390*-*linux*|s390*-*tpf*)
  6127 	    LD="${LD-ld} -m elf64_s390"
  6128 	    ;;
  6129 	  sparc*-*linux*)
  6130 	    LD="${LD-ld} -m elf64_sparc"
  6131 	    ;;
  6132 	esac
  6133 	;;
  6134     esac
  6135   fi
  6136   rm -rf conftest*
  6137   ;;
  6138 
  6139 *-*-sco3.2v5*)
  6140   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
  6141   SAVE_CFLAGS="$CFLAGS"
  6142   CFLAGS="$CFLAGS -belf"
  6143   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
  6144 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
  6145 if ${lt_cv_cc_needs_belf+:} false; then :
  6146   $as_echo_n "(cached) " >&6
  6147 else
  6148   ac_ext=c
  6149 ac_cpp='$CPP $CPPFLAGS'
  6150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  6151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  6152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  6153 
  6154      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6155 /* end confdefs.h.  */
  6156 
  6157 int
  6158 main ()
  6159 {
  6160 
  6161   ;
  6162   return 0;
  6163 }
  6164 _ACEOF
  6165 if ac_fn_c_try_link "$LINENO"; then :
  6166   lt_cv_cc_needs_belf=yes
  6167 else
  6168   lt_cv_cc_needs_belf=no
  6169 fi
  6170 rm -f core conftest.err conftest.$ac_objext \
  6171     conftest$ac_exeext conftest.$ac_ext
  6172      ac_ext=c
  6173 ac_cpp='$CPP $CPPFLAGS'
  6174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  6175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  6176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  6177 
  6178 fi
  6179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
  6180 $as_echo "$lt_cv_cc_needs_belf" >&6; }
  6181   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
  6182     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
  6183     CFLAGS="$SAVE_CFLAGS"
  6184   fi
  6185   ;;
  6186 *-*solaris*)
  6187   # Find out which ABI we are using.
  6188   echo 'int i;' > conftest.$ac_ext
  6189   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  6190   (eval $ac_compile) 2>&5
  6191   ac_status=$?
  6192   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  6193   test $ac_status = 0; }; then
  6194     case `/usr/bin/file conftest.o` in
  6195     *64-bit*)
  6196       case $lt_cv_prog_gnu_ld in
  6197       yes*)
  6198         case $host in
  6199         i?86-*-solaris*)
  6200           LD="${LD-ld} -m elf_x86_64"
  6201           ;;
  6202         sparc*-*-solaris*)
  6203           LD="${LD-ld} -m elf64_sparc"
  6204           ;;
  6205         esac
  6206         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
  6207         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
  6208           LD="${LD-ld}_sol2"
  6209         fi
  6210         ;;
  6211       *)
  6212 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
  6213 	  LD="${LD-ld} -64"
  6214 	fi
  6215 	;;
  6216       esac
  6217       ;;
  6218     esac
  6219   fi
  6220   rm -rf conftest*
  6221   ;;
  6222 esac
  6223 
  6224 need_locks="$enable_libtool_lock"
  6225 
  6226 if test -n "$ac_tool_prefix"; then
  6227   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
  6228 set dummy ${ac_tool_prefix}mt; ac_word=$2
  6229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6230 $as_echo_n "checking for $ac_word... " >&6; }
  6231 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
  6232   $as_echo_n "(cached) " >&6
  6233 else
  6234   if test -n "$MANIFEST_TOOL"; then
  6235   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
  6236 else
  6237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6238 for as_dir in $PATH
  6239 do
  6240   IFS=$as_save_IFS
  6241   test -z "$as_dir" && as_dir=.
  6242     for ac_exec_ext in '' $ac_executable_extensions; do
  6243   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6244     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
  6245     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6246     break 2
  6247   fi
  6248 done
  6249   done
  6250 IFS=$as_save_IFS
  6251 
  6252 fi
  6253 fi
  6254 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
  6255 if test -n "$MANIFEST_TOOL"; then
  6256   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
  6257 $as_echo "$MANIFEST_TOOL" >&6; }
  6258 else
  6259   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6260 $as_echo "no" >&6; }
  6261 fi
  6262 
  6263 
  6264 fi
  6265 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
  6266   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
  6267   # Extract the first word of "mt", so it can be a program name with args.
  6268 set dummy mt; ac_word=$2
  6269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6270 $as_echo_n "checking for $ac_word... " >&6; }
  6271 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
  6272   $as_echo_n "(cached) " >&6
  6273 else
  6274   if test -n "$ac_ct_MANIFEST_TOOL"; then
  6275   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
  6276 else
  6277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6278 for as_dir in $PATH
  6279 do
  6280   IFS=$as_save_IFS
  6281   test -z "$as_dir" && as_dir=.
  6282     for ac_exec_ext in '' $ac_executable_extensions; do
  6283   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6284     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
  6285     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6286     break 2
  6287   fi
  6288 done
  6289   done
  6290 IFS=$as_save_IFS
  6291 
  6292 fi
  6293 fi
  6294 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
  6295 if test -n "$ac_ct_MANIFEST_TOOL"; then
  6296   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
  6297 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
  6298 else
  6299   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6300 $as_echo "no" >&6; }
  6301 fi
  6302 
  6303   if test "x$ac_ct_MANIFEST_TOOL" = x; then
  6304     MANIFEST_TOOL=":"
  6305   else
  6306     case $cross_compiling:$ac_tool_warned in
  6307 yes:)
  6308 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6309 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6310 ac_tool_warned=yes ;;
  6311 esac
  6312     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
  6313   fi
  6314 else
  6315   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
  6316 fi
  6317 
  6318 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
  6319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
  6320 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
  6321 if ${lt_cv_path_mainfest_tool+:} false; then :
  6322   $as_echo_n "(cached) " >&6
  6323 else
  6324   lt_cv_path_mainfest_tool=no
  6325   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
  6326   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
  6327   cat conftest.err >&5
  6328   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
  6329     lt_cv_path_mainfest_tool=yes
  6330   fi
  6331   rm -f conftest*
  6332 fi
  6333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
  6334 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
  6335 if test "x$lt_cv_path_mainfest_tool" != xyes; then
  6336   MANIFEST_TOOL=:
  6337 fi
  6338 
  6339 
  6340 
  6341 
  6342 
  6343 
  6344   case $host_os in
  6345     rhapsody* | darwin*)
  6346     if test -n "$ac_tool_prefix"; then
  6347   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
  6348 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
  6349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6350 $as_echo_n "checking for $ac_word... " >&6; }
  6351 if ${ac_cv_prog_DSYMUTIL+:} false; then :
  6352   $as_echo_n "(cached) " >&6
  6353 else
  6354   if test -n "$DSYMUTIL"; then
  6355   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
  6356 else
  6357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6358 for as_dir in $PATH
  6359 do
  6360   IFS=$as_save_IFS
  6361   test -z "$as_dir" && as_dir=.
  6362     for ac_exec_ext in '' $ac_executable_extensions; do
  6363   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6364     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
  6365     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6366     break 2
  6367   fi
  6368 done
  6369   done
  6370 IFS=$as_save_IFS
  6371 
  6372 fi
  6373 fi
  6374 DSYMUTIL=$ac_cv_prog_DSYMUTIL
  6375 if test -n "$DSYMUTIL"; then
  6376   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
  6377 $as_echo "$DSYMUTIL" >&6; }
  6378 else
  6379   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6380 $as_echo "no" >&6; }
  6381 fi
  6382 
  6383 
  6384 fi
  6385 if test -z "$ac_cv_prog_DSYMUTIL"; then
  6386   ac_ct_DSYMUTIL=$DSYMUTIL
  6387   # Extract the first word of "dsymutil", so it can be a program name with args.
  6388 set dummy dsymutil; ac_word=$2
  6389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6390 $as_echo_n "checking for $ac_word... " >&6; }
  6391 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
  6392   $as_echo_n "(cached) " >&6
  6393 else
  6394   if test -n "$ac_ct_DSYMUTIL"; then
  6395   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
  6396 else
  6397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6398 for as_dir in $PATH
  6399 do
  6400   IFS=$as_save_IFS
  6401   test -z "$as_dir" && as_dir=.
  6402     for ac_exec_ext in '' $ac_executable_extensions; do
  6403   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6404     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
  6405     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6406     break 2
  6407   fi
  6408 done
  6409   done
  6410 IFS=$as_save_IFS
  6411 
  6412 fi
  6413 fi
  6414 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
  6415 if test -n "$ac_ct_DSYMUTIL"; then
  6416   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
  6417 $as_echo "$ac_ct_DSYMUTIL" >&6; }
  6418 else
  6419   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6420 $as_echo "no" >&6; }
  6421 fi
  6422 
  6423   if test "x$ac_ct_DSYMUTIL" = x; then
  6424     DSYMUTIL=":"
  6425   else
  6426     case $cross_compiling:$ac_tool_warned in
  6427 yes:)
  6428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6429 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6430 ac_tool_warned=yes ;;
  6431 esac
  6432     DSYMUTIL=$ac_ct_DSYMUTIL
  6433   fi
  6434 else
  6435   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
  6436 fi
  6437 
  6438     if test -n "$ac_tool_prefix"; then
  6439   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
  6440 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
  6441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6442 $as_echo_n "checking for $ac_word... " >&6; }
  6443 if ${ac_cv_prog_NMEDIT+:} false; then :
  6444   $as_echo_n "(cached) " >&6
  6445 else
  6446   if test -n "$NMEDIT"; then
  6447   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
  6448 else
  6449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6450 for as_dir in $PATH
  6451 do
  6452   IFS=$as_save_IFS
  6453   test -z "$as_dir" && as_dir=.
  6454     for ac_exec_ext in '' $ac_executable_extensions; do
  6455   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6456     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
  6457     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6458     break 2
  6459   fi
  6460 done
  6461   done
  6462 IFS=$as_save_IFS
  6463 
  6464 fi
  6465 fi
  6466 NMEDIT=$ac_cv_prog_NMEDIT
  6467 if test -n "$NMEDIT"; then
  6468   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
  6469 $as_echo "$NMEDIT" >&6; }
  6470 else
  6471   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6472 $as_echo "no" >&6; }
  6473 fi
  6474 
  6475 
  6476 fi
  6477 if test -z "$ac_cv_prog_NMEDIT"; then
  6478   ac_ct_NMEDIT=$NMEDIT
  6479   # Extract the first word of "nmedit", so it can be a program name with args.
  6480 set dummy nmedit; ac_word=$2
  6481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6482 $as_echo_n "checking for $ac_word... " >&6; }
  6483 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
  6484   $as_echo_n "(cached) " >&6
  6485 else
  6486   if test -n "$ac_ct_NMEDIT"; then
  6487   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
  6488 else
  6489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6490 for as_dir in $PATH
  6491 do
  6492   IFS=$as_save_IFS
  6493   test -z "$as_dir" && as_dir=.
  6494     for ac_exec_ext in '' $ac_executable_extensions; do
  6495   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6496     ac_cv_prog_ac_ct_NMEDIT="nmedit"
  6497     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6498     break 2
  6499   fi
  6500 done
  6501   done
  6502 IFS=$as_save_IFS
  6503 
  6504 fi
  6505 fi
  6506 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
  6507 if test -n "$ac_ct_NMEDIT"; then
  6508   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
  6509 $as_echo "$ac_ct_NMEDIT" >&6; }
  6510 else
  6511   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6512 $as_echo "no" >&6; }
  6513 fi
  6514 
  6515   if test "x$ac_ct_NMEDIT" = x; then
  6516     NMEDIT=":"
  6517   else
  6518     case $cross_compiling:$ac_tool_warned in
  6519 yes:)
  6520 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6521 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6522 ac_tool_warned=yes ;;
  6523 esac
  6524     NMEDIT=$ac_ct_NMEDIT
  6525   fi
  6526 else
  6527   NMEDIT="$ac_cv_prog_NMEDIT"
  6528 fi
  6529 
  6530     if test -n "$ac_tool_prefix"; then
  6531   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
  6532 set dummy ${ac_tool_prefix}lipo; ac_word=$2
  6533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6534 $as_echo_n "checking for $ac_word... " >&6; }
  6535 if ${ac_cv_prog_LIPO+:} false; then :
  6536   $as_echo_n "(cached) " >&6
  6537 else
  6538   if test -n "$LIPO"; then
  6539   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
  6540 else
  6541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6542 for as_dir in $PATH
  6543 do
  6544   IFS=$as_save_IFS
  6545   test -z "$as_dir" && as_dir=.
  6546     for ac_exec_ext in '' $ac_executable_extensions; do
  6547   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6548     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
  6549     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6550     break 2
  6551   fi
  6552 done
  6553   done
  6554 IFS=$as_save_IFS
  6555 
  6556 fi
  6557 fi
  6558 LIPO=$ac_cv_prog_LIPO
  6559 if test -n "$LIPO"; then
  6560   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
  6561 $as_echo "$LIPO" >&6; }
  6562 else
  6563   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6564 $as_echo "no" >&6; }
  6565 fi
  6566 
  6567 
  6568 fi
  6569 if test -z "$ac_cv_prog_LIPO"; then
  6570   ac_ct_LIPO=$LIPO
  6571   # Extract the first word of "lipo", so it can be a program name with args.
  6572 set dummy lipo; ac_word=$2
  6573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6574 $as_echo_n "checking for $ac_word... " >&6; }
  6575 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
  6576   $as_echo_n "(cached) " >&6
  6577 else
  6578   if test -n "$ac_ct_LIPO"; then
  6579   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
  6580 else
  6581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6582 for as_dir in $PATH
  6583 do
  6584   IFS=$as_save_IFS
  6585   test -z "$as_dir" && as_dir=.
  6586     for ac_exec_ext in '' $ac_executable_extensions; do
  6587   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6588     ac_cv_prog_ac_ct_LIPO="lipo"
  6589     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6590     break 2
  6591   fi
  6592 done
  6593   done
  6594 IFS=$as_save_IFS
  6595 
  6596 fi
  6597 fi
  6598 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
  6599 if test -n "$ac_ct_LIPO"; then
  6600   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
  6601 $as_echo "$ac_ct_LIPO" >&6; }
  6602 else
  6603   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6604 $as_echo "no" >&6; }
  6605 fi
  6606 
  6607   if test "x$ac_ct_LIPO" = x; then
  6608     LIPO=":"
  6609   else
  6610     case $cross_compiling:$ac_tool_warned in
  6611 yes:)
  6612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6613 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6614 ac_tool_warned=yes ;;
  6615 esac
  6616     LIPO=$ac_ct_LIPO
  6617   fi
  6618 else
  6619   LIPO="$ac_cv_prog_LIPO"
  6620 fi
  6621 
  6622     if test -n "$ac_tool_prefix"; then
  6623   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
  6624 set dummy ${ac_tool_prefix}otool; ac_word=$2
  6625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6626 $as_echo_n "checking for $ac_word... " >&6; }
  6627 if ${ac_cv_prog_OTOOL+:} false; then :
  6628   $as_echo_n "(cached) " >&6
  6629 else
  6630   if test -n "$OTOOL"; then
  6631   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
  6632 else
  6633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6634 for as_dir in $PATH
  6635 do
  6636   IFS=$as_save_IFS
  6637   test -z "$as_dir" && as_dir=.
  6638     for ac_exec_ext in '' $ac_executable_extensions; do
  6639   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6640     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
  6641     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6642     break 2
  6643   fi
  6644 done
  6645   done
  6646 IFS=$as_save_IFS
  6647 
  6648 fi
  6649 fi
  6650 OTOOL=$ac_cv_prog_OTOOL
  6651 if test -n "$OTOOL"; then
  6652   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
  6653 $as_echo "$OTOOL" >&6; }
  6654 else
  6655   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5