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