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