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