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