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