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