configure
author Sam Lantinga <slouken@libsdl.org>
Fri, 09 Dec 2016 01:47:43 -0800
changeset 10690 23a825f341e6
parent 10660 1ae4e8001b73
child 10777 2883d23b5a28
permissions -rwxr-xr-x
Fixed bug 3513 - SDL_GL_SwapWindow does not return error status

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