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