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