configure
author Gabriel Jacobo <gabomdq@gmail.com>
Sat, 14 Dec 2013 20:18:43 -0300
changeset 8062 4fc5f66d63cc
parent 8056 abd9434c5d3e
child 8082 5b83ad3f01ac
permissions -rwxr-xr-x
Wayland support

Based on the original port to Wayland by: Joel Teichroeb, Benjamin Franzke, Scott Moreau, et al.

Additional changes in this commit, done by me:

* Wayland uses the common EGL framework
* EGL can now create a desktop OpenGL context
* testgl2 loads GL functions dynamically, no need to link to libGL anymore
* Assorted fixes to the Wayland backend

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