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