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