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