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