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