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