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