configure
author Ryan C. Gordon <icculus@icculus.org>
Wed, 24 May 2017 19:56:59 -0400
changeset 11028 25cd7fe50180
parent 10985 f6970c9a4434
child 11081 eea7f98a37e4
permissions -rwxr-xr-x
audio: rename bsd target to netbsd.

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