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