configure
author Ozkan Sezer
Sun, 22 Dec 2019 15:55:50 +0300
changeset 1113 5a0c021c1f5d
parent 1086 89f446aae9b5
permissions -rwxr-xr-x
music_mad.c: reload AudioStream when playing Frankenstein streams.

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