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