configure
author Sam Lantinga <slouken@libsdl.org>
Wed, 17 Jun 2015 00:11:41 -0700
changeset 705 fe757163b8f7
parent 697 b28b41b93ba7
child 710 1aca2b6d570f
permissions -rwxr-xr-x
Fixed bug 3018 - Loading MIDI music using FluidSynth leaks memory.

Philipp Wiesemann

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