configure
author Ryan C. Gordon <icculus@icculus.org>
Wed, 01 Apr 2020 13:43:53 -0400
changeset 13684 aecf8c5a136a
parent 13657 3c2eaf481522
child 13710 a1a6885cff94
permissions -rwxr-xr-x
configure: Remove wayland-protocols check from configure and CMake scripts.

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