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