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