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