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