configure
changeset 5310 a9945ce48999
child 5323 ed319722cf1c
equal deleted inserted replaced
5309:da080d3247c9 5310:a9945ce48999
       
     1 #! /bin/sh
       
     2 # Guess values for system-dependent variables and create Makefiles.
       
     3 # Generated by GNU Autoconf 2.61.
       
     4 #
       
     5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
       
     6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
       
     7 # This configure script is free software; the Free Software Foundation
       
     8 # gives unlimited permission to copy, distribute and modify it.
       
     9 ## --------------------- ##
       
    10 ## M4sh Initialization.  ##
       
    11 ## --------------------- ##
       
    12 
       
    13 # Be more Bourne compatible
       
    14 DUALCASE=1; export DUALCASE # for MKS sh
       
    15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
       
    16   emulate sh
       
    17   NULLCMD=:
       
    18   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
       
    19   # is contrary to our usage.  Disable this feature.
       
    20   alias -g '${1+"$@"}'='"$@"'
       
    21   setopt NO_GLOB_SUBST
       
    22 else
       
    23   case `(set -o) 2>/dev/null` in
       
    24   *posix*) set -o posix ;;
       
    25 esac
       
    26 
       
    27 fi
       
    28 
       
    29 
       
    30 
       
    31 
       
    32 # PATH needs CR
       
    33 # Avoid depending upon Character Ranges.
       
    34 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
       
    35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
       
    36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
       
    37 as_cr_digits='0123456789'
       
    38 as_cr_alnum=$as_cr_Letters$as_cr_digits
       
    39 
       
    40 # The user is always right.
       
    41 if test "${PATH_SEPARATOR+set}" != set; then
       
    42   echo "#! /bin/sh" >conf$$.sh
       
    43   echo  "exit 0"   >>conf$$.sh
       
    44   chmod +x conf$$.sh
       
    45   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
       
    46     PATH_SEPARATOR=';'
       
    47   else
       
    48     PATH_SEPARATOR=:
       
    49   fi
       
    50   rm -f conf$$.sh
       
    51 fi
       
    52 
       
    53 # Support unset when possible.
       
    54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
       
    55   as_unset=unset
       
    56 else
       
    57   as_unset=false
       
    58 fi
       
    59 
       
    60 
       
    61 # IFS
       
    62 # We need space, tab and new line, in precisely that order.  Quoting is
       
    63 # there to prevent editors from complaining about space-tab.
       
    64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
       
    65 # splitting by setting IFS to empty value.)
       
    66 as_nl='
       
    67 '
       
    68 IFS=" ""	$as_nl"
       
    69 
       
    70 # Find who we are.  Look in the path if we contain no directory separator.
       
    71 case $0 in
       
    72   *[\\/]* ) as_myself=$0 ;;
       
    73   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
    74 for as_dir in $PATH
       
    75 do
       
    76   IFS=$as_save_IFS
       
    77   test -z "$as_dir" && as_dir=.
       
    78   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
       
    79 done
       
    80 IFS=$as_save_IFS
       
    81 
       
    82      ;;
       
    83 esac
       
    84 # We did not find ourselves, most probably we were run as `sh COMMAND'
       
    85 # in which case we are not to be found in the path.
       
    86 if test "x$as_myself" = x; then
       
    87   as_myself=$0
       
    88 fi
       
    89 if test ! -f "$as_myself"; then
       
    90   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
       
    91   { (exit 1); exit 1; }
       
    92 fi
       
    93 
       
    94 # Work around bugs in pre-3.0 UWIN ksh.
       
    95 for as_var in ENV MAIL MAILPATH
       
    96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
       
    97 done
       
    98 PS1='$ '
       
    99 PS2='> '
       
   100 PS4='+ '
       
   101 
       
   102 # NLS nuisances.
       
   103 for as_var in \
       
   104   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
       
   105   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
       
   106   LC_TELEPHONE LC_TIME
       
   107 do
       
   108   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
       
   109     eval $as_var=C; export $as_var
       
   110   else
       
   111     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
       
   112   fi
       
   113 done
       
   114 
       
   115 # Required to use basename.
       
   116 if expr a : '\(a\)' >/dev/null 2>&1 &&
       
   117    test "X`expr 00001 : '.*\(...\)'`" = X001; then
       
   118   as_expr=expr
       
   119 else
       
   120   as_expr=false
       
   121 fi
       
   122 
       
   123 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
       
   124   as_basename=basename
       
   125 else
       
   126   as_basename=false
       
   127 fi
       
   128 
       
   129 
       
   130 # Name of the executable.
       
   131 as_me=`$as_basename -- "$0" ||
       
   132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
       
   133 	 X"$0" : 'X\(//\)$' \| \
       
   134 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
       
   135 echo X/"$0" |
       
   136     sed '/^.*\/\([^/][^/]*\)\/*$/{
       
   137 	    s//\1/
       
   138 	    q
       
   139 	  }
       
   140 	  /^X\/\(\/\/\)$/{
       
   141 	    s//\1/
       
   142 	    q
       
   143 	  }
       
   144 	  /^X\/\(\/\).*/{
       
   145 	    s//\1/
       
   146 	    q
       
   147 	  }
       
   148 	  s/.*/./; q'`
       
   149 
       
   150 # CDPATH.
       
   151 $as_unset CDPATH
       
   152 
       
   153 
       
   154 if test "x$CONFIG_SHELL" = x; then
       
   155   if (eval ":") 2>/dev/null; then
       
   156   as_have_required=yes
       
   157 else
       
   158   as_have_required=no
       
   159 fi
       
   160 
       
   161   if test $as_have_required = yes && 	 (eval ":
       
   162 (as_func_return () {
       
   163   (exit \$1)
       
   164 }
       
   165 as_func_success () {
       
   166   as_func_return 0
       
   167 }
       
   168 as_func_failure () {
       
   169   as_func_return 1
       
   170 }
       
   171 as_func_ret_success () {
       
   172   return 0
       
   173 }
       
   174 as_func_ret_failure () {
       
   175   return 1
       
   176 }
       
   177 
       
   178 exitcode=0
       
   179 if as_func_success; then
       
   180   :
       
   181 else
       
   182   exitcode=1
       
   183   echo as_func_success failed.
       
   184 fi
       
   185 
       
   186 if as_func_failure; then
       
   187   exitcode=1
       
   188   echo as_func_failure succeeded.
       
   189 fi
       
   190 
       
   191 if as_func_ret_success; then
       
   192   :
       
   193 else
       
   194   exitcode=1
       
   195   echo as_func_ret_success failed.
       
   196 fi
       
   197 
       
   198 if as_func_ret_failure; then
       
   199   exitcode=1
       
   200   echo as_func_ret_failure succeeded.
       
   201 fi
       
   202 
       
   203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
       
   204   :
       
   205 else
       
   206   exitcode=1
       
   207   echo positional parameters were not saved.
       
   208 fi
       
   209 
       
   210 test \$exitcode = 0) || { (exit 1); exit 1; }
       
   211 
       
   212 (
       
   213   as_lineno_1=\$LINENO
       
   214   as_lineno_2=\$LINENO
       
   215   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
       
   216   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
       
   217 ") 2> /dev/null; then
       
   218   :
       
   219 else
       
   220   as_candidate_shells=
       
   221     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
   222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
       
   223 do
       
   224   IFS=$as_save_IFS
       
   225   test -z "$as_dir" && as_dir=.
       
   226   case $as_dir in
       
   227 	 /*)
       
   228 	   for as_base in sh bash ksh sh5; do
       
   229 	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
       
   230 	   done;;
       
   231        esac
       
   232 done
       
   233 IFS=$as_save_IFS
       
   234 
       
   235 
       
   236       for as_shell in $as_candidate_shells $SHELL; do
       
   237 	 # Try only shells that exist, to save several forks.
       
   238 	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
       
   239 		{ ("$as_shell") 2> /dev/null <<\_ASEOF
       
   240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
       
   241   emulate sh
       
   242   NULLCMD=:
       
   243   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
       
   244   # is contrary to our usage.  Disable this feature.
       
   245   alias -g '${1+"$@"}'='"$@"'
       
   246   setopt NO_GLOB_SUBST
       
   247 else
       
   248   case `(set -o) 2>/dev/null` in
       
   249   *posix*) set -o posix ;;
       
   250 esac
       
   251 
       
   252 fi
       
   253 
       
   254 
       
   255 :
       
   256 _ASEOF
       
   257 }; then
       
   258   CONFIG_SHELL=$as_shell
       
   259 	       as_have_required=yes
       
   260 	       if { "$as_shell" 2> /dev/null <<\_ASEOF
       
   261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
       
   262   emulate sh
       
   263   NULLCMD=:
       
   264   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
       
   265   # is contrary to our usage.  Disable this feature.
       
   266   alias -g '${1+"$@"}'='"$@"'
       
   267   setopt NO_GLOB_SUBST
       
   268 else
       
   269   case `(set -o) 2>/dev/null` in
       
   270   *posix*) set -o posix ;;
       
   271 esac
       
   272 
       
   273 fi
       
   274 
       
   275 
       
   276 :
       
   277 (as_func_return () {
       
   278   (exit $1)
       
   279 }
       
   280 as_func_success () {
       
   281   as_func_return 0
       
   282 }
       
   283 as_func_failure () {
       
   284   as_func_return 1
       
   285 }
       
   286 as_func_ret_success () {
       
   287   return 0
       
   288 }
       
   289 as_func_ret_failure () {
       
   290   return 1
       
   291 }
       
   292 
       
   293 exitcode=0
       
   294 if as_func_success; then
       
   295   :
       
   296 else
       
   297   exitcode=1
       
   298   echo as_func_success failed.
       
   299 fi
       
   300 
       
   301 if as_func_failure; then
       
   302   exitcode=1
       
   303   echo as_func_failure succeeded.
       
   304 fi
       
   305 
       
   306 if as_func_ret_success; then
       
   307   :
       
   308 else
       
   309   exitcode=1
       
   310   echo as_func_ret_success failed.
       
   311 fi
       
   312 
       
   313 if as_func_ret_failure; then
       
   314   exitcode=1
       
   315   echo as_func_ret_failure succeeded.
       
   316 fi
       
   317 
       
   318 if ( set x; as_func_ret_success y && test x = "$1" ); then
       
   319   :
       
   320 else
       
   321   exitcode=1
       
   322   echo positional parameters were not saved.
       
   323 fi
       
   324 
       
   325 test $exitcode = 0) || { (exit 1); exit 1; }
       
   326 
       
   327 (
       
   328   as_lineno_1=$LINENO
       
   329   as_lineno_2=$LINENO
       
   330   test "x$as_lineno_1" != "x$as_lineno_2" &&
       
   331   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
       
   332 
       
   333 _ASEOF
       
   334 }; then
       
   335   break
       
   336 fi
       
   337 
       
   338 fi
       
   339 
       
   340       done
       
   341 
       
   342       if test "x$CONFIG_SHELL" != x; then
       
   343   for as_var in BASH_ENV ENV
       
   344         do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
       
   345         done
       
   346         export CONFIG_SHELL
       
   347         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
       
   348 fi
       
   349 
       
   350 
       
   351     if test $as_have_required = no; then
       
   352   echo This script requires a shell more modern than all the
       
   353       echo shells that I found on your system.  Please install a
       
   354       echo modern shell, or manually run the script under such a
       
   355       echo shell if you do have one.
       
   356       { (exit 1); exit 1; }
       
   357 fi
       
   358 
       
   359 
       
   360 fi
       
   361 
       
   362 fi
       
   363 
       
   364 
       
   365 
       
   366 (eval "as_func_return () {
       
   367   (exit \$1)
       
   368 }
       
   369 as_func_success () {
       
   370   as_func_return 0
       
   371 }
       
   372 as_func_failure () {
       
   373   as_func_return 1
       
   374 }
       
   375 as_func_ret_success () {
       
   376   return 0
       
   377 }
       
   378 as_func_ret_failure () {
       
   379   return 1
       
   380 }
       
   381 
       
   382 exitcode=0
       
   383 if as_func_success; then
       
   384   :
       
   385 else
       
   386   exitcode=1
       
   387   echo as_func_success failed.
       
   388 fi
       
   389 
       
   390 if as_func_failure; then
       
   391   exitcode=1
       
   392   echo as_func_failure succeeded.
       
   393 fi
       
   394 
       
   395 if as_func_ret_success; then
       
   396   :
       
   397 else
       
   398   exitcode=1
       
   399   echo as_func_ret_success failed.
       
   400 fi
       
   401 
       
   402 if as_func_ret_failure; then
       
   403   exitcode=1
       
   404   echo as_func_ret_failure succeeded.
       
   405 fi
       
   406 
       
   407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
       
   408   :
       
   409 else
       
   410   exitcode=1
       
   411   echo positional parameters were not saved.
       
   412 fi
       
   413 
       
   414 test \$exitcode = 0") || {
       
   415   echo No shell found that supports shell functions.
       
   416   echo Please tell autoconf@gnu.org about your system,
       
   417   echo including any error possibly output before this
       
   418   echo message
       
   419 }
       
   420 
       
   421 
       
   422 
       
   423   as_lineno_1=$LINENO
       
   424   as_lineno_2=$LINENO
       
   425   test "x$as_lineno_1" != "x$as_lineno_2" &&
       
   426   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
       
   427 
       
   428   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
       
   429   # uniformly replaced by the line number.  The first 'sed' inserts a
       
   430   # line-number line after each line using $LINENO; the second 'sed'
       
   431   # does the real work.  The second script uses 'N' to pair each
       
   432   # line-number line with the line containing $LINENO, and appends
       
   433   # trailing '-' during substitution so that $LINENO is not a special
       
   434   # case at line end.
       
   435   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
       
   436   # scripts with optimization help from Paolo Bonzini.  Blame Lee
       
   437   # E. McMahon (1931-1989) for sed's syntax.  :-)
       
   438   sed -n '
       
   439     p
       
   440     /[$]LINENO/=
       
   441   ' <$as_myself |
       
   442     sed '
       
   443       s/[$]LINENO.*/&-/
       
   444       t lineno
       
   445       b
       
   446       :lineno
       
   447       N
       
   448       :loop
       
   449       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
       
   450       t loop
       
   451       s/-\n.*//
       
   452     ' >$as_me.lineno &&
       
   453   chmod +x "$as_me.lineno" ||
       
   454     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
       
   455    { (exit 1); exit 1; }; }
       
   456 
       
   457   # Don't try to exec as it changes $[0], causing all sort of problems
       
   458   # (the dirname of $[0] is not the place where we might find the
       
   459   # original and so on.  Autoconf is especially sensitive to this).
       
   460   . "./$as_me.lineno"
       
   461   # Exit status is that of the last command.
       
   462   exit
       
   463 }
       
   464 
       
   465 
       
   466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
       
   467   as_dirname=dirname
       
   468 else
       
   469   as_dirname=false
       
   470 fi
       
   471 
       
   472 ECHO_C= ECHO_N= ECHO_T=
       
   473 case `echo -n x` in
       
   474 -n*)
       
   475   case `echo 'x\c'` in
       
   476   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
       
   477   *)   ECHO_C='\c';;
       
   478   esac;;
       
   479 *)
       
   480   ECHO_N='-n';;
       
   481 esac
       
   482 
       
   483 if expr a : '\(a\)' >/dev/null 2>&1 &&
       
   484    test "X`expr 00001 : '.*\(...\)'`" = X001; then
       
   485   as_expr=expr
       
   486 else
       
   487   as_expr=false
       
   488 fi
       
   489 
       
   490 rm -f conf$$ conf$$.exe conf$$.file
       
   491 if test -d conf$$.dir; then
       
   492   rm -f conf$$.dir/conf$$.file
       
   493 else
       
   494   rm -f conf$$.dir
       
   495   mkdir conf$$.dir
       
   496 fi
       
   497 echo >conf$$.file
       
   498 if ln -s conf$$.file conf$$ 2>/dev/null; then
       
   499   as_ln_s='ln -s'
       
   500   # ... but there are two gotchas:
       
   501   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
       
   502   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
       
   503   # In both cases, we have to default to `cp -p'.
       
   504   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
       
   505     as_ln_s='cp -p'
       
   506 elif ln conf$$.file conf$$ 2>/dev/null; then
       
   507   as_ln_s=ln
       
   508 else
       
   509   as_ln_s='cp -p'
       
   510 fi
       
   511 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
       
   512 rmdir conf$$.dir 2>/dev/null
       
   513 
       
   514 if mkdir -p . 2>/dev/null; then
       
   515   as_mkdir_p=:
       
   516 else
       
   517   test -d ./-p && rmdir ./-p
       
   518   as_mkdir_p=false
       
   519 fi
       
   520 
       
   521 if test -x / >/dev/null 2>&1; then
       
   522   as_test_x='test -x'
       
   523 else
       
   524   if ls -dL / >/dev/null 2>&1; then
       
   525     as_ls_L_option=L
       
   526   else
       
   527     as_ls_L_option=
       
   528   fi
       
   529   as_test_x='
       
   530     eval sh -c '\''
       
   531       if test -d "$1"; then
       
   532         test -d "$1/.";
       
   533       else
       
   534 	case $1 in
       
   535         -*)set "./$1";;
       
   536 	esac;
       
   537 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
       
   538 	???[sx]*):;;*)false;;esac;fi
       
   539     '\'' sh
       
   540   '
       
   541 fi
       
   542 as_executable_p=$as_test_x
       
   543 
       
   544 # Sed expression to map a string onto a valid CPP name.
       
   545 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
       
   546 
       
   547 # Sed expression to map a string onto a valid variable name.
       
   548 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
       
   549 
       
   550 
       
   551 
       
   552 
       
   553 # Check that we are running under the correct shell.
       
   554 SHELL=${CONFIG_SHELL-/bin/sh}
       
   555 
       
   556 case X$lt_ECHO in
       
   557 X*--fallback-echo)
       
   558   # Remove one level of quotation (which was required for Make).
       
   559   ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
       
   560   ;;
       
   561 esac
       
   562 
       
   563 ECHO=${lt_ECHO-echo}
       
   564 if test "X$1" = X--no-reexec; then
       
   565   # Discard the --no-reexec flag, and continue.
       
   566   shift
       
   567 elif test "X$1" = X--fallback-echo; then
       
   568   # Avoid inline document here, it may be left over
       
   569   :
       
   570 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
       
   571   # Yippee, $ECHO works!
       
   572   :
       
   573 else
       
   574   # Restart under the correct shell.
       
   575   exec $SHELL "$0" --no-reexec ${1+"$@"}
       
   576 fi
       
   577 
       
   578 if test "X$1" = X--fallback-echo; then
       
   579   # used as fallback echo
       
   580   shift
       
   581   cat <<_LT_EOF
       
   582 $*
       
   583 _LT_EOF
       
   584   exit 0
       
   585 fi
       
   586 
       
   587 # The HP-UX ksh and POSIX shell print the target directory to stdout
       
   588 # if CDPATH is set.
       
   589 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
       
   590 
       
   591 if test -z "$lt_ECHO"; then
       
   592   if test "X${echo_test_string+set}" != Xset; then
       
   593     # find a string as large as possible, as long as the shell can cope with it
       
   594     for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
       
   595       # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
       
   596       if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
       
   597 	 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
       
   598       then
       
   599         break
       
   600       fi
       
   601     done
       
   602   fi
       
   603 
       
   604   if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
       
   605      echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
       
   606      test "X$echo_testing_string" = "X$echo_test_string"; then
       
   607     :
       
   608   else
       
   609     # The Solaris, AIX, and Digital Unix default echo programs unquote
       
   610     # backslashes.  This makes it impossible to quote backslashes using
       
   611     #   echo "$something" | sed 's/\\/\\\\/g'
       
   612     #
       
   613     # So, first we look for a working echo in the user's PATH.
       
   614 
       
   615     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
       
   616     for dir in $PATH /usr/ucb; do
       
   617       IFS="$lt_save_ifs"
       
   618       if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
       
   619          test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
       
   620          echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
       
   621          test "X$echo_testing_string" = "X$echo_test_string"; then
       
   622         ECHO="$dir/echo"
       
   623         break
       
   624       fi
       
   625     done
       
   626     IFS="$lt_save_ifs"
       
   627 
       
   628     if test "X$ECHO" = Xecho; then
       
   629       # We didn't find a better echo, so look for alternatives.
       
   630       if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
       
   631          echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
       
   632          test "X$echo_testing_string" = "X$echo_test_string"; then
       
   633         # This shell has a builtin print -r that does the trick.
       
   634         ECHO='print -r'
       
   635       elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
       
   636 	   test "X$CONFIG_SHELL" != X/bin/ksh; then
       
   637         # If we have ksh, try running configure again with it.
       
   638         ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
       
   639         export ORIGINAL_CONFIG_SHELL
       
   640         CONFIG_SHELL=/bin/ksh
       
   641         export CONFIG_SHELL
       
   642         exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
       
   643       else
       
   644         # Try using printf.
       
   645         ECHO='printf %s\n'
       
   646         if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
       
   647 	   echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
       
   648 	   test "X$echo_testing_string" = "X$echo_test_string"; then
       
   649 	  # Cool, printf works
       
   650 	  :
       
   651         elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
       
   652 	     test "X$echo_testing_string" = 'X\t' &&
       
   653 	     echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
       
   654 	     test "X$echo_testing_string" = "X$echo_test_string"; then
       
   655 	  CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
       
   656 	  export CONFIG_SHELL
       
   657 	  SHELL="$CONFIG_SHELL"
       
   658 	  export SHELL
       
   659 	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
       
   660         elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
       
   661 	     test "X$echo_testing_string" = 'X\t' &&
       
   662 	     echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
       
   663 	     test "X$echo_testing_string" = "X$echo_test_string"; then
       
   664 	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
       
   665         else
       
   666 	  # maybe with a smaller string...
       
   667 	  prev=:
       
   668 
       
   669 	  for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
       
   670 	    if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
       
   671 	    then
       
   672 	      break
       
   673 	    fi
       
   674 	    prev="$cmd"
       
   675 	  done
       
   676 
       
   677 	  if test "$prev" != 'sed 50q "$0"'; then
       
   678 	    echo_test_string=`eval $prev`
       
   679 	    export echo_test_string
       
   680 	    exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
       
   681 	  else
       
   682 	    # Oops.  We lost completely, so just stick with echo.
       
   683 	    ECHO=echo
       
   684 	  fi
       
   685         fi
       
   686       fi
       
   687     fi
       
   688   fi
       
   689 fi
       
   690 
       
   691 # Copy echo and quote the copy suitably for passing to libtool from
       
   692 # the Makefile, instead of quoting the original, which is used later.
       
   693 lt_ECHO=$ECHO
       
   694 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
       
   695    lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
       
   696 fi
       
   697 
       
   698 
       
   699 
       
   700 
       
   701 exec 7<&0 </dev/null 6>&1
       
   702 
       
   703 # Name of the host.
       
   704 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
       
   705 # so uname gets run too.
       
   706 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
       
   707 
       
   708 #
       
   709 # Initializations.
       
   710 #
       
   711 ac_default_prefix=/usr/local
       
   712 ac_clean_files=
       
   713 ac_config_libobj_dir=.
       
   714 LIBOBJS=
       
   715 cross_compiling=no
       
   716 subdirs=
       
   717 MFLAGS=
       
   718 MAKEFLAGS=
       
   719 SHELL=${CONFIG_SHELL-/bin/sh}
       
   720 
       
   721 # Identity of this package.
       
   722 PACKAGE_NAME=
       
   723 PACKAGE_TARNAME=
       
   724 PACKAGE_VERSION=
       
   725 PACKAGE_STRING=
       
   726 PACKAGE_BUGREPORT=
       
   727 
       
   728 ac_unique_file="README"
       
   729 # Factoring default headers for most tests.
       
   730 ac_includes_default="\
       
   731 #include <stdio.h>
       
   732 #ifdef HAVE_SYS_TYPES_H
       
   733 # include <sys/types.h>
       
   734 #endif
       
   735 #ifdef HAVE_SYS_STAT_H
       
   736 # include <sys/stat.h>
       
   737 #endif
       
   738 #ifdef STDC_HEADERS
       
   739 # include <stdlib.h>
       
   740 # include <stddef.h>
       
   741 #else
       
   742 # ifdef HAVE_STDLIB_H
       
   743 #  include <stdlib.h>
       
   744 # endif
       
   745 #endif
       
   746 #ifdef HAVE_STRING_H
       
   747 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
       
   748 #  include <memory.h>
       
   749 # endif
       
   750 # include <string.h>
       
   751 #endif
       
   752 #ifdef HAVE_STRINGS_H
       
   753 # include <strings.h>
       
   754 #endif
       
   755 #ifdef HAVE_INTTYPES_H
       
   756 # include <inttypes.h>
       
   757 #endif
       
   758 #ifdef HAVE_STDINT_H
       
   759 # include <stdint.h>
       
   760 #endif
       
   761 #ifdef HAVE_UNISTD_H
       
   762 # include <unistd.h>
       
   763 #endif"
       
   764 
       
   765 ac_subst_vars='SHELL
       
   766 PATH_SEPARATOR
       
   767 PACKAGE_NAME
       
   768 PACKAGE_TARNAME
       
   769 PACKAGE_VERSION
       
   770 PACKAGE_STRING
       
   771 PACKAGE_BUGREPORT
       
   772 exec_prefix
       
   773 prefix
       
   774 program_transform_name
       
   775 bindir
       
   776 sbindir
       
   777 libexecdir
       
   778 datarootdir
       
   779 datadir
       
   780 sysconfdir
       
   781 sharedstatedir
       
   782 localstatedir
       
   783 includedir
       
   784 oldincludedir
       
   785 docdir
       
   786 infodir
       
   787 htmldir
       
   788 dvidir
       
   789 pdfdir
       
   790 psdir
       
   791 libdir
       
   792 localedir
       
   793 mandir
       
   794 DEFS
       
   795 ECHO_C
       
   796 ECHO_N
       
   797 ECHO_T
       
   798 LIBS
       
   799 build_alias
       
   800 host_alias
       
   801 target_alias
       
   802 SDL_MAJOR_VERSION
       
   803 SDL_MINOR_VERSION
       
   804 SDL_MICRO_VERSION
       
   805 SDL_INTERFACE_AGE
       
   806 SDL_BINARY_AGE
       
   807 SDL_VERSION
       
   808 AS
       
   809 DLLTOOL
       
   810 OBJDUMP
       
   811 LIBTOOL
       
   812 build
       
   813 build_cpu
       
   814 build_vendor
       
   815 build_os
       
   816 host
       
   817 host_cpu
       
   818 host_vendor
       
   819 host_os
       
   820 CC
       
   821 CFLAGS
       
   822 LDFLAGS
       
   823 CPPFLAGS
       
   824 ac_ct_CC
       
   825 EXEEXT
       
   826 OBJEXT
       
   827 SED
       
   828 GREP
       
   829 EGREP
       
   830 FGREP
       
   831 LD
       
   832 DUMPBIN
       
   833 ac_ct_DUMPBIN
       
   834 NM
       
   835 LN_S
       
   836 AR
       
   837 STRIP
       
   838 RANLIB
       
   839 lt_ECHO
       
   840 DSYMUTIL
       
   841 NMEDIT
       
   842 LIPO
       
   843 OTOOL
       
   844 OTOOL64
       
   845 CPP
       
   846 LT_RELEASE
       
   847 LT_CURRENT
       
   848 LT_REVISION
       
   849 LT_AGE
       
   850 CXX
       
   851 CXXFLAGS
       
   852 ac_ct_CXX
       
   853 CXXCPP
       
   854 INSTALL_PROGRAM
       
   855 INSTALL_SCRIPT
       
   856 INSTALL_DATA
       
   857 SET_MAKE
       
   858 WINDRES
       
   859 ALLOCA
       
   860 LIBOBJS
       
   861 POW_LIB
       
   862 ALSA_CFLAGS
       
   863 ALSA_LIBS
       
   864 ESD_CONFIG
       
   865 ESD_CFLAGS
       
   866 ESD_LIBS
       
   867 PKG_CONFIG
       
   868 ARTSCONFIG
       
   869 XMKMF
       
   870 X_CFLAGS
       
   871 X_PRE_LIBS
       
   872 X_LIBS
       
   873 X_EXTRA_LIBS
       
   874 DIRECTFBCONFIG
       
   875 SDL_CFLAGS
       
   876 SDL_LIBS
       
   877 SDL_STATIC_LIBS
       
   878 SDL_RLD_FLAGS
       
   879 ENABLE_SHARED_TRUE
       
   880 ENABLE_SHARED_FALSE
       
   881 ENABLE_STATIC_TRUE
       
   882 ENABLE_STATIC_FALSE
       
   883 ac_aux_dir
       
   884 INCLUDE
       
   885 OBJECTS
       
   886 VERSION_OBJECTS
       
   887 SDLMAIN_OBJECTS
       
   888 BUILD_CFLAGS
       
   889 EXTRA_CFLAGS
       
   890 BUILD_LDFLAGS
       
   891 EXTRA_LDFLAGS
       
   892 LTLIBOBJS'
       
   893 ac_subst_files=''
       
   894       ac_precious_vars='build_alias
       
   895 host_alias
       
   896 target_alias
       
   897 CC
       
   898 CFLAGS
       
   899 LDFLAGS
       
   900 LIBS
       
   901 CPPFLAGS
       
   902 CPP
       
   903 CXX
       
   904 CXXFLAGS
       
   905 CCC
       
   906 CXXCPP
       
   907 XMKMF'
       
   908 
       
   909 
       
   910 # Initialize some variables set by options.
       
   911 ac_init_help=
       
   912 ac_init_version=false
       
   913 # The variables have the same names as the options, with
       
   914 # dashes changed to underlines.
       
   915 cache_file=/dev/null
       
   916 exec_prefix=NONE
       
   917 no_create=
       
   918 no_recursion=
       
   919 prefix=NONE
       
   920 program_prefix=NONE
       
   921 program_suffix=NONE
       
   922 program_transform_name=s,x,x,
       
   923 silent=
       
   924 site=
       
   925 srcdir=
       
   926 verbose=
       
   927 x_includes=NONE
       
   928 x_libraries=NONE
       
   929 
       
   930 # Installation directory options.
       
   931 # These are left unexpanded so users can "make install exec_prefix=/foo"
       
   932 # and all the variables that are supposed to be based on exec_prefix
       
   933 # by default will actually change.
       
   934 # Use braces instead of parens because sh, perl, etc. also accept them.
       
   935 # (The list follows the same order as the GNU Coding Standards.)
       
   936 bindir='${exec_prefix}/bin'
       
   937 sbindir='${exec_prefix}/sbin'
       
   938 libexecdir='${exec_prefix}/libexec'
       
   939 datarootdir='${prefix}/share'
       
   940 datadir='${datarootdir}'
       
   941 sysconfdir='${prefix}/etc'
       
   942 sharedstatedir='${prefix}/com'
       
   943 localstatedir='${prefix}/var'
       
   944 includedir='${prefix}/include'
       
   945 oldincludedir='/usr/include'
       
   946 docdir='${datarootdir}/doc/${PACKAGE}'
       
   947 infodir='${datarootdir}/info'
       
   948 htmldir='${docdir}'
       
   949 dvidir='${docdir}'
       
   950 pdfdir='${docdir}'
       
   951 psdir='${docdir}'
       
   952 libdir='${exec_prefix}/lib'
       
   953 localedir='${datarootdir}/locale'
       
   954 mandir='${datarootdir}/man'
       
   955 
       
   956 ac_prev=
       
   957 ac_dashdash=
       
   958 for ac_option
       
   959 do
       
   960   # If the previous option needs an argument, assign it.
       
   961   if test -n "$ac_prev"; then
       
   962     eval $ac_prev=\$ac_option
       
   963     ac_prev=
       
   964     continue
       
   965   fi
       
   966 
       
   967   case $ac_option in
       
   968   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
       
   969   *)	ac_optarg=yes ;;
       
   970   esac
       
   971 
       
   972   # Accept the important Cygnus configure options, so we can diagnose typos.
       
   973 
       
   974   case $ac_dashdash$ac_option in
       
   975   --)
       
   976     ac_dashdash=yes ;;
       
   977 
       
   978   -bindir | --bindir | --bindi | --bind | --bin | --bi)
       
   979     ac_prev=bindir ;;
       
   980   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
       
   981     bindir=$ac_optarg ;;
       
   982 
       
   983   -build | --build | --buil | --bui | --bu)
       
   984     ac_prev=build_alias ;;
       
   985   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
       
   986     build_alias=$ac_optarg ;;
       
   987 
       
   988   -cache-file | --cache-file | --cache-fil | --cache-fi \
       
   989   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
       
   990     ac_prev=cache_file ;;
       
   991   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
       
   992   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
       
   993     cache_file=$ac_optarg ;;
       
   994 
       
   995   --config-cache | -C)
       
   996     cache_file=config.cache ;;
       
   997 
       
   998   -datadir | --datadir | --datadi | --datad)
       
   999     ac_prev=datadir ;;
       
  1000   -datadir=* | --datadir=* | --datadi=* | --datad=*)
       
  1001     datadir=$ac_optarg ;;
       
  1002 
       
  1003   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
       
  1004   | --dataroo | --dataro | --datar)
       
  1005     ac_prev=datarootdir ;;
       
  1006   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
       
  1007   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
       
  1008     datarootdir=$ac_optarg ;;
       
  1009 
       
  1010   -disable-* | --disable-*)
       
  1011     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
       
  1012     # Reject names that are not valid shell variable names.
       
  1013     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
       
  1014       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
       
  1015    { (exit 1); exit 1; }; }
       
  1016     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
       
  1017     eval enable_$ac_feature=no ;;
       
  1018 
       
  1019   -docdir | --docdir | --docdi | --doc | --do)
       
  1020     ac_prev=docdir ;;
       
  1021   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
       
  1022     docdir=$ac_optarg ;;
       
  1023 
       
  1024   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
       
  1025     ac_prev=dvidir ;;
       
  1026   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
       
  1027     dvidir=$ac_optarg ;;
       
  1028 
       
  1029   -enable-* | --enable-*)
       
  1030     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
       
  1031     # Reject names that are not valid shell variable names.
       
  1032     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
       
  1033       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
       
  1034    { (exit 1); exit 1; }; }
       
  1035     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
       
  1036     eval enable_$ac_feature=\$ac_optarg ;;
       
  1037 
       
  1038   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
       
  1039   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
       
  1040   | --exec | --exe | --ex)
       
  1041     ac_prev=exec_prefix ;;
       
  1042   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
       
  1043   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
       
  1044   | --exec=* | --exe=* | --ex=*)
       
  1045     exec_prefix=$ac_optarg ;;
       
  1046 
       
  1047   -gas | --gas | --ga | --g)
       
  1048     # Obsolete; use --with-gas.
       
  1049     with_gas=yes ;;
       
  1050 
       
  1051   -help | --help | --hel | --he | -h)
       
  1052     ac_init_help=long ;;
       
  1053   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
       
  1054     ac_init_help=recursive ;;
       
  1055   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
       
  1056     ac_init_help=short ;;
       
  1057 
       
  1058   -host | --host | --hos | --ho)
       
  1059     ac_prev=host_alias ;;
       
  1060   -host=* | --host=* | --hos=* | --ho=*)
       
  1061     host_alias=$ac_optarg ;;
       
  1062 
       
  1063   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
       
  1064     ac_prev=htmldir ;;
       
  1065   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
       
  1066   | --ht=*)
       
  1067     htmldir=$ac_optarg ;;
       
  1068 
       
  1069   -includedir | --includedir | --includedi | --included | --include \
       
  1070   | --includ | --inclu | --incl | --inc)
       
  1071     ac_prev=includedir ;;
       
  1072   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
       
  1073   | --includ=* | --inclu=* | --incl=* | --inc=*)
       
  1074     includedir=$ac_optarg ;;
       
  1075 
       
  1076   -infodir | --infodir | --infodi | --infod | --info | --inf)
       
  1077     ac_prev=infodir ;;
       
  1078   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
       
  1079     infodir=$ac_optarg ;;
       
  1080 
       
  1081   -libdir | --libdir | --libdi | --libd)
       
  1082     ac_prev=libdir ;;
       
  1083   -libdir=* | --libdir=* | --libdi=* | --libd=*)
       
  1084     libdir=$ac_optarg ;;
       
  1085 
       
  1086   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
       
  1087   | --libexe | --libex | --libe)
       
  1088     ac_prev=libexecdir ;;
       
  1089   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
       
  1090   | --libexe=* | --libex=* | --libe=*)
       
  1091     libexecdir=$ac_optarg ;;
       
  1092 
       
  1093   -localedir | --localedir | --localedi | --localed | --locale)
       
  1094     ac_prev=localedir ;;
       
  1095   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
       
  1096     localedir=$ac_optarg ;;
       
  1097 
       
  1098   -localstatedir | --localstatedir | --localstatedi | --localstated \
       
  1099   | --localstate | --localstat | --localsta | --localst | --locals)
       
  1100     ac_prev=localstatedir ;;
       
  1101   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
       
  1102   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
       
  1103     localstatedir=$ac_optarg ;;
       
  1104 
       
  1105   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
       
  1106     ac_prev=mandir ;;
       
  1107   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
       
  1108     mandir=$ac_optarg ;;
       
  1109 
       
  1110   -nfp | --nfp | --nf)
       
  1111     # Obsolete; use --without-fp.
       
  1112     with_fp=no ;;
       
  1113 
       
  1114   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
       
  1115   | --no-cr | --no-c | -n)
       
  1116     no_create=yes ;;
       
  1117 
       
  1118   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
       
  1119   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
       
  1120     no_recursion=yes ;;
       
  1121 
       
  1122   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
       
  1123   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
       
  1124   | --oldin | --oldi | --old | --ol | --o)
       
  1125     ac_prev=oldincludedir ;;
       
  1126   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
       
  1127   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
       
  1128   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
       
  1129     oldincludedir=$ac_optarg ;;
       
  1130 
       
  1131   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
       
  1132     ac_prev=prefix ;;
       
  1133   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
       
  1134     prefix=$ac_optarg ;;
       
  1135 
       
  1136   -program-prefix | --program-prefix | --program-prefi | --program-pref \
       
  1137   | --program-pre | --program-pr | --program-p)
       
  1138     ac_prev=program_prefix ;;
       
  1139   -program-prefix=* | --program-prefix=* | --program-prefi=* \
       
  1140   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
       
  1141     program_prefix=$ac_optarg ;;
       
  1142 
       
  1143   -program-suffix | --program-suffix | --program-suffi | --program-suff \
       
  1144   | --program-suf | --program-su | --program-s)
       
  1145     ac_prev=program_suffix ;;
       
  1146   -program-suffix=* | --program-suffix=* | --program-suffi=* \
       
  1147   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
       
  1148     program_suffix=$ac_optarg ;;
       
  1149 
       
  1150   -program-transform-name | --program-transform-name \
       
  1151   | --program-transform-nam | --program-transform-na \
       
  1152   | --program-transform-n | --program-transform- \
       
  1153   | --program-transform | --program-transfor \
       
  1154   | --program-transfo | --program-transf \
       
  1155   | --program-trans | --program-tran \
       
  1156   | --progr-tra | --program-tr | --program-t)
       
  1157     ac_prev=program_transform_name ;;
       
  1158   -program-transform-name=* | --program-transform-name=* \
       
  1159   | --program-transform-nam=* | --program-transform-na=* \
       
  1160   | --program-transform-n=* | --program-transform-=* \
       
  1161   | --program-transform=* | --program-transfor=* \
       
  1162   | --program-transfo=* | --program-transf=* \
       
  1163   | --program-trans=* | --program-tran=* \
       
  1164   | --progr-tra=* | --program-tr=* | --program-t=*)
       
  1165     program_transform_name=$ac_optarg ;;
       
  1166 
       
  1167   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
       
  1168     ac_prev=pdfdir ;;
       
  1169   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
       
  1170     pdfdir=$ac_optarg ;;
       
  1171 
       
  1172   -psdir | --psdir | --psdi | --psd | --ps)
       
  1173     ac_prev=psdir ;;
       
  1174   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
       
  1175     psdir=$ac_optarg ;;
       
  1176 
       
  1177   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
       
  1178   | -silent | --silent | --silen | --sile | --sil)
       
  1179     silent=yes ;;
       
  1180 
       
  1181   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
       
  1182     ac_prev=sbindir ;;
       
  1183   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
       
  1184   | --sbi=* | --sb=*)
       
  1185     sbindir=$ac_optarg ;;
       
  1186 
       
  1187   -sharedstatedir | --sharedstatedir | --sharedstatedi \
       
  1188   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
       
  1189   | --sharedst | --shareds | --shared | --share | --shar \
       
  1190   | --sha | --sh)
       
  1191     ac_prev=sharedstatedir ;;
       
  1192   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
       
  1193   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
       
  1194   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
       
  1195   | --sha=* | --sh=*)
       
  1196     sharedstatedir=$ac_optarg ;;
       
  1197 
       
  1198   -site | --site | --sit)
       
  1199     ac_prev=site ;;
       
  1200   -site=* | --site=* | --sit=*)
       
  1201     site=$ac_optarg ;;
       
  1202 
       
  1203   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
       
  1204     ac_prev=srcdir ;;
       
  1205   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
       
  1206     srcdir=$ac_optarg ;;
       
  1207 
       
  1208   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
       
  1209   | --syscon | --sysco | --sysc | --sys | --sy)
       
  1210     ac_prev=sysconfdir ;;
       
  1211   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
       
  1212   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
       
  1213     sysconfdir=$ac_optarg ;;
       
  1214 
       
  1215   -target | --target | --targe | --targ | --tar | --ta | --t)
       
  1216     ac_prev=target_alias ;;
       
  1217   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
       
  1218     target_alias=$ac_optarg ;;
       
  1219 
       
  1220   -v | -verbose | --verbose | --verbos | --verbo | --verb)
       
  1221     verbose=yes ;;
       
  1222 
       
  1223   -version | --version | --versio | --versi | --vers | -V)
       
  1224     ac_init_version=: ;;
       
  1225 
       
  1226   -with-* | --with-*)
       
  1227     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
       
  1228     # Reject names that are not valid shell variable names.
       
  1229     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
       
  1230       { echo "$as_me: error: invalid package name: $ac_package" >&2
       
  1231    { (exit 1); exit 1; }; }
       
  1232     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
       
  1233     eval with_$ac_package=\$ac_optarg ;;
       
  1234 
       
  1235   -without-* | --without-*)
       
  1236     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
       
  1237     # Reject names that are not valid shell variable names.
       
  1238     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
       
  1239       { echo "$as_me: error: invalid package name: $ac_package" >&2
       
  1240    { (exit 1); exit 1; }; }
       
  1241     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
       
  1242     eval with_$ac_package=no ;;
       
  1243 
       
  1244   --x)
       
  1245     # Obsolete; use --with-x.
       
  1246     with_x=yes ;;
       
  1247 
       
  1248   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
       
  1249   | --x-incl | --x-inc | --x-in | --x-i)
       
  1250     ac_prev=x_includes ;;
       
  1251   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
       
  1252   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
       
  1253     x_includes=$ac_optarg ;;
       
  1254 
       
  1255   -x-libraries | --x-libraries | --x-librarie | --x-librari \
       
  1256   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
       
  1257     ac_prev=x_libraries ;;
       
  1258   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
       
  1259   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
       
  1260     x_libraries=$ac_optarg ;;
       
  1261 
       
  1262   -*) { echo "$as_me: error: unrecognized option: $ac_option
       
  1263 Try \`$0 --help' for more information." >&2
       
  1264    { (exit 1); exit 1; }; }
       
  1265     ;;
       
  1266 
       
  1267   *=*)
       
  1268     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
       
  1269     # Reject names that are not valid shell variable names.
       
  1270     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
       
  1271       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
       
  1272    { (exit 1); exit 1; }; }
       
  1273     eval $ac_envvar=\$ac_optarg
       
  1274     export $ac_envvar ;;
       
  1275 
       
  1276   *)
       
  1277     # FIXME: should be removed in autoconf 3.0.
       
  1278     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
       
  1279     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
       
  1280       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
       
  1281     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
       
  1282     ;;
       
  1283 
       
  1284   esac
       
  1285 done
       
  1286 
       
  1287 if test -n "$ac_prev"; then
       
  1288   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
       
  1289   { echo "$as_me: error: missing argument to $ac_option" >&2
       
  1290    { (exit 1); exit 1; }; }
       
  1291 fi
       
  1292 
       
  1293 # Be sure to have absolute directory names.
       
  1294 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
       
  1295 		datadir sysconfdir sharedstatedir localstatedir includedir \
       
  1296 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
       
  1297 		libdir localedir mandir
       
  1298 do
       
  1299   eval ac_val=\$$ac_var
       
  1300   case $ac_val in
       
  1301     [\\/$]* | ?:[\\/]* )  continue;;
       
  1302     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
       
  1303   esac
       
  1304   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
       
  1305    { (exit 1); exit 1; }; }
       
  1306 done
       
  1307 
       
  1308 # There might be people who depend on the old broken behavior: `$host'
       
  1309 # used to hold the argument of --host etc.
       
  1310 # FIXME: To remove some day.
       
  1311 build=$build_alias
       
  1312 host=$host_alias
       
  1313 target=$target_alias
       
  1314 
       
  1315 # FIXME: To remove some day.
       
  1316 if test "x$host_alias" != x; then
       
  1317   if test "x$build_alias" = x; then
       
  1318     cross_compiling=maybe
       
  1319     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
       
  1320     If a cross compiler is detected then cross compile mode will be used." >&2
       
  1321   elif test "x$build_alias" != "x$host_alias"; then
       
  1322     cross_compiling=yes
       
  1323   fi
       
  1324 fi
       
  1325 
       
  1326 ac_tool_prefix=
       
  1327 test -n "$host_alias" && ac_tool_prefix=$host_alias-
       
  1328 
       
  1329 test "$silent" = yes && exec 6>/dev/null
       
  1330 
       
  1331 
       
  1332 ac_pwd=`pwd` && test -n "$ac_pwd" &&
       
  1333 ac_ls_di=`ls -di .` &&
       
  1334 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
       
  1335   { echo "$as_me: error: Working directory cannot be determined" >&2
       
  1336    { (exit 1); exit 1; }; }
       
  1337 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
       
  1338   { echo "$as_me: error: pwd does not report name of working directory" >&2
       
  1339    { (exit 1); exit 1; }; }
       
  1340 
       
  1341 
       
  1342 # Find the source files, if location was not specified.
       
  1343 if test -z "$srcdir"; then
       
  1344   ac_srcdir_defaulted=yes
       
  1345   # Try the directory containing this script, then the parent directory.
       
  1346   ac_confdir=`$as_dirname -- "$0" ||
       
  1347 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
       
  1348 	 X"$0" : 'X\(//\)[^/]' \| \
       
  1349 	 X"$0" : 'X\(//\)$' \| \
       
  1350 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
       
  1351 echo X"$0" |
       
  1352     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
       
  1353 	    s//\1/
       
  1354 	    q
       
  1355 	  }
       
  1356 	  /^X\(\/\/\)[^/].*/{
       
  1357 	    s//\1/
       
  1358 	    q
       
  1359 	  }
       
  1360 	  /^X\(\/\/\)$/{
       
  1361 	    s//\1/
       
  1362 	    q
       
  1363 	  }
       
  1364 	  /^X\(\/\).*/{
       
  1365 	    s//\1/
       
  1366 	    q
       
  1367 	  }
       
  1368 	  s/.*/./; q'`
       
  1369   srcdir=$ac_confdir
       
  1370   if test ! -r "$srcdir/$ac_unique_file"; then
       
  1371     srcdir=..
       
  1372   fi
       
  1373 else
       
  1374   ac_srcdir_defaulted=no
       
  1375 fi
       
  1376 if test ! -r "$srcdir/$ac_unique_file"; then
       
  1377   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
       
  1378   { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
       
  1379    { (exit 1); exit 1; }; }
       
  1380 fi
       
  1381 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
       
  1382 ac_abs_confdir=`(
       
  1383 	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
       
  1384    { (exit 1); exit 1; }; }
       
  1385 	pwd)`
       
  1386 # When building in place, set srcdir=.
       
  1387 if test "$ac_abs_confdir" = "$ac_pwd"; then
       
  1388   srcdir=.
       
  1389 fi
       
  1390 # Remove unnecessary trailing slashes from srcdir.
       
  1391 # Double slashes in file names in object file debugging info
       
  1392 # mess up M-x gdb in Emacs.
       
  1393 case $srcdir in
       
  1394 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
       
  1395 esac
       
  1396 for ac_var in $ac_precious_vars; do
       
  1397   eval ac_env_${ac_var}_set=\${${ac_var}+set}
       
  1398   eval ac_env_${ac_var}_value=\$${ac_var}
       
  1399   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
       
  1400   eval ac_cv_env_${ac_var}_value=\$${ac_var}
       
  1401 done
       
  1402 
       
  1403 #
       
  1404 # Report the --help message.
       
  1405 #
       
  1406 if test "$ac_init_help" = "long"; then
       
  1407   # Omit some internal or obsolete options to make the list less imposing.
       
  1408   # This message is too long to be a string in the A/UX 3.1 sh.
       
  1409   cat <<_ACEOF
       
  1410 \`configure' configures this package to adapt to many kinds of systems.
       
  1411 
       
  1412 Usage: $0 [OPTION]... [VAR=VALUE]...
       
  1413 
       
  1414 To assign environment variables (e.g., CC, CFLAGS...), specify them as
       
  1415 VAR=VALUE.  See below for descriptions of some of the useful variables.
       
  1416 
       
  1417 Defaults for the options are specified in brackets.
       
  1418 
       
  1419 Configuration:
       
  1420   -h, --help              display this help and exit
       
  1421       --help=short        display options specific to this package
       
  1422       --help=recursive    display the short help of all the included packages
       
  1423   -V, --version           display version information and exit
       
  1424   -q, --quiet, --silent   do not print \`checking...' messages
       
  1425       --cache-file=FILE   cache test results in FILE [disabled]
       
  1426   -C, --config-cache      alias for \`--cache-file=config.cache'
       
  1427   -n, --no-create         do not create output files
       
  1428       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
       
  1429 
       
  1430 Installation directories:
       
  1431   --prefix=PREFIX         install architecture-independent files in PREFIX
       
  1432 			  [$ac_default_prefix]
       
  1433   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
       
  1434 			  [PREFIX]
       
  1435 
       
  1436 By default, \`make install' will install all the files in
       
  1437 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
       
  1438 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
       
  1439 for instance \`--prefix=\$HOME'.
       
  1440 
       
  1441 For better control, use the options below.
       
  1442 
       
  1443 Fine tuning of the installation directories:
       
  1444   --bindir=DIR           user executables [EPREFIX/bin]
       
  1445   --sbindir=DIR          system admin executables [EPREFIX/sbin]
       
  1446   --libexecdir=DIR       program executables [EPREFIX/libexec]
       
  1447   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
       
  1448   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
       
  1449   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
       
  1450   --libdir=DIR           object code libraries [EPREFIX/lib]
       
  1451   --includedir=DIR       C header files [PREFIX/include]
       
  1452   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
       
  1453   --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
       
  1454   --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
       
  1455   --infodir=DIR          info documentation [DATAROOTDIR/info]
       
  1456   --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
       
  1457   --mandir=DIR           man documentation [DATAROOTDIR/man]
       
  1458   --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
       
  1459   --htmldir=DIR          html documentation [DOCDIR]
       
  1460   --dvidir=DIR           dvi documentation [DOCDIR]
       
  1461   --pdfdir=DIR           pdf documentation [DOCDIR]
       
  1462   --psdir=DIR            ps documentation [DOCDIR]
       
  1463 _ACEOF
       
  1464 
       
  1465   cat <<\_ACEOF
       
  1466 
       
  1467 X features:
       
  1468   --x-includes=DIR    X include files are in DIR
       
  1469   --x-libraries=DIR   X library files are in DIR
       
  1470 
       
  1471 System types:
       
  1472   --build=BUILD     configure for building on BUILD [guessed]
       
  1473   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
       
  1474 _ACEOF
       
  1475 fi
       
  1476 
       
  1477 if test -n "$ac_init_help"; then
       
  1478 
       
  1479   cat <<\_ACEOF
       
  1480 
       
  1481 Optional Features:
       
  1482   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
       
  1483   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
       
  1484   --enable-shared[=PKGS]  build shared libraries [default=yes]
       
  1485   --enable-static[=PKGS]  build static libraries [default=yes]
       
  1486   --enable-fast-install[=PKGS]
       
  1487                           optimize for fast installation [default=yes]
       
  1488   --disable-libtool-lock  avoid locking (might break parallel builds)
       
  1489   --enable-assertions     Enable internal sanity checks
       
  1490                           (auto/disabled/release/enabled/paranoid)
       
  1491                           [default=auto]
       
  1492   --enable-dependency-tracking
       
  1493                           Use gcc -MMD -MT dependency tracking [default=yes]
       
  1494   --enable-libc           Use the system C library [default=yes]
       
  1495   --enable-gcc-atomics    Use gcc builtin atomics [default=yes]
       
  1496   --enable-atomic         Enable the atomic operations subsystem
       
  1497                           [default=yes]
       
  1498   --enable-audio          Enable the audio subsystem [default=yes]
       
  1499   --enable-video          Enable the video subsystem [default=yes]
       
  1500   --enable-render         Enable the render subsystem [default=yes]
       
  1501   --enable-events         Enable the events subsystem [default=yes]
       
  1502   --enable-joystick       Enable the joystick subsystem [default=yes]
       
  1503   --enable-haptic         Enable the haptic (force feedback) subsystem
       
  1504                           [default=yes]
       
  1505   --enable-power          Enable the power subsystem [default=yes]
       
  1506   --enable-threads        Enable the threading subsystem [default=yes]
       
  1507   --enable-timers         Enable the timer subsystem [default=yes]
       
  1508   --enable-file           Enable the file subsystem [default=yes]
       
  1509   --enable-loadso         Enable the shared object loading subsystem
       
  1510                           [default=yes]
       
  1511   --enable-cpuinfo        Enable the cpuinfo subsystem [default=yes]
       
  1512   --enable-atomic         Enable the atomic operations [default=yes]
       
  1513   --enable-assembly       Enable assembly routines [default=yes]
       
  1514   --enable-ssemath        Allow GCC to use SSE floating point math
       
  1515                           [default=no]
       
  1516   --enable-mmx            use MMX assembly routines [default=yes]
       
  1517   --enable-sse            use SSE assembly routines [default=yes]
       
  1518   --enable-sse2           use SSE2 assembly routines [default=no]
       
  1519   --enable-oss            support the OSS audio API [default=yes]
       
  1520   --enable-alsa           support the ALSA audio API [default=yes]
       
  1521   --disable-alsatest      Do not try to compile and run a test Alsa program
       
  1522   --enable-alsa-shared    dynamically load ALSA audio support [default=yes]
       
  1523   --enable-esd            support the Enlightened Sound Daemon [default=yes]
       
  1524   --disable-esdtest       Do not try to compile and run a test ESD program
       
  1525   --enable-esd-shared     dynamically load ESD audio support [default=yes]
       
  1526   --enable-pulseaudio     use PulseAudio [default=yes]
       
  1527   --enable-pulseaudio-shared
       
  1528                           dynamically load PulseAudio support [default=yes]
       
  1529   --enable-arts           support the Analog Real Time Synthesizer
       
  1530                           [default=yes]
       
  1531   --enable-arts-shared    dynamically load aRts audio support [default=yes]
       
  1532   --enable-nas            support the NAS audio API [default=yes]
       
  1533   --enable-nas-shared     dynamically load NAS audio support [default=yes]
       
  1534   --enable-diskaudio      support the disk writer audio driver [default=yes]
       
  1535   --enable-dummyaudio     support the dummy audio driver [default=yes]
       
  1536   --enable-video-x11      use X11 video driver [default=yes]
       
  1537   --enable-x11-shared     dynamically load X11 support [default=maybe]
       
  1538   --enable-video-x11-vm   use X11 VM extension for fullscreen [default=yes]
       
  1539   --enable-video-x11-xv   use X11 XvImage extension for video [default=yes]
       
  1540   --enable-video-x11-xinerama
       
  1541                           enable X11 Xinerama support [default=yes]
       
  1542   --enable-video-x11-xshape
       
  1543                           enable X11 XShape support [default=yes]
       
  1544   --enable-video-x11-xrandr
       
  1545                           enable X11 Xrandr extension for fullscreen
       
  1546                           [default=yes]
       
  1547   --enable-video-x11-xinput
       
  1548                           enable X11 XInput extension for manymouse, tablets,
       
  1549                           etc [default=yes]
       
  1550   --enable-video-x11-scrnsaver
       
  1551                           enable X11 screensaver extension [default=yes]
       
  1552   --enable-video-cocoa    use Cocoa video driver [default=yes]
       
  1553   --enable-video-directfb use DirectFB video driver [default=no]
       
  1554   --enable-directfb-shared
       
  1555                           dynamically load directfb support [default=yes]
       
  1556   --enable-fusionsound    use FusionSound audio driver [default=no]
       
  1557   --enable-fusionsound-shared
       
  1558                           dynamically load fusionsound audio support
       
  1559                           [default=yes]
       
  1560   --enable-video-dummy    use dummy video driver [default=yes]
       
  1561   --enable-video-opengl   include OpenGL support [default=yes]
       
  1562   --enable-input-events   use Linux 2.4 unified input interface
       
  1563                           [default=yes]
       
  1564   --enable-input-tslib    use the Touchscreen library for input
       
  1565                           [default=yes]
       
  1566   --enable-pthreads       use POSIX threads for multi-threading
       
  1567                           [default=yes]
       
  1568   --enable-pthread-sem    use pthread semaphores [default=yes]
       
  1569   --enable-stdio-redirect Redirect STDIO to files on Windows [default=yes]
       
  1570   --enable-directx        use DirectX for Windows audio/video [default=yes]
       
  1571   --enable-sdl-dlopen     use dlopen for shared object loading [default=yes]
       
  1572   --enable-clock_gettime  use clock_gettime() instead of gettimeofday() on
       
  1573                           UNIX [default=no]
       
  1574   --enable-rpath          use an rpath when linking SDL [default=yes]
       
  1575   --enable-render-d3d     enable the Direct3D render driver [default=yes]
       
  1576 
       
  1577 Optional Packages:
       
  1578   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
       
  1579   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
       
  1580   --with-pic              try to use only PIC/non-PIC objects [default=use
       
  1581                           both]
       
  1582   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
       
  1583   --with-alsa-prefix=PFX  Prefix where Alsa library is installed(optional)
       
  1584   --with-alsa-inc-prefix=PFX  Prefix where include libraries are (optional)
       
  1585   --with-esd-prefix=PFX   Prefix where ESD is installed (optional)
       
  1586   --with-esd-exec-prefix=PFX Exec prefix where ESD is installed (optional)
       
  1587   --with-x                use the X Window System
       
  1588 
       
  1589 Some influential environment variables:
       
  1590   CC          C compiler command
       
  1591   CFLAGS      C compiler flags
       
  1592   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
       
  1593               nonstandard directory <lib dir>
       
  1594   LIBS        libraries to pass to the linker, e.g. -l<library>
       
  1595   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
       
  1596               you have headers in a nonstandard directory <include dir>
       
  1597   CPP         C preprocessor
       
  1598   CXX         C++ compiler command
       
  1599   CXXFLAGS    C++ compiler flags
       
  1600   CXXCPP      C++ preprocessor
       
  1601   XMKMF       Path to xmkmf, Makefile generator for X Window System
       
  1602 
       
  1603 Use these variables to override the choices made by `configure' or to help
       
  1604 it to find libraries and programs with nonstandard names/locations.
       
  1605 
       
  1606 _ACEOF
       
  1607 ac_status=$?
       
  1608 fi
       
  1609 
       
  1610 if test "$ac_init_help" = "recursive"; then
       
  1611   # If there are subdirs, report their specific --help.
       
  1612   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
       
  1613     test -d "$ac_dir" || continue
       
  1614     ac_builddir=.
       
  1615 
       
  1616 case "$ac_dir" in
       
  1617 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
       
  1618 *)
       
  1619   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
       
  1620   # A ".." for each directory in $ac_dir_suffix.
       
  1621   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
       
  1622   case $ac_top_builddir_sub in
       
  1623   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
       
  1624   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
       
  1625   esac ;;
       
  1626 esac
       
  1627 ac_abs_top_builddir=$ac_pwd
       
  1628 ac_abs_builddir=$ac_pwd$ac_dir_suffix
       
  1629 # for backward compatibility:
       
  1630 ac_top_builddir=$ac_top_build_prefix
       
  1631 
       
  1632 case $srcdir in
       
  1633   .)  # We are building in place.
       
  1634     ac_srcdir=.
       
  1635     ac_top_srcdir=$ac_top_builddir_sub
       
  1636     ac_abs_top_srcdir=$ac_pwd ;;
       
  1637   [\\/]* | ?:[\\/]* )  # Absolute name.
       
  1638     ac_srcdir=$srcdir$ac_dir_suffix;
       
  1639     ac_top_srcdir=$srcdir
       
  1640     ac_abs_top_srcdir=$srcdir ;;
       
  1641   *) # Relative name.
       
  1642     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
       
  1643     ac_top_srcdir=$ac_top_build_prefix$srcdir
       
  1644     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
       
  1645 esac
       
  1646 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
       
  1647 
       
  1648     cd "$ac_dir" || { ac_status=$?; continue; }
       
  1649     # Check for guested configure.
       
  1650     if test -f "$ac_srcdir/configure.gnu"; then
       
  1651       echo &&
       
  1652       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
       
  1653     elif test -f "$ac_srcdir/configure"; then
       
  1654       echo &&
       
  1655       $SHELL "$ac_srcdir/configure" --help=recursive
       
  1656     else
       
  1657       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
       
  1658     fi || ac_status=$?
       
  1659     cd "$ac_pwd" || { ac_status=$?; break; }
       
  1660   done
       
  1661 fi
       
  1662 
       
  1663 test -n "$ac_init_help" && exit $ac_status
       
  1664 if $ac_init_version; then
       
  1665   cat <<\_ACEOF
       
  1666 configure
       
  1667 generated by GNU Autoconf 2.61
       
  1668 
       
  1669 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
       
  1670 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
       
  1671 This configure script is free software; the Free Software Foundation
       
  1672 gives unlimited permission to copy, distribute and modify it.
       
  1673 _ACEOF
       
  1674   exit
       
  1675 fi
       
  1676 cat >config.log <<_ACEOF
       
  1677 This file contains any messages produced by compilers while
       
  1678 running configure, to aid debugging if configure makes a mistake.
       
  1679 
       
  1680 It was created by $as_me, which was
       
  1681 generated by GNU Autoconf 2.61.  Invocation command line was
       
  1682 
       
  1683   $ $0 $@
       
  1684 
       
  1685 _ACEOF
       
  1686 exec 5>>config.log
       
  1687 {
       
  1688 cat <<_ASUNAME
       
  1689 ## --------- ##
       
  1690 ## Platform. ##
       
  1691 ## --------- ##
       
  1692 
       
  1693 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
       
  1694 uname -m = `(uname -m) 2>/dev/null || echo unknown`
       
  1695 uname -r = `(uname -r) 2>/dev/null || echo unknown`
       
  1696 uname -s = `(uname -s) 2>/dev/null || echo unknown`
       
  1697 uname -v = `(uname -v) 2>/dev/null || echo unknown`
       
  1698 
       
  1699 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
       
  1700 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
       
  1701 
       
  1702 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
       
  1703 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
       
  1704 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
       
  1705 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
       
  1706 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
       
  1707 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
       
  1708 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
       
  1709 
       
  1710 _ASUNAME
       
  1711 
       
  1712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  1713 for as_dir in $PATH
       
  1714 do
       
  1715   IFS=$as_save_IFS
       
  1716   test -z "$as_dir" && as_dir=.
       
  1717   echo "PATH: $as_dir"
       
  1718 done
       
  1719 IFS=$as_save_IFS
       
  1720 
       
  1721 } >&5
       
  1722 
       
  1723 cat >&5 <<_ACEOF
       
  1724 
       
  1725 
       
  1726 ## ----------- ##
       
  1727 ## Core tests. ##
       
  1728 ## ----------- ##
       
  1729 
       
  1730 _ACEOF
       
  1731 
       
  1732 
       
  1733 # Keep a trace of the command line.
       
  1734 # Strip out --no-create and --no-recursion so they do not pile up.
       
  1735 # Strip out --silent because we don't want to record it for future runs.
       
  1736 # Also quote any args containing shell meta-characters.
       
  1737 # Make two passes to allow for proper duplicate-argument suppression.
       
  1738 ac_configure_args=
       
  1739 ac_configure_args0=
       
  1740 ac_configure_args1=
       
  1741 ac_must_keep_next=false
       
  1742 for ac_pass in 1 2
       
  1743 do
       
  1744   for ac_arg
       
  1745   do
       
  1746     case $ac_arg in
       
  1747     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
       
  1748     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
       
  1749     | -silent | --silent | --silen | --sile | --sil)
       
  1750       continue ;;
       
  1751     *\'*)
       
  1752       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
       
  1753     esac
       
  1754     case $ac_pass in
       
  1755     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
       
  1756     2)
       
  1757       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
       
  1758       if test $ac_must_keep_next = true; then
       
  1759 	ac_must_keep_next=false # Got value, back to normal.
       
  1760       else
       
  1761 	case $ac_arg in
       
  1762 	  *=* | --config-cache | -C | -disable-* | --disable-* \
       
  1763 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
       
  1764 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
       
  1765 	  | -with-* | --with-* | -without-* | --without-* | --x)
       
  1766 	    case "$ac_configure_args0 " in
       
  1767 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
       
  1768 	    esac
       
  1769 	    ;;
       
  1770 	  -* ) ac_must_keep_next=true ;;
       
  1771 	esac
       
  1772       fi
       
  1773       ac_configure_args="$ac_configure_args '$ac_arg'"
       
  1774       ;;
       
  1775     esac
       
  1776   done
       
  1777 done
       
  1778 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
       
  1779 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
       
  1780 
       
  1781 # When interrupted or exit'd, cleanup temporary files, and complete
       
  1782 # config.log.  We remove comments because anyway the quotes in there
       
  1783 # would cause problems or look ugly.
       
  1784 # WARNING: Use '\'' to represent an apostrophe within the trap.
       
  1785 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
       
  1786 trap 'exit_status=$?
       
  1787   # Save into config.log some information that might help in debugging.
       
  1788   {
       
  1789     echo
       
  1790 
       
  1791     cat <<\_ASBOX
       
  1792 ## ---------------- ##
       
  1793 ## Cache variables. ##
       
  1794 ## ---------------- ##
       
  1795 _ASBOX
       
  1796     echo
       
  1797     # The following way of writing the cache mishandles newlines in values,
       
  1798 (
       
  1799   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
       
  1800     eval ac_val=\$$ac_var
       
  1801     case $ac_val in #(
       
  1802     *${as_nl}*)
       
  1803       case $ac_var in #(
       
  1804       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
       
  1805 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
       
  1806       esac
       
  1807       case $ac_var in #(
       
  1808       _ | IFS | as_nl) ;; #(
       
  1809       *) $as_unset $ac_var ;;
       
  1810       esac ;;
       
  1811     esac
       
  1812   done
       
  1813   (set) 2>&1 |
       
  1814     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
       
  1815     *${as_nl}ac_space=\ *)
       
  1816       sed -n \
       
  1817 	"s/'\''/'\''\\\\'\'''\''/g;
       
  1818 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
       
  1819       ;; #(
       
  1820     *)
       
  1821       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
       
  1822       ;;
       
  1823     esac |
       
  1824     sort
       
  1825 )
       
  1826     echo
       
  1827 
       
  1828     cat <<\_ASBOX
       
  1829 ## ----------------- ##
       
  1830 ## Output variables. ##
       
  1831 ## ----------------- ##
       
  1832 _ASBOX
       
  1833     echo
       
  1834     for ac_var in $ac_subst_vars
       
  1835     do
       
  1836       eval ac_val=\$$ac_var
       
  1837       case $ac_val in
       
  1838       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
       
  1839       esac
       
  1840       echo "$ac_var='\''$ac_val'\''"
       
  1841     done | sort
       
  1842     echo
       
  1843 
       
  1844     if test -n "$ac_subst_files"; then
       
  1845       cat <<\_ASBOX
       
  1846 ## ------------------- ##
       
  1847 ## File substitutions. ##
       
  1848 ## ------------------- ##
       
  1849 _ASBOX
       
  1850       echo
       
  1851       for ac_var in $ac_subst_files
       
  1852       do
       
  1853 	eval ac_val=\$$ac_var
       
  1854 	case $ac_val in
       
  1855 	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
       
  1856 	esac
       
  1857 	echo "$ac_var='\''$ac_val'\''"
       
  1858       done | sort
       
  1859       echo
       
  1860     fi
       
  1861 
       
  1862     if test -s confdefs.h; then
       
  1863       cat <<\_ASBOX
       
  1864 ## ----------- ##
       
  1865 ## confdefs.h. ##
       
  1866 ## ----------- ##
       
  1867 _ASBOX
       
  1868       echo
       
  1869       cat confdefs.h
       
  1870       echo
       
  1871     fi
       
  1872     test "$ac_signal" != 0 &&
       
  1873       echo "$as_me: caught signal $ac_signal"
       
  1874     echo "$as_me: exit $exit_status"
       
  1875   } >&5
       
  1876   rm -f core *.core core.conftest.* &&
       
  1877     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
       
  1878     exit $exit_status
       
  1879 ' 0
       
  1880 for ac_signal in 1 2 13 15; do
       
  1881   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
       
  1882 done
       
  1883 ac_signal=0
       
  1884 
       
  1885 # confdefs.h avoids OS command line length limits that DEFS can exceed.
       
  1886 rm -f -r conftest* confdefs.h
       
  1887 
       
  1888 # Predefined preprocessor variables.
       
  1889 
       
  1890 cat >>confdefs.h <<_ACEOF
       
  1891 #define PACKAGE_NAME "$PACKAGE_NAME"
       
  1892 _ACEOF
       
  1893 
       
  1894 
       
  1895 cat >>confdefs.h <<_ACEOF
       
  1896 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
       
  1897 _ACEOF
       
  1898 
       
  1899 
       
  1900 cat >>confdefs.h <<_ACEOF
       
  1901 #define PACKAGE_VERSION "$PACKAGE_VERSION"
       
  1902 _ACEOF
       
  1903 
       
  1904 
       
  1905 cat >>confdefs.h <<_ACEOF
       
  1906 #define PACKAGE_STRING "$PACKAGE_STRING"
       
  1907 _ACEOF
       
  1908 
       
  1909 
       
  1910 cat >>confdefs.h <<_ACEOF
       
  1911 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
       
  1912 _ACEOF
       
  1913 
       
  1914 
       
  1915 # Let the site file select an alternate cache file if it wants to.
       
  1916 # Prefer explicitly selected file to automatically selected ones.
       
  1917 if test -n "$CONFIG_SITE"; then
       
  1918   set x "$CONFIG_SITE"
       
  1919 elif test "x$prefix" != xNONE; then
       
  1920   set x "$prefix/share/config.site" "$prefix/etc/config.site"
       
  1921 else
       
  1922   set x "$ac_default_prefix/share/config.site" \
       
  1923 	"$ac_default_prefix/etc/config.site"
       
  1924 fi
       
  1925 shift
       
  1926 for ac_site_file
       
  1927 do
       
  1928   if test -r "$ac_site_file"; then
       
  1929     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
       
  1930 echo "$as_me: loading site script $ac_site_file" >&6;}
       
  1931     sed 's/^/| /' "$ac_site_file" >&5
       
  1932     . "$ac_site_file"
       
  1933   fi
       
  1934 done
       
  1935 
       
  1936 if test -r "$cache_file"; then
       
  1937   # Some versions of bash will fail to source /dev/null (special
       
  1938   # files actually), so we avoid doing that.
       
  1939   if test -f "$cache_file"; then
       
  1940     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
       
  1941 echo "$as_me: loading cache $cache_file" >&6;}
       
  1942     case $cache_file in
       
  1943       [\\/]* | ?:[\\/]* ) . "$cache_file";;
       
  1944       *)                      . "./$cache_file";;
       
  1945     esac
       
  1946   fi
       
  1947 else
       
  1948   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
       
  1949 echo "$as_me: creating cache $cache_file" >&6;}
       
  1950   >$cache_file
       
  1951 fi
       
  1952 
       
  1953 # Check that the precious variables saved in the cache have kept the same
       
  1954 # value.
       
  1955 ac_cache_corrupted=false
       
  1956 for ac_var in $ac_precious_vars; do
       
  1957   eval ac_old_set=\$ac_cv_env_${ac_var}_set
       
  1958   eval ac_new_set=\$ac_env_${ac_var}_set
       
  1959   eval ac_old_val=\$ac_cv_env_${ac_var}_value
       
  1960   eval ac_new_val=\$ac_env_${ac_var}_value
       
  1961   case $ac_old_set,$ac_new_set in
       
  1962     set,)
       
  1963       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
       
  1964 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
       
  1965       ac_cache_corrupted=: ;;
       
  1966     ,set)
       
  1967       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
       
  1968 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
       
  1969       ac_cache_corrupted=: ;;
       
  1970     ,);;
       
  1971     *)
       
  1972       if test "x$ac_old_val" != "x$ac_new_val"; then
       
  1973 	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
       
  1974 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
       
  1975 	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
       
  1976 echo "$as_me:   former value:  $ac_old_val" >&2;}
       
  1977 	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
       
  1978 echo "$as_me:   current value: $ac_new_val" >&2;}
       
  1979 	ac_cache_corrupted=:
       
  1980       fi;;
       
  1981   esac
       
  1982   # Pass precious variables to config.status.
       
  1983   if test "$ac_new_set" = set; then
       
  1984     case $ac_new_val in
       
  1985     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
       
  1986     *) ac_arg=$ac_var=$ac_new_val ;;
       
  1987     esac
       
  1988     case " $ac_configure_args " in
       
  1989       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
       
  1990       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
       
  1991     esac
       
  1992   fi
       
  1993 done
       
  1994 if $ac_cache_corrupted; then
       
  1995   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
       
  1996 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
       
  1997   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
       
  1998 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
       
  1999    { (exit 1); exit 1; }; }
       
  2000 fi
       
  2001 
       
  2002 
       
  2003 
       
  2004 
       
  2005 
       
  2006 
       
  2007 
       
  2008 
       
  2009 
       
  2010 
       
  2011 
       
  2012 
       
  2013 
       
  2014 
       
  2015 
       
  2016 
       
  2017 
       
  2018 ac_ext=c
       
  2019 ac_cpp='$CPP $CPPFLAGS'
       
  2020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
       
  2021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
       
  2022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
       
  2023 
       
  2024 
       
  2025 ac_config_headers="$ac_config_headers include/SDL_config.h"
       
  2026 
       
  2027 
       
  2028 cat >>confdefs.h <<\_ACEOF
       
  2029 #define _GNU_SOURCE 1
       
  2030 _ACEOF
       
  2031 
       
  2032 
       
  2033 ac_aux_dir=
       
  2034 for ac_dir in $srcdir/build-scripts; do
       
  2035   if test -f "$ac_dir/install-sh"; then
       
  2036     ac_aux_dir=$ac_dir
       
  2037     ac_install_sh="$ac_aux_dir/install-sh -c"
       
  2038     break
       
  2039   elif test -f "$ac_dir/install.sh"; then
       
  2040     ac_aux_dir=$ac_dir
       
  2041     ac_install_sh="$ac_aux_dir/install.sh -c"
       
  2042     break
       
  2043   elif test -f "$ac_dir/shtool"; then
       
  2044     ac_aux_dir=$ac_dir
       
  2045     ac_install_sh="$ac_aux_dir/shtool install -c"
       
  2046     break
       
  2047   fi
       
  2048 done
       
  2049 if test -z "$ac_aux_dir"; then
       
  2050   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir/build-scripts" >&5
       
  2051 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir/build-scripts" >&2;}
       
  2052    { (exit 1); exit 1; }; }
       
  2053 fi
       
  2054 
       
  2055 # These three variables are undocumented and unsupported,
       
  2056 # and are intended to be withdrawn in a future Autoconf release.
       
  2057 # They can cause serious problems if a builder's source tree is in a directory
       
  2058 # whose full name contains unusual characters.
       
  2059 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
       
  2060 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
       
  2061 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
       
  2062 
       
  2063 
       
  2064 
       
  2065 orig_CFLAGS="$CFLAGS"
       
  2066 
       
  2067 #
       
  2068 # Making releases:
       
  2069 # Edit include/SDL/SDL_version.h and change the version, then:
       
  2070 #   SDL_MICRO_VERSION += 1;
       
  2071 #   SDL_INTERFACE_AGE += 1;
       
  2072 #   SDL_BINARY_AGE += 1;
       
  2073 # if any functions have been added, set SDL_INTERFACE_AGE to 0.
       
  2074 # if backwards compatibility has been broken,
       
  2075 # set SDL_BINARY_AGE and SDL_INTERFACE_AGE to 0.
       
  2076 #
       
  2077 SDL_MAJOR_VERSION=1
       
  2078 SDL_MINOR_VERSION=3
       
  2079 SDL_MICRO_VERSION=0
       
  2080 SDL_INTERFACE_AGE=0
       
  2081 SDL_BINARY_AGE=0
       
  2082 SDL_VERSION=$SDL_MAJOR_VERSION.$SDL_MINOR_VERSION.$SDL_MICRO_VERSION
       
  2083 
       
  2084 
       
  2085 
       
  2086 
       
  2087 
       
  2088 
       
  2089 
       
  2090 
       
  2091 # libtool versioning
       
  2092 case `pwd` in
       
  2093   *\ * | *\	*)
       
  2094     { echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
       
  2095 echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
       
  2096 esac
       
  2097 
       
  2098 
       
  2099 
       
  2100 macro_version='2.2.6'
       
  2101 macro_revision='1.3012'
       
  2102 
       
  2103 
       
  2104 
       
  2105 
       
  2106 
       
  2107 
       
  2108 
       
  2109 
       
  2110 
       
  2111 
       
  2112 
       
  2113 
       
  2114 
       
  2115 ltmain="$ac_aux_dir/ltmain.sh"
       
  2116 
       
  2117 # Make sure we can run config.sub.
       
  2118 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
       
  2119   { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
       
  2120 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
       
  2121    { (exit 1); exit 1; }; }
       
  2122 
       
  2123 { echo "$as_me:$LINENO: checking build system type" >&5
       
  2124 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
       
  2125 if test "${ac_cv_build+set}" = set; then
       
  2126   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  2127 else
       
  2128   ac_build_alias=$build_alias
       
  2129 test "x$ac_build_alias" = x &&
       
  2130   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
       
  2131 test "x$ac_build_alias" = x &&
       
  2132   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
       
  2133 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
       
  2134    { (exit 1); exit 1; }; }
       
  2135 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
       
  2136   { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
       
  2137 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
       
  2138    { (exit 1); exit 1; }; }
       
  2139 
       
  2140 fi
       
  2141 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
       
  2142 echo "${ECHO_T}$ac_cv_build" >&6; }
       
  2143 case $ac_cv_build in
       
  2144 *-*-*) ;;
       
  2145 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
       
  2146 echo "$as_me: error: invalid value of canonical build" >&2;}
       
  2147    { (exit 1); exit 1; }; };;
       
  2148 esac
       
  2149 build=$ac_cv_build
       
  2150 ac_save_IFS=$IFS; IFS='-'
       
  2151 set x $ac_cv_build
       
  2152 shift
       
  2153 build_cpu=$1
       
  2154 build_vendor=$2
       
  2155 shift; shift
       
  2156 # Remember, the first character of IFS is used to create $*,
       
  2157 # except with old shells:
       
  2158 build_os=$*
       
  2159 IFS=$ac_save_IFS
       
  2160 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
       
  2161 
       
  2162 
       
  2163 { echo "$as_me:$LINENO: checking host system type" >&5
       
  2164 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
       
  2165 if test "${ac_cv_host+set}" = set; then
       
  2166   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  2167 else
       
  2168   if test "x$host_alias" = x; then
       
  2169   ac_cv_host=$ac_cv_build
       
  2170 else
       
  2171   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
       
  2172     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
       
  2173 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
       
  2174    { (exit 1); exit 1; }; }
       
  2175 fi
       
  2176 
       
  2177 fi
       
  2178 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
       
  2179 echo "${ECHO_T}$ac_cv_host" >&6; }
       
  2180 case $ac_cv_host in
       
  2181 *-*-*) ;;
       
  2182 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
       
  2183 echo "$as_me: error: invalid value of canonical host" >&2;}
       
  2184    { (exit 1); exit 1; }; };;
       
  2185 esac
       
  2186 host=$ac_cv_host
       
  2187 ac_save_IFS=$IFS; IFS='-'
       
  2188 set x $ac_cv_host
       
  2189 shift
       
  2190 host_cpu=$1
       
  2191 host_vendor=$2
       
  2192 shift; shift
       
  2193 # Remember, the first character of IFS is used to create $*,
       
  2194 # except with old shells:
       
  2195 host_os=$*
       
  2196 IFS=$ac_save_IFS
       
  2197 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
       
  2198 
       
  2199 
       
  2200 ac_ext=c
       
  2201 ac_cpp='$CPP $CPPFLAGS'
       
  2202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
       
  2203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
       
  2204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
       
  2205 if test -n "$ac_tool_prefix"; then
       
  2206   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
       
  2207 set dummy ${ac_tool_prefix}gcc; ac_word=$2
       
  2208 { echo "$as_me:$LINENO: checking for $ac_word" >&5
       
  2209 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
       
  2210 if test "${ac_cv_prog_CC+set}" = set; then
       
  2211   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  2212 else
       
  2213   if test -n "$CC"; then
       
  2214   ac_cv_prog_CC="$CC" # Let the user override the test.
       
  2215 else
       
  2216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  2217 for as_dir in $PATH
       
  2218 do
       
  2219   IFS=$as_save_IFS
       
  2220   test -z "$as_dir" && as_dir=.
       
  2221   for ac_exec_ext in '' $ac_executable_extensions; do
       
  2222   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
       
  2223     ac_cv_prog_CC="${ac_tool_prefix}gcc"
       
  2224     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
       
  2225     break 2
       
  2226   fi
       
  2227 done
       
  2228 done
       
  2229 IFS=$as_save_IFS
       
  2230 
       
  2231 fi
       
  2232 fi
       
  2233 CC=$ac_cv_prog_CC
       
  2234 if test -n "$CC"; then
       
  2235   { echo "$as_me:$LINENO: result: $CC" >&5
       
  2236 echo "${ECHO_T}$CC" >&6; }
       
  2237 else
       
  2238   { echo "$as_me:$LINENO: result: no" >&5
       
  2239 echo "${ECHO_T}no" >&6; }
       
  2240 fi
       
  2241 
       
  2242 
       
  2243 fi
       
  2244 if test -z "$ac_cv_prog_CC"; then
       
  2245   ac_ct_CC=$CC
       
  2246   # Extract the first word of "gcc", so it can be a program name with args.
       
  2247 set dummy gcc; ac_word=$2
       
  2248 { echo "$as_me:$LINENO: checking for $ac_word" >&5
       
  2249 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
       
  2250 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
       
  2251   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  2252 else
       
  2253   if test -n "$ac_ct_CC"; then
       
  2254   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
       
  2255 else
       
  2256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  2257 for as_dir in $PATH
       
  2258 do
       
  2259   IFS=$as_save_IFS
       
  2260   test -z "$as_dir" && as_dir=.
       
  2261   for ac_exec_ext in '' $ac_executable_extensions; do
       
  2262   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
       
  2263     ac_cv_prog_ac_ct_CC="gcc"
       
  2264     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
       
  2265     break 2
       
  2266   fi
       
  2267 done
       
  2268 done
       
  2269 IFS=$as_save_IFS
       
  2270 
       
  2271 fi
       
  2272 fi
       
  2273 ac_ct_CC=$ac_cv_prog_ac_ct_CC
       
  2274 if test -n "$ac_ct_CC"; then
       
  2275   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
       
  2276 echo "${ECHO_T}$ac_ct_CC" >&6; }
       
  2277 else
       
  2278   { echo "$as_me:$LINENO: result: no" >&5
       
  2279 echo "${ECHO_T}no" >&6; }
       
  2280 fi
       
  2281 
       
  2282   if test "x$ac_ct_CC" = x; then
       
  2283     CC=""
       
  2284   else
       
  2285     case $cross_compiling:$ac_tool_warned in
       
  2286 yes:)
       
  2287 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
       
  2288 whose name does not start with the host triplet.  If you think this
       
  2289 configuration is useful to you, please write to autoconf@gnu.org." >&5
       
  2290 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
       
  2291 whose name does not start with the host triplet.  If you think this
       
  2292 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
       
  2293 ac_tool_warned=yes ;;
       
  2294 esac
       
  2295     CC=$ac_ct_CC
       
  2296   fi
       
  2297 else
       
  2298   CC="$ac_cv_prog_CC"
       
  2299 fi
       
  2300 
       
  2301 if test -z "$CC"; then
       
  2302           if test -n "$ac_tool_prefix"; then
       
  2303     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
       
  2304 set dummy ${ac_tool_prefix}cc; ac_word=$2
       
  2305 { echo "$as_me:$LINENO: checking for $ac_word" >&5
       
  2306 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
       
  2307 if test "${ac_cv_prog_CC+set}" = set; then
       
  2308   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  2309 else
       
  2310   if test -n "$CC"; then
       
  2311   ac_cv_prog_CC="$CC" # Let the user override the test.
       
  2312 else
       
  2313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  2314 for as_dir in $PATH
       
  2315 do
       
  2316   IFS=$as_save_IFS
       
  2317   test -z "$as_dir" && as_dir=.
       
  2318   for ac_exec_ext in '' $ac_executable_extensions; do
       
  2319   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
       
  2320     ac_cv_prog_CC="${ac_tool_prefix}cc"
       
  2321     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
       
  2322     break 2
       
  2323   fi
       
  2324 done
       
  2325 done
       
  2326 IFS=$as_save_IFS
       
  2327 
       
  2328 fi
       
  2329 fi
       
  2330 CC=$ac_cv_prog_CC
       
  2331 if test -n "$CC"; then
       
  2332   { echo "$as_me:$LINENO: result: $CC" >&5
       
  2333 echo "${ECHO_T}$CC" >&6; }
       
  2334 else
       
  2335   { echo "$as_me:$LINENO: result: no" >&5
       
  2336 echo "${ECHO_T}no" >&6; }
       
  2337 fi
       
  2338 
       
  2339 
       
  2340   fi
       
  2341 fi
       
  2342 if test -z "$CC"; then
       
  2343   # Extract the first word of "cc", so it can be a program name with args.
       
  2344 set dummy cc; ac_word=$2
       
  2345 { echo "$as_me:$LINENO: checking for $ac_word" >&5
       
  2346 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
       
  2347 if test "${ac_cv_prog_CC+set}" = set; then
       
  2348   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  2349 else
       
  2350   if test -n "$CC"; then
       
  2351   ac_cv_prog_CC="$CC" # Let the user override the test.
       
  2352 else
       
  2353   ac_prog_rejected=no
       
  2354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  2355 for as_dir in $PATH
       
  2356 do
       
  2357   IFS=$as_save_IFS
       
  2358   test -z "$as_dir" && as_dir=.
       
  2359   for ac_exec_ext in '' $ac_executable_extensions; do
       
  2360   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
       
  2361     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
       
  2362        ac_prog_rejected=yes
       
  2363        continue
       
  2364      fi
       
  2365     ac_cv_prog_CC="cc"
       
  2366     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
       
  2367     break 2
       
  2368   fi
       
  2369 done
       
  2370 done
       
  2371 IFS=$as_save_IFS
       
  2372 
       
  2373 if test $ac_prog_rejected = yes; then
       
  2374   # We found a bogon in the path, so make sure we never use it.
       
  2375   set dummy $ac_cv_prog_CC
       
  2376   shift
       
  2377   if test $# != 0; then
       
  2378     # We chose a different compiler from the bogus one.
       
  2379     # However, it has the same basename, so the bogon will be chosen
       
  2380     # first if we set CC to just the basename; use the full file name.
       
  2381     shift
       
  2382     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
       
  2383   fi
       
  2384 fi
       
  2385 fi
       
  2386 fi
       
  2387 CC=$ac_cv_prog_CC
       
  2388 if test -n "$CC"; then
       
  2389   { echo "$as_me:$LINENO: result: $CC" >&5
       
  2390 echo "${ECHO_T}$CC" >&6; }
       
  2391 else
       
  2392   { echo "$as_me:$LINENO: result: no" >&5
       
  2393 echo "${ECHO_T}no" >&6; }
       
  2394 fi
       
  2395 
       
  2396 
       
  2397 fi
       
  2398 if test -z "$CC"; then
       
  2399   if test -n "$ac_tool_prefix"; then
       
  2400   for ac_prog in cl.exe
       
  2401   do
       
  2402     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
       
  2403 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
       
  2404 { echo "$as_me:$LINENO: checking for $ac_word" >&5
       
  2405 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
       
  2406 if test "${ac_cv_prog_CC+set}" = set; then
       
  2407   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  2408 else
       
  2409   if test -n "$CC"; then
       
  2410   ac_cv_prog_CC="$CC" # Let the user override the test.
       
  2411 else
       
  2412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  2413 for as_dir in $PATH
       
  2414 do
       
  2415   IFS=$as_save_IFS
       
  2416   test -z "$as_dir" && as_dir=.
       
  2417   for ac_exec_ext in '' $ac_executable_extensions; do
       
  2418   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
       
  2419     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
       
  2420     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
       
  2421     break 2
       
  2422   fi
       
  2423 done
       
  2424 done
       
  2425 IFS=$as_save_IFS
       
  2426 
       
  2427 fi
       
  2428 fi
       
  2429 CC=$ac_cv_prog_CC
       
  2430 if test -n "$CC"; then
       
  2431   { echo "$as_me:$LINENO: result: $CC" >&5
       
  2432 echo "${ECHO_T}$CC" >&6; }
       
  2433 else
       
  2434   { echo "$as_me:$LINENO: result: no" >&5
       
  2435 echo "${ECHO_T}no" >&6; }
       
  2436 fi
       
  2437 
       
  2438 
       
  2439     test -n "$CC" && break
       
  2440   done
       
  2441 fi
       
  2442 if test -z "$CC"; then
       
  2443   ac_ct_CC=$CC
       
  2444   for ac_prog in cl.exe
       
  2445 do
       
  2446   # Extract the first word of "$ac_prog", so it can be a program name with args.
       
  2447 set dummy $ac_prog; ac_word=$2
       
  2448 { echo "$as_me:$LINENO: checking for $ac_word" >&5
       
  2449 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
       
  2450 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
       
  2451   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  2452 else
       
  2453   if test -n "$ac_ct_CC"; then
       
  2454   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
       
  2455 else
       
  2456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  2457 for as_dir in $PATH
       
  2458 do
       
  2459   IFS=$as_save_IFS
       
  2460   test -z "$as_dir" && as_dir=.
       
  2461   for ac_exec_ext in '' $ac_executable_extensions; do
       
  2462   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
       
  2463     ac_cv_prog_ac_ct_CC="$ac_prog"
       
  2464     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
       
  2465     break 2
       
  2466   fi
       
  2467 done
       
  2468 done
       
  2469 IFS=$as_save_IFS
       
  2470 
       
  2471 fi
       
  2472 fi
       
  2473 ac_ct_CC=$ac_cv_prog_ac_ct_CC
       
  2474 if test -n "$ac_ct_CC"; then
       
  2475   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
       
  2476 echo "${ECHO_T}$ac_ct_CC" >&6; }
       
  2477 else
       
  2478   { echo "$as_me:$LINENO: result: no" >&5
       
  2479 echo "${ECHO_T}no" >&6; }
       
  2480 fi
       
  2481 
       
  2482 
       
  2483   test -n "$ac_ct_CC" && break
       
  2484 done
       
  2485 
       
  2486   if test "x$ac_ct_CC" = x; then
       
  2487     CC=""
       
  2488   else
       
  2489     case $cross_compiling:$ac_tool_warned in
       
  2490 yes:)
       
  2491 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
       
  2492 whose name does not start with the host triplet.  If you think this
       
  2493 configuration is useful to you, please write to autoconf@gnu.org." >&5
       
  2494 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
       
  2495 whose name does not start with the host triplet.  If you think this
       
  2496 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
       
  2497 ac_tool_warned=yes ;;
       
  2498 esac
       
  2499     CC=$ac_ct_CC
       
  2500   fi
       
  2501 fi
       
  2502 
       
  2503 fi
       
  2504 
       
  2505 
       
  2506 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
       
  2507 See \`config.log' for more details." >&5
       
  2508 echo "$as_me: error: no acceptable C compiler found in \$PATH
       
  2509 See \`config.log' for more details." >&2;}
       
  2510    { (exit 1); exit 1; }; }
       
  2511 
       
  2512 # Provide some information about the compiler.
       
  2513 echo "$as_me:$LINENO: checking for C compiler version" >&5
       
  2514 ac_compiler=`set X $ac_compile; echo $2`
       
  2515 { (ac_try="$ac_compiler --version >&5"
       
  2516 case "(($ac_try" in
       
  2517   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  2518   *) ac_try_echo=$ac_try;;
       
  2519 esac
       
  2520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  2521   (eval "$ac_compiler --version >&5") 2>&5
       
  2522   ac_status=$?
       
  2523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  2524   (exit $ac_status); }
       
  2525 { (ac_try="$ac_compiler -v >&5"
       
  2526 case "(($ac_try" in
       
  2527   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  2528   *) ac_try_echo=$ac_try;;
       
  2529 esac
       
  2530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  2531   (eval "$ac_compiler -v >&5") 2>&5
       
  2532   ac_status=$?
       
  2533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  2534   (exit $ac_status); }
       
  2535 { (ac_try="$ac_compiler -V >&5"
       
  2536 case "(($ac_try" in
       
  2537   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  2538   *) ac_try_echo=$ac_try;;
       
  2539 esac
       
  2540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  2541   (eval "$ac_compiler -V >&5") 2>&5
       
  2542   ac_status=$?
       
  2543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  2544   (exit $ac_status); }
       
  2545 
       
  2546 cat >conftest.$ac_ext <<_ACEOF
       
  2547 /* confdefs.h.  */
       
  2548 _ACEOF
       
  2549 cat confdefs.h >>conftest.$ac_ext
       
  2550 cat >>conftest.$ac_ext <<_ACEOF
       
  2551 /* end confdefs.h.  */
       
  2552 
       
  2553 int
       
  2554 main ()
       
  2555 {
       
  2556 
       
  2557   ;
       
  2558   return 0;
       
  2559 }
       
  2560 _ACEOF
       
  2561 ac_clean_files_save=$ac_clean_files
       
  2562 ac_clean_files="$ac_clean_files a.out a.exe b.out"
       
  2563 # Try to create an executable without -o first, disregard a.out.
       
  2564 # It will help us diagnose broken compilers, and finding out an intuition
       
  2565 # of exeext.
       
  2566 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
       
  2567 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
       
  2568 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
       
  2569 #
       
  2570 # List of possible output files, starting from the most likely.
       
  2571 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
       
  2572 # only as a last resort.  b.out is created by i960 compilers.
       
  2573 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
       
  2574 #
       
  2575 # The IRIX 6 linker writes into existing files which may not be
       
  2576 # executable, retaining their permissions.  Remove them first so a
       
  2577 # subsequent execution test works.
       
  2578 ac_rmfiles=
       
  2579 for ac_file in $ac_files
       
  2580 do
       
  2581   case $ac_file in
       
  2582     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
       
  2583     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
       
  2584   esac
       
  2585 done
       
  2586 rm -f $ac_rmfiles
       
  2587 
       
  2588 if { (ac_try="$ac_link_default"
       
  2589 case "(($ac_try" in
       
  2590   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  2591   *) ac_try_echo=$ac_try;;
       
  2592 esac
       
  2593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  2594   (eval "$ac_link_default") 2>&5
       
  2595   ac_status=$?
       
  2596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  2597   (exit $ac_status); }; then
       
  2598   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
       
  2599 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
       
  2600 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
       
  2601 # so that the user can short-circuit this test for compilers unknown to
       
  2602 # Autoconf.
       
  2603 for ac_file in $ac_files ''
       
  2604 do
       
  2605   test -f "$ac_file" || continue
       
  2606   case $ac_file in
       
  2607     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
       
  2608 	;;
       
  2609     [ab].out )
       
  2610 	# We found the default executable, but exeext='' is most
       
  2611 	# certainly right.
       
  2612 	break;;
       
  2613     *.* )
       
  2614         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
       
  2615 	then :; else
       
  2616 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
       
  2617 	fi
       
  2618 	# We set ac_cv_exeext here because the later test for it is not
       
  2619 	# safe: cross compilers may not add the suffix if given an `-o'
       
  2620 	# argument, so we may need to know it at that point already.
       
  2621 	# Even if this section looks crufty: it has the advantage of
       
  2622 	# actually working.
       
  2623 	break;;
       
  2624     * )
       
  2625 	break;;
       
  2626   esac
       
  2627 done
       
  2628 test "$ac_cv_exeext" = no && ac_cv_exeext=
       
  2629 
       
  2630 else
       
  2631   ac_file=''
       
  2632 fi
       
  2633 
       
  2634 { echo "$as_me:$LINENO: result: $ac_file" >&5
       
  2635 echo "${ECHO_T}$ac_file" >&6; }
       
  2636 if test -z "$ac_file"; then
       
  2637   echo "$as_me: failed program was:" >&5
       
  2638 sed 's/^/| /' conftest.$ac_ext >&5
       
  2639 
       
  2640 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
       
  2641 See \`config.log' for more details." >&5
       
  2642 echo "$as_me: error: C compiler cannot create executables
       
  2643 See \`config.log' for more details." >&2;}
       
  2644    { (exit 77); exit 77; }; }
       
  2645 fi
       
  2646 
       
  2647 ac_exeext=$ac_cv_exeext
       
  2648 
       
  2649 # Check that the compiler produces executables we can run.  If not, either
       
  2650 # the compiler is broken, or we cross compile.
       
  2651 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
       
  2652 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
       
  2653 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
       
  2654 # If not cross compiling, check that we can run a simple program.
       
  2655 if test "$cross_compiling" != yes; then
       
  2656   if { ac_try='./$ac_file'
       
  2657   { (case "(($ac_try" in
       
  2658   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  2659   *) ac_try_echo=$ac_try;;
       
  2660 esac
       
  2661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  2662   (eval "$ac_try") 2>&5
       
  2663   ac_status=$?
       
  2664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  2665   (exit $ac_status); }; }; then
       
  2666     cross_compiling=no
       
  2667   else
       
  2668     if test "$cross_compiling" = maybe; then
       
  2669 	cross_compiling=yes
       
  2670     else
       
  2671 	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
       
  2672 If you meant to cross compile, use \`--host'.
       
  2673 See \`config.log' for more details." >&5
       
  2674 echo "$as_me: error: cannot run C compiled programs.
       
  2675 If you meant to cross compile, use \`--host'.
       
  2676 See \`config.log' for more details." >&2;}
       
  2677    { (exit 1); exit 1; }; }
       
  2678     fi
       
  2679   fi
       
  2680 fi
       
  2681 { echo "$as_me:$LINENO: result: yes" >&5
       
  2682 echo "${ECHO_T}yes" >&6; }
       
  2683 
       
  2684 rm -f a.out a.exe conftest$ac_cv_exeext b.out
       
  2685 ac_clean_files=$ac_clean_files_save
       
  2686 # Check that the compiler produces executables we can run.  If not, either
       
  2687 # the compiler is broken, or we cross compile.
       
  2688 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
       
  2689 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
       
  2690 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
       
  2691 echo "${ECHO_T}$cross_compiling" >&6; }
       
  2692 
       
  2693 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
       
  2694 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
       
  2695 if { (ac_try="$ac_link"
       
  2696 case "(($ac_try" in
       
  2697   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  2698   *) ac_try_echo=$ac_try;;
       
  2699 esac
       
  2700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  2701   (eval "$ac_link") 2>&5
       
  2702   ac_status=$?
       
  2703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  2704   (exit $ac_status); }; then
       
  2705   # If both `conftest.exe' and `conftest' are `present' (well, observable)
       
  2706 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
       
  2707 # work properly (i.e., refer to `conftest.exe'), while it won't with
       
  2708 # `rm'.
       
  2709 for ac_file in conftest.exe conftest conftest.*; do
       
  2710   test -f "$ac_file" || continue
       
  2711   case $ac_file in
       
  2712     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
       
  2713     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
       
  2714 	  break;;
       
  2715     * ) break;;
       
  2716   esac
       
  2717 done
       
  2718 else
       
  2719   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
       
  2720 See \`config.log' for more details." >&5
       
  2721 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
       
  2722 See \`config.log' for more details." >&2;}
       
  2723    { (exit 1); exit 1; }; }
       
  2724 fi
       
  2725 
       
  2726 rm -f conftest$ac_cv_exeext
       
  2727 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
       
  2728 echo "${ECHO_T}$ac_cv_exeext" >&6; }
       
  2729 
       
  2730 rm -f conftest.$ac_ext
       
  2731 EXEEXT=$ac_cv_exeext
       
  2732 ac_exeext=$EXEEXT
       
  2733 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
       
  2734 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
       
  2735 if test "${ac_cv_objext+set}" = set; then
       
  2736   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  2737 else
       
  2738   cat >conftest.$ac_ext <<_ACEOF
       
  2739 /* confdefs.h.  */
       
  2740 _ACEOF
       
  2741 cat confdefs.h >>conftest.$ac_ext
       
  2742 cat >>conftest.$ac_ext <<_ACEOF
       
  2743 /* end confdefs.h.  */
       
  2744 
       
  2745 int
       
  2746 main ()
       
  2747 {
       
  2748 
       
  2749   ;
       
  2750   return 0;
       
  2751 }
       
  2752 _ACEOF
       
  2753 rm -f conftest.o conftest.obj
       
  2754 if { (ac_try="$ac_compile"
       
  2755 case "(($ac_try" in
       
  2756   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  2757   *) ac_try_echo=$ac_try;;
       
  2758 esac
       
  2759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  2760   (eval "$ac_compile") 2>&5
       
  2761   ac_status=$?
       
  2762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  2763   (exit $ac_status); }; then
       
  2764   for ac_file in conftest.o conftest.obj conftest.*; do
       
  2765   test -f "$ac_file" || continue;
       
  2766   case $ac_file in
       
  2767     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
       
  2768     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
       
  2769        break;;
       
  2770   esac
       
  2771 done
       
  2772 else
       
  2773   echo "$as_me: failed program was:" >&5
       
  2774 sed 's/^/| /' conftest.$ac_ext >&5
       
  2775 
       
  2776 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
       
  2777 See \`config.log' for more details." >&5
       
  2778 echo "$as_me: error: cannot compute suffix of object files: cannot compile
       
  2779 See \`config.log' for more details." >&2;}
       
  2780    { (exit 1); exit 1; }; }
       
  2781 fi
       
  2782 
       
  2783 rm -f conftest.$ac_cv_objext conftest.$ac_ext
       
  2784 fi
       
  2785 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
       
  2786 echo "${ECHO_T}$ac_cv_objext" >&6; }
       
  2787 OBJEXT=$ac_cv_objext
       
  2788 ac_objext=$OBJEXT
       
  2789 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
       
  2790 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
       
  2791 if test "${ac_cv_c_compiler_gnu+set}" = set; then
       
  2792   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  2793 else
       
  2794   cat >conftest.$ac_ext <<_ACEOF
       
  2795 /* confdefs.h.  */
       
  2796 _ACEOF
       
  2797 cat confdefs.h >>conftest.$ac_ext
       
  2798 cat >>conftest.$ac_ext <<_ACEOF
       
  2799 /* end confdefs.h.  */
       
  2800 
       
  2801 int
       
  2802 main ()
       
  2803 {
       
  2804 #ifndef __GNUC__
       
  2805        choke me
       
  2806 #endif
       
  2807 
       
  2808   ;
       
  2809   return 0;
       
  2810 }
       
  2811 _ACEOF
       
  2812 rm -f conftest.$ac_objext
       
  2813 if { (ac_try="$ac_compile"
       
  2814 case "(($ac_try" in
       
  2815   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  2816   *) ac_try_echo=$ac_try;;
       
  2817 esac
       
  2818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  2819   (eval "$ac_compile") 2>conftest.er1
       
  2820   ac_status=$?
       
  2821   grep -v '^ *+' conftest.er1 >conftest.err
       
  2822   rm -f conftest.er1
       
  2823   cat conftest.err >&5
       
  2824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  2825   (exit $ac_status); } && {
       
  2826 	 test -z "$ac_c_werror_flag" ||
       
  2827 	 test ! -s conftest.err
       
  2828        } && test -s conftest.$ac_objext; then
       
  2829   ac_compiler_gnu=yes
       
  2830 else
       
  2831   echo "$as_me: failed program was:" >&5
       
  2832 sed 's/^/| /' conftest.$ac_ext >&5
       
  2833 
       
  2834 	ac_compiler_gnu=no
       
  2835 fi
       
  2836 
       
  2837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  2838 ac_cv_c_compiler_gnu=$ac_compiler_gnu
       
  2839 
       
  2840 fi
       
  2841 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
       
  2842 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
       
  2843 GCC=`test $ac_compiler_gnu = yes && echo yes`
       
  2844 ac_test_CFLAGS=${CFLAGS+set}
       
  2845 ac_save_CFLAGS=$CFLAGS
       
  2846 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
       
  2847 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
       
  2848 if test "${ac_cv_prog_cc_g+set}" = set; then
       
  2849   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  2850 else
       
  2851   ac_save_c_werror_flag=$ac_c_werror_flag
       
  2852    ac_c_werror_flag=yes
       
  2853    ac_cv_prog_cc_g=no
       
  2854    CFLAGS="-g"
       
  2855    cat >conftest.$ac_ext <<_ACEOF
       
  2856 /* confdefs.h.  */
       
  2857 _ACEOF
       
  2858 cat confdefs.h >>conftest.$ac_ext
       
  2859 cat >>conftest.$ac_ext <<_ACEOF
       
  2860 /* end confdefs.h.  */
       
  2861 
       
  2862 int
       
  2863 main ()
       
  2864 {
       
  2865 
       
  2866   ;
       
  2867   return 0;
       
  2868 }
       
  2869 _ACEOF
       
  2870 rm -f conftest.$ac_objext
       
  2871 if { (ac_try="$ac_compile"
       
  2872 case "(($ac_try" in
       
  2873   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  2874   *) ac_try_echo=$ac_try;;
       
  2875 esac
       
  2876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  2877   (eval "$ac_compile") 2>conftest.er1
       
  2878   ac_status=$?
       
  2879   grep -v '^ *+' conftest.er1 >conftest.err
       
  2880   rm -f conftest.er1
       
  2881   cat conftest.err >&5
       
  2882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  2883   (exit $ac_status); } && {
       
  2884 	 test -z "$ac_c_werror_flag" ||
       
  2885 	 test ! -s conftest.err
       
  2886        } && test -s conftest.$ac_objext; then
       
  2887   ac_cv_prog_cc_g=yes
       
  2888 else
       
  2889   echo "$as_me: failed program was:" >&5
       
  2890 sed 's/^/| /' conftest.$ac_ext >&5
       
  2891 
       
  2892 	CFLAGS=""
       
  2893       cat >conftest.$ac_ext <<_ACEOF
       
  2894 /* confdefs.h.  */
       
  2895 _ACEOF
       
  2896 cat confdefs.h >>conftest.$ac_ext
       
  2897 cat >>conftest.$ac_ext <<_ACEOF
       
  2898 /* end confdefs.h.  */
       
  2899 
       
  2900 int
       
  2901 main ()
       
  2902 {
       
  2903 
       
  2904   ;
       
  2905   return 0;
       
  2906 }
       
  2907 _ACEOF
       
  2908 rm -f conftest.$ac_objext
       
  2909 if { (ac_try="$ac_compile"
       
  2910 case "(($ac_try" in
       
  2911   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  2912   *) ac_try_echo=$ac_try;;
       
  2913 esac
       
  2914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  2915   (eval "$ac_compile") 2>conftest.er1
       
  2916   ac_status=$?
       
  2917   grep -v '^ *+' conftest.er1 >conftest.err
       
  2918   rm -f conftest.er1
       
  2919   cat conftest.err >&5
       
  2920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  2921   (exit $ac_status); } && {
       
  2922 	 test -z "$ac_c_werror_flag" ||
       
  2923 	 test ! -s conftest.err
       
  2924        } && test -s conftest.$ac_objext; then
       
  2925   :
       
  2926 else
       
  2927   echo "$as_me: failed program was:" >&5
       
  2928 sed 's/^/| /' conftest.$ac_ext >&5
       
  2929 
       
  2930 	ac_c_werror_flag=$ac_save_c_werror_flag
       
  2931 	 CFLAGS="-g"
       
  2932 	 cat >conftest.$ac_ext <<_ACEOF
       
  2933 /* confdefs.h.  */
       
  2934 _ACEOF
       
  2935 cat confdefs.h >>conftest.$ac_ext
       
  2936 cat >>conftest.$ac_ext <<_ACEOF
       
  2937 /* end confdefs.h.  */
       
  2938 
       
  2939 int
       
  2940 main ()
       
  2941 {
       
  2942 
       
  2943   ;
       
  2944   return 0;
       
  2945 }
       
  2946 _ACEOF
       
  2947 rm -f conftest.$ac_objext
       
  2948 if { (ac_try="$ac_compile"
       
  2949 case "(($ac_try" in
       
  2950   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  2951   *) ac_try_echo=$ac_try;;
       
  2952 esac
       
  2953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  2954   (eval "$ac_compile") 2>conftest.er1
       
  2955   ac_status=$?
       
  2956   grep -v '^ *+' conftest.er1 >conftest.err
       
  2957   rm -f conftest.er1
       
  2958   cat conftest.err >&5
       
  2959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  2960   (exit $ac_status); } && {
       
  2961 	 test -z "$ac_c_werror_flag" ||
       
  2962 	 test ! -s conftest.err
       
  2963        } && test -s conftest.$ac_objext; then
       
  2964   ac_cv_prog_cc_g=yes
       
  2965 else
       
  2966   echo "$as_me: failed program was:" >&5
       
  2967 sed 's/^/| /' conftest.$ac_ext >&5
       
  2968 
       
  2969 
       
  2970 fi
       
  2971 
       
  2972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  2973 fi
       
  2974 
       
  2975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  2976 fi
       
  2977 
       
  2978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  2979    ac_c_werror_flag=$ac_save_c_werror_flag
       
  2980 fi
       
  2981 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
       
  2982 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
       
  2983 if test "$ac_test_CFLAGS" = set; then
       
  2984   CFLAGS=$ac_save_CFLAGS
       
  2985 elif test $ac_cv_prog_cc_g = yes; then
       
  2986   if test "$GCC" = yes; then
       
  2987     CFLAGS="-g -O2"
       
  2988   else
       
  2989     CFLAGS="-g"
       
  2990   fi
       
  2991 else
       
  2992   if test "$GCC" = yes; then
       
  2993     CFLAGS="-O2"
       
  2994   else
       
  2995     CFLAGS=
       
  2996   fi
       
  2997 fi
       
  2998 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
       
  2999 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
       
  3000 if test "${ac_cv_prog_cc_c89+set}" = set; then
       
  3001   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  3002 else
       
  3003   ac_cv_prog_cc_c89=no
       
  3004 ac_save_CC=$CC
       
  3005 cat >conftest.$ac_ext <<_ACEOF
       
  3006 /* confdefs.h.  */
       
  3007 _ACEOF
       
  3008 cat confdefs.h >>conftest.$ac_ext
       
  3009 cat >>conftest.$ac_ext <<_ACEOF
       
  3010 /* end confdefs.h.  */
       
  3011 #include <stdarg.h>
       
  3012 #include <stdio.h>
       
  3013 #include <sys/types.h>
       
  3014 #include <sys/stat.h>
       
  3015 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
       
  3016 struct buf { int x; };
       
  3017 FILE * (*rcsopen) (struct buf *, struct stat *, int);
       
  3018 static char *e (p, i)
       
  3019      char **p;
       
  3020      int i;
       
  3021 {
       
  3022   return p[i];
       
  3023 }
       
  3024 static char *f (char * (*g) (char **, int), char **p, ...)
       
  3025 {
       
  3026   char *s;
       
  3027   va_list v;
       
  3028   va_start (v,p);
       
  3029   s = g (p, va_arg (v,int));
       
  3030   va_end (v);
       
  3031   return s;
       
  3032 }
       
  3033 
       
  3034 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
       
  3035    function prototypes and stuff, but not '\xHH' hex character constants.
       
  3036    These don't provoke an error unfortunately, instead are silently treated
       
  3037    as 'x'.  The following induces an error, until -std is added to get
       
  3038    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
       
  3039    array size at least.  It's necessary to write '\x00'==0 to get something
       
  3040    that's true only with -std.  */
       
  3041 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
       
  3042 
       
  3043 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
       
  3044    inside strings and character constants.  */
       
  3045 #define FOO(x) 'x'
       
  3046 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
       
  3047 
       
  3048 int test (int i, double x);
       
  3049 struct s1 {int (*f) (int a);};
       
  3050 struct s2 {int (*f) (double a);};
       
  3051 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
       
  3052 int argc;
       
  3053 char **argv;
       
  3054 int
       
  3055 main ()
       
  3056 {
       
  3057 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
       
  3058   ;
       
  3059   return 0;
       
  3060 }
       
  3061 _ACEOF
       
  3062 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
       
  3063 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
       
  3064 do
       
  3065   CC="$ac_save_CC $ac_arg"
       
  3066   rm -f conftest.$ac_objext
       
  3067 if { (ac_try="$ac_compile"
       
  3068 case "(($ac_try" in
       
  3069   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  3070   *) ac_try_echo=$ac_try;;
       
  3071 esac
       
  3072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  3073   (eval "$ac_compile") 2>conftest.er1
       
  3074   ac_status=$?
       
  3075   grep -v '^ *+' conftest.er1 >conftest.err
       
  3076   rm -f conftest.er1
       
  3077   cat conftest.err >&5
       
  3078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  3079   (exit $ac_status); } && {
       
  3080 	 test -z "$ac_c_werror_flag" ||
       
  3081 	 test ! -s conftest.err
       
  3082        } && test -s conftest.$ac_objext; then
       
  3083   ac_cv_prog_cc_c89=$ac_arg
       
  3084 else
       
  3085   echo "$as_me: failed program was:" >&5
       
  3086 sed 's/^/| /' conftest.$ac_ext >&5
       
  3087 
       
  3088 
       
  3089 fi
       
  3090 
       
  3091 rm -f core conftest.err conftest.$ac_objext
       
  3092   test "x$ac_cv_prog_cc_c89" != "xno" && break
       
  3093 done
       
  3094 rm -f conftest.$ac_ext
       
  3095 CC=$ac_save_CC
       
  3096 
       
  3097 fi
       
  3098 # AC_CACHE_VAL
       
  3099 case "x$ac_cv_prog_cc_c89" in
       
  3100   x)
       
  3101     { echo "$as_me:$LINENO: result: none needed" >&5
       
  3102 echo "${ECHO_T}none needed" >&6; } ;;
       
  3103   xno)
       
  3104     { echo "$as_me:$LINENO: result: unsupported" >&5
       
  3105 echo "${ECHO_T}unsupported" >&6; } ;;
       
  3106   *)
       
  3107     CC="$CC $ac_cv_prog_cc_c89"
       
  3108     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
       
  3109 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
       
  3110 esac
       
  3111 
       
  3112 
       
  3113 ac_ext=c
       
  3114 ac_cpp='$CPP $CPPFLAGS'
       
  3115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
       
  3116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
       
  3117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
       
  3118 
       
  3119 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
       
  3120 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
       
  3121 if test "${ac_cv_path_SED+set}" = set; then
       
  3122   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  3123 else
       
  3124             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
       
  3125      for ac_i in 1 2 3 4 5 6 7; do
       
  3126        ac_script="$ac_script$as_nl$ac_script"
       
  3127      done
       
  3128      echo "$ac_script" | sed 99q >conftest.sed
       
  3129      $as_unset ac_script || ac_script=
       
  3130      # Extract the first word of "sed gsed" to use in msg output
       
  3131 if test -z "$SED"; then
       
  3132 set dummy sed gsed; ac_prog_name=$2
       
  3133 if test "${ac_cv_path_SED+set}" = set; then
       
  3134   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  3135 else
       
  3136   ac_path_SED_found=false
       
  3137 # Loop through the user's path and test for each of PROGNAME-LIST
       
  3138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  3139 for as_dir in $PATH
       
  3140 do
       
  3141   IFS=$as_save_IFS
       
  3142   test -z "$as_dir" && as_dir=.
       
  3143   for ac_prog in sed gsed; do
       
  3144   for ac_exec_ext in '' $ac_executable_extensions; do
       
  3145     ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
       
  3146     { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
       
  3147     # Check for GNU ac_path_SED and select it if it is found.
       
  3148   # Check for GNU $ac_path_SED
       
  3149 case `"$ac_path_SED" --version 2>&1` in
       
  3150 *GNU*)
       
  3151   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
       
  3152 *)
       
  3153   ac_count=0
       
  3154   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
       
  3155   while :
       
  3156   do
       
  3157     cat "conftest.in" "conftest.in" >"conftest.tmp"
       
  3158     mv "conftest.tmp" "conftest.in"
       
  3159     cp "conftest.in" "conftest.nl"
       
  3160     echo '' >> "conftest.nl"
       
  3161     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
       
  3162     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
       
  3163     ac_count=`expr $ac_count + 1`
       
  3164     if test $ac_count -gt ${ac_path_SED_max-0}; then
       
  3165       # Best one so far, save it but keep looking for a better one
       
  3166       ac_cv_path_SED="$ac_path_SED"
       
  3167       ac_path_SED_max=$ac_count
       
  3168     fi
       
  3169     # 10*(2^10) chars as input seems more than enough
       
  3170     test $ac_count -gt 10 && break
       
  3171   done
       
  3172   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
       
  3173 esac
       
  3174 
       
  3175 
       
  3176     $ac_path_SED_found && break 3
       
  3177   done
       
  3178 done
       
  3179 
       
  3180 done
       
  3181 IFS=$as_save_IFS
       
  3182 
       
  3183 
       
  3184 fi
       
  3185 
       
  3186 SED="$ac_cv_path_SED"
       
  3187 if test -z "$SED"; then
       
  3188   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
       
  3189 echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
       
  3190    { (exit 1); exit 1; }; }
       
  3191 fi
       
  3192 
       
  3193 else
       
  3194   ac_cv_path_SED=$SED
       
  3195 fi
       
  3196 
       
  3197 fi
       
  3198 { echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
       
  3199 echo "${ECHO_T}$ac_cv_path_SED" >&6; }
       
  3200  SED="$ac_cv_path_SED"
       
  3201   rm -f conftest.sed
       
  3202 
       
  3203 test -z "$SED" && SED=sed
       
  3204 Xsed="$SED -e 1s/^X//"
       
  3205 
       
  3206 
       
  3207 
       
  3208 
       
  3209 
       
  3210 
       
  3211 
       
  3212 
       
  3213 
       
  3214 
       
  3215 
       
  3216 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
       
  3217 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
       
  3218 if test "${ac_cv_path_GREP+set}" = set; then
       
  3219   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  3220 else
       
  3221   # Extract the first word of "grep ggrep" to use in msg output
       
  3222 if test -z "$GREP"; then
       
  3223 set dummy grep ggrep; ac_prog_name=$2
       
  3224 if test "${ac_cv_path_GREP+set}" = set; then
       
  3225   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  3226 else
       
  3227   ac_path_GREP_found=false
       
  3228 # Loop through the user's path and test for each of PROGNAME-LIST
       
  3229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  3230 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
       
  3231 do
       
  3232   IFS=$as_save_IFS
       
  3233   test -z "$as_dir" && as_dir=.
       
  3234   for ac_prog in grep ggrep; do
       
  3235   for ac_exec_ext in '' $ac_executable_extensions; do
       
  3236     ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
       
  3237     { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
       
  3238     # Check for GNU ac_path_GREP and select it if it is found.
       
  3239   # Check for GNU $ac_path_GREP
       
  3240 case `"$ac_path_GREP" --version 2>&1` in
       
  3241 *GNU*)
       
  3242   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
       
  3243 *)
       
  3244   ac_count=0
       
  3245   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
       
  3246   while :
       
  3247   do
       
  3248     cat "conftest.in" "conftest.in" >"conftest.tmp"
       
  3249     mv "conftest.tmp" "conftest.in"
       
  3250     cp "conftest.in" "conftest.nl"
       
  3251     echo 'GREP' >> "conftest.nl"
       
  3252     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
       
  3253     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
       
  3254     ac_count=`expr $ac_count + 1`
       
  3255     if test $ac_count -gt ${ac_path_GREP_max-0}; then
       
  3256       # Best one so far, save it but keep looking for a better one
       
  3257       ac_cv_path_GREP="$ac_path_GREP"
       
  3258       ac_path_GREP_max=$ac_count
       
  3259     fi
       
  3260     # 10*(2^10) chars as input seems more than enough
       
  3261     test $ac_count -gt 10 && break
       
  3262   done
       
  3263   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
       
  3264 esac
       
  3265 
       
  3266 
       
  3267     $ac_path_GREP_found && break 3
       
  3268   done
       
  3269 done
       
  3270 
       
  3271 done
       
  3272 IFS=$as_save_IFS
       
  3273 
       
  3274 
       
  3275 fi
       
  3276 
       
  3277 GREP="$ac_cv_path_GREP"
       
  3278 if test -z "$GREP"; then
       
  3279   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
       
  3280 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
       
  3281    { (exit 1); exit 1; }; }
       
  3282 fi
       
  3283 
       
  3284 else
       
  3285   ac_cv_path_GREP=$GREP
       
  3286 fi
       
  3287 
       
  3288 
       
  3289 fi
       
  3290 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
       
  3291 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
       
  3292  GREP="$ac_cv_path_GREP"
       
  3293 
       
  3294 
       
  3295 { echo "$as_me:$LINENO: checking for egrep" >&5
       
  3296 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
       
  3297 if test "${ac_cv_path_EGREP+set}" = set; then
       
  3298   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  3299 else
       
  3300   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
       
  3301    then ac_cv_path_EGREP="$GREP -E"
       
  3302    else
       
  3303      # Extract the first word of "egrep" to use in msg output
       
  3304 if test -z "$EGREP"; then
       
  3305 set dummy egrep; ac_prog_name=$2
       
  3306 if test "${ac_cv_path_EGREP+set}" = set; then
       
  3307   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  3308 else
       
  3309   ac_path_EGREP_found=false
       
  3310 # Loop through the user's path and test for each of PROGNAME-LIST
       
  3311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  3312 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
       
  3313 do
       
  3314   IFS=$as_save_IFS
       
  3315   test -z "$as_dir" && as_dir=.
       
  3316   for ac_prog in egrep; do
       
  3317   for ac_exec_ext in '' $ac_executable_extensions; do
       
  3318     ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
       
  3319     { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
       
  3320     # Check for GNU ac_path_EGREP and select it if it is found.
       
  3321   # Check for GNU $ac_path_EGREP
       
  3322 case `"$ac_path_EGREP" --version 2>&1` in
       
  3323 *GNU*)
       
  3324   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
       
  3325 *)
       
  3326   ac_count=0
       
  3327   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
       
  3328   while :
       
  3329   do
       
  3330     cat "conftest.in" "conftest.in" >"conftest.tmp"
       
  3331     mv "conftest.tmp" "conftest.in"
       
  3332     cp "conftest.in" "conftest.nl"
       
  3333     echo 'EGREP' >> "conftest.nl"
       
  3334     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
       
  3335     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
       
  3336     ac_count=`expr $ac_count + 1`
       
  3337     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
       
  3338       # Best one so far, save it but keep looking for a better one
       
  3339       ac_cv_path_EGREP="$ac_path_EGREP"
       
  3340       ac_path_EGREP_max=$ac_count
       
  3341     fi
       
  3342     # 10*(2^10) chars as input seems more than enough
       
  3343     test $ac_count -gt 10 && break
       
  3344   done
       
  3345   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
       
  3346 esac
       
  3347 
       
  3348 
       
  3349     $ac_path_EGREP_found && break 3
       
  3350   done
       
  3351 done
       
  3352 
       
  3353 done
       
  3354 IFS=$as_save_IFS
       
  3355 
       
  3356 
       
  3357 fi
       
  3358 
       
  3359 EGREP="$ac_cv_path_EGREP"
       
  3360 if test -z "$EGREP"; then
       
  3361   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
       
  3362 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
       
  3363    { (exit 1); exit 1; }; }
       
  3364 fi
       
  3365 
       
  3366 else
       
  3367   ac_cv_path_EGREP=$EGREP
       
  3368 fi
       
  3369 
       
  3370 
       
  3371    fi
       
  3372 fi
       
  3373 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
       
  3374 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
       
  3375  EGREP="$ac_cv_path_EGREP"
       
  3376 
       
  3377 
       
  3378 { echo "$as_me:$LINENO: checking for fgrep" >&5
       
  3379 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6; }
       
  3380 if test "${ac_cv_path_FGREP+set}" = set; then
       
  3381   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  3382 else
       
  3383   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
       
  3384    then ac_cv_path_FGREP="$GREP -F"
       
  3385    else
       
  3386      # Extract the first word of "fgrep" to use in msg output
       
  3387 if test -z "$FGREP"; then
       
  3388 set dummy fgrep; ac_prog_name=$2
       
  3389 if test "${ac_cv_path_FGREP+set}" = set; then
       
  3390   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  3391 else
       
  3392   ac_path_FGREP_found=false
       
  3393 # Loop through the user's path and test for each of PROGNAME-LIST
       
  3394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  3395 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
       
  3396 do
       
  3397   IFS=$as_save_IFS
       
  3398   test -z "$as_dir" && as_dir=.
       
  3399   for ac_prog in fgrep; do
       
  3400   for ac_exec_ext in '' $ac_executable_extensions; do
       
  3401     ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
       
  3402     { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
       
  3403     # Check for GNU ac_path_FGREP and select it if it is found.
       
  3404   # Check for GNU $ac_path_FGREP
       
  3405 case `"$ac_path_FGREP" --version 2>&1` in
       
  3406 *GNU*)
       
  3407   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
       
  3408 *)
       
  3409   ac_count=0
       
  3410   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
       
  3411   while :
       
  3412   do
       
  3413     cat "conftest.in" "conftest.in" >"conftest.tmp"
       
  3414     mv "conftest.tmp" "conftest.in"
       
  3415     cp "conftest.in" "conftest.nl"
       
  3416     echo 'FGREP' >> "conftest.nl"
       
  3417     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
       
  3418     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
       
  3419     ac_count=`expr $ac_count + 1`
       
  3420     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
       
  3421       # Best one so far, save it but keep looking for a better one
       
  3422       ac_cv_path_FGREP="$ac_path_FGREP"
       
  3423       ac_path_FGREP_max=$ac_count
       
  3424     fi
       
  3425     # 10*(2^10) chars as input seems more than enough
       
  3426     test $ac_count -gt 10 && break
       
  3427   done
       
  3428   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
       
  3429 esac
       
  3430 
       
  3431 
       
  3432     $ac_path_FGREP_found && break 3
       
  3433   done
       
  3434 done
       
  3435 
       
  3436 done
       
  3437 IFS=$as_save_IFS
       
  3438 
       
  3439 
       
  3440 fi
       
  3441 
       
  3442 FGREP="$ac_cv_path_FGREP"
       
  3443 if test -z "$FGREP"; then
       
  3444   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
       
  3445 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
       
  3446    { (exit 1); exit 1; }; }
       
  3447 fi
       
  3448 
       
  3449 else
       
  3450   ac_cv_path_FGREP=$FGREP
       
  3451 fi
       
  3452 
       
  3453 
       
  3454    fi
       
  3455 fi
       
  3456 { echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
       
  3457 echo "${ECHO_T}$ac_cv_path_FGREP" >&6; }
       
  3458  FGREP="$ac_cv_path_FGREP"
       
  3459 
       
  3460 
       
  3461 test -z "$GREP" && GREP=grep
       
  3462 
       
  3463 
       
  3464 
       
  3465 
       
  3466 
       
  3467 
       
  3468 
       
  3469 
       
  3470 
       
  3471 
       
  3472 
       
  3473 
       
  3474 
       
  3475 
       
  3476 
       
  3477 
       
  3478 
       
  3479 
       
  3480 
       
  3481 # Check whether --with-gnu-ld was given.
       
  3482 if test "${with_gnu_ld+set}" = set; then
       
  3483   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
       
  3484 else
       
  3485   with_gnu_ld=no
       
  3486 fi
       
  3487 
       
  3488 ac_prog=ld
       
  3489 if test "$GCC" = yes; then
       
  3490   # Check if gcc -print-prog-name=ld gives a path.
       
  3491   { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
       
  3492 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
       
  3493   case $host in
       
  3494   *-*-mingw*)
       
  3495     # gcc leaves a trailing carriage return which upsets mingw
       
  3496     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
       
  3497   *)
       
  3498     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
       
  3499   esac
       
  3500   case $ac_prog in
       
  3501     # Accept absolute paths.
       
  3502     [\\/]* | ?:[\\/]*)
       
  3503       re_direlt='/[^/][^/]*/\.\./'
       
  3504       # Canonicalize the pathname of ld
       
  3505       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
       
  3506       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
       
  3507 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
       
  3508       done
       
  3509       test -z "$LD" && LD="$ac_prog"
       
  3510       ;;
       
  3511   "")
       
  3512     # If it fails, then pretend we aren't using GCC.
       
  3513     ac_prog=ld
       
  3514     ;;
       
  3515   *)
       
  3516     # If it is relative, then search for the first ld in PATH.
       
  3517     with_gnu_ld=unknown
       
  3518     ;;
       
  3519   esac
       
  3520 elif test "$with_gnu_ld" = yes; then
       
  3521   { echo "$as_me:$LINENO: checking for GNU ld" >&5
       
  3522 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
       
  3523 else
       
  3524   { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
       
  3525 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
       
  3526 fi
       
  3527 if test "${lt_cv_path_LD+set}" = set; then
       
  3528   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  3529 else
       
  3530   if test -z "$LD"; then
       
  3531   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
       
  3532   for ac_dir in $PATH; do
       
  3533     IFS="$lt_save_ifs"
       
  3534     test -z "$ac_dir" && ac_dir=.
       
  3535     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
       
  3536       lt_cv_path_LD="$ac_dir/$ac_prog"
       
  3537       # Check to see if the program is GNU ld.  I'd rather use --version,
       
  3538       # but apparently some variants of GNU ld only accept -v.
       
  3539       # Break only if it was the GNU/non-GNU ld that we prefer.
       
  3540       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
       
  3541       *GNU* | *'with BFD'*)
       
  3542 	test "$with_gnu_ld" != no && break
       
  3543 	;;
       
  3544       *)
       
  3545 	test "$with_gnu_ld" != yes && break
       
  3546 	;;
       
  3547       esac
       
  3548     fi
       
  3549   done
       
  3550   IFS="$lt_save_ifs"
       
  3551 else
       
  3552   lt_cv_path_LD="$LD" # Let the user override the test with a path.
       
  3553 fi
       
  3554 fi
       
  3555 
       
  3556 LD="$lt_cv_path_LD"
       
  3557 if test -n "$LD"; then
       
  3558   { echo "$as_me:$LINENO: result: $LD" >&5
       
  3559 echo "${ECHO_T}$LD" >&6; }
       
  3560 else
       
  3561   { echo "$as_me:$LINENO: result: no" >&5
       
  3562 echo "${ECHO_T}no" >&6; }
       
  3563 fi
       
  3564 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
       
  3565 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
       
  3566    { (exit 1); exit 1; }; }
       
  3567 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
       
  3568 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
       
  3569 if test "${lt_cv_prog_gnu_ld+set}" = set; then
       
  3570   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  3571 else
       
  3572   # I'd rather use --version here, but apparently some GNU lds only accept -v.
       
  3573 case `$LD -v 2>&1 </dev/null` in
       
  3574 *GNU* | *'with BFD'*)
       
  3575   lt_cv_prog_gnu_ld=yes
       
  3576   ;;
       
  3577 *)
       
  3578   lt_cv_prog_gnu_ld=no
       
  3579   ;;
       
  3580 esac
       
  3581 fi
       
  3582 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
       
  3583 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
       
  3584 with_gnu_ld=$lt_cv_prog_gnu_ld
       
  3585 
       
  3586 
       
  3587 
       
  3588 
       
  3589 
       
  3590 
       
  3591 
       
  3592 
       
  3593 
       
  3594 { echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
       
  3595 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6; }
       
  3596 if test "${lt_cv_path_NM+set}" = set; then
       
  3597   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  3598 else
       
  3599   if test -n "$NM"; then
       
  3600   # Let the user override the test.
       
  3601   lt_cv_path_NM="$NM"
       
  3602 else
       
  3603   lt_nm_to_check="${ac_tool_prefix}nm"
       
  3604   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
       
  3605     lt_nm_to_check="$lt_nm_to_check nm"
       
  3606   fi
       
  3607   for lt_tmp_nm in $lt_nm_to_check; do
       
  3608     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
       
  3609     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
       
  3610       IFS="$lt_save_ifs"
       
  3611       test -z "$ac_dir" && ac_dir=.
       
  3612       tmp_nm="$ac_dir/$lt_tmp_nm"
       
  3613       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
       
  3614 	# Check to see if the nm accepts a BSD-compat flag.
       
  3615 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
       
  3616 	#   nm: unknown option "B" ignored
       
  3617 	# Tru64's nm complains that /dev/null is an invalid object file
       
  3618 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
       
  3619 	*/dev/null* | *'Invalid file or object type'*)
       
  3620 	  lt_cv_path_NM="$tmp_nm -B"
       
  3621 	  break
       
  3622 	  ;;
       
  3623 	*)
       
  3624 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
       
  3625 	  */dev/null*)
       
  3626 	    lt_cv_path_NM="$tmp_nm -p"
       
  3627 	    break
       
  3628 	    ;;
       
  3629 	  *)
       
  3630 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
       
  3631 	    continue # so that we can try to find one that supports BSD flags
       
  3632 	    ;;
       
  3633 	  esac
       
  3634 	  ;;
       
  3635 	esac
       
  3636       fi
       
  3637     done
       
  3638     IFS="$lt_save_ifs"
       
  3639   done
       
  3640   : ${lt_cv_path_NM=no}
       
  3641 fi
       
  3642 fi
       
  3643 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
       
  3644 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
       
  3645 if test "$lt_cv_path_NM" != "no"; then
       
  3646   NM="$lt_cv_path_NM"
       
  3647 else
       
  3648   # Didn't find any BSD compatible name lister, look for dumpbin.
       
  3649   if test -n "$ac_tool_prefix"; then
       
  3650   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
       
  3651   do
       
  3652     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
       
  3653 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
       
  3654 { echo "$as_me:$LINENO: checking for $ac_word" >&5
       
  3655 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
       
  3656 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
       
  3657   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  3658 else
       
  3659   if test -n "$DUMPBIN"; then
       
  3660   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
       
  3661 else
       
  3662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  3663 for as_dir in $PATH
       
  3664 do
       
  3665   IFS=$as_save_IFS
       
  3666   test -z "$as_dir" && as_dir=.
       
  3667   for ac_exec_ext in '' $ac_executable_extensions; do
       
  3668   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
       
  3669     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
       
  3670     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
       
  3671     break 2
       
  3672   fi
       
  3673 done
       
  3674 done
       
  3675 IFS=$as_save_IFS
       
  3676 
       
  3677 fi
       
  3678 fi
       
  3679 DUMPBIN=$ac_cv_prog_DUMPBIN
       
  3680 if test -n "$DUMPBIN"; then
       
  3681   { echo "$as_me:$LINENO: result: $DUMPBIN" >&5
       
  3682 echo "${ECHO_T}$DUMPBIN" >&6; }
       
  3683 else
       
  3684   { echo "$as_me:$LINENO: result: no" >&5
       
  3685 echo "${ECHO_T}no" >&6; }
       
  3686 fi
       
  3687 
       
  3688 
       
  3689     test -n "$DUMPBIN" && break
       
  3690   done
       
  3691 fi
       
  3692 if test -z "$DUMPBIN"; then
       
  3693   ac_ct_DUMPBIN=$DUMPBIN
       
  3694   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
       
  3695 do
       
  3696   # Extract the first word of "$ac_prog", so it can be a program name with args.
       
  3697 set dummy $ac_prog; ac_word=$2
       
  3698 { echo "$as_me:$LINENO: checking for $ac_word" >&5
       
  3699 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
       
  3700 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
       
  3701   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  3702 else
       
  3703   if test -n "$ac_ct_DUMPBIN"; then
       
  3704   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
       
  3705 else
       
  3706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  3707 for as_dir in $PATH
       
  3708 do
       
  3709   IFS=$as_save_IFS
       
  3710   test -z "$as_dir" && as_dir=.
       
  3711   for ac_exec_ext in '' $ac_executable_extensions; do
       
  3712   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
       
  3713     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
       
  3714     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
       
  3715     break 2
       
  3716   fi
       
  3717 done
       
  3718 done
       
  3719 IFS=$as_save_IFS
       
  3720 
       
  3721 fi
       
  3722 fi
       
  3723 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
       
  3724 if test -n "$ac_ct_DUMPBIN"; then
       
  3725   { echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
       
  3726 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6; }
       
  3727 else
       
  3728   { echo "$as_me:$LINENO: result: no" >&5
       
  3729 echo "${ECHO_T}no" >&6; }
       
  3730 fi
       
  3731 
       
  3732 
       
  3733   test -n "$ac_ct_DUMPBIN" && break
       
  3734 done
       
  3735 
       
  3736   if test "x$ac_ct_DUMPBIN" = x; then
       
  3737     DUMPBIN=":"
       
  3738   else
       
  3739     case $cross_compiling:$ac_tool_warned in
       
  3740 yes:)
       
  3741 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
       
  3742 whose name does not start with the host triplet.  If you think this
       
  3743 configuration is useful to you, please write to autoconf@gnu.org." >&5
       
  3744 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
       
  3745 whose name does not start with the host triplet.  If you think this
       
  3746 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
       
  3747 ac_tool_warned=yes ;;
       
  3748 esac
       
  3749     DUMPBIN=$ac_ct_DUMPBIN
       
  3750   fi
       
  3751 fi
       
  3752 
       
  3753 
       
  3754   if test "$DUMPBIN" != ":"; then
       
  3755     NM="$DUMPBIN"
       
  3756   fi
       
  3757 fi
       
  3758 test -z "$NM" && NM=nm
       
  3759 
       
  3760 
       
  3761 
       
  3762 
       
  3763 
       
  3764 
       
  3765 { echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
       
  3766 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6; }
       
  3767 if test "${lt_cv_nm_interface+set}" = set; then
       
  3768   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  3769 else
       
  3770   lt_cv_nm_interface="BSD nm"
       
  3771   echo "int some_variable = 0;" > conftest.$ac_ext
       
  3772   (eval echo "\"\$as_me:3772: $ac_compile\"" >&5)
       
  3773   (eval "$ac_compile" 2>conftest.err)
       
  3774   cat conftest.err >&5
       
  3775   (eval echo "\"\$as_me:3775: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
       
  3776   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
       
  3777   cat conftest.err >&5
       
  3778   (eval echo "\"\$as_me:3778: output\"" >&5)
       
  3779   cat conftest.out >&5
       
  3780   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
       
  3781     lt_cv_nm_interface="MS dumpbin"
       
  3782   fi
       
  3783   rm -f conftest*
       
  3784 fi
       
  3785 { echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
       
  3786 echo "${ECHO_T}$lt_cv_nm_interface" >&6; }
       
  3787 
       
  3788 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
       
  3789 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
       
  3790 LN_S=$as_ln_s
       
  3791 if test "$LN_S" = "ln -s"; then
       
  3792   { echo "$as_me:$LINENO: result: yes" >&5
       
  3793 echo "${ECHO_T}yes" >&6; }
       
  3794 else
       
  3795   { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
       
  3796 echo "${ECHO_T}no, using $LN_S" >&6; }
       
  3797 fi
       
  3798 
       
  3799 # find the maximum length of command line arguments
       
  3800 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
       
  3801 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
       
  3802 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
       
  3803   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  3804 else
       
  3805     i=0
       
  3806   teststring="ABCD"
       
  3807 
       
  3808   case $build_os in
       
  3809   msdosdjgpp*)
       
  3810     # On DJGPP, this test can blow up pretty badly due to problems in libc
       
  3811     # (any single argument exceeding 2000 bytes causes a buffer overrun
       
  3812     # during glob expansion).  Even if it were fixed, the result of this
       
  3813     # check would be larger than it should be.
       
  3814     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
       
  3815     ;;
       
  3816 
       
  3817   gnu*)
       
  3818     # Under GNU Hurd, this test is not required because there is
       
  3819     # no limit to the length of command line arguments.
       
  3820     # Libtool will interpret -1 as no limit whatsoever
       
  3821     lt_cv_sys_max_cmd_len=-1;
       
  3822     ;;
       
  3823 
       
  3824   cygwin* | mingw* | cegcc*)
       
  3825     # On Win9x/ME, this test blows up -- it succeeds, but takes
       
  3826     # about 5 minutes as the teststring grows exponentially.
       
  3827     # Worse, since 9x/ME are not pre-emptively multitasking,
       
  3828     # you end up with a "frozen" computer, even though with patience
       
  3829     # the test eventually succeeds (with a max line length of 256k).
       
  3830     # Instead, let's just punt: use the minimum linelength reported by
       
  3831     # all of the supported platforms: 8192 (on NT/2K/XP).
       
  3832     lt_cv_sys_max_cmd_len=8192;
       
  3833     ;;
       
  3834 
       
  3835   beos*)
       
  3836     # On BeOS, this test takes a really really long time.
       
  3837     # So we just punt and use a minimum line length of 8192.
       
  3838     lt_cv_sys_max_cmd_len=8192;
       
  3839     ;;
       
  3840 
       
  3841   amigaos*)
       
  3842     # On AmigaOS with pdksh, this test takes hours, literally.
       
  3843     # So we just punt and use a minimum line length of 8192.
       
  3844     lt_cv_sys_max_cmd_len=8192;
       
  3845     ;;
       
  3846 
       
  3847   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
       
  3848     # This has been around since 386BSD, at least.  Likely further.
       
  3849     if test -x /sbin/sysctl; then
       
  3850       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
       
  3851     elif test -x /usr/sbin/sysctl; then
       
  3852       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
       
  3853     else
       
  3854       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
       
  3855     fi
       
  3856     # And add a safety zone
       
  3857     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
       
  3858     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
       
  3859     ;;
       
  3860 
       
  3861   interix*)
       
  3862     # We know the value 262144 and hardcode it with a safety zone (like BSD)
       
  3863     lt_cv_sys_max_cmd_len=196608
       
  3864     ;;
       
  3865 
       
  3866   osf*)
       
  3867     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
       
  3868     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
       
  3869     # nice to cause kernel panics so lets avoid the loop below.
       
  3870     # First set a reasonable default.
       
  3871     lt_cv_sys_max_cmd_len=16384
       
  3872     #
       
  3873     if test -x /sbin/sysconfig; then
       
  3874       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
       
  3875         *1*) lt_cv_sys_max_cmd_len=-1 ;;
       
  3876       esac
       
  3877     fi
       
  3878     ;;
       
  3879   sco3.2v5*)
       
  3880     lt_cv_sys_max_cmd_len=102400
       
  3881     ;;
       
  3882   sysv5* | sco5v6* | sysv4.2uw2*)
       
  3883     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
       
  3884     if test -n "$kargmax"; then
       
  3885       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
       
  3886     else
       
  3887       lt_cv_sys_max_cmd_len=32768
       
  3888     fi
       
  3889     ;;
       
  3890   *)
       
  3891     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
       
  3892     if test -n "$lt_cv_sys_max_cmd_len"; then
       
  3893       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
       
  3894       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
       
  3895     else
       
  3896       # Make teststring a little bigger before we do anything with it.
       
  3897       # a 1K string should be a reasonable start.
       
  3898       for i in 1 2 3 4 5 6 7 8 ; do
       
  3899         teststring=$teststring$teststring
       
  3900       done
       
  3901       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
       
  3902       # If test is not a shell built-in, we'll probably end up computing a
       
  3903       # maximum length that is only half of the actual maximum length, but
       
  3904       # we can't tell.
       
  3905       while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
       
  3906 	         = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
       
  3907 	      test $i != 17 # 1/2 MB should be enough
       
  3908       do
       
  3909         i=`expr $i + 1`
       
  3910         teststring=$teststring$teststring
       
  3911       done
       
  3912       # Only check the string length outside the loop.
       
  3913       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
       
  3914       teststring=
       
  3915       # Add a significant safety factor because C++ compilers can tack on
       
  3916       # massive amounts of additional arguments before passing them to the
       
  3917       # linker.  It appears as though 1/2 is a usable value.
       
  3918       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
       
  3919     fi
       
  3920     ;;
       
  3921   esac
       
  3922 
       
  3923 fi
       
  3924 
       
  3925 if test -n $lt_cv_sys_max_cmd_len ; then
       
  3926   { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
       
  3927 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
       
  3928 else
       
  3929   { echo "$as_me:$LINENO: result: none" >&5
       
  3930 echo "${ECHO_T}none" >&6; }
       
  3931 fi
       
  3932 max_cmd_len=$lt_cv_sys_max_cmd_len
       
  3933 
       
  3934 
       
  3935 
       
  3936 
       
  3937 
       
  3938 
       
  3939 : ${CP="cp -f"}
       
  3940 : ${MV="mv -f"}
       
  3941 : ${RM="rm -f"}
       
  3942 
       
  3943 { echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
       
  3944 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6; }
       
  3945 # Try some XSI features
       
  3946 xsi_shell=no
       
  3947 ( _lt_dummy="a/b/c"
       
  3948   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
       
  3949       = c,a/b,, \
       
  3950     && eval 'test $(( 1 + 1 )) -eq 2 \
       
  3951     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
       
  3952   && xsi_shell=yes
       
  3953 { echo "$as_me:$LINENO: result: $xsi_shell" >&5
       
  3954 echo "${ECHO_T}$xsi_shell" >&6; }
       
  3955 
       
  3956 
       
  3957 { echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
       
  3958 echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6; }
       
  3959 lt_shell_append=no
       
  3960 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
       
  3961     >/dev/null 2>&1 \
       
  3962   && lt_shell_append=yes
       
  3963 { echo "$as_me:$LINENO: result: $lt_shell_append" >&5
       
  3964 echo "${ECHO_T}$lt_shell_append" >&6; }
       
  3965 
       
  3966 
       
  3967 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
       
  3968   lt_unset=unset
       
  3969 else
       
  3970   lt_unset=false
       
  3971 fi
       
  3972 
       
  3973 
       
  3974 
       
  3975 
       
  3976 
       
  3977 # test EBCDIC or ASCII
       
  3978 case `echo X|tr X '\101'` in
       
  3979  A) # ASCII based system
       
  3980     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
       
  3981   lt_SP2NL='tr \040 \012'
       
  3982   lt_NL2SP='tr \015\012 \040\040'
       
  3983   ;;
       
  3984  *) # EBCDIC based system
       
  3985   lt_SP2NL='tr \100 \n'
       
  3986   lt_NL2SP='tr \r\n \100\100'
       
  3987   ;;
       
  3988 esac
       
  3989 
       
  3990 
       
  3991 
       
  3992 
       
  3993 
       
  3994 
       
  3995 
       
  3996 
       
  3997 
       
  3998 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
       
  3999 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
       
  4000 if test "${lt_cv_ld_reload_flag+set}" = set; then
       
  4001   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  4002 else
       
  4003   lt_cv_ld_reload_flag='-r'
       
  4004 fi
       
  4005 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
       
  4006 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
       
  4007 reload_flag=$lt_cv_ld_reload_flag
       
  4008 case $reload_flag in
       
  4009 "" | " "*) ;;
       
  4010 *) reload_flag=" $reload_flag" ;;
       
  4011 esac
       
  4012 reload_cmds='$LD$reload_flag -o $output$reload_objs'
       
  4013 case $host_os in
       
  4014   darwin*)
       
  4015     if test "$GCC" = yes; then
       
  4016       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
       
  4017     else
       
  4018       reload_cmds='$LD$reload_flag -o $output$reload_objs'
       
  4019     fi
       
  4020     ;;
       
  4021 esac
       
  4022 
       
  4023 
       
  4024 
       
  4025 
       
  4026 
       
  4027 
       
  4028 
       
  4029 
       
  4030 
       
  4031 if test -n "$ac_tool_prefix"; then
       
  4032   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
       
  4033 set dummy ${ac_tool_prefix}objdump; ac_word=$2
       
  4034 { echo "$as_me:$LINENO: checking for $ac_word" >&5
       
  4035 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
       
  4036 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
       
  4037   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  4038 else
       
  4039   if test -n "$OBJDUMP"; then
       
  4040   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
       
  4041 else
       
  4042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  4043 for as_dir in $PATH
       
  4044 do
       
  4045   IFS=$as_save_IFS
       
  4046   test -z "$as_dir" && as_dir=.
       
  4047   for ac_exec_ext in '' $ac_executable_extensions; do
       
  4048   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
       
  4049     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
       
  4050     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
       
  4051     break 2
       
  4052   fi
       
  4053 done
       
  4054 done
       
  4055 IFS=$as_save_IFS
       
  4056 
       
  4057 fi
       
  4058 fi
       
  4059 OBJDUMP=$ac_cv_prog_OBJDUMP
       
  4060 if test -n "$OBJDUMP"; then
       
  4061   { echo "$as_me:$LINENO: result: $OBJDUMP" >&5
       
  4062 echo "${ECHO_T}$OBJDUMP" >&6; }
       
  4063 else
       
  4064   { echo "$as_me:$LINENO: result: no" >&5
       
  4065 echo "${ECHO_T}no" >&6; }
       
  4066 fi
       
  4067 
       
  4068 
       
  4069 fi
       
  4070 if test -z "$ac_cv_prog_OBJDUMP"; then
       
  4071   ac_ct_OBJDUMP=$OBJDUMP
       
  4072   # Extract the first word of "objdump", so it can be a program name with args.
       
  4073 set dummy objdump; ac_word=$2
       
  4074 { echo "$as_me:$LINENO: checking for $ac_word" >&5
       
  4075 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
       
  4076 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
       
  4077   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  4078 else
       
  4079   if test -n "$ac_ct_OBJDUMP"; then
       
  4080   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
       
  4081 else
       
  4082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  4083 for as_dir in $PATH
       
  4084 do
       
  4085   IFS=$as_save_IFS
       
  4086   test -z "$as_dir" && as_dir=.
       
  4087   for ac_exec_ext in '' $ac_executable_extensions; do
       
  4088   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
       
  4089     ac_cv_prog_ac_ct_OBJDUMP="objdump"
       
  4090     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
       
  4091     break 2
       
  4092   fi
       
  4093 done
       
  4094 done
       
  4095 IFS=$as_save_IFS
       
  4096 
       
  4097 fi
       
  4098 fi
       
  4099 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
       
  4100 if test -n "$ac_ct_OBJDUMP"; then
       
  4101   { echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
       
  4102 echo "${ECHO_T}$ac_ct_OBJDUMP" >&6; }
       
  4103 else
       
  4104   { echo "$as_me:$LINENO: result: no" >&5
       
  4105 echo "${ECHO_T}no" >&6; }
       
  4106 fi
       
  4107 
       
  4108   if test "x$ac_ct_OBJDUMP" = x; then
       
  4109     OBJDUMP="false"
       
  4110   else
       
  4111     case $cross_compiling:$ac_tool_warned in
       
  4112 yes:)
       
  4113 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
       
  4114 whose name does not start with the host triplet.  If you think this
       
  4115 configuration is useful to you, please write to autoconf@gnu.org." >&5
       
  4116 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
       
  4117 whose name does not start with the host triplet.  If you think this
       
  4118 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
       
  4119 ac_tool_warned=yes ;;
       
  4120 esac
       
  4121     OBJDUMP=$ac_ct_OBJDUMP
       
  4122   fi
       
  4123 else
       
  4124   OBJDUMP="$ac_cv_prog_OBJDUMP"
       
  4125 fi
       
  4126 
       
  4127 test -z "$OBJDUMP" && OBJDUMP=objdump
       
  4128 
       
  4129 
       
  4130 
       
  4131 
       
  4132 
       
  4133 
       
  4134 { echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
       
  4135 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
       
  4136 if test "${lt_cv_deplibs_check_method+set}" = set; then
       
  4137   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  4138 else
       
  4139   lt_cv_file_magic_cmd='$MAGIC_CMD'
       
  4140 lt_cv_file_magic_test_file=
       
  4141 lt_cv_deplibs_check_method='unknown'
       
  4142 # Need to set the preceding variable on all platforms that support
       
  4143 # interlibrary dependencies.
       
  4144 # 'none' -- dependencies not supported.
       
  4145 # `unknown' -- same as none, but documents that we really don't know.
       
  4146 # 'pass_all' -- all dependencies passed with no checks.
       
  4147 # 'test_compile' -- check by making test program.
       
  4148 # 'file_magic [[regex]]' -- check by looking for files in library path
       
  4149 # which responds to the $file_magic_cmd with a given extended regex.
       
  4150 # If you have `file' or equivalent on your system and you're not sure
       
  4151 # whether `pass_all' will *always* work, you probably want this one.
       
  4152 
       
  4153 case $host_os in
       
  4154 aix[4-9]*)
       
  4155   lt_cv_deplibs_check_method=pass_all
       
  4156   ;;
       
  4157 
       
  4158 beos*)
       
  4159   lt_cv_deplibs_check_method=pass_all
       
  4160   ;;
       
  4161 
       
  4162 bsdi[45]*)
       
  4163   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
       
  4164   lt_cv_file_magic_cmd='/usr/bin/file -L'
       
  4165   lt_cv_file_magic_test_file=/shlib/libc.so
       
  4166   ;;
       
  4167 
       
  4168 cygwin*)
       
  4169   # func_win32_libid is a shell function defined in ltmain.sh
       
  4170   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
       
  4171   lt_cv_deplibs_check_method=pass_all
       
  4172   lt_cv_file_magic_cmd='func_win32_libid'
       
  4173   ;;
       
  4174 
       
  4175 mingw* | pw32*)
       
  4176   # Base MSYS/MinGW do not provide the 'file' command needed by
       
  4177   # func_win32_libid shell function, so use a weaker test based on 'objdump',
       
  4178   # unless we find 'file', for example because we are cross-compiling.
       
  4179   if ( file / ) >/dev/null 2>&1; then
       
  4180     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
       
  4181     lt_cv_file_magic_cmd='func_win32_libid'
       
  4182   else
       
  4183     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
       
  4184     lt_cv_file_magic_cmd='$OBJDUMP -f'
       
  4185   fi
       
  4186   lt_cv_deplibs_check_method=pass_all
       
  4187   ;;
       
  4188 
       
  4189 cegcc)
       
  4190   # use the weaker test based on 'objdump'. See mingw*.
       
  4191   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
       
  4192   lt_cv_file_magic_cmd='$OBJDUMP -f'
       
  4193   ;;
       
  4194 
       
  4195 darwin* | rhapsody*)
       
  4196   lt_cv_deplibs_check_method=pass_all
       
  4197   ;;
       
  4198 
       
  4199 freebsd* | dragonfly*)
       
  4200   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
       
  4201     case $host_cpu in
       
  4202     i*86 )
       
  4203       # Not sure whether the presence of OpenBSD here was a mistake.
       
  4204       # Let's accept both of them until this is cleared up.
       
  4205       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
       
  4206       lt_cv_file_magic_cmd=/usr/bin/file
       
  4207       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
       
  4208       ;;
       
  4209     esac
       
  4210   else
       
  4211     lt_cv_deplibs_check_method=pass_all
       
  4212   fi
       
  4213   ;;
       
  4214 
       
  4215 gnu*)
       
  4216   lt_cv_deplibs_check_method=pass_all
       
  4217   ;;
       
  4218 
       
  4219 hpux10.20* | hpux11*)
       
  4220   lt_cv_file_magic_cmd=/usr/bin/file
       
  4221   case $host_cpu in
       
  4222   ia64*)
       
  4223     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
       
  4224     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
       
  4225     ;;
       
  4226   hppa*64*)
       
  4227     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]'
       
  4228     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
       
  4229     ;;
       
  4230   *)
       
  4231     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
       
  4232     lt_cv_file_magic_test_file=/usr/lib/libc.sl
       
  4233     ;;
       
  4234   esac
       
  4235   ;;
       
  4236 
       
  4237 interix[3-9]*)
       
  4238   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
       
  4239   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
       
  4240   ;;
       
  4241 
       
  4242 irix5* | irix6* | nonstopux*)
       
  4243   case $LD in
       
  4244   *-32|*"-32 ") libmagic=32-bit;;
       
  4245   *-n32|*"-n32 ") libmagic=N32;;
       
  4246   *-64|*"-64 ") libmagic=64-bit;;
       
  4247   *) libmagic=never-match;;
       
  4248   esac
       
  4249   lt_cv_deplibs_check_method=pass_all
       
  4250   ;;
       
  4251 
       
  4252 # This must be Linux ELF.
       
  4253 linux* | k*bsd*-gnu)
       
  4254   lt_cv_deplibs_check_method=pass_all
       
  4255   ;;
       
  4256 
       
  4257 netbsd*)
       
  4258   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
       
  4259     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
       
  4260   else
       
  4261     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
       
  4262   fi
       
  4263   ;;
       
  4264 
       
  4265 newos6*)
       
  4266   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
       
  4267   lt_cv_file_magic_cmd=/usr/bin/file
       
  4268   lt_cv_file_magic_test_file=/usr/lib/libnls.so
       
  4269   ;;
       
  4270 
       
  4271 *nto* | *qnx*)
       
  4272   lt_cv_deplibs_check_method=pass_all
       
  4273   ;;
       
  4274 
       
  4275 openbsd*)
       
  4276   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
       
  4277     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
       
  4278   else
       
  4279     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
       
  4280   fi
       
  4281   ;;
       
  4282 
       
  4283 osf3* | osf4* | osf5*)
       
  4284   lt_cv_deplibs_check_method=pass_all
       
  4285   ;;
       
  4286 
       
  4287 rdos*)
       
  4288   lt_cv_deplibs_check_method=pass_all
       
  4289   ;;
       
  4290 
       
  4291 solaris*)
       
  4292   lt_cv_deplibs_check_method=pass_all
       
  4293   ;;
       
  4294 
       
  4295 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
       
  4296   lt_cv_deplibs_check_method=pass_all
       
  4297   ;;
       
  4298 
       
  4299 sysv4 | sysv4.3*)
       
  4300   case $host_vendor in
       
  4301   motorola)
       
  4302     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]'
       
  4303     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
       
  4304     ;;
       
  4305   ncr)
       
  4306     lt_cv_deplibs_check_method=pass_all
       
  4307     ;;
       
  4308   sequent)
       
  4309     lt_cv_file_magic_cmd='/bin/file'
       
  4310     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
       
  4311     ;;
       
  4312   sni)
       
  4313     lt_cv_file_magic_cmd='/bin/file'
       
  4314     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
       
  4315     lt_cv_file_magic_test_file=/lib/libc.so
       
  4316     ;;
       
  4317   siemens)
       
  4318     lt_cv_deplibs_check_method=pass_all
       
  4319     ;;
       
  4320   pc)
       
  4321     lt_cv_deplibs_check_method=pass_all
       
  4322     ;;
       
  4323   esac
       
  4324   ;;
       
  4325 
       
  4326 tpf*)
       
  4327   lt_cv_deplibs_check_method=pass_all
       
  4328   ;;
       
  4329 esac
       
  4330 
       
  4331 fi
       
  4332 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
       
  4333 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
       
  4334 file_magic_cmd=$lt_cv_file_magic_cmd
       
  4335 deplibs_check_method=$lt_cv_deplibs_check_method
       
  4336 test -z "$deplibs_check_method" && deplibs_check_method=unknown
       
  4337 
       
  4338 
       
  4339 
       
  4340