configure
author Sam Lantinga <slouken@libsdl.org>
Mon, 14 Aug 2017 20:22:19 -0700
changeset 11296 44853f387017
parent 11280 3a62ecf87af9
child 11321 83d8c09e9a55
permissions -rwxr-xr-x
Fixed bug 2330 - Debian bug report: SDL2 X11 driver buffer overflow with large X11 file descriptor

manuel.montezelo

Original bug report (note that it was against 2.0.0, it might have been fixed in between): http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=733015

--------------------------------------------------------
Package: libsdl2-2.0-0
Version: 2.0.0+dfsg1-3
Severity: normal
Tags: patch

I have occasional crashes here caused by the X11 backend of SDL2. It seems to
be caused by the X11_Pending function trying to add a high number (> 1024)
file descriptor to a fd_set before doing a select on it to avoid busy waiting
on X11 events. This causes a buffer overflow because the file descriptor is
larger (or equal) than the limit FD_SETSIZE.

Attached is a possible workaround patch.

Please also keep in mind that fd_set are also used in following files which
may have similar problems.

src/audio/bsd/SDL_bsdaudio.c
src/audio/paudio/SDL_paudio.c
src/audio/qsa/SDL_qsa_audio.c
src/audio/sun/SDL_sunaudio.c
src/joystick/linux/SDL_sysjoystick.c


--------------------------------------------------------

On Tuesday 24 December 2013 00:43:13 Sven Eckelmann wrote:
> I have occasional crashes here caused by the X11 backend of SDL2. It seems
> to be caused by the X11_Pending function trying to add a high number (>
> 1024) file descriptor to a fd_set before doing a select on it to avoid busy
> waiting on X11 events. This causes a buffer overflow because the file
> descriptor is larger (or equal) than the limit FD_SETSIZE.


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