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