configure
author Sam Lantinga <slouken@libsdl.org>
Mon, 05 Aug 2019 23:38:48 -0700
changeset 13000 e6407f3ddba3
parent 12999 a7ca9815bc79
child 13001 1353fb9be62b
permissions -rwxr-xr-x
Fixed bug 4689 - SDL fails to detect compositor shutdown on Wayland -- program keeps running

M Stoeckl

To reproduce:

1. Run any SDL-based program with a Wayland compositor, orphaning it so that it doesn't have an immediate parent process. (For example, from a terminal, running `supertux2 & disown`.) The program should use the wayland backend, i.e. by setting environment variable SDL_VIDEODRIVER=wayland.
2. Kill the compositor process.

Results:

- The SDL program will keep running.

Expected results:

- The SDL program should close. (What close should mean here, I'm not sure - is injecting an SDL_Quit the appropriate action when a video driver disconnects?)

Build data:

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