configure
author Sam Lantinga <slouken@libsdl.org>
Fri, 28 Nov 2014 04:51:33 -0800
changeset 9246 a761913e5e91
parent 9165 9cd9e1491227
child 9252 a11e8f6d82d1
permissions -rwxr-xr-x
Fixed bug 2786 - "UCS-2-INTERNAL" iconv encoding is not supported everywhere, use UTF-16LE instead

Jonas Kulla

src/main/windows/SDL_windows_main.c:137:
cmdline = SDL_iconv_string("UTF-8", "UCS-2-INTERNAL", (char *)(text), (SDL_wcslen(text)+1)*sizeof(WCHAR));

I'm trying to compile an SDL2 application for windows using the mingw-w64 32bit toolchain provided by my distro (Fedora 19). However, even the simplest test program that does nothing at all fails to startup with a "Fatal error - out of memory" message because the mingw iconv library provided by my distro does not support the "UCS-2-INTERNAL" encoding and the conversion returns null.

From my little bit of research, it turns out that even though this encoding is supported by the external GNU libiconv library, some glibc versions (?) don't support it with their internal iconv routines, and will instead provide the native endian encoding when "UCS-2" is specified.

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