configure
author Philipp Wiesemann <philipp.wiesemann@arcor.de>
Sat, 06 Sep 2014 23:20:14 +0200
changeset 9125 e004bdb812ce
parent 9121 00d99eff96a6
child 9127 a8c38ed1a674
permissions -rwxr-xr-x
Fixed example in header file.

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